/* ============================================
   ابزار براق کویر - Kavir Shiny Tools
   Professional Glassmorphism E-commerce Theme
   RTL Persian Layout
   ============================================ */

/* ============ Fonts ============ */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ============ CSS Variables ============ */
:root {
    /* Colors */
    --bg-page: #F1EFEC;
    --text-primary: #030303;
    --text-secondary: #6B6762;
    --brand-primary: #123458;
    --brand-hover: #1A437A;
    --surface-subtle: #E6DFD9;
    --border-default: #D4C9BE;
    --semantic-success: #28A745;
    --semantic-error: #DC3545;
    --semantic-warning: #FFC107;
    --white: #FFFFFF;
    
    /* Glassmorphism */
    --glass-bg: rgba(241, 239, 236, 0.65);
    --glass-border: rgba(212, 201, 190, 0.5);
    --glass-blur: 20px;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-xxxl: 96px;
    
    /* Shadows */
    --shadow-default: 0 8px 32px rgba(18, 52, 88, 0.1);
    --shadow-hover: 0 12px 40px rgba(18, 52, 88, 0.15);
    --shadow-button: 0 4px 12px rgba(18, 52, 88, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 200ms ease-out;
    --transition-normal: 300ms ease-out;
    --transition-slow: 400ms ease-out;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-page: #1a1a1a;
    --text-primary: #F1EFEC;
    --text-secondary: #a0a0a0;
    --surface-subtle: #2a2a2a;
    --border-default: #3a3a3a;
    --glass-bg: rgba(30, 30, 30, 0.75);
    --glass-border: rgba(60, 60, 60, 0.5);
    --white: #2a2a2a;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--brand-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* ============ Container ============ */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 58px; line-height: 1.2; }
h2 { font-size: 46px; }
h3 { font-size: 37px; font-weight: 600; }
h4 { font-size: 29px; font-weight: 600; }
h5 { font-size: 22px; font-weight: 600; }
h6 { font-size: 18px; font-weight: 600; }

.text-lg { font-size: 18px; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }

.text-secondary { color: var(--text-secondary); }
.text-brand { color: var(--brand-primary); }
.text-center { text-align: center; }

/* ============ Glassmorphism ============ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    height: 48px;
    padding: 0 var(--space-lg);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
    color: var(--white);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-secondary:hover {
    background: var(--brand-primary);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--surface-subtle);
}

.btn-sm {
    height: 40px;
    padding: 0 var(--space-sm);
    font-size: 14px;
}

.btn-lg {
    height: 56px;
    padding: 0 var(--space-xl);
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/* ============ Forms ============ */
.form-group {
    margin-bottom: var(--space-sm);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    height: 52px;
    padding: 0 var(--space-sm);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(18, 52, 88, 0.15);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

textarea.form-control {
    height: auto;
    min-height: 120px;
    padding: var(--space-sm);
    resize: vertical;
}

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='%23030303' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

/* ============ Header ============ */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 80px;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-default);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    position: relative;
    padding: var(--space-sm) 0;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--brand-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mega Menu */
.mega-menu-trigger {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 800px;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.mega-menu-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.mega-menu-column h5 {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--brand-primary);
}

.mega-menu-column ul li {
    margin-bottom: var(--space-xs);
}

.mega-menu-column ul li a {
    color: var(--text-secondary);
    font-size: 14px;
}

.mega-menu-column ul li a:hover {
    color: var(--brand-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-action {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.header-action:hover {
    background: var(--surface-subtle);
    color: var(--brand-primary);
}

.header-action svg {
    width: 24px;
    height: 24px;
}

.header-action .badge {
    position: absolute;
    top: 2px;
    left: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--brand-primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px auto;
    transition: all var(--transition-fast);
}

/* ============ Announcement Bar ============ */
.announcement-bar {
    background: var(--brand-primary);
    color: var(--white);
    padding: var(--space-xs) 0;
    text-align: center;
    font-size: 14px;
}

.announcement-bar a {
    color: var(--white);
    text-decoration: underline;
}

/* ============ Hero Section ============ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: var(--space-xxxl) 0;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(241, 239, 236, 0.9), rgba(241, 239, 236, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: var(--space-md);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
}

.hero-dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-xs);
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-default);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot.active {
    background: var(--brand-primary);
    transform: scale(1.2);
}

/* ============ Section Styles ============ */
.section {
    padding: var(--space-xxxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ Categories ============ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.category-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-subtle);
    border-radius: var(--radius-md);
}

.category-icon svg {
    width: 32px;
    height: 32px;
    color: var(--brand-primary);
}

.category-card h5 {
    font-size: 16px;
    margin-bottom: var(--space-xs);
}

.category-card span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============ Product Card ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-default);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-badges {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.product-badge {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.product-badge.sale {
    background: var(--semantic-error);
    color: var(--white);
}

.product-badge.new {
    background: var(--semantic-success);
    color: var(--white);
}

.product-actions {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-normal);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-default);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.product-action-btn:hover {
    background: var(--brand-primary);
    color: var(--white);
}

.product-action-btn svg {
    width: 18px;
    height: 18px;
}

.product-image {
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-sm);
    background: var(--surface-subtle);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-category {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: var(--text-primary);
}

.product-title a:hover {
    color: var(--brand-primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.stars {
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 14px;
    height: 14px;
    fill: var(--semantic-warning);
}

.stars svg.empty {
    fill: var(--border-default);
}

.rating-count {
    font-size: 12px;
    color: var(--text-secondary);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-primary);
}

.price-old {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-add-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.product-add-btn:hover {
    background: var(--brand-hover);
    transform: scale(1.1);
}

.product-add-btn svg {
    width: 20px;
    height: 20px;
}

/* ============ Benefits Section ============ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.benefit-card {
    text-align: center;
    padding: var(--space-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-subtle);
    border-radius: 50%;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    color: var(--brand-primary);
}

.benefit-card h5 {
    margin-bottom: var(--space-xs);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============ Banner Section ============ */
.banners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.banner-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 300px;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg);
    background: linear-gradient(to left, rgba(0, 0, 0, 0.6), transparent);
}

.banner-content h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.banner-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
}

/* ============ Brand Logos ============ */
.brands-slider {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    overflow: hidden;
}

.brand-logo {
    flex-shrink: 0;
    height: 60px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============ Testimonials ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
}

.testimonial-stars {
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-info h6 {
    font-size: 16px;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============ Blog Cards ============ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-default);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--space-md);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.blog-content h4 {
    font-size: 18px;
    margin-bottom: var(--space-sm);
}

.blog-content h4 a {
    color: var(--text-primary);
}

.blog-content h4 a:hover {
    color: var(--brand-primary);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ Footer ============ */
.footer {
    background: var(--text-primary);
    color: var(--bg-page);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    margin: var(--space-md) 0;
    color: rgba(241, 239, 236, 0.7);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(241, 239, 236, 0.1);
    border-radius: 50%;
    color: var(--bg-page);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--brand-primary);
}

.footer-column h5 {
    color: var(--bg-page);
    margin-bottom: var(--space-md);
}

.footer-column ul li {
    margin-bottom: var(--space-xs);
}

.footer-column ul li a {
    color: rgba(241, 239, 236, 0.7);
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--bg-page);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: rgba(241, 239, 236, 0.7);
    font-size: 14px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.footer-trust {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-trust img {
    height: 80px;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(241, 239, 236, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(241, 239, 236, 0.7);
}

/* ============ Shop Page ============ */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-lg);
    padding: var(--space-xxl) 0;
    margin-top: 80px;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
}

.filter-section h5 {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--border-default);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-primary);
}

.price-range {
    padding: var(--space-sm) 0;
}

.price-inputs {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.price-inputs input {
    width: 100%;
    height: 40px;
    padding: 0 var(--space-xs);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.shop-header p {
    color: var(--text-secondary);
}

.shop-sort select {
    height: 44px;
    padding: 0 var(--space-lg) 0 var(--space-sm);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 14px;
}

/* ============ Single Product ============ */
.product-page {
    padding: var(--space-xxl) 0;
    margin-top: 80px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    aspect-ratio: 1/1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-sm);
    background: var(--white);
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xs);
}

.gallery-thumb {
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--brand-primary);
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.product-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-default);
}

