/* ==========================================================================
   DesiCart — style.css
   Everything below the P0 gift moment. Loaded asynchronously on purpose.
   ========================================================================== */

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --------------------------------------------------------------------------
   Trust strip under the hero
   -------------------------------------------------------------------------- */
.trust-strip {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2px;
  padding: 9px 10px;
  background: #fffdf8;
  border-bottom: 1px solid rgba(164, 16, 41, 0.08);
  box-shadow: 0 3px 12px rgba(71, 19, 18, 0.035);
}

.trust-strip__item {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #6e5a4a;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.trust-strip__item + .trust-strip__item {
  border-left: 1px solid rgba(164, 16, 41, 0.1);
}

.trust-strip__item svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--red);
}

.trust-strip__item span {
  max-width: 100px;
}

/* --------------------------------------------------------------------------
   Section furniture
   -------------------------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.section-head__copy {
  min-width: 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-strong), var(--red));
}

.section-title {
  color: var(--wine);
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: clamp(10px, 2.9vw, 11.5px);
  line-height: 1.45;
}

.section-head--center {
  justify-content: center;
  margin-bottom: 18px;
  text-align: center;
}

.section-head--center .section-kicker {
  justify-content: center;
}

.section-head--center .section-kicker::after {
  content: "";
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--gold-strong));
}

.explore-link {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  color: var(--red);
  border-bottom: 1px solid rgba(164, 16, 41, 0.18);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.explore-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.18s ease;
}

.explore-link:active svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */
.categories {
  position: relative;
  overflow: hidden;
  padding: 24px 14px 28px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 213, 121, 0.15), transparent 30%),
    linear-gradient(180deg, var(--cream) 0%, #fffaf2 72%, var(--cream) 100%);
}

.categories::before {
  content: "";
  position: absolute;
  top: 0;
  right: -74px;
  width: 210px;
  height: 210px;
  opacity: 0.28;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(164, 16, 41, 0.12) 0deg 0.7deg,
    transparent 0.7deg 12deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 0 38%, #000 39% 56%, transparent 57%);
  mask-image: radial-gradient(circle, transparent 0 38%, #000 39% 56%, transparent 57%);
  pointer-events: none;
}

.category-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.category-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(205, 168, 108, 0.34);
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: transform 0.17s ease, border-color 0.18s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.category-card:active,
.category-card.is-pressing {
  transform: scale(0.978);
  border-color: rgba(245, 196, 81, 0.9);
}

.category-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1e2cd;
}

.category-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 60%, rgba(62, 14, 11, 0.06));
  pointer-events: none;
}

.category-card__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.36s ease, transform 0.55s ease;
}

.category-card.is-loaded .category-card__img {
  opacity: 1;
  transform: none;
}

.category-card__skeleton {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(164, 16, 41, 0.22);
  background:
    linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.46) 38%, transparent 58%),
    linear-gradient(140deg, #f5e6d0, #efdcc1);
  background-size: 240% 100%, 100% 100%;
  animation: skeletonSweep 1.8s ease-in-out infinite;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
}

.category-card__skeleton span {
  opacity: 0.65;
}

.category-card.is-failed .category-card__skeleton {
  animation: none;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.7), transparent 25%),
    linear-gradient(140deg, #f8ead7, #eed8bb);
}

.category-card.is-failed .category-card__skeleton span {
  display: none;
}

.category-card.is-failed .category-card__skeleton::after {
  content: "";
  width: 29px;
  height: 29px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M6.1 9.2h15.8l-1.15 13.1H7.25L6.1 9.2Z' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M10 9.7V7.4a4 4 0 0 1 8 0v2.3' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M6.1 9.2h15.8l-1.15 13.1H7.25L6.1 9.2Z' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M10 9.7V7.4a4 4 0 0 1 8 0v2.3' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.category-card__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 244, 211, 0.28) 48%, transparent 66%);
  transform: translateX(-40%);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.category-card__body {
  display: flex;
  min-height: 54px;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  padding: 9px 10px 9px;
}

