/* Lailatil storefront — based on sample_home_page.html */
:root {
  --lavender: #AB85AC;
  --brick: #C05545;
  --apricot: #E0976E;
  --blush: #D89078;
  --plum: #8E6D82;
  --cream: #FBF6F0;
  --ink: #2E2A2C;
  --apricot-soft: #f5dccb;
  --apricot-deep: #cf7f52;
  --line: #efe2d6;
  --card: #ffffff;
  --muted: #9a8d92;
  --shadow: 0 10px 34px rgba(80, 55, 60, 0.10);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.disp { font-family: 'Fraunces', serif; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

button { font-family: inherit; cursor: pointer; }

/* marquee */
.marquee {
  background: var(--plum);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.marquee-track {
  display: inline-block;
  padding: 9px 0;
  animation: scroll 26s linear infinite;
}

.marquee-track span { margin: 0 34px; display: inline-block; }

.marquee-track .dot { color: var(--apricot); margin: 0 6px; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 96px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--apricot), var(--lavender));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 26px;
}

.brand .bt { display: flex; flex-direction: column; line-height: 1; }

.brand .bt b {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--brick);
  letter-spacing: 0.5px;
}

.brand .bt span {
  font-size: 9.5px;
  letter-spacing: 3px;
  color: var(--plum);
  font-weight: 600;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: 26px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: 0.2s;
}

.nav-links a:hover { color: var(--apricot-deep); }

.nav-links a.active { color: var(--apricot-deep); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--apricot);
  transition: 0.25s;
}

.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.account-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: 0.2s;
}

.account-btn:hover { border-color: var(--apricot); color: var(--apricot-deep); }

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  transition: 0.2s;
  flex-shrink: 0;
}

.cart-btn:hover,
.cart-btn.is-active {
  border-color: var(--apricot);
  color: var(--apricot-deep);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--brick);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.burger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
}

.burger:hover { background: #f3e6da; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 24px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 246, 240, 0.98);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 14px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(115% 90% at 85% 12%, #fbe8d8 0%, transparent 55%),
    radial-gradient(90% 80% at 6% 92%, #f2e2ec 0%, transparent 52%),
    var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  padding: 76px 0 84px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--apricot-deep);
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--apricot);
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.6px;
  margin-bottom: 22px;
}

.hero h1 .em { color: var(--apricot-deep); font-style: italic; }

.hero p {
  font-size: 17.5px;
  color: #6a5d60;
  max-width: 450px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 40px;
  border: none;
  transition: 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-primary { background: var(--apricot-deep); color: #fff; }

.btn-primary:hover {
  background: var(--brick);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(207, 127, 82, 0.4);
}

.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }

.btn-ghost:hover { border-color: var(--apricot); color: var(--apricot-deep); }

.hero-stats { display: flex; gap: 38px; margin-top: 48px; flex-wrap: wrap; }

.hero-stats .st b {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: var(--plum);
  display: block;
  line-height: 1;
}

.hero-stats .st span { font-size: 13px; color: var(--muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 480px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #f3ddcb, #e8d3e0);
  box-shadow: var(--shadow);
  border: 1px solid #f0dccd;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.hero-visual p { color: #8a7168; font-size: 14px; max-width: 240px; }

.hero-visual--showcase {
  padding: 0;
  place-items: stretch;
}

.hero-showcase {
  position: absolute;
  inset: 0;
}

.hero-showcase__label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  color: var(--plum);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-showcase__slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img,
.hero-slide__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide__ph {
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 80px;
  color: #fff;
  background: linear-gradient(160deg, #e0976e, #ab85ac);
}

.hero-slide__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 20px 42px;
  background: linear-gradient(to top, rgba(28, 20, 22, 0.78), transparent);
  color: #fff;
  text-align: left;
}

.hero-slide__meta h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 6px;
}

.hero-slide__meta span {
  font-size: 15px;
  font-weight: 600;
  color: #f3ddcb;
}

.hero-showcase__dots {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dot.is-active { background: #fff; }

/* sections */
section { padding: 70px 0; }

.sec-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }

.sec-eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--apricot-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.sec-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.4px;
}

.sec-head p { color: var(--muted); margin-top: 10px; font-size: 15px; }

.shop-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.search-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.search { position: relative; }

.search input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: 11px 16px 11px 40px;
  font-size: 14px;
  width: min(280px, 100%);
  outline: none;
  transition: 0.2s;
}

.search input:focus { border-color: var(--apricot); }

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.sortsel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: 11px 16px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 24px;
}

