/* ============================================
   TORGEER - E-Commerce Stylesheet
   Company: UNIVERSALHOMEANDTECH LTD
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: #fff7ed;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #eab308;
    --info: #0ea5e9;
    --bg: #fafafa;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --max-width: 1280px;
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

/* ============ LAYOUT ============ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 20px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}

.flex { display: flex; align-items: center; gap: 12px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ============ ANNOUNCEMENT BAR ============ */
.announcement-bar {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.025em;
}
.announcement-bar a { color: var(--accent); font-weight: 600; }

/* ============ HEADER ============ */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
    text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-main a, .nav-main .nav-dropdown > a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    height: 38px;
    line-height: 1;
    text-decoration: none;
}
.nav-main a:hover, .nav-main a.active { color: var(--accent); background: var(--accent-light); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px 0;
    display: none;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    border-radius: 0;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions a, .header-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    font-size: 1.1rem;
}
.header-actions a:hover, .header-actions button:hover { background: var(--border-light); color: var(--accent); }

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-btn { display: none !important; }

/* Mobile nav - HIDDEN by default on all screens */
.nav-mobile {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 9999;
    padding: 20px;
    flex-direction: column;
    overflow-y: auto;
}
.nav-mobile.active { display: flex !important; }
.nav-mobile a { padding: 14px 0; border-bottom: 1px solid var(--border-light); font-size: 1.05rem; }

@media (max-width: 768px) {
    .nav-main { display: none; }
    .mobile-menu-btn { display: flex !important; }
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; max-width: 600px; }

@media (max-width: 768px) {
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 2rem; }
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,0.3); }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-light); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f8fafc; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ CARDS ============ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.card-body { padding: 20px; }

/* ============ PRODUCT CARD ============ */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.product-card-image {
    aspect-ratio: 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}
.badge-new { background: var(--accent); color: #fff; }
.badge-sale { background: var(--danger); color: #fff; }
.badge-featured { background: var(--info); color: #fff; }

.product-card-info { padding: 16px 20px 20px; }
.product-card-category { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.product-card-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; max-height: 2.6em; }
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--accent); }
.product-card-price { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.product-card-price .old-price { text-decoration: line-through; color: var(--text-muted); font-size: 0.9rem; font-weight: 400; margin-left: 8px; }
.product-card-actions { display: flex; gap: 8px; margin-top: 12px; }

.product-card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
    backdrop-filter: blur(4px);
}
.product-card-wishlist:hover { background: var(--accent); color: #fff; }

/* ============ SECTIONS ============ */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

.section-alt { background: var(--bg-white); }

/* ============ FEATURES ============ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.feature-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
}
.feature-item h4 { margin-bottom: 6px; }
.feature-item p { font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* ============ CATEGORY CARDS ============ */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.category-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); transform: translateY(-2px); }
.category-card-icon { font-size: 2rem; margin-bottom: 12px; }
.category-card h4 { color: var(--text); font-size: 0.95rem; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group label .required { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.form-control::placeholder { color: var(--text-light); }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

textarea.form-control { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 576px) { .form-row { grid-template-columns: 1fr; } }

.form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.form-check input[type="checkbox"], .form-check input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); }

.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 4px; }
.form-help { color: var(--text-muted); font-size: 0.8rem; margin-top: 4px; }

