/* ==========================================================================
   Universal Shop — storefront styles
   Brand colours come from CSS variables set by the admin (Settings > Store).
   ========================================================================== */

:root {
    --brand: #4f46e5;
    --brand-rgb: 79, 70, 229;
    --dark: #0f172a;
    --dark-rgb: 15, 23, 42;
    --accent: #f43f5e;
    --accent-rgb: 244, 63, 94;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --surface: #f8fafc;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, .25);
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --header-h: 76px;

    --bs-primary: var(--brand);
    --bs-primary-rgb: var(--brand-rgb);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: var(--brand-rgb);
    --bs-link-hover-color: var(--brand);
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--text);
    --bs-border-color: var(--border);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .font-head { font-family: var(--font-head); font-weight: 700; color: var(--dark); letter-spacing: -.015em; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: rgba(var(--brand-rgb), .8); }
img { max-width: 100%; }
::selection { background: rgba(var(--brand-rgb), .15); }
.text-brand { color: var(--brand) !important; }
.bg-brand { background: var(--brand) !important; }
.bg-brand-soft { background: rgba(var(--brand-rgb), .08) !important; }
.text-muted { color: var(--muted) !important; }
.bg-surface { background: var(--surface); }
.fw-600 { font-weight: 600; }
.small-caps { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.container { --bs-gutter-x: 2rem; }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--radius-sm); padding: .6rem 1.2rem; transition: all .2s ease; }
.btn-lg { padding: .8rem 1.6rem; border-radius: 12px; }
.btn-sm { padding: .35rem .8rem; border-radius: 8px; }
.btn-primary, .btn-brand {
    --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: rgba(var(--brand-rgb), .9); --bs-btn-hover-border-color: rgba(var(--brand-rgb), .9);
    --bs-btn-active-bg: var(--brand); --bs-btn-active-border-color: var(--brand);
    --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand);
    --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
    box-shadow: 0 6px 16px -6px rgba(var(--brand-rgb), .55);
}
.btn-primary:hover, .btn-brand:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(var(--brand-rgb), .6); }
.btn-outline-primary {
    --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--brand); --bs-btn-active-border-color: var(--brand);
}
.btn-dark { --bs-btn-bg: var(--dark); --bs-btn-border-color: var(--dark); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--border); }
.btn-soft { background: rgba(var(--brand-rgb), .1); color: var(--brand); border: 0; }
.btn-soft:hover { background: var(--brand); color: #fff; }
.btn-icon { width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--border); padding: .65rem .95rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: rgba(var(--brand-rgb), .6); box-shadow: 0 0 0 .2rem rgba(var(--brand-rgb), .15); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-label { font-weight: 600; font-size: .875rem; color: var(--dark); }
.badge { font-weight: 600; }

/* ---------- Announcement bar ---------- */
.announcement { background: var(--dark); color: #fff; font-size: .82rem; }
.announcement a { color: #fff; }
.announcement .top-links a { color: rgba(255, 255, 255, .75); }
.announcement .top-links a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .25); }
.header-main { height: var(--header-h); }
.brand-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--dark); white-space: nowrap; }
.brand-logo img { max-height: 44px; width: auto; }
.brand-logo .logo-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), rgba(var(--brand-rgb), .7)); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 8px 16px -8px rgba(var(--brand-rgb), .8); }
.brand-logo:hover { color: var(--dark); }