.cat-filters-child { margin-top: -12px; }

.cat-chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: 0.18s;
}

.cat-chip:hover { border-color: var(--apricot); }

.cat-chip.active {
  background: var(--apricot-deep);
  border-color: var(--apricot-deep);
  color: #fff;
}

.cat-chip-more {
  border-style: dashed;
  color: var(--apricot-deep);
}

.pager-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.pager-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pager-link {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  background: #fff;
}

.pager-link:hover { border-color: var(--apricot); }

.pager-link.active {
  background: var(--apricot-deep);
  border-color: var(--apricot-deep);
  color: #fff;
}

.pager-ellipsis {
  padding: 0 6px;
  color: var(--muted);
}

/* product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #ecd8c8;
  }

  .card:hover .card-view { opacity: 1; }

  .var-pill:hover { border-color: var(--apricot); }
}

.card-img {
  display: block;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--apricot-soft), #e8d3e0);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img .ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 54px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.card-warn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(192, 85, 69, 0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.card-view {
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 44, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.25s;
}

.card-view span {
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 30px;
}

.card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-sub {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.card h3 { font-size: 15.5px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }

.card-desc {
  font-size: 13px;
  color: #7a6d70;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.card-add {
  background: var(--apricot-deep);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  transition: 0.2s;
}

.card-add:hover { background: var(--brick); color: #fff; }

.card-add.is-disabled {
  background: #f3e6da;
  color: var(--muted);
  pointer-events: none;
}

.price { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; }

.size-tag { font-size: 11px; color: var(--muted); }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty .disp { font-size: 26px; color: var(--ink); margin-bottom: 8px; }

/* reviews + trust */
.reviews { background: linear-gradient(180deg, #fff 0%, #f7ece2 100%); }

.rev-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 24px;
  scrollbar-width: none;
}

.rev-track::-webkit-scrollbar { display: none; }

.rev-card {
  scroll-snap-align: start;
  flex: 0 0 min(342px, 85vw);
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(80, 55, 60, 0.05);
  display: flex;
  flex-direction: column;
}

.stars { color: var(--apricot); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }

.rev-text { font-size: 15px; color: #5a4d50; line-height: 1.6; flex: 1; margin-bottom: 20px; }

.rev-who { display: flex; align-items: center; gap: 12px; }

.rev-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}

.rev-who b { font-size: 14.5px; display: block; }

.rev-who span { font-size: 12.5px; color: var(--muted); }

.rev-prod {
  margin-top: 14px;
  font-size: 12px;
  background: var(--apricot-soft);
  color: var(--apricot-deep);
  padding: 5px 12px;
  border-radius: 20px;
  align-self: flex-start;
  font-weight: 600;
}

.rev-nav { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }

.rev-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 18px;
  transition: 0.2s;
}

.rev-nav button:hover {
  background: var(--apricot-deep);
  color: #fff;
  border-color: var(--apricot-deep);
}

.trust { background: var(--plum); color: #fff; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item .ic { font-size: 30px; margin-bottom: 10px; }

.trust-item b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
}

.trust-item span { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

footer { background: #2a2428; color: #cdc2c8; padding: 58px 0 26px; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 42px;
}

.foot-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }

.foot-logo b { font-family: 'Fraunces', serif; font-size: 24px; color: #fff; }

.foot-col h4 {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.foot-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: #b0a3aa;
  transition: 0.2s;
}

.foot-col a:hover { color: #fff; }

.foot-bottom {
  border-top: 1px solid #3d353a;
  padding-top: 22px;
  font-size: 12.5px;
  color: #867a80;
  text-align: center;
}

/* product detail */
.pd-page { padding-bottom: 72px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
  padding-top: 22px;
  line-height: 1.4;
}

.breadcrumb span:last-child {
  color: var(--ink);
  font-weight: 600;
}

.breadcrumb a:hover { color: var(--apricot-deep); }

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}

.pd-gallery {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px;
  position: sticky;
  top: 110px;
}

.pd-main {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--apricot-soft), #e8d3e0);
  margin-bottom: 14px;
}

