/* =========================================================
   Aadriks storefront: clean, bright e-commerce layout
   White surfaces, warm chocolate-brown actions, gold accents (from the logo).
   ========================================================= */
:root {
    --ink: #241710;
    --ink-2: #3b2216;
    --ink-3: #5a3623;
    --gold: #d29b1e;
    --gold-deep: #9a6b0a;
    --gold-soft: #f6e7c1;
    --ivory: #fffdf9;
    --stone: #fbf4e8;
    --paper: #ffffff;
    --muted: #5f5148;
    --line: #eadfd0;
    --ok: #1b7f3b;
    --bad: #b3261e;
    --radius: 14px;
    --shadow: 0 14px 34px -18px rgba(36, 23, 16, .35);
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--ivory);
    --bs-link-color: var(--ink-2);
    --bs-link-hover-color: var(--gold-deep);
    --bs-border-color: var(--line);
}
html { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); font-size: 1rem; font-weight: 400; background: var(--ivory); color: var(--ink); line-height: 1.65; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, .display { font-family: var(--bs-body-font-family); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
em, .accent { font-style: normal; color: var(--gold-deep); }
a { text-decoration: none; transition: color .2s; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; left: 8px; top: 8px; z-index: 3000; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.text-muted, .muted { color: var(--muted) !important; }
::selection { background: var(--gold-soft); }
.on-dark { background: var(--ink-2); color: #f4ebe0; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark em, .on-dark .accent { color: var(--gold); }
.on-dark p { color: #e6d8c8; }

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; font-size: .95rem; padding: .7rem 1.4rem; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--gold); border: 2px solid var(--gold); color: var(--ink); }
.btn-sun:hover, .btn-sun:focus { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.on-dark .btn-sun:hover { background: #fff; border-color: #fff; color: var(--ink-2); }
.btn-cocoa { background: var(--ink-2); border: 2px solid var(--ink-2); color: #fff; }
.btn-cocoa:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-line { background: transparent; border: 2px solid var(--ink-2); color: var(--ink-2); }
.btn-line:hover { background: var(--ink-2); color: #fff; }
.on-dark .btn-line { border-color: #fff; color: #fff; }
.on-dark .btn-line:hover { background: #fff; color: var(--ink-2); }
.btn-lg { padding: .9rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1rem; font-size: .88rem; }
.btn-add { width: 100%; background: var(--ink-2); color: #fff; border: 2px solid var(--ink-2); padding: .62rem 1rem; font-size: .92rem; }
.btn-add:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-add.added { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-add:disabled { opacity: .75; }
.btn-ghost { background: var(--stone); border: 2px solid var(--stone); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--gold); }
.icon-btn { position: relative; width: 44px; height: 44px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--ink); border-radius: 10px; }
.icon-btn:hover { background: var(--stone); color: var(--ink); }
.cart-badge { position: absolute; top: -6px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: .74rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.cart-badge[hidden] { display: none; }
.cart-badge.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: 10px; border: 1.5px solid var(--line); background: #fff; padding: .7rem .95rem; color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(210, 155, 30, .25); }
.form-label { font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.form-text { color: var(--muted); }
.alert { border-radius: 10px; }

/* ---------- Top bar + header ---------- */
.announce { background: var(--ink-2); color: #f6e7c1; font-size: .88rem; padding: .45rem 0; }
.announce .container { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem 2rem; }
.announce span { position: relative; }
.announce span + span::before { content: ''; position: absolute; left: -1.1rem; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--gold); }
@media (max-width: 767.98px) { .announce span:nth-child(n+2) { display: none; } }
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 1px 0 var(--line); }
.hdr { display: flex; align-items: center; gap: 1.2rem; padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.hdr-search { flex: 1; display: flex; max-width: 640px; margin-inline: auto; position: relative; }
.hdr-search input { width: 100%; border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; padding: .72rem 1rem; background: var(--stone); font-size: .95rem; color: var(--ink); }
.hdr-search input:focus { outline: none; border-color: var(--gold); background: #fff; }
.hdr-search button { border: 0; background: var(--ink-2); color: #fff; padding: 0 1.2rem; border-radius: 0 12px 12px 0; font-size: 1.1rem; }
.hdr-search button:hover { background: var(--gold); color: var(--ink); }
.hdr-actions { display: flex; align-items: center; gap: .2rem; flex: none; }
.hdr-act { display: inline-flex; flex-direction: column; align-items: center; gap: 0; position: relative; padding: .35rem .7rem; border: 0; background: none; color: var(--ink); font-size: .78rem; font-weight: 600; line-height: 1.2; border-radius: 10px; }
.hdr-act i { font-size: 1.4rem; }
.hdr-act:hover { background: var(--stone); color: var(--ink); }
.hdr-act .cart-badge { top: 0; right: 4px; }
.catnav { border-top: 1px solid var(--line); background: #fff; }
.catnav .container { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.catnav a { padding: .7rem .95rem; font-weight: 600; font-size: .93rem; color: var(--ink); white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover { color: var(--gold-deep); }
.catnav a.active { border-color: var(--gold); color: var(--ink); }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a { padding: .85rem 0; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.offcanvas { background: var(--ivory); }
#cartDrawer { width: min(430px, 100vw); }
@media (max-width: 991.98px) {
    .hdr { flex-wrap: wrap; gap: .5rem .8rem; }
    .hdr .brand img { height: 46px; }
    .hdr-search { order: 5; flex: 1 0 100%; max-width: none; }
    .hdr-actions { margin-left: auto; }
    .hdr-act span { display: none; }
}

/* ---------- Bag drawer ---------- */
.mini-empty { text-align: center; padding: 4rem 1.5rem; color: var(--muted); }
.mini-empty i { font-size: 3rem; color: var(--line); }
.mini-ship { padding: .85rem 1.25rem; background: var(--stone); font-size: .9rem; }
.mini-ship .progress { height: 6px; margin-top: .45rem; background: #fff; border-radius: 6px; }
.mini-ship .progress-bar { background: var(--gold); transition: width .4s; }
.mini-ship i { color: var(--ok); }
.mini-list { list-style: none; margin: 0; padding: 0 1.25rem; flex: 1; overflow-y: auto; }
.mini-item { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); position: relative; }
.mini-item img { width: 72px; height: 72px; object-fit: cover; background: var(--stone); border-radius: 10px; }
.mini-info { flex: 1; min-width: 0; padding-right: 1.5rem; }
.mini-name { font-weight: 600; line-height: 1.3; display: block; font-size: .95rem; }
.mini-row { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.mini-remove { position: absolute; right: 0; top: 1rem; border: 0; background: none; color: var(--muted); }
.mini-remove:hover { color: var(--bad); }
.mini-foot { padding: 1.1rem 1.25rem 1.4rem; border-top: 1px solid var(--line); background: #fff; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; overflow: hidden; }
.qty button { width: 38px; height: 40px; border: 0; background: none; font-size: 1.15rem; color: var(--ink); }
.qty button:hover { background: var(--stone); }
.qty span, .qty input { min-width: 36px; text-align: center; font-weight: 600; border: 0; background: none; width: 46px; }
.qty input:focus { outline: none; }
.qty-sm button { width: 30px; height: 30px; font-size: 1rem; }
.qty-sm span { min-width: 28px; }

/* ---------- Toast + add-to-cart popup (slides in from the right) ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2100; }
.toast { background: var(--ink-2); color: #fff; border-radius: 10px; }
.toast .btn-close { filter: invert(1); }
.toast.error { background: var(--bad); }
.add-popup { position: fixed; top: 100px; right: 16px; width: min(360px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 2050; transform: translateX(calc(100% + 40px)); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; padding: 1rem 1.1rem 1.2rem; overflow: hidden; }
.add-popup.show { transform: none; opacity: 1; }
.add-popup-head { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.add-popup-head i { color: var(--ok); font-size: 1.2rem; }
.add-popup-close { position: absolute; right: 10px; top: 6px; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.add-popup-body { display: flex; gap: .9rem; align-items: center; }
.add-popup-body img { width: 70px; height: 70px; object-fit: cover; background: var(--stone); flex: none; border-radius: 10px; }
.add-popup-body strong { display: block; line-height: 1.3; font-size: .95rem; }
.add-popup-body small { color: var(--muted); display: block; }
.add-popup-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.add-popup-bar { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--gold); width: 100%; transform-origin: left; }
.add-popup.show .add-popup-bar { animation: shrink 5s linear forwards; }
.add-popup:hover .add-popup-bar { animation-play-state: paused; }
@keyframes shrink { to { transform: scaleX(0); } }

/* ---------- Layout helpers ---------- */
.section { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.section-sm { padding: clamp(1.6rem, 3vw, 2.4rem) 0; }
.bg-stone { background: var(--stone); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.sec-head p { margin: .4rem 0 0; color: var(--muted); max-width: 52ch; }
.rule { color: var(--gold-deep); font-size: .88rem; font-weight: 600; margin-bottom: .3rem; }
.link-arrow { font-weight: 600; font-size: .95rem; color: var(--ink-2); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold-deep); }
.page-head { background: var(--stone); padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); max-width: 60ch; margin: .6rem 0 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: .7rem; }
.crumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
.frame { position: relative; border-radius: 20px; overflow: hidden; background: var(--stone); }
.frame > img, .frame > .frame-in { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home: banner slider ---------- */
.banner { background: linear-gradient(180deg, var(--stone), #fff); padding: 1.4rem 0 .6rem; }
.banner-slide { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; background: var(--ink-2); border-radius: 26px; padding: clamp(1.6rem, 4vw, 3.2rem); color: #fff; position: relative; overflow: hidden; min-height: 420px; }
.banner-slide.alt { background: var(--gold-soft); color: var(--ink); }
.banner-slide::before { content: ''; position: absolute; right: -90px; top: -110px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(210, 155, 30, .45), rgba(210, 155, 30, 0) 70%); pointer-events: none; }
.banner-slide h1, .banner-slide h2 { color: inherit; }
.banner-slide.alt h2 { color: var(--ink); }
.banner-tag { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .85rem; padding: .25rem .9rem; border-radius: 999px; margin-bottom: 1rem; }
.banner-slide p.lead { font-size: 1.1rem; max-width: 46ch; margin: 1rem 0 1.6rem; color: #eadccb; }
.banner-slide.alt p.lead { color: var(--ink-3); }
.banner-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.banner-slide.alt .btn-line { border-color: var(--ink-2); color: var(--ink-2); }
.banner-slide.alt .btn-line:hover { background: var(--ink-2); color: #fff; }
.banner-img { position: relative; z-index: 1; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .1); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.banner-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-price { display: flex; align-items: baseline; gap: .6rem; margin-bottom: 1.3rem; }
.banner-price b { font-size: 1.8rem; }
.banner-price s { opacity: .7; }
.carousel-indicators { position: static; margin: 1rem 0 0; }
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--ink-2); opacity: .25; margin: 0 5px; }
.carousel-indicators .active { opacity: 1; background: var(--gold); width: 26px; border-radius: 6px; }
@media (max-width: 767.98px) { .banner-slide { grid-template-columns: 1fr; min-height: 0; } .banner-img { order: -1; width: min(100%, 300px); } }

/* ---------- Home: trust row, categories, promos ---------- */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.4rem; margin-top: -2px; }
.trust-row .it { display: flex; align-items: center; gap: .8rem; }
.trust-row i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; font-size: 1.3rem; }
.trust-row strong { display: block; font-size: .95rem; line-height: 1.3; }
.trust-row small { color: var(--muted); }
@media (max-width: 991.98px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .trust-row { grid-template-columns: 1fr; } }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-tile { display: block; text-align: center; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: .8rem .8rem 1.1rem; transition: box-shadow .25s, transform .25s, border-color .25s; }
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--gold); }
.cat-img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--stone); margin-bottom: .9rem; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-tile:hover .cat-img img { transform: scale(1.06); }
.cat-tile h3 { font-size: 1.05rem; margin: 0 0 .1rem; }
.cat-tile small { color: var(--muted); }
@media (max-width: 767.98px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.promo { border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; min-height: 220px; justify-content: center; position: relative; overflow: hidden; }
.promo.brown { background: var(--ink-2); color: #fff; }
.promo.brown h3, .promo.brown p { color: #fff; }
.promo.gold { background: var(--gold-soft); }
.promo h3 { font-size: 1.5rem; margin: 0; }
.promo p { margin: 0 0 .8rem; max-width: 36ch; }
.promo i.big { position: absolute; right: 1.2rem; bottom: -.6rem; font-size: 7rem; opacity: .12; }
@media (max-width: 767.98px) { .promo-grid { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s, border-color .3s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--gold); }
.pcard-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .7s; }
.pcard-media .alt { opacity: 0; }
.pcard:hover .pcard-media .alt { opacity: 1; }
.pcard:hover .pcard-media img:first-child { transform: scale(1.04); }
.pcard-tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: .2rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--gold); color: var(--ink); }
.pcard-tag.sold { background: var(--ink-2); color: #fff; }
.pcard-body { padding: .95rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.pcard-cat { font-size: .82rem; color: var(--muted); }
.pcard-title { font-size: 1.02rem; font-weight: 600; margin: 0; line-height: 1.35; letter-spacing: 0; min-height: 2.75em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a { color: var(--ink); }
.pcard-title a:hover { color: var(--gold-deep); }
.pcard-rating { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .85rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .55rem; margin: .2rem 0 .7rem; }
.price .now { font-weight: 700; font-size: 1.2rem; }
.price s { color: var(--muted); font-size: .9rem; }
.price .pcard-save { color: var(--ok); font-weight: 700; font-size: .88rem; }
.pcard-body .btn-add { margin-top: auto; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: .95rem; }
.stars.sm { font-size: .82rem; }

/* ---------- Gift, story ---------- */
.gift-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gift-visual { max-width: 440px; width: 100%; margin-inline: auto; aspect-ratio: 1; }
.gift-steps { list-style: none; counter-reset: step; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 1rem; }
.gift-steps li { counter-increment: step; display: flex; gap: 1rem; align-items: flex-start; }
.gift-steps li::before { content: counter(step); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.gift-steps strong { display: block; }
.gift-steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 991.98px) { .gift-grid { grid-template-columns: 1fr; } .gift-visual { order: -1; max-width: 360px; } }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story-img { aspect-ratio: 4 / 5; max-width: 440px; width: 100%; margin-inline: auto; }
@media (max-width: 767.98px) { .story-grid { grid-template-columns: 1fr; } .story-img { order: -1; max-width: 340px; } }

/* ---------- Reviews, journal, faq ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.quote p { margin: 0; }
.quote footer { margin-top: auto; font-size: .92rem; color: var(--muted); }
.quote footer strong { color: var(--ink); }
.quote img.rv-img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.post-card { display: block; color: var(--ink); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); margin-bottom: 1rem; border-radius: 16px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card h2, .post-card h3 { margin-bottom: .4rem; }
.post-card time { color: var(--muted); font-size: .88rem; font-weight: 600; }
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-bg: transparent; --bs-accordion-active-bg: var(--stone); --bs-accordion-active-color: var(--ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(210, 155, 30, .3); }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { box-shadow: none; }

/* ---------- Shop ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; font-size: .92rem; color: var(--ink); }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; color: var(--line); }
.pagination { --bs-pagination-active-bg: var(--ink-2); --bs-pagination-active-border-color: var(--ink-2); --bs-pagination-color: var(--ink-2); --bs-pagination-hover-color: var(--ink-2); --bs-pagination-focus-color: var(--ink-2); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.gal-main { position: relative; aspect-ratio: 1; background: var(--stone); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.gal-main > img { width: 100%; height: 100%; object-fit: cover; }
.gal-main .pcard-off { position: absolute; left: 14px; top: 14px; background: var(--gold); color: var(--ink); font-weight: 700; padding: .25rem .8rem; border-radius: 999px; font-size: .85rem; z-index: 2; }
.gal-thumbs { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }
.gal-thumbs button { width: 74px; height: 74px; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--stone); }
.gal-thumbs button.active { border-color: var(--gold); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-sticky { position: sticky; top: 150px; }
.pdp-price { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: .8rem 0 1rem; }
.pdp-price .now { font-size: 2rem; font-weight: 700; }
.pdp-price s { color: var(--muted); font-size: 1.15rem; }
.pdp-price .save { background: var(--gold-soft); color: var(--gold-deep); padding: .15rem .8rem; font-size: .88rem; font-weight: 700; border-radius: 999px; }
.pdp-points { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .45rem; }
.pdp-points li i { color: var(--ok); margin-right: .55rem; }
.custom-box { background: var(--stone); border: 1.5px dashed var(--gold); border-radius: 16px; padding: 1.2rem 1.3rem; margin: 1.2rem 0; }
.custom-box h2 { font-size: 1.25rem; margin-bottom: .2rem; }
.buy-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: stretch; margin-top: 1.2rem; }
.stock-note.low { color: #b3541e; font-weight: 600; }
.stock-note.out { color: var(--bad); font-weight: 600; }
.spec-acc .accordion-item { border-left: 0; border-right: 0; }
.spec-acc .accordion-body { white-space: pre-line; color: #43372e; }
.trust-mini { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.4rem; font-size: .92rem; color: var(--muted); }
.trust-mini i { color: var(--gold-deep); margin-right: .35rem; }
.review-list { display: grid; gap: 1rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; }
.review-card .who { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; flex-wrap: wrap; }
.review-card .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink-2); color: var(--gold); display: grid; place-items: center; font-weight: 700; }
.review-card img.rv-img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; margin-top: .6rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 1.7rem; color: var(--line); cursor: pointer; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 3px solid var(--gold); }
@media (max-width: 991.98px) { .pdp { grid-template-columns: 1fr; } .pdp-sticky { position: static; } .gal-main { max-width: 520px; } }

/* ---------- Cart / checkout / order ---------- */
.cart-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row img { width: 96px; height: 96px; object-fit: cover; background: var(--stone); border-radius: 12px; }
.cart-row h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.cart-row .line-total { font-weight: 700; font-size: 1.1rem; text-align: right; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; position: sticky; top: 150px; box-shadow: var(--shadow); }
.summary-card .row-line { display: flex; justify-content: space-between; padding: .35rem 0; }
.summary-card .total-line { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .9rem; font-size: 1.25rem; font-weight: 700; }
.secure-note { display: flex; gap: .6rem; align-items: center; font-size: .9rem; color: var(--muted); margin-top: 1rem; }
.secure-note i { color: var(--ok); font-size: 1.3rem; }
.pay-overlay { position: fixed; inset: 0; background: rgba(36, 23, 16, .75); z-index: 3000; display: none; place-items: center; text-align: center; color: #fff; padding: 1rem; }
.pay-overlay.show { display: grid; }
.pay-overlay .box { background: var(--ink-2); border-radius: 18px; padding: 2rem 2.2rem; max-width: 420px; }
.spinner-gold { width: 38px; height: 38px; border: 3px solid var(--ink-3); border-top-color: var(--gold); border-radius: 50%; margin: 0 auto 1rem; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.timeline { display: flex; justify-content: space-between; position: relative; margin: 2rem 0 1rem; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 6%; right: 6%; top: 16px; height: 3px; background: var(--line); }
.timeline li { position: relative; text-align: center; flex: 1; font-size: .9rem; color: var(--muted); }
.timeline li .dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto .5rem; display: grid; place-items: center; position: relative; z-index: 1; }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done .dot { background: var(--gold); border-color: var(--gold); }
.success-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 2.3rem; margin: 0 auto 1rem; }
@media (max-width: 575.98px) { .cart-row { grid-template-columns: 76px 1fr; } .cart-row img { width: 76px; height: 76px; } .cart-row .line-total { grid-column: 2; text-align: left; } .timeline li { font-size: .78rem; } }

/* ---------- Auth / info ---------- */
.auth-card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; height: 100%; }
.info-card > i { font-size: 1.5rem; color: var(--gold-deep); }
.prose { max-width: 74ch; font-size: 1.05rem; line-height: 1.8; }
.prose h2, .prose h3 { margin: 2rem 0 .7rem; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose img { height: auto; border-radius: 14px; }

/* ---------- About ---------- */
.about-hero-img { aspect-ratio: 16 / 7; background: var(--stone); overflow: hidden; border-radius: 22px; }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.chapter:nth-child(even) .chapter-img { order: 2; }
.chapter-img { aspect-ratio: 1; max-width: 420px; width: 100%; margin-inline: auto; }
.chapter .year { display: inline-block; color: var(--gold-deep); font-weight: 700; margin-bottom: .6rem; }
@media (max-width: 767.98px) { .chapter { grid-template-columns: 1fr; } .chapter:nth-child(even) .chapter-img { order: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: #2a1810; color: #e3d4c4; padding: 4rem 0 2rem; margin-top: 4rem; }
.site-footer a { color: #f1e6d9; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand img { height: 74px; }
.foot-text { color: #c9b8a6; max-width: 38ch; }
.foot-h { font-size: 1.05rem; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.foot-links, .foot-contact { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.foot-contact li { display: flex; gap: .7rem; }
.foot-contact i { color: var(--gold); }
.foot-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #6a4a3a; display: grid; place-items: center; font-size: 1.1rem; }
.foot-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.newsletter .form-control { border: 0; border-radius: 10px 0 0 10px; }
.newsletter .btn { border-radius: 0 10px 10px 0; white-space: nowrap; }
.nl-msg.ok { color: #b9e29a; }
.nl-msg.err { color: #ffb4a8; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-top: 1px solid #4a3224; margin-top: 3rem; padding-top: 1.5rem; color: #b9a794; }
.foot-pay { display: flex; gap: .6rem; align-items: center; }
.foot-pay img { background: #fff; padding: 2px 6px; height: 28px; width: auto; border-radius: 4px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1020; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.7rem; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .4); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .announce, .site-header, .site-footer, .wa-float, .toast-wrap, .add-popup, .no-print { display: none !important; } }

/* =========================================================
   RESPONSIVE: 1200+, 1199, 992, 991, 767, 575, 420, 320
   ========================================================= */
html, body { max-width: 100%; }
body { overflow-x: clip; }
.pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* default: large desktop */

/* ---- 1200px and wider: large desktop ---- */
@media (min-width: 1200px) {
    .hdr-search { max-width: 680px; }
    .banner-slide { min-height: 460px; }
    .catnav .container { justify-content: center; }
}

/* ---- up to 1199px: laptops and small desktops ---- */
@media (max-width: 1199.98px) {
    .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
    .hdr { gap: 1rem; }
    .hdr-search { max-width: 520px; }
    .catnav a { padding: .7rem .7rem; font-size: .9rem; }
    .banner-slide { min-height: 400px; }
    .cat-grid { gap: 1rem; }
    .trust-row { padding: 1rem; }
    .trust-row i { width: 42px; height: 42px; }
}

/* ---- 992px and wider: desktop layout ---- */
@media (min-width: 992px) {
    .hdr-act span { display: inline; }
    .offcanvas.offcanvas-start { display: none; }   /* mobile menu is not needed on desktop */
}

/* ---- up to 991px: tablets ---- */
@media (max-width: 991.98px) {
    .section { padding: 2.6rem 0; }
    .sec-head { margin-bottom: 1.4rem; }
    .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .summary-card { position: static; }
    .pdp-sticky { position: static; }
    .page-head { padding: 2rem 0; }
    .site-footer { padding-top: 3rem; }
    .banner-slide { padding: 2rem; }
}

/* ---- up to 767px: large phones and small tablets ---- */
@media (max-width: 767.98px) {
    body { font-size: 1rem; }
    .hdr-search input { font-size: 1rem; }
    .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
    .banner { padding-top: .8rem; }
    .banner-slide { border-radius: 20px; padding: 1.5rem; gap: 1.2rem; }
    .banner-actions .btn { flex: 1 1 auto; }
    .sec-head { align-items: flex-start; }
    .promo { min-height: 190px; }
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quotes { grid-template-columns: 1fr; }
    .foot-bottom { justify-content: center; text-align: center; }
    .about-hero-img { aspect-ratio: 16 / 9; border-radius: 16px; }
    .add-popup { top: 78px; }
}

/* ---- up to 575px: phones ---- */
@media (max-width: 575.98px) {
    .container { padding-left: 14px; padding-right: 14px; }
    .section { padding: 2.2rem 0; }
    .section-sm { padding: 1.2rem 0; }
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.45rem; }
    .btn-lg { padding: .8rem 1.4rem; font-size: .98rem; }
    .hdr { padding-top: .5rem; padding-bottom: .5rem; }
    .hdr .brand img { height: 40px; }
    .hdr-act { padding: .3rem .5rem; }
    .banner-slide { padding: 1.2rem; }
    .banner-img { width: min(100%, 280px); }
    .banner-slide p.lead { font-size: 1rem; margin: .8rem 0 1.2rem; }
    .banner-actions .btn { width: 100%; }
    .banner-price b { font-size: 1.5rem; }
    .trust-row { grid-template-columns: 1fr 1fr; gap: .8rem; padding: .9rem; }
    .trust-row .it { gap: .6rem; }
    .trust-row i { width: 38px; height: 38px; font-size: 1.1rem; }
    .trust-row strong { font-size: .88rem; }
    .trust-row small { font-size: .8rem; }
    .cat-tile { padding: .55rem .55rem .8rem; border-radius: 14px; }
    .cat-tile h3 { font-size: .98rem; }
    .promo { padding: 1.3rem; border-radius: 18px; }
    .promo h3 { font-size: 1.25rem; }
    .pcard { border-radius: 12px; }
    .pcard-body { padding: .7rem .7rem .85rem; }
    .pcard-title { font-size: .95rem; }
    .pcard-cat { font-size: .78rem; }
    .price .now { font-size: 1.08rem; }
    .btn-add { padding: .55rem .5rem; font-size: .88rem; }
    .gift-visual, .story-img, .chapter-img { max-width: 300px; }
    .pdp-price .now { font-size: 1.7rem; }
    .buy-row .qty { flex: 0 0 auto; }
    .buy-row .btn { flex: 1 1 100%; }
    .gal-thumbs button { width: 62px; height: 62px; }
    .summary-card { padding: 1.1rem; border-radius: 14px; }
    .auth-card { padding: 1.4rem 1.1rem; border-radius: 16px; }
    .timeline li { font-size: .74rem; }
    .timeline li .dot { width: 28px; height: 28px; }
    .timeline::before { top: 13px; }
    .page-head { padding: 1.6rem 0; }
    .prose { font-size: 1rem; }
    .wa-float { width: 48px; height: 48px; font-size: 1.5rem; right: 12px; bottom: 12px; }
    .add-popup { right: 10px; width: calc(100vw - 20px); padding: .9rem; }
    .foot-pay img { height: 24px; }
    #cartDrawer { width: 100vw; }
    .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
    .chip { white-space: nowrap; }
}

/* ---- up to 420px: small phones ---- */
@media (max-width: 420px) {
    .pgrid { gap: .7rem; }
    .pcard-body { padding: .6rem .55rem .75rem; }
    .pcard-title { font-size: .9rem; min-height: 2.7em; }
    .price { gap: .1rem .4rem; }
    .price .now { font-size: 1rem; }
    .price s, .price .pcard-save { font-size: .8rem; }
    .btn-add { font-size: .84rem; }
    .btn-add i { display: none; }
    .banner-img { width: min(100%, 240px); }
    .trust-row { grid-template-columns: 1fr; }
    .cart-row { gap: .8rem; }
    .gal-thumbs { gap: .5rem; }
    .gal-thumbs button { width: 56px; height: 56px; }
    .announce { font-size: .82rem; }
    .accordion-button { padding: .9rem 1rem; font-size: .95rem; }
    .mini-item img { width: 62px; height: 62px; }
    .star-input label { font-size: 1.5rem; }
}

/* ---- up to 360px (incl. 320px): very small phones ---- */
@media (max-width: 359.98px) {
    .container { padding-left: 12px; padding-right: 12px; }
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    .pgrid { grid-template-columns: 1fr; }
    .pcard { flex-direction: row; align-items: stretch; }
    .pcard-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 150px; }
    .pcard-body { flex: 1; min-width: 0; justify-content: center; }
    .pcard-title { min-height: 0; }
    .hdr { gap: .4rem; }
    .hdr .brand img { height: 34px; max-width: 110px; }
    .hdr-act { padding: .25rem .35rem; }
    .icon-btn { width: 40px; height: 40px; }
    .cat-grid { gap: .6rem; }
    .cat-tile h3 { font-size: .9rem; }
    .cat-tile small { font-size: .78rem; }
    .banner-slide { padding: 1rem; border-radius: 16px; }
    .banner-img { width: min(100%, 200px); }
    .banner-tag { font-size: .78rem; }
    .btn-lg { padding: .7rem 1rem; font-size: .92rem; }
    .cart-row { grid-template-columns: 64px 1fr; }
    .cart-row img { width: 64px; height: 64px; }
    .qty button { width: 34px; height: 36px; }
    .qty input { width: 38px; }
    .timeline li { font-size: .68rem; }
    .foot-social a { width: 36px; height: 36px; }
    .newsletter .input-group { flex-wrap: wrap; }
    .newsletter .form-control, .newsletter .btn { border-radius: 10px; width: 100%; flex: 1 1 100%; }
    .newsletter .btn { margin-top: .5rem; }
}
