:root {
    --fct-navy: #071d38;
    --fct-blue: #0d5cad;
    --fct-gold: #f5b700;
    --fct-light: #f4f7fb;
}

body { background: var(--fct-light); color: #162333; }
.brand-nav { background: linear-gradient(110deg, var(--fct-navy), var(--fct-blue)); }
.hero-section { color: #fff; background: radial-gradient(circle at 80% 20%, #167dcc, transparent 35%), linear-gradient(120deg, var(--fct-navy), #0b4d8a); }
.min-vh-50 { min-height: 50vh; }
.feature-card { height: 100%; padding: 2rem; background: #fff; border-radius: 1rem; box-shadow: 0 .5rem 1.5rem rgba(7, 29, 56, .08); }
.auth-page { min-height: 100vh; background: linear-gradient(135deg, var(--fct-navy), var(--fct-blue)); }
.auth-card { max-width: 520px; border-radius: 1rem; }
.admin-body { background: #f5f7fb; }
.admin-sidebar { min-height: calc(100vh - 56px); background: #111827; }
.admin-menu { min-height: calc(100vh - 56px); }
.admin-menu .nav-link { color: #d9e2ef; padding: .75rem 1rem; border-radius: .5rem; }
.admin-menu .nav-link:not(.disabled):hover { color: #fff; background: rgba(255,255,255,.1); }
.admin-menu .nav-section-title { color: #7f8da3; font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: 1.1rem 1rem .35rem; }
.dashboard-card { min-height: 135px; border-radius: .85rem; }
.table-actions { white-space: nowrap; }
.status-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .35rem; }
.status-active { background: #198754; }
.status-inactive { background: #6c757d; }
.product-thumb { width: 58px; height: 58px; object-fit: cover; border-radius: .6rem; background: #eef2f7; }
.image-preview { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: .75rem; background: #eef2f7; }
.form-section { border-bottom: 1px solid #e8edf3; padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
.form-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.store-topbar { background: #071d38; color: #d7e3f0; font-size: .78rem; padding: .4rem 0; }
.store-topbar a { color: #f5b700; text-decoration: none; }
.store-main-header { background: #fff; border-bottom: 1px solid #e2e8f0; }
.main-header-grid { display: grid; grid-template-columns: minmax(210px,auto) minmax(320px,1fr) auto; align-items: center; gap: 1.5rem; min-height: 92px; }
.store-logo { display: flex; align-items: center; gap: .7rem; color: #0b2544; text-decoration: none; }
.store-logo-mark { display: grid; width: 44px; height: 44px; color: #071d38; background: var(--fct-gold); border-radius: .65rem 0 .65rem 0; font-size: 1.55rem; font-weight: 900; place-items: center; }
.store-logo > span:last-child { display: flex; flex-direction: column; }
.store-logo strong { max-width: 180px; overflow: hidden; font-size: 1.05rem; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.store-logo small { color: #718096; font-size: .68rem; }
.header-search { display: grid; grid-template-columns: minmax(130px,170px) 1fr auto; overflow: hidden; border: 2px solid var(--fct-blue); border-radius: .55rem; }
.header-search select,.header-search input { min-width: 0; height: 48px; padding: 0 .85rem; background: #fff; border: 0; outline: 0; }
.header-search select { color: #31445a; border-right: 1px solid #d9e2ec; font-size: .84rem; }
.header-search input { color: #172334; }
.header-search button { padding: 0 1.25rem; color: #fff; background: var(--fct-blue); border: 0; font-weight: 750; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; white-space: nowrap; }
.header-help { display: flex; flex-direction: column; }
.header-help span { color: #78869a; font-size: .68rem; }
.header-help strong { color: #172334; font-size: .83rem; }
.header-cart { display: flex; align-items: center; gap: .45rem; color: #172334; text-decoration: none; font-weight: 700; }
.header-cart > span:last-child { display: flex; flex-direction: column; }
.header-cart small { color: #78869a; font-size: .67rem; font-weight: 500; }
.cart-symbol { font-size: 1.3rem; }
.store-category-nav { position: sticky; z-index: 1020; top: 0; background: #0a315a; box-shadow: 0 4px 12px rgba(2,18,36,.14); }
.store-category-nav a { flex: 0 0 auto; padding: .82rem 1rem; color: #e6eef7; text-decoration: none; white-space: nowrap; font-size: .83rem; font-weight: 650; }
.store-category-nav a:hover { color: var(--fct-gold); }
.store-category-nav .all-categories-link { color: #10243d; background: var(--fct-gold); font-weight: 800; }
.store-category-nav .staff-link { color: var(--fct-gold); }
.category-strip { background: #fff; border-bottom: 1px solid #e5eaf0; box-shadow: 0 2px 8px rgba(7,29,56,.04); }
.category-strip a { color: #26384d; text-decoration: none; white-space: nowrap; padding: .8rem 0; font-size: .9rem; font-weight: 600; }
.category-strip a:hover { color: var(--fct-blue); }
.store-footer { background: var(--fct-navy); color: #cbd5e1; }
.store-footer h2,.store-footer h3 { color: #fff; }
.store-footer a { color: #cbd5e1; display: block; text-decoration: none; margin-bottom: .45rem; }
.store-footer a:hover { color: var(--fct-gold); }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand .store-logo-mark { flex: 0 0 42px; }
.store-footer .footer-whatsapp { display: inline-block; padding: .6rem .85rem; color: #fff; background: #168b51; border-radius: .45rem; font-weight: 700; }
.store-footer .footer-whatsapp:hover { color: #fff; background: #107341; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.product-card { border: 0; border-radius: 1rem; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 1rem 2rem rgba(7,29,56,.12)!important; }
.product-card-image { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; padding: .75rem; }
.product-card-placeholder { width: 100%; aspect-ratio: 1/1; display: grid; place-items: center; background: #eef2f7; color: #8390a1; }
.product-title-link { color: #172334; text-decoration: none; }
.product-title-link:hover { color: var(--fct-blue); }
.price-current { color: #b42318; font-weight: 800; }
.product-gallery-main { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; border-radius: 1rem; }
.cart-image { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: .6rem; }
.checkout-summary { position: sticky; top: 90px; }

/* Batch 7: storefront homepage */
.home-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(31, 143, 231, .46), transparent 28%),
        radial-gradient(circle at 12% 88%, rgba(245, 183, 0, .16), transparent 25%),
        linear-gradient(125deg, #06172b 0%, #0a3765 58%, #0d5cad 100%);
}
.home-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; bottom: -250px; border: 70px solid rgba(255,255,255,.04); border-radius: 50%; }
.home-hero .container { position: relative; z-index: 1; }
.hero-kicker,.section-eyebrow { color: #e0a900; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-hero h1 { line-height: 1.05; letter-spacing: -.035em; }
.home-hero h1 span { color: var(--fct-gold); }
.home-hero .lead { color: #d7e6f6; max-width: 700px; }
.hero-search { display: flex; max-width: 760px; padding: .4rem; background: #fff; border-radius: .85rem; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.22); }
.hero-search input { flex: 1; min-width: 0; padding: .85rem 1rem; border: 0; outline: 0; border-radius: .6rem; }
.hero-search button { padding: .8rem 1.25rem; color: #132031; background: var(--fct-gold); border: 0; border-radius: .6rem; font-weight: 800; }
.hero-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.1rem; font-size: .84rem; color: #bbcee2; }
.hero-suggestions a { padding: .28rem .7rem; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.25); border-radius: 2rem; }
.hero-suggestions a:hover { color: #132031; background: var(--fct-gold); border-color: var(--fct-gold); }
.hero-guide-card { padding: 2rem; color: #172334; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.55); border-radius: 1.35rem; box-shadow: 0 1.5rem 4rem rgba(1,16,32,.28); }
.hero-guide-card h2 { margin: .35rem 0 1.35rem; font-size: 1.55rem; font-weight: 800; }
.hero-guide-label { color: var(--fct-blue); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.hero-step { display: flex; gap: .9rem; align-items: center; padding: .85rem 0; border-top: 1px solid #e8edf3; }
.hero-step b { display: grid; width: 2rem; height: 2rem; color: #fff; background: var(--fct-blue); border-radius: 50%; place-items: center; }
.hero-step span { display: flex; flex-direction: column; }
.hero-step small { color: #68778a; }
.home-stats { background: #fff; border-bottom: 1px solid #e5eaf0; box-shadow: 0 5px 18px rgba(7,29,56,.05); }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 1.2rem .5rem; border-right: 1px solid #e5eaf0; }
.home-stats .col-4:last-child .stat-item { border-right: 0; }
.stat-item strong { color: var(--fct-blue); font-size: 1.55rem; line-height: 1; }
.stat-item span { margin-top: .35rem; color: #66758a; font-size: .8rem; }
.home-section { padding-top: 5rem; padding-bottom: 5rem; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin: .25rem 0; color: #10243d; font-size: 2rem; font-weight: 800; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: #6b7889; }
.section-heading > a { color: var(--fct-blue); text-decoration: none; font-weight: 700; white-space: nowrap; }
.section-heading > a span { margin-left: .25rem; }
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.collection-card { position: relative; display: block; overflow: hidden; color: #172334; text-decoration: none; background: #fff; border: 1px solid #e5eaf0; border-radius: .8rem; box-shadow: 0 .4rem 1.2rem rgba(7,29,56,.06); transition: transform .2s, border-color .2s, box-shadow .2s; }
.collection-card:hover { color: var(--fct-blue); border-color: #a9cbed; box-shadow: 0 .8rem 1.8rem rgba(7,29,56,.11); transform: translateY(-3px); }
.collection-media { display: grid; width: 100%; height: 180px; overflow: hidden; color: var(--fct-blue); background: linear-gradient(135deg,#e7f2ff,#f7fbff); place-items: center; }
.collection-media img { width: 100%; height: 100%; object-fit: contain; padding: .25rem; }
.collection-media span { font-size: 2rem; font-weight: 800; }
.collection-info { min-width: 0; padding: 1rem 2.1rem 1rem 1rem; }
.collection-info h3 { overflow: hidden; margin: 0 0 .2rem; font-size: .98rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.collection-info small { color: #7a8797; }
.collection-card > b { position: absolute; right: 1rem; bottom: 1.2rem; color: #9aabc0; font-size: 1.2rem; }
.essentials-section { background: #fff; border-top: 1px solid #e5eaf0; border-bottom: 1px solid #e5eaf0; }
.section-heading.light h2 { color: #fff; }
.section-heading.light p { color: #c5d5e5; }
.section-heading.light > a { color: var(--fct-gold); }
.essential-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1rem; }
.essential-tile { display: block; padding: .75rem; color: #172334; text-align: center; text-decoration: none; background: #f8fafc; border: 1px solid #e5eaf0; border-radius: .8rem; transition: transform .2s,box-shadow .2s; }
.essential-tile:hover { color: var(--fct-blue); box-shadow: 0 .7rem 1.5rem rgba(7,29,56,.1); transform: translateY(-3px); }
.essential-image { display: grid; width: 100%; aspect-ratio: 1/1; overflow: hidden; color: var(--fct-blue); background: #fff; border-radius: .6rem; place-items: center; }
.essential-image img { width: 100%; height: 100%; padding: .35rem; object-fit: contain; }
.essential-image span { font-size: 2rem; font-weight: 800; }
.essential-tile h3 { display: -webkit-box; min-height: 2.5rem; overflow: hidden; margin: .8rem 0 .3rem; font-size: .86rem; font-weight: 700; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.essential-tile strong { color: #b42318; font-size: .8rem; }
.benefit-strip { padding: 2rem 0; background: #fff; border-top: 1px solid #e5eaf0; border-bottom: 1px solid #e5eaf0; }
.benefit-item { display: flex; align-items: center; gap: .9rem; }
.benefit-item > span { display: grid; flex: 0 0 2.8rem; width: 2.8rem; height: 2.8rem; color: var(--fct-blue); background: #e8f3ff; border-radius: .75rem; font-size: 1.25rem; font-weight: 800; place-items: center; }
.benefit-item div { display: flex; flex-direction: column; }
.benefit-item strong { color: #14263c; font-size: .94rem; }
.benefit-item small { color: #738095; }
.best-seller-section { background: #edf4fb; }
.faq-section { background: #fff; }
.faq-accordion .accordion-item { margin-bottom: .75rem; overflow: hidden; border: 1px solid #dfe7ef; border-radius: .8rem; }
.faq-accordion .accordion-button { color: #15283f; font-weight: 700; background: #fff; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--fct-blue); background: #edf6ff; }
.faq-accordion .accordion-body { color: #5f6e80; line-height: 1.7; }
.product-card-badge { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .45rem .65rem; box-shadow: 0 .25rem .7rem rgba(0,0,0,.14); }
.product-stock { color: #198754; }
.product-stock span { display: inline-block; width: .45rem; height: .45rem; margin-right: .25rem; background: #20a566; border-radius: 50%; }

@media (max-width: 991.98px) {
    .admin-menu { min-height: 100vh; width: 280px; }
    .main-header-grid { grid-template-columns: 1fr auto; gap: 1rem; padding: .8rem 0; }
    .header-search { grid-column: 1/-1; grid-row: 2; }
    .header-help { display: none; }
    .collection-grid { grid-template-columns: repeat(2, 1fr); }
    .essential-grid { grid-template-columns: repeat(3,1fr); }
    .home-section { padding-top: 4rem; padding-bottom: 4rem; }
}

@media (max-width: 575.98px) {
    .home-hero h1 { font-size: 2.25rem; }
    .hero-search { flex-direction: column; }
    .hero-search button { width: 100%; }
    .hero-guide-card { padding: 1.35rem; }
    .stat-item strong { font-size: 1.2rem; }
    .stat-item span { font-size: .72rem; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
    .section-heading h2 { font-size: 1.65rem; }
    .collection-grid { grid-template-columns: 1fr; }
    .collection-media { height: 150px; }
    .essential-grid { grid-template-columns: repeat(2,1fr); }
    .header-search { grid-template-columns: 1fr auto; }
    .header-search select { display: none; }
    .header-search input { font-size: .82rem; }
    .header-search button { padding: 0 .8rem; }
    .store-logo strong { max-width: 150px; }
    .header-cart > span:last-child { display: none; }
    .product-card .card-body { padding: .8rem; }
    .product-card .btn { font-size: .78rem; }
}
