/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:     #16A34A;
    --primary-dark:#15803D;
    --accent:      #4ADE80;
    --dark:        #0A0F1E;
    --dark-alt:    #111827;
    --text:        #1F2937;
    --text-muted:  #6B7280;
    --border:      #E5E7EB;
    --surface:     #F9FAFB;
    --white:       #FFFFFF;
    --success:     #059669;
    --error:       #DC2626;
    --radius:      8px;
    --radius-lg:   14px;
    --shadow:      0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:   0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:   0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark); color: var(--white); }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-8 { margin-top: 32px; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin: 8px 0 16px; }
.section-header p { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.section-header.light h2, .section-header.light .section-label { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.7); }

.section-label {
    display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--primary); background: rgba(22,163,74,.08);
    padding: 4px 12px; border-radius: 100px;
}
.text-accent { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font); font-size: .95rem; font-weight: 600;
    padding: 12px 24px; border-radius: var(--radius); border: 2px solid transparent;
    cursor: pointer; transition: all .2s ease; white-space: nowrap; text-decoration: none;
}
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-sm  { padding: 8px 16px; font-size: .85rem; }
.btn-lg  { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ===== NAVBAR ===== */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); padding: 0;
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 24px;
}
.navbar-brand img { height: 48px; }
.nav-menu { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 14px; border-radius: var(--radius); font-size: .92rem; font-weight: 500;
    color: var(--text); transition: all .15s;
}
.nav-links a:hover, .nav-links a.active { background: var(--surface); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 16px; }
.cart-btn {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: var(--radius); border: 1.5px solid var(--border);
    color: var(--text); transition: all .15s;
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-count {
    position: absolute; top: -6px; right: -6px;
    background: var(--primary); color: white; font-size: .7rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    background: var(--dark); overflow: hidden; padding: 80px 0;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(22,163,74,.25) 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 30% 80%, rgba(74,222,128,.12) 0%, transparent 60%);
}
.hero-content { position: relative; max-width: 680px; }
.hero-badge {
    display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: var(--accent); border: 1px solid rgba(74,222,128,.3);
    padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p { color: rgba(255,255,255,.7); font-size: 1.15rem; margin-bottom: 40px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-items { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; padding: 28px 0; gap: 0; }
.trust-item { text-align: center; padding: 8px 40px; }
.trust-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.trust-item span { font-size: .9rem; color: var(--text-muted); }
.trust-divider { width: 1px; height: 48px; background: var(--border); }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-icon {
    width: 64px; height: 64px; background: rgba(22,163,74,.08); border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 20px; }
.link-arrow { font-weight: 600; font-size: .9rem; color: var(--primary); }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s; }
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-image { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--surface); position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .3s; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-image-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--border);
}
.product-info { padding: 20px; }
.product-category { font-size: .75rem; font-weight: 600; text-transform: uppercase; color: var(--primary); letter-spacing: .05em; }
.product-info h3 { margin: 6px 0 8px; font-size: 1rem; }
.product-info h3 a { color: var(--text); }
.product-info h3 a:hover { color: var(--primary); }
.product-info > p { font-size: .88rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.product-price strong { font-size: 1.1rem; color: var(--text); }
.product-price del { color: var(--text-muted); font-size: .9rem; }
.product-actions { display: flex; gap: 8px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--error); color: white; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-text .section-label { margin-bottom: 16px; }
.why-text h2 { margin-bottom: 20px; }
.why-text > p { margin-bottom: 28px; }
.why-list { margin-bottom: 32px; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; color: var(--text-muted); }
.why-list li svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.why-image-card {
    background: var(--dark); border-radius: var(--radius-lg); padding: 40px;
    display: flex; flex-direction: column; gap: 24px;
}
.stat-block { border-left: 3px solid var(--primary); padding-left: 20px; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: .88rem; color: rgba(255,255,255,.55); }

/* ===== CTA ===== */
.cta-section { background: var(--dark); }
.cta-box { text-align: center; }
.cta-box h2 { color: var(--white); margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--dark-alt); color: rgba(255,255,255,.65); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6);
    transition: background .2s;
}
.social-links a:hover { background: var(--primary); color: white; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,.55); font-size: .9rem; transition: color .15s; }
.footer-col ul a:hover { color: var(--white); }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .9rem; }
.contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.contact-list a { color: rgba(255,255,255,.55); }
.contact-list a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: .84rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: var(--dark); padding: 64px 0; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== SERVICES PAGE ===== */
.service-block { display: grid; grid-template-columns: 80px 1fr; gap: 40px; align-items: start; padding: 48px 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }
.service-block.reverse { }
.service-block-icon {
    width: 80px; height: 80px; background: rgba(22,163,74,.08); border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0;
}
.service-block-content h2 { margin-bottom: 16px; }
.service-block-content p { margin-bottom: 20px; }
.service-block-content ul { margin-bottom: 28px; }
.service-block-content ul li { padding: 6px 0; color: var(--text-muted); padding-left: 20px; position: relative; }
.service-block-content ul li::before { content: '→'; position: absolute; left: 0; color: var(--primary); }