.pd-main img { width: 100%; height: 100%; object-fit: cover; }

.pd-main .ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.9);
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--apricot-soft);
  padding: 0;
  flex-shrink: 0;
  transition: 0.2s;
}

.pd-thumb.active { border-color: var(--apricot-deep); }

.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pd-info > [hidden] {
  display: none !important;
}

.pd-summary,
.pd-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(80, 55, 60, 0.05);
}

.pd-summary h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.pd-sub {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--apricot-deep);
  font-weight: 700;
  margin-bottom: 8px;
}

.pd-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.pd-price {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--apricot-deep);
  line-height: 1;
  margin-right: 4px;
}

.pd-size,
.pd-stock {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.pd-size {
  background: #f7efe6;
  color: var(--plum);
}

.pd-stock {
  background: #e4f3ea;
  color: #15803d;
}

.pd-stock.out {
  background: #fbeae5;
  color: var(--brick);
}

.pd-stock:empty { display: none; }

.pd-options { margin-top: 18px; }

.pd-options p {
  font-size: 15px;
  color: #5c5052;
}

.pd-card__title {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 700;
  margin-bottom: 14px;
}

.pd-copy,
.pd-card p,
.pd-card li {
  font-size: 15.5px;
  color: #4f4548;
  line-height: 1.75;
}

.pd-card--usage {
  background: #fffaf6;
  border-color: #edd8c6;
}

.pd-card--ingredients {
  background: #fcf8fb;
  border-color: #eadce8;
}

.pd-card--benefits {
  background: #f7fbf8;
  border-color: #d7eadc;
}

.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.pd-card--ingredients .pd-chip {
  background: #fff;
  border-color: #e2cfe0;
  color: #6d4f68;
}

.pd-plain-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.pd-plain-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.55;
  color: #3f4a42;
}

.pd-plain-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: #3f9d68;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.3 6.4 11.2 12.5 4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  flex-shrink: 0;
}

.pd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: use-step;
}

.pd-steps li {
  counter-increment: use-step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid #ecd9c8;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #4a3f41;
}

.pd-steps li::before {
  content: counter(use-step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--apricot-deep);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.pd-card--warning {
  background: #fdf4f1;
  border: 1px solid #f0d2c8;
}

.pd-card--warning .pd-card__title,
.pd-warning .pd-card__title {
  color: var(--brick);
}

.pd-card--warning p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #8a4436;
}

.variation-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.var-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: 11px 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.18s;
}

.var-pill.active {
  background: var(--apricot-deep);
  border-color: var(--apricot-deep);
  color: #fff;
}

.pd-video-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #111;
}

.pd-video-frame video {
  width: 100%;
  display: block;
  max-height: 360px;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.pd-order-jump {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--apricot-deep), var(--brick));
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 10px 24px rgba(192, 85, 69, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pd-order-jump:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(192, 85, 69, 0.34);
  color: #fff;
}

.pd-order--checkout {
  scroll-margin-top: 108px;
  border: 1.5px solid #f0d2c0;
}

.pd-order__intro {
  margin: -6px 0 16px;
  font-size: 14.5px;
  color: #6a5d60;
}

.pd-order__form .field {
  margin-bottom: 14px;
}

.pd-order__form label,
.pd-order__zones legend {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.pd-order__form .input,
.pd-order__form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  resize: vertical;
}

.pd-order__form .input:focus,
.pd-order__form textarea:focus {
  outline: none;
  border-color: var(--apricot);
}

.pd-order__form .errorlist {
  list-style: none;
  color: var(--brick);
  font-size: 13px;
  margin: 6px 0 0;
}

.pd-order__errors {
  list-style: none;
  background: #fdf4f1;
  border: 1px solid #f0d2c8;
  color: #8a4436;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 14px;
  font-size: 14px;
}

.pd-order__zones {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}

.pd-order__zones {
  display: grid;
  gap: 8px;
}

.pd-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  background: #fff;
  font-weight: 600;
  font-size: 14px;
}

.pd-zone:has(input:checked) {
  border-color: var(--apricot-deep);
  background: #fff8f3;
}

.pd-zone span {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.pd-zone b { color: var(--apricot-deep); }

.pd-order__totals {
  background: #fbf4ee;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: grid;
  gap: 8px;
}

.pd-order__totals div {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  color: #5c5052;
}

.pd-order__grand {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-weight: 700;
  color: var(--ink);
}

.pd-order__grand b {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--apricot-deep);
}