.category-card__name {
  display: block;
  color: var(--ink);
  font-size: clamp(12px, 3.4vw, 13.5px);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.category-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  color: var(--red);
  font-size: clamp(8px, 2.1vw, 9px);
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.category-card__link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 196, 81, 0.75);
    box-shadow: 0 7px 24px rgba(71, 19, 18, 0.13);
  }

  .category-card:hover .category-card__img {
    transform: scale(1.035);
  }

  .category-card:hover .category-card__shine {
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.75s ease;
    transform: translateX(35%);
  }

  .category-card:hover .category-card__link svg {
    transform: translateX(2px);
  }

  .explore-link:hover svg {
    transform: translateX(3px);
  }
}

@keyframes skeletonSweep {
  0% {
    background-position: 190% 0, 0 0;
  }
  100% {
    background-position: -80% 0, 0 0;
  }
}

/* --------------------------------------------------------------------------
   Transition into the app
   -------------------------------------------------------------------------- */
.discover-more {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(112px, 0.85fr);
  gap: 10px;
  align-items: center;
  overflow: hidden;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 85% 45%, rgba(255, 213, 121, 0.25), transparent 30%),
    linear-gradient(145deg, #fffdf8, #f9ecd8);
  border-top: 1px solid rgba(164, 16, 41, 0.09);
  border-bottom: 1px solid rgba(164, 16, 41, 0.09);
}

.discover-more::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(rgba(164, 16, 41, 0.35) 0.6px, transparent 0.7px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}

