:root {
    --primary: #9B2C5E;
    --primary-light: #C4508A;
    --primary-dark: #7A1F49;
    --primary-bg: #FDF2F8;
    --secondary: #1F2937;
    --accent: #D4AF37;
    --accent-light: #F5E6B8;
    --text: #111827;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-alt: #F3F4F6;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --success: #059669;
    --success-bg: #ECFDF5;
    --warning: #D97706;
    --warning-bg: #FFFBEB;
    --danger: #DC2626;
    --danger-bg: #FEF2F2;
    --info: #2563EB;
    --info-bg: #EFF6FF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --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);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: 0.2s ease;
    --header-height: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius); font-weight: 600;
    font-size: 14px; letter-spacing: .3px; cursor: pointer; border: 2px solid transparent;
    transition: all var(--transition); text-transform: uppercase;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-secondary:hover { background: #111827; transform: translateY(-1px); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #B91C1C; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

.announcement-bar {
    background: var(--secondary); color: #fff; text-align: center;
    padding: 8px 0; font-size: 13px; font-weight: 500; letter-spacing: .5px;
}
.announcement-bar i { margin-right: 8px; }

.site-header {
    position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-light);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-height); gap: 20px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-text {
    font-family: var(--font-display); font-size: 26px; font-weight: 700;
    color: var(--primary); letter-spacing: .5px;
}
.footer-logo-link { display: inline-block; margin-bottom: 12px; }
.footer-logo-img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.admin-logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 4px; }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    transition: color var(--transition); text-transform: uppercase; letter-spacing: .8px;
    padding: 8px 0; position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: width .3s;
}
.main-nav a:hover::after { width: 100%; }
.main-nav .fa-chevron-down { font-size: 10px; margin-left: 4px; }

.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: -16px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 8px 0; min-width: 200px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s; z-index: 100;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: block; padding: 10px 20px; font-size: 14px; text-transform: none; letter-spacing: 0;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--primary-bg); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-icon {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--text); font-size: 18px;
    transition: all var(--transition); position: relative;
}
.header-icon:hover { color: var(--primary); background: var(--primary-bg); }
.cart-count {
    position: absolute; top: 2px; right: 0; background: var(--primary);
    color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 24px; position: relative; }
.mobile-menu-toggle span {
    display: block; width: 100%; height: 2px; background: var(--text); position: absolute;
    left: 0; transition: all .3s;
}
.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-toggle span:nth-child(3) { bottom: 0; }
.mobile-menu-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.mobile-nav-close {
    display: none; width: 48px; height: 48px;
    background: none; border: none; cursor: pointer; font-size: 24px; color: var(--text-secondary);
    border-radius: 50%; transition: all .2s; z-index: 1001;
    align-items: center; justify-content: center;
}
.mobile-nav-close:hover { color: var(--primary); }
.mobile-nav-logo { display: none; }

.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999; }
.mobile-nav-overlay.active { display: block; }

.hero-section {
    position: relative; height: 85vh; min-height: 500px; max-height: 800px;
    display: flex; align-items: center; overflow: hidden;
}
.hero-fullwidth { height: 90vh; min-height: 550px; max-height: none; align-items: flex-end; }
.hero-image { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}
.hero-content {
    position: relative; z-index: 2; color: #fff; padding: 0 60px; max-width: 650px;
}
.hero-content-center {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    max-width: none; padding: 0; text-align: center;
}
.hero-subtitle {
    display: inline-block; font-size: 13px; text-transform: uppercase;
    letter-spacing: 4px; font-weight: 600; margin-bottom: 16px;
    padding: 6px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px;
}
.hero-title {
    font-family: var(--font-display); font-size: 60px; font-weight: 700;
    line-height: 1.1; margin-bottom: 20px;
}
.hero-text { font-size: 17px; opacity: .9; margin-bottom: 32px; line-height: 1.7; }

