:root {
  --wow-ink: #180b07;
  --wow-lacquer: #2b0806;
  --wow-cinnabar: #9f1f17;
  --wow-gold: #f2c766;
  --wow-deep-gold: #a66b20;
  --wow-jade: #174f3b;
}

.products-section,
.featured-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 199, 102, .26), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(159, 31, 23, .23), transparent 32%),
    linear-gradient(145deg, #fffaf0 0%, #f6ead1 42%, #efe0bd 100%);
}

.products-section .section-heading h2,
.featured-section .section-heading h2 {
  text-shadow: 0 10px 32px rgba(94, 42, 12, .12);
}

.featured-grid,
.product-carousel {
  isolation: isolate;
}

.featured-card,
.product-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 226, 135, .52), transparent 28%),
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, .16), transparent 24%),
    linear-gradient(145deg, #4d100d 0%, #240907 45%, #11100b 100%) !important;
  border: 1px solid rgba(242, 199, 102, .5) !important;
  box-shadow:
    0 22px 55px rgba(39, 12, 5, .24),
    inset 0 1px 0 rgba(255, 241, 185, .35),
    inset 0 -1px 0 rgba(255, 191, 73, .2);
  color: #fff7dc;
}

.featured-card:nth-child(2n),
.product-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 220, 118, .5), transparent 30%),
    radial-gradient(circle at 22% 12%, rgba(71, 166, 119, .2), transparent 30%),
    linear-gradient(145deg, #123b2d 0%, #0e2019 48%, #090e0b 100%) !important;
}

.featured-card:nth-child(3n),
.product-card:nth-child(3n) {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 229, 141, .56), transparent 28%),
    radial-gradient(circle at 74% 8%, rgba(193, 35, 22, .26), transparent 30%),
    linear-gradient(145deg, #5f1510 0%, #32100a 45%, #15100a 100%) !important;
}

.featured-card::before,
.product-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 219, 129, .38);
  background:
    linear-gradient(90deg, transparent, rgba(255, 224, 147, .18), transparent),
    repeating-linear-gradient(135deg, rgba(255, 223, 139, .08) 0 1px, transparent 1px 11px);
  mix-blend-mode: screen;
}

.featured-card::after,
.product-card::after {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  left: 50%;
  top: 28%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 218, 105, .44) 0 18%, rgba(255, 188, 50, .18) 34%, transparent 62%);
  filter: blur(3px);
}

.featured-card > *,
.product-card > * {
  position: relative;
  z-index: 1;
}

.featured-card span,
.product-kicker,
.product-card small {
  color: #ffd978 !important;
  letter-spacing: .13em;
}

.featured-card h3,
.product-card h3,
.product-card p {
  color: #fff8df !important;
}

.product-card p {
  opacity: .9;
}

.featured-card .image-zoom,
.product-card .image-zoom {
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 231, 160, .65), rgba(184, 39, 25, .16) 44%, rgba(10, 6, 4, .1) 72%);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(255, 220, 128, .35),
    inset 0 0 36px rgba(255, 207, 83, .18);
}

.featured-card img,
.product-card img {
  filter: saturate(1.12) contrast(1.06) drop-shadow(0 18px 22px rgba(0, 0, 0, .32));
  transform: scale(1.025);
}

.product-card .button,
.modal-panel .button,
.custom-request-form .button {
  background: linear-gradient(135deg, #ffdc7a 0%, #c98a2e 46%, #7f1b13 100%) !important;
  color: #1c0d07 !important;
  border-color: rgba(255, 230, 151, .72) !important;
  box-shadow: 0 12px 24px rgba(126, 37, 17, .25);
  font-weight: 800;
}

.product-card .button:hover,
.modal-panel .button:hover,
.custom-request-form .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(126, 37, 17, .32);
}

.product-card-footer {
  border-top-color: rgba(255, 220, 128, .28) !important;
}

@media (max-width: 720px) {
  .featured-card,
  .product-card {
    box-shadow: 0 14px 34px rgba(39, 12, 5, .22);
  }
}

