/* ==========================================================================
   HYGI Air — e-commerce components (shop.css)
   Builds on the design tokens defined in style.css.
   ========================================================================== */

/* ===========================================================================
   HEADER — colour behaviour
   • Home  : transparent over hero (white text) → white bg + dark text on scroll
   • Inner : solid white bg + dark text by default (any scroll state)
   =========================================================================== */
.page-main {
  padding-top: calc(var(--header-h) + 28px);
  /* padding-bottom: 80px; */
}
/* Pages that end in a full-bleed CTA banner sit flush above the footer. */
.page-main:has(> .cta-banner:last-child) {
  padding-bottom: 0;
}
/* Inner-page headings wrap instead of overflowing (homepage keeps nowrap). */
.page-main .section__title {
  white-space: normal;
}

/* ---- About page: stats row ---- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 4px;
}
.about-stat {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 18px 24px;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease;
}
.about-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}
.about-stat:hover {
  transform: translateY(-4px);
  border-color: var(--green-200);
}
.about-stat:hover::before {
  transform: scaleX(1);
}
.about-stat__ico {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--grad-green-soft);
  color: var(--green-700);
  transition:
    background 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease;
}
.about-stat__ico svg {
  width: 24px;
  height: 24px;
}
.about-stat:hover .about-stat__ico {
  background: var(--grad-green);
  color: #fff;
  transform: scale(1.06);
}
.about-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about-stat__num small {
  font-size: 0.5em;
  font-weight: 700;
}
.about-stat__lbl {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--slate-600);
  font-weight: 500;
}
@media (max-width: 720px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- About page: mission section ---- */
.mission__top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.mission__media {
  min-height: 380px;
}
.mission__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.showcase__list {
  margin: 24px 0 4px;
}

/* Premium numbered value cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.value-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 20px 14px 16px;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg);
}
.value-card:hover::before {
  transform: scaleX(1);
}
.value-card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--green-200);
  letter-spacing: -0.02em;
  transition: color 0.28s ease;
}
.value-card:hover .value-card__num {
  color: var(--green-100);
}
.value-card__ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-green-soft);
  color: var(--green-700);
  margin-bottom: 18px;
  transition:
    background 0.28s ease,
    color 0.28s ease;
}
.value-card__ico svg {
  width: 24px;
  height: 24px;
}
.value-card:hover .value-card__ico {
  background: var(--grad-green);
  color: #fff;
}
.value-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--ink);
}
.value-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-600);
}
@media (max-width: 960px) {
  .mission__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mission__media {
    order: -1;
    min-height: 0;
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Contact page polish ---- */
.contact__form {
  /* gap: 18px; */
  align-content: start;
}
.contact__form-head {
  margin-bottom: 2px;
}
.contact__form-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact__form-head p {
  color: var(--slate-600);
  font-size: 14.5px;
  margin: 0 0 14px;
}
.contact__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  font-size: 12.5px;
  font-weight: 600;
}
.contact__badge svg {
  width: 14px;
  height: 14px;
}
.contact__socials {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 4px;
}
.contact__socials-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
}
.contact__social-links {
  display: flex;
  gap: 10px;
}
.contact__social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--slate-600);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.contact__social-links a:hover {
  transform: translateY(-3px);
  background: var(--grad-green);
  color: #fff;
  border-color: transparent;
}
.contact__social-links svg {
  width: 18px;
  height: 18px;
}

/* CTA banner with two actions (e.g. Features page) */
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* Inner pages: always solid + dark text */
body.is-inner .site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
body.is-inner .site-header .nav a,
body.is-inner .site-header .acct__btn {
  color: var(--slate-700);
}
body.is-inner .site-header .nav-toggle span {
  background: var(--ink);
}

/* Home page: dark text once scrolled (white header) */
body.is-home .site-header.is-scrolled .nav a,
body.is-home .site-header.is-scrolled .acct__btn {
  color: var(--slate-700);
}
body.is-home .site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}
/* Home page: white text/icon while transparent over the hero */
body.is-home .site-header:not(.is-scrolled) .acct__btn {
  color: #fff;
}

/* ---- Header actions ---- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Account / cart dropdown */
.acct {
  position: relative;
}
.acct__btn {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--slate-700);
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.acct__btn:hover {
  background: var(--green-50);
  color: var(--green-600);
  border-color: var(--green-100);
}
body.is-home .site-header:not(.is-scrolled) .acct__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.acct__btn svg {
  width: 22px;
  height: 22px;
}
.acct.is-open .acct__btn,
body.is-home .site-header:not(.is-scrolled) .acct.is-open .acct__btn,
body.is-home .site-header.is-scrolled .acct.is-open .acct__btn {
  background: #fff;
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.12);
}

/* Logged-in: icon-only, same centred circle as the guest button. */
.acct__btn--user {
  width: 44px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
}
.acct__avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 4px 10px -4px rgba(22, 163, 74, 0.7);
}
.acct__name {
  font-weight: 600;
  font-size: 14.5px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct__chev {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.acct.is-open .acct__btn--user .acct__chev {
  transform: rotate(180deg);
}
/* The chip already shows identity — soften the hover fill vs. the icon button */
.acct__btn--user:hover {
  background: var(--green-50);
}

.acct__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 19px;
  height: 19px;
  padding: 0;
  border-radius: 50%;
  background: var(--grad-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px -2px rgba(22, 163, 74, 0.7);
  /* border: 2px solid #fff; */
  box-sizing: border-box;
}
body.is-home .site-header:not(.is-scrolled) .acct__badge {
  border-color: #fff;
}
.acct__badge[hidden] {
  display: none;
}

.acct__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 270px;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 5px;
  box-shadow: 0 30px 60px -18px rgba(15, 23, 42, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.acct.is-open .acct__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.acct__panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 16px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid var(--slate-200);
  border-top: 1px solid var(--slate-200);
  transform: rotate(45deg);
  border-radius: 3px 0 0 0;
}
.acct__greet {
  padding: 8px 12px 10px;
  font-size: 14px;
  color: var(--slate-600);
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.acct__greet strong {
  color: var(--ink);
}
.acct__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-700);
  transition:
    background 0.15s,
    color 0.15s;
}
.acct__item svg {
  width: 18px;
  height: 18px;
  color: var(--green-600);
  flex-shrink: 0;
}
.acct__item:hover {
  background: var(--green-50);
  color: var(--green-700);
}
.acct__item:hover svg {
  color: var(--green-600);
}
/* Logout keeps a neutral icon (turns red on hover), not green. */
.acct__item--danger svg {
  color: var(--slate-400);
}
.acct__item--danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}
.acct__item--danger:hover svg {
  color: #b91c1c;
}
.acct__cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate-700);
  transition: background 0.15s;
}
.acct__cart:hover {
  background: var(--green-50);
  color: var(--green-700);
}
.acct__cart-left {
  display: flex;
  align-items: center;
  gap: 11px;
}
.acct__cart-left svg {
  width: 18px;
  height: 18px;
  color: var(--green-600);
}
.acct__count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--grad-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.acct__count[hidden] {
  display: none;
}
.acct__divider {
  height: 1px;
  background: var(--line);
  margin: 8px 4px;
}
.acct__panel .btn {
  margin: 4px 0 6px;
}
.acct__hint {
  text-align: center;
  font-size: 13px;
  color: var(--slate-500);
  /* margin: 4px 0 2px; */
}
.acct__hint a {
  color: var(--green-700);
  font-weight: 600;
}