.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }
.section-label { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 3px; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.section-cta { text-align: center; margin-top: 40px; }

.categories-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px;
}
.category-card {
    text-align: center; padding: 32px 16px; border-radius: var(--radius-lg);
    background: var(--bg-light); border: 1px solid var(--border-light);
    transition: all .3s;
}
.category-card:hover { border-color: var(--primary); background: var(--primary-bg); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-icon {
    width: 60px; height: 60px; border-radius: 50%; background: var(--primary-bg);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
    font-size: 22px; color: var(--primary); transition: all .3s;
}
.category-card:hover .category-icon { background: var(--primary); color: #fff; }
.category-card h3 { font-size: 15px; font-weight: 600; }

.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.product-card {
    border-radius: var(--radius-lg); overflow: hidden; background: #fff;
    border: 1px solid var(--border-light); transition: all .3s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--border); }
.product-image {
    position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-alt);
}
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge {
    position: absolute; top: 12px; left: 12px; padding: 4px 12px;
    border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.product-badge.sale { background: var(--danger); color: #fff; }
.product-badge.new { background: var(--primary); color: #fff; }
.product-info { padding: 16px 18px 20px; }
.product-name { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.product-name a { transition: color var(--transition); }
.product-name a:hover { color: var(--primary); }
.product-short-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { display: flex; align-items: center; gap: 10px; }
.price-current { font-size: 17px; font-weight: 700; color: var(--primary); }
.price-old { font-size: 14px; color: var(--text-light); text-decoration: line-through; }

.sale-section { background: var(--primary-bg); }

.features-section { background: var(--bg-light); border-top: 1px solid var(--border-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.feature-card { text-align: center; padding: 24px 16px; }
.feature-icon {
    width: 56px; height: 56px; border-radius: 50%; background: var(--primary-bg);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
    font-size: 20px; color: var(--primary);
}
.feature-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); }

.site-footer { background: #000000; color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; }
.footer-brand { font-family: var(--font-display); font-size: 24px; margin-bottom: 14px; }
.footer-text { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center; font-size: 15px;
    color: rgba(255,255,255,.7); transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }
.newsletter-form { display: flex; margin-top: 14px; }
.newsletter-form input {
    flex: 1; padding: 12px 16px; border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1); color: #fff; border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form button {
    padding: 12px 18px; background: var(--primary); border: none; color: #fff;
    border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--primary-dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-payments { display: flex; gap: 12px; font-size: 24px; color: rgba(255,255,255,.4); }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 14px; color: var(--text); background: #fff; transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(155,44,94,.1); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-error { font-size: 13px; color: var(--danger); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-help { font-size: 12px; color: var(--text-light); margin-top: 4px; }

.page-header { background: var(--bg-light); padding: 40px 0; border-bottom: 1px solid var(--border-light); }
.page-header h1 { font-family: var(--font-display); font-size: 32px; font-weight: 700; }
.page-header .breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--text-secondary); margin-top: 8px; }
.page-header .breadcrumb a { color: var(--primary); }

.alert {
    padding: 14px 18px; border-radius: var(--radius); font-size: 14px;
    margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #A7F3D0; }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid #FECACA; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #FDE68A; }
.alert-info { background: var(--info-bg); color: var(--info); border: 1px solid #BFDBFE; }

.badge {
    display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-primary { background: var(--primary-bg); color: var(--primary); }
.badge-secondary { background: var(--bg-alt); color: var(--text-secondary); }

.auth-page { min-height: calc(100vh - var(--header-height) - 40px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--bg-light); }
.auth-card { background: #fff; border-radius: var(--radius-xl); padding: 40px; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); border: 1px solid var(--border-light); }
.auth-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.auth-logo a { display: inline-block; }
.auth-logo img { height: 44px; width: auto; display: block; margin: 0 auto; }
.auth-card h1 { font-family: var(--font-display); font-size: 28px; text-align: center; margin-bottom: 8px; }
.auth-card .auth-subtitle { text-align: center; color: var(--text-secondary); font-size: 14px; margin-bottom: 28px; }
.auth-card .auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-secondary); }
.auth-card .auth-footer a { color: var(--primary); font-weight: 600; }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding: 40px 0; }
.shop-sidebar { position: sticky; top: calc(var(--header-height) + 20px); align-self: start; }
.shop-sidebar h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; color: var(--text); }
.filter-group { margin-bottom: 28px; }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.filter-group label:hover { color: var(--primary); }
.filter-group input[type="checkbox"] { accent-color: var(--primary); width: 16px; height: 16px; }
.shop-products { }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; }
.shop-toolbar .results-count { font-size: 14px; color: var(--text-secondary); }
.shop-toolbar .sort-select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; }

.product-detail { padding: 40px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }
.gallery-main { overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: opacity 0.3s ease; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; background: var(--bg-alt); }
.gallery-thumb { width: 80px; height: 100px; min-width: 80px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s ease; flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card-colors { display: flex; gap: 5px; padding: 8px 0 0; justify-content: center; }
.product-card-color { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; transition: all 0.2s ease; }
.product-card-color:hover, .product-card-color.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.product-gallery > img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.product-detail-info h1 { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.product-detail-info .product-sku { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.product-detail-price { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-detail-price .price-current { font-size: 28px; font-weight: 700; color: var(--primary); }
.product-detail-price .price-old { font-size: 18px; }
.product-detail-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.variant-selector { margin-bottom: 20px; }
.variant-selector label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-option {
    padding: 8px 18px; border: 2px solid var(--border); border-radius: var(--radius);
    font-size: 14px; font-weight: 500; cursor: pointer; transition: all var(--transition);
    background: #fff;
}
.variant-option:hover { border-color: var(--primary); }
.variant-option.selected { border-color: var(--primary); background: var(--primary-bg); color: var(--primary); }
.color-option {
    width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--border);
    cursor: pointer; transition: all var(--transition); position: relative;
}
.color-option:hover { border-color: var(--text-secondary); }
.color-option.selected { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.quantity-selector { display: flex; align-items: center; gap: 0; margin-bottom: 24px; }
.quantity-selector label { font-size: 14px; font-weight: 600; margin-right: 12px; }
.quantity-btn {
    width: 40px; height: 40px; border: 1px solid var(--border); background: var(--bg-light);
    font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.quantity-btn:first-of-type { border-radius: var(--radius) 0 0 var(--radius); }
.quantity-btn:last-of-type { border-radius: 0 var(--radius) var(--radius) 0; }
.quantity-btn:hover { background: var(--primary-bg); color: var(--primary); }
.quantity-input { width: 60px; height: 40px; text-align: center; border: 1px solid var(--border); border-left: 0; border-right: 0; font-weight: 600; }
.add-to-cart-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.product-features { list-style: none; }
.product-features li { padding: 8px 0; font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.product-features li i { color: var(--primary); font-size: 16px; }

.cart-page { padding: 40px 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-secondary); padding: 12px 16px; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 16px; }
.cart-item-img { width: 80px; height: 100px; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; font-size: 15px; }
.cart-item-variant { font-size: 13px; color: var(--text-secondary); }
.cart-item-remove { color: var(--text-light); font-size: 18px; cursor: pointer; transition: color var(--transition); background: none; border: none; }
.cart-item-remove:hover { color: var(--danger); }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; }
.cart-summary {
    background: var(--bg-light); border-radius: var(--radius-lg); padding: 28px;
    border: 1px solid var(--border-light); position: sticky; top: calc(var(--header-height) + 20px);
    align-self: start;
}
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.cart-summary-row.total { font-size: 18px; font-weight: 700; border-top: 2px solid var(--border); padding-top: 16px; margin-top: 8px; color: var(--primary); }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 48px; color: var(--text-light); margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); margin-bottom: 24px; }

.customer-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 40px 0; }
.customer-sidebar { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light); overflow: hidden; position: sticky; top: calc(var(--header-height) + 20px); align-self: start; }
.customer-sidebar-header { padding: 24px; background: var(--primary-bg); text-align: center; }
.customer-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 12px; }
.customer-sidebar-header h3 { font-size: 16px; font-weight: 600; }
.customer-sidebar-header p { font-size: 13px; color: var(--text-secondary); }
.customer-nav { padding: 8px 0; }
.customer-nav a {
    display: flex; align-items: center; gap: 12px; padding: 12px 24px;
    font-size: 14px; color: var(--text-secondary); transition: all var(--transition);
}
.customer-nav a:hover { background: var(--bg-light); color: var(--primary); }
.customer-nav a.active { color: var(--primary); background: var(--primary-bg); font-weight: 600; border-right: 3px solid var(--primary); }
.customer-nav a i { width: 20px; text-align: center; font-size: 16px; }
.customer-content { }
.customer-content h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 24px; }