/* Page-wide refinement: warm ceremonial glow, restrained enough to preserve readability. */
body {
  background:
    radial-gradient(circle at 8% 6%, rgba(203, 43, 27, .08), transparent 24rem),
    radial-gradient(circle at 92% 14%, rgba(23, 79, 59, .08), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, #f8edd7 42%, #fff8eb 100%) !important;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(255, 252, 243, .96), rgba(255, 245, 224, .92)) !important;
  border-bottom: 1px solid rgba(166, 107, 32, .18);
  box-shadow: 0 12px 36px rgba(79, 33, 8, .06);
}

.brand-mark {
  box-shadow:
    0 0 0 1px rgba(242, 199, 102, .42),
    0 10px 24px rgba(156, 42, 24, .12);
}

.hero-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(242, 199, 102, .24), transparent 26rem),
    radial-gradient(circle at 84% 18%, rgba(159, 31, 23, .11), transparent 24rem),
    linear-gradient(135deg, #fff8e8 0%, #f5e4c2 48%, #efe1c1 100%) !important;
}

.hero-copy .eyebrow,
.section-heading .eyebrow,
.contact-section .eyebrow,
.quote-section .eyebrow,
.collections-section .eyebrow {
  color: #9f1f17 !important;
}

.hero-feature-card,
.gallery-main {
  background:
    radial-gradient(circle at center, rgba(255, 220, 128, .2), transparent 52%),
    linear-gradient(145deg, rgba(75, 16, 11, .12), rgba(18, 59, 45, .08)) !important;
  border: 1px solid rgba(166, 107, 32, .24);
  box-shadow:
    0 28px 70px rgba(83, 32, 10, .16),
    inset 0 1px 0 rgba(255, 241, 185, .32);
}

.assurance-strip {
  background:
    linear-gradient(90deg, #2b0806 0%, #5f1510 46%, #123b2d 100%) !important;
  color: #fff6da !important;
  border-block: 1px solid rgba(242, 199, 102, .4);
  box-shadow: 0 20px 54px rgba(48, 16, 5, .18);
}

.assurance-strip strong {
  color: #ffdc7a !important;
}

.featured-section,
.products-section,
.collections-section,
.quote-section,
.contact-section {
  position: relative;
}

.featured-section::before,
.products-section::before,
.collections-section::before,
.quote-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(242, 199, 102, .10), transparent),
    repeating-linear-gradient(135deg, rgba(166, 107, 32, .04) 0 1px, transparent 1px 16px);
  opacity: .75;
}

.featured-section > *,
.products-section > *,
.collections-section > *,
.quote-section > *,
.contact-section > * {
  position: relative;
  z-index: 1;
}

.collections-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(23, 79, 59, .13), transparent 24rem),
    radial-gradient(circle at 92% 28%, rgba(159, 31, 23, .10), transparent 24rem),
    linear-gradient(145deg, #fff9eb 0%, #f0dfbd 100%) !important;
}

.custom-request-panel {
  background:
    linear-gradient(145deg, rgba(255, 253, 247, .93), rgba(255, 244, 218, .88)) !important;
  border: 1px solid rgba(166, 107, 32, .24) !important;
  box-shadow: 0 24px 70px rgba(79, 33, 8, .12);
}

.custom-request-copy span,
.custom-request-list li::marker {
  color: #9f1f17 !important;
}