.header-search { position: relative; flex: 1; max-width: 620px; }
.header-search .form-control { height: 48px; border-radius: 999px; padding-left: 1.25rem; padding-right: 3.5rem; background: var(--surface); border-color: transparent; }
.header-search .form-control:focus { background: #fff; }
.header-search .search-btn { position: absolute; right: 5px; top: 5px; height: 38px; width: 38px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; }
.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); z-index: 1050; overflow: hidden; display: none; max-height: 70vh; overflow-y: auto; }
.search-suggest.show { display: block; }
.search-suggest .item { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; color: var(--text); }
.search-suggest .item:hover, .search-suggest .item.active { background: var(--surface); }
.search-suggest .item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.search-suggest .group-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .6rem 1rem .2rem; font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: .25rem; }
.header-action { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: .35rem .6rem; color: var(--dark); border-radius: 12px; font-size: .72rem; font-weight: 600; background: none; border: 0; }
.header-action i { font-size: 1.35rem; line-height: 1; }
.header-action:hover { background: var(--surface); color: var(--brand); }
.header-action .count { position: absolute; top: 0; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .65rem; display: grid; place-items: center; font-weight: 700; border: 2px solid #fff; }
.header-action .count:empty, .header-action .count[data-count="0"] { display: none; }

.category-nav { border-top: 1px solid var(--border); }
.category-nav .nav-link { color: var(--dark); font-weight: 600; font-size: .9rem; padding: .85rem .9rem; position: relative; }
.category-nav .nav-link:hover, .category-nav .nav-link.active { color: var(--brand); }
.category-nav .nav-link::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s; }
.category-nav .nav-link:hover::after { transform: scaleX(1); }
.all-cats-btn { background: var(--brand); color: #fff !important; border-radius: 10px; padding: .55rem 1rem !important; margin: .35rem .75rem .35rem 0; }
.all-cats-btn::after { display: none; }
.mega-menu { border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .75rem; min-width: 280px; }
.mega-menu .dropdown-item { border-radius: 8px; padding: .55rem .75rem; font-weight: 500; display: flex; align-items: center; gap: .6rem; }
.mega-menu .dropdown-item:hover { background: rgba(var(--brand-rgb), .07); color: var(--brand); }
.nav-dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }

/* Mobile header */
@media (max-width: 991.98px) {
    :root { --header-h: 62px; }
    .brand-logo { font-size: 1.1rem; }
    .brand-logo .logo-mark { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }
    .brand-logo img { max-height: 36px; }
    .header-action { padding: .4rem; }
    .header-action span.label { display: none; }
    .header-action .count { right: -2px; top: -2px; }
}
.header-main > .brand-logo { min-width: 0; flex-shrink: 1; }
.header-main > .brand-logo span:last-child { overflow: hidden; text-overflow: ellipsis; }
.header-actions { flex-shrink: 0; }
.mobile-search { display: none; padding: .6rem 0 .8rem; }
.mobile-search.show { display: block; }

/* Offcanvas menu */
.offcanvas-menu { max-width: 88vw; }
.offcanvas-menu .menu-link { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; color: var(--dark); font-weight: 600; border-radius: 10px; }
.offcanvas-menu .menu-link:hover { background: var(--surface); }
.offcanvas-menu .sub-links a { display: block; padding: .5rem 1rem .5rem 2.6rem; color: var(--muted); font-size: .92rem; }

/* Mobile bottom navigation */
.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); display: flex; z-index: 1040; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -18px rgba(15, 23, 42, .3); }
.mobile-bottom-nav a, .mobile-bottom-nav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .5rem 0 .45rem; font-size: .68rem; font-weight: 600; color: var(--muted); position: relative; background: none; border: 0; }
.mobile-bottom-nav i { font-size: 1.25rem; }
.mobile-bottom-nav .active { color: var(--brand); }
.mobile-bottom-nav .count { position: absolute; top: 3px; left: calc(50% + 4px); min-width: 16px; height: 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .6rem; display: grid; place-items: center; padding: 0 4px; }
.mobile-bottom-nav .count[data-count="0"] { display: none; }
@media (max-width: 991.98px) { body { padding-bottom: 64px; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
@media (max-width: 767.98px) { .section { padding: 40px 0; } .section-sm { padding: 28px 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); margin: 0; }
.section-head p { color: var(--muted); margin: .35rem 0 0; }
.section-head .view-all { font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
.section-head .view-all:hover i { transform: translateX(3px); }
.section-head .view-all i { transition: transform .2s; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: rgba(var(--brand-rgb), .08); padding: .3rem .75rem; border-radius: 999px; margin-bottom: .75rem; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 0; }
.hero-slide { position: relative; border-radius: 24px; overflow: hidden; min-height: 460px; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 28, .78) 0%, rgba(10, 14, 28, .5) 38%, rgba(10, 14, 28, .08) 72%, transparent 100%); }
.hero-content { position: relative; z-index: 2; padding: 3rem 3.5rem; max-width: 620px; color: #fff; }
.hero-content .hero-sub { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); padding: .4rem .9rem; border-radius: 999px; font-weight: 600; font-size: .85rem; margin-bottom: 1rem; }
.hero-content h1, .hero-content .h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.hero-content h1 { color: inherit; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); font-weight: 800; line-height: 1.08; margin-bottom: 1rem; }
.hero-content p { font-size: 1.05rem; opacity: .92; margin-bottom: 1.75rem; }
.hero .carousel-indicators { margin-bottom: 1.25rem; }
.hero .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; opacity: .5; }
.hero .carousel-indicators .active { width: 28px; border-radius: 999px; opacity: 1; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 52px; height: 52px; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); border-radius: 50%; margin: 0 1rem; opacity: 0; transition: opacity .25s; }
.hero:hover .carousel-control-prev, .hero:hover .carousel-control-next { opacity: 1; }
.carousel-item .hero-content > * { animation: heroIn .8s both; }
.carousel-item .hero-content > *:nth-child(2) { animation-delay: .1s; }
.carousel-item .hero-content > *:nth-child(3) { animation-delay: .2s; }
.carousel-item .hero-content > *:nth-child(4) { animation-delay: .3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 767.98px) {
    .hero { padding-top: 12px; }
    .hero-slide { min-height: 420px; border-radius: 18px; background-position: 60% center; }
    .hero-slide::before { background: linear-gradient(180deg, rgba(10, 14, 28, .15) 0%, rgba(10, 14, 28, .55) 45%, rgba(10, 14, 28, .88) 100%); }
    .hero-content { padding: 1.75rem 1.5rem 3rem; align-self: flex-end; }
    .hero-content p { font-size: .95rem; margin-bottom: 1.25rem; }
}

