/* ==========================================================================
   Storefront theme — Door & Furniture showroom
   ========================================================================== */
:root {
    --walnut: #2b1d14;
    --walnut-2: #3d2a1d;
    --brass: #b8894a;
    --brass-dark: #9a6f35;
    --cream: #f7f2ea;
    --sand: #ede4d6;
    --ink: #221a14;
    --muted: #7a6d62;
    --line: #e6ddcf;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(43, 29, 20, .08);
    --shadow-lg: 0 24px 60px rgba(43, 29, 20, .16);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-primary: #b8894a;
    --bs-primary-rgb: 184, 137, 74;
    --bs-link-color: #9a6f35;
    --bs-link-hover-color: #2b1d14;
}

body { font-family: var(--font-body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .display-font { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
a { text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--brass); color: #fff; }

.text-brass { color: var(--brass) !important; }
.text-muted-2 { color: var(--muted) !important; }
.bg-cream { background: var(--cream) !important; }
.bg-walnut { background: var(--walnut) !important; color: #f3eadf; }

/* Buttons ---------------------------------------------------------------- */
.btn { border-radius: 999px; font-weight: 500; padding: .65rem 1.5rem; transition: all .25s ease; }
.btn-sm { padding: .4rem 1rem; }
.btn-brass { background: var(--brass); color: #fff; border: 1px solid var(--brass); }
.btn-brass:hover, .btn-brass:focus { background: var(--brass-dark); border-color: var(--brass-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(184, 137, 74, .35); }
.btn-walnut { background: var(--walnut); color: #fff; border: 1px solid var(--walnut); }
.btn-walnut:hover { background: var(--walnut-2); color: #fff; transform: translateY(-1px); }
.btn-outline-walnut { border: 1px solid var(--walnut); color: var(--walnut); background: transparent; }
.btn-outline-walnut:hover { background: var(--walnut); color: #fff; }
.btn-outline-light-soft { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light-soft:hover { background: #fff; color: var(--walnut); }
.btn-whatsapp { background: #25d366; color: #fff; border: 1px solid #25d366; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

/* Top bar & header -------------------------------------------------------- */
.topbar { background: var(--walnut); color: #d9cbb8; font-size: .82rem; }
.topbar a { color: #d9cbb8; }
.topbar a:hover { color: #fff; }
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); z-index: 1030; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(43, 29, 20, .08); }
.site-header .navbar-brand img { max-height: 52px; width: auto; }
.brand-text { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--walnut); line-height: 1; }
.brand-text small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-top: 4px; }
.site-header .nav-link { color: var(--ink); font-weight: 500; padding: .9rem 1rem !important; position: relative; }
.site-header .nav-link::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .55rem; height: 2px; background: var(--brass); transform: scaleX(0); transition: transform .25s; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--brass-dark); }
.header-icon { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--walnut); position: relative; transition: background .2s; font-size: 1.15rem; }
.header-icon:hover { background: var(--cream); color: var(--brass-dark); }
.cart-badge { position: absolute; top: 2px; right: 0; background: var(--brass); color: #fff; font-size: .65rem; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 700; padding: 0 4px; }
.cart-badge.bump { animation: bump .45s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.mega-menu { border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.25rem; min-width: 520px; }
.mega-menu .dropdown-header { font-family: var(--font-display); color: var(--walnut); font-size: 1rem; padding-left: .5rem; }
.mega-menu .dropdown-item { border-radius: 8px; color: var(--muted); padding: .35rem .5rem; }
.mega-menu .dropdown-item:hover { background: var(--cream); color: var(--walnut); }
.search-form .form-control { border-radius: 999px; background: var(--cream); border-color: transparent; padding-left: 2.6rem; }
.search-form .bi-search { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero .carousel-item { min-height: 78vh; background-size: cover; background-position: center; }
.hero .carousel-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 16, 10, .82) 0%, rgba(25, 16, 10, .45) 55%, rgba(25, 16, 10, .1) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 7rem 0; }
.hero-eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; color: #e7c792; font-weight: 600; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.08; margin: 1rem 0 1.25rem; }
.hero p { font-size: 1.1rem; color: #eadfd1; max-width: 520px; }
.hero .carousel-indicators [data-bs-target] { width: 30px; height: 3px; }
.hero .carousel-item.active .hero-content > * { animation: fadeUp .9s both; }
.hero .carousel-item.active .hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero .carousel-item.active .hero-content > *:nth-child(3) { animation-delay: .24s; }
.hero .carousel-item.active .hero-content > *:nth-child(4) { animation-delay: .36s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.page-banner { position: relative; padding: 5.5rem 0 4.5rem; color: #fff; background: var(--walnut) center/cover no-repeat; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(25,16,10,.88), rgba(25,16,10,.55)); }
.page-banner > .container { position: relative; }
.page-banner h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.page-banner .breadcrumb { --bs-breadcrumb-divider-color: #cdbba3; --bs-breadcrumb-item-active-color: #e7c792; margin: 0; }
.page-banner .breadcrumb a { color: #fff; }

/* Sections --------------------------------------------------------------- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-heading { margin-bottom: 2.75rem; }
.section-heading .eyebrow { letter-spacing: .28em; text-transform: uppercase; font-size: .74rem; color: var(--brass); font-weight: 700; display: inline-flex; align-items: center; gap: .6rem; }
.section-heading .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--brass); }
.section-heading h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: .5rem 0 .75rem; }
.section-heading p { color: var(--muted); max-width: 620px; }
.section-heading.text-center p { margin-left: auto; margin-right: auto; }

/* Category cards ---------------------------------------------------------- */
.category-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(25,16,10,.85)); }
.category-card .info { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 2; color: #fff; }
.category-card h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.category-card .count { font-size: .82rem; color: #e7c792; }
.category-card:hover img { transform: scale(1.08); }
.category-card .arrow { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--walnut); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(-8px); transition: all .3s; }
.category-card:hover .arrow { opacity: 1; transform: none; }

/* Product cards ---------------------------------------------------------- */
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card .thumb { position: relative; aspect-ratio: 1 / 1; background: var(--cream); overflow: hidden; display: block; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .badges { position: absolute; top: .8rem; left: .8rem; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
.badge-soft { font-size: .7rem; font-weight: 600; padding: .35rem .65rem; border-radius: 999px; letter-spacing: .02em; }
.badge-sale { background: #c0392b; color: #fff; }
.badge-featured { background: var(--walnut); color: #f3dfbe; }
.badge-out { background: #6c757d; color: #fff; }
.badge-pre { background: #2e86ab; color: #fff; }
.product-card .quick-actions { position: absolute; right: .8rem; bottom: .8rem; display: flex; gap: .4rem; opacity: 0; transform: translateY(10px); transition: all .3s; z-index: 2; }
.product-card:hover .quick-actions { opacity: 1; transform: none; }
.quick-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 0; color: var(--walnut); box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.quick-btn:hover { background: var(--brass); color: #fff; }
.quick-btn.whatsapp:hover { background: #25d366; }
.product-card .body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-card .category { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.product-card .title { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); margin: .35rem 0 .55rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .title:hover { color: var(--brass-dark); }
.price { font-weight: 700; color: var(--walnut); font-size: 1.08rem; }
.price del { color: #a99d92; font-weight: 400; font-size: .88rem; margin-left: .4rem; }
.product-card .footer-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.stock-dot { font-size: .75rem; color: var(--muted); }
.stock-dot::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; margin-right: .35rem; vertical-align: middle; }
.stock-dot.out::before { background: #c0392b; }
.stock-dot.low::before { background: #f39c12; }

/* Promo & about ---------------------------------------------------------- */
.promo-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; background: var(--walnut) center/cover; padding: 2.25rem; }
.promo-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25,16,10,.85), rgba(25,16,10,.15)); transition: background .4s; }
.promo-card:hover::before { background: linear-gradient(0deg, rgba(25,16,10,.92), rgba(25,16,10,.3)); }
.promo-card > * { position: relative; }
.promo-card h3 { font-size: 1.8rem; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); }
.experience-badge { position: absolute; right: -1rem; bottom: 2rem; background: var(--brass); color: #fff; padding: 1.5rem 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; }
.experience-badge strong { font-family: var(--font-display); font-size: 2.6rem; display: block; line-height: 1; }
.why-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem; height: 100%; border: 1px solid var(--line); transition: all .3s; }
.why-card:hover { border-color: var(--brass); transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--cream); color: var(--brass-dark); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.25rem; transition: all .3s; }
.why-card:hover .why-icon { background: var(--brass); color: #fff; }

/* Gallery ---------------------------------------------------------------- */
.gallery-grid { columns: 4 240px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; position: relative; border-radius: 12px; overflow: hidden; display: block; cursor: zoom-in; }
.gallery-item img { width: 100%; display: block; transition: transform .6s; }
.gallery-item .caption { position: absolute; inset: auto 0 0 0; padding: 1rem; color: #fff; background: linear-gradient(0deg, rgba(25,16,10,.85), transparent); opacity: 0; transition: opacity .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .caption { opacity: 1; }
.filter-pills .btn { border-radius: 999px; }
.filter-pills .btn.active { background: var(--walnut); color: #fff; border-color: var(--walnut); }

/* Testimonials ----------------------------------------------------------- */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow); height: 100%; position: relative; }
.testimonial-card .bi-quote { position: absolute; top: 1.25rem; right: 1.5rem; font-size: 3rem; color: var(--sand); }
.testimonial-card img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.stars { color: #e3a33b; letter-spacing: 2px; }

/* Contact strip & footer ------------------------------------------------- */
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); height: 100%; }
.contact-tile .icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--brass); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.site-footer { background: #1d140d; color: #bdae9c; font-size: .93rem; }
.site-footer h5 { color: #fff; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1.25rem; }
.site-footer a { color: #bdae9c; }
.site-footer a:hover { color: var(--brass); }
.site-footer .footer-links li { margin-bottom: .55rem; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.15); color: #fff !important; transition: all .25s; }
.social-btn:hover { background: var(--brass); border-color: var(--brass); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* WhatsApp float --------------------------------------------------------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 1050; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .25s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.back-to-top { position: fixed; right: 30px; bottom: 92px; z-index: 1040; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--walnut); color: #fff; opacity: 0; pointer-events: none; transition: opacity .3s; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* Shop ------------------------------------------------------------------- */
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.filter-card h6 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.filter-cat { display: flex; justify-content: space-between; padding: .4rem 0; color: var(--ink); }
.filter-cat:hover, .filter-cat.active { color: var(--brass-dark); font-weight: 600; }
.filter-cat .count { color: var(--muted); font-size: .8rem; }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--brass); box-shadow: 0 0 0 .2rem rgba(184, 137, 74, .15); }
.form-check-input:checked { background-color: var(--brass); border-color: var(--brass); }
.pagination { --bs-pagination-color: var(--walnut); --bs-pagination-active-bg: var(--walnut); --bs-pagination-active-border-color: var(--walnut); --bs-pagination-border-radius: 10px; gap: .3rem; }
.pagination .page-link { border-radius: 10px !important; }

/* Product page ----------------------------------------------------------- */
.product-gallery .main-image { border-radius: var(--radius); overflow: hidden; background: var(--cream); aspect-ratio: 1 / 1; position: relative; cursor: zoom-in; }
.product-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .4s; }
.product-gallery .main-image:hover img { transform: scale(1.04); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; margin-top: .75rem; }
.thumbs button { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; background: var(--cream); aspect-ratio: 1; transition: border-color .2s; }
.thumbs button.active, .thumbs button:hover { border-color: var(--brass); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.product-info .price { font-size: 1.8rem; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-weight: 500; text-align: right; }
.qty-input { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-input button { border: 0; background: transparent; width: 42px; height: 46px; color: var(--walnut); font-size: 1.1rem; }
.qty-input button:hover { background: var(--cream); }
.qty-input input { width: 54px; text-align: center; border: 0; font-weight: 600; -moz-appearance: textfield; }
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-input.qty-sm button { width: 34px; height: 36px; }
.qty-input.qty-sm input { width: 42px; }
.variant-heading { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 2px solid var(--brass); display: inline-block; }
.variant-heading strong { color: var(--walnut); letter-spacing: 0; text-transform: none; font-size: .95rem; margin-left: .25rem; }
.variant-option { position: relative; cursor: pointer; margin: 0; }
.variant-option input { position: absolute; opacity: 0; pointer-events: none; }
.variant-option span { display: inline-block; min-width: 84px; text-align: center; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 500; font-size: .95rem; background: #fff; transition: all .2s; }
.variant-option:hover span { border-color: var(--brass); }
.variant-option input:checked + span { border-color: var(--brass); background: #fdf7ee; color: var(--walnut); box-shadow: 0 0 0 3px rgba(184,137,74,.15); font-weight: 600; }
.variant-option input:focus-visible + span { outline: 2px solid var(--walnut); outline-offset: 2px; }
.variant-option.unavailable span { color: #b5aba1; text-decoration: line-through; background: #faf8f5; }
.variant-tag { display: inline-block; font-size: .78rem; background: var(--cream); color: var(--walnut); border-radius: 6px; padding: .1rem .5rem; font-weight: 600; }
.color-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.trust-item { background: var(--cream); border-radius: 12px; padding: .9rem; text-align: center; font-size: .8rem; color: var(--muted); }
.trust-item i { display: block; font-size: 1.35rem; color: var(--brass-dark); margin-bottom: .35rem; }
.nav-tabs-elegant { border-bottom: 1px solid var(--line); gap: 1.5rem; }
.nav-tabs-elegant .nav-link { border: 0; color: var(--muted); padding: .9rem 0; font-weight: 500; border-bottom: 2px solid transparent; border-radius: 0; background: none; }
.nav-tabs-elegant .nav-link.active { color: var(--walnut); border-bottom-color: var(--brass); }
.rich-content { line-height: 1.8; color: #3d332b; }
.rich-content img { border-radius: 10px; height: auto; }
.rich-content h2, .rich-content h3 { margin-top: 1.75rem; }
.lightbox-modal .modal-content { background: transparent; border: 0; }
.lightbox-modal img { max-height: 85vh; object-fit: contain; border-radius: 10px; }

/* Cart & checkout -------------------------------------------------------- */
.cart-table td { vertical-align: middle; }
.cart-item-img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--cream); }
.summary-card { background: var(--cream); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; }
.summary-total { border-top: 1px solid #d9ccb9; margin-top: .6rem; padding-top: 1rem; font-size: 1.2rem; font-weight: 700; color: var(--walnut); }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.checkout-card h5 { font-family: var(--font-display); }
.pay-option { border: 1.5px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; cursor: pointer; transition: all .2s; display: block; }
.pay-option:hover { border-color: var(--brass); }
.pay-option.selected { border-color: var(--brass); background: #fdf9f3; box-shadow: 0 0 0 3px rgba(184,137,74,.12); }
.pay-details { background: var(--cream); border-radius: 10px; padding: 1rem; margin-top: .75rem; font-size: .9rem; white-space: pre-line; }
.success-icon { width: 96px; height: 96px; border-radius: 50%; background: #e8f6ee; color: #1f9d55; display: inline-flex; align-items: center; justify-content: center; font-size: 3rem; animation: pop .6s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

/* Order tracking --------------------------------------------------------- */
.track-steps { display: flex; justify-content: space-between; position: relative; margin: 2rem 0; }
.track-steps::before { content: ''; position: absolute; top: 22px; left: 5%; right: 5%; height: 3px; background: var(--line); }
.track-step { position: relative; text-align: center; flex: 1; font-size: .78rem; color: var(--muted); }
.track-step .dot { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; margin: 0 auto .5rem; font-size: 1.1rem; position: relative; z-index: 1; }
.track-step.done .dot { background: var(--brass); border-color: var(--brass); color: #fff; }
.track-step.current .dot { box-shadow: 0 0 0 6px rgba(184,137,74,.2); }
.track-step.done { color: var(--walnut); font-weight: 600; }
.timeline { list-style: none; padding-left: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.25rem 2rem; }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--brass); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--brass); }

/* Account ---------------------------------------------------------------- */
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-nav .user-head { background: var(--walnut); color: #fff; padding: 1.5rem; }
.account-nav .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brass); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); }
.account-nav a, .account-nav button.nav-btn { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.5rem; color: var(--ink); border-bottom: 1px solid var(--line); width: 100%; background: none; border-left: 3px solid transparent; text-align: left; border-top: 0; border-right: 0; }
.account-nav a:hover, .account-nav a.active { background: var(--cream); border-left-color: var(--brass); color: var(--walnut); }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; height: 100%; }
.stat-tile .icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--brass-dark); font-size: 1.25rem; margin-bottom: .9rem; }
.stat-tile strong { font-size: 1.6rem; font-family: var(--font-display); display: block; }
.card-elegant { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.auth-card { max-width: 480px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 2.5rem; }
.auth-wrap { background: linear-gradient(135deg, var(--cream), #fff); padding: 4.5rem 0; }

/* Misc ------------------------------------------------------------------- */
.toast-container { z-index: 1100; }
.toast { border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.accordion-elegant .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: .75rem; overflow: hidden; }
.accordion-elegant .accordion-button { font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; }
.accordion-elegant .accordion-button:not(.collapsed) { background: var(--cream); color: var(--walnut); box-shadow: none; }
.accordion-elegant .accordion-button:focus { box-shadow: none; }
.map-frame { border: 0; width: 100%; height: 420px; border-radius: var(--radius); filter: grayscale(.2); }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3.5rem; color: var(--sand); }
.status-badge { padding: .4rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }

@media (max-width: 991.98px) {
    .site-header .nav-link::after { display: none; }
    .mega-menu { min-width: 0; box-shadow: none; padding: .25rem 0 .5rem 1rem; }
    .hero, .hero .carousel-item { min-height: 66vh; }
    .hero-content { padding: 5rem 0; }
    .section { padding: 3.75rem 0; }
    .experience-badge { right: 1rem; }
    .summary-card { position: static; }
}
main, .site-footer { overflow-x: clip; }
@media (max-width: 575.98px) {
    .site-header .navbar > .container { flex-wrap: nowrap; }
    .site-header .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 0 1rem; box-shadow: 0 12px 24px rgba(43,29,20,.08); }
    .site-header .navbar-brand { margin-right: .5rem !important; min-width: 0; flex: 1 1 auto; overflow: hidden; }
    .brand-text { display: block; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand-text small { font-size: .55rem; letter-spacing: .2em; }
    .site-header .navbar-brand img { max-height: 40px; }
    .header-icon { width: 36px; height: 36px; font-size: 1.05rem; }
    .trust-row { grid-template-columns: 1fr 1fr 1fr; }
    .track-step span { display: none; }
    .product-card .quick-actions { opacity: 1; transform: none; }
    .auth-card { padding: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
