/* ============================================================
   pookey_shop — landing page
   Hero layout adapted from the "Panto - Furniture Landing Page"
   reference (full-bleed hero image, overlaid nav, centred
   headline, low search pill), re-skinned for a Pinteresty /
   customised gift shop. Below: a "Why choose us" row.
   ============================================================ */

:root {
  /* ---- Colour ---- */
  --cream:        #fbf4ef;   /* page background */
  --blush:        #f7c9d6;
  --blush-soft:   #fde4ea;
  --rose:         #e8749a;   /* primary accent */
  --rose-strong:  #d95c86;
  --plum:         #4a2c3a;   /* headings / body on light */
  --plum-ink:     #2e1b25;
  --muted:        #7c6670;
  --surface:      #ffffff;
  --line:         rgba(74, 44, 58, 0.12);

  /* Hero background image — Unsplash flatlay (photo-1541693560393,
     "assorted-color folder clip lot on pink surface" by eleni koureas,
     Unsplash license: free, no attribution required).
     assets/images/hero.svg is kept as an illustrated fallback. */
  --hero-photo: url("../assets/images/hero.jpg");

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- Spacing ---- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2.5rem;
  --sp-6: 4rem;
  --sp-7: 6rem;

  /* ---- Layout ---- */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

body {
  font-family: var(--font-body);
  color: var(--plum);
  background: var(--cream);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) var(--gutter) var(--sp-7);
  overflow: hidden;
  isolation: isolate;
  color: var(--plum-ink);
  /* cream wash over the photo: heavy at the top so the dark headline
     stays readable, clearing through the middle to show the flatlay,
     lifting again at the base into the page background */
  background-image:
    linear-gradient(180deg, rgba(251, 244, 239, 0.94) 0%, rgba(251, 244, 239, 0.72) 26%, rgba(251, 244, 239, 0.34) 46%, rgba(251, 244, 239, 0.55) 78%, var(--cream) 100%),
    var(--hero-photo),
    radial-gradient(120% 90% at 78% 18%, var(--blush) 0%, var(--blush-soft) 45%, var(--cream) 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--plum-ink);
}
.nav__logo span { color: var(--rose-strong); }
.nav__bow { font-size: 1rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav__links a { color: var(--plum); transition: color 0.15s ease; }
.nav__links a:hover { color: var(--rose-strong); }
.nav__caret { font-size: 0.7em; opacity: 0.6; }

.nav__bag {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--plum-ink);
  box-shadow: 0 8px 20px rgba(74, 44, 58, 0.12);
  flex: none;
  cursor: pointer;
}
.nav__bag:hover { color: var(--rose-strong); }
.nav__bag-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--rose-strong);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid var(--cream);
}

/* ---- Hero body ---- */
.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 9vh, 5rem) 0 var(--sp-5);
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-strong);
  margin-bottom: var(--sp-3);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--plum-ink);
}
.hero__lead {
  margin-top: var(--sp-4);
  max-width: 34rem;
  font-size: 1.075rem;
  color: var(--muted);
}

/* ---- Search pill (low over the hero, Panto-style) ---- */
.hero__search {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: min(360px, 100%);
  margin: 0 auto clamp(3rem, 16vh, 10rem);
  padding: 6px 6px 6px 20px;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: 0 20px 45px rgba(74, 44, 58, 0.18);
}
.hero__search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 0.9rem;
  color: var(--plum-ink);
  outline: none;
}
.hero__search input::placeholder { color: var(--muted); }
.hero__search button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--rose-strong);
  color: #fff;
  cursor: pointer;
  flex: none;
  transition: background 0.15s ease;
}
.hero__search button:hover { background: var(--rose); }

/* ============================================================
   WHY CHOOSE US  (left heading + 3-column row)
   ============================================================ */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-7) var(--gutter);
}

.why {
  display: grid;
  grid-template-columns: minmax(180px, 300px) 1fr;
  gap: var(--sp-6);
  align-items: start;
}
.why__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--plum-ink);
}
.why__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.why__col h3 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--plum-ink);
  margin-bottom: var(--sp-2);
}
.why__col p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--sp-3);
  max-width: 20rem;
}

.link { font-weight: 600; color: var(--rose-strong); }
.link:hover { color: var(--rose); }
.link--arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
}
.link--arrow span { transition: transform 0.15s ease; }
.link--arrow:hover span { transform: translateX(4px); }

/* ============================================================
   BEST SELLING  (centred title + tab pills + product row)
   ============================================================ */
.bestsellers { text-align: center; }
.bestsellers__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  color: var(--plum-ink);
}