.pd-order__form .btn {
  width: 100%;
  justify-content: center;
}

.pd-order__form .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pd-order__stock {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--brick);
  text-align: center;
}

.pd-order__cart-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--apricot-deep);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.qty-stepper button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--ink);
}

.qty-stepper button:hover:not(:disabled) { background: #fff8f3; }

.qty-stepper button:disabled { opacity: 0.35; cursor: not-allowed; }

.qty-stepper.is-busy,
.js-cart-remove.is-busy {
  pointer-events: none;
  opacity: 0.65;
}

.cart-ajax-msg {
  background: #fdf4f1;
  border: 1px solid #f0d2c8;
  color: #8a4436;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 14px;
}

.qty-stepper span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.qty-stepper--input { width: 100%; }

.pd-order__form .qty-stepper .input,
.qty-stepper--input input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.qty-stepper--input input:focus { outline: none; }

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

.qty-stepper--input input[type='number'] { -moz-appearance: textfield; }

.cart-page { padding: 8px 0 56px; }

.cart-hero { margin-bottom: 22px; }

.cart-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 40px);
  margin: 4px 0 6px;
}

.cart-hero p { color: var(--muted); }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.cart-panel,
.cart-checkout {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cart-list { list-style: none; }

.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child { border-bottom: 0; }

.cart-item__media {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--apricot-soft), #e8d3e0);
  display: grid;
  place-items: center;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__media span {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: #fff;
}

.cart-item__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.cart-item__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

.cart-item__body p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.cart-item__unit { color: #6a5d60 !important; }

.cart-item__warn { color: var(--brick) !important; font-weight: 600; }

.cart-item__remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
}

.cart-item__remove:hover { color: var(--brick); }

.cart-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.cart-item__foot b {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--apricot-deep);
}

.cart-continue {
  display: inline-block;
  padding: 0 20px 18px;
  font-weight: 600;
  color: var(--apricot-deep);
}

.cart-checkout { padding: 22px 20px 24px; position: sticky; top: 112px; }

.cart-checkout h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  margin-bottom: 6px;
}

.cart-checkout__intro {
  color: #6a5d60;
  font-size: 14.5px;
  margin-bottom: 16px;
}

.cart-empty {
  text-align: center;
  background: #fff;
  border: 1px dashed #ecd8c8;
  border-radius: 20px;
  padding: 64px 24px;
}

.cart-empty__mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--apricot), var(--lavender));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
}

.cart-empty h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.cart-empty p {
  color: var(--muted);
  margin-bottom: 22px;
}

.cart-sticky { display: none; }

.flash-wrap { padding: 14px 24px 0; }

.flash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 14px;
}