.quote-section {
  background:
    linear-gradient(180deg, #fff7e4 0%, #f7ead0 100%) !important;
}

.quote-steps li {
  background:
    linear-gradient(145deg, rgba(255, 253, 247, .95), rgba(255, 243, 215, .92)) !important;
  border-color: rgba(166, 107, 32, .18) !important;
  box-shadow: 0 16px 42px rgba(79, 33, 8, .08);
}

.quote-steps span {
  color: #9f1f17 !important;
}

.contact-section {
  background:
    radial-gradient(circle at 74% 28%, rgba(242, 199, 102, .18), transparent 22rem),
    linear-gradient(135deg, #28100b 0%, #3c0f0b 48%, #143728 100%) !important;
  color: #fff7df !important;
}

.contact-section p,
.contact-section h2,
.contact-section .motion-status {
  color: #fff7df !important;
}

.motion-categories {
  background: rgba(255, 247, 222, .08) !important;
  border: 1px solid rgba(255, 220, 128, .25) !important;
  box-shadow: inset 0 1px 0 rgba(255, 241, 185, .15);
}

.motion-category {
  border-color: rgba(255, 220, 128, .32) !important;
  color: #fff7df !important;
}

.motion-category.is-active {
  background: linear-gradient(135deg, #ffdc7a, #b36f22) !important;
  color: #1c0d07 !important;
}

footer {
  background:
    linear-gradient(90deg, #fffaf0, #f6ead1) !important;
  border-top: 1px solid rgba(166, 107, 32, .2);
}

@media (max-width: 760px) {
  .assurance-strip {
    background: linear-gradient(180deg, #2b0806, #123b2d) !important;
  }
}

/* Refinement pass: make the assurance strip readable and less color-conflicted. */
.assurance-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  padding: 18px !important;
  margin-top: 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 221, 129, .26), transparent 20rem),
    linear-gradient(135deg, #fff4d8 0%, #ead3a8 100%) !important;
  border: 1px solid rgba(166, 107, 32, .26);
  box-shadow: 0 18px 46px rgba(79, 33, 8, .12);
}

.assurance-strip div {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 8px !important;
  min-height: 112px;
  padding: 22px 24px !important;
  border-radius: var(--radius) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 221, 129, .20), transparent 8rem),
    linear-gradient(145deg, #4a120d 0%, #210b07 72%, #15100b 100%) !important;
  border: 1px solid rgba(255, 220, 128, .46) !important;
  box-shadow:
    0 16px 34px rgba(60, 18, 6, .20),
    inset 0 1px 0 rgba(255, 238, 183, .24);
}

.assurance-strip strong {
  color: #ffd875 !important;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem) !important;
  line-height: 1;
  letter-spacing: 0;
}

.assurance-strip span {
  color: #fff4d2 !important;
  max-width: 18rem;
  font-size: clamp(.9rem, 1.5vw, 1rem) !important;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .assurance-strip {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
    margin-top: 12px;
  }

  .assurance-strip div {
    min-height: auto;
    padding: 16px 18px !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    column-gap: 18px !important;
  }

  .assurance-strip strong {
    flex: 0 0 auto;
    min-width: 5.6rem;
  }

  .assurance-strip span {
    text-align: right;
    max-width: 13.5rem;
  }
}

@media (max-width: 420px) {
  .assurance-strip div {
    align-items: flex-start;
    flex-direction: column;
  }

  .assurance-strip span {
    text-align: left;
    max-width: none;
  }
}

/* Header/nav polish: clearer mobile menu and more premium desktop navigation. */
.site-header {
  align-items: center !important;
  min-height: 68px;
  padding: 12px 16px !important;
}

.primary-nav {
  align-items: center;
  gap: 8px !important;
  padding: 5px;
  border: 1px solid rgba(166, 107, 32, .14);
  border-radius: 999px;
  background: rgba(255, 250, 240, .62);
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4b3325 !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #1d0b07 !important;
  background: linear-gradient(135deg, rgba(255, 220, 128, .38), rgba(255, 246, 220, .78));
  transform: translateY(-1px);
}

.header-cta {
  background: linear-gradient(135deg, #3e110b, #1d0b07) !important;
  border: 1px solid rgba(255, 220, 128, .42) !important;
  box-shadow: 0 12px 28px rgba(67, 20, 8, .18) !important;
}

.menu-toggle {
  position: relative;
  width: 46px !important;
  height: 46px !important;
  display: none;
  place-items: center;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(166, 107, 32, .34) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 230, 151, .34), transparent 60%),
    linear-gradient(145deg, #fffaf0, #f2dfba) !important;
  box-shadow:
    0 12px 28px rgba(79, 33, 8, .14),
    inset 0 1px 0 rgba(255, 255, 255, .75);
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  left: 13px;
  width: 20px !important;
  height: 2px !important;
  border-radius: 999px;
  background: #2a120c !important;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.menu-toggle span:not(.sr-only):nth-of-type(1) {
  top: 17px;
}

.menu-toggle span:not(.sr-only):nth-of-type(2) {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] {
  background: linear-gradient(145deg, #4a120d, #1d0b07) !important;
  border-color: rgba(255, 220, 128, .55) !important;
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only) {
  top: 22px;
  background: #ffd875 !important;
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: grid !important;
  }

  .primary-nav {
    grid-column: 1 / -1;
    display: none !important;
    width: 100%;
    padding: 10px !important;
    gap: 8px !important;
    border-radius: var(--radius) !important;
    background:
      radial-gradient(circle at 8% 8%, rgba(255, 220, 128, .25), transparent 14rem),
      linear-gradient(145deg, rgba(255, 250, 240, .98), rgba(245, 226, 189, .96)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
  }

  .primary-nav.is-open {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-nav a {
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(166, 107, 32, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .52);
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .site-header {
    width: min(100% - 20px, 1180px) !important;
    padding: 10px 12px !important;
  }

  .brand {
    gap: 9px;
  }

  .brand span {
    width: 34px !important;
    height: 34px !important;
  }

  .brand strong {
    font-size: 14px;
  }

  .menu-toggle {
    width: 42px !important;
    height: 42px !important;
  }

  .menu-toggle span:not(.sr-only) {
    left: 12px;
    width: 18px !important;
  }

  .menu-toggle span:not(.sr-only):nth-of-type(1) {
    top: 16px;
  }

  .menu-toggle span:not(.sr-only):nth-of-type(2) {
    top: 25px;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only) {
    top: 21px;
  }

  .primary-nav.is-open {
    grid-template-columns: 1fr;
  }
}

/* CTA/contact section upgrade: stronger hierarchy, easier WhatsApp action. */
.cta-wow-section {
  grid-template-columns: minmax(0, .95fr) minmax(330px, .75fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
  overflow: hidden;
}

.cta-copy-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 420px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 220, 128, .32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 220, 128, .24), transparent 15rem),
    linear-gradient(145deg, rgba(255, 247, 222, .10), rgba(255, 255, 255, .035));
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 214, .16),
    0 26px 70px rgba(16, 6, 3, .18);
}

.cta-copy-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(255, 220, 128, .18);
  border-radius: calc(var(--radius) - 2px);
}

.cta-copy-panel > * {
  position: relative;
  z-index: 1;
}

.cta-copy-panel h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: #fff8df !important;
  text-wrap: balance;
}