@media (max-width: 560px) {
  /* Pin the dropdown to the screen's right edge (below the header),
     and point its arrow back up at the account icon. */
  .acct__panel {
    position: fixed;
    top: calc(var(--header-h) + 4px);
    right: 12px;
    left: auto;
    width: min(260px, calc(100vw - 24px));
  }
  .acct__panel::before {
    right: 80px;
  }
}

/* ---- Flash messages ---- */
/* ---- Toast notifications (top-right, animated, site-wide) ---- */
.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: min(92vw, 380px);
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  border: 1px solid;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.28);
  /* Start off-screen to the right and transparent. */
  opacity: 0;
  transform: translateX(120%);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.is-in {
  opacity: 1;
  transform: translateX(0);
}
.toast.is-out {
  opacity: 0;
  transform: translateX(120%);
}
.toast--success {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.toast--error {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.toast--info {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
@media (max-width: 560px) {
  .toast-stack {
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

.flash {
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid;
}
.flash--success {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.flash--error {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.flash--info {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

/* ---- Breadcrumbs ---- */
.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--slate-500);
  margin: 0 0 24px;
}
.breadcrumb a {
  color: var(--slate-600);
}
.breadcrumb a:hover {
  color: var(--green-600);
}
.breadcrumb span {
  color: var(--slate-400);
}

/* ---- Page header ---- */
.page-head {
  margin-bottom: 36px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(21px, 3vw, 25px);
  margin: 0 0 10px;
}
.page-head p {
  color: var(--slate-600);
  margin: 0;
  max-width: 720px;
}

/* ---- Generic card ---- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  /* box-shadow: var(--shadow-card); */
}

/* ============ PRODUCT DETAIL ============ */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.pdp__gallery {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  /* Cap and centre the gallery within its 50% column so the image isn't
     full-bleed — keeps the two halves visually balanced. */
  max-width: 480px;
  margin-inline: auto;
}
.pdp__main-img {
  width: 100%;
  /* Reliable, responsive height — compact on wide screens, scales down on
     smaller ones. object-fit keeps the product centred and never cropped. */
  height: clamp(260px, 30vw, 380px);
  /* object-fit: contain; */
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px;
  transition: opacity 0.35s ease;
}
/* Thumbnail slider: a full-width scroll strip with floating overlap arrows. */
.pdp__thumbs-wrap {
  position: relative;
  margin-top: 14px;
}
.pdp__thumbs {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}
.pdp__thumbs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.pdp__thumb {
  width: 76px;
  height: 76px;
  flex: none;
  scroll-snap-align: start;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    border-color 0.2s,
    transform 0.2s;
  background: var(--bg-soft);
}
.pdp__thumb:hover {
  transform: translateY(-2px);
}
.pdp__thumb.is-active,
.pdp__thumb:hover {
  border-color: var(--green-500);
}
/* Floating prev/next buttons overlapping the strip edges. */
.pdp__thumbs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--slate-700);
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.4);
  transition:
    color 0.18s,
    background 0.18s,
    transform 0.18s;
}
/* Straddle the strip edges — half over the thumbnails, half outside. */
.pdp__thumbs-nav--prev {
  left: 0;
  margin-left: -19px;
}
.pdp__thumbs-nav--next {
  right: 0;
  margin-right: -19px;
}
.pdp__thumbs-nav:hover {
  color: var(--green-600);
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.pdp__thumbs-nav:active {
  transform: translateY(-50%) scale(0.96);
}
.pdp__thumbs-nav svg {
  width: 18px;
  height: 18px;
}

.pdp__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px;
  color: var(--slate-500);
  font-size: 14px;
}
.stars {
  display: inline-flex;
  gap: 2px;
}
.star {
  color: var(--slate-300);
  font-size: 18px;
  line-height: 1;
}
.star.is-full {
  color: #f59e0b;
}
.star.is-half {
  background: linear-gradient(90deg, #f59e0b 50%, var(--slate-300) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pdp__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.7vw, 34px);
  margin: 0 0 6px;
}
.pdp__short {
  color: var(--slate-600);
  font-size: 16.5px;
  margin: 0 0 20px;
}

.pdp__price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 6px;
}
.pdp__price-now {
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-display);
}
.pdp__price-was {
  font-size: 20px;
  color: var(--slate-400);
  text-decoration: line-through;
}
.pdp__price-off {
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: center;
}
.pdp__tax-note {
  color: var(--slate-500);
  font-size: 13px;
  margin: 0 0 18px;
}

.pdp__stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 22px;
}
.pdp__stock.in {
  color: var(--green-700);
}
.pdp__stock.out {
  color: #b91c1c;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
}
.qty button {
  width: 44px;
  height: 46px;
  border: 0;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  color: var(--slate-700);
}
.qty button:hover {
  background: var(--green-50);
  color: var(--green-700);
}
.qty input {
  width: 56px;
  height: 46px;
  text-align: center;
  border: 0;
  border-left: 1.5px solid var(--slate-200);
  border-right: 1.5px solid var(--slate-200);
  font-size: 16px;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.pdp__qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pdp__meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pdp__meta-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--slate-600);
}
.pdp__meta-item svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 1px;
}
.pdp__meta-item strong {
  color: var(--ink-2);
}

/* Tabs / detail sections */
.pdp-tabs {
  margin-top: 64px;
}
.pdp-tabs__nav {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid var(--line);
  margin-bottom: 28px;
  /* stick under the fixed header while the tab content scrolls */
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: 20;
  background: var(--bg);
}
.pdp-tabs__nav::-webkit-scrollbar {
  display: none;
}
.pdp-tabs__btn {
  padding: 12px 20px;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}
.pdp-tabs__btn.is-active {
  color: var(--green-700);
  border-bottom-color: var(--green-600);
}
.pdp-tabs__panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.pdp-tabs__panel.is-active {
  display: block;
}
/* Description panel */
.pdp-desc {
  max-width: none;
}
.pdp-desc__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 18px;
}
.pdp-desc__body {
  color: var(--slate-600);
  line-height: 1.85;
  font-size: 15.5px;
  margin-bottom: 16px;
}
.pdp-desc__highlights {
  list-style: none;
  padding: 0;
  margin: 26px 0 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}