/* Features bar */
.features-bar .feature { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; background: var(--surface); border-radius: var(--radius); height: 100%; }
.features-bar .feature i { font-size: 1.6rem; color: var(--brand); width: 48px; height: 48px; display: grid; place-items: center; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.features-bar .feature strong { display: block; font-size: .92rem; color: var(--dark); }
.features-bar .feature span { font-size: .8rem; color: var(--muted); }

/* Promo cards */
.promo-card { position: relative; border-radius: 20px; overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; padding: 1.5rem; transition: transform .35s, box-shadow .35s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.promo-card { background-size: cover; }
.promo-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 28, .05) 20%, rgba(10, 14, 28, .75) 100%); transition: opacity .35s; }
.promo-card:hover::before { opacity: .9; }
.promo-card > * { position: relative; }
.promo-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: .25rem; }
.promo-card .link { font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: .3rem; }

/* Wide promo */
.wide-promo { border-radius: 24px; overflow: hidden; background-size: cover; background-position: center; position: relative; color: #fff; padding: 3.5rem; }
.wide-promo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 28, .82) 0%, rgba(10, 14, 28, .45) 50%, rgba(10, 14, 28, .1) 100%); }
@media (max-width: 767.98px) { .wide-promo::before { background: rgba(10, 14, 28, .62); } }
.wide-promo > * { position: relative; }
.wide-promo h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); font-weight: 800; }
@media (max-width: 767.98px) { .wide-promo { padding: 2rem 1.5rem; } }