.cta-copy-panel p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 248, 223, .86) !important;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
}

.cta-whatsapp {
  display: inline-grid !important;
  align-content: center;
  gap: 2px;
  min-width: min(100%, 270px);
  min-height: 72px;
  padding: 12px 22px !important;
  border-radius: var(--radius) !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .42), transparent 8rem),
    linear-gradient(135deg, #ffdf86 0%, #d79932 44%, #8f2217 100%) !important;
  color: #1b0a05 !important;
  text-align: left;
  box-shadow:
    0 20px 42px rgba(93, 26, 8, .34),
    inset 0 1px 0 rgba(255, 255, 255, .46) !important;
}

.cta-whatsapp span {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cta-whatsapp strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.cta-secondary {
  min-height: 72px;
  padding-inline: 22px !important;
  color: #fff4d2 !important;
  border: 1px solid rgba(255, 220, 128, .28) !important;
  background: rgba(255, 247, 222, .08) !important;
}

.cta-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 8px;
}

.cta-checklist span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 220, 128, .24);
  border-radius: var(--radius);
  color: #fff4d2;
  background: rgba(255, 247, 222, .08);
  font-size: .85rem;
  font-weight: 800;
}

.cta-checklist span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-right: 8px;
  border-radius: 999px;
  background: #ffd875;
  box-shadow: 0 0 14px rgba(255, 216, 117, .72);
}

.cta-wow-section .motion-categories {
  min-height: 420px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 220, 128, .16), transparent 14rem),
    linear-gradient(145deg, rgba(255, 248, 223, .10), rgba(255, 255, 255, .045)) !important;
}

.floating-whatsapp-cta {
  position: fixed;
  z-index: 45;
  right: 18px;
  bottom: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 220, 128, .52);
  border-radius: 999px;
  color: #1b0a05;
  background: linear-gradient(135deg, #ffe08a, #c98525);
  box-shadow: 0 18px 40px rgba(49, 15, 5, .32);
  font-weight: 900;
}