.pdp-desc__highlights li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--slate-700);
  font-size: 15px;
  font-weight: 500;
}
.pdp-desc__highlights svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green-600);
  background: var(--green-50);
  border-radius: 50%;
  padding: 3px;
  box-sizing: border-box;
}
.pdp-desc__video {
  margin-top: 28px;
  max-width: 760px;
  aspect-ratio: 16 / 9;
}
.pdp-desc__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 640px) {
  .pdp-desc__highlights {
    grid-template-columns: 1fr;
  }
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.spec-table th {
  width: 34%;
  color: var(--slate-500);
  font-weight: 600;
}
.bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: grid;
  gap: 12px;
}
.bullet-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--slate-700);
}
.bullet-list li::before {
  content: "✓";
  color: var(--green-600);
  font-weight: 800;
}

/* Reviews — standalone section below the tabs */
.pdp-reviews {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.pdp-reviews__title {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 5px;
}
.pdp-reviews__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-600);
  font-size: 15px;
  margin-bottom: 11px;
}
.pdp-reviews__summary .stars {
  font-size: 18px;
}
.review {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.review__author {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.review .stars {
  font-size: 13px;
}
.review__title {
  margin: 6px 0 3px;
  font-weight: 600;
  font-size: 14px;
}
.review__body {
  color: var(--slate-600);
  margin: 5px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============ CART ============ */
/* Page head with title left, subtitle right */
.page-head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.page-head--row h1 {
  margin-bottom: 0;
}
.page-head--row p {
  margin: 0;
}

/* Checkout progress steps */
.checkout-steps {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 28px;
}
.checkout-steps li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-400);
}
.checkout-steps li:not(:last-child)::after {
  content: "";
  width: 34px;
  height: 2px;
  margin-left: 6px;
  border-radius: 2px;
  background: var(--slate-200);
}
.checkout-steps__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-500);
}
.checkout-steps li.is-active {
  color: var(--green-700);
}
.checkout-steps li.is-active .checkout-steps__num {
  background: var(--grad-green);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(22, 163, 74, 0.6);
}

.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}
.cart-items {
  padding: 8px 24px 24px;
}
.cart-items__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0 6px;
}
.cart-items__head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0;
}
.cart-items__head span {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 600;
}
.cart-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  align-items: center;
  border-top: 1px solid var(--line);
}
.cart-item__img {
  width: 124px;
  height: 124px;
  /* object-fit: cover; */
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.cart-item__info {
  flex: 1;
  min-width: 0;
}
.cart-item__name {
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
}
.cart-item__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-700);
}
.cart-item__stock .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.cart-item__meta {
  color: var(--slate-500);
  font-size: 13.5px;
  margin: 6px 0 0;
}
.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
.cart-item__remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--slate-500);
  font-size: 13.5px;
  font-weight: 600;
  padding: 0;
  transition: color 0.2s ease;
}
.cart-item__remove svg {
  width: 16px;
  height: 16px;
}
.cart-item__remove:hover {
  color: #b91c1c;
}
.cart-item__price {
  margin-left: auto;
  align-self: flex-start;
  text-align: right;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
}
.cart-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cart-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
}
.cart-trust svg {
  width: 18px;
  height: 18px;
  color: var(--green-600);
}
.link-danger {
  color: #b91c1c;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 13.5px;
  padding: 0;
}
.link-danger:hover {
  text-decoration: underline;
}

.summary {
  padding: 26px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.summary h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 19px;
}
.summary__row--save {
  color: var(--green-700);
  font-weight: 600;
}
.summary__actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.summary__actions .btn {
  flex: 1;
  min-width: 0;
  padding-left: 14px;
  padding-right: 14px;
}
.summary__checkout {
  gap: 9px;
}
.summary__checkout svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
@media (max-width: 420px) {
  .summary__actions {
    flex-direction: column;
  }
}
.summary__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate-500);
}
.summary__secure svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
}
.summary__pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.summary__pay span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--slate-600);
  background: var(--slate-100);
  border-radius: 7px;
  padding: 5px 9px;
}
.summary__row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  color: var(--slate-600);
  font-size: 15px;
}
.summary__row.is-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}
.summary__row .free {
  color: var(--green-600);
  font-weight: 600;
}
.coupon-row {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.coupon-row input {
  flex: 1;
  padding: 11px 13px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-size: 14px;
  text-transform: uppercase;
}
.coupon-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--green-800);
  margin: 16px 0;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--slate-300);
  margin-bottom: 18px;
}
.empty-state h2 {
  margin: 0 0 8px;
}
.empty-state p {
  color: var(--slate-500);
  margin: 0 0 24px;
}

/* ============ FORMS (auth, checkout, account) ============ */
.form-card {
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
}
.form-card--wide {
  max-width: 720px;
}
.auth-wrap {
  display: grid;
  place-items: center;
  min-height: 60vh;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  /* margin-bottom: 6px; */
  color: var(--slate-700);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}
.field .err {
  color: #b91c1c;
  font-size: 12.5px;
  margin-top: 5px;
}
.field.has-error input,
.field.has-error select {
  border-color: #fca5a5;
}
.form-aside-link {
  text-align: center;
  margin-top: 18px;
  color: var(--slate-500);
  font-size: 14px;
}

/* Checkout layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}
.pay-methods {
  display: grid;
  gap: 12px;
  margin: 8px 0 20px;
}
.pay-option {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 14px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.pay-option:has(input:checked) {
  border-color: var(--green-500);
  background: var(--green-50);
}
.pay-option input {
  accent-color: var(--green-600);
  width: 18px;
  height: 18px;
}
.pay-option__label {
  font-weight: 600;
}
.pay-option__hint {
  color: var(--slate-500);
  font-size: 13px;
}

/* ============ ACCOUNT ============ */
.account-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 30px;
}
/* Let the content column shrink instead of overflowing the viewport. */
.account-grid > * {
  min-width: 0;
}
/* Wide tables scroll inside their card rather than cropping the page. */
.account-grid .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Order tracking timeline (customer-facing) — dotted horizontal connector. */
.otrack {
  display: flex;
  margin: 30px 0 6px;
}
.otrack__step {
  flex: 1;
  text-align: center;
  position: relative;
}
.otrack__step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: -50%;
  width: 100%;
  border-top: 2px dotted var(--slate-300);
  z-index: 0;
}
.otrack__step:first-child::before {
  display: none;
}
.otrack__step.is-done::before {
  border-top-style: solid;
  border-top-color: var(--green-500);
}
.otrack__dot {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--slate-200);
  color: var(--slate-400);
  font-weight: 800;
  font-size: 14px;
}
.otrack__step.is-done .otrack__dot {
  background: var(--grad-green);
  border-color: transparent;
  color: #fff;
}
.otrack__step.is-current .otrack__dot {
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
}
.otrack__label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-400);
}
.otrack__step.is-done .otrack__label {
  color: var(--green-700);
}