.discover-more__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.discover-more__title {
  color: var(--wine);
  font-size: clamp(20px, 5.4vw, 25px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.discover-more__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.discover-more__cta {
  min-height: 44px;
  margin-top: 12px;
  padding: 0 12px;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.discover-more__visual {
  position: relative;
  height: 164px;
}

.discover-more__photo {
  position: absolute;
  overflow: hidden;
  border: 3px solid #fffdf8;
  border-radius: 10px;
  background: #f2e4cf;
  box-shadow: 0 10px 24px rgba(68, 23, 12, 0.16);
}

.discover-more__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discover-more__photo--back {
  top: 1px;
  right: -20px;
  width: 96px;
  transform: rotate(7deg);
}

.discover-more__photo--front {
  right: 20px;
  bottom: 0;
  width: 106px;
  transform: rotate(-4deg);
}

.discover-more__bag {
  position: absolute;
  right: -2px;
  bottom: -5px;
  z-index: 3;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #6c0b1d;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe9ac, #f5c451);
  box-shadow: 0 4px 10px rgba(91, 33, 11, 0.18);
}

.discover-more__bag svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Mid-page offer banner
   -------------------------------------------------------------------------- */
.offer-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(94px, 0.62fr);
  gap: 4px;
  align-items: center;
  overflow: hidden;
  padding: 25px 15px 23px;
  color: #fff8e9;
  background:
    radial-gradient(ellipse at 87% 25%, rgba(255, 213, 121, 0.2), transparent 38%),
    radial-gradient(ellipse at 12% 105%, rgba(255, 138, 36, 0.18), transparent 42%),
    linear-gradient(145deg, #8a0c23 0%, #a41029 46%, #70091b 100%);
}

.offer-banner__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background:
    repeating-conic-gradient(from 0deg at 100% 50%, transparent 0deg 10deg, rgba(255, 213, 121, 0.3) 10deg 11deg, transparent 11deg 20deg);
  -webkit-mask-image: radial-gradient(circle at 100% 50%, #000 0 25%, transparent 58%);
  mask-image: radial-gradient(circle at 100% 50%, #000 0 25%, transparent 58%);
  pointer-events: none;
}

.offer-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 121, 0.7), transparent);
}

.offer-banner__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.offer-banner__eyebrow {
  margin-bottom: 6px;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.offer-banner__title {
  color: #fff8e9;
  font-size: clamp(23px, 6.5vw, 29px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.offer-banner__discount {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  color: var(--gold-strong);
  font-size: clamp(42px, 12vw, 54px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.offer-banner__discount small {
  padding-bottom: 5px;
  font-size: 0.3em;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.offer-banner__subtitle {
  margin-top: 3px;
  color: #fff2d0;
  font-size: clamp(11px, 3.2vw, 13px);
  font-weight: 800;
  line-height: 1.35;
}

.offer-banner__desc {
  max-width: 240px;
  margin-top: 4px;
  color: rgba(255, 248, 233, 0.7);
  font-size: 9px;
  line-height: 1.55;
}

.offer-banner__cta {
  width: min(100%, 220px);
  min-height: 47px;
  margin-top: 12px;
  padding: 0 12px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.offer-banner__terms {
  max-width: 250px;
  margin-top: 7px;
  color: rgba(255, 240, 194, 0.68);
  font-size: 8.5px;
  line-height: 1.55;
}

.offer-banner__visual {
  position: relative;
  z-index: 2;
  height: 198px;
}

.offer-banner__gift {
  position: absolute;
  right: -17px;
  bottom: 2px;
  width: 146px;
  height: 146px;
  filter: drop-shadow(0 14px 18px rgba(37, 1, 8, 0.3));
  transform: rotate(-2deg);
}

.offer-banner__bag {
  position: absolute;
  right: 7px;
  bottom: 0;
  z-index: -1;
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  color: #7b0b1e;
  border: 1px solid #ffe7a6;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff0bf, #f0b642);
  box-shadow: 0 8px 17px rgba(50, 3, 10, 0.23);
  transform: rotate(8deg);
}

.offer-banner__bag svg {
  width: 29px;
  height: 29px;
}

.offer-banner__spark {
  position: absolute;
  color: var(--gold-light);
  opacity: 0.85;
}

.offer-banner__spark--1 {
  top: 23px;
  left: 0;
  width: 11px;
  height: 11px;
}

.offer-banner__spark--2 {
  top: 75px;
  right: 5px;
  width: 6px;
  height: 6px;
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Install guide
   -------------------------------------------------------------------------- */
.install {
  position: relative;
  padding: 28px 14px 25px;
  background:
    radial-gradient(ellipse at 0 0, rgba(255, 213, 121, 0.2), transparent 27%),
    linear-gradient(180deg, #fff8ee, #fffaf4);
  border-top: 1px solid rgba(245, 196, 81, 0.36);
}

.install__steps {
  display: grid;
  gap: 9px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  align-items: flex-start;
  overflow: hidden;
  padding: 14px 13px;
  border: 1px solid rgba(231, 199, 142, 0.66);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(80, 37, 15, 0.055);
}

.step-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(225deg, rgba(255, 213, 121, 0.25), transparent 62%);
  pointer-events: none;
}

.step-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--red);
  border: 1px solid rgba(245, 196, 81, 0.52);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff9ec, #ffedc8);
}

.step-card__icon svg {
  width: 27px;
  height: 27px;
}

.step-card__content {
  min-width: 0;
  padding-right: 11px;
}

.step-card__number {
  position: absolute;
  top: 8px;
  right: 10px;
  color: rgba(197, 29, 53, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.step-card h3 {
  position: relative;
  z-index: 1;
  color: var(--wine);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.step-card p {
  margin-top: 4px;
  color: #7d685a;
  font-size: 9.5px;
  line-height: 1.58;
}

.step-card__offer {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-top: 7px;
  padding: 3px 8px;
  color: #5d111a;
  border: 1px solid #ffe6a2;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff2c1, #ffd579);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.step-card--last .step-card__icon {
  color: #7d0b1f;
  background: linear-gradient(145deg, #ffefb8, #f4c04d);
}

.install__cta {
  width: 100%;
  min-height: 49px;
  margin-top: 14px;
  font-size: 10.5px;
}

.install__note {
  margin-top: 9px;
  color: #8a7364;
  font-size: 9px;
  line-height: 1.55;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Final banner
   -------------------------------------------------------------------------- */
.final-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 27px 16px 28px;
  color: #fff8e9;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -2%, rgba(255, 213, 121, 0.22), transparent 38%),
    radial-gradient(ellipse at 10% 95%, rgba(255, 138, 36, 0.16), transparent 38%),
    linear-gradient(155deg, #8d0c24 0%, #70091b 48%, #4b0612 100%);
  border-top: 1px solid rgba(255, 213, 121, 0.25);
}

.final-banner__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    radial-gradient(rgba(255, 213, 121, 0.55) 0.6px, transparent 0.8px),
    radial-gradient(rgba(255, 213, 121, 0.3) 0.6px, transparent 0.8px);
  background-position: 0 0, 14px 14px;
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 55%);
  mask-image: linear-gradient(to bottom, #000, transparent 55%);
  pointer-events: none;
}

.final-banner__photos {
  position: relative;
  height: 123px;
  margin: -2px auto 11px;
}

.final-banner__photo {
  position: absolute;
  overflow: hidden;
  border: 3px solid rgba(255, 248, 231, 0.94);
  border-radius: 10px;
  background: #f3e3ca;
  box-shadow: 0 10px 24px rgba(27, 1, 7, 0.3);
}

.final-banner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-banner__photo--one {
  top: 20px;
  left: 3%;
  width: 82px;
  height: 62px;
  transform: rotate(-8deg);
}

.final-banner__photo--two {
  top: 4px;
  left: 50%;
  z-index: 2;
  width: 101px;
  height: 75px;
  transform: translateX(-50%) rotate(1deg);
}

.final-banner__photo--three {
  top: 23px;
  right: 3%;
  width: 82px;
  height: 62px;
  transform: rotate(8deg);
}

.final-banner__gift {
  position: absolute;
  right: 15%;
  bottom: -7px;
  z-index: 3;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 7px 10px rgba(30, 0, 6, 0.3));
}

.final-banner__eyebrow {
  margin-bottom: 7px;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.final-banner__title {
  max-width: 320px;
  margin: 0 auto;
  color: #fff8e9;
  font-size: clamp(25px, 7.2vw, 32px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

.final-banner__desc {
  max-width: 290px;
  margin: 7px auto 0;
  color: rgba(255, 248, 233, 0.72);
  font-size: 10px;
  line-height: 1.55;
}

.final-banner__cta {
  width: min(100%, 260px);
  min-height: 50px;
  margin-top: 14px;
  font-size: 10.5px;
}

.final-banner__note {
  margin-top: 8px;
  color: rgba(255, 240, 194, 0.56);
  font-size: 8.5px;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 22px 16px calc(21px + var(--safe-bottom));
  color: rgba(255, 248, 233, 0.78);
  background:
    radial-gradient(ellipse at 0 0, rgba(164, 16, 41, 0.4), transparent 38%),
    #3b0511;
  border-top: 1px solid rgba(255, 213, 121, 0.14);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer__mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
  border: 1px solid rgba(255, 213, 121, 0.35);
  border-radius: 8px;
  background: #ffffff;
}

.footer__mark svg {
  width: 21px;
  height: 21px;
}

.footer__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__name {
  color: #fff7e8;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.25;
}

.footer__tagline {
  margin-top: 2px;
  color: rgba(255, 240, 194, 0.53);
  font-size: 8px;
  line-height: 1.4;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 0;
  margin: 15px 0 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 213, 121, 0.12);
  border-bottom: 1px solid rgba(255, 213, 121, 0.12);
}

.footer__links a,
.footer__links button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 0;
  color: rgba(255, 248, 233, 0.84);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: rgba(255, 213, 121, 0.25);
  text-underline-offset: 3px;
}

.footer__links > *:not(:last-child)::after {
  content: "·";
  margin: 0 7px;
  color: rgba(255, 213, 121, 0.46);
  text-decoration: none;
}

.footer__disclaimer {
  color: rgba(255, 248, 233, 0.58);
  font-size: 8.8px;
  line-height: 1.6;
}

.footer__copy,
.footer__version {
  margin-top: 8px;
  color: rgba(255, 248, 233, 0.52);
  font-size: 8.5px;
  line-height: 1.5;
}

.footer__version {
  margin-top: 3px;
  color: rgba(255, 240, 194, 0.36);
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

body.has-sticky .footer {
  padding-bottom: calc(88px + var(--safe-bottom));
}

/* --------------------------------------------------------------------------
   Sticky download bar
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 50;
  display: flex;
  width: 100%;
  max-width: var(--shell);
  min-height: 66px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 9px calc(8px + var(--safe-bottom));
  border-top: 1px solid rgba(245, 196, 81, 0.55);
  border-radius: 16px 16px 0 0;
  background:
    radial-gradient(ellipse at 12% 0, rgba(255, 213, 121, 0.2), transparent 30%),
    #fffdf8;
  box-shadow: 0 -8px 28px rgba(60, 16, 14, 0.16);
  visibility: hidden;
  transform: translate(-50%, 112%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
  will-change: transform;
}

.sticky-cta.is-visible {
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s, 0s;
}

body.modal-open .sticky-cta,
body.gift-open .sticky-cta {
  transform: translate(-50%, 112%);
}

.sticky-cta__mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  overflow: hidden;
  color: var(--wine);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(76, 25, 12, 0.13);
}

.sticky-cta__mark svg {
  width: 21px;
  height: 21px;
}

.sticky-cta__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sticky-cta__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

.sticky-cta__copy strong {
  overflow: hidden;
  color: var(--wine);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: -0.005em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta__copy small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta__button {
  min-height: 45px;
  flex: 0 0 auto;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 9.5px;
  letter-spacing: 0.025em;
  box-shadow: 0 2px 0 rgba(77, 26, 10, 0.26);
}

.sticky-cta__button::after {
  display: none;
}

@media (min-width: 500px) {
  .sticky-cta {
    max-width: 520px;
  }

  .trust-strip__item {
    font-size: 9px;
  }

  .trust-strip__item span {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   Inline gift language panel sizing / scrolling
   -------------------------------------------------------------------------- */
.gift-card.lang-open {
  max-height: calc(100vh - 20px - var(--safe-top) - var(--safe-bottom));
  max-height: calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom));
}

.gift-card.lang-open .gift-lang-panel {
  max-height: calc(100vh - 20px - var(--safe-top) - var(--safe-bottom));
  max-height: calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom));
  padding: 52px 14px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.gift-card.lang-open .gift-lang-btn {
  visibility: hidden;
  pointer-events: none;
}

.gift-lang-panel .lang-option {
  background: #fff8ea;
}

.gift-lang-panel .lang-option[aria-checked="true"] {
  background: #fffdf8;
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .trust-strip {
    padding-right: 7px;
    padding-left: 7px;
  }

  .trust-strip__item {
    gap: 3px;
    font-size: 7.3px;
  }

  .trust-strip__item svg {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .trust-strip__item span {
    max-width: 78px;
  }

  .categories {
    padding-right: 12px;
    padding-left: 12px;
  }

  .category-grid {
    gap: 8px;
  }

  .category-card__body {
    min-height: 52px;
    padding: 8px;
  }

  .category-card__name {
    font-size: 11px;
  }

  .category-card__link {
    font-size: 7px;
  }

  .explore-link {
    padding: 0 5px;
    font-size: 8px;
  }

  .discover-more {
    grid-template-columns: minmax(0, 1.2fr) minmax(98px, 0.8fr);
    padding-right: 12px;
    padding-left: 12px;
  }

  .discover-more__visual {
    height: 150px;
  }

  .discover-more__photo--back {
    right: -26px;
    width: 82px;
  }

  .discover-more__photo--front {
    right: 10px;
    width: 92px;
  }

  .offer-banner {
    grid-template-columns: minmax(0, 1.45fr) minmax(80px, 0.55fr);
    padding-right: 12px;
    padding-left: 12px;
  }

  .offer-banner__visual {
    height: 180px;
  }

  .offer-banner__gift {
    right: -24px;
    width: 128px;
    height: 128px;
  }

  .offer-banner__bag {
    right: 0;
    width: 45px;
    height: 45px;
  }

  .offer-banner__desc {
    font-size: 8.5px;
  }

  .install {
    padding-right: 12px;
    padding-left: 12px;
  }

  .step-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 11px;
  }

  .step-card__icon {
    width: 42px;
    height: 42px;
  }

  .step-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .step-card h3 {
    font-size: 12px;
  }

  .step-card p {
    font-size: 9px;
  }

  .footer {
    padding-right: 13px;
    padding-left: 13px;
  }

  .footer__links a,
  .footer__links button {
    font-size: 9px;
  }

  .sticky-cta__copy strong {
    font-size: 9.5px;
  }

  .sticky-cta__button {
    padding: 0 9px;
    font-size: 9px;
  }
}

@media (min-width: 400px) {
  .categories {
    padding-right: 16px;
    padding-left: 16px;
  }

  .category-grid {
    gap: 12px;
  }

  .category-card__body {
    min-height: 58px;
    padding: 10px 11px;
  }

  .trust-strip__item {
    font-size: 8.5px;
  }

  .offer-banner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .install {
    padding-right: 16px;
    padding-left: 16px;
  }

  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (min-width: 470px) {
  .category-card__name {
    font-size: 14px;
  }

  .category-card__link {
    font-size: 8.5px;
  }
}

@media (max-width: 340px) {
  .brand__name {
    max-width: 100px;
    font-size: 13px;
    letter-spacing: 0.03em;
  }

  .lang-trigger {
    max-width: 76px;
    gap: 4px;
    padding: 0 5px;
    font-size: 9px;
  }

  .lang-trigger .chevron {
    display: none;
  }

  .topbar .btn--header {
    font-size: 8.5px;
  }
}

@media (max-width: 370px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.32fr) minmax(82px, 0.68fr);
  }

  .hero__visual {
    height: 215px;
  }

  .hero-art__gift {
    right: -5px;
    width: 91px;
    height: 113px;
  }

  .hero-art__coupon {
    top: 8px;
    left: -8px;
    width: 88px;
    min-height: 56px;
  }

  .hero-art__coupon-value {
    font-size: 22px;
  }

  .hero-art__bag {
    right: -8px;
    width: 61px;
  }

  .hero__badge {
    font-size: 7.2px;
  }
}

@media (max-height: 650px) {
  .gift-scroll {
    padding-top: 48px;
    padding-bottom: 10px;
  }

  .gift-row,
  .gift {
    min-height: 184px;
  }

  .gift-instruction {
    margin-top: 6px;
  }

  .gift {
    --box-w: clamp(72px, 24vw, 92px);
  }

  .gift-result__panel {
    padding-top: 2px;
  }
}

@media (max-height: 560px) {
  .gift-scroll {
    padding-top: 44px;
  }

  .gift-row,
  .gift {
    min-height: 166px;
  }

  .gift {
    --box-w: 70px;
  }

  .gift__giftbox {
    bottom: 9px;
  }

  .gift__coupon {
    min-height: 52px;
  }

  .gift-head .eyebrow {
    display: none;
  }

  .gift-title {
    margin-top: 2px;
    font-size: 22px;
  }

  .gift-subtitle {
    font-size: 10px;
  }

  .gift-instruction,
  .gift-every {
    display: none;
  }
}

@media (prefers-contrast: more) {
  .category-card {
    border-color: rgba(120, 12, 32, 0.4);
  }

  .section-subtitle,
  .step-card p,
  .footer__disclaimer {
    color: #604d40;
  }
}

/* Prevent iOS auto-zoom on tiny inputs (none are shown, but future-safe). */
@supports (-webkit-touch-callout: none) {
  button,
  a {
    touch-action: manipulation;
  }
}


html:lang(hi) .category-card__name {
  font-size: 12.5px;
  line-height: 1.4;
}

html:lang(hi) .category-card__link {
  font-size: 8.5px;
}

html:lang(hi) .step-card p {
  font-size: 10px;
  line-height: 1.65;
}

html:lang(hi) .offer-banner__terms,
html:lang(hi) .install__note,
html:lang(hi) .final-banner__note {
  font-size: 9px;
  line-height: 1.65;
}

html:lang(hi) .footer__disclaimer,
html:lang(hi) .footer__copy,
html:lang(hi) .footer__version {
  font-size: 9px;
  line-height: 1.6;
}

main:focus { outline: none; }