.product-meta span {
    font-size: 14px;
    color: var(--text-secondary);
}

.product-price-box {
    margin-bottom: var(--space-md);
}

.product-price-box .price-current {
    font-size: 32px;
}

.product-price-box .price-old {
    font-size: 18px;
}

.product-price-box .discount-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--semantic-error);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    margin-right: var(--space-sm);
}

.product-short-desc {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
}

.quantity-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-size: 20px;
    color: var(--text-primary);
}

.quantity-btn:hover {
    background: var(--surface-subtle);
}

.quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.product-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.product-buttons .btn {
    flex: 1;
}

.product-extra-actions {
    display: flex;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-default);
}

.extra-action {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.extra-action:hover {
    color: var(--brand-primary);
}

.extra-action svg {
    width: 18px;
    height: 18px;
}

/* Product Tabs */
.product-tabs {
    margin-top: var(--space-xxl);
}

.tabs-nav {
    display: flex;
    gap: var(--space-md);
    border-bottom: 2px solid var(--border-default);
    margin-bottom: var(--space-lg);
}

.tab-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(odd) {
    background: var(--surface-subtle);
}

.specs-table td {
    padding: var(--space-sm);
    border: 1px solid var(--border-default);
}

.specs-table td:first-child {
    font-weight: 600;
    width: 200px;
}

/* Reviews */
.reviews-summary {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: var(--surface-subtle);
    border-radius: var(--radius-lg);
}

.reviews-average {
    text-align: center;
    padding-left: var(--space-xl);
    border-left: 1px solid var(--border-default);
}

.reviews-average .score {
    font-size: 48px;
    font-weight: 700;
    color: var(--brand-primary);
}

.reviews-bars {
    flex: 1;
}

.review-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.review-bar span {
    width: 60px;
    font-size: 14px;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: var(--border-default);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--semantic-warning);
    border-radius: 4px;
}