.floating-whatsapp-cta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #ffeeb8;
  background: #3d100b;
  font-size: .76rem;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .cta-wow-section {
    grid-template-columns: 1fr !important;
  }

  .cta-copy-panel,
  .cta-wow-section .motion-categories {
    min-height: auto;
  }

  .cta-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cta-copy-panel {
    padding: 24px 18px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-whatsapp,
  .cta-secondary {
    width: 100%;
    min-width: 0;
    min-height: 62px;
  }

  .cta-checklist {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp-cta {
    display: inline-flex;
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  footer {
    padding-bottom: 86px !important;
  }
}

/* Replace abstract category animation with relevant WhatsApp quote preparation visual. */
.cta-wow-section .motion-categories,
.motion-categories,
.motion-flow,
.category-controls,
.motion-status {
  display: none !important;
}

.quote-prep-visual {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 420px;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(255, 220, 128, .30);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 22% 12%, rgba(255, 220, 128, .22), transparent 13rem),
    radial-gradient(circle at 84% 20%, rgba(34, 117, 82, .24), transparent 15rem),
    linear-gradient(145deg, rgba(255, 248, 223, .12), rgba(255, 255, 255, .045));
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 214, .16),
    0 26px 70px rgba(16, 6, 3, .18);
}

.quote-orbit {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 360px);
  margin: 0 auto 8px;
  pointer-events: none;
}

.orbit-ring {
  display: none;
}

.ring-one {
  width: 78%;
  aspect-ratio: 1.4;
  animation: quoteRingPulse 4.8s ease-in-out infinite;
}

.ring-two {
  width: 58%;
  aspect-ratio: 1.2;
  animation: quoteRingPulse 4.8s ease-in-out infinite reverse;
}

.quote-chip {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 235, 181, .62);
  border-radius: 999px;
  color: #fff7df;
  background: rgba(35, 13, 8, .72);
  box-shadow: 0 14px 30px rgba(18, 6, 2, .24);
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}

.chip-product {
  justify-self: stretch;
}

.chip-qty {
  justify-self: stretch;
}

.chip-region {
  justify-self: stretch;
}

.phone-quote-card {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  justify-self: center;
  padding: 16px;
  border: 1px solid rgba(255, 220, 128, .42);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .96), rgba(255, 244, 218, .92));
  box-shadow:
    0 28px 64px rgba(13, 5, 2, .34),
    inset 0 1px 0 rgba(255, 255, 255, .76);
  color: #22100a;
  animation: phoneLift 5.2s ease-in-out infinite;
}

.phone-topbar,
.send-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.phone-topbar {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(74, 18, 13, .12);
}

.phone-topbar span {
  width: 38px;
  height: 10px;
  border-radius: 999px;
  background: #2d120b;
}

.phone-topbar strong {
  font-size: .88rem;
}

.message-stack {
  display: grid;
  gap: 10px;
  padding: 18px 0;
}

.message-line {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  color: #24100a !important;
  background: #fff;
  box-shadow: 0 8px 18px rgba(74, 18, 13, .08);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.25 !important;
  animation: messageGlow 3.8s ease-in-out infinite;
}

.line-b {
  justify-self: end;
  background: #f9df99;
  animation-delay: .45s;
}

.line-c {
  animation-delay: .9s;
}

.send-row {
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f6f4d, #103d2d);
  color: #fff8df;
}

.send-row span {
  font-size: .8rem;
  opacity: .88;
}

.send-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 34px;
  border-radius: 999px;
  color: #1b0a05;
  background: linear-gradient(135deg, #ffdf86, #d79932);
  box-shadow: 0 0 24px rgba(255, 216, 117, .42);
}

.quote-visual-note {
  position: relative;
  z-index: 1;
  max-width: 330px;
  justify-self: center;
  margin: 0;
  color: rgba(255, 248, 223, .88) !important;
  text-align: center;
  font-weight: 800;
}