.tabs {
  display: inline-flex;
  gap: var(--sp-1);
  margin: var(--sp-5) auto var(--sp-6);
  padding: 5px;
  background: #f1e6e9;
  border-radius: 999px;
}
.tab {
  border: 0;
  background: transparent;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab:hover { color: var(--plum-ink); }
.tab--active {
  background: var(--surface);
  color: var(--plum-ink);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(74, 44, 58, 0.12);
}

.bestsellers__viewport { position: relative; }

.bestsellers__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--sp-4)) / 4);
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.bestsellers__row::-webkit-scrollbar { display: none; }
.product { scroll-snap-align: start; }

.product {
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(74, 44, 58, 0.09);
  overflow: hidden;
  text-align: left;
}
.product__media {
  aspect-ratio: 1 / 1;
  margin: var(--sp-3) var(--sp-3) 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #f6edea, #efe2df);
}
.product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Product image carousel (cards with an `images` array) --- */
.product__media--carousel { position: relative; }
.product__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  touch-action: pan-y;
}
.product__media--carousel .product__img { flex: 0 0 100%; }
.product__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--plum-ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.product__nav--prev { left: 8px; }
.product__nav--next { right: 8px; }
.product__media--carousel:hover .product__nav,
.product__media--carousel:focus-within .product__nav { opacity: 1; }
.product__nav:hover { background: #fff; }
.product__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.product__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(74, 44, 58, 0.15);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.product__dot.is-active {
  background: #fff;
  transform: scale(1.4);
}
@media (hover: none) {
  .product__nav { opacity: 1; }
}

.product__body { padding: var(--sp-3); }
.product__media-link { display: block; }
.product__cat {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.product__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--plum-ink);
}
.product__name-link {
  color: inherit;
  text-decoration: none;
}
.product__name-link:hover { color: var(--rose-strong); }
.product__stars {
  margin-top: var(--sp-1);
  color: #f4b942;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.product__stars-dim { color: #e6d4c4; }
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-3);
}
.product__prices {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.product__price { font-weight: 600; color: var(--plum-ink); }
.product__was {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}
.product__prices--sale .product__price { color: var(--rose-strong); }
.product__add {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--plum-ink);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.product__add:hover { background: var(--rose-strong); transform: translateY(-2px); }

.bestsellers__arrow,
.reviews__arrow {
  position: absolute;
  top: clamp(70px, 14vw, 130px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--plum-ink);
  box-shadow: 0 10px 24px rgba(74, 44, 58, 0.16);
  cursor: pointer;
  transition: color 0.15s ease;
}
.bestsellers__arrow:hover,
.reviews__arrow:hover { color: var(--rose-strong); }
.bestsellers__arrow--prev,
.reviews__arrow--prev { left: -21px; }
.bestsellers__arrow--next,
.reviews__arrow--next { right: -21px; }

.bestsellers__viewall { margin-top: var(--sp-6); font-size: 0.85rem; }

/* ============================================================
   TESTIMONIALS  (photo card + floating quote + avatar)
   ============================================================ */
.reviews { text-align: center; }
.reviews__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-strong);
  margin-bottom: var(--sp-2);
}
.reviews__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  color: var(--plum-ink);
  margin-bottom: var(--sp-6);
}

.reviews__viewport { position: relative; }
.reviews__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--sp-4)) / 3);
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--sp-2);
}
.reviews__row::-webkit-scrollbar { display: none; }

.review {
  scroll-snap-align: start;
  text-align: left;
}
.review__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 22px 44px rgba(74, 44, 58, 0.16);
}
.review__card {
  position: relative;
  z-index: 2;
  margin: -96px var(--sp-3) 0;
  padding: calc(var(--sp-5) + 6px) var(--sp-4) var(--sp-4);
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(74, 44, 58, 0.12);
  text-align: center;
}
.review__avatar {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rose-strong);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border: 3px solid var(--surface);
}
.review__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--plum-ink);
}
.review__role {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.review__quote {
  margin-top: var(--sp-3);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--plum);
}
.review__stars {
  margin-top: var(--sp-3);
  color: #f4b942;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.review__stars-dim { color: #e6d4c4; }

/* ============================================================
   EXPERIENCE  (layered image on the left, copy on the right)
   ============================================================ */
.experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.experience__media {
  position: relative;
  isolation: isolate;
}
.experience__img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(74, 44, 58, 0.22);
}
.experience__card {
  position: absolute;
  z-index: 1;
  border-radius: 20px;
  background: #f3ece9;
}
.experience__card--a {
  width: 62%;
  height: 46%;
  top: -28px;
  left: -28px;
}
.experience__card--b {
  width: 30%;
  height: 70%;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid var(--line);
}

