/* ========================================
   UNBRICK — Main Stylesheet
   Colors: Green #7CB342, Teal #1B6B6B, Yellow #FFD54F
   ======================================== */

/* =================== RESET & BASE =================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333; background: #fff; line-height: 1.6; min-height: 100vh;
}
a { color: #1B6B6B; text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }
table { border-collapse: collapse; width: 100%; }
hr { border: none; border-top: 1px solid #e0e0e0; margin: 1.5rem 0; }

/* =================== LAYOUT =================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 480px; margin: 0 auto; padding: 0 1.5rem; }

/* =================== BUTTONS =================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
    border: 2px solid transparent; cursor: pointer; transition: all 0.2s;
    text-decoration: none; line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-green { background: #7CB342; color: #fff; border-color: #7CB342; }
.btn-green:hover { background: #689F38; border-color: #689F38; }
.btn-green:disabled { background: #ccc; border-color: #ccc; cursor: not-allowed; transform: none; }
.btn-teal { background: #1B6B6B; color: #fff; border-color: #1B6B6B; }
.btn-teal:hover { background: #155555; border-color: #155555; }
.btn-outline { background: transparent; color: #1B6B6B; border-color: #1B6B6B; }
.btn-outline:hover { background: #1B6B6B; color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-white:hover { background: #fff; color: #1B6B6B; }
.btn-small { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }
.btn-google { background: #fff; color: #333; border: 1px solid #ddd; }
.btn-google:hover { background: #f5f5f5; }

/* =================== FORMS =================== */
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block; margin-bottom: 0.35rem;
    font-weight: 600; font-size: 0.9rem; color: #555;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 0.65rem 0.85rem;
    border: 1.5px solid #ddd; border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s; background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: #7CB342;
    box-shadow: 0 0 0 3px rgba(124,179,66,0.15);
}
.form-group small { color: #888; font-size: 0.8rem; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-row .form-group.full { flex: 1 1 100%; }
.form-row-between {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 1rem;
}
.checkbox-label {
    display: flex; align-items: center; gap: 0.5rem;
    cursor: pointer; font-size: 0.9rem; margin-bottom: 0.5rem;
}
.checkbox-label input[type="checkbox"] { width: auto; accent-color: #7CB342; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

/* =================== ALERTS & FLASH =================== */
.alert, .flash {
    padding: 0.85rem 1.1rem; border-radius: 8px;
    margin-bottom: 1rem; font-size: 0.9rem;
}
.alert-success, .flash-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error, .flash-error { background: #fce4ec; color: #c62828; border: 1px solid #f8bbd0; }
.alert-error ul, .flash-error ul { padding-left: 1.2rem; list-style: disc; margin-top: 0.3rem; }
.flash-container { max-width: 1200px; margin: 1rem auto; padding: 0 1.5rem; }

/* =================== BADGES =================== */
.badge {
    display: inline-block; padding: 0.2rem 0.65rem;
    border-radius: 20px; font-size: 0.75rem; font-weight: 600;
    background: #e0e0e0; color: #555;
}
.badge-green, .badge-paid, .badge-delivered, .badge-confirmed { background: #e8f5e9; color: #2e7d32; }
.badge-pending { background: #fff3e0; color: #e65100; }
.badge-processing, .badge-shipped { background: #e3f2fd; color: #1565c0; }
.badge-cancelled, .badge-refunded { background: #fce4ec; color: #c62828; }
.badge-new { background: #7CB342; color: #fff; }
.badge-sale { background: #f44336; color: #fff; }

/* =================== TABLE =================== */
.table { margin-bottom: 1.5rem; }
.table th, .table td {
    padding: 0.7rem 0.85rem; text-align: left;
    border-bottom: 1px solid #eee; font-size: 0.9rem;
}
.table thead th { font-weight: 600; color: #555; background: #f9f9f9; }
.table tbody tr:hover { background: #fafafa; }
.table .total-row td { border-top: 2px solid #ddd; font-weight: 700; }
.table-thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.link-btn {
    color: #1B6B6B; font-weight: 500; font-size: 0.85rem;
    background: none; border: none; cursor: pointer; padding: 0;
}
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: #f44336; }

/* =================== HEADER =================== */
.site-header {
    background: #fff; border-bottom: 1px solid #eee;
    position: sticky; top: 0; z-index: 1000;
}
.header-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1.5rem; gap: 1rem;
}

/* Logo */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo svg,
.logo-svg { display: block; height: 36px; width: auto; }
.logo-img { display: block; height: 36px; width: auto; }

.logo-text-brick { font-size: 28px; font-weight: 800; fill: #1B6B6B; }
.logo-text-lab { font-size: 28px; font-weight: 800; fill: #7CB342; }
.logo-brick-icon { fill: #7CB342; }
.logo-brick-dot { fill: #FFD54F; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-icon {
    display: inline-flex; align-items: center; justify-content: center;
    color: #1B6B6B; padding: 0.4rem; border-radius: 8px; transition: all 0.2s;
}
.header-icon:hover { color: #7CB342; background: #f0f0f0; text-decoration: none; }
.header-icon svg { display: block; }
.cart-icon { position: relative; }
.cart-badge {
    position: absolute; top: -4px; right: -6px;
    background: #7CB342; color: #fff;
    font-size: 0.6rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* Hamburger — old rules removed, now in sidebar section */
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: #333; border-radius: 2px; transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav { display: none; background: #fff; border-top: 1px solid #eee; }
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 0.75rem 1.5rem; }
.mobile-nav li { border-bottom: 1px solid #f5f5f5; }
.mobile-nav a {
    display: block; padding: 0.65rem 0;
    font-weight: 500; color: #333; font-size: 0.95rem;
}
.mobile-nav a:hover { color: #7CB342; text-decoration: none; }
.mobile-nav a.active { color: #7CB342; }
.mobile-nav .nav-logout-btn {
    background: none; border: none; cursor: pointer;
    padding: 0.65rem 0; font-weight: 500; color: #c62828; font-size: 0.95rem;
    width: 100%; text-align: left; font-family: inherit;
}

/* =================== SIDEBAR DRAWER =================== */
.sidebar-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 1100; opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }

.sidebar-nav {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; max-width: 85vw;
    background: #fff; z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex; flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.sidebar-nav.open { transform: translateX(0); }

.sidebar-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem; border-bottom: 1px solid #eee;
}
.sidebar-title {
    font-size: 1rem; font-weight: 700; color: #1B6B6B;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.sidebar-close {
    background: none; border: none; cursor: pointer;
    color: #999; padding: 0.25rem; border-radius: 6px;
    transition: all 0.2s;
}
.sidebar-close:hover { color: #333; background: #f0f0f0; }

.sidebar-links {
    padding: 0.75rem 0; list-style: none;
}
.sidebar-section-title {
    padding: 0.5rem 1.25rem 0.25rem;
    font-size: 0.7rem; font-weight: 700; color: #999;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.sidebar-links li a {
    display: block; padding: 0.7rem 1.25rem;
    font-size: 0.95rem; font-weight: 500; color: #333;
    transition: all 0.2s; text-decoration: none;
}
.sidebar-links li a:hover {
    background: #f5f5f5; color: #7CB342; text-decoration: none;
}
.sidebar-links li a.active {
    color: #7CB342; font-weight: 600;
    background: rgba(124,179,66,0.08);
    border-right: 3px solid #7CB342;
}
.sidebar-links-secondary {
    border-top: 1px solid #eee; margin-top: 0.5rem;
}
.sidebar-logout-btn {
    background: none; border: none; cursor: pointer;
    display: block; padding: 0.7rem 1.25rem;
    font-size: 0.95rem; font-weight: 500; color: #c62828;
    width: 100%; text-align: left; font-family: inherit;
    transition: background 0.2s;
}
.sidebar-logout-btn:hover { background: #fce4ec; }

.sidebar-admin-link {
    background: #1B6B6B !important; color: #fff !important;
    border-radius: 8px; margin: 0.5rem 1rem; padding: 0.6rem 1rem !important;
    text-align: center; font-weight: 600 !important; font-size: 0.9rem !important;
    transition: background 0.2s;
}
.sidebar-admin-link:hover { background: #155555 !important; }

/* Hamburger — always visible */
.hamburger {
    display: flex; background: none; border: none; cursor: pointer;
    padding: 0.5rem; flex-direction: column; gap: 5px;
    align-items: center; justify-content: center;
}

/* Marquee / Ticker */
.marquee-bar {
    background: #FFD54F; color: #333; overflow: hidden; white-space: nowrap;
    font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.marquee-track { display: inline-flex; animation: marquee 25s linear infinite; }
.marquee-track span { padding-right: 3rem; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header search */
.header-search { display: flex; max-width: 320px; }
.header-search input {
    flex: 1; padding: 0.45rem 0.75rem;
    border: 1.5px solid #ddd; border-radius: 8px 0 0 8px; font-size: 0.9rem;
}
.header-search button {
    padding: 0.45rem 0.75rem; background: #1B6B6B; color: #fff;
    border: none; border-radius: 0 8px 8px 0; cursor: pointer;
}

/* =================== FOOTER =================== */
.site-footer { background: #1B6B6B; color: #fff; padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem;
    margin-bottom: 1.5rem;
}
.footer-brand { }
.footer-logo { display: inline-block; margin-bottom: 0.75rem; }
.footer-logo:hover { text-decoration: none; }
.footer-logo svg,
.footer-logo-svg { display: block; height: 36px; width: auto; }
.footer-logo-img { display: block; height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-svg .logo-text-brick { fill: #fff; }
.footer-logo-svg .logo-text-lab { fill: #FFD54F; }

.footer-section { }
.footer-heading {
    font-size: 1rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; color: #FFD54F; margin-bottom: 1rem;
}
.footer-contact-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-bottom: 0.75rem; font-size: 0.9rem; color: rgba(255,255,255,0.85);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; stroke: rgba(255,255,255,0.6); }
.footer-contact-item span { display: block; }

.payment-icons { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.payment-icon { display: inline-flex; }
.payment-icon svg { border-radius: 4px; }

.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding: 1.25rem 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex; justify-content: center; gap: 2rem;
    font-size: 0.8rem; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* =================== PAGE TITLE =================== */
.page-title { font-size: 1.8rem; font-weight: 800; color: #1B6B6B; margin-bottom: 1.5rem; }

/* =================== HOME — HERO =================== */
.hero {
    background: url('../images/hero-bg.svg') center/cover no-repeat,
                linear-gradient(135deg, #1B6B6B 0%, #237878 50%, #2a8a8a 100%);
    color: #fff; overflow: hidden; position: relative;
}
.hero-bg {
    padding: 6rem 0;
    background: rgba(0,0,0,0.15);
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-logo-big { margin-bottom: 2rem; }
.hero-logo-svg { max-width: 340px; height: auto; margin: 0 auto; display: block; }
.hero-logo-img { max-width: 300px; height: auto; margin: 0 auto; display: block; }
.hero-logo-brick { font-size: 52px; font-weight: 800; fill: #fff; }
.hero-logo-lab { font-size: 52px; font-weight: 800; fill: #FFD54F; }
.hero-cta { font-size: 1.05rem; padding: 0.9rem 2.5rem; letter-spacing: 0.02em; }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.hero p {
    font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.9;
    max-width: 600px; margin-left: auto; margin-right: auto;
}

/* =================== HOME — TAGLINE =================== */
.tagline-section { padding: 1.5rem 0; text-align: center; background: #fff; }
.tagline-text {
    font-size: 0.95rem; color: #555; max-width: 500px;
    margin: 0 auto; line-height: 1.6;
}

/* =================== HOME — SECTIONS =================== */
.section { padding: 3rem 0; }
.section-title {
    font-size: 1.5rem; font-weight: 700; color: #1B6B6B;
    margin-bottom: 1.5rem; text-align: center;
}
.section-heading {
    font-size: 1.15rem; font-weight: 700; color: #1B6B6B;
    margin-bottom: 1.5rem; text-align: center;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.section-promo .section-heading { text-align: left; }
.section-products { padding: 1.5rem 0 2rem; }
.section-cta { text-align: center; margin-top: 2rem; }
.section-cta .btn {
    padding: 0.85rem 2.5rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.section-promo { padding: 2.5rem 0; background: #f5f2ea; }
.section-features { padding: 3rem 0; }
.section-related {
    padding: 2rem 0 3rem; border-top: none; margin-top: 2rem;
}

/* =================== PRODUCTS GRID =================== */
.products-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =================== PRODUCT CARD =================== */
.product-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: none;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1.5px solid #eee;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.product-card-link { display: block; color: inherit; text-decoration: none; }
.product-card-link:hover { text-decoration: none; }
.product-card-image {
    position: relative; aspect-ratio: 1;
    background: #f8f8f8; overflow: hidden;
}
.product-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badges {
    position: absolute; top: 0.5rem; left: 0.5rem;
    display: flex; flex-direction: column; gap: 0.3rem; z-index: 1;
}
.product-badge {
    display: inline-block; padding: 0.25rem 0.65rem;
    border-radius: 6px; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.product-badge.sale { background: #f44336; color: #fff; }
.product-badge.low-stock { background: #FF9800; color: #fff; }
.product-badge.new { background: #7CB342; color: #fff; }
.product-card-info { padding: 1rem 1.1rem; }
.product-card-header {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 0.5rem; margin-bottom: 0.25rem;
}
.product-card-name {
    font-size: 0.95rem; font-weight: 700;
    color: #333; line-height: 1.3;
    text-transform: uppercase;
}
.product-card-price {
    font-size: 0.9rem; font-weight: 700; color: #1B6B6B;
    white-space: nowrap; text-align: right;
}
.price-old {
    text-decoration: line-through; color: #aaa;
    font-size: 0.8rem; font-weight: 400;
    display: block; line-height: 1.2;
}
.price-current { display: block; line-height: 1.2; }
.product-card-color {
    font-size: 0.8rem; color: #999;
    margin-bottom: 0.25rem; display: block;
}
.product-card-desc {
    font-size: 0.85rem; color: #777;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.5; margin-top: 0.25rem;
}

/* =================== PROMO CARDS (HOME) =================== */
.promo-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.promo-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #f0f0f0;
    transition: transform 0.25s, box-shadow 0.25s;
}
.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.promo-card-image img { width: 100%; height: 160px; object-fit: cover; }
.promo-card-content { padding: 1rem; text-align: center; }
.promo-card-title {
    font-size: 0.85rem; color: #1B6B6B;
    margin-bottom: 0.5rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.promo-card h3 { font-size: 1.1rem; color: #1B6B6B; margin-bottom: 0.5rem; }
.promo-card p {
    color: #666; margin-bottom: 1.25rem;
    font-size: 0.8rem; line-height: 1.5;
}

/* =================== FEATURES / REASSURANCE =================== */
.features-card {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem; text-align: center;
    border: 1.5px solid #eee; border-radius: 14px;
    padding: 2rem 1.5rem; background: #fff;
}
.feature-item {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.feature-item:last-child { border-bottom: none; }
.feature-icon { margin-bottom: 0.75rem; display: flex; justify-content: center; }
.feature-icon svg { display: block; }
.feature-label {
    display: block; font-size: 0.75rem; color: #999;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem;
}
.feature-title { font-size: 1rem; font-weight: 700; color: #333; margin-bottom: 0.4rem; }
.feature-text { font-size: 0.85rem; color: #777; line-height: 1.7; }

/* =================== CATALOG =================== */
.catalog-section { padding: 2.5rem 0; }
.catalog-title { font-size: 1.8rem; font-weight: 800; color: #1B6B6B; margin-bottom: 0.5rem; }
.catalog-subtitle { font-size: 0.95rem; color: #666; margin-bottom: 1.5rem; }
.catalog-toolbar { margin-bottom: 1.5rem; }
.catalog-filters {
    display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap;
    padding: 1rem 1.25rem; background: #f9f9f9;
    border-radius: 10px; border: 1px solid #eee;
}
.catalog-filters select,
.catalog-filters input[type="number"] {
    padding: 0.5rem 0.65rem; border: 1.5px solid #ddd;
    border-radius: 8px; font-size: 0.9rem; background: #fff;
}
.filter-group { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-group label { font-size: 0.8rem; font-weight: 600; color: #555; }
.filter-check { display: flex; align-items: center; padding-bottom: 0.3rem; }
.filter-check label {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.9rem; cursor: pointer;
}
.filter-check input[type="checkbox"] { accent-color: #7CB342; }

.catalog-categories {
    display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.cat-pill {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.45rem 1rem; border-radius: 20px;
    font-size: 0.85rem; font-weight: 500;
    background: #f0f0f0; color: #555;
    transition: all 0.2s; text-decoration: none;
}
.cat-pill:hover { background: #e0e0e0; text-decoration: none; color: #333; }
.cat-pill.active { background: #7CB342; color: #fff; }
.cat-count {
    font-size: 0.7rem; background: rgba(0,0,0,0.08);
    padding: 0.1rem 0.4rem; border-radius: 10px;
}
.cat-pill.active .cat-count { background: rgba(255,255,255,0.25); }
.catalog-results-info { font-size: 0.9rem; color: #999; margin-bottom: 1rem; }

/* =================== PAGINATION =================== */
.pagination {
    display: flex; justify-content: center;
    gap: 0.35rem; margin-top: 2.5rem;
}
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 0.5rem;
    border-radius: 8px; font-size: 0.9rem; font-weight: 500;
    border: 1.5px solid #ddd; color: #555; text-decoration: none;
    transition: all 0.2s; background: #fff;
}
.page-link:hover { background: #f0f0f0; text-decoration: none; border-color: #ccc; }
.page-link.active { background: #7CB342; color: #fff; border-color: #7CB342; }
.page-link.prev,
.page-link.next { font-size: 1rem; }

/* =================== PRODUCT DETAIL =================== */
.product-detail { padding: 2.5rem 0; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

/* Gallery */
.gallery-main {
    aspect-ratio: 1; border-radius: 0; overflow: hidden;
    background: #f5f5f5; margin-bottom: 0.75rem;
}
.gallery-main img,
.main-product-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs { display: flex; gap: 0.5rem; }
.thumb-btn {
    background: none; border: 2px solid transparent;
    border-radius: 8px; padding: 0; cursor: pointer;
    overflow: hidden; transition: border-color 0.2s;
}
.thumb-btn:hover,
.thumb-btn.active { border-color: #7CB342; }
.thumb-btn img { width: 64px; height: 64px; object-fit: cover; display: block; }

/* Product info */
.product-info-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 1rem; margin-bottom: 1rem;
}
.product-title {
    font-size: 1.4rem; font-weight: 800;
    color: #1B6B6B; margin-bottom: 0;
    text-transform: uppercase;
}
.product-price-large { white-space: nowrap; flex-shrink: 0; }
.price-old-large {
    text-decoration: line-through; color: #aaa;
    font-size: 0.9rem; font-weight: 400; margin-right: 0.5rem;
}
.price-main { font-size: 1.4rem; font-weight: 800; color: #1B6B6B; }
.product-subtitle {
    font-size: 0.9rem; color: #888;
    margin-bottom: 1.5rem; line-height: 1.7;
}
.product-reference { font-size: 0.85rem; color: #aaa; margin-top: 1rem; }

/* Add to cart */
.product-add-form { margin-bottom: 1.5rem; }
.quantity-row {
    display: flex; align-items: center; gap: 0;
    border: 1.5px solid #ddd; border-radius: 10px; overflow: hidden;
}
.quantity-selector {
    display: inline-flex; align-items: center;
    border: none; border-right: 1.5px solid #ddd; flex-shrink: 0;
}
.quantity-selector .qty-btn,
.qty-btn {
    width: 40px; height: 44px; background: #fff; border: none;
    cursor: pointer; font-size: 1.1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; color: #333;
}
.qty-btn:hover { background: #e0e0e0; }
.qty-input {
    width: 40px; text-align: center; border: none;
    border-left: 1px solid #eee; border-right: 1px solid #eee;
    font-weight: 600; height: 44px; font-size: 0.95rem;
    background: #fff;
}
.btn-addtocart {
    font-size: 0.95rem; padding: 0.75rem 1.75rem;
    flex: 1; border-radius: 0; border: none;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
}

/* Meta row */
.product-meta-row {
    display: flex; justify-content: space-between;
    font-size: 0.8rem; color: #888;
    padding: 0.75rem 0; border-top: none;
    margin-top: 0.5rem;
}

/* =================== TABS =================== */
.product-tabs { margin-top: 3rem; }
.tabs-nav {
    display: flex; border-bottom: 2px solid #eee;
    margin-bottom: 1.5rem; gap: 0;
}
.tab-btn {
    background: none; border: none; padding: 0.75rem 1rem;
    font-weight: 600; font-size: 0.85rem; color: #999;
    cursor: pointer; border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: all 0.2s;
    white-space: nowrap;
}
.tab-btn:hover { color: #555; }
.tab-btn.active { color: #7CB342; border-bottom-color: #7CB342; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-text { font-size: 0.95rem; color: #555; line-height: 1.8; }
.tab-text p { margin-bottom: 0.75rem; }
#tab-description .tab-text p {
    padding-left: 1.2rem; position: relative;
}
#tab-description .tab-text p::before {
    content: '·'; position: absolute; left: 0;
    font-weight: 700; font-size: 1.2rem; line-height: 1.6;
}

/* =================== CART =================== */
.cart-section { padding: 2.5rem 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; }
.cart-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.25rem 0; border-bottom: 1px solid #eee;
}
.cart-item-image {
    width: 80px; height: 80px; border-radius: 10px;
    overflow: hidden; background: #f5f5f5; flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.cart-item-info h3 a { color: #333; }
.cart-item-info h3 a:hover { color: #7CB342; text-decoration: none; }
.cart-item-color, .cart-item-ref { font-size: 0.8rem; color: #999; display: block; }
.cart-item-qty { display: flex; align-items: center; }
.qty-form { display: inline-flex; align-items: center; }
.qty-display {
    width: 40px; text-align: center; font-weight: 600;
    border-top: 1.5px solid #ddd; border-bottom: 1.5px solid #ddd;
    height: 32px; line-height: 32px; font-size: 0.9rem;
}
.cart-item-price { text-align: right; min-width: 100px; }
.line-total { font-weight: 700; font-size: 1rem; display: block; color: #1B6B6B; }
.unit-price { font-size: 0.75rem; color: #999; }
.cart-item-remove { flex-shrink: 0; }
.remove-btn {
    background: none; border: none; cursor: pointer;
    color: #ccc; padding: 0.25rem; transition: color 0.2s;
}
.remove-btn:hover { color: #f44336; }

/* Cart Summary */
.cart-summary {
    background: #f9f9f9; border-radius: 12px; padding: 1.5rem;
    position: sticky; top: 100px; border: 1px solid #eee;
}
.promo-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.promo-input {
    flex: 1; padding: 0.5rem 0.75rem;
    border: 1.5px solid #ddd; border-radius: 8px;
}
.summary-lines { margin-bottom: 1.5rem; }
.summary-line {
    display: flex; justify-content: space-between;
    padding: 0.45rem 0; font-size: 0.9rem; color: #555;
}
.summary-line.discount { color: #f44336; }
.summary-line.total {
    border-top: 2px solid #ddd; padding-top: 0.85rem;
    margin-top: 0.5rem; font-size: 1.15rem;
    font-weight: 700; color: #1B6B6B;
}
.cart-summary .btn { margin-bottom: 0.5rem; }

/* =================== CHECKOUT =================== */
.checkout-section { padding: 2.5rem 0; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; }
.checkout-block {
    background: #fff; border: 1.5px solid #eee; border-radius: 12px;
    padding: 1.5rem; margin-bottom: 1.5rem;
}
.checkout-block-title {
    font-size: 1.1rem; font-weight: 700;
    color: #1B6B6B; margin-bottom: 1rem;
}
.checkout-login-hint { font-size: 0.85rem; color: #999; margin-top: 0.5rem; }

.radio-card {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 1rem; border: 1.5px solid #ddd; border-radius: 10px;
    cursor: pointer; margin-bottom: 0.5rem; transition: border-color 0.2s;
}
.radio-card:has(input:checked) { border-color: #7CB342; background: rgba(124,179,66,0.04); }
.radio-card input[type="radio"] { margin-top: 0.25rem; accent-color: #7CB342; }
.radio-card-content { flex: 1; }
.radio-card-content strong { display: block; font-size: 0.95rem; }
.radio-card-content span { font-size: 0.85rem; color: #777; }
.radio-price { font-weight: 700; color: #1B6B6B; white-space: nowrap; }

.shipping-options, .payment-options { margin-bottom: 1rem; }
.stripe-section {
    margin-top: 1rem; padding: 1rem;
    background: #f9f9f9; border-radius: 10px;
}
.stripe-card-element {
    padding: 0.75rem; background: #fff;
    border: 1.5px solid #ddd; border-radius: 8px;
}
.stripe-errors { color: #f44336; font-size: 0.85rem; margin-top: 0.5rem; }

/* Checkout sidebar */
.checkout-sidebar { position: sticky; top: 100px; }
.order-summary {
    background: #f9f9f9; border-radius: 12px;
    padding: 1.5rem; border: 1px solid #eee;
}
.summary-title { font-size: 1.1rem; font-weight: 700; color: #1B6B6B; margin-bottom: 1rem; }
.summary-item {
    display: flex; align-items: center;
    gap: 0.75rem; margin-bottom: 0.75rem;
}
.summary-item-img {
    width: 48px; height: 48px; border-radius: 8px;
    object-fit: cover; background: #eee;
}
.summary-item-info { flex: 1; }
.summary-item-name { font-size: 0.85rem; font-weight: 500; display: block; color: #333; }
.summary-item-qty { font-size: 0.8rem; color: #999; }
.summary-item-price { font-weight: 600; font-size: 0.9rem; color: #1B6B6B; }

/* =================== CONFIRMATION =================== */
.confirmation-section { padding: 3rem 0; }
.confirmation-card { max-width: 700px; margin: 0 auto; text-align: center; }
.confirmation-icon { margin-bottom: 1.5rem; }
.confirmation-icon svg { margin: 0 auto; }
.confirmation-title { font-size: 1.8rem; font-weight: 800; color: #7CB342; margin-bottom: 0.5rem; }
.confirmation-number { font-size: 1rem; margin-bottom: 1rem; color: #555; }
.confirmation-text { color: #777; margin-bottom: 2rem; }
.confirmation-details { text-align: left; margin-bottom: 2rem; }
.confirmation-details h2 { font-size: 1.1rem; color: #1B6B6B; margin-bottom: 1rem; }
.confirmation-table { margin-bottom: 1rem; }
.confirmation-table th,
.confirmation-table td { padding: 0.5rem; border-bottom: 1px solid #eee; text-align: left; font-size: 0.9rem; }
.confirmation-table .total-row td { border-top: 2px solid #ddd; font-weight: 700; }
.confirmation-address { margin-top: 1.5rem; }
.confirmation-address h3 { font-size: 0.95rem; color: #1B6B6B; margin-bottom: 0.3rem; }
.confirmation-address p { font-size: 0.9rem; color: #555; line-height: 1.6; }
.confirmation-actions { display: flex; gap: 0.75rem; justify-content: center; margin-top: 2rem; }

/* =================== AUTH =================== */
.auth-section { padding: 3rem 0; }
.auth-card {
    background: #fff; border: 1.5px solid #eee;
    border-radius: 14px; padding: 2.5rem 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.auth-title {
    font-size: 1.5rem; font-weight: 800; color: #1B6B6B;
    text-align: center; margin-bottom: 1.5rem;
}
.auth-subtitle { text-align: center; color: #777; margin-bottom: 1.5rem; font-size: 0.9rem; }
.auth-form .btn { margin-top: 0.5rem; }
.auth-divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 1.5rem 0; color: #ccc; font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: #eee; }
.auth-footer-text { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: #777; }
.auth-footer-text a { font-weight: 600; }
.link-subtle { font-size: 0.85rem; color: #999; }
.link-subtle:hover { color: #1B6B6B; }

/* =================== SEARCH =================== */
.search-section { padding: 2.5rem 0; }
.search-query { color: #777; margin-bottom: 1.5rem; font-size: 1rem; }

/* =================== CONTACT =================== */
.contact-section { padding: 2.5rem 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
.contact-info {
    background: #f9f9f9; border-radius: 12px; padding: 1.5rem;
    border: 1px solid #eee; align-self: start;
}
.contact-info h2 { font-size: 1.1rem; color: #1B6B6B; margin-bottom: 1rem; }
.contact-info p { font-size: 0.9rem; color: #555; margin-bottom: 0.5rem; line-height: 1.6; }

/* =================== STATIC PAGES =================== */
.static-page { padding: 2.5rem 0; }
.static-content, .cms-content { max-width: 800px; }
.static-content h2, .cms-content h2 {
    font-size: 1.2rem; color: #1B6B6B;
    margin: 1.5rem 0 0.5rem; font-weight: 700;
}
.static-content p, .cms-content p { margin-bottom: 0.75rem; color: #555; line-height: 1.8; }
.static-content ul, .cms-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.static-content li, .cms-content li { margin-bottom: 0.3rem; color: #555; }
.shipping-table { margin: 1rem 0; }
.shipping-table th,
.shipping-table td { padding: 0.6rem 1rem; text-align: left; border-bottom: 1px solid #eee; font-size: 0.9rem; }
.shipping-table thead { background: #f5f5f5; }

/* =================== FAQ =================== */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; background: none; border: none;
    padding: 1.1rem 0; font-size: 1rem; font-weight: 600;
    color: #333; cursor: pointer; text-align: left;
}
.faq-question:hover { color: #1B6B6B; }
.faq-toggle { font-size: 1.3rem; color: #7CB342; transition: transform 0.3s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 1rem; color: #666; line-height: 1.7; }

/* =================== ACCOUNT =================== */
.account-section { padding: 2.5rem 0; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; }
.account-sidebar {
    background: #f9f9f9; border-radius: 12px; padding: 1.5rem;
    position: sticky; top: 100px; align-self: start; border: 1px solid #eee;
}
.account-sidebar h2 {
    font-size: 1.1rem; color: #1B6B6B;
    margin-bottom: 1rem; font-weight: 700;
}
.account-nav a {
    display: block; padding: 0.55rem 0.85rem; border-radius: 8px;
    color: #555; font-size: 0.9rem; margin-bottom: 0.2rem; transition: all 0.2s;
}
.account-nav a:hover { background: #e8f5e9; color: #333; text-decoration: none; }
.account-nav a.active { background: #7CB342; color: #fff; font-weight: 600; }
.nav-logout-btn {
    background: none; border: none; cursor: pointer;
    display: block; padding: 0.55rem 0.85rem; border-radius: 8px;
    color: #777; font-size: 0.9rem; margin-top: 0.5rem;
    width: 100%; text-align: left; transition: all 0.2s; font-family: inherit;
}
.nav-logout-btn:hover { background: #fce4ec; color: #c62828; }

.profile-form { max-width: 600px; }

.dashboard-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem; margin-bottom: 2rem;
}
.dash-card {
    background: #f9f9f9; border-radius: 12px;
    padding: 1.5rem; text-align: center; border: 1px solid #eee;
}
.dash-card h3 { font-size: 1.8rem; color: #1B6B6B; font-weight: 800; }
.dash-card p { font-size: 0.85rem; color: #777; margin-bottom: 0.5rem; }

.addresses-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem; margin-bottom: 2rem;
}
.address-card { border: 1.5px solid #eee; border-radius: 12px; padding: 1.25rem; }
.address-card p { font-size: 0.9rem; color: #555; margin-bottom: 0.3rem; }
.address-card-add {
    display: flex; align-items: center; justify-content: center;
    border-style: dashed; border-color: #ccc;
}
.add-address-btn {
    background: none; border: none; color: #7CB342;
    font-weight: 600; cursor: pointer; font-size: 1rem;
}
.add-address-btn:hover { color: #689F38; }
.address-actions { margin-top: 0.75rem; display: flex; gap: 0.75rem; }
.address-form {
    margin-top: 1.5rem; background: #f9f9f9;
    border-radius: 12px; padding: 1.5rem; border: 1px solid #eee;
}

.order-addresses {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem; margin: 1.5rem 0;
}
.order-address-card { border: 1.5px solid #eee; border-radius: 12px; padding: 1.25rem; }
.order-address-card h3 { font-size: 1rem; color: #1B6B6B; margin-bottom: 0.5rem; font-weight: 700; }
.order-address-card p { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* =================== 404 =================== */
.error-section { padding: 5rem 0; text-align: center; }
.error-card h1 { font-size: 6rem; font-weight: 800; color: #1B6B6B; margin-bottom: 0.5rem; line-height: 1; }
.error-card p { color: #777; margin-bottom: 2rem; font-size: 1.1rem; }

/* =================== EMPTY STATE =================== */
.empty-state { text-align: center; padding: 4rem 2rem; color: #aaa; }
.empty-state svg { margin: 0 auto 1rem; display: block; }
.empty-state p { margin: 0.75rem 0; font-size: 1rem; }

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .header-search { display: none; }
    .hero-bg { padding: 4rem 0; }
    .hero-logo-svg { max-width: 220px; }
    .hero-logo-img { max-width: 200px; }
    .hero h1 { font-size: 1.8rem; }
    .product-hero { grid-template-columns: 1fr; gap: 1.5rem; }
    .features-card { grid-template-columns: 1fr; }
    .feature-item { border-bottom: 1px solid #f0f0f0; }
    .feature-item:last-child { border-bottom: none; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .form-row { flex-direction: column; gap: 0; }
    .cart-item { flex-wrap: wrap; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
    .product-meta-row { flex-direction: column; gap: 0.5rem; }
    .catalog-filters { flex-direction: column; align-items: stretch; }
    .tabs-nav { overflow-x: auto; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .product-card-image { aspect-ratio: 1; }
    .product-card-info { padding: 0.6rem 0.5rem; }
    .product-card-name { font-size: 0.75rem; }
    .product-card-price { font-size: 0.85rem; }
    .product-card-color { font-size: 0.7rem; }
    .product-card-desc { font-size: 0.7rem; }
    .hero-bg { padding: 3rem 0; }
    .hero-logo-svg { max-width: 180px; }
    .hero-logo-img { max-width: 160px; }
    .page-title { font-size: 1.4rem; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .features-card { grid-template-columns: 1fr; }
    .promo-card-image img { height: 120px; }
    .promo-card-content { padding: 0.75rem 0.5rem; }
    .promo-card-title { font-size: 0.7rem; }
    .promo-card p { font-size: 0.7rem; margin-bottom: 0.75rem; }
    .promo-card .btn-small { padding: 0.35rem 0.65rem; font-size: 0.7rem; }
}

/* =================== THEME TOGGLE =================== */
.theme-toggle {
    background: none; border: none; cursor: pointer;
    position: relative; width: 22px; height: 22px;
}
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* =================== DARK MODE =================== */
[data-theme="dark"] {
    color-scheme: dark;
}
[data-theme="dark"] body {
    background: #121212; color: #e0e0e0;
}
[data-theme="dark"] a { color: #80cbc4; }

/* Header */
[data-theme="dark"] .site-header { background: #1a1a1a; border-bottom-color: #333; }
[data-theme="dark"] .header-icon { color: #80cbc4; }
[data-theme="dark"] .header-icon:hover { color: #a5d6a7; background: #2a2a2a; }
[data-theme="dark"] .hamburger span { background: #e0e0e0; }
[data-theme="dark"] .logo-img { filter: brightness(0) invert(1); }

/* Sidebar */
[data-theme="dark"] .sidebar-overlay.open { background: rgba(0,0,0,0.6); }
[data-theme="dark"] .sidebar-nav { background: #1a1a1a; box-shadow: 4px 0 20px rgba(0,0,0,0.4); }
[data-theme="dark"] .sidebar-header { border-bottom-color: #333; }
[data-theme="dark"] .sidebar-title { color: #80cbc4; }
[data-theme="dark"] .sidebar-close { color: #888; }
[data-theme="dark"] .sidebar-close:hover { color: #e0e0e0; background: #333; }
[data-theme="dark"] .sidebar-links li a { color: #ccc; }
[data-theme="dark"] .sidebar-links li a:hover { background: #252525; color: #a5d6a7; }
[data-theme="dark"] .sidebar-links li a.active { color: #a5d6a7; background: rgba(165,214,167,0.1); border-right-color: #a5d6a7; }
[data-theme="dark"] .sidebar-section-title { color: #666; }
[data-theme="dark"] .sidebar-links-secondary { border-top-color: #333; }
[data-theme="dark"] .sidebar-logout-btn { color: #ef9a9a; }
[data-theme="dark"] .sidebar-logout-btn:hover { background: #2a1a1a; }
[data-theme="dark"] .sidebar-admin-link { background: #1B6B6B !important; }

/* Mobile nav */
[data-theme="dark"] .mobile-nav { background: #1a1a1a; border-top-color: #333; }
[data-theme="dark"] .mobile-nav li { border-bottom-color: #2a2a2a; }
[data-theme="dark"] .mobile-nav a { color: #ccc; }
[data-theme="dark"] .nav-logout-btn { color: #888; }
[data-theme="dark"] .nav-logout-btn:hover { background: #2a1a1a; color: #ef9a9a; }

/* Marquee */
[data-theme="dark"] .marquee-bar { background: #332b00; color: #FFD54F; }

/* Footer */
[data-theme="dark"] .site-footer { background: #0d0d0d; }
[data-theme="dark"] .footer-logo-img { filter: brightness(0) invert(1); }
[data-theme="dark"] .footer-bottom { border-top-color: rgba(255,255,255,0.08); }

/* Hero */
[data-theme="dark"] .hero {
    background: url('../images/hero-bg.svg') center/cover no-repeat,
                linear-gradient(135deg, #0f4040 0%, #153535 50%, #1a4545 100%);
}

/* Sections */
[data-theme="dark"] .tagline-section { background: #121212; }
[data-theme="dark"] .tagline-text { color: #999; }
[data-theme="dark"] .section-title { color: #80cbc4; }
[data-theme="dark"] .section-heading { color: #80cbc4; }
[data-theme="dark"] .section-promo { background: #1a1710; }
[data-theme="dark"] .page-title { color: #80cbc4; }

/* Product card */
[data-theme="dark"] .product-card { background: #1e1e1e; border-color: #333; }
[data-theme="dark"] .product-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
[data-theme="dark"] .product-card-image { background: #252525; }
[data-theme="dark"] .product-card-name { color: #e0e0e0; }
[data-theme="dark"] .product-card-price { color: #80cbc4; }
[data-theme="dark"] .product-card-color { color: #777; }
[data-theme="dark"] .product-card-desc { color: #999; }
[data-theme="dark"] .price-old { color: #666; }

/* Promo card */
[data-theme="dark"] .promo-card { background: #1e1e1e; border-color: #333; }
[data-theme="dark"] .promo-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
[data-theme="dark"] .promo-card-title { color: #80cbc4; }
[data-theme="dark"] .promo-card h3 { color: #80cbc4; }
[data-theme="dark"] .promo-card p { color: #999; }

/* Features */
[data-theme="dark"] .features-card { background: #1e1e1e; border-color: #333; }
[data-theme="dark"] .feature-item { border-bottom-color: #2a2a2a; }
[data-theme="dark"] .feature-title { color: #e0e0e0; }
[data-theme="dark"] .feature-text { color: #999; }
[data-theme="dark"] .feature-label { color: #666; }

/* Catalog */
[data-theme="dark"] .catalog-title { color: #80cbc4; }
[data-theme="dark"] .catalog-subtitle { color: #888; }
[data-theme="dark"] .catalog-filters { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .catalog-filters select,
[data-theme="dark"] .catalog-filters input[type="number"] { background: #252525; border-color: #444; color: #e0e0e0; }
[data-theme="dark"] .filter-group label { color: #aaa; }
[data-theme="dark"] .cat-pill { background: #252525; color: #aaa; }
[data-theme="dark"] .cat-pill:hover { background: #333; color: #e0e0e0; }
[data-theme="dark"] .cat-pill.active { background: #7CB342; color: #fff; }
[data-theme="dark"] .catalog-results-info { color: #666; }

/* Pagination */
[data-theme="dark"] .page-link { background: #1e1e1e; border-color: #444; color: #ccc; }
[data-theme="dark"] .page-link:hover { background: #2a2a2a; border-color: #555; }
[data-theme="dark"] .page-link.active { background: #7CB342; color: #fff; border-color: #7CB342; }

/* Product detail */
[data-theme="dark"] .product-title { color: #80cbc4; }
[data-theme="dark"] .price-main { color: #80cbc4; }
[data-theme="dark"] .product-subtitle { color: #999; }
[data-theme="dark"] .product-reference { color: #666; }
[data-theme="dark"] .gallery-main { background: #1a1a1a; }
[data-theme="dark"] .thumb-btn { border-color: transparent; }
[data-theme="dark"] .thumb-btn:hover,
[data-theme="dark"] .thumb-btn.active { border-color: #a5d6a7; }
[data-theme="dark"] .quantity-row { border-color: #444; }
[data-theme="dark"] .quantity-selector { border-right-color: #444; }
[data-theme="dark"] .qty-btn { background: #1e1e1e; color: #e0e0e0; }
[data-theme="dark"] .qty-btn:hover { background: #333; }
[data-theme="dark"] .qty-input { background: #1e1e1e; color: #e0e0e0; border-color: #333; }
[data-theme="dark"] .product-meta-row { color: #666; }

/* Tabs */
[data-theme="dark"] .tabs-nav { border-bottom-color: #333; }
[data-theme="dark"] .tab-btn { color: #777; }
[data-theme="dark"] .tab-btn:hover { color: #aaa; }
[data-theme="dark"] .tab-btn.active { color: #a5d6a7; border-bottom-color: #a5d6a7; }
[data-theme="dark"] .tab-text { color: #bbb; }

/* Cart */
[data-theme="dark"] .cart-item { border-bottom-color: #333; }
[data-theme="dark"] .cart-item-image { background: #252525; }
[data-theme="dark"] .cart-item-info h3 a { color: #e0e0e0; }
[data-theme="dark"] .cart-item-info h3 a:hover { color: #a5d6a7; }
[data-theme="dark"] .cart-item-color,
[data-theme="dark"] .cart-item-ref { color: #666; }
[data-theme="dark"] .line-total { color: #80cbc4; }
[data-theme="dark"] .unit-price { color: #666; }
[data-theme="dark"] .qty-display { border-color: #444; }
[data-theme="dark"] .remove-btn { color: #555; }
[data-theme="dark"] .remove-btn:hover { color: #ef5350; }
[data-theme="dark"] .cart-summary { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .promo-input { background: #252525; border-color: #444; color: #e0e0e0; }
[data-theme="dark"] .summary-line { color: #bbb; }
[data-theme="dark"] .summary-line.total { border-top-color: #444; color: #80cbc4; }

/* Checkout */
[data-theme="dark"] .checkout-block { background: #1e1e1e; border-color: #333; }
[data-theme="dark"] .checkout-block-title { color: #80cbc4; }
[data-theme="dark"] .checkout-login-hint { color: #666; }
[data-theme="dark"] .radio-card { border-color: #444; }
[data-theme="dark"] .radio-card:has(input:checked) { border-color: #a5d6a7; background: rgba(165,214,167,0.05); }
[data-theme="dark"] .radio-card-content span { color: #999; }
[data-theme="dark"] .radio-price { color: #80cbc4; }
[data-theme="dark"] .stripe-section { background: #1a1a1a; }
[data-theme="dark"] .stripe-card-element { background: #252525; border-color: #444; }
[data-theme="dark"] .order-summary { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .summary-title { color: #80cbc4; }
[data-theme="dark"] .summary-item-name { color: #e0e0e0; }
[data-theme="dark"] .summary-item-qty { color: #666; }
[data-theme="dark"] .summary-item-price { color: #80cbc4; }

/* Confirmation */
[data-theme="dark"] .confirmation-title { color: #a5d6a7; }
[data-theme="dark"] .confirmation-number { color: #bbb; }
[data-theme="dark"] .confirmation-text { color: #999; }
[data-theme="dark"] .confirmation-details h2 { color: #80cbc4; }
[data-theme="dark"] .confirmation-table th,
[data-theme="dark"] .confirmation-table td { border-bottom-color: #333; }
[data-theme="dark"] .confirmation-address h3 { color: #80cbc4; }
[data-theme="dark"] .confirmation-address p { color: #bbb; }

/* Auth */
[data-theme="dark"] .auth-card { background: #1e1e1e; border-color: #333; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
[data-theme="dark"] .auth-title { color: #80cbc4; }
[data-theme="dark"] .auth-subtitle { color: #888; }
[data-theme="dark"] .auth-divider { color: #555; }
[data-theme="dark"] .auth-divider::before,
[data-theme="dark"] .auth-divider::after { background: #333; }
[data-theme="dark"] .auth-footer-text { color: #888; }
[data-theme="dark"] .link-subtle { color: #666; }

/* Forms */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: #252525; border-color: #444; color: #e0e0e0;
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: #666; }
[data-theme="dark"] .form-group label,
[data-theme="dark"] .form-label { color: #ccc; }

/* Buttons */
[data-theme="dark"] .btn-outline { border-color: #555; color: #ccc; }
[data-theme="dark"] .btn-outline:hover { background: #2a2a2a; border-color: #777; color: #fff; }

/* Alerts */
[data-theme="dark"] .alert { border-color: #333; }
[data-theme="dark"] .alert-success { background: #1a2e1a; color: #a5d6a7; border-color: #2e4a2e; }
[data-theme="dark"] .alert-error { background: #2e1a1a; color: #ef9a9a; border-color: #4a2e2e; }

/* Tables */
[data-theme="dark"] .table th { background: #1a1a1a; color: #ccc; border-bottom-color: #444; }
[data-theme="dark"] .table td { border-bottom-color: #2a2a2a; color: #ccc; }

/* FAQ */
[data-theme="dark"] .faq-item { border-bottom-color: #333; }
[data-theme="dark"] .faq-question { color: #e0e0e0; }
[data-theme="dark"] .faq-question:hover { color: #80cbc4; }
[data-theme="dark"] .faq-toggle { color: #a5d6a7; }
[data-theme="dark"] .faq-answer p { color: #999; }

/* Account */
[data-theme="dark"] .account-sidebar { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .account-sidebar h2 { color: #80cbc4; }
[data-theme="dark"] .account-nav a { color: #bbb; }
[data-theme="dark"] .account-nav a:hover { background: #1a2e1a; color: #e0e0e0; }
[data-theme="dark"] .account-nav a.active { background: #7CB342; color: #fff; }
[data-theme="dark"] .dash-card { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .dash-card h3 { color: #80cbc4; }
[data-theme="dark"] .dash-card p { color: #888; }
[data-theme="dark"] .address-card { border-color: #333; }
[data-theme="dark"] .address-card p { color: #bbb; }
[data-theme="dark"] .address-form { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .order-address-card { border-color: #333; }
[data-theme="dark"] .order-address-card h3 { color: #80cbc4; }
[data-theme="dark"] .order-address-card p { color: #bbb; }

/* Contact */
[data-theme="dark"] .contact-info { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .contact-info h2 { color: #80cbc4; }
[data-theme="dark"] .contact-info p { color: #bbb; }

/* Static pages */
[data-theme="dark"] .static-content h2,
[data-theme="dark"] .cms-content h2 { color: #80cbc4; }
[data-theme="dark"] .static-content p,
[data-theme="dark"] .cms-content p { color: #bbb; }
[data-theme="dark"] .static-content li,
[data-theme="dark"] .cms-content li { color: #bbb; }
[data-theme="dark"] .shipping-table th { background: #1a1a1a; }
[data-theme="dark"] .shipping-table td { border-bottom-color: #333; }

/* Search */
[data-theme="dark"] .search-query { color: #888; }
[data-theme="dark"] .header-search input { background: #252525; border-color: #444; color: #e0e0e0; }

/* 404 */
[data-theme="dark"] .error-card h1 { color: #80cbc4; }
[data-theme="dark"] .error-card p { color: #888; }

/* Empty state */
[data-theme="dark"] .empty-state { color: #555; }

/* hr, badges, misc */
[data-theme="dark"] hr { border-top-color: #333; }
[data-theme="dark"] .badge { background: #252525; color: #ccc; }