/* Key/value table (e.g. shipping address) */
.kv {
  width: 100%;
  border-collapse: collapse;
}
.kv td {
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.kv tr:last-child td {
  border-bottom: 0;
}
.kv td:first-child {
  color: var(--slate-500);
  width: 38%;
  padding-right: 14px;
}
.kv td:last-child {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

/* Previously-used address list */
.addr-list {
  display: grid;
  gap: 12px;
}
.addr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.addr-card__body {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--ink);
}
.addr-card__body span {
  display: block;
  margin-top: 4px;
  color: var(--slate-600);
  font-size: 13.5px;
  line-height: 1.5;
}
.addr-card .btn {
  flex: none;
}
.account-nav {
  padding: 14px;
  display: grid;
  gap: 4px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.account-nav a {
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--slate-700);
  font-weight: 500;
  font-size: 14.5px;
}
.account-nav a:hover {
  background: var(--green-50);
  color: var(--green-700);
}
.account-nav a.is-active {
  background: var(--grad-green);
  color: #fff;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.table th {
  color: var(--slate-500);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.table tr:last-child td {
  border-bottom: 0;
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge--pending {
  background: #fef9c3;
  color: #854d0e;
}
.badge--confirmed,
.badge--paid {
  background: #dcfce7;
  color: #166534;
}
.badge--processing {
  background: #dbeafe;
  color: #1e40af;
}
.badge--shipped {
  background: #e0e7ff;
  color: #3730a3;
}
.badge--delivered {
  background: #bbf7d0;
  color: #14532d;
}
.badge--cancelled,
.badge--failed {
  background: #fee2e2;
  color: #991b1b;
}

/* ---- Order box (account order detail + track pages) ---- */
.order-box {
  padding: 28px;
  max-width: 640px;
  margin: 0 auto;
}
.order-box__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.order-box__row:last-child {
  border-bottom: 0;
}

/* ============ ORDER SUCCESS / CONFIRMATION ============ */
.oc {
  padding-bottom: 56px;
}

/* ---- Hero ---- */
.oc__hero {
  text-align: center;
  padding: 48px 0 30px;
}
.oc__check {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--green-50, #f0fdf4);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.08);
  animation: oc-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.oc__check svg {
  width: 60px;
  height: 60px;
}
.oc__check-ring {
  stroke: var(--green-500, #22c55e);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: oc-draw 0.5s ease-out forwards;
}
.oc__check-tick {
  stroke: var(--green-600, #16a34a);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: oc-draw 0.35s 0.3s ease-out forwards;
}
@keyframes oc-pop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes oc-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .oc__check,
  .oc__check-ring,
  .oc__check-tick {
    animation: none;
  }
  .oc__check-ring,
  .oc__check-tick {
    stroke-dashoffset: 0;
  }
}
.oc__title {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 10px;
}
.oc__lead {
  color: var(--slate-600);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}
.oc__chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.oc__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
.oc__chip svg {
  width: 15px;
  height: 15px;
  color: var(--green-600, #16a34a);
}

/* ---- Layout ---- */
.oc__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
.oc__card {
  padding: 26px;
}
.oc__side {
  display: grid;
  gap: 22px;
}
.oc__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.oc__card-head h2 {
  font-size: 19px;
  margin: 0;
}

/* ---- Items ---- */
.oc__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.oc__item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  background: var(--green-50, #f0fdf4);
  border: 1px solid var(--line);
}
.oc__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oc__item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.oc__item-info strong {
  font-size: 15px;
  line-height: 1.3;
}
.oc__item-info span {
  font-size: 13px;
  color: var(--slate-500);
}
.oc__item-price {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

/* ---- Totals ---- */
.oc__totals {
  margin-top: 16px;
}
.oc__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--slate-600);
}
.oc__minus {
  color: var(--green-700, #15803d);
  font-weight: 600;
}
.oc__free {
  color: var(--green-600, #16a34a);
  font-weight: 700;
}
.oc__row--total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid var(--line);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink, #0f172a);
}

/* ---- Side cards ---- */
.oc__side-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  margin: 0 0 12px;
}
.oc__side-title svg {
  width: 18px;
  height: 18px;
  color: var(--green-600, #16a34a);
}
.oc__pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font-weight: 700;
  font-size: 14.5px;
}
.oc__addr {
  margin: 0;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.7;
}
.oc__addr strong {
  color: var(--ink, #0f172a);
}
.oc__addr-phone {
  color: var(--slate-500);
}

/* ---- Actions ---- */
.oc__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

@media (max-width: 760px) {
  .oc__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s;
}
.wa-float:hover {
  transform: scale(1.08);
}

/* ---- Buy band on home ---- */
.buy-band {
  background: var(--grad-green-soft);
}
.buy-band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.buy-band__img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  /* object-fit: contain; */
  background: #fff;
}
.buy-band__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 20px;
}
.buy-band__now {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-display);
}
.buy-band__was {
  font-size: 18px;
  color: var(--slate-400);
  text-decoration: line-through;
}

/* ============ BLOG ============ */
/* Featured post banner */
.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  margin-bottom: 36px;
}
.blog-featured__media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 280px;
  background: var(--bg-soft);
}
.blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-featured:hover .blog-featured__media img {
  transform: scale(1.04);
}
.blog-featured__body {
  padding: clamp(26px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.blog-featured__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  margin: 2px 0;
}
.blog-featured__title a {
  color: var(--ink);
}
.blog-featured__title a:hover {
  color: var(--green-700);
}
.blog-featured__excerpt {
  color: var(--slate-600);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 6px;
}
.blog-featured__body .btn {
  align-self: flex-start;
}

/* Tag pill over media */
.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-700);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.blog-tag--featured {
  background: var(--grad-green);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg);
}
.blog-card__media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
}
.blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-card__date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.blog-card__date svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
  flex-shrink: 0;
}
.blog-card__title {
  font-size: 18px;
  line-height: 1.35;
  margin: 2px 0;
  font-family: var(--font-display);
}
.blog-card__title a {
  color: var(--ink);
}
.blog-card__title a:hover {
  color: var(--green-700);
}
.blog-card__excerpt {
  color: var(--slate-600);
  font-size: 14.5px;
  margin: 0;
  flex: 1;
}
.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-700);
  font-weight: 600;
  font-size: 14px;
  margin-top: 6px;
}
.blog-card__more:hover {
  gap: 9px;
  color: var(--green-600);
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.pagination a {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--slate-700);
  font-weight: 600;
}
.pagination a:hover {
  border-color: var(--green-300);
  color: var(--green-700);
}
.pagination a.is-active {
  background: var(--grad-green);
  color: #fff;
  border-color: transparent;
}