.experience__eyebrow,
.materials__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-strong);
  margin-bottom: var(--sp-3);
}
.experience__title,
.materials__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--plum-ink);
}
.experience__text,
.materials__text {
  margin-top: var(--sp-4);
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.experience__link,
.materials__link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: var(--sp-5);
  font-size: 0.8rem;
}
.experience__link svg,
.materials__link svg { transition: transform 0.15s ease; }
.experience__link:hover svg,
.materials__link:hover svg { transform: translateX(5px); }

/* ---- Materials image cluster (2 stacked + 1 tall) ---- */
.materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.materials__media {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: var(--sp-3);
  align-items: center;
}
.materials__stack { display: grid; gap: var(--sp-3); }
.materials__stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(74, 44, 58, 0.16);
}
.materials__main {
  position: relative;
  margin-left: -14%;
}
.materials__main img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(74, 44, 58, 0.22);
}
.materials__card {
  position: absolute;
  z-index: 1;
  top: -26px;
  right: -26px;
  width: 68%;
  height: 42%;
  background: #f3ece9;
  border-radius: 18px;
}

/* ============================================================
   PRODUCTS PAGE  (compact header + full grid, same cards)
   ============================================================ */
.page-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-4) var(--gutter) 0;
}
.page-head .nav { padding: 0; }
.page-title {
  margin-top: var(--sp-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--plum-ink);
}
.page-title__sub { margin-top: var(--sp-2); color: var(--muted); }

.products {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-5) var(--gutter) var(--sp-7);
  text-align: center;
}
.products .tabs { margin: 0 auto var(--sp-6); }
.products__count {
  display: block;
  margin-bottom: var(--sp-4);
  font-size: 0.8rem;
  color: var(--muted);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--sp-4);
  text-align: left;
}
.products-grid .product[hidden] { display: none; }

/* ============================================================
   PRODUCT DETAIL PAGE  (product.html?id=SLUG — rendered by js/product.js)
   ============================================================ */
.pdp {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-5) var(--gutter) var(--sp-7);
}
.pdp__loading { color: var(--muted); }

.pdp__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: var(--sp-4);
}
.pdp__crumb a { color: var(--muted); }
.pdp__crumb a:hover { color: var(--rose-strong); }
.pdp__crumb-sep { opacity: 0.5; }
.pdp__crumb-here { color: var(--plum-ink); }

.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

/* --- Gallery --- */
.pdp__gallery { position: sticky; top: var(--sp-4); }
.pdp__main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(160deg, #f6edea, #efe2df);
  box-shadow: 0 20px 44px rgba(74, 44, 58, 0.12);
}
.pdp__thumbs {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}
.pdp__thumb {
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color 0.15s ease;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb.is-active { border-color: var(--rose); }

/* --- Info --- */
/* .pdp__info also carries .product (so js/main.js wires the cart button);
   strip the card background/shadow that class gives catalogue cards. */
.pdp__info {
  max-width: 30rem;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.pdp__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rose-strong);
}
.pdp__title {
  margin-top: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--plum-ink);
}
.pdp__rating {
  margin-top: var(--sp-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.pdp__stars { color: #f4b942; letter-spacing: 2px; }

.pdp__prices {
  margin-top: var(--sp-3);
  font-size: 1.4rem;
}
.pdp__prices .product__was { font-size: 1rem; }
.pdp__save {
  display: inline-block;
  margin: var(--sp-2) 0 0 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--blush-soft);
  color: var(--rose-strong);
  font-size: 0.75rem;
  font-weight: 600;
}

.pdp__tagline {
  margin-top: var(--sp-4);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--plum);
}
.pdp__desc { margin-top: var(--sp-3); }
.pdp__desc p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

.pdp__buy {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.pdp__buy .btn { flex: 1 1 auto; }
/* This button also carries .product__add (so js/main.js wires the cart);
   undo the round-icon styling that class gives catalogue cards. */
.pdp__add {
  display: inline-flex;
  place-items: initial;
  width: auto;
  height: auto;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--plum-ink);
  color: #fff;
  box-shadow: 0 12px 26px rgba(46, 27, 37, 0.22);
  cursor: pointer;
}
.pdp__add:hover { background: var(--rose-strong); transform: translateY(-2px); }
.pdp__made {
  margin-top: var(--sp-3);
  font-size: 0.8rem;
  color: var(--muted);
}

.pdp__block { margin-top: var(--sp-5); }
.pdp__block-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--plum-ink);
  margin-bottom: var(--sp-3);
}
.pdp__features {
  list-style: none;
  display: grid;
  gap: var(--sp-2);
}
.pdp__features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.pdp__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blush);
  box-shadow: 0 0 0 3px var(--blush-soft);
}
.pdp__specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem var(--sp-4);
  font-size: 0.9rem;
}
.pdp__specs dt { color: var(--muted); }
.pdp__specs dd { color: var(--plum-ink); font-weight: 500; }

