.stamp-home {
  --stamp-home-paper: #f7f5f0;
  --stamp-home-ink: #1a1a1a;
  --stamp-home-muted: #706b62;
  --stamp-home-line: #d0c9b8;
  --stamp-home-gold: #c8a96e;
  --stamp-home-action: #a55232;
  color: var(--stamp-home-ink);
  font-family: var(--font-body--family, sans-serif);
}

.stamp-home,
.stamp-home * {
  box-sizing: border-box;
}

.stamp-home__container {
  width: min(1440px, calc(100% - 24px));
  margin-inline: auto;
}

.stamp-home__section {
  padding-block: 34px;
}

.stamp-home__heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-block-end: 18px;
}

.stamp-home__eyebrow {
  margin: 0 0 6px;
  color: var(--stamp-home-gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.stamp-home__title {
  margin: 0;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(24px, 7vw, 38px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.stamp-home__subtitle {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--stamp-home-muted);
  font-size: 13px;
  line-height: 1.55;
}

.stamp-home__text-link {
  flex: 0 0 auto;
  padding-block: 4px;
  border-bottom: 1px solid currentcolor;
  color: var(--stamp-home-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.stamp-home__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--stamp-home-action);
  border-radius: 999px;
  background: var(--stamp-home-action);
  color: var(--stamp-home-paper);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.stamp-home__button--light {
  border-color: rgb(255 255 255 / 58%);
  background: rgb(255 255 255 / 10%);
  color: #fff;
  backdrop-filter: blur(6px);
}

.stamp-home__button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stamp-home__rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 0 8px;
  scrollbar-width: none;
  scroll-padding-inline: 12px;
  scroll-snap-type: x mandatory;
}

.stamp-home__rail::-webkit-scrollbar {
  display: none;
}

.stamp-home__rail-controls {
  display: none;
  gap: 7px;
}

.stamp-home__rail-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--stamp-home-line);
  border-radius: 50%;
  background: var(--stamp-home-paper);
  color: var(--stamp-home-ink);
  cursor: pointer;
}

.stamp-home__rail-button:disabled {
  cursor: default;
  opacity: 0.35;
}

.stamp-home__rail-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stamp-hero-home {
  display: none;
  padding: 104px 0 34px;
}

.stamp-hero-home-section {
  display: block;
  height: var(--gharana-mobile-expanded-height, 360px);
}

.stamp-hero-home__panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--stamp-home-ink);
  color: #fff;
  filter: drop-shadow(0 12px 30px rgb(0 0 0 / 14%));
  -webkit-mask:
    radial-gradient(circle at 9px 0, transparent 0 5.5px, #000 5.8px) -9px 0 / 18px 100% repeat-x,
    radial-gradient(circle at 9px 100%, transparent 0 5.5px, #000 5.8px) -9px 0 / 18px 100% repeat-x,
    radial-gradient(circle at 0 9px, transparent 0 5.5px, #000 5.8px) 0 -9px / 100% 18px repeat-y,
    radial-gradient(circle at 100% 9px, transparent 0 5.5px, #000 5.8px) 0 -9px / 100% 18px repeat-y;
  -webkit-mask-composite: source-in, source-in, source-in;
  mask:
    radial-gradient(circle at 9px 0, transparent 0 5.5px, #000 5.8px) -9px 0 / 18px 100% repeat-x,
    radial-gradient(circle at 9px 100%, transparent 0 5.5px, #000 5.8px) -9px 0 / 18px 100% repeat-x,
    radial-gradient(circle at 0 9px, transparent 0 5.5px, #000 5.8px) 0 -9px / 100% 18px repeat-y,
    radial-gradient(circle at 100% 9px, transparent 0 5.5px, #000 5.8px) 0 -9px / 100% 18px repeat-y;
  mask-composite: intersect, intersect, intersect;
}

.stamp-hero-home__media,
.stamp-hero-home__placeholder,
.stamp-hero-home__overlay {
  position: absolute;
  inset: 0;
}

.stamp-hero-home__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stamp-hero-home__placeholder {
  background:
    radial-gradient(circle at 80% 20%, rgb(200 169 110 / 72%) 0 16%, transparent 16.3%),
    linear-gradient(125deg, #321b15, #8f4e2d 58%, #c8a96e);
}

.stamp-hero-home__overlay {
  background: linear-gradient(90deg, rgb(94 43 24 / 34%) 0%, rgb(94 43 24 / 16%) 50%, transparent 84%);
}

.stamp-hero-home__content {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 620px;
  min-height: 520px;
  align-content: center;
  padding: 58px 64px;
}

.stamp-hero-home__content .stamp-home__eyebrow {
  color: #e7c98e;
}

.stamp-hero-home__title {
  max-width: 600px;
  margin: 0;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.stamp-hero-home__copy {
  max-width: 480px;
  margin: 20px 0 26px;
  color: rgb(255 255 255 / 78%);
  font-size: 15px;
  line-height: 1.65;
}

.stamp-hero-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stamp-category-card {
  position: relative;
  flex: 0 0 126px;
  overflow: hidden;
  border: 1px solid var(--stamp-home-line);
  border-radius: 18px;
  background: var(--stamp-home-paper);
  color: var(--stamp-home-ink);
  text-decoration: none;
  scroll-snap-align: start;
}

.stamp-category-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: var(--category-color, #e8dfcf);
}

.stamp-category-card__media::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 8px;
  background: radial-gradient(circle at 4px 0, transparent 0 3px, var(--stamp-home-paper) 3.3px) 0 0 / 12px 8px repeat-x;
  content: '';
}

.stamp-category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.stamp-category-card__initial {
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: 42px;
  opacity: 0.48;
}

.stamp-category-card__label {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 11px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}

.stamp-category-card__label svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stamp-product-card {
  position: relative;
  display: flex;
  flex: 0 0 min(42vw, 164px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #c7bcaa;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 72%);
  filter: drop-shadow(0 6px 16px rgb(74 46 30 / 8%));
  scroll-snap-align: start;
  -webkit-mask:
    radial-gradient(circle at 6px 0, transparent 0 3.6px, #000 3.9px) -6px 0 / 12px 100% repeat-x,
    radial-gradient(circle at 6px 100%, transparent 0 3.6px, #000 3.9px) -6px 0 / 12px 100% repeat-x,
    radial-gradient(circle at 0 6px, transparent 0 3.6px, #000 3.9px) 0 -6px / 100% 12px repeat-y,
    radial-gradient(circle at 100% 6px, transparent 0 3.6px, #000 3.9px) 0 -6px / 100% 12px repeat-y;
  -webkit-mask-composite: source-in, source-in, source-in;
  mask:
    radial-gradient(circle at 6px 0, transparent 0 3.6px, #000 3.9px) -6px 0 / 12px 100% repeat-x,
    radial-gradient(circle at 6px 100%, transparent 0 3.6px, #000 3.9px) -6px 0 / 12px 100% repeat-x,
    radial-gradient(circle at 0 6px, transparent 0 3.6px, #000 3.9px) 0 -6px / 100% 12px repeat-y,
    radial-gradient(circle at 100% 6px, transparent 0 3.6px, #000 3.9px) 0 -6px / 100% 12px repeat-y;
  mask-composite: intersect, intersect, intersect;
}

.stamp-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: var(--product-card-ratio, 1);
  overflow: hidden;
  background: var(--stamp-home-paper);
}

.stamp-product-card__media::after {
  content: none;
}

.stamp-product-card__image,
.stamp-product-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: var(--product-card-fit, contain);
  transition: transform 300ms ease;
}

.stamp-product-card__placeholder {
  display: grid;
  place-items: center;
  padding: 28px;
}

.stamp-product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--stamp-home-action);
  color: #fff;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.stamp-product-card__body {
  display: grid;
  flex: 1;
  gap: 6px;
  padding: 10px 9px 12px;
}

.stamp-product-card__vendor {
  margin: 0;
  color: var(--stamp-home-muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.stamp-product-card__title {
  display: -webkit-box;
  min-height: 30px;
  overflow: hidden;
  color: var(--stamp-home-ink);
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.stamp-product-card__usps {
  display: flex;
  min-width: 0;
  gap: 4px;
  overflow: hidden;
  margin-top: 1px;
  padding-top: 7px;
  border-top: 1px dashed color-mix(in srgb, var(--stamp-home-line) 72%, transparent);
}

.stamp-product-card__usps span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 6px;
  border: 1px solid color-mix(in srgb, var(--stamp-home-gold) 50%, var(--stamp-home-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--stamp-home-gold) 13%, white);
  color: #70452f;
  font-size: 6px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stamp-product-card__usps span:nth-child(n + 3) {
  display: none;
}

.stamp-product-card__price-row {
  display: flex;
  min-height: 19px;
  align-items: baseline;
  gap: 7px;
}

.stamp-product-card__price {
  font-size: 12px;
  font-weight: 800;
}

.stamp-product-card__compare {
  color: var(--stamp-home-muted);
  font-size: 8px;
  text-decoration: line-through;
}

.stamp-product-card__add,
.stamp-product-card__choose {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid var(--stamp-home-action);
  border-radius: 999px;
  background: var(--stamp-home-action);
  color: #fff;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.stamp-product-card product-form-component,
.stamp-product-card__choose {
  margin-top: auto;
}

.stamp-product-card__action-label--desktop {
  display: none;
}

.stamp-product-card__action-label--mobile {
  display: inline;
}

.stamp-product-card__add:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.stamp-product-card__add svg,
.stamp-product-card__choose svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stamp-home__view-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 13px;
}

.stamp-home__view-all {
  display: inline-flex;
  width: min(100%, 210px);
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--stamp-home-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--stamp-home-paper) 74%, white);
  color: #6d4430;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.stamp-home__view-all:hover {
  border-color: var(--stamp-home-gold);
  background: color-mix(in srgb, var(--stamp-home-gold) 15%, white);
  transform: translateY(-1px);
}

.stamp-home__view-all svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stamp-product-card product-form-component,
.stamp-product-card add-to-cart-component,
.stamp-product-card form {
  display: block;
  width: 100%;
}

.stamp-showcase__panel {
  overflow: hidden;
  background: var(--showcase-background, #5a2e1f);
  color: var(--showcase-text, #fff);
  filter: drop-shadow(0 10px 26px rgb(0 0 0 / 12%));
  -webkit-mask:
    radial-gradient(circle at 7px 0, transparent 0 4px, #000 4.3px) -7px 0 / 14px 100% repeat-x,
    radial-gradient(circle at 7px 100%, transparent 0 4px, #000 4.3px) -7px 0 / 14px 100% repeat-x,
    radial-gradient(circle at 0 7px, transparent 0 4px, #000 4.3px) 0 -7px / 100% 14px repeat-y,
    radial-gradient(circle at 100% 7px, transparent 0 4px, #000 4.3px) 0 -7px / 100% 14px repeat-y;
  -webkit-mask-composite: source-in, source-in, source-in;
  mask:
    radial-gradient(circle at 7px 0, transparent 0 4px, #000 4.3px) -7px 0 / 14px 100% repeat-x,
    radial-gradient(circle at 7px 100%, transparent 0 4px, #000 4.3px) -7px 0 / 14px 100% repeat-x,
    radial-gradient(circle at 0 7px, transparent 0 4px, #000 4.3px) 0 -7px / 100% 14px repeat-y,
    radial-gradient(circle at 100% 7px, transparent 0 4px, #000 4.3px) 0 -7px / 100% 14px repeat-y;
  mask-composite: intersect, intersect, intersect;
}

.stamp-showcase__media {
  min-height: 260px;
  background: linear-gradient(135deg, #a8663d, #d5b477);
}

.stamp-showcase__image,
.stamp-showcase__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.stamp-showcase__placeholder {
  display: grid;
  place-items: center;
  padding: 48px;
  opacity: 0.6;
}

.stamp-showcase__content {
  display: grid;
  align-content: center;
  padding: 28px 24px 32px;
}

.stamp-showcase__content .stamp-home__eyebrow {
  color: var(--stamp-home-gold);
}

.stamp-showcase__title {
  margin: 0;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.stamp-showcase__copy {
  margin-block: 16px 22px;
  color: color-mix(in srgb, var(--showcase-text, #fff) 74%, transparent);
  font-size: 13px;
  line-height: 1.65;
}

.stamp-showcase__copy p {
  margin: 0;
}

.stamp-showcase__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.stamp-showcase__proof-item {
  min-width: 0;
  padding: 15px 8px 17px;
  text-align: center;
}

.stamp-showcase__proof-item + .stamp-showcase__proof-item {
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.stamp-showcase__proof-item strong,
.stamp-showcase__proof-item span {
  display: block;
}

.stamp-showcase__proof-item strong {
  margin-bottom: 3px;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: 16px;
}

.stamp-showcase__proof-item span {
  color: color-mix(in srgb, var(--showcase-text, #fff) 65%, transparent);
  font-size: 9px;
  line-height: 1.25;
}

@media screen and (min-width: 750px) {
  .stamp-home__section {
    padding-block: 58px;
  }

  .stamp-home__title {
    font-size: 42px;
  }

  .stamp-home__subtitle {
    font-size: 14px;
  }

  .stamp-hero-home {
    display: block;
  }

  .stamp-hero-home-section {
    height: auto;
  }

  .stamp-home__rail-controls {
    display: flex;
  }

  .stamp-category-card {
    flex-basis: 174px;
  }

  .stamp-category-card:hover .stamp-category-card__image,
  .stamp-product-card:hover .stamp-product-card__image {
    transform: scale(1.035);
  }

  .stamp-product-rail {
    display: grid;
    grid-template-columns: repeat(var(--products-per-row, 4), minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
  }

  .stamp-product-card {
    min-width: 0;
  }

  .stamp-product-card__badge {
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .stamp-product-card__body {
    gap: 8px;
    padding: 13px 13px 14px;
  }

  .stamp-product-card__vendor {
    font-size: 9px;
  }

  .stamp-product-card__title {
    min-height: 34px;
    font-size: 15px;
  }

  .stamp-product-card__usps span {
    padding: 5px 7px;
    font-size: 7px;
  }

  .stamp-product-card__usps span:nth-child(n + 3) {
    display: block;
  }

  .stamp-product-card__price-row {
    min-height: 22px;
  }

  .stamp-product-card__price {
    font-size: 14px;
  }

  .stamp-product-card__compare {
    font-size: 11px;
  }

  .stamp-product-card__add,
  .stamp-product-card__choose {
    min-height: 38px;
    gap: 7px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .stamp-product-card__add svg,
  .stamp-product-card__choose svg {
    width: 15px;
    height: 15px;
  }

  .stamp-product-card__action-label--desktop {
    display: inline;
  }

  .stamp-product-card__action-label--mobile {
    display: none;
  }

  .stamp-home__view-all-wrap {
    justify-content: flex-end;
    margin-top: 18px;
  }

  .stamp-home__view-all {
    width: auto;
    min-width: 142px;
  }

  .stamp-showcase__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  }

  .stamp-showcase__media,
  .stamp-showcase__image,
  .stamp-showcase__placeholder {
    min-height: 510px;
  }

  .stamp-showcase__content {
    padding: 54px 52px;
  }

  .stamp-showcase__proof {
    grid-column: 1 / -1;
  }

  .stamp-showcase__proof-item {
    padding: 20px;
  }

  .stamp-showcase__proof-item strong {
    font-size: 20px;
  }

  .stamp-showcase__proof-item span {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stamp-category-card__image,
  .stamp-product-card__image,
  .stamp-home__rail {
    scroll-behavior: auto;
    transition: none;
  }
}