.review-item {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-default);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-subtle);
}

.review-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============ Cart Page ============ */
.cart-page {
    padding: var(--space-xxl) 0;
    margin-top: 80px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-lg);
}

.cart-items {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-default);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-default);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface-subtle);
}

.cart-item-info h4 {
    font-size: 16px;
    margin-bottom: var(--space-xs);
}

.cart-item-meta {
    font-size: 14px;
    color: var(--text-secondary);
}

.cart-item-price {
    font-weight: 600;
    color: var(--brand-primary);
}

.cart-item-remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.cart-item-remove:hover {
    background: var(--semantic-error);
    color: var(--white);
}

.cart-summary {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-default);
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-default);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-default);
    margin-top: var(--space-sm);
}

.summary-row.total span:last-child {
    color: var(--brand-primary);
}

.cart-summary .btn {
    margin-top: var(--space-md);
}

.coupon-form {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-default);
}

.coupon-form input {
    flex: 1;
    height: 44px;
}

/* ============ Checkout Page ============ */
.checkout-page {
    padding: var(--space-xxl) 0;
    margin-top: 80px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--space-lg);
}

.checkout-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-default);
}

.checkout-section h3 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-default);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.address-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.address-card {
    padding: var(--space-sm);
    border: 2px solid var(--border-default);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.address-card.selected {
    border-color: var(--brand-primary);
}

.address-card h5 {
    font-size: 14px;
    margin-bottom: var(--space-xs);
}

.address-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border: 2px solid var(--border-default);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.payment-method.selected {
    border-color: var(--brand-primary);
}

.payment-method input {
    accent-color: var(--brand-primary);
}

.payment-method img {
    height: 30px;
}

.order-summary {
    position: sticky;
    top: 100px;
}

.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: var(--space-md);
}

.order-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-default);
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--surface-subtle);
}

.order-item-info {
    flex: 1;
}

.order-item-info h5 {
    font-size: 14px;
    margin-bottom: 2px;
}

.order-item-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

.order-item-price {
    font-size: 14px;
    font-weight: 600;
}