.flash.success { border-color: #cde7d4; background: #f3faf5; }
.flash.error, .flash.warning { border-color: #f3d0c8; background: #fdf6f4; }
.flash.info { border-color: var(--apricot-soft); background: #fff8f3; }

.auth-page { padding: 56px 0 80px; }

.auth-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.auth-card h1 {
  font-size: 28px;
  margin-bottom: 6px;
  text-align: center;
}

.auth-card > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 24px;
}

.auth-card .field { margin-bottom: 16px; }

.auth-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.auth-card input[type="text"],
.auth-card input[type="password"] {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.auth-card input:focus {
  outline: none;
  border-color: var(--apricot);
}

.auth-card .errorlist {
  list-style: none;
  color: var(--brick);
  font-size: 13px;
  margin: 6px 0 0;
}

.auth-card .btn { margin-top: 8px; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 48px;
  }
  .hero-visual {
    order: -1;
    width: min(100%, 420px);
    margin: 0 auto;
    max-height: none;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }
  .hero-visual--showcase {
    width: min(100%, 380px);
  }
  .hero-showcase__label {
    top: 12px;
    left: 12px;
    font-size: 10px;
    padding: 5px 10px;
  }
  .hero-slide__meta {
    padding: 40px 16px 40px;
  }
  .hero-slide__meta h3 {
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-showcase__dots {
    bottom: 12px;
    gap: 8px;
  }
  .hero-dot {
    width: 10px;
    height: 10px;
  }
  .shop-bar { gap: 12px; }
  .search input { width: min(240px, 100%); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-layout { grid-template-columns: 1fr; gap: 20px; }
  .pd-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-checkout { position: static; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav { height: 72px; gap: 10px; }
  .brand { min-width: 0; }
  .brand-mark { width: 42px; height: 42px; font-size: 20px; flex-shrink: 0; }
  .brand .bt b { font-size: 22px; }
  .brand .bt span { letter-spacing: 2px; }
  .account-btn { padding: 8px 12px; font-size: 13px; }
  .mobile-nav { padding: 0 20px 12px; }

  .hero-inner { padding: 22px 0 40px; gap: 32px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); margin-bottom: 16px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }
  .hero-eyebrow { margin-bottom: 16px; font-size: 11px; }
  .hero-visual,
  .hero-visual--showcase {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 340px;
    border-radius: 18px;
  }
  .hero-stats {
    gap: 18px 12px;
    margin-top: 28px;
  }
  .hero-stats .st { flex: 1 1 30%; min-width: 0; }
  .hero-stats .st b { font-size: 22px; }
  .hero-stats .st span { font-size: 12px; line-height: 1.35; }
  .hero-cta { width: 100%; margin-top: 4px; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  section { padding: 48px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head h2 { font-size: 28px; }
  .sec-head p { font-size: 14px; }

  .shop-bar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 22px;
  }
  .search-form {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .search { width: 100%; }
  .search input,
  .sortsel,
  .search-form .btn { width: 100%; }

  .cat-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -20px 20px;
    padding: 2px 20px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-filters::-webkit-scrollbar { display: none; }
  .cat-filters-child { margin-top: 0; }
  .cat-chip { flex: 0 0 auto; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card { border-radius: 14px; }
  .card-body { padding: 12px 12px 14px; }
  .card-sub {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card h3 {
    font-size: 13.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
  }
  .card-desc { display: none; }
  .card-view { display: none; }
  .price { font-size: 18px; }

  .pager-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-top: 24px;
  }
  .pager { justify-content: center; }

  .rev-card { flex: 0 0 min(300px, 82vw); padding: 20px; }
  .trust-grid { gap: 20px 14px; }
  .trust-item .ic { font-size: 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 42px 0 22px; }

  .pd-page { padding-bottom: 48px; }
  .breadcrumb { padding-top: 16px; margin-bottom: 16px; font-size: 12.5px; }
  .pd-gallery { padding: 10px; border-radius: 16px; }
  .pd-main { border-radius: 14px; margin-bottom: 10px; }
  .pd-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -6px;
    padding: 2px 6px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pd-thumbs::-webkit-scrollbar { display: none; }
  .pd-thumb { width: 64px; height: 64px; }
  .pd-summary,
  .pd-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .pd-summary h1 { margin-bottom: 12px; }
  .pd-copy,
  .pd-card p,
  .pd-card li,
  .pd-steps li { font-size: 15px; }
  .pd-steps li {
    grid-template-columns: 32px 1fr;
    padding: 12px;
    gap: 10px;
  }
  .pd-steps li::before {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .pd-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .pd-order-jump {
    width: 100%;
    padding: 15px 16px;
    font-size: 20px;
  }
  .pd-order--checkout { scroll-margin-top: 84px; }
  .var-pill {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .cart-page:has(.cart-sticky) { padding-bottom: 108px; }
  .cart-item { grid-template-columns: 72px 1fr; padding: 16px; gap: 12px; }
  .cart-item__media { width: 72px; height: 72px; border-radius: 14px; }
  .cart-item__title { font-size: 15px; }
  .cart-item__foot b { font-size: 20px; }
  .cart-sticky {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(80, 55, 60, 0.08);
  }
  .cart-sticky span { display: block; font-size: 12px; color: var(--muted); }
  .cart-sticky b {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    color: var(--apricot-deep);
  }
  .cart-sticky .btn { padding: 12px 18px; }
}

@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .account-btn { padding: 8px 10px; }
  .card-add { padding: 7px 10px; font-size: 12px; min-height: 32px; }
  .hero-stats { justify-content: space-between; }
  .hero-stats .st b { font-size: 22px; }
  .card h3 { font-size: 13px; }
  .price { font-size: 16px; }
  .pd-main { aspect-ratio: 4 / 5; max-height: 360px; }
  .pd-price { font-size: 28px; }
}
