/* ============================================================
   AMOLI SOULCRAFT — storefront theme
   Palette: warm cream · terracotta · antique gold · ink
   ============================================================ */
:root {
  --cream:  #f6efe1;
  --paper:  #fffcf4;
  --ink:    #2b2115;
  --muted:  #857258;
  --terra:  #c2571f;
  --terra2: #9c3f0d;
  --gold:   #c99b4a;
  --gold2:  #a97e2f;
  --sand:   #e9dcc2;
  --leaf:   #5f6f52;
  --wa:     #1faa53;
  --shadow: 0 18px 45px -18px rgba(74, 48, 15, .28);
  --r:      18px;
  --ease:   cubic-bezier(.22,.8,.24,1);
  --f-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- icon font ---------- */
/* .ms = icon element (Bootstrap Icons webfont — font family set by .bi::before in bootstrap-icons.css) */
.ms {
  font-weight: normal; font-style: normal;
  font-size: 22px; line-height: 1;
  letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap;
  word-wrap: normal; direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  user-select: none;
}
.ms--sm { font-size: 17px; }
.ms--love { color: #d2452c; font-size: 14px; }

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 560; line-height: 1.15; letter-spacing: -.01em; }
.wrap { width: min(1240px, 92%); margin-inline: auto; }

::selection { background: var(--gold); color: #fff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #cbb489; border-radius: 8px; border: 3px solid var(--cream); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--terra); color: #fff;
  border: none; border-radius: 999px;
  padding: 14px 30px; font-size: 1rem; font-weight: 600; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  box-shadow: 0 10px 24px -10px rgba(194, 87, 31, .55);
  position: relative; overflow: hidden;
}
.btn:hover { background: var(--terra2); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(194,87,31,.55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ms { font-size: 20px; }
.btn--sm { padding: 9px 20px; font-size: .92rem; }
.btn--full { width: 100%; }
.btn--gold { background: var(--gold); box-shadow: 0 10px 24px -10px rgba(169,126,47,.6); }
.btn--gold:hover { background: var(--gold2); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--sand); box-shadow: none; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold2); background: #fff; }
.btn--wa { background: var(--wa); box-shadow: 0 10px 24px -10px rgba(31,170,83,.55); }
.btn--wa:hover { background: #178c43; }
.btn--dark { background: var(--ink); box-shadow: 0 10px 24px -12px rgba(43,33,21,.6); }
.btn--dark:hover { background: #171008; }
.btn--danger { background: #c0392b; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 75;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border .3s;
}
/* blur layer lives on a pseudo-element so it never traps position:fixed children */
.hdr::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 239, 225, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .3s, box-shadow .3s;
}
.hdr.is-stuck { border-color: var(--sand); }
.hdr.is-stuck::before { background: rgba(255,252,244,.93); box-shadow: 0 12px 30px -18px rgba(60,40,10,.35); }
.hdr__in { width: min(1360px, 96%); margin-inline: auto; display: flex; align-items: center; gap: 26px; padding: 12px 0; transition: padding .3s; }
.hdr.is-stuck .hdr__in { padding: 8px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 2px var(--sand), 0 8px 18px -8px rgba(120,80,20,.4); transition: transform .4s var(--ease); }
.brand:hover .brand__logo { transform: rotate(8deg) scale(1.05); }
.brand__txt { font-family: var(--f-head); font-size: 1.5rem; font-weight: 640; letter-spacing: -.02em; white-space: nowrap; }
.brand__dot { color: var(--terra); margin: 0 2px; }
.brand--light .brand__txt { color: #f3e9d5; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 520; color: #57472f; position: relative;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--terra); background: rgba(201,155,74,.1); }
.nav__link.is-active { color: var(--terra); font-weight: 640; }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--gold);
}
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  background: var(--paper); border: 1px solid var(--sand); border-radius: 16px;
  box-shadow: var(--shadow); padding: 10px; min-width: 290px;
  opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  display: grid; gap: 2px;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 530; }
.nav__menu a:hover { background: var(--cream); color: var(--terra); }
.nav__menu .ms { color: var(--gold2); background: var(--cream); border-radius: 9px; padding: 7px; font-size: 19px; }
.nav__menu small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.nav__wa { margin-left: 8px; color: var(--wa); font-weight: 600; display: inline-flex; gap: 7px; align-items: center; padding: 9px 16px; border: 1.5px dashed rgba(31,170,83,.5); border-radius: 999px; transition: all .2s; }
.nav__wa:hover { background: var(--wa); color: #fff; border-style: solid; }
.nav__wa .ms { font-size: 19px; }

.hdr__acts { display: flex; align-items: center; gap: 6px; }
.iconbtn {
  position: relative; background: transparent; border: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); transition: background .2s, transform .2s;
}
.iconbtn:hover { background: rgba(201,155,74,.16); transform: translateY(-1px); }
.iconbtn .ms { font-size: 24px; }
.bubble {
  position: absolute; top: 3px; right: 1px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--terra); color: #fff; border-radius: 999px;
  font-size: .72rem; font-weight: 700; line-height: 19px; text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.bubble--wish { background: #d2452c; }
.bubble.show { transform: scale(1); }
.hdr__burger { display: none; }

/* ---------- drawers & scrims ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(30, 20, 8, .45);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden;
  transition: opacity .3s; z-index: 70;
}
.scrim.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(430px, 94vw);
  background: var(--paper); z-index: 80;
  transform: translateX(105%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(40, 25, 5, .25);
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px dashed var(--sand); }
.drawer__head .drawer__title { font-size: 1.3rem; display: flex; align-items: center; gap: 9px; font-family: var(--f-head); }
.drawer__head .ms { color: var(--terra); }
.drawer__head b { font-family: var(--f-body); font-size: .85rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px dashed var(--sand); background: var(--cream); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 6px; }
.drawer__total b { font-family: var(--f-head); font-size: 1.35rem; color: var(--terra); }
.drawer__note { display: flex; gap: 7px; align-items: center; color: var(--leaf); font-size: .86rem; margin-bottom: 14px; }
.drawer__note .ms { font-size: 17px; }
.ditem { display: grid; grid-template-columns: 74px 1fr auto; gap: 13px; align-items: center; animation: fadeup .35s var(--ease); }
.ditem img { width: 74px; height: 74px; object-fit: cover; border-radius: 12px; }
.ditem h5 { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.ditem .ditem__price { color: var(--terra); font-weight: 700; font-size: .95rem; }
.ditem .ditem__qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; }
.ditem .ditem__qty button { width: 24px; height: 24px; border-radius: 8px; border: 1px solid var(--sand); background: #fff; font-weight: 700; line-height: 1; }
.ditem .ditem__rm { background: none; border: none; color: #b7a88f; align-self: start; }
.ditem .ditem__rm:hover { color: #c0392b; }
.drawer__empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.drawer__empty .ms { font-size: 52px; color: var(--sand); display: block; margin-bottom: 12px; }

/* ---------- toasts ---------- */
.toasts { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: #f6efe1; border-radius: 999px;
  padding: 12px 24px; display: flex; gap: 9px; align-items: center;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.4);
  animation: toastin .4s var(--ease); font-weight: 500; font-size: .95rem;
  max-width: 92vw;
}
.toast .ms { font-size: 19px; color: var(--gold); }
.toast--err { background: #7c2413; }
@keyframes toastin { from { opacity: 0; transform: translateY(18px) scale(.94); } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f9f3e6 0%, #f3e7cf 55%, #eeddbe 100%);
}
.hero__in { width: min(1280px, 94%); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 0 80px; position: relative; }
.hero__kicker { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--sand); padding: 8px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--gold2); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 20px -12px rgba(120,80,20,.35); }
.hero__kicker .ms { font-size: 17px; color: var(--terra); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin: 22px 0 18px; }
.hero h1 em { font-style: italic; color: var(--terra); font-weight: 480; }
.hero__word { display: inline-block; min-width: 5.2ch; color: var(--gold2); border-bottom: 4px solid var(--gold); }
.hero__word.swap { animation: wordin .5s var(--ease); }
@keyframes wordin { from { opacity: 0; transform: translateY(14px) rotate(1deg); } }
.hero p.lead { color: #6b5a41; font-size: 1.13rem; max-width: 34rem; }
.hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 44px; }
.hero__stats b { font-family: var(--f-head); font-size: 1.9rem; color: var(--ink); display: block; }
.hero__stats span { color: var(--muted); font-size: .9rem; letter-spacing: .04em; }

.hero__visual { position: relative; }
.hero__img {
  border-radius: 38% 62% 55% 45% / 48% 42% 58% 52%;
  object-fit: cover; width: 100%; aspect-ratio: 1/1.02;
  box-shadow: var(--shadow); border: 8px solid #fff;
  animation: blobmorph 14s ease-in-out infinite alternate;
}
@keyframes blobmorph {
  0%   { border-radius: 38% 62% 55% 45% / 48% 42% 58% 52%; }
  50%  { border-radius: 55% 45% 40% 60% / 55% 55% 45% 45%; }
  100% { border-radius: 45% 55% 62% 38% / 42% 58% 42% 58%; }
}
.hero__chip {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 18px;
  display: flex; gap: 11px; align-items: center; box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600; animation: floaty 5s ease-in-out infinite;
}
.hero__chip .ms { color: var(--terra); }
.hero__chip small { display: block; font-weight: 400; color: var(--muted); }
.hero__chip--1 { top: 7%; left: -6%; }
.hero__chip--2 { bottom: 16%; right: -4%; animation-delay: 1.4s; }
.hero__chip--3 { bottom: -5%; left: 8%; animation-delay: 2.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.hero__ring { position: absolute; border: 1.5px dashed var(--gold); border-radius: 50%; opacity: .55; }
.hero__ring--1 { width: 420px; height: 420px; top: -60px; right: -80px; animation: spin 40s linear infinite; }
.hero__ring--2 { width: 190px; height: 190px; bottom: -40px; left: -60px; animation: spin 28s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee ---------- */
.marquee { background: var(--terra); color: #ffe9d2; overflow: hidden; padding: 13px 0; }
.marquee__in { display: inline-block; white-space: nowrap; font-family: var(--f-head); font-size: 1.02rem; letter-spacing: .22em; animation: marq 30s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.sec { padding: 84px 0; }
.sec__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec__kicker { color: var(--gold2); letter-spacing: .28em; text-transform: uppercase; font-size: .82rem; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.sec__kicker::before, .sec__kicker::after { content: ''; width: 34px; height: 1.5px; background: var(--gold); }
.sec__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 12px 0 10px; }
.sec__head p { color: var(--muted); }

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat {
  background: var(--paper); border: 1px solid var(--sand); border-radius: var(--r);
  padding: 26px 14px 22px; text-align: center; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cat::before { content: ''; position: absolute; inset: auto -30% -60% -30%; height: 70%; background: radial-gradient(closest-side, rgba(201,155,74,.22), transparent); opacity: 0; transition: opacity .3s; }
.cat:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat:hover::before { opacity: 1; }
.cat .ms { font-size: 34px; color: var(--terra); background: rgba(194,87,31,.09); padding: 15px; border-radius: 16px; transition: all .3s var(--ease); }
.cat:hover .ms { background: var(--terra); color: #fff; transform: rotate(-6deg) scale(1.06); }
.cat b { display: block; margin-top: 13px; font-size: .98rem; font-weight: 640; }
.cat span { color: var(--muted); font-size: .82rem; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard {
  background: var(--paper); border: 1px solid var(--sand); border-radius: var(--r);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
  transition: transform .32s var(--ease), box-shadow .32s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pcard__media { position: relative; overflow: hidden; aspect-ratio: 1; background: #efe6d3; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.09) rotate(.4deg); }
.pcard__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag { background: var(--terra); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 4px 11px; border-radius: 999px; width: max-content; text-transform: uppercase; }
.tag--gold { background: var(--gold2); }
.pcard__wish {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.92); color: #a58c60;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s; box-shadow: 0 6px 16px -6px rgba(60,30,0,.3);
}
.pcard__wish:hover { transform: scale(1.12); color: #d2452c; }
.pcard__wish.on { color: #d2452c; background: #fff; }
.pcard__wish.on .ms { font-variation-settings: 'FILL' 1; }
.pcard__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(43,33,21,.92); color: #f6efe1; border: none; border-radius: 12px;
  padding: 11px; font-weight: 600; font-size: .92rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(12px); transition: all .3s var(--ease);
}
.pcard:hover .pcard__quick, .pcard__quick:focus-visible { opacity: 1; transform: translateY(0); }
.pcard__quick:hover { background: var(--terra); }
.pcard__body { padding: 17px 18px 19px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard__cat { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); font-weight: 700; }
.pcard__name { font-family: var(--f-head); font-size: 1.13rem; font-weight: 600; line-height: 1.3; }
.pcard__name a:hover { color: var(--terra); }
/* whole card clickable → product page (buttons stay above) */
.pcard__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.pcard__rating { color: var(--gold2); font-size: .84rem; display: flex; align-items: center; gap: 5px; }
.pcard__rating .ms { font-size: 15px; font-variation-settings: 'FILL' 1; }
.pcard__rating span { color: var(--muted); }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.price { font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.price s { font-family: var(--f-body); font-size: .9rem; color: #b7a88f; font-weight: 400; margin-left: 7px; }
.off { color: #3d8b4f; font-size: .8rem; font-weight: 700; }

/* ---------- craft story band ---------- */
.story { background: var(--ink); color: #f1e7d2; position: relative; overflow: hidden; }
.story::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 340px at 85% 20%, rgba(201,155,74,.16), transparent), radial-gradient(500px 300px at 8% 90%, rgba(194,87,31,.14), transparent); }
.story .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding: 90px 0; }
.story h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: #fff; }
.story h2 em { color: var(--gold); font-style: italic; font-weight: 460; }
.story p { color: #cbb489; margin: 18px 0 0; max-width: 34rem; }
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 40px; }
.counter b { font-family: var(--f-head); font-size: 2.6rem; color: var(--gold); display: block; line-height: 1; }
.counter span { color: #a89270; letter-spacing: .08em; font-size: .9rem; text-transform: uppercase; }
.story__imgwrap { position: relative; }
.story__imgwrap img { border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); transform: rotate(1.6deg); border: 6px solid rgba(255,255,255,.08); }
.story__imgwrap::after { content: '✦'; position: absolute; font-size: 44px; color: var(--gold); top: -28px; right: -14px; animation: floaty 4s ease-in-out infinite; }

/* ---------- testimonials ---------- */
.tst { position: relative; }
.tst__slider { overflow: hidden; }
.tst__track { display: flex; transition: transform .55s var(--ease); }
.tst__card { flex: 0 0 100%; padding: 10px 4%; text-align: center; }
.tst__card .ms--quote { font-size: 46px; color: var(--gold); font-variation-settings: 'FILL' 1; }
.tst__card blockquote { font-family: var(--f-head); font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-style: italic; max-width: 46rem; margin: 14px auto; line-height: 1.5; }
.tst__who { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 18px; }
.tst__ava { width: 48px; height: 48px; border-radius: 50%; background: var(--terra); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-head); font-size: 1.15rem; }
.tst__who b { display: block; }
.tst__who span { color: var(--muted); font-size: .86rem; }
.tst__dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.tst__dots button { width: 9px; height: 9px; border-radius: 999px; border: none; background: var(--sand); transition: all .3s; }
.tst__dots button.on { width: 30px; background: var(--terra); }

/* ---------- page hero (inner pages) ---------- */
.phero { background: linear-gradient(160deg, #f9f3e6, #f0e2c6); padding: 58px 0 64px; text-align: center; position: relative; overflow: hidden; }
.phero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.phero .crumbs { margin-bottom: 12px; color: var(--muted); font-size: .9rem; display: flex; gap: 8px; justify-content: center; align-items: center; }
.phero .crumbs a:hover { color: var(--terra); }
.phero .crumbs .ms { font-size: 14px; }
.phero p.sub { color: #6b5a41; max-width: 36rem; margin: 10px auto 0; }

/* ---------- shop layout ---------- */
.shop { display: grid; grid-template-columns: 265px 1fr; gap: 34px; align-items: start; padding: 54px 0 90px; }
.filt { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--r); padding: 24px; position: sticky; top: 92px; }
.filt h4 { font-size: 1.05rem; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.filt h4 .ms { color: var(--terra); font-size: 20px; }
.filt__group { padding: 16px 0; border-top: 1px dashed var(--sand); }
.filt__group:first-of-type { border-top: 0; }
.filt a.filt__cat { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 9px; font-weight: 530; color: #57472f; }
.filt a.filt__cat:hover { background: var(--cream); color: var(--terra); }
.filt a.filt__cat.on { background: var(--ink); color: #f6efe1; }
.filt a.filt__cat span { color: inherit; opacity: .6; font-size: .84rem; }
.pricebar { margin-top: 6px; }
.pricebar input[type=range] { width: 100%; accent-color: var(--terra); }
.pricebar output { font-weight: 700; color: var(--terra); }
.filt__row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.chk { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-weight: 530; color: #57472f; cursor: pointer; }
.chk input { accent-color: var(--terra); width: 17px; height: 17px; }
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop__bar p b { color: var(--terra); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; background: var(--paper); border: 1px solid var(--sand); border-radius: 999px; padding: 11px 44px 11px 20px; font-weight: 560; cursor: pointer; }
.select .ms { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: 20px; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { background: var(--paper); border: 1px solid var(--sand); padding: 7px 15px; border-radius: 999px; font-size: .86rem; font-weight: 600; display: inline-flex; gap: 7px; align-items: center; }
.chip .ms { font-size: 15px; }
.chip a:hover { color: var(--terra); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; padding: 60px 0 90px; align-items: start; }
.pdp__imgwrap { position: sticky; top: 96px; }
.pdp__img { border-radius: 26px; overflow: hidden; border: 1px solid var(--sand); background: #efe6d3; position: relative; cursor: zoom-in; }
.pdp__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s var(--ease); }
.pdp__img.zoom img { transform: scale(1.75); }
.pdp__badges { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 7px; }
.pdp__info .pcard__cat { font-size: .8rem; }
.pdp__info h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 8px 0 14px; }
.pdp__price { display: flex; align-items: baseline; gap: 14px; margin: 16px 0 6px; }
.pdp__price .price { font-size: 2.1rem; color: var(--terra); }
.pdp__tax { color: var(--muted); font-size: .84rem; }
.pdp__story { background: #f4ecd9; border: 1px dashed var(--gold); border-radius: 16px; padding: 16px 18px; margin: 20px 0; font-size: .95rem; display: flex; gap: 12px; }
.pdp__story .ms { color: var(--gold2); flex-shrink: 0; }
.pdp__story b { color: var(--gold2); }
.pdp__qtyrow { display: flex; gap: 14px; align-items: center; margin: 24px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--sand); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 46px; border: none; background: transparent; font-size: 1.25rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.qty button:hover { background: var(--cream); color: var(--terra); }
.qty input { width: 52px; text-align: center; border: none; font-weight: 700; font-size: 1.05rem; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.trust div { background: var(--paper); border: 1px solid var(--sand); border-radius: 14px; padding: 14px 12px; text-align: center; font-size: .8rem; color: var(--muted); font-weight: 560; }
.trust .ms { display: block; font-size: 26px; color: var(--terra); margin-bottom: 7px; }
.acc { margin-top: 30px; border: 1px solid var(--sand); border-radius: 16px; overflow: hidden; background: var(--paper); }
.acc__item + .acc__item { border-top: 1px solid var(--sand); }
.acc__btn { width: 100%; background: transparent; border: none; display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; font-family: var(--f-head); font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.acc__btn .ms { transition: transform .3s; color: var(--gold2); }
.acc__item.open .acc__btn .ms { transform: rotate(180deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__panel div { padding: 0 20px 18px; color: #6b5a41; font-size: .96rem; }

/* ---------- cart & checkout ---------- */
.cartwrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; padding: 54px 0 90px; align-items: start; }
.ctable { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--r); overflow: hidden; }
.crow { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 20px; }
.crow + .crow { border-top: 1px dashed var(--sand); }
.crow img { width: 92px; height: 92px; object-fit: cover; border-radius: 13px; }
.crow h5 { font-family: var(--f-head); font-size: 1.08rem; font-weight: 600; }
.crow .crow__cat { color: var(--gold2); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.crow__right { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.crow__rm { background: none; border: none; color: #b7a88f; }
.crow__rm:hover { color: #c0392b; }
.summary { background: var(--ink); color: #f1e7d2; border-radius: var(--r); padding: 28px; position: sticky; top: 96px; }
.summary h3 { color: #fff; font-size: 1.4rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.summary h3 .ms { color: var(--gold); }
.summary .row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .98rem; }
.summary .row.gift { color: var(--gold); }
.summary hr { border: 0; border-top: 1px dashed #5c4b32; margin: 12px 0; }
.summary .grand { font-size: 1.25rem; }
.summary .grand b { font-family: var(--f-head); font-size: 1.7rem; color: var(--gold); }
.summary .note { font-size: .84rem; color: #bfa87f; display: flex; gap: 8px; margin: 14px 0 18px; }
.formcard { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--r); padding: 30px; }
.formcard h3 { font-size: 1.35rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.formcard h3 .ms { color: var(--terra); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 6px; }
.field label span { color: #c0392b; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--sand); border-radius: 12px;
  padding: 12px 15px; background: #fffdf8; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,155,74,.15);
}
.wapanel { background: linear-gradient(140deg, #0e5c31, #1faa53); border-radius: var(--r); color: #fff; padding: 26px; margin-top: 22px; }
.wapanel h4 { color: #fff; display: flex; gap: 9px; align-items: center; font-size: 1.15rem; }
.wapanel p { font-size: .92rem; opacity: .92; margin: 8px 0 0; }
.sentbox { max-width: 660px; margin: 60px auto 100px; background: var(--paper); border: 1px solid var(--sand); border-radius: 24px; padding: 50px 40px; text-align: center; }
.sentbox .ok-ic { width: 84px; height: 84px; border-radius: 50%; background: #e5f5e9; color: #2e7d46; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; animation: pop .5s var(--ease); }
.sentbox .ok-ic .ms { font-size: 42px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.sentbox h1 { font-size: 2rem; margin-bottom: 8px; }
.sentbox .ocode { background: var(--ink); color: var(--gold); padding: 8px 22px; border-radius: 999px; display: inline-block; font-weight: 700; letter-spacing: .1em; margin: 10px 0 18px; }

/* ---------- empty states ---------- */
.empty { text-align: center; padding: 90px 20px; }
.empty .ms { font-size: 64px; color: var(--sand); }
.empty h3 { font-size: 1.5rem; margin: 14px 0 6px; }
.empty p { color: var(--muted); margin-bottom: 24px; }

/* ---------- contact & about ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 54px 0 90px; align-items: start; }
.cinfo { display: grid; gap: 14px; }
.cinfo a, .cinfo div { display: flex; gap: 15px; align-items: flex-start; background: var(--paper); border: 1px solid var(--sand); border-radius: 16px; padding: 18px 20px; transition: all .25s; }
.cinfo a:hover { border-color: var(--gold); transform: translateX(4px); }
.cinfo .ms { color: var(--terra); background: rgba(194,87,31,.09); padding: 10px; border-radius: 11px; }
.cinfo b { display: block; font-size: 1.02rem; }
.cinfo span { color: var(--muted); font-size: .92rem; }
.about-band { background: var(--paper); border-block: 1px solid var(--sand); padding: 70px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-grid img { border-radius: 22px; box-shadow: var(--shadow); }
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.val { background: var(--paper); border: 1px solid var(--sand); border-radius: 16px; padding: 24px 20px; transition: all .3s; }
.val:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.val .ms { font-size: 30px; color: var(--terra); }
.val b { display: block; font-family: var(--f-head); font-size: 1.15rem; margin: 10px 0 5px; }
.val p { color: var(--muted); font-size: .92rem; }
.artisan-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.artisan { background: var(--paper); border: 1px solid var(--sand); border-radius: 18px; overflow: hidden; text-align: center; transition: all .3s; }
.artisan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.artisan .avatar { background: linear-gradient(140deg, var(--gold), var(--terra)); color: #fff; font-family: var(--f-head); font-size: 2.2rem; padding: 34px 0 26px; }
.artisan div { padding: 18px; }
.artisan b { font-family: var(--f-head); }
.artisan span { display: block; color: var(--muted); font-size: .86rem; margin-top: 3px; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #cdbb9b; margin-top: 40px; }
.ftr__craft { border-bottom: 1px solid rgba(201,155,74,.25); }
.ftr__craft .marquee { background: transparent; padding: 11px 0; }
.ftr__craft .marquee__in { font-size: .88rem; color: #a89270; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding: 60px 0 50px; }
.ftr__col h4 { color: #fff; font-size: 1.12rem; margin-bottom: 18px; }
.ftr__col a { display: flex; align-items: center; gap: 9px; padding: 5px 0; color: #cdbb9b; transition: all .2s; }
.ftr__col a:hover { color: var(--gold); transform: translateX(4px); }
.ftr__col .ms { font-size: 18px; color: var(--gold); }
.ftr__about p { font-size: .95rem; margin: 16px 0 20px; max-width: 30rem; }
.ftr__socials { display: flex; gap: 10px; }
.ftr__socials a { width: 42px; height: 42px; border: 1px solid #57472f; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center; transition: all .25s; }
.ftr__socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px) !important; }
.ftr__addr { display: flex; gap: 9px; padding: 5px 0; font-size: .95rem; }
.ftr__wa { margin-top: 10px; color: #7ed9a1 !important; font-weight: 600; }
.ftr__base { border-top: 1px solid rgba(201,155,74,.2); padding: 20px 0; font-size: .88rem; }
.ftr__basein { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ftr__pay .ms { font-size: 17px; color: var(--gold); }

/* ---------- floating bits ---------- */
.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--ink); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s var(--ease); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--terra); color: #fff; }
.wafab {
  position: fixed; right: 26px; left: auto; bottom: 92px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 34px -10px rgba(31,170,83,.65);
  transition: transform .25s var(--ease); animation: wapulse 2.6s infinite;
}
.wafab:hover { transform: scale(1.1) rotate(-6deg); }
@keyframes wapulse { 0% { box-shadow: 0 16px 34px -10px rgba(31,170,83,.55), 0 0 0 0 rgba(31,170,83,.45); } 70% { box-shadow: 0 16px 34px -10px rgba(31,170,83,.55), 0 0 0 18px rgba(31,170,83,0); } 100% { box-shadow: 0 16px 34px -10px rgba(31,170,83,.55), 0 0 0 0 rgba(31,170,83,0); } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; } .d5 { transition-delay: .4s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .story .wrap, .about-grid { grid-template-columns: 1fr; }
  .hero__in { grid-template-columns: 1fr; padding-top: 44px; }
  .hero__visual { max-width: 520px; margin-inline: auto; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__imgwrap { position: static; }
}
@media (max-width: 900px) {
  /* Account actions live inside the hamburger drawer on tablet/mobile. */
  .hdr__acts > a[href="account.php"],
  .hdr__acts > a[href="login.php"] { display: none !important; }
  .nav {
    position: fixed; inset: 0 auto 0 0; width: min(330px, 88vw);
    background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 90px 22px 30px; gap: 6px; z-index: 75;
    transform: translateX(-105%); transition: transform .35s var(--ease);
    box-shadow: 20px 0 60px rgba(40,25,5,.2); overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav__link { padding: 13px 14px; border-radius: 12px; font-size: 1.05rem; }
  .nav__menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; display: none; }
  .nav__drop:hover .nav__menu { display: grid; }
  .hdr__burger { display: inline-flex; z-index: 90; }
  .hdr__shop { display: none; }
  .shop { grid-template-columns: 1fr; }
  .filt { position: static; }
  .cartwrap, .contact-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid, .cats, .trust, .vals, .artisan-strip { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; flex-wrap: wrap; }
  .hero__chip--1 { left: 0; } .hero__chip--2 { right: 0; }
  .crow { grid-template-columns: 74px 1fr; }
  .crow__qty { grid-column: 2; }
  .crow__right { grid-column: 2; flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
  .sec { padding: 60px 0; }
}

/* hero chip subtitle fix */
.hero__chip b { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: 1px; }

/* small-screen brand fit */
@media (max-width: 640px) {
  .brand__txt { font-size: 1.15rem; }
  .brand__logo { width: 40px; height: 40px; }
  .hdr__in { gap: 10px; }
  .hero__kicker { font-size: .78rem; padding: 7px 14px; letter-spacing: .08em; }
}

/* inline error box (checkout) */
.errbox { background: #fbe7e2; color: #92301e; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-weight: 560; font-size: .92rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.errbox .ms { color: #92301e; }

/* ---------- final responsive polish ---------- */
@media (max-width: 900px) {
  .sentbox { padding: 34px 22px; margin: 30px auto 70px; }
  .wapanel { padding: 20px; }
  .hero__chip { padding: 10px 14px; font-size: .8rem; }
}
@media (max-width: 640px) {
  .pdp__qtyrow .btn { flex: 1; }
  .summary { padding: 20px; }
  .formcard { padding: 22px 18px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
  .ftr__basein { justify-content: center; text-align: center; }
  .wafab { width: 52px; height: 52px; right: 16px; left: auto; bottom: 82px; }
  .totop { right: 16px; bottom: 16px; }
  .marquee__in { font-size: .88rem; letter-spacing: .14em; }
  select, input, textarea { font-size: 16px !important; } /* stop iOS zoom-on-focus */
}

/* footer credit line */
.ftr__credit { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; }
.pdlink {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--gold); font-weight: 600;
  border-bottom: 1px dashed rgba(201,155,74,.5);
  padding-bottom: 1px; transition: all .2s;
}
.pdlink:hover { color: #ffd98a; border-bottom-color: #ffd98a; }
.pdlink .ms { font-size: 15px; }

/* ============================================================
   HEADER v2 — two rows · works on every screen
   ============================================================ */
.hdr__top { border-bottom: 1px dashed var(--sand); }
.hdr__top .hdr__in { padding: 10px 0; }

/* header search */
.hsearch {
  flex: 1; max-width: 460px; margin-inline: auto;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--sand); border-radius: 999px;
  padding: 4px 6px 4px 16px; transition: border .2s, box-shadow .2s;
}
.hsearch:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,155,74,.14); }
.hsearch .ms { color: var(--muted); font-size: 20px; }
.hsearch input { flex: 1; border: none; background: none; font-size: .95rem; padding: 8px 0; min-width: 0; }
.hsearch input:focus { outline: none; }
.hsearch button {
  border: none; background: var(--ink); color: #f6efe1;
  border-radius: 999px; padding: 9px 20px; font-weight: 600; font-size: .88rem;
  transition: background .2s;
}
.hsearch button:hover { background: var(--terra); }

/* row 2 — the full menu */
.hmenu-wrap { background: rgba(255,252,244,.6); border-bottom: 1px solid var(--sand); position: relative; }
.hmenu-wrap::before, .hmenu-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 34px; z-index: 2;
  pointer-events: none; opacity: 0; transition: opacity .25s;
}
.hmenu-wrap::before { left: 0;  background: linear-gradient(90deg, var(--cream), transparent); }
.hmenu-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--cream), transparent); }
.hmenu-wrap.is-scrollable::after { opacity: 1; }
.hmenu-wrap.scrolled-left::before { opacity: 1; }
.hmenu {
  display: flex; align-items: stretch; gap: 2px;
  overflow-x: auto; scrollbar-width: none;
  width: min(1360px, 96%); margin-inline: auto;
  -webkit-overflow-scrolling: touch;
}
.hmenu::-webkit-scrollbar { display: none; }
.hmenu__link {
  position: relative; white-space: nowrap;
  padding: 12px 13px; font-weight: 560; font-size: .93rem; color: #57472f;
  transition: color .2s; display: inline-flex; align-items: center; gap: 6px;
}
.hmenu__link:hover { color: var(--terra); }
.hmenu__link.is-active { color: var(--terra); font-weight: 700; }
.hmenu__link.is-active::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 5px;
  height: 3px; border-radius: 3px; background: var(--gold);
}
.hmenu__wa { margin-left: auto; color: var(--wa); font-weight: 700; }
.hmenu__wa .ms { font-size: 18px; }
.hmenu__wa:hover { color: #178c43; }

/* mobile drawer menu */
.mnav {
  position: fixed; top: 0; left: 0; height: 100dvh; width: min(340px, 90vw);
  background: var(--paper); z-index: 85; display: flex; flex-direction: column;
  transform: translateX(-105%); transition: transform .35s var(--ease);
  box-shadow: 20px 0 60px rgba(40,25,5,.2);
}
.mnav.open { transform: none; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px dashed var(--sand); }
.mnav__body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.mnav__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
.mnav__link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px; font-weight: 560;
}
.mnav__link:hover { background: var(--cream); }
.mnav__link.is-active { background: rgba(194,87,31,.08); color: var(--terra); font-weight: 700; }
.mnav__link .ms { color: var(--gold2); font-size: 20px; }
.mnav__link--sub { padding-left: 16px; }
.mnav__link small { margin-left: auto; color: var(--muted); font-weight: 500; }
.mnav__foot { padding: 14px 16px 18px; border-top: 1px dashed var(--sand); }
.mnav__foot p { display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--muted); font-size: .8rem; margin-top: 10px; }

/* old nav helpers retired */
.nav, .nav__drop, .nav__menu { display: none !important; }

/* hide row1 search on small phones (shop page has search) */
@media (max-width: 640px) {
  .hsearch { display: none; }
  .hdr__top .hdr__in { padding: 8px 0; }
}

/* ============================================================
   CATEGORY TILES with real images (v2)
   ============================================================ */
.cats { grid-template-columns: repeat(5, 1fr); }
.cat {
  background: transparent; border: none; padding: 0 6px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cat::before { display: none; }
.cat__img {
  width: 100%; aspect-ratio: 1; max-width: 168px;
  border-radius: 50%; overflow: hidden; position: relative;
  border: 4px solid #fff;
  box-shadow: 0 10px 26px -12px rgba(90, 60, 15, .35), 0 0 0 1px var(--sand);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.cat__img::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; box-shadow: inset 0 0 0 0 var(--terra);
  transition: box-shadow .3s;
}
.cat__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.cat:hover .cat__img { transform: translateY(-6px); box-shadow: 0 18px 34px -14px rgba(90,60,15,.45), 0 0 0 1px var(--gold); }
.cat:hover .cat__img img { transform: scale(1.1); }
.cat:hover .cat__img::after { box-shadow: inset 0 0 0 3px var(--terra); }
.cat b { margin-top: 14px; font-size: 1rem; font-weight: 640; line-height: 1.3; }
.cat:hover b { color: var(--terra); }
.cat__cnt { color: var(--muted); font-size: .82rem; margin-top: 2px; }

@media (max-width: 1080px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .cats { grid-template-columns: repeat(3, 1fr); } .cat b { font-size: .86rem; } }

/* sidebar + drawer category thumbs */
.filt a.filt__cat { align-items: center; gap: 9px; }
.filt a.filt__cat img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--sand); flex-shrink: 0;
}
.filt a.filt__cat span { margin-left: auto; }
.filt a.filt__cat .cat-thumb-label { flex: 1; }
.mnav__link img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--sand); flex-shrink: 0; margin-right: 2px;
}
.mnav__link--sub { padding-left: 10px; }

/* Customer account links inside the mobile hamburger drawer */
.mnav__account-label { border-top: 1px solid var(--sand); margin-top: 8px; padding-top: 16px; }
@media (max-width: 900px) {
  .hdr__acts > a[href="account.php"],
  .hdr__acts > a[href="login.php"] { display: none !important; }
}


/* Refined mobile shop controls and bottom-sheet filters */
.mobile-shop-tools { display:none; }
.filter-backdrop { display:none; }
.mobile-filter-actions { display:none; }

@media (max-width: 900px) {
  .shop { display:block; padding-top:14px; }
  .mobile-shop-tools {
    display:flex; align-items:center; gap:9px;
    position:sticky; top:68px; z-index:45;
    padding:10px 12px; margin:0 0 14px;
    background:rgba(255,252,244,.96); border:1px solid var(--sand);
    border-radius:16px; box-shadow:0 5px 18px rgba(43,33,21,.05);
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  }
  .mobile-filter-open {
    display:inline-flex; align-items:center; justify-content:center; gap:7px;
    min-height:42px; padding:9px 13px; border:1px solid var(--sand);
    border-radius:12px; background:#fffaf0; color:var(--ink);
    font-weight:600; white-space:nowrap;
  }
  .mobile-filter-open:active { transform:scale(.98); }
  .mobile-product-count {
    color:var(--muted); font-size:.8rem; line-height:1.2;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
  .mobile-sort-label {
    display:flex; align-items:center; gap:5px; margin-left:auto;
    color:var(--muted); font-size:.78rem; white-space:nowrap;
  }
  .mobile-sort-label select {
    max-width:132px; min-height:40px; border:1px solid var(--sand);
    border-radius:12px; background:#fffdf8; color:var(--ink);
    padding:8px 9px; font:inherit; font-size:.8rem;
  }
  .shop__bar .select { display:none; }

  .filt {
    position:fixed !important; z-index:121; left:0; right:0; bottom:0; top:auto !important;
    width:100%; max-height:min(84dvh,740px); overflow-y:auto;
    overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
    border-radius:24px 24px 0 0; padding:20px 18px calc(18px + env(safe-area-inset-bottom));
    background:var(--paper); box-shadow:0 -18px 60px rgba(39,27,19,.2);
    transform:translateY(110%); visibility:hidden; pointer-events:none;
    transition:transform .26s ease, visibility .26s;
  }
  .filt.is-open { transform:translateY(0); visibility:visible; pointer-events:auto; }
  .filt::before {
    content:""; display:block; width:38px; height:4px; border-radius:9px;
    background:#d8c7a7; margin:-8px auto 16px;
  }
  .filter-backdrop.is-visible {
    display:block; position:fixed; inset:0; z-index:120; width:100%; height:100%;
    border:0; background:rgba(36,26,20,.45); touch-action:manipulation;
  }
  body.filter-lock { overflow:hidden; }
  .mobile-filter-actions {
    display:flex; position:sticky; bottom:calc(-18px - env(safe-area-inset-bottom));
    gap:10px; margin:18px -18px calc(-18px - env(safe-area-inset-bottom));
    padding:12px 18px calc(12px + env(safe-area-inset-bottom));
    background:rgba(255,252,244,.97); border-top:1px solid var(--sand);
    box-shadow:0 -6px 18px rgba(43,33,21,.04);
  }
  .mobile-filter-actions button {
    flex:1; min-height:48px; border-radius:13px; font-weight:600;
  }
  .mobile-filter-actions #mobileFilterApply { background:var(--ink); color:#fffaf0; }
  .desktop-filter-reset { display:none !important; }
  .filt__group { padding:13px 0; border-bottom:1px solid rgba(233,220,194,.65); }
  .filt__group:last-of-type { border-bottom:0; }
  .filt__group h4 { margin-bottom:10px; }
  .filt a.filt__cat {
    display:flex; align-items:center; gap:10px; min-height:50px;
    padding:8px 10px; margin:3px 0; border-radius:13px;
  }
  .filt a.filt__cat.on { background:#f3ead9; color:var(--ink); }
  .filt a.filt__cat img { width:34px; height:34px; border-radius:50%; }
  .filt .field input { min-height:46px; border-radius:12px; }
  .filt input[type="range"] { width:100%; accent-color:var(--ink); }
  .filt .chk { min-height:44px; display:flex; align-items:center; gap:10px; }
  .filt .chk input { width:18px; height:18px; accent-color:var(--ink); }
  .shop > div:last-child { min-width:0; }
}
@media (max-width: 480px) {
  .mobile-shop-tools { gap:7px; padding:8px; border-radius:14px; }
  .mobile-filter-open { min-height:40px; padding:8px 10px; font-size:.84rem; }
  .mobile-product-count { max-width:68px; font-size:.72rem; }
  .mobile-sort-label { gap:0; font-size:0; }
  .mobile-sort-label select { max-width:122px; min-height:40px; font-size:.76rem; padding:8px 7px; }
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
}
@media (prefers-reduced-motion: reduce) {
  .filt { transition:none; }
}

/* ============================================================
   AMOLI HEADER UI REFRESH — markup and functionality unchanged
   ============================================================ */
.hdr {
  background: #fffaf3;
  border-bottom: 1px solid #e8dcc9;
  box-shadow: 0 6px 24px rgba(48, 39, 24, .045);
}
.hdr::before {
  background: rgba(255, 250, 243, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hdr.is-stuck { border-color: #e2d2ba; }
.hdr.is-stuck::before {
  background: rgba(255, 250, 243, .98);
  box-shadow: 0 10px 28px rgba(48, 39, 24, .09);
}
.hdr__top { border-bottom: 1px solid #eee3d4; }
.hdr__top .hdr__in {
  width: min(1320px, calc(100% - 48px));
  min-height: 88px;
  gap: clamp(16px, 2.2vw, 32px);
  padding: 10px 0;
}
.brand { flex: 0 0 auto; min-width: 0; }
.brand__logo--stacked {
  height: clamp(54px, 6.2vw, 76px);
  max-width: 220px;
  object-fit: contain;
}
.hsearch {
  max-width: 520px;
  min-height: 48px;
  padding: 4px 5px 4px 17px;
  border: 1px solid #e4d6c2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(52, 38, 20, .035);
}
.hsearch:focus-within {
  border-color: #b99a62;
  box-shadow: 0 0 0 3px rgba(185, 154, 98, .14);
}
.hsearch button {
  min-height: 38px;
  padding-inline: 19px;
  border-radius: 10px;
  background: #284c3b;
}
.hsearch button:hover { background: #1f3e30; }
.hdr__acts { gap: 8px; flex: 0 0 auto; }
.hdr__acts .iconbtn {
  width: 42px;
  height: 42px;
  border: 1px solid #e8ddce;
  background: rgba(255,255,255,.72);
}
.hdr__acts .iconbtn:hover {
  background: #f3e8d8;
  border-color: #d6c19f;
  transform: translateY(-1px);
}
.hdr__acts .iconbtn .ms { font-size: 21px; }
.hdr__acts .btn--sm,
.hdr__acts > .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 11px;
  white-space: nowrap;
}
.hdr__acts .hdr__shop {
  background: #284c3b;
  border: 1px solid #284c3b;
  color: #fffaf3;
}
.hdr__acts .hdr__shop:hover { background: #1f3e30; }
.hmenu-wrap {
  background: #fffdf9;
  border-bottom: 0;
}
.hmenu {
  width: min(1320px, calc(100% - 48px));
  gap: 7px;
  min-height: 47px;
}
.hmenu__link {
  padding: 13px 14px 12px;
  color: #51493d;
  font-size: .9rem;
  font-weight: 560;
}
.hmenu__link:hover { color: #284c3b; }
.hmenu__link.is-active { color: #284c3b; }
.hmenu__link.is-active::after {
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: #b99a62;
}
.hdr__burger { border: 1px solid #e8ddce; background: #fff; }
.msearch {
  border: 1px solid #e5d8c6;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(52,38,20,.035);
}
.msearch button { background: #284c3b; }
.mnav { background: #fffaf3; }
.mnav__head { border-bottom: 1px solid #e8ddce; }
.mnav__link { border-radius: 10px; }
.mnav__link.is-active { background: #eaf0e9; color: #284c3b; }
.mnav__link .ms { color: #9b7b43; }
.mnav__foot { border-top: 1px solid #e8ddce; }

@media (max-width: 1080px) {
  .hdr__top .hdr__in { width: calc(100% - 32px); gap: 12px; }
  .brand__logo--stacked { height: 62px; max-width: 190px; }
  .hdr__acts { gap: 5px; }
  .hdr__acts .iconbtn { width: 40px; height: 40px; }
  .hmenu { width: calc(100% - 32px); }
  .hmenu__link { padding-inline: 11px; }
}
@media (max-width: 900px) {
  .hdr__top .hdr__in { min-height: 72px; padding: 8px 0; }
  .brand__logo--stacked { height: 54px; max-width: 175px; }
  .hdr__burger { width: 42px; height: 42px; border-radius: 12px; }
  .hdr__acts .iconbtn { width: 40px; height: 40px; }
  .hmenu-wrap { display: none; }
}
@media (max-width: 640px) {
  .hdr__top .hdr__in { width: calc(100% - 24px); gap: 9px; min-height: 64px; padding: 7px 0; }
  .brand { flex: 1 1 auto; justify-content: center; }
  .brand__logo--stacked { height: 47px; max-width: min(44vw, 158px); }
  .hdr__burger { width: 39px; height: 39px; flex: 0 0 39px; }
  .hdr__burger .ms { font-size: 22px; }
  .hdr__acts { gap: 5px; }
  .hdr__acts .iconbtn { width: 37px; height: 37px; border-radius: 11px; }
  .hdr__acts .iconbtn .ms { font-size: 19px; }
  .hdr__acts .btn { display: none !important; }
  .msearch {
    display: flex;
    width: calc(100% - 24px);
    margin: 0 auto 10px;
    padding: 4px 5px 4px 13px;
    min-height: 43px;
  }
  .msearch input { font-size: 16px; }
  .msearch button { width: 34px; height: 34px; border-radius: 9px; }
}
@media (max-width: 360px) {
  .hdr__top .hdr__in { width: calc(100% - 16px); gap: 6px; }
  .brand__logo--stacked { max-width: 126px; height: 43px; }
  .hdr__acts { gap: 3px; }
  .hdr__acts .iconbtn { width: 34px; height: 34px; }
}