/* Single post */
.post__head {
  text-align: center;
  margin: 8px 0 24px;
}
.post__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
  line-height: 1.2;
}
.post__meta {
  color: var(--slate-500);
  font-size: 14px;
  font-weight: 600;
}
.post__cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}
.post__body {
  color: var(--slate-700);
  font-size: 17px;
  line-height: 1.9;
}
.post__lead {
  font-size: 19px;
  color: var(--ink-2);
  font-weight: 500;
  margin: 0 0 20px;
}
.post-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.post-related__title {
  font-family: var(--font-display);
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .pdp,
  .cart-grid,
  .checkout-grid,
  .account-grid,
  .buy-band__inner {
    grid-template-columns: 1fr;
  }
  .buy-band__inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  /* keep paired CTA buttons side-by-side on mobile (buy-band + why section) */
  .why__cta {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
  }
  .why__cta .btn {
    flex: 1;
    width: auto;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 14px;
    text-align: center;
    line-height: 1.25;
    justify-content: center;
  }
  .pdp__gallery,
  .summary {
    position: static;
  }
  /* Account nav becomes a horizontal scrolling tab strip (like product tabs). */
  .account-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    position: static;
    gap: 6px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .account-nav::-webkit-scrollbar {
    display: none;
  }
  .account-nav a {
    flex: none;
    white-space: nowrap;
  }
}
@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cart-item {
    flex-wrap: wrap;
  }
  .cart-item__price {
    margin-left: 0;
  }
}

/* ============ BLOG DETAIL — article + sidebar ============ */
.blog-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
  max-width: 1200px;
}
.blog-detail__main {
  min-width: 0;
}
.post {
  overflow: hidden;
}
.post__cover-wrap {
  aspect-ratio: 16/8;
  overflow: hidden;
  background: var(--bg-soft);
}
.post__cover {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  display: block;
}
.post__inner {
  padding: 30px 34px 34px;
}
.post__tags {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.post__tags .blog-tag {
  position: static;
  text-transform: none;
}
.post__tags .post__meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.post__tags .post__meta svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
}
.post .post__title {
  text-align: left;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 22px;
}
.post__body {
  font-size: 16.5px;
}
.post__body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 30px 0 12px;
  color: var(--ink);
  line-height: 1.3;
}
.post__body h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}
.post__body p {
  margin: 0 0 16px;
}
.post__body ul,
.post__body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.post__body li {
  margin: 0 0 9px;
}
.post__body a {
  color: var(--green-700);
  text-decoration: underline;
}
.post__body img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 14px 0;
}
.post__body blockquote {
  margin: 18px 0;
  padding: 12px 20px;
  border-left: 4px solid var(--green-300);
  background: var(--green-50);
  border-radius: 8px;
  color: var(--ink-2);
}
.post__foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.blog-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-h, 72px) + 18px);
}
.side-card {
  padding: 22px;
}
.side-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.side-recent {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-recent__item {
  display: flex;
  gap: 13px;
  align-items: center;
}
.side-recent__item img {
  width: 64px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-soft);
}
.side-recent__name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.35;
}
.side-recent__item:hover .side-recent__name {
  color: var(--green-700);
}
.side-recent__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 5px;
}
.side-recent__date svg {
  width: 13px;
  height: 13px;
  color: var(--green-600);
  flex-shrink: 0;
}

.side-cta {
  background: linear-gradient(160deg, #0f172a, #1e293b);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  color: #fff;
}
.side-cta__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--green-300);
  margin-bottom: 14px;
}
.side-cta__icon svg {
  width: 28px;
  height: 28px;
}
.side-cta h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 20px;
  margin: 0 0 8px;
}
.side-cta p {
  color: #cbd5e1;
  font-size: 14px;
  margin: 0 0 18px;
  line-height: 1.6;
}
.side-cta .btn {
  margin-bottom: 16px;
}
.side-cta__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  justify-content: center;
}
.side-cta__mail svg {
  width: 16px;
  height: 16px;
  color: var(--green-300);
}
.side-cta__mail:hover {
  color: #fff;
}

.side-cats {
  display: flex;
  flex-direction: column;
}
.side-cats__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green-700);
  font-weight: 600;
  font-size: 15px;
}
.side-cats__item:last-child {
  border-bottom: 0;
}
.side-cats__item:hover {
  color: var(--green-600);
}
.side-cats__count {
  min-width: 26px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: -20px 0 40px;
}
.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  color: var(--slate-700);
  background: #fff;
}
.blog-chip span {
  font-size: 12px;
  background: var(--bg-soft);
  padding: 1px 8px;
  border-radius: 999px;
  color: var(--slate-600);
}
.blog-chip:hover {
  border-color: var(--green-300);
  color: var(--green-700);
}
.blog-chip.is-active {
  background: var(--grad-green);
  color: #fff;
  border-color: transparent;
}
.blog-chip.is-active span {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

@media (max-width: 980px) {
  .blog-detail {
    grid-template-columns: 1fr;
  }
  .blog-side {
    position: static;
  }
  .post__inner {
    padding: 24px 20px;
  }
}

/* ============ BLOG DETAIL — hero banner ============ */
.post-hero {
  position: relative;
  background: #0b1220 center/cover no-repeat;
  color: #fff;
  margin-top: calc(-1 * (var(--header-h) + 28px));
  overflow: hidden;
}
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(11, 18, 32, 0.94) 0%,
    rgba(15, 23, 42, 0.82) 48%,
    rgba(22, 101, 52, 0.55) 100%
  );
}
.post-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.06);
}
.post-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 46px);
  padding-bottom: 52px;
}
/* flat cards on the blog detail page (no drop shadow) */
.blog-detail .card-soft {
  box-shadow: none;
}
.post-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.12;
  margin: 0 0 18px;
  color: #fff;
  max-width: 880px;
  letter-spacing: -0.01em;
}
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
}
.post-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.post-breadcrumb a:hover {
  color: #fff;
}
.post-breadcrumb .sep {
  opacity: 0.45;
}
.post-breadcrumb .current {
  color: rgba(255, 255, 255, 0.55);
  max-width: 60ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-detail {
  margin-top: 54px;
  margin-bottom: 54px;
}

/* professional typography for the article body */
.post__inner {
  padding: 32px 36px 36px;
}
.post .post__title {
  display: none;
} /* title now lives in the hero */
.post__tags {
  margin-bottom: 18px;
}
.post__body {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--slate-700);
}
.post__body > :first-child {
  margin-top: 0;
}
.post__body h2 {
  font-size: clamp(20px, 2.4vw, 26px);
}
.post__body h3 {
  font-size: 19px;
}
.post__lead {
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .post-hero__inner {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 40px;
  }
  .post__inner {
    padding: 24px 20px;
  }
}