.pdp__missing {
  text-align: center;
  padding: var(--sp-7) 0;
}
.pdp__missing h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--plum-ink);
  margin-bottom: var(--sp-3);
}
.pdp__missing p { color: var(--muted); margin-bottom: var(--sp-4); }

/* --- You might also like --- */
.pdp__related { margin-top: var(--sp-7); }
.pdp__related-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--plum-ink);
  margin-bottom: var(--sp-4);
}
.pdp__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--sp-4);
}
.rel-card {
  display: block;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(74, 44, 58, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(74, 44, 58, 0.14);
}
.rel-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.rel-card__name {
  padding: var(--sp-3) var(--sp-3) 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--plum-ink);
}
.rel-card__price {
  padding: 2px var(--sp-3) var(--sp-3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--plum-ink);
}
.rel-card__price .product__was { margin-right: 4px; }

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .pdp__gallery { position: static; }
  .pdp__info { max-width: none; }
  .pdp__main-img { aspect-ratio: 1 / 1; }
}

/* ============================================================
   DOC PAGES  (terms, privacy, contact — simple prose)
   ============================================================ */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--sp-5) var(--gutter) var(--sp-7);
}
.doc__note {
  margin-bottom: var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  background: var(--blush-soft);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--plum);
}
.doc h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--plum-ink);
  margin: var(--sp-6) 0 var(--sp-3);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p,
.doc li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}
.doc p { margin-bottom: var(--sp-3); }
.doc ul,
.doc ol { margin: 0 0 var(--sp-3) 1.2rem; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-bottom: var(--sp-2); }
.doc a { color: var(--rose-strong); }
.doc strong { color: var(--plum-ink); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.28);
}
.btn--wa:hover { background: #1fbe5b; transform: translateY(-2px); }
.btn--ig {
  background: var(--surface);
  color: var(--plum-ink);
  border: 1px solid var(--line);
}
.btn--ig:hover { border-color: var(--rose-strong); color: var(--rose-strong); transform: translateY(-2px); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
}
.contact-facts { display: grid; gap: var(--sp-2); }
.contact-facts p { margin: 0; }
.contact-facts strong { color: var(--plum-ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: var(--sp-7);
  background: #f1eeeb;
  padding: var(--sp-7) var(--gutter) var(--sp-5);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--sp-5);
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--plum-ink);
}
.footer__name span { color: var(--rose-strong); }
.footer__tagline {
  margin-top: var(--sp-3);
  max-width: 22rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rose-strong);
  margin-bottom: var(--sp-3);
}
.footer__col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--plum);
  transition: color 0.15s ease;
}
.footer__col a:hover { color: var(--rose-strong); }
.footer__col--social a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer__legal { display: inline-flex; gap: var(--sp-4); }
.footer__legal a { color: var(--muted); transition: color 0.15s ease; }
.footer__legal a:hover { color: var(--plum-ink); }

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.cart[aria-hidden="false"] { visibility: visible; opacity: 1; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(46, 27, 37, 0.4); }
.cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(390px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: -20px 0 60px rgba(74, 44, 58, 0.25);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.cart[aria-hidden="false"] .cart__panel { transform: translateX(0); }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.cart__head h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--plum-ink);
}
.cart__close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.cart__close:hover { color: var(--plum-ink); }

.cart__items {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: var(--sp-2) var(--sp-4);
  list-style: none;
}
.cart__row { padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.cart__row-main { display: flex; justify-content: space-between; gap: var(--sp-3); }
.cart__row-name { font-weight: 600; font-size: 0.9rem; color: var(--plum-ink); }
.cart__row-price { font-size: 0.9rem; color: var(--muted); white-space: nowrap; }
.cart__qty { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-2); }
.cart__qty button:not(.cart__remove) {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 8px;
  color: var(--plum-ink);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}
.cart__qty > span { min-width: 20px; text-align: center; font-size: 0.85rem; }
.cart__remove {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--rose-strong);
  font-size: 0.75rem;
  cursor: pointer;
}
.cart__remove:hover { color: var(--rose); }

.cart__empty { padding: var(--sp-5) var(--sp-4); text-align: center; font-size: 0.9rem; color: var(--muted); }