.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); }
.data-table th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-secondary); padding: 14px 16px; background: var(--bg-light); border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-light); }

.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light); overflow: hidden; }
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; }
.card-header h3 { font-size: 16px; font-weight: 700; }
.card-body { padding: 24px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 20px 24px; border: 1px solid var(--border-light); }
.stat-card .stat-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; margin-bottom: 6px; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: var(--text); }
.stat-card .stat-change { font-size: 12px; margin-top: 4px; }
.stat-card .stat-change.positive { color: var(--success); }
.stat-card .stat-change.negative { color: var(--danger); }
.stat-card .stat-icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; float: right; }
.stat-card .stat-icon.primary { background: var(--primary-bg); color: var(--primary); }
.stat-card .stat-icon.success { background: var(--success-bg); color: var(--success); }
.stat-card .stat-icon.warning { background: var(--warning-bg); color: var(--warning); }
.stat-card .stat-icon.info { background: var(--info-bg); color: var(--info); }

.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 32px; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--radius);
    font-size: 14px; font-weight: 500; border: 1px solid var(--border); color: var(--text-secondary);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px; background: var(--secondary); color: #fff;
    display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0;
    z-index: 1000; transition: transform .3s;
}
.admin-sidebar-header { padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar-header h2 { font-family: var(--font-display); font-size: 20px; color: #fff; }
.admin-sidebar-header span { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 2px; }
.admin-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.admin-nav-section { margin-bottom: 8px; }
.admin-nav-section-label { padding: 12px 24px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.35); }
.admin-nav a {
    display: flex; align-items: center; gap: 12px; padding: 10px 24px;
    font-size: 14px; color: rgba(255,255,255,.65); transition: all var(--transition);
}
.admin-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; border-left: 3px solid var(--primary); }
.admin-nav a i { width: 20px; text-align: center; font-size: 16px; }
.admin-sidebar-footer { padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-sidebar-footer a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.5); font-size: 14px; }
.admin-sidebar-footer a:hover { color: #fff; }

.admin-content { flex: 1; margin-left: 260px; background: var(--bg-light); min-height: 100vh; }
.admin-topbar {
    background: #fff; border-bottom: 1px solid var(--border-light);
    padding: 0 28px; height: 60px; display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
}
.admin-topbar h1 { font-size: 18px; font-weight: 700; }
.admin-topbar-actions { display: flex; align-items: center; gap: 16px; }
.admin-main { padding: 28px; }

.admin-mobile-toggle {
    display: none; position: fixed; bottom: 20px; right: 20px; z-index: 1001;
    width: 50px; height: 50px; border-radius: 50%; background: var(--primary);
    color: #fff; border: none; font-size: 20px; cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.chart-container { position: relative; width: 100%; height: 300px; }
.chart-bar { display: flex; align-items: flex-end; gap: 8px; height: 200px; padding-top: 20px; }
.chart-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.chart-bar-fill { width: 100%; border-radius: 4px 4px 0 0; background: var(--primary); min-height: 4px; transition: height .5s; }
.chart-bar-label { font-size: 11px; color: var(--text-secondary); }
.chart-bar-value { font-size: 11px; font-weight: 600; }

.stock-indicator { display: flex; align-items: center; gap: 6px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; }
.stock-dot.high { background: var(--success); }
.stock-dot.medium { background: var(--warning); }
.stock-dot.low { background: var(--danger); }

.address-card { border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px; background: #fff; }
.address-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-secondary); }
.address-card p { font-size: 14px; line-height: 1.7; }
.address-card .address-actions { margin-top: 14px; display: flex; gap: 10px; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: var(--radius-xl); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text-light); padding: 4px; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-light); display: flex; justify-content: flex-end; gap: 10px; }

.checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 36px; }
.checkout-step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-light); }
.checkout-step.active { color: var(--primary); font-weight: 600; }
.checkout-step.completed { color: var(--success); }
.checkout-step .step-num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.checkout-step.active .step-num { background: var(--primary); color: #fff; border-color: var(--primary); }
.checkout-step.completed .step-num { background: var(--success); color: #fff; border-color: var(--success); }
.checkout-step-line { width: 40px; height: 2px; background: var(--border); margin: 0 12px; }

.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border-light); margin-bottom: 24px; }
.tab-nav a {
    padding: 12px 20px; font-size: 14px; font-weight: 500; color: var(--text-secondary);
    border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition);
}
.tab-nav a:hover { color: var(--primary); }
.tab-nav a.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.loading-spinner { display: inline-block; width: 24px; height: 24px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.color-swatch { width: 24px; height: 24px; border-radius: 50%; display: inline-block; border: 2px solid var(--border); vertical-align: middle; }

.order-timeline { padding-left: 24px; border-left: 2px solid var(--border-light); }
.order-timeline-item { position: relative; padding: 0 0 24px 20px; }
.order-timeline-item::before { content: ''; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--border); border: 2px solid #fff; }
.order-timeline-item.active::before { background: var(--primary); }
.order-timeline-item h4 { font-size: 14px; font-weight: 600; }
.order-timeline-item p { font-size: 13px; color: var(--text-secondary); }

@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .cart-layout { grid-template-columns: 1fr; }
    .customer-layout { grid-template-columns: 1fr; }
    .customer-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.active { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .admin-mobile-toggle { display: flex; align-items: center; justify-content: center; }
}

@media (max-width: 768px) {
    .hero-section { height: auto; min-height: 0; max-height: none; aspect-ratio: 9/14; }
    .hero-fullwidth { height: auto; min-height: 0; max-height: none; aspect-ratio: 9/16; }
    .hero-image img { object-position: center center; }
    .hero-content { padding: 0 20px; }
    .hero-content-center { bottom: 28px; }
    .hero-title { font-size: 32px; }
    .hero-text { font-size: 14px; }
    .main-nav {
        display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        background: #fff; z-index: 9999;
        flex-direction: column; justify-content: center; align-items: center;
        padding: 0; overflow: hidden;
    }
    .main-nav.active { display: flex; }
    .main-nav::before { display: none; }
    .main-nav ul {
        flex-direction: column; gap: 0; padding: 0;
        text-align: center; width: 100%; list-style: none;
    }
    .main-nav ul > li { border-bottom: none; }
    .main-nav a {
        padding: 18px 24px; font-size: 22px; font-weight: 600; display: block;
        color: var(--text-primary); text-transform: uppercase; letter-spacing: 3px;
        border-bottom: none; font-family: var(--font-display);
    }
    .main-nav a:hover, .main-nav a:active { color: var(--primary); background: none; }
    .main-nav a::after { display: none; }
    .main-nav .has-dropdown > a { display: block; }
    .main-nav .has-dropdown > a .fa-chevron-down { display: none; }
    .dropdown-menu {
        position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
        box-shadow: none; border: none; border-radius: 0; padding: 4px 0 8px;
        background: transparent; min-width: 0;
    }
    .dropdown-menu a {
        padding: 8px 24px; font-size: 15px; color: var(--text-light);
        text-transform: none; letter-spacing: .5px; font-family: var(--font-body);
        font-weight: 400;
    }
    .dropdown-menu a:hover { background: none; color: var(--primary); }
    .mobile-menu-toggle { display: block; z-index: 10000; position: relative; }
    .mobile-nav-close {
        display: flex; align-items: center; justify-content: center;
        position: absolute; top: 20px; right: 20px; z-index: 10000;
        width: 48px; height: 48px; font-size: 28px; color: var(--text-primary);
    }
    .mobile-nav-logo {
        display: block; text-align: center; margin-bottom: 24px;
    }
    .mobile-nav-logo img { height: 40px; width: auto; }
    .section { padding: 48px 0; }
    .section-title { font-size: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-info { padding: 12px 14px 16px; }
    .product-name { font-size: 13px; }
    .price-current { font-size: 15px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
    .cart-table, .cart-table thead, .cart-table tbody, .cart-table th, .cart-table td, .cart-table tr { display: block; }
    .cart-table thead { display: none; }
    .cart-table td { padding: 8px 16px; border: none; }
    .cart-table tr { border-bottom: 1px solid var(--border-light); padding: 12px 0; }
    .auth-card { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .product-short-desc { display: none; }
    .checkout-step span:not(.step-num) { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

.lang-switcher { display: flex; align-items: center; gap: 6px; }
.lang-switcher button {
    background: none; border: 1px solid transparent; border-radius: 4px; padding: 2px 4px;
    cursor: pointer; opacity: .6; transition: all .2s; display: flex; align-items: center;
}
.lang-switcher button:hover, .lang-switcher button.active { opacity: 1; border-color: var(--primary); }
.lang-switcher button img { width: 22px; height: 16px; display: block; object-fit: cover; border-radius: 2px; }

@media (max-width: 480px) {
    .hero-fullwidth { aspect-ratio: 9/16; }
    .hero-title { font-size: 26px; }
    .hero-content-center { bottom: 20px; }
    .hero-content-center .btn { font-size: 13px; padding: 12px 28px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .header-actions { gap: 8px; }
    .header-icon { width: 36px; height: 36px; font-size: 16px; }
    .lang-switcher button img { width: 20px; height: 14px; }
    .lang-switcher { gap: 4px; }
    .main-nav a { font-size: 20px; padding: 16px 20px; letter-spacing: 2px; }
    .dropdown-menu a { font-size: 14px; padding: 7px 20px; }
}

.legal-page { max-width: 860px; margin: 0 auto; padding: 40px 0 60px; }
.legal-page h1 { font-family: var(--font-display); font-size: 36px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.legal-updated { font-size: 14px; color: var(--text-light); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.legal-section { margin-bottom: 32px; }
.legal-section h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--primary-dark); }
.legal-section h3 { font-size: 16px; font-weight: 600; margin: 16px 0 8px; color: var(--text-primary); }
.legal-section p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 12px; }
.legal-section ul, .legal-section ol { margin: 8px 0 16px 24px; }
.legal-section li { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 6px; }
.legal-section a { color: var(--primary); text-decoration: underline; }
.legal-section a:hover { color: var(--primary-dark); }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; border: 1px solid var(--border-light); }
.legal-table th { background: var(--bg-alt); font-weight: 600; color: var(--text-primary); }
.legal-table td { color: var(--text-secondary); }
.legal-actions { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-light); }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000; background: #fff; box-shadow: 0 -4px 24px rgba(0,0,0,.15); transform: translateY(100%); transition: transform .4s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-content { max-width: 1200px; margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; gap: 24px; }
.cookie-banner-text h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; color: var(--text-primary); }
.cookie-banner-text p { font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.cookie-banner-text a { color: var(--primary); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-accept { white-space: nowrap; }
.cookie-btn-reject { white-space: nowrap; }
.cookie-btn-settings { white-space: nowrap; }

.cookie-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10001; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s ease; }
.cookie-modal-overlay.visible { opacity: 1; }
.cookie-modal { background: #fff; border-radius: var(--radius-lg); max-width: 560px; width: 90%; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.cookie-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border-light); }
.cookie-modal-header h3 { font-family: var(--font-display); font-size: 20px; margin: 0; color: var(--text-primary); }
.cookie-modal-header i { color: var(--primary); margin-right: 8px; }
.cookie-modal-close { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-light); line-height: 1; padding: 0; }
.cookie-modal-close:hover { color: var(--text-primary); }
.cookie-modal-body { padding: 8px 24px; }
.cookie-category { padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.cookie-category:last-child { border-bottom: none; }
.cookie-category-header { display: flex; align-items: flex-start; gap: 16px; }
.cookie-category-header > div { flex: 1; }
.cookie-category h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.cookie-category p { font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin: 0; }
.cookie-toggle { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; border-radius: 26px; transition: .3s; }
.cookie-slider:before { content: ''; position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s; }
.cookie-toggle input:checked + .cookie-slider { background: var(--primary); }
.cookie-toggle input:checked + .cookie-slider:before { transform: translateX(22px); }
.cookie-toggle.disabled .cookie-slider { background: var(--primary); opacity: .6; cursor: not-allowed; }
.cookie-modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border-light); }

@media (max-width: 768px) {
    .cookie-banner-content { flex-direction: column; padding: 20px; }
    .cookie-banner-actions { width: 100%; justify-content: stretch; }
    .cookie-banner-actions .btn { flex: 1; font-size: 13px; padding: 10px 12px; }
    .legal-page h1 { font-size: 28px; }
    .legal-table { font-size: 12px; }
    .legal-table th, .legal-table td { padding: 8px 10px; }
}