/* ============ User Account ============ */
.account-page {
    padding: var(--space-xxl) 0;
    margin-top: 80px;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-lg);
}

.account-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-default);
    height: fit-content;
}

.account-user {
    text-align: center;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-default);
}

.account-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    background: var(--surface-subtle);
    overflow: hidden;
}

.account-user h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.account-user span {
    font-size: 14px;
    color: var(--text-secondary);
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.account-menu-item:hover,
.account-menu-item.active {
    background: var(--surface-subtle);
    color: var(--brand-primary);
}

.account-menu-item svg {
    width: 20px;
    height: 20px;
}

.account-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-default);
}

.account-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-default);
}

.account-header h2 {
    font-size: 24px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: var(--space-sm);
    text-align: right;
    border-bottom: 1px solid var(--border-default);
}

.orders-table th {
    font-weight: 600;
    background: var(--surface-subtle);
}

.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
}

.order-status.completed {
    background: rgba(40, 167, 69, 0.2);
    color: #155724;
}

.order-status.cancelled {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
}

/* ============ Login/Register ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--bg-page);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: var(--space-md);
}

.auth-header h2 {
    font-size: 24px;
    margin-bottom: var(--space-xs);
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-tabs {
    display: flex;
    margin-bottom: var(--space-lg);
    background: var(--surface-subtle);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: var(--space-sm);
    text-align: center;
    font-weight: 500;
    background: transparent;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.auth-tab.active {
    background: var(--white);
    box-shadow: var(--shadow-default);
}

.otp-inputs {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin: var(--space-md) 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid var(--border-default);
    border-radius: var(--radius-sm);
}

.otp-input:focus {
    border-color: var(--brand-primary);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-default);
}

.social-login {
    display: flex;
    gap: var(--space-sm);
}

.social-btn {
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    background: var(--white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background: var(--surface-subtle);
}

/* ============ About Page ============ */
.about-hero {
    padding: var(--space-xxxl) 0;
    margin-top: 80px;
    text-align: center;
    background: var(--surface-subtle);
}

.about-hero h1 {
    margin-bottom: var(--space-md);
}

.about-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--text-secondary);
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.value-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-subtle);
    border-radius: 50%;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--brand-primary);
}

.timeline {
    position: relative;
    padding-right: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: var(--border-default);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
    padding-right: var(--space-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 8px;
    right: -7px;
    width: 16px;
    height: 16px;
    background: var(--brand-primary);
    border-radius: 50%;
}

.timeline-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--space-xs);
}

.timeline-item h4 {
    margin-bottom: var(--space-xs);
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.team-card {
    text-align: center;
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-subtle);
}

.team-card h5 {
    margin-bottom: 2px;
}

.team-card span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============ Contact Page ============ */
.contact-hero {
    padding: var(--space-xxxl) 0;
    margin-top: 80px;
    text-align: center;
    background: var(--surface-subtle);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-subtle);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--brand-primary);
}

.contact-card h5 {
    margin-bottom: var(--space-xs);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-form {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
}

.contact-form h3 {
    margin-bottom: var(--space-md);
}

.contact-map {
    margin-top: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============ Blog Archive ============ */
.blog-page {
    padding: var(--space-xxl) 0;
    margin-top: 80px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-lg);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sidebar-widget {
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
}

.sidebar-widget h5 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--brand-primary);
}

.widget-categories li {
    margin-bottom: var(--space-xs);
}

.widget-categories li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 14px;
}

.widget-categories li a:hover {
    color: var(--brand-primary);
}