.cart__foot { padding: var(--sp-4); border-top: 1px solid var(--line); }
.cart__total {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
  font-weight: 600;
  color: var(--plum-ink);
}
.cart__checkout { width: 100%; }
.cart__note { margin-top: var(--sp-2); text-align: center; font-size: 0.72rem; color: var(--muted); }

/* ============================================================
   RESPONSIVE
   Breakpoints: 1024 tablet-landscape · 900 tablet-portrait ·
   620 large/medium mobile · 400 small mobile
   ============================================================ */

/* --- Tablet landscape / small laptop: tame the split-section images --- */
@media (max-width: 1024px) {
  :root { --sp-7: 4.5rem; --sp-6: 3rem; }

  .experience,
  .materials { gap: clamp(1.75rem, 4vw, 3rem); }
  .experience { grid-template-columns: 1fr 0.82fr; }
  .materials  { grid-template-columns: 0.82fr 1fr; }
  .experience__img { aspect-ratio: 5 / 4; box-shadow: 0 20px 44px rgba(74, 44, 58, 0.18); }
  .materials__main img { box-shadow: 0 20px 44px rgba(74, 44, 58, 0.18); }
  .materials__stack img { box-shadow: 0 14px 30px rgba(74, 44, 58, 0.14); }
  .materials__main { margin-left: -6%; }
  .experience__card--a { width: 52%; height: 40%; top: -18px; left: -18px; }
  .experience__card--b { width: 22%; right: -18px; }
  .materials__card { top: -18px; right: -18px; }

  .why { gap: var(--sp-5); }
  .why__cols { gap: var(--sp-4); }

  .bestsellers__row { grid-auto-columns: minmax(210px, 42%); }
  .reviews__row { grid-auto-columns: minmax(240px, 56%); }
}

/* --- Tablet portrait: stack split sections, hide inline nav --- */
@media (max-width: 900px) {
  .nav__links { display: none; }

  .why { grid-template-columns: 1fr; gap: var(--sp-4); }
  .why__cols { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-5); }

  .experience,
  .materials { grid-template-columns: 1fr; gap: var(--sp-5); }
  .experience__media,
  .materials__media { width: 100%; max-width: 520px; margin-inline: auto; }
  .experience__img { aspect-ratio: 16 / 11; }
  .experience__card--a { top: -14px; left: -14px; width: 46%; height: 38%; }
  .experience__card--b { display: none; }
  .materials__main { margin-left: 0; }
  .materials__card { display: none; }

  .bestsellers__row { grid-auto-columns: minmax(200px, 60%); }
  .reviews__row { grid-auto-columns: minmax(230px, 78%); }
  .bestsellers__arrow,
  .reviews__arrow { display: none; }

  .products-grid { grid-template-columns: repeat(3, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-5); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
}

/* --- Large / medium mobile --- */
@media (max-width: 620px) {
  :root { --sp-7: 3.25rem; --sp-6: 2.25rem; --sp-5: 2rem; --gutter: 1.15rem; }

  .hero { padding-bottom: var(--sp-6); }
  .hero__title { font-size: clamp(1.95rem, 8.5vw, 2.6rem); }
  .hero__lead { font-size: 1rem; }
  .hero__search { margin-bottom: var(--sp-6); }

  /* keep the pill track on one line; scroll it instead of wrapping */
  .tabs {
    display: flex;
    flex-wrap: nowrap;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; padding: 0.45rem 0.85rem; white-space: nowrap; }
  .tab--active { box-shadow: 0 1px 4px rgba(74, 44, 58, 0.16); }

  .why__cols { grid-template-columns: 1fr; }

  .bestsellers__row { grid-auto-columns: 82%; }
  .reviews__row { grid-auto-columns: 88%; }
  .review__card { margin-top: -80px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer__brand { grid-column: auto; }
  .footer__tagline { max-width: none; }

  .contact-actions .btn { width: 100%; }
}

/* --- Small mobile --- */
@media (max-width: 400px) {
  .nav__logo { font-size: 1.2rem; }
  .hero__title { font-size: clamp(1.75rem, 9vw, 2.15rem); }

  .bestsellers__row { grid-auto-columns: 88%; }
  .reviews__row { grid-auto-columns: 92%; }
  .review__card { margin-left: var(--sp-2); margin-right: var(--sp-2); }

  .products-grid { grid-template-columns: 1fr; }

  .experience__media { max-width: 100%; }
  .materials__media {
    max-width: 100%;
    display: block;
  }
  .materials__stack { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
  .materials__main { margin-top: var(--sp-3); }
  .materials__main img { aspect-ratio: 16 / 10; }

  .cart__panel { width: 100%; }
}