/* ============ BLOG COMMENTS ============ */
.comments {
  margin-top: 24px;
  padding: 30px 34px;
}
.comments__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 14px;
}
.comments__title svg {
  width: 24px;
  height: 24px;
  color: var(--green-600);
  flex-shrink: 0;
}
.comments__empty {
  color: var(--slate-500);
  margin: 0 0 26px;
  font-size: 15px;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 30px;
}
.comment {
  display: flex;
  gap: 14px;
}
.comment__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.comment__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.comment__head strong {
  font-size: 15px;
  color: var(--ink);
}
.comment__date {
  font-size: 13px;
  color: var(--slate-500);
}
.comment__body p {
  margin: 0;
  color: var(--slate-700);
  font-size: 15px;
  line-height: 1.7;
}
.comment-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.comment-form h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 18px;
}
.comment-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--green-300);
  box-shadow: 0 0 0 3px var(--green-50);
}
.comment-form textarea {
  margin-bottom: 18px;
  resize: vertical;
}
@media (max-width: 600px) {
  .comment-form__row {
    grid-template-columns: 1fr;
  }
  .comments,
  .comment-form {
    padding: 20px;
  }
}

/* ============ BLOG LISTING ============ */
.page-hero {
  text-align: center;
}
.page-hero__inner {
  padding-top: calc(var(--header-h) + 54px);
  padding-bottom: 60px;
  text-align: center;
}
.page-hero .post-hero__title {
  margin: 0 auto 16px;
  max-width: none;
}
.page-hero .post-breadcrumb {
  justify-content: center;
}
.page-hero__shape {
  position: absolute;
  z-index: 1;
  opacity: 0.5;
}
.page-hero__shape--1 {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  transform: rotate(28deg);
  top: 18px;
  left: 7%;
  opacity: 0.22;
}
.page-hero__shape--2 {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #3b82f6;
  bottom: 24px;
  right: 10%;
  opacity: 0.18;
}
.page-hero__shape--3 {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: #f59e0b;
  transform: rotate(18deg);
  bottom: 40px;
  left: 14%;
  opacity: 0.16;
}
.blog-list {
  padding-top: 54px;
  padding-bottom: 54px;
}
.section__accent {
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--grad-green);
  margin: 18px auto 0;
}

/* listing cards: overlaid dark category badge + author/date meta */
.blog-card__media {
  position: relative;
}
.blog-card .blog-tag {
  background: rgba(15, 23, 42, 0.74);
  color: #fff;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-card__by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--slate-500);
  font-weight: 600;
}
.blog-card__by svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
  flex-shrink: 0;
}
.blog-card__title {
  font-size: 19px;
}
.blog-card__more {
  margin-top: auto;
}

/* moderation note on the comment form */
.comment-form__note {
  margin: -8px 0 18px;
  font-size: 13px;
  color: var(--slate-500);
}

@media (max-width: 980px) {
  .page-hero__inner {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 44px;
  }
  .blog-list {
    padding-top: 40px;
  }
}

/* ============ MOBILE HEADER / NAV (polished) ============ */
@media (max-width: 900px) {
  /* Hamburger / close — clean rounded chip */
  .site-header .nav-toggle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease;
  }
  .site-header .nav-toggle:hover {
    transform: translateY(-1px);
  }
  .site-header .nav-toggle span {
    width: 20px;
    height: 2.5px;
    border-radius: 3px;
    background: var(--ink);
  }
  /* transparent glass + white bars only over the home hero */
  body.is-home .site-header:not(.is-scrolled) .nav-toggle {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px);
  }
  body.is-home .site-header:not(.is-scrolled) .nav-toggle span {
    background: #fff;
  }
  /* open = green rounded button with white X */
  .site-header .nav-toggle[aria-expanded="true"] {
    background: var(--grad-green) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 24px -10px rgba(34, 197, 94, 0.7);
  }
  .site-header .nav-toggle[aria-expanded="true"] span {
    background: #fff !important;
  }

  /* Floating menu drawer */
  .site-header .nav.is-open {
    top: calc(var(--header-h) + 6px);
    left: 12px;
    right: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px;
    gap: 2px;
    box-shadow: 0 30px 60px -22px rgba(15, 23, 42, 0.42);
  }
  .site-header .nav.is-open a,
  .site-header:not(.is-scrolled) .nav.is-open a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px 14px;
    margin: 0;
    border: 0;
    border-radius: 13px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink) !important;
    text-shadow: none !important;
  }
  .site-header .nav.is-open a + a {
    border-top: 0;
  }
  .site-header .nav.is-open a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-200);
    opacity: 1;
    margin: 0 2px 0 4px;
    flex-shrink: 0;
    transition: background 0.2s ease;
  }
  .site-header .nav.is-open a::after {
    content: "\2192";
    margin-left: auto;
    font-size: 18px;
    color: var(--slate-300);
    transition:
      transform 0.25s ease,
      color 0.25s ease;
  }
  .site-header .nav.is-open a:hover,
  .site-header .nav.is-open a:active {
    background: var(--green-50);
    color: var(--green-700) !important;
    transform: translateX(3px);
  }
  .site-header .nav.is-open a:hover::before {
    background: var(--green-500);
  }
  .site-header .nav.is-open a:hover::after {
    color: var(--green-600);
    transform: translateX(3px);
  }
  .site-header .nav.is-open a.is-active {
    background: var(--green-50);
    color: var(--green-700) !important;
  }
  .site-header .nav.is-open a.is-active::before {
    background: var(--green-600);
  }
}

/* ============ FAQ ACCORDION ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background 0.25s ease;
}
.faq:hover {
  border-color: var(--green-200);
}
.faq[open] {
  border-color: var(--green-200);
  background: var(--green-50);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__q::marker {
  content: "";
}
.faq__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--green-700);
  border: 1px solid var(--green-100);
  transition:
    transform 0.28s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.faq__icon svg {
  width: 14px;
  height: 14px;
}
.faq[open] .faq__icon {
  transform: rotate(180deg);
  background: var(--grad-green);
  color: #fff;
  border-color: transparent;
}
.faq__a {
  padding: 0 18px 15px;
  color: var(--slate-600);
  line-height: 1.7;
  font-size: 14px;
}
.faq__a p {
  margin: 0;
}
.faq[open] .faq__a {
  animation: faqReveal 0.28s ease;
}
@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* two-column layout: scrolling FAQ list + sticky CTA card */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-aside {
    position: static;
  }
}

.faq-cta {
  text-align: center;
  padding: 30px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.faq-cta__ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: var(--grad-green-soft);
  color: var(--green-700);
  margin-bottom: 14px;
}
.faq-cta__ico svg {
  width: 26px;
  height: 26px;
}
.faq-cta h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 7px;
}
.faq-cta p {
  color: var(--slate-600);
  margin: 0 0 18px;
}

/* ============ APP & USER MANUAL ============ */
.resources {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.res-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 34px 32px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.res-card__ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
}
.res-card__ico svg {
  width: 26px;
  height: 26px;
}
.res-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin: 15px 0 8px;
}
.res-card p {
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 18px;
}