/* ===== PLANS ===== */
.plans-tabs-wrap { display: flex; justify-content: center; margin-bottom: 52px; }
.plans-tabs { display: inline-flex; gap: 4px; background: var(--surface); padding: 5px; border-radius: 100px; border: 1px solid var(--border); }
.tab-btn { padding: 11px 30px; border-radius: 100px; font-weight: 600; font-size: .9rem; border: none; background: transparent; cursor: pointer; transition: all .25s; color: var(--text-muted); }
.tab-btn:hover { color: var(--text); background: rgba(22,163,74,.06); }
.tab-btn.active { background: var(--primary); color: #fff; box-shadow: 0 2px 12px rgba(22,163,74,.4); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: start; }
.plan-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; position: relative; transition: all .25s ease; display: flex; flex-direction: column; }
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(22,163,74,.3); }
.plan-card.featured { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(22,163,74,.1), var(--shadow-md); background: linear-gradient(170deg, rgba(22,163,74,.04) 0%, var(--white) 55%); }
.plan-card.featured:hover { box-shadow: 0 0 0 4px rgba(22,163,74,.18), var(--shadow-lg); transform: translateY(-5px); }
.plan-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: .76rem; font-weight: 700; padding: 5px 20px; border-radius: 100px; white-space: nowrap; box-shadow: 0 3px 10px rgba(22,163,74,.45); letter-spacing: .03em; }
.plan-header h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 0; }
.plan-price { margin: 14px 0 4px; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.plan-price .plan-amount { font-size: 2.2rem; font-weight: 800; color: var(--text); }
.plan-price .plan-currency { font-size: 1rem; font-weight: 700; color: var(--text-muted); align-self: flex-start; padding-top: 4px; }
.plan-period { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.plan-speed-wrap { text-align: center; background: rgba(22,163,74,.07); border: 1.5px solid rgba(22,163,74,.18); border-radius: var(--radius); padding: 18px 12px; margin: 4px 0 20px; }
.plan-speed { font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.plan-speed-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; margin-top: 4px; }
.plan-features { margin-bottom: 28px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text-muted); }
.plan-features li:last-child { border-bottom: none; }
.plan-check { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(22,163,74,.12); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); margin-top: 1px; }
.plan-card.full-width { grid-column: 1/-1; }
.plan-features.two-col { columns: 2; column-gap: 32px; }
.plans-note { margin-top: 52px; text-align: center; background: var(--surface); border-radius: var(--radius-lg); padding: 24px 32px; border: 1px solid var(--border); }
.plans-note p { font-size: .9rem; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-content .section-label { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 16px; }
.about-stats { display: flex; flex-direction: column; gap: 24px; }
.about-stat { background: var(--surface); border-radius: var(--radius-lg); padding: 24px 28px; border-left: 4px solid var(--primary); }
.about-stat strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.about-stat span { font-size: .9rem; color: var(--text-muted); }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mission-item h3 { color: var(--primary); margin-bottom: 12px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.team-avatar { width: 80px; height: 80px; background: var(--surface); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--text-muted); }
.team-role { font-size: .85rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
    font-family: var(--font); font-size: .95rem; color: var(--text); background: var(--white);
    transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.contact-info h3 { margin-bottom: 28px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(22,163,74,.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-info-item strong { display: block; margin-bottom: 4px; }
.contact-info-item p { font-size: .9rem; }
.contact-info-item a { color: var(--text-muted); }
.office-hours { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px; }
.office-hours h4 { margin-bottom: 12px; }
.office-hours p { font-size: .9rem; margin-bottom: 6px; }

/* ===== SHOP ===== */
.shop-toolbar { margin-bottom: 32px; }
.shop-filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 10px 14px; flex: 1; min-width: 220px; }
.search-box svg { color: var(--text-muted); flex-shrink: 0; }
.search-box input { border: none; outline: none; width: 100%; font-family: var(--font); font-size: .95rem; }
.shop-filters select { padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font); font-size: .9rem; }

/* ===== CART ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 0; }
.cart-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.cart-item-image { width: 80px; height: 80px; background: var(--surface); border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cart-item-head h3 { flex: 1; font-size: 1rem; margin: 0; line-height: 1.35; }
.cart-unit-price { font-size: .87rem; color: var(--text-muted); margin: 0; }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cart-item-total { font-weight: 700; }
.cart-remove-form { flex-shrink: 0; }
.cart-remove { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; }
.cart-remove:hover { color: var(--error); }
.qty-input { width: 60px; padding: 8px; border: 1.5px solid var(--border); border-radius: var(--radius); text-align: center; font-size: .9rem; }
.cart-qty-form { display: flex; align-items: center; gap: 8px; }
.cart-summary { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); position: sticky; top: 88px; }
.cart-summary h3 { margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.summary-row:last-of-type { border-bottom: none; }
.summary-total { display: flex; justify-content: space-between; padding: 16px 0; font-size: 1.1rem; border-top: 2px solid var(--text); margin-top: 8px; }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.checkout-summary { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); }
.checkout-summary h3 { margin-bottom: 20px; }
.checkout-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.checkout-total { display: flex; justify-content: space-between; padding: 16px 0; font-size: 1.1rem; border-top: 2px solid var(--text); margin-top: 8px; }
.payment-note { display: flex; align-items: center; gap: 10px; background: rgba(22,163,74,.05); border: 1px solid rgba(22,163,74,.15); border-radius: var(--radius); padding: 14px; margin-bottom: 20px; font-size: .88rem; color: var(--text-muted); }

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding-top: 40px; }
.breadcrumb { font-size: .88rem; color: var(--text-muted); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.product-detail-image { background: var(--surface); border-radius: var(--radius-lg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-detail-image img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.product-detail-info { display: flex; flex-direction: column; gap: 16px; }
.product-price.large strong { font-size: 2rem; }
.product-short-desc { font-size: 1rem; }
.stock-badge { display: inline-block; font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; }
.in-stock { background: rgba(5,150,105,.1); color: var(--success); }
.out-stock { background: rgba(220,38,38,.1); color: var(--error); }
.add-to-cart-form { display: flex; align-items: center; gap: 16px; }
.qty-selector { display: flex; align-items: center; gap: 8px; }
.save-badge { background: rgba(5,150,105,.1); color: var(--success); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.product-meta, .product-inquiry { font-size: .88rem; }
.product-description { border-top: 1px solid var(--border); padding-top: 48px; margin-bottom: 48px; }
.product-description h2 { margin-bottom: 24px; }
.description-body p { margin-bottom: 16px; }
.related-products h2 { margin-bottom: 32px; }

/* ===== ALERTS & EMPTY STATES ===== */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: rgba(5,150,105,.1); color: var(--success); border: 1px solid rgba(5,150,105,.2); }
.alert-error { background: rgba(220,38,38,.1); color: var(--error); border: 1px solid rgba(220,38,38,.2); }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state svg { color: var(--border); margin: 0 auto 24px; }
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { margin-bottom: 28px; }

/* ===== ERROR PAGE ===== */
.error-page { text-align: center; padding: 120px 0; }
.error-page h1 { font-size: 8rem; color: var(--primary); opacity: .15; line-height: 1; }
.error-page h2 { margin-bottom: 16px; }
.error-page p { margin-bottom: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .why-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .nav-toggle { display: flex; }
    .nav-menu { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 62px; left: 0; right: 0; background: var(--bg); padding: 0 0 8px; border-bottom: 1px solid var(--border); gap: 0; box-shadow: var(--shadow-lg); }
    .nav-menu.open { display: flex; }
    .nav-links { flex-direction: column; gap: 0; }
    .nav-links { padding: 0 16px; }
    .nav-links a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-actions { flex-direction: row; margin-left: 0; padding: 12px 16px 8px; border-top: 1px solid var(--border); }
    .navbar .container { height: 62px; }
    .navbar .container { position: relative; }
    .hero { min-height: 60vh; }
    .hero p { font-size: 1rem; }
    .trust-items { gap: 0; }
    .trust-item { padding: 8px 20px; }
    .trust-divider { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .service-block { grid-template-columns: 1fr; }
    .service-block-icon { width: 64px; height: 64px; }
    .plan-features.two-col { column-count: 1; }
    .hero-actions { flex-direction: column; }
    .cta-actions { flex-direction: column; align-items: center; }
}
/* ===== SHOP — JUMIA-STYLE ===== */

.shop-jumia { background: #f5f5f5; padding-bottom: 60px; }

/* --- Banner area --- */
.shop-banner-area {
    display: grid;
    grid-template-columns: 210px 1fr 190px;
    gap: 12px;
    padding: 16px 0 12px;
}

.shop-sidebar-cats {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    align-self: start;
    max-height: 280px;
    overflow-y: auto;
}
.shop-cat-hdr {
    background: var(--primary);
    color: #fff;
    padding: 12px 16px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.shop-sidebar-cats ul { margin: 0; padding: 0; list-style: none; }
.shop-sidebar-cats li a {
    display: block;
    padding: 9px 16px;
    font-size: .85rem;
    color: var(--text);
    border-bottom: 1px solid #f0f0f0;
    transition: background .13s, color .13s;
}
.shop-sidebar-cats li a:hover,
.shop-sidebar-cats li a.active {
    background: #f0faf4;
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
    padding-left: 13px;
}

.shop-hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 36px 48px;
    color: #fff;
    position: relative;
    min-height: 270px;
    overflow: hidden;
}
.shop-hero-deco {
    position: absolute;
    right: -60px; top: -60px;
    width: 320px; height: 320px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.shop-hero-deco::after {
    content:'';
    position: absolute;
    right: 60px; top: 60px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.shop-hero-inner { position: relative; z-index: 1; }
.shop-hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.shop-hero-banner h2 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}
.shop-hero-banner p {
    font-size: .95rem;
    opacity: .85;
    margin-bottom: 20px;
}
.shop-hero-cta {
    display: inline-block;
    background: #f57224;
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .9rem;
    transition: background .15s;
}
.shop-hero-cta:hover { background: #d4611b; color: #fff; }

.shop-side-panels { display: flex; flex-direction: column; gap: 10px; }
.shop-side-panel {
    background: #fff;
    border-radius: 4px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    border-left: 4px solid transparent;
}
.shop-side-panel div { display: flex; flex-direction: column; }
.shop-side-panel strong { font-size: .88rem; color: var(--text); }
.shop-side-panel span { font-size: .75rem; color: var(--text-muted); }
.sp-green { border-left-color: var(--primary); }
.sp-green svg { color: var(--primary); }
.sp-orange { border-left-color: #f57224; }
.sp-orange svg { color: #f57224; }
.sp-blue { border-left-color: #3b82f6; }
.sp-blue svg { color: #3b82f6; }

/* --- Category strip --- */
.shop-strip {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    margin-bottom: 14px;
}
.strip-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.strip-inner::-webkit-scrollbar { display: none; }
.strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 6px;
    transition: background .13s;
    min-width: 72px;
}
.strip-item:hover { background: #f0faf4; }
.strip-active { background: #e8f5e9; }
.strip-icon {
    width: 44px; height: 44px;
    background: var(--surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.strip-item { overflow: hidden; }
.strip-item span:last-child { font-size: .72rem; color: var(--text); font-weight: 500; max-width: 80px; overflow: hidden; text-overflow: ellipsis; display: block; text-align: center; }

/* --- Main content area --- */
.shop-main { padding-top: 0; }

/* --- Search bar --- */
.jm-search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.jm-search-form {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 4px;
    overflow: hidden;
}
.jm-search-form svg { margin: 0 12px; color: var(--text-muted); flex-shrink: 0; }
.jm-search-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 8px;
    font-size: .93rem;
    font-family: var(--font);
}
.jm-search-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 24px;
    height: 46px;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    font-family: var(--font);
    transition: background .13s;
}
.jm-search-form button:hover { background: var(--primary-dark); }
.jm-search-clear { color: var(--text-muted); font-size: .85rem; white-space: nowrap; }
.jm-search-clear:hover { color: var(--primary); }

/* --- Active filter bar --- */
.jm-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff8f0;
    border: 1px solid #f5dfc0;
    border-radius: 4px;
    padding: 9px 14px;
    margin-bottom: 14px;
    font-size: .85rem;
    color: var(--text-muted);
}
.jm-filter-bar strong { color: var(--text); }
.jm-filter-bar a { margin-left: auto; color: #f57224; font-weight: 700; }

/* --- Flash Sales --- */
.jm-flash {
    background: #fff;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 14px;
}
.jm-flash-hdr {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 14px;
}
.jm-flash-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text);
}
.jm-flash-timer {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: .8rem;
    color: var(--text-muted);
    margin-left: auto;
}
.jm-timer-block {
    background: var(--dark);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
    font-family: monospace;
    font-size: .85rem;
}
.jm-flash-all { color: var(--primary); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.jm-flash-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.jm-flash-card {
    background: #fafafa;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    position: relative;
    text-decoration: none;
    transition: box-shadow .18s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.jm-flash-card:hover { box-shadow: 0 2px 14px rgba(0,0,0,.1); }
.jm-flash-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.jm-flash-price { font-weight: 700; color: var(--text); font-size: .9rem; margin-top: 6px; }
.jm-flash-old { font-size: .75rem; color: #aaa; }

/* --- Discount badge (shared) --- */
.jm-disc-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #f57224;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    z-index: 2;
    letter-spacing: .02em;
}

/* --- Products section --- */
.jm-products-section {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.jm-prod-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 20px;
    border-bottom: 2px solid var(--primary);
}
.jm-prod-hdr h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.jm-prod-count { color: var(--text-muted); font-weight: 400; font-size: .85rem; }
.jm-cat-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-left: auto;
    scrollbar-width: none;
    padding: 2px 0;
}
.jm-cat-tabs::-webkit-scrollbar { display: none; }
.jm-cat-tab {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    border: 1px solid var(--border);
    transition: all .13s;
}
.jm-cat-tab:hover, .jm-cat-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.jm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1px;
    background: #f0f0f0;
}
.jm-card {
    background: #fff;
    position: relative;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s;
}
.jm-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); z-index: 2; }
.jm-card-img {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 10px;
    background: #fafafa;
    border-radius: 2px;
}
.jm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s;
}
.jm-card:hover .jm-card-img img { transform: scale(1.05); }
.jm-img-ph {
    width: 100%; height: 100%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.jm-card-body { display: flex; flex-direction: column; flex: 1; gap: 5px; }
.jm-card-name {
    font-size: .83rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-weight: 500;
}
.jm-card-name:hover { color: var(--primary); }
.jm-card-price { display: flex; align-items: center; gap: 6px; }
.jm-card-price strong { font-size: .97rem; color: var(--text); }
.jm-card-price del { font-size: .78rem; color: #aaa; }
.jm-off-tag {
    display: inline-block;
    background: #fff3e0;
    color: #f57224;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
}
.jm-cart-btn {
    margin-top: auto;
    width: 100%;
    padding: 9px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: background .13s;
}
.jm-cart-btn:hover { background: var(--primary-dark); }
.jm-cart-btn:disabled { background: #aaa; cursor: not-allowed; }

/* Empty state */
.jm-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .shop-banner-area { grid-template-columns: 190px 1fr; }
    .shop-side-panels { display: none; }
    .jm-flash-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .shop-banner-area { grid-template-columns: 1fr; }
    .shop-sidebar-cats { display: none; }
    .shop-hero-banner { min-height: 180px; padding: 28px 28px; }
    .shop-hero-banner h2 { font-size: 1.4rem; }
    .jm-flash-row { grid-template-columns: repeat(3, 1fr); }
    .jm-grid { grid-template-columns: repeat(2, 1fr); }
    .jm-prod-hdr { flex-direction: column; align-items: flex-start; }
    .jm-cat-tabs { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
    .jm-flash-row { grid-template-columns: repeat(2, 1fr); }
    .shop-hero-banner h2 { font-size: 1.2rem; }
    .container { padding: 0 14px; }
    .section { padding: 40px 0; }
    .hero { min-height: auto; padding: 56px 0 48px; }
    h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    h2 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
    .jm-grid { gap: 8px; }
    .jm-card { padding: 10px 8px 8px; }
    .jm-cart-btn { padding: 11px; font-size: .85rem; }
    .jm-flash-hdr { flex-wrap: wrap; row-gap: 8px; }
    .jm-flash-timer { margin-left: 0; width: 100%; }
    .jm-flash-all { margin-left: auto; }
    .jm-prod-hdr { padding: 12px 14px; }
    .jm-cat-tabs { margin-left: 0; width: 100%; }
    .shop-strip { padding: 6px 0; }
    .cart-item-image { width: 68px; height: 68px; }
}

/* ===== SHOP HERO CAROUSEL ===== */
.shop-hero-carousel {
    position: relative;
    overflow: hidden;
    height: 280px;
    border-radius: 6px;
    align-self: start;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    background: #0f172a;
    display: flex;
    align-items: stretch;
    color: #fff;
    pointer-events: none;
    overflow: hidden;
}
.carousel-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.carousel-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}
.carousel-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 48px;
    width: 100%;
}
.shop-hero-cta {
    margin-top: auto;
    align-self: flex-start;
    padding-bottom: 4px;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.18);
    border: none;
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    backdrop-filter: blur(4px);
    line-height: 1;
}
.carousel-btn:hover { background: rgba(255,255,255,.35); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
}
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.carousel-dot.active { background: #fff; transform: scale(1.25); }

@media (max-width: 768px) {
    .carousel-content { padding: 24px 24px; }
    .shop-hero-carousel { height: 200px; }
}

/* ===== THEME TOGGLE BUTTON (public navbar) ===== */
.site-theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px;
    border-radius: var(--radius);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: color .15s, background .15s;
}
.site-theme-btn:hover { background: var(--surface); color: var(--text); }
/* light mode: show moon, hide sun */
.site-theme-btn .icon-sun  { display: none; }
.site-theme-btn .icon-moon { display: block; }
/* dark mode: show sun, hide moon */
[data-theme="dark"] .site-theme-btn .icon-sun  { display: block; }
[data-theme="dark"] .site-theme-btn .icon-moon { display: none; }

/* ===== DARK MODE — ROOT VARIABLES ===== */
[data-theme="dark"] {
    --white:      #1e293b;
    --surface:    #0f172a;
    --text:       #f1f5f9;
    --text-muted: #94a3b8;
    --border:     #334155;
    --shadow:     0 1px 3px rgba(0,0,0,.4),  0 1px 2px rgba(0,0,0,.3);
    --shadow-md:  0 4px 6px rgba(0,0,0,.4),  0 2px 4px rgba(0,0,0,.3);
    --shadow-lg:  0 10px 15px rgba(0,0,0,.4),0 4px 6px rgba(0,0,0,.3);
}

/* ===== DARK MODE — GLOBAL ===== */
[data-theme="dark"] body          { background: #0f172a; }
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select        { background: #1e293b; color: #f1f5f9; border-color: #334155; }
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: #64748b; }

/* ===== DARK MODE — NAVBAR ===== */
[data-theme="dark"] .navbar        { background: #1e293b; border-bottom: 1px solid #334155; box-shadow: 0 1px 0 #334155; }
[data-theme="dark"] .nav-links a   { color: #cbd5e1; }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: var(--primary); }
[data-theme="dark"] .cart-btn      { color: #cbd5e1; }
[data-theme="dark"] .cart-btn:hover { color: var(--primary); }
[data-theme="dark"] .nav-menu      { background: #1e293b; }

/* ===== DARK MODE — SECTIONS & CARDS ===== */
[data-theme="dark"] .section-alt   { background: #0f172a; }
[data-theme="dark"] .page-hero     { background: #0f172a; }
[data-theme="dark"] .service-card  { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .product-card  { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .plan-card     { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .team-card     { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .why-image-card{ background: #1e293b; }
[data-theme="dark"] .product-image { background: #0f172a; }

/* ===== DARK MODE — FOOTER ===== */
[data-theme="dark"] footer { background: #0a111e !important; border-top-color: #334155; }

/* ===== DARK MODE — SHOP JUMIA ===== */
[data-theme="dark"] .shop-jumia          { background: #0a111e; }
[data-theme="dark"] .shop-sidebar-cats   { background: #1e293b; }
[data-theme="dark"] .shop-sidebar-cats li a { border-bottom-color: #334155; color: #cbd5e1; }
[data-theme="dark"] .shop-sidebar-cats li a:hover,
[data-theme="dark"] .shop-sidebar-cats li a.active { background: #0f172a; color: var(--primary); }
[data-theme="dark"] .shop-side-panel     { background: #1e293b; }
[data-theme="dark"] .shop-strip          { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .strip-icon          { background: #0f172a; }
[data-theme="dark"] .strip-item span:last-child { color: #cbd5e1; }
[data-theme="dark"] .jm-search-form      { background: #1e293b; border-color: var(--primary); }
[data-theme="dark"] .jm-search-form input{ background: transparent; color: #f1f5f9; }
[data-theme="dark"] .jm-filter-bar       { background: #1c1208; border-color: #78350f; color: #d97706; }
[data-theme="dark"] .jm-flash            { background: #1e293b; }
[data-theme="dark"] .jm-flash-hdr        { border-bottom-color: #334155; }
[data-theme="dark"] .jm-flash-card       { background: #0f172a; }
[data-theme="dark"] .jm-flash-price      { color: #f1f5f9; }
[data-theme="dark"] .jm-products-section { background: #1e293b; }
[data-theme="dark"] .jm-prod-hdr         { border-bottom-color: var(--primary); }
[data-theme="dark"] .jm-cat-tab          { border-color: #334155; color: #94a3b8; }
[data-theme="dark"] .jm-grid             { background: #334155; }
[data-theme="dark"] .jm-card             { background: #1e293b; }
[data-theme="dark"] .jm-card-img         { background: #0f172a; }
[data-theme="dark"] .jm-card-name        { color: #e2e8f0; }
[data-theme="dark"] .jm-card-price strong{ color: #f1f5f9; }
[data-theme="dark"] .jm-card-price del   { color: #64748b; }
[data-theme="dark"] .jm-off-tag          { background: #431407; color: #fb923c; }
[data-theme="dark"] .jm-flash-old        { color: #64748b; }
[data-theme="dark"] .jm-empty p          { color: #94a3b8; }

/* ===== THEME TOGGLE BUTTON (public navbar) ===== */
.site-theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px;
    border-radius: var(--radius);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: color .15s, background .15s;
}
.site-theme-btn:hover { background: var(--surface); color: var(--text); }
/* light mode: show moon, hide sun */
.site-theme-btn .icon-sun  { display: none; }
.site-theme-btn .icon-moon { display: block; }
/* dark mode: show sun, hide moon */
[data-theme="dark"] .site-theme-btn .icon-sun  { display: block; }
[data-theme="dark"] .site-theme-btn .icon-moon { display: none; }

/* ===== DARK MODE — ROOT VARIABLES ===== */
[data-theme="dark"] {
    --white:      #1e293b;
    --surface:    #0f172a;
    --text:       #f1f5f9;
    --text-muted: #94a3b8;
    --border:     #334155;
    --shadow:     0 1px 3px rgba(0,0,0,.4),  0 1px 2px rgba(0,0,0,.3);
    --shadow-md:  0 4px 6px rgba(0,0,0,.4),  0 2px 4px rgba(0,0,0,.3);
    --shadow-lg:  0 10px 15px rgba(0,0,0,.4),0 4px 6px rgba(0,0,0,.3);
}

/* ===== DARK MODE — GLOBAL ===== */
[data-theme="dark"] body          { background: #0f172a; }
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select        { background: #1e293b; color: #f1f5f9; border-color: #334155; }
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: #64748b; }

/* ===== DARK MODE — NAVBAR ===== */
[data-theme="dark"] .navbar        { background: #1e293b; border-bottom: 1px solid #334155; box-shadow: 0 1px 0 #334155; }
[data-theme="dark"] .nav-links a   { color: #cbd5e1; }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: var(--primary); }
[data-theme="dark"] .cart-btn      { color: #cbd5e1; }
[data-theme="dark"] .cart-btn:hover { color: var(--primary); }
[data-theme="dark"] .nav-menu      { background: #1e293b; }

/* ===== DARK MODE — SECTIONS & CARDS ===== */
[data-theme="dark"] .section-alt   { background: #0f172a; }
[data-theme="dark"] .page-hero     { background: #0f172a; }
[data-theme="dark"] .service-card  { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .product-card  { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .plan-card     { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .team-card     { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .why-image-card{ background: #1e293b; }
[data-theme="dark"] .product-image { background: #0f172a; }

/* ===== DARK MODE — FOOTER ===== */
[data-theme="dark"] footer { background: #0a111e !important; border-top-color: #334155; }

/* ===== DARK MODE — SHOP JUMIA ===== */
[data-theme="dark"] .shop-jumia          { background: #0a111e; }
[data-theme="dark"] .shop-sidebar-cats   { background: #1e293b; }
[data-theme="dark"] .shop-sidebar-cats li a { border-bottom-color: #334155; color: #cbd5e1; }
[data-theme="dark"] .shop-sidebar-cats li a:hover,
[data-theme="dark"] .shop-sidebar-cats li a.active { background: #0f172a; color: var(--primary); }
[data-theme="dark"] .shop-side-panel     { background: #1e293b; }
[data-theme="dark"] .shop-strip          { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .strip-icon          { background: #0f172a; }
[data-theme="dark"] .strip-item span:last-child { color: #cbd5e1; }
[data-theme="dark"] .jm-search-form      { background: #1e293b; border-color: var(--primary); }
[data-theme="dark"] .jm-search-form input{ background: transparent; color: #f1f5f9; }
[data-theme="dark"] .jm-filter-bar       { background: #1c1208; border-color: #78350f; color: #d97706; }
[data-theme="dark"] .jm-flash            { background: #1e293b; }
[data-theme="dark"] .jm-flash-hdr        { border-bottom-color: #334155; }
[data-theme="dark"] .jm-flash-card       { background: #0f172a; }
[data-theme="dark"] .jm-flash-price      { color: #f1f5f9; }
[data-theme="dark"] .jm-products-section { background: #1e293b; }
[data-theme="dark"] .jm-prod-hdr         { border-bottom-color: var(--primary); }
[data-theme="dark"] .jm-cat-tab          { border-color: #334155; color: #94a3b8; }
[data-theme="dark"] .jm-grid             { background: #334155; }
[data-theme="dark"] .jm-card             { background: #1e293b; }
[data-theme="dark"] .jm-card-img         { background: #0f172a; }
[data-theme="dark"] .jm-card-name        { color: #e2e8f0; }
[data-theme="dark"] .jm-card-price strong{ color: #f1f5f9; }
[data-theme="dark"] .jm-card-price del   { color: #64748b; }
[data-theme="dark"] .jm-off-tag          { background: #431407; color: #fb923c; }
[data-theme="dark"] .jm-flash-old        { color: #64748b; }
[data-theme="dark"] .jm-empty p          { color: #94a3b8; }


/* ===== HOME HERO CAROUSEL ===== */
.home-carousel {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
}
.home-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .7s ease;
    min-height: 88vh;
    padding: 80px 0 60px;
}
.home-slide.active {
    opacity: 1;
    position: relative;
}
.home-slide-content {
    max-width: 620px;
    animation: hslide-in .7s ease;
}
@keyframes hslide-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.home-slide-content h1 {
    color: #fff;
    margin-bottom: 20px;
}
.home-slide-content p {
    color: rgba(255,255,255,.78);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}
/* Prev / Next arrows */
.hcar-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    backdrop-filter: blur(4px);
}
.hcar-btn:hover { background: rgba(22,163,74,.55); border-color: var(--primary); }
.hcar-prev { left: 20px; }
.hcar-next { right: 20px; }
/* Dots */
.hcar-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hcar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
    padding: 0;
}
.hcar-dot.active {
    background: var(--primary);
    transform: scale(1.35);
}
@media (max-width: 768px) {
    .home-carousel, .home-slide { min-height: 70vh; }
    .home-slide { padding: 60px 0 80px; }
    .hcar-btn { width: 38px; height: 38px; font-size: 1.4rem; }
    .hcar-prev { left: 10px; }
    .hcar-next { right: 10px; }
}
[data-theme="dark"] .hcar-btn { background: rgba(255,255,255,.08); }


/* ===== DARK MODE — COMPREHENSIVE FIXES ===== */

/*
 * Root cause: --white is overridden to #1e293b (dark) for backgrounds,
 * but several elements use color:var(--white) to get white text on
 * permanently-dark backgrounds (CTA, footer, stat cards, featured section).
 * In dark mode those texts turn dark-on-dark = invisible. Fix them explicitly.
 */

/* --- Permanently-dark sections: keep text bright --- */
[data-theme="dark"] .page-hero h1                   { color: #f1f5f9; }
[data-theme="dark"] .section-header.light h2,
[data-theme="dark"] .section-header.light .section-label { color: #f1f5f9; }
[data-theme="dark"] .cta-box h2                     { color: #f1f5f9; }
[data-theme="dark"] .stat-num                       { color: #f1f5f9; }
[data-theme="dark"] .footer-col h4                  { color: #e2e8f0; }

/* --- Section backgrounds: slight distinction in dark mode --- */
[data-theme="dark"] .section-dark,
[data-theme="dark"] .featured-products              { background: #070d18; }
[data-theme="dark"] .cta-section                    { background: #070d18; }

/* --- All headings — ensure they read on dark backgrounds --- */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4                              { color: #f1f5f9; }

/* Override for headings inside always-dark elements (still bright) */
[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .home-slide-content h1,
[data-theme="dark"] .page-hero h1                   { color: #fff; }

/* --- Card internals --- */
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .product-info h3,
[data-theme="dark"] .product-info h3 a,
[data-theme="dark"] .plan-header h3,
[data-theme="dark"] .team-card h3                   { color: #f1f5f9; }

[data-theme="dark"] .product-price strong           { color: #f1f5f9; }
[data-theme="dark"] .plan-price .plan-amount        { color: #f1f5f9; }

/* --- Why us --- */
[data-theme="dark"] .why-text h2                    { color: #f1f5f9; }
[data-theme="dark"] .why-text > p                   { color: #94a3b8; }

/* --- About page --- */
[data-theme="dark"] .about-content h2               { color: #f1f5f9; }
[data-theme="dark"] .about-stat strong              { color: #f1f5f9; }
[data-theme="dark"] .mission-item h3                { color: var(--primary); }
[data-theme="dark"] .team-card h3                   { color: #f1f5f9; }

/* --- Contact page --- */
[data-theme="dark"] .contact-info h3                { color: #f1f5f9; }
[data-theme="dark"] .contact-info-item strong       { color: #f1f5f9; }
[data-theme="dark"] .office-hours h4                { color: #f1f5f9; }
[data-theme="dark"] .form-group label               { color: #e2e8f0; }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea             { background: #1e293b; border-color: #334155; color: #f1f5f9; }

/* --- Cart & checkout --- */
[data-theme="dark"] .cart-item-head h3              { color: #f1f5f9; }
[data-theme="dark"] .cart-item-total                { color: #f1f5f9; }
[data-theme="dark"] .cart-unit-price                { color: #94a3b8; }
[data-theme="dark"] .cart-summary h3,
[data-theme="dark"] .checkout-summary h3            { color: #f1f5f9; }
[data-theme="dark"] .summary-total,
[data-theme="dark"] .checkout-total                 { color: #f1f5f9; border-top-color: #475569; }
[data-theme="dark"] .summary-row                    { border-bottom-color: #334155; color: #94a3b8; }
[data-theme="dark"] .summary-row strong             { color: #f1f5f9; }

/* --- Product detail page --- */
[data-theme="dark"] .breadcrumb,
[data-theme="dark"] .breadcrumb a                   { color: #94a3b8; }
[data-theme="dark"] .product-detail-info h1         { color: #f1f5f9; }
[data-theme="dark"] .product-detail-image           { background: #1e293b; }
[data-theme="dark"] .product-short-desc             { color: #94a3b8; }
[data-theme="dark"] .product-description h2,
[data-theme="dark"] .related-products h2            { color: #f1f5f9; }
[data-theme="dark"] .description-body p             { color: #94a3b8; }

/* --- Services page --- */
[data-theme="dark"] .service-block                  { border-bottom-color: #334155; }
[data-theme="dark"] .service-block-content h2       { color: #f1f5f9; }

/* --- Plans page --- */
[data-theme="dark"] .plan-card                      { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .plan-card.featured             { background: linear-gradient(170deg, rgba(22,163,74,.08) 0%, #1e293b 55%); border-color: var(--primary); }
[data-theme="dark"] .plans-tabs                     { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .tab-btn                        { color: #94a3b8; }
[data-theme="dark"] .tab-btn:hover                  { color: #f1f5f9; }
[data-theme="dark"] .plans-note                     { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .plans-note p                   { color: #94a3b8; }
[data-theme="dark"] .plan-features li               { color: #94a3b8; border-bottom-color: #334155; }
[data-theme="dark"] .plan-speed-wrap                { background: rgba(22,163,74,.1); border-color: rgba(22,163,74,.25); }

/* --- FAQ page --- */
[data-theme="dark"] .faq-item                       { border-color: #334155; }
[data-theme="dark"] .faq-question                   { color: #f1f5f9; background: #1e293b; }
[data-theme="dark"] .faq-answer                     { background: #0f172a; color: #94a3b8; }

/* --- Section labels & misc text --- */
[data-theme="dark"] .section-label                  { color: var(--primary); }
[data-theme="dark"] .section-header h2              { color: #f1f5f9; }
[data-theme="dark"] .section-header p               { color: #94a3b8; }

/* --- Trust strip --- */
[data-theme="dark"] .trust-strip                    { background: #1e293b; border-bottom-color: #334155; }

/* --- Mobile nav: ensure correct bg in dark mode (override hardcoded 'white') --- */
[data-theme="dark"] .nav-menu                       { background: #1e293b !important; }
[data-theme="dark"] .nav-menu a                     { color: #cbd5e1; }

/* --- Alert boxes --- */
[data-theme="dark"] .alert-success                  { background: rgba(5,150,105,.15); color: #4ade80; border-color: rgba(5,150,105,.3); }
[data-theme="dark"] .alert-error                    { background: rgba(220,38,38,.15); color: #f87171; border-color: rgba(220,38,38,.3); }

/* --- Empty states --- */
[data-theme="dark"] .empty-state h2                 { color: #f1f5f9; }
[data-theme="dark"] .empty-state p                  { color: #94a3b8; }

/* ===== PAGINATION ===== */
.pagination { display:flex; align-items:center; gap:4px; padding:16px 20px; flex-wrap:wrap; }
.page-btn { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; padding:0 10px; border-radius:6px; font-size:.85rem; font-weight:500; color:var(--text-muted); border:1px solid var(--border); text-decoration:none; transition:all .13s; }
.page-btn:hover { background:var(--surface); color:var(--text); }
.page-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); }
.page-gap { color:var(--text-muted); padding:0 4px; font-size:.85rem; }

/* ===== PRODUCT DETAIL — GALLERY FIX ===== */
/* Override aspect-ratio/overflow so thumbnail strip is visible */
.product-detail-image { aspect-ratio:unset !important; overflow:visible !important; background:transparent !important; display:block !important; padding:0 !important; }
.product-main-img-wrap { background:var(--surface); border-radius:var(--radius-lg); overflow:hidden; }

/* ===== MOBILE — PRODUCT DETAIL ===== */
@media (max-width: 640px) {
    .product-detail-grid { gap:28px; }
    .product-price.large strong { font-size:1.5rem; }
    .add-to-cart-form { flex-wrap:wrap; gap:10px; }
    .add-to-cart-form .btn { width:100%; justify-content:center; padding:14px; font-size:1rem; }
    .qty-selector { width:100%; }
    .qty-input { flex:1; padding:10px; font-size:1rem; }
    .product-thumb-strip { overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; }
    .product-thumb { flex-shrink:0; width:64px; height:64px; }
    .breadcrumb { font-size:.8rem; margin-bottom:16px; overflow-wrap:anywhere; }
    .product-description { padding-top:28px; }
    .related-products h2 { margin-bottom:20px; }
}

/* ===== MOBILE — CART ===== */
@media (max-width: 640px) {
    .cart-item { gap:12px; padding:16px 0; }
    .cart-item-image { width:64px; height:64px; }
    .cart-item-head h3 { font-size:.9rem; }
    .cart-item-total { font-size:.95rem; }
    .cart-layout { gap:24px; }
    .jm-search-form button { padding:0 14px; font-size:.82rem; }
    .cart-summary { padding:18px; }
    .cart-actions { flex-direction:column; gap:8px; }
    .cart-actions .btn { width:100%; text-align:center; padding:12px; }
}

/* ===== MOBILE — CHECKOUT ===== */
@media (max-width: 640px) {
    .checkout-layout { gap:24px; }
    .checkout-summary { padding:18px; }
    .checkout-form .form-row { grid-template-columns:1fr; }
}

/* ===== MOBILE — SHOP INDEX ===== */
@media (max-width: 400px) {
    .jm-grid { grid-template-columns: repeat(2, 1fr); gap:0; }
    .jm-card { padding:10px 8px 8px; }
    .jm-card-name { font-size:.78rem; }
    .jm-cart-btn { padding:8px; font-size:.76rem; }
}

/* ===== QUILL EDITOR — ADMIN DARK MODE ===== */
[data-theme="dark"] .ql-toolbar { background:#1e293b; border-color:#334155 !important; }
[data-theme="dark"] .ql-container { background:#1e293b; border-color:#334155 !important; color:#f1f5f9; }
[data-theme="dark"] .ql-editor { color:#f1f5f9; }
[data-theme="dark"] .ql-toolbar button, [data-theme="dark"] .ql-toolbar .ql-picker { color:#94a3b8; }
[data-theme="dark"] .ql-toolbar button:hover, [data-theme="dark"] .ql-toolbar button.ql-active { color:#f1f5f9; }
[data-theme="dark"] .ql-toolbar .ql-stroke { stroke:#94a3b8; }
[data-theme="dark"] .ql-toolbar button:hover .ql-stroke,
[data-theme="dark"] .ql-toolbar button.ql-active .ql-stroke { stroke:#f1f5f9; }
[data-theme="dark"] .ql-toolbar .ql-fill { fill:#94a3b8; }
[data-theme="dark"] .ql-picker-options { background:#1e293b; border-color:#334155; }


/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    display: none;
}
@media (max-width: 640px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: 62px;
        background: var(--bg);
        border-top: 1px solid var(--border);
        z-index: 500;
        box-shadow: 0 -2px 10px rgba(0,0,0,.08);
    }
    body { padding-bottom: 62px; }
}
.mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #4b5563;
    font-size: .65rem;
    font-weight: 500;
    transition: color .15s;
    position: relative;
    padding: 6px 0;
    -webkit-tap-highlight-color: transparent;
}
[data-theme="dark"] .mbn-item { color: #94a3b8; }
.mbn-item.mbn-active { color: var(--primary); }
.mbn-item.mbn-active svg { stroke: var(--primary); }
.mbn-item.mbn-active::before {
    content: '';
    position: absolute;
    top: 0; left: 25%; right: 25%;
    height: 2px;
    background: var(--primary);
    border-radius: 0 0 2px 2px;
}
.mbn-cart-wrap { position: relative; display: inline-flex; }
.mbn-badge {
    position: absolute;
    top: -5px; right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
    line-height: 1;
}
[data-theme="dark"] .mobile-bottom-nav { background: #0f172a; border-top-color: #1e293b; }

/* ===== MOBILE TOP SEARCH (shop page) ===== */
.mobile-search-top { display: none; }
@media (max-width: 640px) {
    .mobile-search-top {
        display: block;
        padding: 10px 16px 6px;
        background: var(--bg);
    }
    .mobile-top-form {
        display: flex;
        align-items: center;
        background: var(--surface);
        border: 1.5px solid var(--border);
        border-radius: 24px;
        padding: 0 5px 0 14px;
        gap: 6px;
    }
    .mobile-top-form svg:first-child { color: var(--text-muted); flex-shrink: 0; }
    .mobile-top-form input {
        flex: 1;
        border: none;
        outline: none;
        padding: 10px 0;
        font-size: .9rem;
        background: transparent;
        font-family: var(--font);
        color: var(--text);
        min-width: 0;
    }
    .mobile-top-form button {
        background: var(--primary);
        border: none;
        color: #fff;
        width: 34px; height: 34px;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
    }
    .jm-search-wrap { display: none; }
}

/* ===== STICKY ADD-TO-CART BAR (product page, mobile) ===== */
.sticky-atc {
    display: none;
    position: fixed;
    bottom: 62px;
    left: 0; right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    align-items: center;
    gap: 14px;
    z-index: 400;
    box-shadow: 0 -2px 12px rgba(0,0,0,.1);
    transform: translateY(100%);
    transition: transform .22s ease;
}
.sticky-atc.visible { transform: translateY(0); }
@media (max-width: 640px) {
    .sticky-atc { display: flex; }
}
.sticky-atc-info { flex: 1; min-width: 0; }
.sticky-atc-name {
    font-size: .78rem;
    color: var(--text-muted);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-atc-price { font-size: 1rem; font-weight: 700; display: block; }
.sticky-atc-btn { white-space: nowrap; padding: 11px 22px; font-size: .9rem; }
[data-theme="dark"] .sticky-atc { background: #0f172a; border-top-color: #1e293b; }


/* Footer logo size fix */
.footer-logo { height: 44px !important; width: auto !important; max-width: 160px !important; display: block; }
@media (max-width: 640px) {
    .footer-logo { height: 38px !important; }
    .footer-brand { text-align: left; }
}


/* ===== MOBILE FOOTER — slim version ===== */
@media (max-width: 640px) {
    .footer .footer-col  { display: none; }
    .footer-grid         { grid-template-columns: 1fr; }
    .footer-brand        { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 16px; }
    .footer-brand .social-links { justify-content: center; }
    .footer-bottom       { text-align: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; margin-top: 8px; }
}


/* ===== STRIP — icons only on mobile ===== */
@media (max-width: 640px) {
    .strip-item span:last-child { display: none; }
    .strip-item { padding: 8px 10px; min-width: unset; }
    .strip-icon  { width: 40px; height: 40px; font-size: 1.2rem; }
    .shop-strip  { padding: 10px 0; }
}

/* ===== FLASH SALE PAGE ===== */
.flash-page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 36px 0 28px;
    text-align: center;
}
.flash-page-hero h1 { font-size: 1.8rem; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.flash-page-timer { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; margin-top: 10px; }
.flash-timer-block { background: rgba(255,255,255,.15); border-radius: 6px; padding: 6px 12px; font-size: 1.4rem; font-weight: 700; min-width: 50px; text-align: center; }
.flash-timer-sep { font-size: 1.2rem; font-weight: 700; }
.flash-ends-label { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 6px; }

/* Admin flash sale product grid */
.flash-product-grid { display: flex; flex-direction: column; gap: 8px; max-height: 480px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; }
.flash-product-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; border: 1px solid transparent; transition: background .12s; }
.flash-product-row.selected { background: #f0fdf4; border-color: var(--primary); }
[data-theme="dark"] .flash-product-row.selected { background: #0f2d1a; border-color: var(--primary); }
.flash-product-check { display: flex; align-items: center; gap: 10px; flex: 1; cursor: pointer; }
.flash-product-check img { width: 40px; height: 40px; object-fit: contain; border-radius: 4px; background: var(--surface); flex-shrink: 0; }
.flash-product-check input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; }
.fp-name { flex: 1; font-size: .9rem; font-weight: 500; }
.fp-orig { font-size: .82rem; color: var(--text-muted); white-space: nowrap; }
.flash-price-wrap { display: flex; align-items: center; gap: 6px; }
.fp-price-input { width: 140px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: .88rem; background: var(--bg); color: var(--text); }


/* ===== FLASH FORM — constrain product images ===== */
.flash-product-check img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    object-fit: contain !important;
    border-radius: 4px;
    background: var(--surface);
    flex-shrink: 0 !important;
}

/* ===== MOBILE NAVBAR — theme toggle ===== */
.navbar-mobile-theme { display: none !important; }
@media (max-width: 768px) {
    .navbar-mobile-theme { display: flex !important; }
    .nav-menu .site-theme-btn { display: none !important; }
}