/* ============ ALERTS ============ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ============ TABLE ============ */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
table.table th, table.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
table.table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
table.table tr:hover td { background: #fafbfc; }

/* ============ BADGES ============ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.badge-success { background: #f0fdf4; color: #166534; }
.badge-danger { background: #fef2f2; color: #991b1b; }
.badge-warning { background: #fffbeb; color: #92400e; }
.badge-info { background: #eff6ff; color: #1e40af; }
.badge-neutral { background: #f1f5f9; color: #475569; }

/* ============ PAGINATION ============ */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ============ CART ============ */
.cart-table img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.cart-qty button { width: 36px; height: 36px; border: none; background: #f8fafc; cursor: pointer; font-size: 1rem; transition: background var(--transition); }
.cart-qty button:hover { background: var(--border); }
.cart-qty input { width: 48px; height: 36px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 0.9rem; outline: none; }

.cart-summary {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.cart-summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.cart-summary-row.total { font-size: 1.15rem; font-weight: 700; border-bottom: none; color: var(--primary); }

/* ============ CHECKOUT ============ */
.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; }
@media (max-width: 768px) { .checkout-layout { grid-template-columns: 1fr; } }

.checkout-section { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.checkout-section h3 { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }

.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}
.payment-method:hover, .payment-method.active { border-color: var(--accent); background: var(--accent-light); }
.payment-method img { height: 28px; }

/* ============ ACCOUNT ============ */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
@media (max-width: 768px) { .account-layout { grid-template-columns: 1fr; } }

.account-sidebar { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; height: fit-content; }
.account-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.account-sidebar a:hover { background: var(--border-light); color: var(--accent); }
.account-sidebar a.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }

.account-content { min-height: 400px; }
.account-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.account-card h2 { margin-bottom: 24px; }

/* ============ AUTH PAGES ============ */
.auth-container {
    max-width: 440px;
    margin: 60px auto;
    padding: 0 20px;
}
.auth-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.auth-card h1 { text-align: center; margin-bottom: 8px; font-size: 1.5rem; }
.auth-card .auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 28px; }

/* ============ SEARCH ============ */
.search-bar {
    position: relative;
    max-width: 500px;
}
.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 44px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    background: #f8fafc;
    outline: none;
    transition: all var(--transition);
}
.search-bar input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.search-bar svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* ============ FILTERS ============ */
.filter-sidebar { }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 0.9rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light); }

/* ============ PRODUCT PAGE ============ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }

.product-gallery { }
.product-gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 8px; }
.product-gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition);
}
.product-gallery-thumb:hover, .product-gallery-thumb.active { border-color: var(--accent); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: 1.75rem; margin-bottom: 12px; }
.product-price-display { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.product-price-display .compare-price { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; font-weight: 400; margin-left: 10px; }
.product-price-display .save-badge { background: var(--danger); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; margin-left: 10px; vertical-align: middle; }

.product-stock { font-size: 0.875rem; margin-bottom: 20px; }
.in-stock { color: var(--success); }
.out-of-stock { color: var(--danger); }

.product-tabs { margin-top: 40px; }
.tabs-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tabs-nav button {
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all var(--transition);
}
.tabs-nav button:hover { color: var(--text); }
.tabs-nav button.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============ REVIEWS ============ */
.review-stars { display: flex; gap: 2px; color: #f59e0b; }
.review-card { padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.review-card:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.review-author { font-weight: 600; }
.review-date { font-size: 0.8rem; color: var(--text-muted); }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--primary);
    color: #cbd5e1;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 40px;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo { color: #fff; font-size: 1.4rem; }
.footer-brand p { margin-top: 12px; font-size: 0.85rem; opacity: 0.8; line-height: 1.7; }

.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; color: #94a3b8; font-size: 0.85rem; padding: 5px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-payments { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.footer-payments img { height: 24px; opacity: 0.7; }

/* ============ NEWSLETTER ============ */
.newsletter {
    background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
    padding: 50px 0;
    color: #fff;
}
.newsletter h3 { color: #fff; text-align: center; margin-bottom: 6px; }
.newsletter p { text-align: center; opacity: 0.9; margin-bottom: 20px; }
.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
}
.newsletter-form button { white-space: nowrap; }

@media (max-width: 480px) {
    .newsletter-form { flex-direction: column; }
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .separator { opacity: 0.5; }

/* ============ LOADING ============ */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ============ TOAST ============ */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 8px; }
.toast {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } }
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    display: none;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }

/* ============ EMPTY STATE ============ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state svg { margin: 0 auto 20px; opacity: 0.3; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ============ STAR RATING INPUT ============ */
.star-rating-input { display: flex; gap: 4px; }
.star-rating-input label { cursor: pointer; font-size: 1.5rem; color: #d1d5db; transition: color var(--transition); }
.star-rating-input label:hover, .star-rating-input label.active { color: #f59e0b; }
.star-rating-input input { display: none; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;
    font-size: 0.85rem;
}
.cookie-banner a { color: var(--accent); }

/* ============ STATUS DOTS ============ */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}
.status-online { background: var(--success); }
.status-offline { background: #d1d5db; }
.status-away { background: var(--warning); }

/* ============ ANIMATIONS ============ */
.fade-in { animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.slide-up { animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }