/* =====================================================================
   পালাজো এবং পেটিকোট হাউজ কুষ্টিয়া — Main Stylesheet
   Theme: minimal / aesthetic / pastel + gold
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --cream: #fdfaf6;
  --cream-2: #f8f2ea;
  --sand: #f3e9dd;
  --sand-2: #eaddcc;
  --blush: #f9e7e7;
  --blush-2: #f3d3d6;
  --pink: #e3a3af;
  --pink-dark: #c9808e;
  --gold: #c8a45d;
  --gold-2: #ebd08a;
  --gold-3: #a5813c;
  --ink: #45362c;
  --ink-2: #6b5749;
  --muted: #8f7f70;
  --line: #ebe0d2;
  --white: #ffffff;
  --green: #4b8b6f;
  --red: #c4635c;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 26px;

  --shadow-s: 0 2px 10px rgba(102, 78, 56, .07);
  --shadow: 0 10px 30px rgba(102, 78, 56, .10);
  --shadow-l: 0 22px 60px rgba(102, 78, 56, .16);

  --font-body: 'Hind Siliguri', 'Nirmala UI', 'SolaimanLipi', 'Noto Sans Bengali', system-ui, sans-serif;
  --font-display: 'Baloo Da 2', 'Hind Siliguri', 'Nirmala UI', serif;
  --font-script: 'Galada', 'Baloo Da 2', 'Hind Siliguri', cursive;

  --wrap: 1240px;
  --header-h: 74px;
}

/* ---------- 2. Reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.35; margin: 0 0 .5em; letter-spacing: .2px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: none; border-top: 1px solid var(--line); margin: 26px 0; }
::selection { background: var(--blush-2); }

/* ---------- 3. Utilities ---------- */
.wrap { width: min(100% - 36px, var(--wrap)); margin-inline: auto; }
.section { padding: 68px 0; }
.section--tight { padding: 44px 0; }
.section--sand { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 45%, var(--cream) 100%); }
.center { text-align: center; }
.muted { color: var(--muted); }
.hide { display: none !important; }
.flex { display: flex; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.gold-text {
  background: linear-gradient(100deg, #7d5f22 0%, #ab8433 25%, #dcbe74 48%, #ab8433 72%, #7d5f22 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.eyebrow {
  font-size: .8rem; letter-spacing: .6px;
  color: var(--gold-3); font-weight: 600; margin-bottom: 6px; display: block;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); margin-bottom: .25em; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .rule { width: 96px; height: 2px; margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border: 1px solid transparent; white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--gold {
  background: linear-gradient(120deg, var(--gold-3), var(--gold) 40%, var(--gold-2) 65%, var(--gold));
  color: #40300f; box-shadow: 0 8px 22px rgba(200, 164, 93, .38);
}
.btn--gold:hover { box-shadow: 0 12px 28px rgba(200, 164, 93, .5); transform: translateY(-2px); }
.btn--pink { background: var(--pink); color: #fff; box-shadow: 0 8px 22px rgba(227, 163, 175, .4); }
.btn--pink:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2f241c; transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .7); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: #fff; border-color: var(--gold); color: var(--gold-3); }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 34px; font-size: 1.02rem; }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- 5. Announcement bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-3));
  color: #fff6e0; font-size: .84rem; text-align: center; padding: 7px 14px;
  letter-spacing: .3px;
}
.topbar b { color: #fff; }

/* ---------- 6. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 250, 246, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 18px; height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__txt { line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; display: block; }
.brand__sub { font-size: .66rem; letter-spacing: 2.4px; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a {
  padding: 9px 15px; border-radius: 999px; font-size: .95rem; font-weight: 500;
  color: var(--ink-2); transition: .18s;
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a.is-active { background: var(--blush); color: var(--pink-dark); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  color: var(--ink-2); transition: .18s; position: relative;
}
.icon-btn:hover { background: var(--sand); color: var(--ink); }
.icon-btn svg { width: 21px; height: 21px; }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--pink); color: #fff; border-radius: 999px; font-size: .68rem;
  display: grid; place-items: center; font-weight: 700; border: 2px solid var(--cream);
}
.burger { display: none; }

/* search */
.search { position: relative; flex: 1; max-width: 340px; }
.search input {
  width: 100%; padding: 10px 16px 10px 40px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: .92rem; outline: none;
  transition: .18s;
}
.search input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 93, .14); }
.search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; color: var(--muted); }
.search__results {
  position: absolute; top: calc(100% + 9px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
  overflow: hidden; z-index: 80; max-height: 66vh; overflow-y: auto;
}
.search__row { display: flex; gap: 12px; align-items: center; padding: 10px 14px; transition: .15s; }
.search__row:hover { background: var(--cream-2); }
.search__row img { width: 46px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--sand); }
.search__row b { display: block; font-size: .92rem; font-weight: 600; }
.search__row span { font-size: .8rem; color: var(--muted); }
.search__empty { padding: 18px; text-align: center; color: var(--muted); font-size: .9rem; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 340px); background: var(--cream);
  z-index: 200; transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  padding: 22px; overflow-y: auto; box-shadow: var(--shadow-l);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer nav { display: block; }
.drawer nav a {
  display: block; padding: 13px 14px; border-radius: var(--radius-s); font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.drawer nav a:hover { background: var(--sand); }
.scrim {
  position: fixed; inset: 0; background: rgba(69, 54, 44, .45); z-index: 150;
  opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- 7. Hero slider ---------- */
.hero { position: relative; background: var(--sand); overflow: hidden; }
.hero__track { display: flex; transition: transform .7s cubic-bezier(.5, 0, .2, 1); }
.hero__slide { min-width: 100%; position: relative; }
.hero__scene { width: 100%; height: clamp(320px, 42vw, 560px); object-fit: cover; display: block; }
.hero__overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: flex-end; padding: 0 clamp(20px, 6vw, 90px); pointer-events: none;
  background: linear-gradient(90deg,
    rgba(253, 250, 246, 0) 40%, rgba(253, 250, 246, .55) 58%,
    rgba(253, 250, 246, .9) 74%, rgba(253, 250, 246, .96) 100%);
}
/* ছবিতে নাম আগে থেকেই লেখা থাকলে — শুধু বোতাম, কোনো পর্দা নয় */
.hero__overlay--plain { background: none; align-items: flex-end; justify-content: center; padding-bottom: 42px; }
.hero__panel { max-width: 460px; text-align: center; pointer-events: auto; }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 4.1vw, 3.1rem); line-height: 1.25; margin: 0 0 .18em;
  text-shadow: 0 2px 16px rgba(255, 255, 255, .95);
  background: linear-gradient(100deg, #6b5019 0%, #9b7526 20%, #d8b862 44%,
    #ab8231 62%, #75591e 88%, #6b5019 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero__tag {
  font-family: var(--font-script); font-size: clamp(.95rem, 1.7vw, 1.4rem);
  color: var(--gold-3); margin-bottom: 18px;
}
.hero__ornament { width: clamp(120px, 16vw, 190px); margin: 0 auto 10px; }
.hero__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255, 255, 255, .82); display: grid; place-items: center;
  box-shadow: var(--shadow); z-index: 5; color: var(--ink); transition: .2s;
}
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }
.hero__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero__dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .75); box-shadow: 0 1px 4px rgba(0,0,0,.15); transition: .2s; }
.hero__dots button.is-active { width: 26px; border-radius: 999px; background: var(--gold); }

/* ---------- 8. Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 20px 0; }
.trust__item { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 6px 10px; }
.trust__item svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.trust__item b { display: block; font-size: .93rem; }
.trust__item span { font-size: .78rem; color: var(--muted); }

/* ---------- 9. Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat {
  position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--blush);
  box-shadow: var(--shadow-s); transition: .3s; display: block;
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.cat img { width: 100%; height: 300px; object-fit: cover; }
.cat__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 16px; color: #fff;
  background: linear-gradient(to top, rgba(69, 54, 44, .8), transparent);
}
.cat__body b { font-family: var(--font-display); font-size: 1.14rem; display: block; }
.cat__body span { font-size: .8rem; opacity: .9; }

/* ---------- 10. Product card ---------- */
.grid-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); gap: 22px;
}
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: var(--shadow-s); transition: .28s ease; display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: var(--sand-2); }
.card__media { position: relative; display: block; background: var(--cream-2); overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; }
.tag {
  font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--pink); color: #fff; letter-spacing: .4px;
}
.tag--gold { background: linear-gradient(120deg, var(--gold-3), var(--gold-2)); color: #3d2d0c; }
.tag--green { background: var(--green); }
.tag--grey { background: var(--muted); }
.card__wish {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--muted);
  box-shadow: var(--shadow-s); transition: .2s; z-index: 2;
}
.card__wish:hover { color: var(--pink-dark); transform: scale(1.1); }
.card__wish.is-on { color: #fff; background: var(--pink); }
.card__wish svg { width: 17px; height: 17px; }
.card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .76rem; letter-spacing: .2px; color: var(--gold-3); font-weight: 500; }
.card__title { font-size: 1rem; font-weight: 600; margin: 3px 0 6px; line-height: 1.45; font-family: var(--font-body); }
.card__title a:hover { color: var(--pink-dark); }
.card__rating { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.card__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 11px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; color: var(--ink); }
.price--old { font-size: .88rem; color: var(--muted); text-decoration: line-through; font-family: var(--font-body); font-weight: 400; }
.card__swatches { display: flex; gap: 5px; margin-bottom: 11px; }
.swatch-dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* ---------- 11. Shop page ---------- */
.page-head { background: linear-gradient(180deg, var(--sand), var(--cream)); padding: 40px 0 34px; text-align: center; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 4px; }
.crumbs { font-size: .84rem; color: var(--muted); }
.crumbs a:hover { color: var(--gold-3); }

.shop-layout { display: grid; grid-template-columns: 258px 1fr; gap: 34px; align-items: start; }
.filters {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  position: sticky; top: calc(var(--header-h) + 16px); box-shadow: var(--shadow-s);
}
.filters h4 { font-size: .95rem; margin: 20px 0 10px; }
.filters h4:first-child { margin-top: 0; }
.f-opt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: .92rem; cursor: pointer; color: var(--ink-2); }
.f-opt input { accent-color: var(--pink); width: 16px; height: 16px; }
.f-opt:hover { color: var(--ink); }
.f-opt small { margin-left: auto; color: var(--muted); font-size: .78rem; }
.range-row { display: flex; align-items: center; gap: 8px; }
.range-row input { width: 100%; accent-color: var(--gold); }
.shop-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.select {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .9rem; outline: none;
}
.select:focus { border-color: var(--gold); }
.filter-toggle { display: none; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state svg { width: 66px; margin: 0 auto 14px; color: var(--sand-2); }

/* ---------- 12. Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; }
.gallery__main {
  background: var(--cream-2); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line);
  position: relative;
}
.gallery__main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery__thumbs button {
  width: 82px; border-radius: var(--radius-s); overflow: hidden; border: 2px solid transparent;
  background: var(--cream-2); transition: .2s;
}
.gallery__thumbs button.is-active { border-color: var(--gold); }
.gallery__thumbs img { aspect-ratio: 3/4; object-fit: cover; }
.zoom-hint { position: absolute; bottom: 12px; right: 12px; background: rgba(255,255,255,.9); border-radius: 999px; padding: 5px 13px; font-size: .76rem; color: var(--muted); }

.pd__title { font-size: clamp(1.45rem, 3vw, 2.05rem); margin-bottom: 6px; }
.pd__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .87rem; color: var(--muted); margin-bottom: 14px; }
.pd__price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 4px; }
.pd__price .price { font-size: 1.9rem; }
.save-pill { background: var(--blush); color: var(--pink-dark); font-size: .78rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.pd__desc { color: var(--ink-2); }
.opt-block { margin: 18px 0; }
.opt-block__label { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; font-weight: 600; margin-bottom: 9px; }
.opt-block__label a { color: var(--gold-3); font-weight: 500; font-size: .84rem; text-decoration: underline; cursor: pointer; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line); transition: .2s; position: relative;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-on { box-shadow: 0 0 0 2px var(--gold); transform: scale(1.08); }
.sizes { display: flex; gap: 9px; flex-wrap: wrap; }
.size-btn {
  min-width: 52px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: .9rem; transition: .2s; font-weight: 500;
}
.size-btn:hover { border-color: var(--gold); }
.size-btn.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 42px; font-size: 1.2rem; color: var(--ink-2); }
.qty button:hover { background: var(--sand); }
.qty input { width: 46px; text-align: center; border: none; outline: none; font-weight: 600; background: transparent; }
.pd__buy { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 16px; }
.pd__buy .btn { flex: 1; min-width: 168px; }
.pd__facts { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; font-size: .9rem; }
.pd__facts li { display: flex; gap: 10px; padding: 5px 0; color: var(--ink-2); }
.pd__facts svg { width: 18px; color: var(--gold); flex: none; margin-top: 5px; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs button {
  padding: 12px 20px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent;
  white-space: nowrap; transition: .2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.is-on { color: var(--ink); border-color: var(--gold); }
.tab-panel { display: none; animation: fade .35s ease; }
.tab-panel.is-on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { width: 190px; color: var(--muted); font-weight: 600; }
.spec-table tr:nth-child(odd) { background: var(--cream-2); }

.review { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--blush); color: var(--pink-dark); font-weight: 700; font-family: var(--font-display);
}
.review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review__head b { font-size: .96rem; }
.review__head time { font-size: .78rem; color: var(--muted); }
.verified { font-size: .72rem; background: #e6f2ec; color: var(--green); padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.rating-summary { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; background: var(--cream-2); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 10px; }
.rating-big { font-family: var(--font-display); font-size: 2.7rem; line-height: 1; }
.bar { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); }
.bar__track { width: 150px; height: 7px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--gold); }

.star-input { display: flex; gap: 4px; font-size: 1.7rem; color: var(--sand-2); }
.star-input span { cursor: pointer; transition: .15s; line-height: 1; }
.star-input span.is-on { color: var(--gold); }

/* ---------- 13. Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field label .req { color: var(--red); }
.input, textarea.input, select.input {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; outline: none; transition: .18s; font-size: .95rem;
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 93, .13); }
.input.is-error { border-color: var(--red); background: #fdf6f5; }
.err-msg { color: var(--red); font-size: .8rem; margin-top: 4px; display: none; }
.err-msg.is-on { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- 14. Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 370px; gap: 32px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.panel__head { padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; }
.panel__body { padding: 22px; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .95rem; color: var(--ink-2); }
.sum-row--total { border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 14px; font-size: 1.16rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); }

.citem { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); align-items: center; }
.citem:last-child { border-bottom: none; }
.citem img { width: 92px; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-s); background: var(--cream-2); }
.citem__name { font-weight: 600; font-size: .98rem; }
.citem__opts { font-size: .82rem; color: var(--muted); }
.citem__rm { color: var(--muted); font-size: .82rem; text-decoration: underline; margin-top: 6px; display: inline-block; }
.citem__rm:hover { color: var(--red); }
.citem__right { text-align: right; }

.coupon { display: flex; gap: 8px; }
.coupon .input { flex: 1; }

/* ---------- 15. Checkout ---------- */
.pay-opt {
  display: flex; gap: 14px; align-items: flex-start; padding: 15px 17px; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; cursor: pointer; transition: .2s; background: #fff;
}
.pay-opt:hover { border-color: var(--gold); }
.pay-opt.is-on { border-color: var(--gold); background: #fffcf5; box-shadow: 0 0 0 3px rgba(200, 164, 93, .12); }
.pay-opt input { accent-color: var(--gold); margin-top: 5px; width: 17px; height: 17px; }
.pay-opt__logo {
  width: 54px; height: 34px; border-radius: 7px; display: grid; place-items: center;
  font-size: .68rem; font-weight: 800; color: #fff; flex: none; letter-spacing: .3px;
}
.pay-opt b { display: block; font-size: .96rem; }
.pay-opt span { font-size: .82rem; color: var(--muted); }
.pay-detail { background: var(--cream-2); border-radius: var(--radius-s); padding: 14px 16px; margin: 4px 0 14px; font-size: .89rem; }
.pay-detail .num { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .6px; color: var(--ink); }
.copy-btn { font-size: .76rem; color: var(--gold-3); text-decoration: underline; margin-left: 8px; }

.steps { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--muted); }
.step i {
  width: 26px; height: 26px; border-radius: 50%; background: var(--sand); display: grid;
  place-items: center; font-style: normal; font-size: .8rem; font-weight: 700;
}
.step.is-on { color: var(--ink); font-weight: 600; }
.step.is-on i { background: var(--gold); color: #fff; }
.step__line { width: 34px; height: 1px; background: var(--line); }

.mini-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mini-item img { width: 52px; aspect-ratio: 3/4; object-fit: cover; border-radius: 7px; background: var(--cream-2); }

.success-card { max-width: 660px; margin: 0 auto; text-align: center; }
.success-ring {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: #e6f2ec; color: var(--green);
}
.success-ring svg { width: 42px; }
.order-box { background: var(--cream-2); border: 1px dashed var(--sand-2); border-radius: var(--radius); padding: 18px; margin: 20px 0; }
.order-box b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 1px; }

/* ---------- 16. Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-s); position: relative;
}
.tst__quote { font-family: var(--font-display); font-size: 3rem; color: var(--sand-2); line-height: .6; margin-bottom: 8px; display: block; }
.tst p { font-size: .94rem; color: var(--ink-2); }
.tst__who { display: flex; gap: 11px; align-items: center; margin-top: 14px; }

/* ---------- 17. Newsletter / CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blush), var(--sand) 60%, var(--blush-2));
  border-radius: var(--radius-l); padding: clamp(30px, 5vw, 56px); text-align: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.nl-form { display: flex; gap: 10px; max-width: 460px; margin: 18px auto 0; }
.nl-form .input { border-radius: 999px; }

/* ---------- 18. Footer ---------- */
.footer { background: #ffffff; border-top: 1px solid var(--line); padding: 54px 0 0; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px; }
.footer h4 { font-size: 1rem; margin-bottom: 14px; }
.footer li { padding: 4px 0; }
.footer a { color: var(--ink-2); font-size: .93rem; }
.footer a:hover { color: var(--gold-3); }
.footer__note { font-size: .9rem; color: var(--muted); }
.socials { display: flex; gap: 9px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--cream-2); display: grid;
  place-items: center; color: var(--ink-2); transition: .2s;
}
.socials a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pay-chip {
  padding: 5px 12px; border-radius: 7px; font-size: .72rem; font-weight: 800; color: #fff; letter-spacing: .3px;
}
.footer__bottom {
  border-top: 1px solid var(--line); margin-top: 40px; padding: 18px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .84rem; color: var(--muted);
}

/* ---------- 19. Floating chat ---------- */
.fab-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-l); transition: .22s;
}
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab svg { width: 27px; }
.fab--wa { background: #25d366; }
.fab--call { background: var(--gold); width: 48px; height: 48px; }
.fab--call svg { width: 22px; }
.fab--top { background: var(--ink); width: 44px; height: 44px; opacity: 0; pointer-events: none; }
.fab--top.is-on { opacity: 1; pointer-events: auto; }
.chat-card {
  width: min(86vw, 306px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-l);
  overflow: hidden; border: 1px solid var(--line); transform-origin: bottom right;
  transition: .25s ease; opacity: 0; transform: scale(.85) translateY(12px); pointer-events: none;
}
.chat-card.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-card__head { background: linear-gradient(120deg, var(--gold-3), var(--gold)); color: #fff; padding: 14px 16px; }
.chat-card__head b { display: block; }
.chat-card__head span { font-size: .78rem; opacity: .9; }
.chat-card__body { padding: 16px; font-size: .9rem; }
.chat-bubble { background: var(--cream-2); border-radius: 14px 14px 14px 4px; padding: 11px 14px; margin-bottom: 12px; color: var(--ink-2); }

/* ---------- 20. Modal + toast ---------- */
.modal {
  position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px;
  background: rgba(69, 54, 44, .5); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: .25s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__box {
  background: #fff; border-radius: var(--radius-l); width: min(100%, 620px); max-height: 86vh;
  overflow-y: auto; box-shadow: var(--shadow-l); transform: translateY(14px); transition: .25s;
}
.modal.is-open .modal__box { transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal__body { padding: 22px; }

.toast-wrap { position: fixed; top: calc(var(--header-h) + 14px); right: 18px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border-left: 4px solid var(--green); border-radius: var(--radius-s);
  box-shadow: var(--shadow-l); padding: 12px 18px; font-size: .9rem; min-width: 230px;
  animation: slideIn .3s ease; display: flex; gap: 10px; align-items: center;
}
.toast--err { border-color: var(--red); }
.toast svg { width: 19px; color: var(--green); flex: none; }
.toast--err svg { color: var(--red); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.toast.is-out { opacity: 0; transform: translateX(30px); transition: .3s; }

/* ---------- 21. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 22. Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row svg { width: 22px; color: var(--gold); flex: none; margin-top: 5px; }
.info-row b { display: block; font-size: .95rem; }
.info-row span { font-size: .9rem; color: var(--muted); }
.faq { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq__q { width: 100%; padding: 15px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 14px; align-items: center; text-align: left; }
.faq__q i { transition: .25s; color: var(--gold); font-size: 1.3rem; line-height: 1; font-style: normal; }
.faq.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a div { padding: 0 18px 16px; color: var(--ink-2); font-size: .93rem; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; gap: 30px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 940px) {
  .nav, .search { display: none; }
  .burger { display: grid; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filter-toggle { display: inline-flex; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero__overlay { justify-content: center; background: linear-gradient(90deg, rgba(253,250,246,.2), rgba(253,250,246,.72)); }
}
@media (max-width: 720px) {
  .section { padding: 46px 0; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card__body { padding: 11px 12px 13px; }
  .card__title { font-size: .9rem; }
  .price { font-size: 1.02rem; }
  .row-2 { grid-template-columns: 1fr; }
  .citem { grid-template-columns: 74px 1fr; gap: 12px; padding: 15px; }
  .citem img { width: 74px; }
  .citem__right { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__arrow { width: 36px; height: 36px; }
  .toast-wrap { left: 14px; right: 14px; }
  .gallery__thumbs button { width: 62px; }
  .spec-table td:first-child { width: 130px; }
}
@media (max-width: 420px) {
  .grid-products { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
}

/* ---------- 24. Print ---------- */
@media print {
  .header, .footer, .fab-wrap, .topbar, .hero__arrow, .hero__dots { display: none !important; }
  body { background: #fff; }
}