/* ---------- Category card ---------- */
.category-card { display: block; text-align: center; color: var(--dark); }
.category-card .thumb { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto .85rem; max-width: 150px; background: var(--surface); border: 4px solid #fff; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.category-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.category-card:hover .thumb { transform: translateY(-4px); box-shadow: 0 16px 30px -14px rgba(var(--brand-rgb), .45); }
.category-card:hover .thumb img { transform: scale(1.08); }
.category-card h6 { font-size: .95rem; margin-bottom: .15rem; color: var(--dark); }
.category-card:hover h6 { color: var(--brand); }
.category-card small { color: var(--muted); }

@media (min-width: 1200px) { .row-cols-xl-8 > * { flex: 0 0 auto; width: 12.5%; } }

/* ---------- Product card ---------- */
.product-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s, border-color .3s; }
.product-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.product-card .media { position: relative; aspect-ratio: 1; background: var(--surface); overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s; }
.product-card .media .img-hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .media .img-main { transform: scale(1.06); }
.product-card:hover .media .img-hover { opacity: 1; }
.product-card .badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
.p-badge { font-size: .7rem; font-weight: 700; padding: .28rem .55rem; border-radius: 6px; line-height: 1; color: #fff; }
.p-badge.sale { background: var(--accent); }
.p-badge.new { background: var(--brand); }
.p-badge.hot { background: #f59e0b; }
.p-badge.out { background: #64748b; }
.product-card .actions { position: absolute; top: .75rem; right: .75rem; display: flex; flex-direction: column; gap: .4rem; z-index: 2; }
.product-card .actions button, .product-card .actions a { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--dark); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(10px); transition: all .25s; }
.product-card .actions > :nth-child(2) { transition-delay: .04s; }
.product-card .actions > :nth-child(3) { transition-delay: .08s; }
.product-card:hover .actions button, .product-card:hover .actions a { opacity: 1; transform: none; }
.product-card .actions button:hover { background: var(--brand); color: #fff; }
.product-card .actions .wishlist-btn.active { color: var(--accent); opacity: 1; transform: none; }
.product-card .actions .wishlist-btn.active:hover { color: #fff; background: var(--accent); }
.product-card .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.product-card .meta { font-size: .75rem; color: var(--muted); margin-bottom: .25rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.product-card .title { font-size: .95rem; font-weight: 600; color: var(--dark); margin-bottom: .4rem; line-height: 1.35; min-height: 2.6em; }
.product-card .title a { color: inherit; }
.product-card .title a:hover { color: var(--brand); }
.product-card .rating { font-size: .78rem; color: var(--muted); margin-bottom: .5rem; display: flex; align-items: center; gap: .35rem; }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.price { font-weight: 800; color: var(--dark); font-size: 1.08rem; font-family: var(--font-head); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85rem; font-weight: 500; margin-left: .35rem; }
.product-card .add-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(var(--brand-rgb), .1); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; transition: all .2s; font-size: 1.1rem; }
.product-card .add-btn:hover { background: var(--brand); color: #fff; }
.product-card .add-btn:disabled { opacity: .45; pointer-events: none; }
.stars { color: #f59e0b; display: inline-flex; gap: 1px; }
.stars .bi-star { color: #cbd5e1; }
@media (hover: none) {
    .product-card .actions button, .product-card .actions a { opacity: 1; transform: none; width: 32px; height: 32px; font-size: .85rem; }
}
@media (max-width: 575.98px) {
    .product-card .body { padding: .7rem .75rem .8rem; }
    .product-card .title { font-size: .85rem; }
    .price { font-size: .98rem; }
    .price-old { display: block; margin-left: 0; font-size: .75rem; }
    .product-card .add-btn { width: 36px; height: 36px; border-radius: 10px; }
    .product-card .badges { top: .5rem; left: .5rem; }
    .product-card .actions { top: .5rem; right: .5rem; }
}

/* List view */
.products-list .product-col { width: 100%; flex: 0 0 100%; max-width: 100%; }
.products-list .product-card { flex-direction: row; }
.products-list .product-card .media { width: 240px; flex-shrink: 0; }
.products-list .product-card .body { padding: 1.25rem 1.5rem; }
.products-list .product-card .title { font-size: 1.1rem; min-height: 0; }
.products-list .product-card .excerpt { display: block !important; }
@media (max-width: 575.98px) { .products-list .product-card .media { width: 130px; } .products-list .product-card .body { padding: .8rem; } }

/* Horizontal scroll rows on mobile */
@media (max-width: 767.98px) {
    .scroll-row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin-right: calc(var(--bs-gutter-x) * -.5 - 1rem); scrollbar-width: none; }
    .scroll-row::-webkit-scrollbar { display: none; }
    .scroll-row > * { scroll-snap-align: start; flex: 0 0 46%; max-width: 46%; }
    .scroll-row > .wide { flex: 0 0 85%; max-width: 85%; }
    .row-cols-3.scroll-row > * { flex: 0 0 30%; max-width: 30%; }
}

/* ---------- Flash sale ---------- */
.flash-sale { background: linear-gradient(135deg, rgba(var(--accent-rgb), .08), rgba(var(--brand-rgb), .06)); border-radius: 28px; padding: 2.5rem; }
@media (max-width: 767.98px) { .flash-sale { border-radius: 0; padding: 2rem 0; margin: 0 calc(var(--bs-gutter-x) * -.5); padding-left: calc(var(--bs-gutter-x) * .5); padding-right: calc(var(--bs-gutter-x) * .5); } }
.countdown { display: inline-flex; gap: .45rem; align-items: center; }
.countdown .unit { background: var(--dark); color: #fff; border-radius: 10px; min-width: 50px; text-align: center; padding: .4rem .5rem; line-height: 1.1; }
.countdown .unit b { display: block; font-size: 1.2rem; font-family: var(--font-head); }
.countdown .unit small { font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.countdown .sep { font-weight: 800; color: var(--dark); }
@media (max-width: 400px) {
    .countdown { gap: .3rem; }
    .countdown .unit { min-width: 42px; padding: .3rem .35rem; }
    .countdown .unit b { font-size: 1rem; }
}
.sale-progress { height: 6px; border-radius: 999px; background: #fee2e2; overflow: hidden; margin-top: .5rem; }
.sale-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #fb923c); border-radius: inherit; }

/* ---------- Brands ---------- */
.brand-tile { display: grid; place-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; height: 96px; transition: all .25s; filter: grayscale(1); opacity: .75; }
.brand-tile:hover { filter: none; opacity: 1; box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-tile img { max-height: 56px; object-fit: contain; }

/* ---------- Why us ---------- */
.why-card { text-align: center; padding: 2rem 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); height: 100%; transition: all .3s; }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.why-card .icon { width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 1.1rem; display: grid; place-items: center; font-size: 1.8rem; color: var(--brand); background: rgba(var(--brand-rgb), .1); }
.why-card h5 { font-size: 1.05rem; }
.why-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: #fff; border-radius: 20px; padding: 1.75rem; border: 1px solid var(--border); height: 100%; position: relative; }
.testimonial-card::before { content: '\201C'; position: absolute; top: .5rem; right: 1.25rem; font-size: 5rem; line-height: 1; color: rgba(var(--brand-rgb), .12); font-family: Georgia, serif; }
.testimonial-card p { color: var(--text); font-size: .95rem; }
.testimonial-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ---------- Blog ---------- */
.blog-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); height: 100%; display: flex; flex-direction: column; transition: all .3s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card h5 { font-size: 1.05rem; line-height: 1.4; }
.blog-card h5 a { color: var(--dark); }
.blog-card h5 a:hover { color: var(--brand); }
.blog-content { font-size: 1.05rem; line-height: 1.8; }
.blog-content h2, .blog-content h3 { margin-top: 2rem; }
.blog-content blockquote { border-left: 4px solid var(--brand); padding: .75rem 1.25rem; background: var(--surface); border-radius: 0 12px 12px 0; font-style: italic; }
.blog-content img { border-radius: 12px; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.insta-grid a { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: block; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.insta-grid a::after { content: '\F437'; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: rgba(var(--brand-rgb), .55); opacity: 0; transition: opacity .3s; }
.insta-grid a:hover::after { opacity: 1; }
.insta-grid a:hover img { transform: scale(1.08); }
@media (max-width: 767.98px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* Newsletter */
.newsletter-band { background: linear-gradient(135deg, var(--dark), rgba(var(--brand-rgb), .95)); border-radius: 28px; padding: 3.5rem; color: #fff; position: relative; overflow: hidden; }
.newsletter-band::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .06); right: -120px; top: -160px; }
.newsletter-band h2 { color: #fff; }
.newsletter-band .form-control { height: 54px; border-radius: 999px; border: 0; padding-left: 1.4rem; }
.newsletter-band .btn { border-radius: 999px; height: 54px; padding: 0 1.75rem; }
@media (max-width: 767.98px) { .newsletter-band { padding: 2rem 1.5rem; border-radius: 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding-top: 64px; margin-top: 64px; font-size: .92rem; }
.site-footer h6 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-links li { margin-bottom: .6rem; }
.site-footer .brand-logo { color: #fff; }
.social-links a { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: all .2s; }
.social-links a:hover { background: var(--brand); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.25rem 0; margin-top: 3rem; font-size: .85rem; }
.pay-logos img { height: 28px; background: #fff; border-radius: 6px; padding: 3px 6px; }

/* ---------- Page header / breadcrumb ---------- */
.page-header { background: var(--surface); padding: 2rem 0; margin-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin: .35rem 0 0; }
@media (max-width: 991.98px) {
    .page-header { padding: 1.25rem 0; margin-bottom: 1rem; }
    .shop-sidebar-col { margin-top: 0 !important; padding-top: 0; }
}
@media (max-width: 575.98px) {
    .features-bar .feature { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
    .features-bar .feature i { width: 40px; height: 40px; font-size: 1.3rem; }
}
.breadcrumb { font-size: .85rem; margin: 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb-item.active { color: var(--dark); }

/* ---------- Shop ---------- */
.filter-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1rem; background: #fff; }
.filter-card h6 { font-size: .92rem; margin-bottom: .85rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.filter-list { max-height: 260px; overflow-y: auto; }
.filter-list .form-check { padding: .2rem 0 .2rem 1.75rem; }
.filter-list .form-check-label { font-size: .9rem; display: flex; justify-content: space-between; width: 100%; cursor: pointer; }
.filter-list .count { color: var(--muted); font-size: .8rem; }
.swatch-option { display: inline-block; }
.swatch-option input { display: none; }
.swatch-option span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 34px; padding: 0 .6rem; border: 1px solid var(--border); border-radius: 8px; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .15s; margin: 0 .3rem .4rem 0; background: #fff; }
.swatch-option span.color { width: 30px; min-width: 30px; height: 30px; padding: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px #fff; }
.swatch-option input:checked + span { border-color: var(--brand); color: var(--brand); background: rgba(var(--brand-rgb), .06); box-shadow: 0 0 0 2px rgba(var(--brand-rgb), .3); }
.swatch-option input:checked + span.color { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--brand); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.25rem; background: #fff; }
.view-toggle .btn { width: 38px; height: 38px; padding: 0; display: inline-grid; place-items: center; border-radius: 8px; }
.view-toggle .btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.active-filters .chip { display: inline-flex; align-items: center; gap: .35rem; background: rgba(var(--brand-rgb), .08); color: var(--brand); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 600; margin: 0 .35rem .35rem 0; }
.results-loading { position: relative; pointer-events: none; }
.results-loading::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .65); border-radius: var(--radius); }
.empty-state { text-align: center; padding: 4rem 1.5rem; }
.empty-state .icon { width: 96px; height: 96px; border-radius: 50%; background: rgba(var(--brand-rgb), .08); color: var(--brand); display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 1.25rem; }
.cat-sidebar-banner { border-radius: var(--radius); overflow: hidden; display: block; position: relative; aspect-ratio: 3 / 4; background-size: cover; background-position: center; color: #fff; padding: 1.5rem; }
.cat-sidebar-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 14, 28, .8)); }
.cat-sidebar-banner > * { position: relative; }
.cat-sidebar-banner:hover { color: #fff; }
.pagination { --bs-pagination-border-radius: 10px; --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-color: var(--dark); gap: .35rem; flex-wrap: wrap; }
.pagination .page-link { border-radius: 10px !important; min-width: 40px; text-align: center; }

/* ---------- Product detail ---------- */
.gallery-main { position: relative; border-radius: 20px; overflow: hidden; background: var(--surface); aspect-ratio: 1; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .15s ease-out; transform-origin: center; }
.gallery-main.zooming img { transform: scale(2); }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs button { width: 78px; height: 78px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface); transition: border-color .2s; }
.gallery-thumbs button.active { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.25; }
.product-price { font-size: 2rem; font-weight: 800; color: var(--dark); font-family: var(--font-head); }
.product-price .price-old { font-size: 1.1rem; }
.save-badge { background: rgba(var(--accent-rgb), .1); color: var(--accent); font-weight: 700; border-radius: 8px; padding: .3rem .6rem; font-size: .85rem; }
.stock-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; }
.stock-pill.in { background: #dcfce7; color: #15803d; }
.stock-pill.low { background: #fef3c7; color: #b45309; }
.stock-pill.out { background: #fee2e2; color: #b91c1c; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.qty-stepper button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.1rem; color: var(--dark); }
.qty-stepper button:hover { background: var(--surface); }
.qty-stepper input { width: 52px; height: 46px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-stepper.sm button { width: 32px; height: 36px; }
.qty-stepper.sm input { width: 40px; height: 36px; font-size: .9rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.info-list li:last-child { border-bottom: 0; }
.info-list i { color: var(--brand); font-size: 1.2rem; }
.product-tabs .nav-link { color: var(--muted); font-weight: 600; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: .85rem 1.25rem; white-space: nowrap; }
.product-tabs .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); background: none; }
.product-tabs { border-bottom: 1px solid var(--border); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.spec-table th { width: 35%; background: var(--surface); font-weight: 600; color: var(--dark); }
.rating-bar { height: 8px; background: var(--surface); border-radius: 999px; overflow: hidden; flex: 1; }
.rating-bar span { display: block; height: 100%; background: #f59e0b; border-radius: inherit; }
.review-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.review-item img.review-img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.7rem; color: #cbd5e1; cursor: pointer; transition: color .15s; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f59e0b; }
.share-links a { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); color: var(--dark); }
.share-links a:hover { background: var(--brand); color: #fff; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 64px; background: #fff; border-top: 1px solid var(--border); padding: .6rem 1rem; z-index: 1035; box-shadow: 0 -10px 24px -18px rgba(15, 23, 42, .4); transform: translateY(150%); transition: transform .3s; }
.sticky-buy.show { transform: none; }

/* ---------- Cart / checkout ---------- */
.cart-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; background: var(--surface); flex-shrink: 0; }
.cart-item .name { font-weight: 600; color: var(--dark); }
.summary-card { border: 1px solid var(--border); border-radius: 20px; padding: 1.5rem; background: #fff; position: sticky; top: calc(var(--header-h) + 60px); }
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .95rem; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: 1rem; font-size: 1.15rem; font-weight: 800; color: var(--dark); }
.free-ship-bar { background: rgba(var(--brand-rgb), .07); border-radius: 12px; padding: .8rem 1rem; font-size: .88rem; }
.free-ship-bar .progress { height: 6px; margin-top: .5rem; background: rgba(var(--brand-rgb), .15); }
.free-ship-bar .progress-bar { background: var(--brand); }
.checkout-card { border: 1px solid var(--border); border-radius: 20px; padding: 1.5rem; margin-bottom: 1.25rem; background: #fff; }
.checkout-card .step-title { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; font-size: 1.1rem; }
.checkout-card .step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; font-weight: 700; flex-shrink: 0; }
.option-card { position: relative; display: block; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; }
.option-card .inner { border: 1.5px solid var(--border); border-radius: 14px; padding: .9rem 1rem; display: flex; align-items: center; gap: .85rem; transition: all .2s; height: 100%; }
.option-card .inner img { height: 30px; width: 48px; object-fit: contain; }
.option-card input:checked + .inner { border-color: var(--brand); background: rgba(var(--brand-rgb), .04); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); }
.option-card input:checked + .inner .check { background: var(--brand); border-color: var(--brand); color: #fff; }
.option-card .check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); margin-left: auto; display: grid; place-items: center; font-size: .7rem; color: transparent; flex-shrink: 0; }
.checkout-steps { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; font-size: .85rem; font-weight: 600; flex-wrap: wrap; }
.checkout-steps span { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }
.checkout-steps span.done, .checkout-steps span.current { color: var(--brand); }
.checkout-steps .line { width: 40px; height: 2px; background: var(--border); align-self: center; }
.mini-item { display: flex; gap: .75rem; align-items: center; padding: .6rem 0; }
.mini-item .img-wrap { position: relative; }
.mini-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.mini-item .qty-badge { position: absolute; top: -6px; right: -6px; background: var(--dark); color: #fff; border-radius: 999px; font-size: .68rem; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }
.success-icon { width: 96px; height: 96px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 3rem; display: grid; place-items: center; margin: 0 auto 1.25rem; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Account ---------- */
.account-nav { border: 1px solid var(--border); border-radius: 20px; padding: .75rem; background: #fff; }
.account-nav .nav-link { color: var(--text); font-weight: 500; border-radius: 10px; padding: .7rem 1rem; display: flex; align-items: center; gap: .75rem; }
.account-nav .nav-link i { font-size: 1.1rem; color: var(--muted); }
.account-nav .nav-link:hover { background: var(--surface); }
.account-nav .nav-link.active { background: rgba(var(--brand-rgb), .08); color: var(--brand); font-weight: 600; }
.account-nav .nav-link.active i { color: var(--brand); }
.account-user { display: flex; align-items: center; gap: .85rem; padding: .75rem 1rem 1rem; border-bottom: 1px solid var(--border); margin-bottom: .5rem; }
.account-user img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
@media (max-width: 991.98px) {
    .account-nav { display: flex; overflow-x: auto; padding: .4rem; border-radius: 14px; scrollbar-width: none; }
    .account-nav .account-user { display: none; }
    .account-nav .nav-link { white-space: nowrap; padding: .55rem .85rem; font-size: .88rem; }
}
.stat-tile { border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem; background: #fff; height: 100%; }
.stat-tile .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .75rem; }
.stat-tile .value { font-size: 1.5rem; font-weight: 800; color: var(--dark); font-family: var(--font-head); }
.panel { border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.panel-head { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.panel-head h5 { margin: 0; font-size: 1.05rem; }
.panel-body { padding: 1.4rem; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.25rem 2rem; }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .15); }
.timeline li:not(:first-child) .dot { background: #cbd5e1; box-shadow: none; }
.order-progress { display: flex; justify-content: space-between; position: relative; margin: 1.5rem 0 1rem; }
.order-progress::before { content: ''; position: absolute; top: 17px; left: 5%; right: 5%; height: 3px; background: var(--border); }
.order-progress .bar { position: absolute; top: 17px; left: 5%; height: 3px; background: var(--brand); transition: width .6s; }
.order-progress .step { position: relative; text-align: center; flex: 1; font-size: .75rem; font-weight: 600; color: var(--muted); }
.order-progress .step i { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 3px solid var(--border); display: grid; place-items: center; margin: 0 auto .4rem; font-size: 1rem; }
.order-progress .step.done { color: var(--brand); }
.order-progress .step.done i { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 575.98px) { .order-progress .step span { display: none; } }

/* Badges for statuses */
.badge-soft-warning { background: #fef3c7; color: #b45309; }
.badge-soft-info { background: #e0f2fe; color: #0369a1; }
.badge-soft-primary { background: rgba(var(--brand-rgb), .12); color: var(--brand); }
.badge-soft-indigo { background: #e0e7ff; color: #4338ca; }
.badge-soft-purple { background: #f3e8ff; color: #7e22ce; }
.badge-soft-teal { background: #ccfbf1; color: #0f766e; }
.badge-soft-success { background: #dcfce7; color: #15803d; }
.badge-soft-danger { background: #fee2e2; color: #b91c1c; }
.badge-soft-secondary { background: #f1f5f9; color: #475569; }
.badge-soft-dark { background: #e2e8f0; color: #0f172a; }
[class*="badge-soft-"] { padding: .4em .7em; border-radius: 999px; font-size: .75rem; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 300px); display: flex; align-items: center; padding: 3rem 0; }
.auth-card { max-width: 460px; margin: 0 auto; border: 1px solid var(--border); border-radius: 24px; padding: 2.5rem; background: #fff; box-shadow: var(--shadow); width: 100%; }
@media (max-width: 575.98px) { .auth-card { padding: 1.75rem 1.25rem; border-radius: 18px; } }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon .form-control { padding-left: 2.6rem; }
.toggle-password { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: .35rem .5rem; }

/* ---------- Toasts & misc ---------- */
.toast-stack { position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: .6rem; max-width: calc(100vw - 2rem); width: 380px; }
.toast-item { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: .9rem 1rem; display: flex; gap: .75rem; align-items: flex-start; border-left: 4px solid var(--brand); animation: toastIn .35s cubic-bezier(.2, 1, .3, 1); font-size: .92rem; }
.toast-item.success { border-color: #16a34a; }
.toast-item.error { border-color: #dc2626; }
.toast-item.info { border-color: #0284c7; }
.toast-item.warning { border-color: #d97706; }
.toast-item i { font-size: 1.2rem; }
.toast-item.success i { color: #16a34a; }
.toast-item.error i { color: #dc2626; }
.toast-item.info i { color: #0284c7; }
.toast-item.hide { animation: toastOut .3s forwards; }
@keyframes toastIn { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastOut { to { transform: translateY(-14px); opacity: 0; } }
@media (max-width: 575.98px) { .toast-stack { top: auto; bottom: 76px; right: .75rem; left: .75rem; width: auto; transform: none; } }
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 46px; height: 46px; border-radius: 50%; background: var(--dark); color: #fff; border: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .3s; z-index: 1020; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; visibility: visible; }
.whatsapp-float { position: fixed; left: 1.25rem; bottom: 1.25rem; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; z-index: 1020; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
@media (max-width: 991.98px) { .back-to-top { bottom: 80px; right: .9rem; width: 40px; height: 40px; } .whatsapp-float { bottom: 80px; right: .9rem; left: auto; width: 44px; height: 44px; font-size: 1.3rem; } .back-to-top.show ~ .whatsapp-float, .whatsapp-float.shift { bottom: 130px; } }
.content-body { line-height: 1.8; }
.content-body h3 { font-size: 1.25rem; margin-top: 1.75rem; }
.table-responsive { border-radius: var(--radius); }
.modal-content { border-radius: 20px; border: 0; }
.spinner-inline { width: 1rem; height: 1rem; border-width: .15em; }
.lazy-fade { opacity: 0; transition: opacity .4s; }
.lazy-fade.loaded { opacity: 1; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 3000; background: var(--brand); color: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.compare-table th, .compare-table td { min-width: 180px; vertical-align: top; }
.compare-table img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; }

@media print {
    .site-header, .site-footer, .mobile-bottom-nav, .announcement, .back-to-top, .whatsapp-float, .no-print { display: none !important; }
    body { padding: 0; }
}