/* App card — dark premium */
.res-card--app {
  background: linear-gradient(150deg, #0b1220 0%, #0f2a1c 100%);
  color: #fff;
  border-color: transparent;
}
.res-card--app h3 {
  color: #fff;
}
.res-card--app p {
  color: #cbd5e1;
}
.res-card--app .res-card__ico {
  background: rgba(255, 255, 255, 0.1);
  color: var(--green-300);
}
.res-card__glow {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.45), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* App card header with real app icon */
.res-app-head {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}
.res-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55);
}
.res-app-head h3 {
  margin: 0 0 4px;
}
.res-app-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-300);
}
.res-card--app .res-app-head + p {
  margin-top: 16px;
}
.res-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.res-feats li {
  font-size: 14px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.res-feats svg {
  width: 15px;
  height: 15px;
  color: var(--green-400);
  flex-shrink: 0;
}

/* Google Play button */
.gplay {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #0b1220;
  border-radius: 14px;
  padding: 10px 20px;
  margin-top: auto;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease;
}
.gplay:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.5);
}
.gplay__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  text-align: left;
}
.gplay__txt small {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #475569;
}
.gplay__txt strong {
  font-family: var(--font-display);
  font-size: 17px;
  color: #0b1220;
}

/* Manual card — light */
.res-card--doc .res-card__ico {
  background: var(--grad-green-soft);
  color: var(--green-700);
}
.res-doc-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-500);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 20px;
  align-self: flex-start;
}
.res-doc-meta svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
}
.res-doc-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
  flex-wrap: nowrap;
}
.res-doc-actions .btn {
  flex: 1;
  min-width: 0;
}
.res-doc-view {
  color: var(--green-700);
  font-weight: 600;
  font-size: 14px;
}
.res-doc-view:hover {
  color: var(--green-600);
}

@media (max-width: 860px) {
  .resources {
    grid-template-columns: 1fr;
  }
}

/* ============ PDP — Usage tab ============ */
.pdp-usage {
  max-width: none;
}
.pdp-usage__lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate-600);
  margin: 0 0 6px;
}
.pdp-usage__h {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 26px 0 14px;
  color: var(--ink);
}
.pdp-usage__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pdp-usage__steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.2s ease;
}
.pdp-usage__steps li:hover {
  border-color: var(--green-200);
}
.pdp-usage__steps .n {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-green);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 14px;
}
.pdp-usage__steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
}
.pdp-usage__steps p {
  margin: 0;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.6;
}
.pdp-usage__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}
.pdp-usage__cta-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pdp-usage__cta-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-green-soft);
  color: var(--green-700);
  flex-shrink: 0;
}
.pdp-usage__cta-ico svg {
  width: 22px;
  height: 22px;
}
.pdp-usage__cta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
}
.pdp-usage__cta small {
  font-size: 13px;
  color: var(--slate-500);
}
@media (max-width: 700px) {
  .pdp-usage__steps {
    grid-template-columns: 1fr;
  }
}
.pdp-usage__cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Mobile: keep the product price + discount pill on one tidy row */
@media (max-width: 600px) {
  .pdp__price-now {
    font-size: 28px;
  }
  .pdp__price-was {
    font-size: 17px;
  }
  .pdp__price-off {
    font-size: 12px;
    padding: 4px 9px;
  }
}

/* ============ Mobile: one-card auto-playing slider (features / solutions) ============ */
.mslider-dots {
  display: none;
}
/* cloned card (for the infinite loop) is hidden everywhere except the mobile slider */
.feature.is-clone,
.solution.is-clone,
.res-card.is-clone {
  display: none;
}
@media (max-width: 760px) {
  .features,
  .solutions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--shell-pad);
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin-left: calc(-1 * var(--shell-pad));
    margin-right: calc(-1 * var(--shell-pad));
    padding: 2px var(--shell-pad) 0;
    scrollbar-width: none;
  }
  .features::-webkit-scrollbar,
  .solutions::-webkit-scrollbar {
    display: none;
  }
  .feature.is-clone,
  .solution.is-clone {
    display: block;
  }
  .features > .feature,
  .solutions > .solution {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex: 0 0 100%;
    min-width: 100%;
    transition:
      border-color 0.3s ease,
      box-shadow 0.3s ease,
      transform 0.3s ease;
  }
  /* active slide gets the green accent + filled icon to feel alive */
  .feature.is-current,
  .solution.is-current {
    border-color: var(--green-300);
  }
  .feature.is-current::before {
    transform: scaleX(1);
  }
  .feature.is-current .feature__icon,
  .solution.is-current .solution__ico {
    background: var(--grad-green);
    color: #fff;
  }
  /* tighter section rhythm on mobile so the slider doesn't leave big gaps */
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .section__head {
    margin-bottom: 24px;
  }
  .mslider-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
  }
  .mslider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--slate-300);
    cursor: pointer;
    transition:
      background 0.3s ease,
      transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .mslider-dots button.is-active {
    background: var(--green-600);
    transform: scale(1.45);
  }
}