@keyframes quoteRingPulse {
  0%, 100% { opacity: .38; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: .78; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes quoteChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phoneLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes messageGlow {
  0%, 100% { box-shadow: 0 8px 18px rgba(74, 18, 13, .08); }
  50% { box-shadow: 0 10px 26px rgba(215, 153, 50, .22); }
}

@media (max-width: 980px) {
  .quote-prep-visual {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .quote-prep-visual {
    align-content: start;
    min-height: 540px;
    padding: 20px 14px 24px;
    gap: 14px;
  }

  .quote-orbit {
    position: relative;
    inset: auto;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: space-between;
    align-items: center;
    row-gap: 10px;
    width: min(100%, 292px);
    margin: 0 auto;
  }

  .orbit-ring {
    display: none;
  }

  .quote-chip {
    position: static;
    z-index: 2;
    min-width: 74px;
    min-height: 34px;
    padding: 7px 11px;
    background: rgba(50, 18, 11, .86);
    color: #fff6dc;
    font-size: .72rem;
    box-shadow: 0 10px 24px rgba(18, 6, 2, .28);
  }

  .chip-product {
    justify-self: start;
  }

  .chip-qty {
    justify-self: end;
  }

  .chip-region {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .phone-quote-card {
    width: min(100%, 292px);
    margin-top: 4px;
    border-radius: 20px;
  }

  .phone-topbar strong {
    max-width: 72%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .82rem;
  }

  .message-line {
    max-width: 94%;
    color: #2a130b !important;
    font-size: .8rem;
    line-height: 1.25 !important;
  }

  .line-b {
    max-width: 88%;
  }

  .send-row {
    gap: 8px;
    padding: 9px 10px;
  }

  .send-row strong {
    min-width: 66px;
  }

  .quote-visual-note {
    width: min(100%, 290px);
    max-width: 290px;
    color: #fff3d4 !important;
    font-size: .98rem;
    line-height: 1.45;
  }
}

@media (max-width: 390px) {
  .quote-prep-visual {
    min-height: 550px;
    padding-inline: 12px;
  }

  .phone-quote-card {
    width: min(100%, 274px);
  }

  .quote-orbit {
    width: min(100%, 274px);
  }

  .quote-chip {
    min-width: 68px;
    font-size: .68rem;
  }
}

/* Mobile safety pass: keep quote chips in the document flow so they never cover the phone card. */
@media (max-width: 720px) {
  .quote-prep-visual {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto !important;
    overflow: visible;
    padding: 20px 14px 28px !important;
  }

  .quote-orbit {
    position: static !important;
    inset: auto !important;
    order: 0;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(100%, 320px);
    margin: 0 auto 2px;
  }

  .orbit-ring {
    display: none !important;
  }

  .quote-chip,
  .chip-product,
  .chip-qty,
  .chip-region {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    animation: none !important;
  }

  .quote-chip {
    flex: 0 0 auto;
    min-width: 74px;
    max-width: 100%;
    min-height: 34px;
    color: #fff6dc !important;
    background: rgba(50, 18, 11, .88);
  }

  .phone-quote-card {
    order: 1;
    margin-top: 4px !important;
  }

  .quote-visual-note {
    order: 2;
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .quote-prep-visual .quote-orbit {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 330px;
    margin: 0 auto 10px;
    padding: 0;
  }

  .quote-prep-visual .quote-chip,
  .quote-prep-visual .chip-product,
  .quote-prep-visual .chip-qty,
  .quote-prep-visual .chip-region {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    grid-column: auto !important;
    justify-self: stretch !important;
    width: 100%;
    min-width: 0;
    padding: 8px 6px;
    transform: none !important;
    opacity: 1 !important;
    color: #fff7df !important;
    background: rgba(49, 17, 10, .94) !important;
    box-shadow: 0 8px 18px rgba(18, 6, 2, .22);
    font-size: .68rem;
    white-space: nowrap;
  }

  .quote-prep-visual .phone-quote-card {
    margin-top: 0 !important;
  }
}

@media (max-width: 390px) {
  .quote-prep-visual .quote-orbit {
    max-width: 292px;
    gap: 6px;
  }

  .quote-prep-visual .quote-chip {
    font-size: .64rem;
    padding-inline: 4px;
  }
}

/* Final viewport guard: chips are always a row above the card, never overlays. */
.quote-prep-visual {
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

.quote-prep-visual .quote-orbit {
  position: static !important;
  inset: auto !important;
  order: 0;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 340px);
  margin: 0 auto 10px;
  pointer-events: none;
}

.quote-prep-visual .orbit-ring {
  display: none !important;
}

.quote-prep-visual .quote-chip,
.quote-prep-visual .chip-product,
.quote-prep-visual .chip-qty,
.quote-prep-visual .chip-region {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  grid-column: auto !important;
  justify-self: stretch !important;
  width: 100%;
  min-width: 0;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
  white-space: nowrap;
}

.quote-prep-visual .phone-quote-card {
  order: 1;
  margin-top: 0 !important;
}

.quote-prep-visual .quote-visual-note {
  order: 2;
}

/* Category product shelf: tabs plus carousel by product type. */
.featured-grid.is-category-shelf {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.category-shelf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.category-shelf-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 220, 128, .32);
  border-radius: 999px;
  color: #fff6dc;
  background: rgba(49, 17, 10, .78);
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, .14), 0 10px 24px rgba(38, 12, 4, .14);
  font-size: .86rem;
  font-weight: 900;
}

.category-shelf-tab strong {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #1b0a05;
  background: linear-gradient(135deg, #ffdf86, #d79932);
}

.category-shelf-tab.is-active {
  color: #1b0a05;
  background: linear-gradient(135deg, #ffdf86, #d79932);
  border-color: rgba(255, 238, 183, .78);
}

.category-shelf-tab.is-active strong {
  color: #ffeeb8;
  background: #3d100b;
}

.category-shelf-window {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.category-shelf-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 33%);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.category-shelf-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 430px;
  padding: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(242, 199, 102, .5);
  border-radius: var(--radius);
  color: #fff8df;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 220, 118, .44), transparent 30%),
    linear-gradient(145deg, #4d100d 0%, #240907 45%, #11100b 100%);
  box-shadow: 0 22px 55px rgba(39, 12, 5, .24), inset 0 1px 0 rgba(255, 241, 185, .32);
}

.category-shelf-card:nth-child(2n) {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 220, 118, .42), transparent 30%),
    radial-gradient(circle at 22% 12%, rgba(71, 166, 119, .18), transparent 30%),
    linear-gradient(145deg, #123b2d 0%, #0e2019 48%, #090e0b 100%);
}

.category-shelf-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(255, 219, 129, .34);
  background: repeating-linear-gradient(135deg, rgba(255, 223, 139, .08) 0 1px, transparent 1px 11px);
}

.category-shelf-card > * {
  position: relative;
  z-index: 1;
}

.category-shelf-card h3 {
  margin: 0;
  color: #fff8df;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.16;
}

.category-shelf-card .image-zoom {
  width: 100%;
  aspect-ratio: 1.06;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 248, 223, .12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 220, 128, .35);
}

.category-shelf-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 22px rgba(0, 0, 0, .28));
}

.category-shelf-card p {
  margin: 0;
  color: rgba(255, 248, 223, .88);
  font-size: .9rem;
  line-height: 1.55;
}

.category-shelf-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  border: 1px solid rgba(255, 220, 128, .42);
  border-radius: var(--radius);
  color: #1b0a05;
  background: linear-gradient(135deg, #ffdf86, #d79932);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(93, 26, 8, .2);
}

.category-shelf-status {
  grid-column: 2;
  margin: 0;
  color: #7a2b18;
  font-weight: 900;
}

@media (max-width: 980px) {
  .featured-grid.is-category-shelf {
    grid-template-columns: 1fr;
  }

  .category-shelf-track {
    grid-auto-columns: minmax(300px, 58%);
  }

  .category-shelf-status {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .category-shelf-window {
    grid-template-columns: 1fr;
  }

  .category-shelf-arrow {
    display: none;
  }

  .category-shelf-track {
    grid-auto-columns: minmax(248px, 88%);
  }

  .category-shelf-tab {
    flex: 1 1 calc(50% - 8px);
    justify-content: space-between;
    min-width: 0;
  }
}
