/* =============================================================================
   Deities Wood Carving — storefront styles
   Built on Bootstrap 5. Brand colours come from the original site
   (walnut #634832, espresso #38220F); brass is the accent.
   ========================================================================== */

:root {
    --walnut: #634832;
    --walnut-600: #57402c;
    --walnut-700: #4b3524;
    --espresso: #38220f;
    --ink: #22170e;
    --brass: #c2963c;
    --brass-600: #a87d2c;
    --brass-200: #ecd9ab;
    --ivory: #fbf8f3;
    --sand: #f5eee3;
    --sand-2: #ece2d2;
    --line: #e9dfcf;
    --text: #2b1d12;
    --muted: #7b6a5c;
    --success: #3f7d4e;
    --danger: #b3412f;
    --warning: #b9801f;

    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-xs: 0 2px 8px -4px rgba(56, 34, 15, .18);
    --shadow-sm: 0 10px 24px -14px rgba(56, 34, 15, .30);
    --shadow: 0 26px 50px -26px rgba(56, 34, 15, .40);
    --shadow-lg: 0 40px 80px -40px rgba(56, 34, 15, .50);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --header-h: 0px;

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--text);
    --bs-body-bg: var(--ivory);
    --bs-link-color: var(--walnut);
    --bs-link-color-rgb: 99, 72, 50;
    --bs-link-hover-color: var(--espresso);
    --bs-link-hover-color-rgb: 56, 34, 15;
    --bs-border-color: var(--line);
    --bs-primary: var(--walnut);
    --bs-primary-rgb: 99, 72, 50;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -.005em;
}
h5, h6, .h5, .h6 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
a { color: var(--walnut); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--espresso); }
img { max-width: 100%; height: auto; }
::selection { background: var(--brass-200); color: var(--ink); }
.fw-600 { font-weight: 600; }
.text-muted { color: var(--muted) !important; }
.req { color: var(--danger); }
.rounded-4 { border-radius: var(--radius) !important; }
.shadow-soft { box-shadow: var(--shadow); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.btn-link-reset { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.btn-link-reset:hover { color: var(--brass); }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--espresso); color: #fff; padding: 8px 14px; border-radius: 8px; }
.js .js-hide { display: none !important; }
code { color: var(--walnut); }

.section { padding: 88px 0; }
.section.pt-0 { padding-top: 0; }
.section.pb-0 { padding-bottom: 0; }
@media (max-width: 991.98px) { .section { padding: 64px 0; } }
@media (max-width: 575.98px) { .section { padding: 48px 0; } }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brass-600);
    margin-bottom: .45rem;
}
.eyebrow-light { color: var(--brass-200); }
.section-heading { margin-bottom: 2.25rem; }
.section-title { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); margin-bottom: .25rem; }
.section-title-sm { font-size: 1.8rem; margin-bottom: 1.25rem; }
.section-lead { max-width: 640px; margin: .5rem auto 0; color: var(--muted); }
.link-arrow { font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--walnut); }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; letter-spacing: .01em; border-radius: 999px; padding: .62rem 1.45rem; transition: all .3s var(--ease); position: relative; }
.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: .4rem 1rem; font-size: .84rem; }
.btn:active { transform: scale(.97); }
.btn-wood { background: var(--walnut); border: 1px solid var(--walnut); color: #fff; box-shadow: 0 10px 22px -12px rgba(99, 72, 50, .9); }
.btn-wood:hover, .btn-wood:focus-visible { background: var(--espresso); border-color: var(--espresso); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(56, 34, 15, .9); }
.btn-wood:disabled { background: #a99583; border-color: #a99583; color: #fff; box-shadow: none; }
.btn-outline-wood { border: 1.5px solid var(--walnut); color: var(--walnut); background: transparent; }
.btn-outline-wood:hover { background: var(--walnut); color: #fff; transform: translateY(-2px); }
.btn-brass { background: linear-gradient(135deg, #d4ab55, var(--brass) 55%, var(--brass-600)); border: 0; color: var(--ink); box-shadow: 0 12px 24px -14px rgba(168, 125, 44, .95); }
.btn-brass:hover { color: var(--ink); filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(168, 125, 44, .95); }
.btn-light { background: #fff; border-color: #fff; color: var(--espresso); }
.btn-light:hover { background: var(--brass-200); border-color: var(--brass-200); color: var(--ink); transform: translateY(-2px); }
.btn-outline-light:hover { color: var(--espresso); transform: translateY(-2px); }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 1.15rem; height: 1.15rem;
    border: 2px solid rgba(255, 255, 255, .55); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
.btn-outline-wood.is-loading::after, .btn-light.is-loading::after, .btn-brass.is-loading::after { border-color: rgba(56, 34, 15, .25); border-top-color: var(--espresso); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Forms ---------- */
.form-control, .form-select {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .72rem 1rem;
    background-color: #fff;
    color: var(--text);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-control::placeholder { color: #a99a8c; }
.form-control:focus, .form-select:focus { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(194, 150, 60, .16); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.form-label { font-weight: 700; font-size: .86rem; color: var(--ink); margin-bottom: .35rem; }
.form-floating > .form-control { height: calc(3.6rem + 2px); }
.form-floating > label { color: #9a8a7b; padding-left: 1.05rem; }
.invalid-feedback { font-size: .82rem; font-weight: 600; color: var(--danger); }
.input-group > .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-group > .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

.check { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; user-select: none; position: relative; margin: 0; width: 100%; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
    flex: 0 0 20px; width: 20px; height: 20px; border: 1.5px solid #cdbca6; border-radius: 6px; background: #fff;
    display: grid; place-items: center; transition: all .25s var(--ease);
}
.check-box::after { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 10px; color: #fff; transform: scale(0); transition: transform .25s var(--ease-out); }
.check input:checked + .check-box { background: var(--walnut); border-color: var(--walnut); }
.check input:checked + .check-box::after { transform: scale(1); }
.check input:focus-visible + .check-box { box-shadow: 0 0 0 4px rgba(194, 150, 60, .25); }
.check-label { flex: 1; font-size: .92rem; }
.check-count { font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--sand); border-radius: 999px; padding: .05rem .55rem; }
.check-lg .check-label { font-weight: 700; font-size: 1rem; }

.password-field { position: relative; }
.password-toggle { position: absolute; top: 1.1rem; right: .9rem; border: 0; background: none; color: var(--muted); z-index: 5; padding: .2rem; }
.password-toggle:hover { color: var(--walnut); }
.password-meter { height: 4px; border-radius: 4px; background: var(--sand-2); overflow: hidden; }
.password-meter span { display: block; height: 100%; width: 0; background: var(--danger); transition: width .35s var(--ease), background .35s; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: var(--ivory); transition: opacity .5s var(--ease), visibility .5s; animation: preloaderOut .4s 4s forwards; /* fallback if JS never runs */ }
@keyframes preloaderOut { to { opacity: 0; visibility: hidden; } }
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-mark { position: relative; width: 86px; height: 86px; display: grid; place-items: center; }
.preloader-mark img { width: 46px; animation: pulse 1.4s var(--ease) infinite; }
.preloader-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sand-2); border-top-color: var(--brass); animation: spin 1s linear infinite; }
@keyframes pulse { 50% { transform: scale(.88); opacity: .7; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(251, 248, 243, .96); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.site-header.is-stuck { box-shadow: 0 14px 30px -24px rgba(56, 34, 15, .55); }
.topbar { background: var(--espresso); color: #e9dcc6; font-size: .8rem; padding: .45rem 0; transition: margin .35s var(--ease); }
.topbar a, .topbar .btn-link-reset { color: #e9dcc6; }
.topbar a:hover, .topbar .btn-link-reset:hover { color: var(--brass-200); }
.social-mini { gap: .35rem; }
.social-mini a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; transition: background .25s; }
.social-mini a:hover { background: rgba(255, 255, 255, .1); }
.topbar-phone { align-items: center; gap: .4rem; padding-left: .9rem; border-left: 1px solid rgba(255, 255, 255, .15); }
.topbar-links li + li::before { content: "|"; opacity: .35; margin: 0 .7rem; }

.mainbar { padding: 1.05rem 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.site-header.is-stuck .mainbar { padding: .6rem 0; }
.brand img { height: 40px; width: auto; transition: height .35s var(--ease); }
.site-header.is-stuck .brand img { height: 34px; }
@media (max-width: 575.98px) { .brand img { height: 28px; } }

.header-search { position: relative; flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .25s, box-shadow .25s; }
.header-search:focus-within { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(194, 150, 60, .14); }
.header-search-cat { border: 0; background: transparent; padding: .6rem 1rem .6rem 1.2rem; font-size: .85rem; font-weight: 700; color: var(--walnut); border-right: 1px solid var(--line); outline: none; max-width: 160px; cursor: pointer; }
.header-search-input { flex: 1; border: 0; background: transparent; padding: .65rem 1rem; outline: none; min-width: 0; font-size: .92rem; }
.header-search button[type=submit] { border: 0; background: var(--walnut); color: #fff; width: 40px; height: 40px; border-radius: 50%; margin: 3px; transition: background .25s, transform .25s; }
.header-search button[type=submit]:hover { background: var(--espresso); transform: scale(1.05); }
.header-search-mobile { max-width: none; }
.search-suggest { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow); padding: .5rem; z-index: 50; animation: dropIn .25s var(--ease-out); }
.search-suggest a { display: flex; align-items: center; gap: .8rem; padding: .5rem .6rem; border-radius: var(--radius-sm); color: var(--text); }
.search-suggest a:hover, .search-suggest a.is-focused { background: var(--sand); }
.search-suggest img { width: 46px; height: 46px; object-fit: contain; background: var(--sand); border-radius: 8px; }
.search-suggest small { display: block; color: var(--muted); font-size: .78rem; }
.search-suggest strong { font-size: .9rem; }
.search-suggest .suggest-price { margin-left: auto; font-weight: 800; color: var(--walnut); font-size: .88rem; }
.search-suggest .suggest-all { justify-content: center; font-weight: 700; color: var(--walnut); border-top: 1px solid var(--line); margin-top: .3rem; border-radius: 0; }
.search-suggest .suggest-empty { padding: .8rem; color: var(--muted); text-align: center; font-size: .9rem; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.header-icon { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--espresso); font-size: 1.2rem; transition: all .3s var(--ease); }
button.header-icon { padding: 0; }
.header-icon:hover { background: var(--walnut); color: #fff; border-color: var(--walnut); transform: translateY(-2px); }
.header-icon i::before { margin: 0; }
.badge-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brass); color: var(--ink); font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--ivory); font-family: var(--font-body); }
.badge-count.bump { animation: bump .6s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
.header-cart { display: flex; align-items: center; gap: .7rem; color: var(--espresso); }
.header-cart:hover .header-icon { background: var(--walnut); color: #fff; border-color: var(--walnut); }
.header-cart-text { flex-direction: column; line-height: 1.2; }
.header-cart-text small { color: var(--muted); font-size: .75rem; }
.header-cart-text strong { font-size: .95rem; color: var(--espresso); }

.nav-toggler { width: 42px; height: 42px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px; }
.nav-toggler span { display: block; height: 2px; background: var(--espresso); border-radius: 2px; transition: transform .3s; }
.nav-toggler span:nth-child(2) { width: 70%; }

.navbar-bottom { background: #fff; border-bottom: 1px solid var(--line); }
.category-menu-btn { display: flex; align-items: center; gap: .55rem; border: 0; background: var(--walnut); color: #fff; font-weight: 700; padding: .95rem 1.4rem; font-size: .92rem; min-width: 230px; transition: background .25s; }
.category-menu-btn:hover, .category-menu-btn[aria-expanded=true] { background: var(--espresso); }
.category-menu-btn .fa-chevron-down { margin-left: auto !important; transition: transform .3s; }
.category-menu-btn[aria-expanded=true] .fa-chevron-down { transform: rotate(180deg); }
.category-dropdown { width: 290px; padding: .6rem; border: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow); margin-top: 0 !important; }
.category-dropdown-item { display: flex; align-items: center; gap: .8rem; padding: .5rem .6rem; border-radius: var(--radius-sm); color: var(--text); font-weight: 600; }
.category-dropdown-item img { width: 40px; height: 40px; object-fit: contain; background: var(--sand); border-radius: 50%; padding: 3px; transition: transform .35s var(--ease); }
.category-dropdown-item small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.category-dropdown-item:hover { background: var(--sand); color: var(--espresso); }
.category-dropdown-item:hover img { transform: scale(1.12) rotate(-4deg); }
.category-dropdown-all { display: flex; justify-content: space-between; align-items: center; margin-top: .3rem; padding: .7rem .6rem .3rem; border-top: 1px solid var(--line); font-weight: 700; font-size: .88rem; }

/* Smooth dropdowns (Bootstrap toggles .show) */
.dropdown-menu { display: block; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; pointer-events: none; }
.dropdown-menu.show { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }

.main-menu { gap: .3rem; margin-left: 1.5rem; }
.main-menu a { position: relative; display: block; padding: .95rem .95rem; font-weight: 700; font-size: .92rem; color: var(--ink); }
.main-menu a::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .55rem; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-menu a:hover::after, .main-menu a.active::after { transform: scaleX(1); }
.main-menu a.active { color: var(--walnut); }
.nav-highlight { font-weight: 700; font-size: .88rem; color: var(--brass-600); display: flex; align-items: center; gap: .45rem; }

/* Mobile off-canvas */
.mobile-nav { width: min(340px, 88vw) !important; background: var(--ivory); border-right: 0 !important; }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-nav .brand img { height: 30px; }
.mobile-menu li { opacity: 0; transform: translateX(-16px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.mobile-nav.show .mobile-menu li { opacity: 1; transform: none; }
.mobile-nav.show .mobile-menu li:nth-child(2) { transition-delay: .05s; }
.mobile-nav.show .mobile-menu li:nth-child(3) { transition-delay: .1s; }
.mobile-nav.show .mobile-menu li:nth-child(4) { transition-delay: .15s; }
.mobile-nav.show .mobile-menu li:nth-child(5) { transition-delay: .2s; }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: .85rem .2rem; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.mobile-menu a i { font-size: .7rem; color: var(--muted); }
.mobile-menu a.active { color: var(--walnut); }
.mobile-nav-heading { margin: 1.6rem 0 .8rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mobile-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.mobile-cats a { text-align: center; font-size: .72rem; font-weight: 700; color: var(--text); }
.mobile-cats img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; margin-bottom: .3rem; box-shadow: var(--shadow-xs); }
.mobile-account { margin-top: 1.8rem; }
.mobile-contact { margin-top: 1.2rem; font-weight: 600; color: var(--muted); }

/* ---------- Page header (sub-header) ---------- */
.page-header { position: relative; overflow: hidden; padding: 70px 0 64px; background: linear-gradient(120deg, var(--espresso) 0%, var(--walnut) 100%); color: #fff; text-align: center; }
.page-header-pattern { position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(rgba(236, 217, 171, .9) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.page-header::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(194, 150, 60, .35), transparent 65%); }
.page-header-title { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); color: #fff; margin-bottom: .4rem; font-weight: 600; }
.page-header-sub { max-width: 620px; margin: 0 auto .8rem; color: #e9dcc6; }
.page-header .breadcrumb { justify-content: center; margin: 0; font-size: .88rem; font-weight: 600; flex-wrap: wrap; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: #e9dcc6; }
.page-header .breadcrumb-item a:hover { color: var(--brass-200); }
.page-header .breadcrumb-item.active { color: var(--brass-200); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .45); content: "›"; }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--espresso); overflow: hidden; }
.hero-track { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; position: relative; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-banner-link { display: block; aspect-ratio: 1920 / 744; height: 100%; overflow: hidden; background: #ece9e6; }
.hero-banner-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active .hero-banner-img { transform: scale(1); }
.hero-banner-caption { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.hero-banner-caption .hero-text { pointer-events: auto; max-width: 560px; background: rgba(34, 23, 14, .55); padding: 2rem; border-radius: var(--radius); backdrop-filter: blur(4px); }
.hero-split { height: 100%; display: flex; align-items: center; padding: 2.5rem 0; background:
    radial-gradient(circle at 78% 50%, rgba(194, 150, 60, .28), transparent 45%),
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, .06), transparent 30%),
    linear-gradient(120deg, var(--espresso), var(--walnut-700)); color: #fff; }
.hero-split .container { width: 100%; }
.hero-title { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); color: #fff; line-height: 1.05; margin: .3rem 0 1rem; }
.hero-sub { color: #e9dcc6; max-width: 520px; margin-bottom: 1.8rem; font-size: 1.02rem; }
.hero-figure { position: relative; max-width: 400px; margin: 0 auto; }
.hero-figure img { position: relative; z-index: 1; border-radius: 28px; background: #fff; padding: 1.4rem; box-shadow: var(--shadow-lg); }
.hero-glow { position: absolute; inset: 10% -6%; background: radial-gradient(circle, rgba(236, 217, 171, .5), transparent 65%); filter: blur(30px); }
.hero-slide .hero-text > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.hero-slide.is-active .hero-text > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-text > *:nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-text > *:nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-text > *:nth-child(4) { transition-delay: .36s; }
.hero-slide .hero-figure { opacity: 0; transform: translateX(40px) scale(.96); transition: all 1s var(--ease-out) .15s; }
.hero-slide.is-active .hero-figure { opacity: 1; transform: none; }
.hero-arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: var(--espresso); box-shadow: var(--shadow-sm); opacity: 0; transition: all .35s var(--ease); }
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--brass); color: var(--ink); }
.hero-prev { left: 22px; } .hero-next { right: 22px; }
.hero-dots { position: absolute; z-index: 3; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(56, 34, 15, .25); transition: all .4s var(--ease); padding: 0; }
.hero-dots button.is-active { width: 32px; background: var(--brass); }
.hero-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--brass); }
@media (max-width: 991.98px) {
    .hero-split { padding: 2.5rem 0 3.5rem; text-align: center; }
    .hero-split .d-flex { justify-content: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-figure { max-width: 300px; }
    .hero-arrow { display: none; }
}
/* Phones: each slide keeps its own height so banners with baked-in text are never cropped. */
@media (max-width: 767.98px) {
    .hero-slide:not(.is-active) { position: absolute; top: 0; left: 0; width: 100%; }
    .hero-banner-link { height: auto; }
    .hero-split { padding: 2rem 0 3rem; }
    .hero-figure { max-width: 210px; }
    .hero-figure img { padding: .8rem; border-radius: 20px; }
    .hero-title { font-size: 2.1rem; }
    .hero-dots { bottom: 10px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item i { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--walnut); font-size: 1.1rem; }
.trust-item strong { display: block; font-size: .92rem; color: var(--ink); }
.trust-item span { font-size: .8rem; color: var(--muted); }
@media (max-width: 767.98px) { .trust-item { flex-direction: column; text-align: center; gap: .5rem; } }

/* ---------- Deity row ---------- */
.deity-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.2rem; scrollbar-width: none; }
.deity-row::-webkit-scrollbar { display: none; }
.deity-tile { scroll-snap-align: start; text-align: center; color: var(--text); }
.deity-tile-img { display: block; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 14%; position: relative; overflow: hidden; transition: all .45s var(--ease); box-shadow: var(--shadow-xs); }
.deity-tile-img::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed transparent; transition: border-color .45s, transform 1.2s linear; }
.deity-tile-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.deity-tile:hover .deity-tile-img { background: var(--sand); border-color: var(--brass); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.deity-tile:hover .deity-tile-img::before { border-color: var(--brass); transform: rotate(90deg); }
.deity-tile:hover img { transform: scale(1.1); }
.deity-tile-name { display: block; margin-top: .75rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.deity-tile-count { font-size: .76rem; color: var(--muted); font-weight: 600; }

/* ---------- Pill tabs ---------- */
.pill-tabs { gap: .4rem; flex-wrap: wrap; }
.pill-tabs .nav-link { border-radius: 999px; padding: .5rem 1.15rem; font-weight: 700; font-size: .88rem; color: var(--walnut); background: #fff; border: 1px solid var(--line); transition: all .3s var(--ease); }
.pill-tabs .nav-link:hover { border-color: var(--walnut); }
.pill-tabs .nav-link.active { background: var(--walnut); border-color: var(--walnut); color: #fff; box-shadow: 0 10px 20px -12px rgba(99, 72, 50, .9); }
.tab-pane.fade { transition: opacity .4s var(--ease); }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .product-grid, .product-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; } }

.product-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card-media { position: relative; background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); }
.product-card-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; padding: 8%; }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); mix-blend-mode: multiply; }
.product-card:hover .product-card-img img { transform: scale(1.09); }
.product-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: .28rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge-sale { background: var(--danger); color: #fff; }
.badge-featured { background: var(--brass); color: var(--ink); }
.badge-soldout { background: var(--ink); color: #fff; }
.product-card-tools { position: absolute; z-index: 2; top: 12px; right: 12px; display: flex; flex-direction: column; gap: .45rem; }
.tool-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--espresso); font-size: .95rem; box-shadow: var(--shadow-xs); transition: all .3s var(--ease); cursor: pointer; }
.tool-btn:hover { background: var(--walnut); border-color: var(--walnut); color: #fff; }
.product-card-tools .tool-btn { opacity: 0; transform: translateX(14px); }
.product-card-tools .tool-btn:nth-child(2) { transition-delay: .05s; }
.product-card:hover .product-card-tools .tool-btn, .product-card-tools .tool-btn.is-active, .product-card-tools .tool-btn:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .product-card-tools .tool-btn { opacity: 1; transform: none; } }
.wishlist-btn.is-active { color: #d1405b; border-color: #f3c4cd; }
.wishlist-btn.is-active:hover { background: #fff; color: #d1405b; }
.wishlist-btn.burst i { animation: heartBurst .7s var(--ease-out); }
.wishlist-btn.burst::after { content: ""; position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #d1405b; animation: ring .6s var(--ease-out) forwards; pointer-events: none; }
@keyframes heartBurst { 0% { transform: scale(1); } 25% { transform: scale(.6); } 55% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.product-card-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.product-card-cat { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-600); }
.product-card-title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin: .25rem 0 .35rem; line-height: 1.25; }
.product-card-title a { color: var(--ink); background-image: linear-gradient(var(--brass), var(--brass)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s var(--ease); }
.product-card-title a:hover { background-size: 100% 1px; color: var(--walnut); }
.product-card-rating { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); margin-bottom: .2rem; }
.product-card-excerpt { font-size: .86rem; color: var(--muted); margin-bottom: .4rem; }
.product-card-footer { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .55rem; }
.price-now { font-weight: 800; font-size: 1.05rem; color: var(--espresso); }
.price-old { font-size: .85rem; color: #a99a8c; }
.price-lg .price-now { font-size: 1.85rem; font-family: var(--font-body); }
.price-lg .price-old { font-size: 1.1rem; }
.price-save { font-size: .82rem; font-weight: 700; color: var(--success); background: #e8f2ea; padding: .15rem .6rem; border-radius: 999px; }
.btn-cart { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: var(--sand); color: var(--espresso); font-weight: 800; font-size: .82rem; padding: .55rem .95rem; border-radius: 999px; transition: all .3s var(--ease); white-space: nowrap; }
.btn-cart i::before { margin: 0; font-size: 1rem; }
.btn-cart:hover { background: var(--walnut); color: #fff; }
.btn-cart.is-added { background: var(--success); color: #fff; }
.btn-cart.is-disabled { opacity: .65; }
.btn-cart.is-loading { pointer-events: none; color: transparent; position: relative; }
.btn-cart.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 1rem; height: 1rem; border: 2px solid rgba(56, 34, 15, .2); border-top-color: var(--espresso); border-radius: 50%; animation: spin .7s linear infinite; }
@media (max-width: 575.98px) {
    .product-card-body { padding: .8rem .85rem .9rem; }
    .product-card-title { font-size: 1.05rem; }
    .product-card-footer { flex-direction: column; align-items: stretch; }
    .btn-cart { justify-content: center; }
    .tool-btn { width: 34px; height: 34px; font-size: .85rem; }
}

.stars { display: inline-flex; gap: 2px; color: var(--brass); font-size: .8rem; }
.stars .far { color: #d8c8ad; }
.stars-sm { font-size: .7rem; }

/* Deal countdown */
.deal-countdown { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; gap: .35rem; }
.deal-countdown .cd { background: rgba(34, 23, 14, .86); color: #fff; border-radius: var(--radius-sm); padding: .3rem .2rem; min-width: 50px; text-align: center; line-height: 1.1; backdrop-filter: blur(4px); }
.deal-countdown .cd b { display: block; font-size: 1.05rem; }
.deal-countdown .cd small { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }

/* ---------- Carousel (scroll-snap) ---------- */
.product-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4.5rem) / 4); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .25rem 1.75rem; margin: -.5rem -.25rem 0; scrollbar-width: none; }
.product-carousel::-webkit-scrollbar { display: none; }
.product-carousel-item { scroll-snap-align: start; }
.post-carousel { grid-auto-columns: calc((100% - 3rem) / 3); }
@media (max-width: 1199.98px) { .product-carousel { grid-auto-columns: calc((100% - 3rem) / 3); } }
@media (max-width: 767.98px) { .product-carousel, .post-carousel { grid-auto-columns: 72%; gap: 1rem; } }
.carousel-arrows { display: flex; gap: .5rem; }
.carousel-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--espresso); transition: all .3s var(--ease); }
.carousel-arrows button:hover { background: var(--walnut); color: #fff; border-color: var(--walnut); }
.carousel-arrows button:disabled { opacity: .35; pointer-events: none; }

/* ---------- CTA cards & promo band ---------- */
.cta-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); min-height: 280px; height: 100%; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); }
.cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(34, 23, 14, .1) 20%, rgba(34, 23, 14, .78) 75%); transition: opacity .5s; }
.cta-card:hover img { transform: scale(1.07); }
.cta-card-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2rem 2.2rem 2rem 48%; }
.cta-card-title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 600; line-height: 1.15; }
.cta-card-sub { font-size: .92rem; color: #eadcc5; margin: .55rem 0 1.1rem; }
@media (max-width: 575.98px) { .cta-card-content { padding: 1.6rem 1.4rem 1.6rem 38%; } }

.promo-band { position: relative; overflow: hidden; padding: 64px 0; background: linear-gradient(110deg, var(--walnut-700), var(--espresso)); color: #fff; }
.promo-band-pattern { position: absolute; inset: 0; opacity: .18; background-image: url("../img/bg.png"); background-size: cover; background-position: center; mix-blend-mode: luminosity; }
.promo-band-title { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: linear-gradient(180deg, transparent, var(--sand) 30%, var(--sand) 70%, transparent); }
.testimonial-card { position: relative; height: 100%; margin: 0; padding: 2.2rem 2rem 1.8rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testimonial-quote { position: absolute; top: 1.2rem; right: 1.5rem; font-size: 2.6rem; color: var(--sand-2); }
.testimonial-quote::before { margin: 0; font-size: 2.6rem; }
.testimonial-title { font-size: 1.5rem; margin-bottom: .45rem; }
.testimonial-card blockquote { margin: .8rem 0 1.4rem; color: var(--muted); font-size: .98rem; }
.testimonial-card blockquote p { margin: 0; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; font-weight: 800; color: var(--ink); }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sand); }
.avatar-initials { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; display: grid; place-items: center; background: var(--walnut); color: #fff; font-weight: 800; font-size: .95rem; }
.avatar-lg { width: 58px; height: 58px; flex-basis: 58px; font-size: 1.1rem; }

/* ---------- Blog cards & posts ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-thumb { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card-thumb img { transform: scale(1.08); }
.post-card-cat { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); color: var(--walnut); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; }
.post-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--muted); margin-bottom: .45rem; }
.post-card-title { font-size: 1.42rem; margin-bottom: .55rem; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--walnut); }
.post-card-body p { color: var(--muted); font-size: .92rem; }
.post-card-body .link-arrow { margin-top: auto; }

.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.blog-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-search { flex: 0 1 300px; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 700; color: var(--walnut); transition: all .25s var(--ease); }
.chip small { color: var(--muted); font-weight: 700; }
a.chip:hover { border-color: var(--walnut); }
.chip.is-active { background: var(--walnut); color: #fff; border-color: var(--walnut); }
.chip.is-active small { color: var(--brass-200); }
.chip-clear { color: var(--danger); }

.post-single-thumb { margin: 0 0 1.6rem; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.post-single-thumb img { width: 100%; max-height: 560px; object-fit: cover; }
.post-single-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin: .2rem 0 1rem; }
.post-single-author { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.4rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.post-single-author p { margin: 0; font-weight: 800; color: var(--ink); }
.post-single-author span { font-size: .84rem; color: var(--muted); }
.author-avatar { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 8px; }
.rich-text { font-size: 1.04rem; line-height: 1.85; }
.rich-text p { margin-bottom: 1.15rem; }
.rich-text h2, .rich-text h3, .rich-text h4 { margin: 2rem 0 .8rem; }
.rich-text img { border-radius: var(--radius-md); margin: 1rem 0; }
.rich-text blockquote { margin: 1.8rem 0; padding: 1.4rem 1.6rem; border-left: 4px solid var(--brass); background: var(--sand); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.rich-text ul, .rich-text ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.post-content > p:first-child::first-letter { float: left; font-family: var(--font-display); font-size: 4.2rem; line-height: .8; margin: .35rem .6rem 0 0; color: var(--walnut); }
.post-single-meta { display: flex; flex-wrap: wrap; gap: 2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); margin-top: 2rem; }
.post-single-meta h6 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tagcloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.tagcloud a { padding: .32rem .8rem; border-radius: 999px; background: var(--sand); color: var(--walnut); font-size: .82rem; font-weight: 700; transition: all .25s; }
.tagcloud a:hover { background: var(--walnut); color: #fff; }
.post-share, .wishlist-share { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: 1.2rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.post-share span, .wishlist-share span { font-weight: 800; margin-right: .5rem; color: var(--ink); }
.wishlist-share { margin-top: 1.5rem; justify-content: center; }

/* ---------- Sidebar ---------- */
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.4rem; }
.widget-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 44px; height: 2px; background: var(--brass); }
.sidebar-search { position: relative; }
.sidebar-search .form-control { border-radius: 999px; padding-right: 3.2rem; }
.sidebar-search button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--walnut); color: #fff; }
.sidebar-search button:hover { background: var(--espresso); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.widget-author { text-align: center; }
.widget-author > img { width: 78px; height: 78px; border-radius: 50%; background: var(--sand); padding: 12px; margin-bottom: .8rem; }
.widget-author p { color: var(--muted); font-size: .9rem; }
.recent-post { display: flex; gap: .85rem; align-items: center; padding: .6rem 0; color: var(--text); }
.recent-post + .recent-post { border-top: 1px solid var(--line); }
.recent-post img { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; flex: 0 0 70px; transition: transform .4s var(--ease); }
.recent-post:hover img { transform: scale(1.05); }
.recent-post strong { display: block; font-size: .92rem; line-height: 1.35; color: var(--ink); }
.recent-post small { color: var(--muted); font-size: .76rem; }
.recent-post:hover strong { color: var(--walnut); }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list a { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--line); color: var(--text); font-weight: 600; }
.category-list li:last-child a { border-bottom: 0; }
.category-list a:hover { color: var(--walnut); padding-left: .3rem; }
.category-list span { color: var(--muted); }
.newsletter-widget { background: linear-gradient(135deg, var(--walnut), var(--espresso)); border: 0; color: #fff; }
.newsletter-widget h5 { color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.newsletter-widget p { color: #e9dcc6; font-size: .9rem; }

/* ---------- Shop page ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; margin-bottom: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.sort-select { min-width: 200px; border-radius: 999px; }
.active-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.results-wrap { transition: opacity .3s var(--ease); }
.results-wrap.is-loading { opacity: .4; pointer-events: none; }
.filters-panel .offcanvas-body { padding: 0; }
@media (max-width: 991.98px) { .filters-panel .offcanvas-body { padding: 1rem; } .filters-panel { background: var(--ivory) !important; } }

.price-range { position: relative; padding-top: .8rem; }
.price-range-track { position: relative; height: 6px; border-radius: 6px; background: var(--sand-2); }
.price-range-fill { position: absolute; top: 0; bottom: 0; background: var(--walnut); border-radius: 6px; }
.price-range input[type=range] { position: absolute; left: 0; right: 0; top: calc(.8rem - 7px); width: 100%; height: 20px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-range input[type=range]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--walnut); box-shadow: var(--shadow-xs); cursor: grab; transition: transform .2s; }
.price-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--walnut); cursor: grab; }
.price-range input[type=range]::-webkit-slider-thumb:active { transform: scale(1.2); }
.price-range-labels { display: flex; justify-content: space-between; margin-top: 1.1rem; font-weight: 800; font-size: .88rem; color: var(--espresso); }

.pagination { gap: .4rem; margin: 0; }
.page-link { border: 1px solid var(--line) !important; border-radius: 50% !important; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; font-weight: 700; color: var(--walnut); background: #fff; transition: all .25s; }
.page-link:hover { background: var(--sand); color: var(--espresso); }
.page-item.active .page-link { background: var(--walnut); border-color: var(--walnut) !important; color: #fff; }
.page-item.disabled .page-link { opacity: .5; background: #fff; }
.page-link:focus { box-shadow: 0 0 0 4px rgba(194, 150, 60, .2); }

.empty-state { text-align: center; max-width: 520px; margin: 1rem auto; padding: 2.5rem 1.5rem; }
.empty-state-icon { width: 96px; height: 96px; margin: 0 auto 1.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--walnut); font-size: 2.2rem; animation: float 4s ease-in-out infinite; }
.empty-state-icon i::before { margin: 0; font-size: 2.2rem; }
.empty-state h2 { font-size: 2rem; }
.empty-state p { color: var(--muted); margin-bottom: 1.5rem; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Product page ---------- */
.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.product-gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--sand)); border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .25s ease-out, opacity .3s; mix-blend-mode: multiply; }
.product-gallery-main.is-zooming img { transform: scale(1.9); }
.product-gallery-main img.is-swapping { opacity: 0; }
.product-gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; }
.product-gallery-thumbs button { flex: 0 0 76px; height: 76px; padding: 6px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; transition: border-color .25s; }
.product-gallery-thumbs button.is-active, .product-gallery-thumbs button:hover { border-color: var(--walnut); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; }
.product-share { display: flex; gap: .4rem; }
.product-info-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin: .2rem 0 .7rem; }
.product-info-rating { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: .9rem; }
.product-info-rating a { color: var(--muted); font-weight: 600; }
.product-info-excerpt { color: var(--muted); font-size: 1.02rem; margin: 1rem 0; }
.stock-line { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; padding: .9rem 0; margin-bottom: 1.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stock { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; }
.stock-in { color: var(--success); } .stock-out { color: var(--danger); } .stock-low { color: var(--warning); }
.sku { font-size: .84rem; color: var(--muted); font-weight: 600; }
.add-to-cart-form { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.qty-stepper { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.qty-stepper button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sand); color: var(--espresso); transition: all .25s; }
.qty-stepper button:hover { background: var(--walnut); color: #fff; }
.qty-stepper input { width: 50px; border: 0; text-align: center; font-weight: 800; background: transparent; outline: none; -moz-appearance: textfield; }
.qty-stepper input::-webkit-inner-spin-button, .qty-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper-sm button { width: 32px; height: 32px; font-size: .75rem; }
.qty-stepper-sm input { width: 40px; }
.product-meta { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .3rem; font-size: .92rem; }
.product-meta span { font-weight: 800; color: var(--ink); margin-right: .3rem; }
.product-assurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.product-assurance div { padding: .85rem .7rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); font-size: .8rem; font-weight: 700; text-align: center; color: var(--walnut); }
.product-assurance i { display: block; font-size: 1.2rem; margin-bottom: .35rem; color: var(--brass-600); }
@media (max-width: 575.98px) { .product-assurance { grid-template-columns: 1fr; } .product-assurance div { display: flex; gap: .6rem; align-items: center; text-align: left; } .product-assurance i { margin: 0; } }
.alert-soft { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--text); }

.product-tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.product-tabs-nav { gap: .4rem; position: sticky; top: calc(var(--header-h) + 20px); }
.product-tabs-nav .nav-link { text-align: left; border-radius: var(--radius-sm); padding: .85rem 1.1rem; font-weight: 700; color: var(--walnut); background: var(--sand); width: 100%; transition: all .3s var(--ease); }
.product-tabs-nav .nav-link.active { background: var(--walnut); color: #fff; }
.product-tabs-content h4 { margin-bottom: 1rem; }
.info-table th { background: var(--sand); }
.info-table td, .info-table th { padding: .8rem 1rem; border-color: var(--line); }
.rating-summary { text-align: center; padding: 1.6rem; background: var(--sand); border-radius: var(--radius); }
.rating-summary > strong { display: block; font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--ink); }
.rating-summary > span { display: block; color: var(--muted); font-size: .86rem; margin-top: .3rem; }
.rating-bars { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .35rem; font-size: .8rem; }
.rating-bars li { display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: .5rem; }
.rating-bars i { color: var(--brass); font-size: .7rem; }
.rating-bars .bar { height: 7px; border-radius: 7px; background: #fff; overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; background: var(--brass); border-radius: 7px; }
.star-input { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.45rem; color: #ddd0bb; cursor: pointer; transition: color .2s, transform .2s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--brass); }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--brass); border-radius: 4px; }
.star-input-label { margin-right: .7rem; font-weight: 700; font-size: .9rem; color: var(--muted); order: 1; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.comment-item:last-child { border-bottom: 0; }
.comment-body h5 { font-size: 1rem; margin: 0; }
.comment-date { display: block; font-size: .8rem; color: var(--muted); margin: .15rem 0 .5rem; }
.comment-body p { margin: 0; color: var(--text); }
@media (max-width: 991.98px) { .product-tabs { padding: 1.3rem; } .product-tabs-nav { flex-direction: row !important; flex-wrap: nowrap; overflow-x: auto; position: static; } .product-tabs-nav .nav-link { white-space: nowrap; } }

/* ---------- Cart / wishlist table ---------- */
.cart-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 2.4fr 1fr 1.2fr 1fr 48px; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); transition: background .3s, opacity .4s, transform .4s; }
.cart-row:last-child { border-bottom: 0; }
.cart-row:not(.cart-head):hover { background: #fffdf9; }
.cart-row.is-removing { opacity: 0; transform: translateX(30px); }
.cart-head { background: var(--sand); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--walnut); padding-top: .85rem; padding-bottom: .85rem; }
.cart-product { display: flex; align-items: center; gap: 1rem; }
.cart-thumb { flex: 0 0 82px; width: 82px; height: 82px; border-radius: var(--radius-md); background: var(--sand); padding: 6px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
.cart-thumb:hover img { transform: scale(1.08); }
.cart-product h6 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: .1rem; }
.cart-product h6 a { color: var(--ink); }
.remove-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); transition: all .25s; }
.remove-btn:hover { background: var(--danger); border-color: var(--danger); color: #fff; transform: rotate(90deg); }
.wishlist-table .cart-row { grid-template-columns: 2.4fr 1fr 1.1fr 1.3fr 48px; }
@media (max-width: 767.98px) {
    .cart-row, .wishlist-table .cart-row { grid-template-columns: 1fr 1fr; padding: 1rem; position: relative; }
    .cart-product { grid-column: 1 / -1; padding-right: 40px; }
    .cart-cell::before { content: attr(data-title); display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
    .cart-remove { position: absolute; top: 1rem; right: 1rem; }
    .cart-remove::before { display: none; }
}
.coupon-box { background: #fff; border: 1px dashed #d6c4aa; border-radius: var(--radius-md); padding: 1.2rem 1.4rem; }
.coupon-form .input-group { max-width: 440px; }

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); top: calc(var(--header-h) + 20px); }
.summary-card h4 { font-size: 1.8rem; margin-bottom: 1.2rem; }
.summary-lines { margin: 0 0 1rem; }
.summary-lines > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.summary-lines dt { font-weight: 600; color: var(--muted); }
.summary-lines dd { margin: 0; font-weight: 800; color: var(--ink); }
.summary-total { border-bottom: 0 !important; padding-top: 1rem !important; }
.summary-total dt { color: var(--ink); font-size: 1.05rem; font-weight: 800; }
.summary-total dd { font-size: 1.45rem; color: var(--walnut); }
.summary-secure { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.order-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.order-lines li { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.order-line-img { position: relative; flex: 0 0 60px; height: 60px; border-radius: var(--radius-sm); background: var(--sand); padding: 4px; }
.order-line-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.order-line-img em { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--walnut); color: #fff; font-size: .7rem; font-style: normal; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.order-line-name { flex: 1; font-weight: 700; font-size: .92rem; line-height: 1.35; }
.order-line-name small { display: block; color: var(--muted); font-weight: 500; }
.order-lines strong { font-size: .95rem; }

/* ---------- Checkout ---------- */
.checkout-steps { list-style: none; padding: 0; margin: 0 auto 2rem; display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; counter-reset: s; }
.checkout-steps li { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .9rem; color: var(--muted); }
.checkout-steps li + li::before { content: ""; width: 46px; height: 2px; background: var(--line); margin-right: .5rem; }
.checkout-steps span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-size: .82rem; }
.checkout-steps .is-done span { background: var(--success); border-color: var(--success); color: #fff; }
.checkout-steps .is-active { color: var(--ink); }
.checkout-steps .is-active span { background: var(--walnut); border-color: var(--walnut); color: #fff; box-shadow: 0 0 0 5px rgba(99, 72, 50, .15); }
.notice-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .95rem 1.2rem; margin-bottom: 1rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--radius-sm); font-size: .92rem; }
.notice-bar > i { color: var(--brass-600); }
.notice-bar .btn-link-reset { color: var(--walnut); font-weight: 700; text-decoration: underline; }
.coupon-inline { padding: 1.2rem; margin-bottom: 1rem; background: var(--sand); border-radius: var(--radius-sm); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.4rem; }
.form-card-title { font-size: 1.75rem; margin-bottom: 1.3rem; }
.toggle-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.toggle-panel > div { overflow: hidden; }
.toggle-panel.is-open { grid-template-rows: 1fr; }
.payment-options { display: grid; gap: .65rem; }
.payment-option { position: relative; display: block; cursor: pointer; margin: 0; }
.payment-option input { position: absolute; opacity: 0; }
.payment-option-body { display: block; padding: .95rem 1.1rem .95rem 2.9rem; border: 1.5px solid var(--line); border-radius: var(--radius-md); transition: all .25s var(--ease); position: relative; }
.payment-option-body::before { content: ""; position: absolute; left: 1rem; top: 1.1rem; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cdbca6; transition: all .25s; }
.payment-option input:checked + .payment-option-body { border-color: var(--walnut); background: #fffaf3; box-shadow: 0 0 0 4px rgba(99, 72, 50, .08); }
.payment-option input:checked + .payment-option-body::before { border: 5px solid var(--walnut); }
.payment-option-body strong { display: block; font-size: .95rem; }
.payment-option-body small { color: var(--muted); }

.success-hero { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.success-check { width: 92px; height: 92px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #fff; font-size: 2.3rem; box-shadow: 0 0 0 12px rgba(63, 125, 78, .12); }
.success-check.is-animated { animation: pop .7s var(--ease-out); }
.success-check.is-animated i { animation: popIn .5s var(--ease-out) .35s both; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes popIn { from { transform: scale(0) rotate(-40deg); } }
.success-hero h2 { font-size: 2.6rem; }
.kv-list { list-style: none; padding: 0; margin: 0; }
.kv-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.kv-list span { color: var(--muted); }
.address-block { color: var(--text); line-height: 1.7; }
.status-badge { font-weight: 700; font-size: .74rem; padding: .4em .85em; letter-spacing: .02em; }

/* ---------- Account ---------- */
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; position: sticky; top: calc(var(--header-h) + 20px); }
.account-user { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.1rem; margin-bottom: .8rem; border-bottom: 1px solid var(--line); }
.account-user strong { display: block; color: var(--ink); }
.account-user small { color: var(--muted); font-size: .8rem; word-break: break-all; }
.account-nav nav a, .account-nav nav button { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .7rem .9rem; border-radius: var(--radius-sm); color: var(--text); font-weight: 700; font-size: .92rem; border: 0; background: none; text-align: left; transition: all .25s; }
.account-nav nav a i, .account-nav nav button i { width: 18px; color: var(--brass-600); }
.account-nav nav a:hover, .account-nav nav button:hover { background: var(--sand); }
.account-nav nav a.active { background: var(--walnut); color: #fff; }
.account-nav nav a.active i { color: var(--brass-200); }
.order-table th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--sand); border: 0; }
.order-table td { border-color: var(--line); }
.order-progress { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.order-progress li { position: relative; }
.order-progress li span { display: block; width: 18px; height: 18px; margin: 0 auto .4rem; border-radius: 50%; background: var(--sand-2); position: relative; z-index: 1; transition: background .4s; }
.order-progress li::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: var(--sand-2); }
.order-progress li:first-child::before { display: none; }
.order-progress li.is-done { color: var(--walnut); }
.order-progress li.is-done span { background: var(--walnut); box-shadow: 0 0 0 4px rgba(99, 72, 50, .15); }
.order-progress li.is-done::before { background: var(--walnut); }

/* ---------- Auth ---------- */
.auth-section { position: relative; overflow: hidden; }
.auth-floaters img { position: absolute; width: 230px; opacity: .25; mix-blend-mode: multiply; animation: float 6s ease-in-out infinite; }
.auth-floaters img:first-child { left: -40px; top: 18%; }
.auth-floaters img:last-child { right: -30px; bottom: 10%; animation-delay: -3s; }
.auth-wrapper { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-side { position: relative; background-size: cover; background-position: center; min-height: 520px; display: flex; align-items: flex-end; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 23, 14, .15), rgba(34, 23, 14, .88)); }
.auth-side-inner { position: relative; padding: 2.6rem; color: #fff; }
.auth-side-mark { width: 54px; background: #fff; border-radius: 50%; padding: 8px; margin-bottom: 1rem; }
.auth-side h2 { color: #fff; font-size: 2.8rem; }
.auth-side p { color: #e9dcc6; margin: 0; }
.auth-form { padding: 3rem 3rem 2.5rem; }
.auth-form h2 { font-size: 2.4rem; margin-bottom: 1.6rem; }
.auth-switch { text-align: center; margin: 1.4rem 0 0; color: var(--muted); }
.auth-switch a { font-weight: 800; }
@media (max-width: 767.98px) { .auth-wrapper { grid-template-columns: 1fr; } .auth-side { min-height: 220px; } .auth-side h2 { font-size: 2rem; } .auth-form { padding: 2rem 1.4rem; } }

/* ---------- About ---------- */
.about-media { position: relative; padding: 0 0 2rem 2rem; }
.about-media img { position: relative; z-index: 1; width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); }
.about-dots { position: absolute; left: 0; bottom: 0; width: 60%; height: 60%; border-radius: 28px; background-image: radial-gradient(var(--brass) 1.5px, transparent 1.5px); background-size: 16px 16px; opacity: .45; }
.about-badge { position: absolute; z-index: 2; right: -14px; bottom: 3.5rem; display: flex; align-items: center; gap: .8rem; padding: 1rem 1.3rem; background: var(--espresso); color: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.about-badge strong { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--brass-200); }
.about-badge span { font-size: .8rem; line-height: 1.3; font-weight: 600; }
.about-lead { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.35; color: var(--walnut); margin: .8rem 0 1.2rem; font-style: italic; }
.about-text { text-align: justify; color: var(--text); }
.about-text p { margin-bottom: 1rem; }
@media (max-width: 991.98px) { .about-badge { right: 8px; } }
.stats-band { background: linear-gradient(110deg, var(--espresso), var(--walnut)); color: #fff; padding: 56px 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem); line-height: 1; color: var(--brass-200); }
.stat span { font-size: .86rem; font-weight: 600; color: #e9dcc6; letter-spacing: .05em; }
.feature-card { height: 100%; padding: 2.2rem 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: transform .45s var(--ease), box-shadow .45s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card i { width: 70px; height: 70px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--sand); color: var(--walnut); font-size: 1.6rem; margin-bottom: 1rem; transition: transform .6s var(--ease-out); }
.feature-card:hover i { transform: rotateY(180deg); }
.feature-card h3 { font-size: 1.6rem; }
.feature-card p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-cards { padding-bottom: 48px; }
.icon-block { position: relative; display: block; height: 100%; padding: 2.3rem 1.6rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.icon-block::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--brass); transform: scaleX(0); transition: transform .5s var(--ease); }
a.icon-block:hover, .icon-block:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.icon-block:hover::after { transform: scaleX(1); }
.icon-block-icon { width: 76px; height: 76px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--walnut); font-size: 1.8rem; transition: all .45s var(--ease); }
.icon-block-icon i::before { margin: 0; font-size: 1.9rem; }
.icon-block:hover .icon-block-icon { background: var(--walnut); color: #fff; transform: scale(1.06); }
.icon-block h5 { font-size: 1.05rem; }
.icon-block p { margin: 0; color: var(--muted); }
.map-frame { height: 100%; min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--sand); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; }
.map-placeholder { height: 100%; display: grid; place-content: center; text-align: center; padding: 2rem; color: var(--muted); }
.map-placeholder i::before { font-size: 3rem; color: var(--walnut); }

/* ---------- Follow band ---------- */
.follow-band { overflow: hidden; }
.follow-band-cta { display: grid; place-items: center; text-align: center; padding: 3rem 1.5rem; background: linear-gradient(135deg, var(--walnut), var(--espresso)); color: #fff; }
.follow-band-cta i.fa-instagram { font-size: 2.4rem; color: var(--brass-200); margin-bottom: .8rem; }
.follow-band-cta h3 { color: #fff; font-size: 2.2rem; margin-bottom: 1.2rem; }
.follow-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.follow-tile img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform .8s var(--ease-out); }
.follow-tile span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(56, 34, 15, .55); color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity .35s; }
.follow-tile:hover img { transform: scale(1.1); }
.follow-tile:hover span { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9b9a6; font-size: .92rem; }
.footer-top { padding: 56px 0 28px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.footer-logo { height: 42px; width: auto; filter: brightness(0) invert(1) sepia(.35) saturate(2) hue-rotate(-10deg); opacity: .92; }
.footer-brand p { max-width: 640px; margin: 1rem auto 0; }
.footer-middle { padding: 48px 0; }
.footer-title { color: #fff; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: #c9b9a6; position: relative; transition: color .25s, padding .3s var(--ease); }
.footer-links a:hover { color: var(--brass-200); padding-left: .5rem; }
.footer-social { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #e9dcc6; transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--brass); color: var(--ink); transform: translateY(-3px); }
.footer-offer p { margin-bottom: .7rem; }
.footer-newsletter { display: flex; gap: .4rem; background: rgba(255, 255, 255, .07); padding: 5px; border-radius: 999px; }
.footer-newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 .9rem; outline: none; font-size: .88rem; }
.footer-newsletter input::placeholder { color: #9d8c79; }
.footer-contact { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .07); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.footer-contact a, .footer-address { display: flex; align-items: center; gap: .8rem; color: #e9dcc6; font-weight: 600; }
.footer-contact i { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(194, 150, 60, .15); color: var(--brass-200); }
.footer-contact i::before { margin: 0; font-size: 1.1rem; }
.footer-contact a:hover { color: var(--brass-200); }
.footer-bottom { padding: 20px 0; font-size: .85rem; }
.footer-bottom a { color: var(--brass-200); }
.back-to-top { font-weight: 700; }

.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 1020; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--walnut); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .4s var(--ease); }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--espresso); transform: translateY(-3px); }

/* ---------- Quick view modal ---------- */
.quick-view-modal .modal-content { border: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.quick-view-modal .modal-body { padding: 2rem; min-height: 280px; }
.quick-view-close { position: absolute; top: 16px; right: 16px; z-index: 5; background-color: var(--sand); border-radius: 50%; padding: .75rem; opacity: 1; }
.quick-view-img { aspect-ratio: 1; background: linear-gradient(180deg, #fff, var(--sand)); border-radius: var(--radius); padding: 8%; }
.quick-view-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.quick-view-title { font-size: 2.1rem; margin: .2rem 0 .6rem; }
.quick-view-loading { min-height: 280px; display: grid; place-items: center; color: var(--walnut); }
.quick-view-modal.fade .modal-dialog { transform: translateY(30px) scale(.97); transition: transform .4s var(--ease-out); }
.quick-view-modal.show .modal-dialog { transform: none; }
.modal-backdrop.show { opacity: .55; backdrop-filter: blur(2px); }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; z-index: 2100; right: 20px; top: 20px; display: flex; flex-direction: column; gap: .7rem; width: min(380px, calc(100vw - 40px)); pointer-events: none; }
.toast-item { pointer-events: auto; display: flex; align-items: flex-start; gap: .8rem; padding: .95rem 1rem; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow); border-left: 4px solid var(--walnut); animation: toastIn .45s var(--ease-out); font-size: .92rem; }
.toast-item.is-leaving { animation: toastOut .35s var(--ease) forwards; }
.toast-item .toast-icon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--walnut); font-size: .8rem; }
.toast-item.toast-success { border-color: var(--success); } .toast-item.toast-success .toast-icon { background: var(--success); }
.toast-item.toast-error { border-color: var(--danger); } .toast-item.toast-error .toast-icon { background: var(--danger); }
.toast-item.toast-warning { border-color: var(--warning); } .toast-item.toast-warning .toast-icon { background: var(--warning); }
.toast-item .toast-msg { flex: 1; padding-top: 3px; color: var(--text); }
.toast-item .toast-msg a { font-weight: 800; margin-left: .3rem; }
.toast-item .toast-close { border: 0; background: none; color: var(--muted); padding: 0 .2rem; font-size: 1.1rem; line-height: 1; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
@media (max-width: 575.98px) { .toast-stack { top: auto; bottom: 16px; right: 16px; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.js [data-reveal="fade-left"] { transform: translateX(40px); }
.js [data-reveal="fade-right"] { transform: translateX(-40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
