/* Khaash — light, minimal home & living theme */
:root {
  --bg: #fdfcfa;
  --bg-soft: #f6f2ec;
  --bg-muted: #efe9e0;
  --ink: #2f2a24;
  --ink-soft: #6f665b;
  --line: #e7e0d5;
  --accent: #8a6d4b;
  --accent-soft: #c9b79c;
  --sage: #8c9a84;
  --danger: #b4533f;
  --success: #5f7f5a;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(47, 42, 36, .06);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font: 300 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.left { text-align: left; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.eyebrow { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; font-weight: 400; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent; background: none; cursor: pointer; font-size: .92rem; font-weight: 400; letter-spacing: .03em; transition: .2s ease; white-space: nowrap; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-link { padding: .5rem 0; border-radius: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-soft); }
.btn-sm { padding: .5rem 1rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--bg-soft); }

/* Header */
.announcement { background: var(--bg-muted); text-align: center; font-size: .8rem; letter-spacing: .04em; padding: .55rem 1rem; color: var(--ink-soft); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 252, 250, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.logo { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; letter-spacing: .06em; line-height: 1; color: var(--ink); }
.logo:hover { color: var(--ink); }
.main-nav { display: flex; gap: 1.6rem; margin: 0 auto; }
.main-nav a { font-size: .88rem; letter-spacing: .03em; padding: .3rem 0; border-bottom: 1px solid transparent; }
.main-nav a.active, .main-nav a:hover { border-color: var(--accent); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .25rem; }
.search-form { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding-left: .9rem; background: #fff; }
.search-form input, .search-form input[type=search] { border: 0; border-radius: 0; outline: 0; width: 130px; background: none; font-size: .88rem; padding: .45rem 0; box-shadow: none; }
.search-form .icon-btn { width: 36px; height: 36px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .68rem; display: grid; place-items: center; }
.cart-count:empty { display: none; }
.menu-toggle { display: none; }

/* Alerts */
.flash-wrap { padding-top: 1rem; }
.alert { padding: .85rem 1.1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .92rem; border: 1px solid; }
.alert-success { background: #f1f6ef; border-color: #cfe0ca; color: #3f5b3b; }
.alert-error { background: #fbf0ed; border-color: #efcfc6; color: #8d3b2a; }
.alert-info { background: #f5f1ea; border-color: var(--line); }
.notice { background: var(--bg-soft); border-radius: var(--radius); padding: .9rem 1.1rem; font-size: .92rem; margin-bottom: 1rem; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 1.8rem; }
.hero-actions.center { justify-content: center; }
.hero-slider { position: relative; width: 100%; max-width: 470px; margin-left: auto; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-muted); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; color: #fff; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(30, 25, 20, .7)); }
.hero-slide-caption { position: absolute; left: 24px; right: 24px; bottom: 48px; z-index: 1; display: flex; flex-direction: column; gap: .2rem; }
.hero-slide-caption small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.hero-slide-caption strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.15; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-slide-caption em { font-style: normal; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }
.hero-slide:hover { color: #fff; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.hero-slider:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .3s, background .3s; }
.slider-dots button.is-active { width: 24px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide img { transition: none; transform: none; } }

.perks { border-block: 1px solid var(--line); }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perks-grid div { padding: 1.3rem 1rem; text-align: center; display: flex; flex-direction: column; }
.perks-grid div + div { border-left: 1px solid var(--line); }
.perks-grid strong { font-weight: 500; font-size: .92rem; }
.perks-grid span { font-size: .8rem; color: var(--ink-soft); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-tight { padding: 2.2rem 0 4rem; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.page-head { padding: 3rem 0 1.2rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head .lead { max-width: 640px; }
.breadcrumbs { font-size: .8rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.category-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-muted); }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-tile:hover img { transform: scale(1.04); }
.category-tile span { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); padding: .65rem; text-align: center; border-radius: 8px; font-size: .9rem; color: var(--ink); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.4rem; }
.product-card { display: flex; flex-direction: column; }
.product-card-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-muted); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body { padding-top: .9rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card-body h3 { font-size: 1.12rem; margin: 0; }
.product-card .quick-add { margin-top: auto; padding-top: .5rem; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; letter-spacing: .04em; }
.price .badge, .product-info .badge { position: static; background: var(--sage); }
.badge-muted { background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; font-weight: 400; }
.price del { color: var(--ink-soft); font-size: .88em; }
.price-lg { font-size: 1.4rem; margin: .4rem 0 1.2rem; }

.split-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-banner img { border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }

/* Toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-size: .85rem; background: #fff; }
.chip.active, .chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips-sub { margin: -.4rem 0 1.2rem; }
.chips-sub .chip { font-size: .8rem; padding: .35rem .85rem; }
.chips-sub .chip .muted { font-size: .75rem; }
.chips-sub .chip.active .muted, .chips-sub .chip:hover .muted { color: rgba(255, 255, 255, .7); }
.toolbar-form { display: flex; gap: 1rem; align-items: center; }
select, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], textarea {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .7rem .9rem; width: 100%; font-weight: 300;
}
.toolbar-form select { width: auto; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138, 109, 75, .12); }
.check { display: inline-flex; gap: .5rem; align-items: center; cursor: pointer; }
.check input { accent-color: var(--ink); }

.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .9rem; }
.pagination a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--ink-soft); }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-thumbs button { border: 1px solid var(--line); padding: 0; border-radius: 8px; overflow: hidden; width: 64px; cursor: pointer; background: #fff; opacity: .7; }
.gallery-thumbs button.active { border-color: var(--ink); opacity: 1; }
.specs { display: grid; grid-template-columns: 110px 1fr; gap: .45rem 1rem; margin: 1.5rem 0; font-size: .92rem; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; }
.stock { font-size: .85rem; padding: .15rem .6rem; border-radius: 999px; }
.stock-in { background: #eef3ec; color: var(--success); }
.stock-low { background: #fbf2e4; color: #9a6a26; }
.stock-out { background: #f7ebe8; color: var(--danger); }
.add-to-cart { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.option-picker { border: 0; padding: 0; margin: 0 0 .2rem; width: 100%; display: flex; flex-wrap: wrap; gap: .5rem; }
.option-picker legend { font-size: .9rem; margin-bottom: .6rem; padding: 0; color: var(--ink-soft); }
.option-picker legend span { color: var(--ink); font-weight: 500; }
.option-pill { position: relative; cursor: pointer; }
.option-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-pill span { display: inline-block; min-width: 72px; text-align: center; padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; transition: .15s; }
.option-pill:hover span { border-color: var(--ink); }
.option-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.option-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 42px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 46px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { box-shadow: none; }
.qty-sm button { width: 32px; height: 34px; }
.qty-sm input { width: 36px; }
.assurance { list-style: none; padding: 1.1rem 1.2rem; margin: 0 0 1.5rem; background: var(--bg-soft); border-radius: var(--radius); font-size: .9rem; display: grid; gap: .35rem; }
.assurance li::before { content: "✓"; color: var(--accent); margin-right: .6rem; }
.accordion { border-top: 1px solid var(--line); padding: 1rem 0; }
.accordion:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; font-weight: 400; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::after { content: "+"; font-size: 1.2rem; }
.accordion[open] summary::after { content: "−"; }
.accordion summary::-webkit-details-marker { display: none; }
.rich-text { color: #4a433a; }
.rich-text h2 { margin-top: 1.6em; }
.rich-text ul { padding-left: 1.2rem; }
.rich-text li { margin-bottom: .35rem; }
.rich-text ol { padding-left: 1.4rem; }
.rich-text ol li { margin-bottom: .5rem; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .95rem; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.rich-text th { background: var(--bg-muted); color: var(--ink); font-weight: 500; }
.rich-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Cart & checkout */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { border-radius: 8px; aspect-ratio: 1 / 1; object-fit: cover; }
.cart-line-info { display: flex; flex-direction: column; gap: .3rem; }
.cart-line-name { font-family: var(--serif); font-size: 1.2rem; }
.cart-line-actions { display: flex; align-items: center; gap: 1rem; margin-top: .3rem; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 100px; box-shadow: var(--shadow); }
.summary h2 { font-size: 1.5rem; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin: 1rem 0 1.4rem; }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-weight: 500; font-size: 1.1rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.summary-lines { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.summary-lines em { color: var(--ink-soft); font-style: normal; }
.checkout-form h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.checkout-form h2:first-child { margin-top: 0; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; flex: 1; }
.field > span { font-size: .85rem; color: var(--ink-soft); }
.field-row { display: flex; gap: 1rem; }
.field-error { color: var(--danger); }
.has-error input, .has-error select { border-color: var(--danger); }
.payment-options { display: grid; gap: .7rem; }
.payment-option { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; cursor: pointer; background: #fff; }
.payment-option.is-selected { border-color: var(--ink); background: var(--bg-soft); cursor: default; align-items: center; }
.payment-option .payment-icon { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.payment-option input { margin-top: .3rem; accent-color: var(--ink); }
.payment-option span { display: flex; flex-direction: column; }
.payment-option strong { font-weight: 500; }
.payment-option small { color: var(--ink-soft); }
.success-mark { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.2rem; background: #eef3ec; color: var(--success); display: grid; place-items: center; font-size: 2rem; }
.container.center .summary { position: static; margin: 2rem 0; }
.track-form { display: flex; gap: 1rem; align-items: flex-end; margin-bottom: 2rem; }
.track-form .btn { margin-bottom: 1rem; }
.progress { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; }
.progress li { flex: 1; text-align: center; font-size: .78rem; color: var(--ink-soft); position: relative; padding-top: 1.6rem; }
.progress li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--line); z-index: 1; }
.progress li::after { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.progress li:first-child::after { display: none; }
.progress li.done { color: var(--ink); }
.progress li.done::before, .progress li.done::after { background: var(--accent); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.post-card-media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 1rem; background: var(--bg-muted); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card time, .post-header time { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.post-card h3 { font-size: 1.4rem; margin: .3rem 0 .5rem; }
.post-card p { color: var(--ink-soft); font-size: .92rem; }
.post-header { margin: 1rem 0 2rem; }
.post-cover { border-radius: var(--radius); margin-bottom: 2.5rem; width: 100%; aspect-ratio: 12 / 7; object-fit: cover; }
.post-body { font-size: 1.05rem; }
.share { display: flex; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; }
.share a { text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-top: 3.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-grid a:not(.logo) { display: block; font-size: .9rem; color: var(--ink-soft); padding: .2rem 0; }
.footer-grid a:hover { color: var(--ink); }
.logo-footer { display: inline-block; margin-bottom: 1rem; }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; max-width: 360px; }
.newsletter input { border-radius: 999px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--ink-soft); padding-block: 1.2rem; border-top: 1px solid var(--line); }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); z-index: 60; }
.whatsapp-float:hover { color: #fff; transform: translateY(-2px); }

/* Order on WhatsApp, price note, live viewers */
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.price-note { font-size: .85rem; color: var(--ink-soft); margin: -.4rem 0 1rem; }
.live-viewers[hidden] { display: none; }
.live-viewers { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-soft); margin: .2rem 0 0; }
.live-viewers::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e0493b; box-shadow: 0 0 0 0 rgba(224, 73, 59, .5); animation: live-pulse 1.8s infinite; flex: none; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 7px rgba(224, 73, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 73, 59, 0); } }

/* Recent order pop-up */
.live-toast { position: fixed; left: 20px; bottom: 20px; z-index: 55; display: flex; align-items: center; gap: .8rem; max-width: 340px; padding: .7rem 2.2rem .7rem .7rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.live-toast.show { opacity: 1; transform: none; }
.live-toast img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.live-toast span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.live-toast small { font-size: .75rem; color: var(--ink-soft); }
.live-toast strong { font-size: .85rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.live-toast em { font-style: normal; font-size: .72rem; color: var(--accent); }
.live-toast-close { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 1.1rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: .3rem; }
@media (prefers-reduced-motion: reduce) { .live-toast { transition: none; } .live-viewers::before { animation: none; } }

/* SEO text blocks */
.seo-text { font-size: .95rem; }
.seo-text h2 { font-size: 1.6rem; }
.seo-text h3 { font-size: 1.25rem; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: .8rem 1.3rem; border-radius: 999px; font-size: .9rem; opacity: 0; transition: .3s; z-index: 100; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { text-decoration: underline; margin-left: .5rem; pointer-events: auto; }
.js .js-hide { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-nav { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .search-form input { width: 90px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; }
  .header-inner { height: 64px; gap: .5rem; }
  .logo { font-size: 1.6rem; margin-right: auto; }
  .main-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 20px 1rem; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; margin: 0; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .search-form { display: none; }
  .hero-inner, .split-banner, .product-detail, .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 2rem; gap: 2rem; }
  .hero-slider { max-width: 380px; margin: 0 auto; }
  .slider-arrow { opacity: 1; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid div:nth-child(3) { border-left: 0; }
  .perks-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery, .summary { position: static; }
  .section { padding: 3rem 0; }
}
@media (max-width: 600px) {
  .live-toast { left: 12px; right: 12px; top: 12px; bottom: auto; max-width: none; transform: translateY(-16px); }
  .live-toast.show { transform: none; }
  .has-wa-order .whatsapp-float { display: none; }
  .container { padding: 0 16px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .8rem; }
  .product-card-body h3 { font-size: 1rem; }
  .product-card .btn-sm { width: 100%; padding-inline: .4rem; }
  .post-grid, .footer-grid { grid-template-columns: 1fr; }
  .field-row, .track-form { flex-direction: column; gap: 0; }
  .track-form { align-items: stretch; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line-total { grid-column: 2; }
  .toolbar-form { width: 100%; justify-content: space-between; }
  .product-card-body h3, .cart-line-name { overflow-wrap: anywhere; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .progress li { font-size: .66rem; }
}
.social-link { display: inline-flex !important; align-items: center; gap: .45rem; }


/* Customer accounts */
.auth-wrap { max-width: 480px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 2rem; }
.auth-card h1, .auth-card h2 { margin-top: 0; }
.auth-card .field { margin-bottom: 1rem; }
.auth-card .field small.muted { display: block; margin-top: .3rem; font-size: .78rem; }
.auth-alt { margin: 1.2rem 0 0; text-align: center; font-size: .9rem; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.account-orders { display: grid; gap: 1rem; margin-bottom: 1rem; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.4rem; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.order-card-head small { display: block; font-size: .8rem; }
.order-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .8rem; font-size: .9rem; }
@media (max-width: 600px) {
  .auth-card { padding: 1.4rem; }
  .account-head { align-items: flex-start; }
}

/* Order status pills (shared look with the admin dashboard) */
.status { display: inline-block; padding: .15rem .55rem; border-radius: 20px; font-size: .75rem; font-weight: 600; white-space: nowrap; background: #eee; }
.status-pending { background: #fbf0dc; color: #94621c; }
.status-confirmed { background: #e7eef8; color: #36598a; }
.status-processing { background: #efe8f7; color: #654a8f; }
.status-shipped { background: #e3f1f3; color: #2d6c75; }
.status-delivered { background: #e9f3e6; color: #3f6a39; }
.status-cancelled, .status-returned { background: #f8e8e4; color: #9a4232; }

/* Share row on product pages */
.share-row { font-size: .85rem; color: var(--soft); margin: 1.2rem 0 0; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.share-row a, .link-btn { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Cookie consent bar */
.consent-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 1rem 1.2rem; display: flex; gap: 1rem;
  align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 760px; margin: 0 auto; }
.consent-bar p { margin: 0; font-size: .85rem; color: var(--soft); flex: 1 1 260px; }
.consent-bar a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: .5rem; }
@media (max-width: 600px) { .consent-bar { padding: .9rem 1rem; } .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; } }

/* In-article ad slot (blog only) */
.ad-slot { margin: 2.5rem 0; text-align: center; }
.ad-slot > small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #b3aa9d; margin-bottom: .4rem; }
.ad-slot ins { display: block; }