/* ============ Custom industry dropdown (contact form) ============ */
.cselect {
  position: relative;
  width: 100%;
}
.cselect__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--slate-200, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  color: var(--ink, #0f172a);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.cselect__btn:hover {
  border-color: var(--green-300, #86efac);
}
.cselect.is-open .cselect__btn,
.cselect__btn:focus-visible {
  outline: none;
  border-color: var(--green-500, #22c55e);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}
.cselect__ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-green-soft, linear-gradient(135deg, #dcfce7, #bbf7d0));
  color: var(--green-700, #15803d);
  flex-shrink: 0;
}
.cselect__ico svg {
  width: 16px;
  height: 16px;
}
.cselect.is-filled .cselect__ico {
  background: var(--grad-green, linear-gradient(135deg, #22c55e, #16a34a));
  color: #fff;
}
.cselect__value {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-500, #64748b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cselect.is-filled .cselect__value {
  color: var(--ink, #0f172a);
}
.cselect__chev {
  width: 18px;
  height: 18px;
  color: var(--slate-500, #64748b);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.cselect.is-open .cselect__chev {
  transform: rotate(180deg);
  color: var(--green-600, #16a34a);
}
.cselect__list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.2s,
    visibility 0.2s,
    transform 0.25s;
}
.cselect.is-open .cselect__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.cselect__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-700, #334155);
  cursor: pointer;
}
.cselect__opt svg {
  width: 18px;
  height: 18px;
  color: var(--green-600, #16a34a);
  flex-shrink: 0;
}
.cselect__opt:hover,
.cselect__opt.is-active {
  background: linear-gradient(135deg, var(--green-50, #f0fdf4), #ecfccb);
  color: var(--green-800, #166534);
}
.cselect__opt.is-selected {
  background: var(--grad-green, linear-gradient(135deg, #22c55e, #16a34a));
  color: #fff;
}
.cselect__opt.is-selected svg {
  color: #fff;
}
.cselect__opt.is-selected::after {
  content: "\2713";
  margin-left: auto;
  font-weight: 700;
  font-size: 16px;
}

/* ============ Mobile: How-It-Works as a vertical dotted timeline ============ */
@media (max-width: 640px) {
  /* strip the desktop arch chrome */
  .steps-arch {
    border: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    margin: 0;
  }
  .steps-arch::before,
  .steps-arch::after {
    display: none;
  }
  /* hide the horizontal connector */
  .steps::before,
  .steps-arch .steps::before {
    display: none;
  }

  .steps,
  .steps-arch .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps .step,
  .steps-arch .step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: start;
    text-align: left;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 26px;
  }
  .steps .step:last-child {
    padding-bottom: 0;
  }
  .steps-arch .step:hover {
    transform: none;
  }
  .steps .step__num,
  .steps-arch .step__num {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    width: 46px;
    height: 46px;
    font-size: 16px;
    border-radius: 13px;
    background: var(--grad-green);
    color: #fff;
    border: 0;
    box-shadow: 0 8px 18px -8px rgba(22, 163, 74, 0.6);
    position: relative;
    z-index: 1;
  }
  .steps .step h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 5px;
  }
  .steps .step p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }
  /* dotted line connecting each number node to the next */
  .steps .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 50px;
    bottom: -2px;
    width: 2px;
    background: repeating-linear-gradient(
      180deg,
      var(--green-300) 0 7px,
      transparent 7px 15px
    );
    z-index: 0;
  }
}

/* ============ Legal pages (privacy / terms / policies) ============ */
.legal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.legal__toc-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin: 0 0 12px;
  padding-left: 14px;
}
.legal__toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--line);
}
.legal__toc a {
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate-600);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.legal__toc a:hover {
  color: var(--green-700);
}
.legal__toc a.is-active {
  color: var(--green-700);
  border-left-color: var(--green-600);
}

.legal__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.legal__card {
  padding: 30px 34px;
  box-shadow: none;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal__card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.legal__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-green-soft);
  color: var(--green-700);
  flex-shrink: 0;
}
.legal__ico svg {
  width: 22px;
  height: 22px;
}
.legal__card-head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
}
.legal__card h3 {
  font-size: 16px;
  margin: 22px 0 7px;
  color: var(--ink);
}
.legal__card p {
  color: var(--slate-600);
  line-height: 1.85;
  font-size: 15px;
  margin: 0 0 6px;
}
.legal__card a {
  /* color: var(--green-700); */
  color: #fff;
  font-weight: 600;
}
.legal__list {
  margin: 10px 0 6px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legal__list li {
  position: relative;
  padding-left: 26px;
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.6;
}
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
}
.legal__card--cta {
  background: var(--bg-soft);
}
.legal__card--cta .btn {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .legal__toc {
    position: static;
  }
  .legal__toc nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    border-left: 0;
  }
  .legal__toc a {
    border: 1px solid var(--line);
    border-radius: 999px;
    margin: 0;
    padding: 8px 14px;
  }
  .legal__toc a.is-active {
    border-color: var(--green-300);
    background: var(--green-50);
  }
  .legal__toc-title {
    display: none;
  }
  .legal__card {
    padding: 24px 20px;
  }
}

/* ============ Hero pages (blog): header like home — transparent over hero, white on scroll ============ */
body.has-hero .site-header:not(.is-scrolled) .acct__btn {
  color: #fff;
}
body.has-hero .site-header:not(.is-scrolled) .acct__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
body.has-hero .site-header:not(.is-scrolled) .acct.is-open .acct__btn,
body.has-hero .site-header.is-scrolled .acct.is-open .acct__btn {
  background: #fff;
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.12);
}
body.has-hero .site-header:not(.is-scrolled) .acct__badge {
  border-color: #fff;
}
@media (max-width: 900px) {
  body.has-hero .site-header:not(.is-scrolled) .nav-toggle {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  body.has-hero .site-header:not(.is-scrolled) .nav-toggle span {
    background: #fff;
  }
}

/* inner-page hero subtitle */
.page-hero__sub {
  margin: 0 auto 18px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

/* uniform height for all inner-page hero banners */
.page-hero__inner {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Logo: white over a dark hero, colour once the header turns solid on scroll.
   The home page keeps its full-colour logo at all times (per request). */
.brand__logo {
  transition: filter 0.3s ease;
}
body.has-hero .site-header:not(.is-scrolled) .brand__logo {
  filter: brightness(0) invert(1);
}

/* ============ Product reviews: list + sticky form ============ */
.pdp-reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}
.pdp-reviews__list {
  min-width: 0;
}
.pdp-reviews__aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.review-form {
  padding: 14px;
}
.review-form__title {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 15px;
}
.review-form .form-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.review-form .btn {
  margin-top: 16px;
}
.pdp-reviews__empty {
  color: var(--slate-500);
}
@media (max-width: 900px) {
  .pdp-reviews__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pdp-reviews__aside {
    position: static;
  }
}

/* App preview image card (replaces the manual card) */
.res-card--shot {
  position: relative;
  padding: 20px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-color: #f3e6c4;
  background:
    radial-gradient(
      120% 80% at 50% 0%,
      rgba(245, 158, 11, 0.18),
      transparent 60%
    ),
    radial-gradient(rgba(146, 104, 16, 0.1) 1.2px, transparent 1.2px),
    linear-gradient(180deg, #fffdf3 0%, #fbeecb 100%);
  background-size:
    auto,
    20px 20px,
    auto;
  background-position: center, center, center;
}
.res-card--shot .res-shot {
  position: relative;
  z-index: 1;
}
.res-shot {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  object-fit: contain;
  border-radius: 18px;
  display: block;
}
@media (max-width: 860px) {
  .res-shot {
    max-height: 320px;
  }
}

/* ============ App screenshots slider (no background, auto right→left) ============ */
.app-shots {
  position: relative; /* track is absolute so it never inflates height */
  align-self: stretch;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 0;
  border: 1px solid #f3e6c4;
  background:
    radial-gradient(
      120% 80% at 50% 0%,
      rgba(245, 158, 11, 0.18),
      transparent 60%
    ),
    radial-gradient(rgba(146, 104, 16, 0.1) 1.2px, transparent 1.2px),
    linear-gradient(180deg, #fffdf3 0%, #fbeecb 100%);
  background-size:
    auto,
    20px 20px,
    auto;
  background-position: center, center, center;
}
.app-shots__track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.app-shots__img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}
/* Stacked on mobile: a sensible fixed height (JS clears the desktop match). */
@media (max-width: 860px) {
  .app-shots {
    height: 420px;
  }
}