.widget-posts {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.widget-post {
    display: flex;
    gap: var(--space-sm);
}

.widget-post-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.widget-post-info h6 {
    font-size: 14px;
    margin-bottom: 2px;
}

.widget-post-info h6 a {
    color: var(--text-primary);
}

.widget-post-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.widget-tag {
    padding: 4px 12px;
    background: var(--surface-subtle);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.widget-tag:hover {
    background: var(--brand-primary);
    color: var(--white);
}

/* ============ Blog Single ============ */
.blog-single {
    padding: var(--space-xxl) 0;
    margin-top: 80px;
}

.blog-single-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.blog-single-header h1 {
    font-size: 40px;
    margin-bottom: var(--space-md);
}

.blog-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    color: var(--text-secondary);
    font-size: 14px;
}

.blog-single-image {
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.blog-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-single-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-single-content p {
    margin-bottom: var(--space-md);
    line-height: 1.9;
}

.blog-single-content h2 {
    font-size: 28px;
    margin: var(--space-lg) 0 var(--space-md);
}

.blog-single-content h3 {
    font-size: 22px;
    margin: var(--space-md) 0 var(--space-sm);
}

.blog-single-content ul,
.blog-single-content ol {
    margin-bottom: var(--space-md);
    padding-right: var(--space-lg);
}

.blog-single-content ul {
    list-style: disc;
}

.blog-single-content ol {
    list-style: decimal;
}

.blog-single-content li {
    margin-bottom: var(--space-xs);
}

.blog-single-content blockquote {
    margin: var(--space-md) 0;
    padding: var(--space-md);
    padding-right: var(--space-lg);
    background: var(--surface-subtle);
    border-right: 4px solid var(--brand-primary);
    border-radius: var(--radius-sm);
    font-style: italic;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-default);
}

.blog-share span {
    font-weight: 600;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-subtle);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.share-btn:hover {
    background: var(--brand-primary);
    color: var(--white);
}

/* ============ 404 Page ============ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
}

.error-content h1 {
    font-size: 150px;
    line-height: 1;
    color: var(--brand-primary);
    margin-bottom: var(--space-md);
}

.error-content h2 {
    font-size: 32px;
    margin-bottom: var(--space-md);
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ Back to Top ============ */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-default);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--brand-hover);
    transform: translateY(-4px);
}

/* ============ Newsletter ============ */
.newsletter {
    padding: var(--space-xl);
    background: var(--brand-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
}

.newsletter h3 {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.newsletter p {
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: var(--space-xs);
}

.newsletter-form input {
    flex: 1;
    height: 48px;
    padding: 0 var(--space-sm);
    border: none;
    border-radius: var(--radius-sm);
}

.newsletter-form button {
    background: var(--text-primary);
    color: var(--white);
}

/* ============ Pagination ============ */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-xl);
}

.pagination a,
.pagination span {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination span.current {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--white);
}

/* ============ Breadcrumb ============ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--brand-primary);
}

.breadcrumb span {
    color: var(--text-primary);
}

.breadcrumb svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

/* ============ Lightbox ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
}

/* ============ Dark Mode Toggle ============ */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
}

.theme-toggle input {
    display: none;
}

.theme-toggle label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 26px; }
    h4 { font-size: 22px; }
    
    .shop-layout,
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .product-layout,
    .cart-layout,
    .checkout-layout,
    .account-layout,
    .contact-grid,
    .about-story {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mega-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 72px;
    }
    
    .hero {
        margin-top: 72px;
        min-height: 500px;
    }
    
    .nav-main {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .categories-grid,
    .benefits-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banners-grid,
    .address-cards {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: var(--space-sm);
    }
    
    .cart-item-quantity,
    .cart-item-price {
        grid-column: 2;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--space-xxl) 0;
    }
    
    .error-content h1 {
        font-size: 100px;
    }
}

@media (max-width: 480px) {
    .categories-grid,
    .benefits-grid,
    .products-grid,
    .testimonials-grid,
    .blog-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .shop-sidebar {
        grid-template-columns: 1fr;
    }
    
    .otp-inputs {
        gap: var(--space-xs);
    }
    
    .otp-input {
        width: 40px;
        height: 40px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============ Print Styles ============ */
@media print {
    .header,
    .footer,
    .back-to-top,
    .newsletter {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ============ Animations ============ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fadeIn var(--transition-normal) forwards;
}

.animate-slide-in {
    animation: slideIn var(--transition-normal) forwards;
}

/* ============ Utility Classes ============ */
.hidden { display: none !important; }
.visible { display: block !important; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.rounded { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-default); }
.bg-white { background: var(--white); }
.bg-subtle { background: var(--surface-subtle); }
