@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #E53935;
    --primary-dark: #C62828;
    --primary-light: #FFEBEE;
    --secondary: #1a1a2e;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.animate-fadeIn { animation: fadeIn 0.6s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease forwards; }

[data-animate] { opacity: 0; }
[data-animate].animated { animation-fill-mode: forwards; }
[data-animate="fadeInUp"].animated { animation: fadeInUp 0.6s ease forwards; }
[data-animate="fadeInLeft"].animated { animation: fadeInLeft 0.6s ease forwards; }
[data-animate="fadeInRight"].animated { animation: fadeInRight 0.6s ease forwards; }
[data-animate="scaleIn"].animated { animation: scaleIn 0.5s ease forwards; }

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--border) 50%, var(--bg-tertiary) 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
.skeleton-text { height: 14px; margin-bottom: 8px; border-radius: 4px; }
.skeleton-text.short { width: 60%; }
.skeleton-title { height: 20px; width: 80%; margin-bottom: 12px; border-radius: 4px; }
.skeleton-image { aspect-ratio: 1; width: 100%; border-radius: var(--radius); }
.skeleton-btn { height: 44px; width: 120px; border-radius: var(--radius-full); }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }

.skeleton-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.skeleton-card .skeleton-image { border-radius: 0; }
.skeleton-card-body { padding: 20px; }


/* Header */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInDown 0.5s ease;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    transition: var(--transition);
}
.logo:hover { transform: scale(1.02); }
.logo span { color: var(--primary); }

.search-box {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-secondary);
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
    background: var(--bg);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 20px;
    transition: var(--transition);
}

.search-box input:focus + i,
.search-box:focus-within i { color: var(--primary); }

.search-box button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}
.search-box button:hover { background: var(--primary-dark); transform: translateY(-50%) scale(1.02); }

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: none;
    max-height: 420px;
    overflow-y: auto;
    z-index: 100;
    border: 1px solid var(--border);
    animation: fadeInDown 0.3s ease;
}
.search-results.active { display: block; }

.search-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 14px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg-secondary); padding-left: 20px; }

.search-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    transition: var(--transition);
}
.search-item:hover img { transform: scale(1.05); }

.search-item-info { flex: 1; }
.search-item-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.search-item-info .category { font-size: 12px; color: var(--text-muted); }
.search-item-info .price { font-size: 15px; font-weight: 700; color: var(--primary); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
    background: transparent;
    border: none;
}
.header-btn:hover { background: var(--bg-secondary); color: var(--primary); transform: translateY(-2px); }
.header-btn i { font-size: 22px; }
.header-btn span { display: none; }

.header-btn .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    animation: scaleIn 0.3s ease;
}

.header-btn-text {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
}
.header-btn-text:hover { background: var(--primary-dark); color: white; }
.header-btn-text span { display: inline; }

/* Navigation */
.nav-wrapper { border-top: 1px solid var(--border-light); }

.nav {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}
.nav a i { font-size: 18px; }
.nav a:hover { background: var(--bg-secondary); color: var(--primary); transform: translateY(-2px); }
.nav a.active { background: var(--primary-light); color: var(--primary); }


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn i { font-size: 18px; }

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn:active::before { width: 300px; height: 300px; }

.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(229, 57, 53, 0.3); }

.btn-secondary { background: var(--bg); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--text); border-color: transparent; padding: 10px 16px; }
.btn-ghost:hover { background: var(--bg-secondary); }

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-icon { padding: 12px; }
.btn-block { width: 100%; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.btn .bx-loader-alt { animation: spin 1s linear infinite; }

/* Custom Select */
.custom-select {
    position: relative;
    display: inline-block;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 14px 44px 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: var(--bg);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.custom-select select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.custom-select::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-light);
    pointer-events: none;
    transition: var(--transition);
}

.custom-select:focus-within::after { border-top-color: var(--primary); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.form-label .required { color: var(--error); }

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-input.error { border-color: var(--error); }
.form-input.valid { border-color: var(--success); }
.form-input:disabled { background: var(--bg-secondary); cursor: not-allowed; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

textarea.form-input { min-height: 120px; resize: vertical; }

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-mark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    background: var(--bg);
}

.checkbox-mark i {
    font-size: 14px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.custom-checkbox input:checked + .checkbox-mark {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox input:checked + .checkbox-mark i {
    opacity: 1;
    transform: scale(1);
}

.custom-checkbox:hover .checkbox-mark {
    border-color: var(--primary);
}

.custom-checkbox input:focus + .checkbox-mark {
    box-shadow: 0 0 0 4px var(--primary-light);
}

.checkbox-label {
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 500;
}

/* Custom Radio */
.custom-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-mark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    background: var(--bg);
}

.radio-mark::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.custom-radio input:checked + .radio-mark {
    border-color: var(--primary);
}

.custom-radio input:checked + .radio-mark::after {
    opacity: 1;
    transform: scale(1);
}

.custom-radio:hover .radio-mark {
    border-color: var(--primary);
}

/* Custom Select Dropdown */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: var(--bg);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    color: var(--text);
}

.select-wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.select-wrapper::after {
    content: '\ea4a';
    font-family: 'boxicons';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
}

.select-wrapper:focus-within::after {
    color: var(--primary);
    transform: translateY(-50%) rotate(180deg);
}

.select-wrapper select option {
    padding: 12px;
    background: var(--bg);
}

/* Form Checkbox Legacy */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}
.form-checkbox label { font-size: 14px; cursor: pointer; }

.form-hint { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 13px; color: var(--error); margin-top: 6px; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--secondary);
    animation: fadeInUp 0.8s ease;
}
.hero-content h1 span { color: var(--primary); }

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.2s backwards; }

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-stat h3 { font-size: 36px; font-weight: 800; color: var(--primary); }
.hero-stat p { font-size: 14px; color: var(--text-light); margin-top: 4px; }

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease 0.2s backwards;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    animation: float 4s ease-in-out infinite;
}

/* Section Styles */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-secondary); }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.section-link:hover { gap: 10px; }
.section-link i { font-size: 18px; transition: var(--transition); }

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-card:hover::before { transform: scaleX(1); }

.category-card h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.category-card span { font-size: 13px; color: var(--text-muted); }

.category-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}


/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-image img { transform: scale(1.1); }

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-badge {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: scaleIn 0.3s ease;
}
.product-badge.sale { background: var(--primary); color: white; }
.product-badge.new { background: var(--success); color: white; }

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 2;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }

.product-action-btn {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    color: var(--text);
}
.product-action-btn:hover { background: var(--primary); color: white; transform: scale(1.1); }
.product-action-btn.active { background: var(--primary); color: white; }
.product-action-btn i { font-size: 18px; }

.product-info { padding: 20px; }

.product-category {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 42px;
    transition: var(--transition);
}
.product-name:hover { color: var(--primary); }

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.product-rating i { color: #fbbf24; font-size: 14px; }
.product-rating span { font-size: 13px; color: var(--text-muted); }

.product-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-current { font-size: 20px; font-weight: 700; color: var(--primary); }
.price-old { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }

.product-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 8px;
}
.product-footer .btn { flex: 1; padding: 12px; font-size: 13px; }
.product-footer form { flex: 1; display: flex; }
.product-footer form .btn { width: 100%; }

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.quantity-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}
.quantity-btn:hover { background: var(--primary); color: white; }
.quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: var(--bg);
    outline: none;
}

/* Shop Page */
.shop-page { padding: 40px 0 80px; }

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInDown 0.5s ease;
}
.shop-header h1 { font-size: 28px; font-weight: 700; }
.shop-count { font-size: 14px; color: var(--text-muted); }

.shop-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-sort .select-wrapper select {
    padding: 12px 44px 12px 16px;
    font-size: 14px;
    min-width: 180px;
}

.shop-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Filters Sidebar */
.filters-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    animation: fadeInLeft 0.5s ease;
}

.filter-section {
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 20px;
    transition: var(--transition);
}
.filter-section:hover { box-shadow: var(--shadow-md); }

.filter-section h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-list { max-height: 200px; overflow-y: auto; }
.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    transition: var(--transition);
}
.filter-item:hover { padding-left: 4px; }
.filter-item input[type="checkbox"],
.filter-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}
.filter-item label, .filter-item span { font-size: 14px; cursor: pointer; }
.filter-item .count { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }

/* Custom checkbox in filters */
.filter-item.custom-checkbox,
.filter-item.custom-radio {
    padding: 10px 0;
}

.filter-item.custom-checkbox .checkbox-mark,
.filter-item.custom-radio .radio-mark {
    width: 20px;
    height: 20px;
}

.filter-item.custom-checkbox .checkbox-label {
    flex: 1;
}

.price-range {
    display: flex;
    gap: 12px;
    align-items: center;
}
.price-range input {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    min-width: 0;
}
.price-range input:focus { border-color: var(--primary); }
.price-range span { color: var(--text-muted); flex-shrink: 0; }

.filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}
.filter-actions .btn { flex: 1; padding: 10px; font-size: 13px; }

/* Cart Page */
.cart-page { padding: 40px 0 80px; }
.cart-page h1 { font-size: 28px; font-weight: 700; margin-bottom: 32px; animation: fadeInDown 0.5s ease; }

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.cart-items {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    animation: fadeInLeft 0.5s ease;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.cart-item:hover { background: var(--bg-secondary); }
.cart-item:last-child { border-bottom: none; }

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.cart-item-image img { max-height: 100%; object-fit: contain; transition: var(--transition); }
.cart-item:hover .cart-item-image img { transform: scale(1.05); }

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 16px; font-weight: 600; margin-bottom: 6px; transition: var(--transition); }
.cart-item-name:hover { color: var(--primary); }
.cart-item-sku { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.cart-item-price { font-size: 18px; font-weight: 700; color: var(--primary); }

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}
.cart-item-remove {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: var(--transition);
}
.cart-item-remove:hover { color: var(--error); }

.cart-item-total {
    text-align: right;
    min-width: 100px;
}
.cart-item-total .total { font-size: 18px; font-weight: 700; }

.cart-summary {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: sticky;
    top: 100px;
    animation: fadeInRight 0.5s ease;
}
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
}
.cart-summary-row.total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}
.cart-summary-row.total .value { color: var(--primary); }

.cart-summary .btn { width: 100%; margin-top: 20px; }
.cart-summary .btn + .btn { margin-top: 12px; }

.cart-empty {
    text-align: center;
    padding: 80px 20px;
    animation: fadeIn 0.5s ease;
}
.cart-empty i { font-size: 100px; color: var(--border); margin-bottom: 24px; display: block; animation: float 3s ease-in-out infinite; }
.cart-empty h2 { font-size: 24px; margin-bottom: 12px; color: var(--text); }
.cart-empty p { color: var(--text-light); margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }


/* Product Detail */
.product-detail { padding: 40px 0 80px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    font-size: 14px;
    flex-wrap: wrap;
    animation: fadeIn 0.5s ease;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 16px; color: var(--text-muted); }
.breadcrumb span { color: var(--text); }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery { position: sticky; top: 100px; animation: fadeInLeft 0.6s ease; }

.product-main-image {
    max-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-tertiary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-main-image img { max-width: 100%; max-height: 400px; object-fit: contain; transition: var(--transition); }
.product-main-image:hover img { transform: scale(1.05); }

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 10;
}
.gallery-nav:hover { background: var(--primary); color: white; }
.gallery-nav i { font-size: 24px; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    max-width: calc(5 * 70px + 4 * 10px); /* 5 thumbnails max visible */
}
.product-thumbnails::-webkit-scrollbar { height: 4px; }
.product-thumbnails::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.thumbnail {
    width: 70px;
    height: 70px;
    min-width: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
}
.thumbnail:hover { border-color: var(--primary); }
.thumbnail.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info { animation: fadeInRight 0.6s ease; }

.product-detail-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}
.product-meta-item i { font-size: 18px; }
.product-meta-item.rating i { color: #fbbf24; }

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.product-detail-price .current { font-size: 36px; font-weight: 800; color: var(--primary); }
.product-detail-price .old { font-size: 20px; color: var(--text-muted); text-decoration: line-through; }
.price-discount {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.product-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}
.product-stock.in-stock { color: var(--success); }
.product-stock.low-stock { color: var(--warning); }
.product-stock.out-of-stock { color: var(--error); }
.product-stock i { font-size: 18px; }

/* Product Options */
.product-options {
    margin-bottom: 24px;
}
.product-option {
    margin-bottom: 16px;
}
.option-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Color Options */
.option-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.color-option {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.color-option input {
    display: none;
}
.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    box-shadow: 0 0 0 1px var(--border);
    transition: all 0.2s;
}
.color-option:hover .color-swatch {
    transform: scale(1.1);
}
.color-option input:checked + .color-swatch {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}
.color-name {
    font-size: 11px;
    color: var(--text-muted);
}
.color-option input:checked ~ .color-name {
    color: var(--primary);
    font-weight: 600;
}

/* Button Options (Size, Memory, etc.) */
.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.button-option {
    cursor: pointer;
}
.button-option input {
    display: none;
}
.button-text {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    background: var(--bg-primary);
}
.button-option:hover .button-text {
    border-color: var(--primary-light);
}
.button-option input:checked + .button-text {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.product-quantity label { font-size: 14px; font-weight: 600; }

.product-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}
.product-buttons .btn { flex: 1; }

.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 32px;
}
.product-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
}
.product-feature i { font-size: 20px; color: var(--primary); }

/* Tabs */
.tabs { margin-top: 60px; animation: fadeInUp 0.6s ease 0.2s backwards; }
.tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
}
.tab-btn {
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); }
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}
.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }

/* Reviews */
.reviews-summary {
    display: flex;
    gap: 40px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 32px;
}
.reviews-average { text-align: center; }
.reviews-average .number { font-size: 56px; font-weight: 800; color: var(--secondary); line-height: 1; }
.reviews-average .stars { color: #fbbf24; font-size: 20px; margin: 12px 0; }
.reviews-average .count { font-size: 14px; color: var(--text-muted); }

.review-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.review-author { font-weight: 600; }
.review-verified {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--success);
}
.review-date { font-size: 13px; color: var(--text-muted); }
.review-rating { color: #fbbf24; margin-bottom: 12px; }
.review-title { font-weight: 600; margin-bottom: 8px; }
.review-text { color: var(--text-light); line-height: 1.7; }

.review-form {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-top: 32px;
}
.review-form h3 { margin-bottom: 24px; }

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 20px;
}
.rating-input input { display: none; }
.rating-input label {
    font-size: 28px;
    color: var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: #fbbf24; }

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg-secondary);
}

.auth-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.5s ease;
}
.auth-card .logo { justify-content: center; margin-bottom: 32px; }
.auth-card h1 { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-card > p { text-align: center; color: var(--text-light); margin-bottom: 32px; }
.auth-card .btn { width: 100%; margin-top: 8px; }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
}
.auth-footer a { color: var(--primary); font-weight: 600; }

/* Account Pages */
.account-page { padding: 40px 0 80px; }

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.account-sidebar {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    height: fit-content;
    position: sticky;
    top: 100px;
    animation: fadeInLeft 0.5s ease;
}

.account-user {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.account-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 16px;
}
.account-name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.account-email { font-size: 14px; color: var(--text-muted); }

.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 4px;
    transition: var(--transition);
}
.account-nav a i { font-size: 20px; }
.account-nav a:hover { background: var(--bg-secondary); color: var(--text); padding-left: 20px; }
.account-nav a.active { background: var(--primary-light); color: var(--primary); }
.account-nav a.logout { color: var(--error); }
.account-nav a.logout:hover { background: #fef2f2; }

.account-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    animation: fadeInRight 0.5s ease;
}
.account-content h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.dashboard-stat {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}
.dashboard-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dashboard-stat i { font-size: 32px; color: var(--primary); margin-bottom: 12px; }
.dashboard-stat h3 { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.dashboard-stat p { font-size: 14px; color: var(--text-muted); }

/* Orders */
.orders-list { display: flex; flex-direction: column; gap: 16px; }

.order-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-md); }

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-secondary);
}
.order-id { font-weight: 600; }
.order-date { font-size: 13px; color: var(--text-muted); }

.order-status {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}
.order-status.pending { background: #fef3c7; color: #d97706; }
.order-status.processing { background: #dbeafe; color: #2563eb; }
.order-status.shipped { background: #e0e7ff; color: #4f46e5; }
.order-status.delivered { background: #d1fae5; color: #059669; }
.order-status.cancelled { background: #fee2e2; color: #dc2626; }

.order-body { padding: 20px; }
.order-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.order-info-item label { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.order-info-item span { font-weight: 600; }


/* Checkout */
.checkout-page { padding: 40px 0 80px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; }
.checkout-section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease backwards;
}
.checkout-section:nth-child(1) { animation-delay: 0s; }
.checkout-section:nth-child(2) { animation-delay: 0.1s; }
.checkout-section:nth-child(3) { animation-delay: 0.2s; }
.checkout-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.checkout-section h3 i { color: var(--primary); }

/* Payment Card */
.card-input-wrapper {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    color: white;
}
.card-preview {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.card-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.card-preview .card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    border-radius: 6px;
}
.card-preview .card-number {
    font-size: 22px;
    letter-spacing: 4px;
    font-family: monospace;
    margin: 20px 0;
}
.card-preview .card-bottom {
    display: flex;
    justify-content: space-between;
}
.card-preview .card-name { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.card-preview .card-expiry { font-size: 14px; }

.card-form .form-row { margin-bottom: 16px; }
.card-form .form-input {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
}
.card-form .form-input::placeholder { color: rgba(255,255,255,0.5); }
.card-form .form-input:focus { border-color: var(--primary); background: rgba(255,255,255,0.15); }
.card-form .form-label { color: rgba(255,255,255,0.7); }

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.payment-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.payment-method:hover { border-color: var(--primary-light); }
.payment-method.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-method input { display: none; }
.payment-method-radio {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.payment-method.selected .payment-method-radio {
    border-color: var(--primary);
}
.payment-method.selected .payment-method-radio::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}
.payment-method-info { flex: 1; }
.payment-method-info strong { display: block; margin-bottom: 4px; }
.payment-method-info span { font-size: 13px; color: var(--text-muted); }
.payment-method-icons { display: flex; gap: 8px; }
.payment-method-icons i { font-size: 28px; color: var(--text-muted); }

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.footer-brand span { color: var(--primary); }
.footer-desc { color: #94a3b8; line-height: 1.8; margin-bottom: 24px; font-size: 14px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-4px); }
.footer-social i { font-size: 18px; }

.footer h4 { font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { color: #64748b; font-size: 14px; }
.footer-payments { display: flex; gap: 12px; }
.footer-payments i { font-size: 32px; color: #94a3b8; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInDown 0.3s ease;
}
.alert i { font-size: 20px; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2d2d44 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease;
}

.page-hero-content p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

/* Page Content */
.page-content { padding: 60px 0; }
.page-content .container { max-width: 1100px; }
.page-content h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; animation: fadeInUp 0.5s ease; }
.page-content .page-subtitle { font-size: 18px; color: var(--text-light); margin-bottom: 48px; animation: fadeInUp 0.5s ease 0.1s backwards; }
.page-content h2 { font-size: 24px; font-weight: 700; margin: 48px 0 20px; color: var(--secondary); }
.page-content h3 { font-size: 18px; font-weight: 600; margin: 32px 0 12px; }
.page-content p { color: var(--text-light); line-height: 1.9; margin-bottom: 20px; font-size: 16px; }
.page-content ul, .page-content ol { margin-left: 24px; margin-bottom: 20px; color: var(--text-light); }
.page-content li { margin-bottom: 12px; line-height: 1.7; }
.page-content a { color: var(--primary); }
.page-content a:hover { text-decoration: underline; }

.page-content .info-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.page-content .info-box i { font-size: 24px; color: var(--primary); flex-shrink: 0; }
.page-content .info-box p { margin: 0; }
.page-content .info-box.warning { border-color: var(--warning); }
.page-content .info-box.warning i { color: var(--warning); }

/* Legal Pages */
.legal-page .container { max-width: 1200px; }

.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
}

.legal-nav {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.legal-nav h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.legal-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-nav li { margin-bottom: 4px; }

.legal-nav a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.legal-nav a:hover {
    background: var(--bg-secondary);
    color: var(--text);
    text-decoration: none;
}

.legal-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

.legal-updated {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
}

.legal-updated i { font-size: 18px; }

.legal-content { min-width: 0; }

.legal-intro {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.legal-intro p {
    font-size: 17px;
    line-height: 1.8;
}

.legal-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px 0;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.legal-section h3 {
    margin: 28px 0 16px;
}

.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--primary-light);
    border-radius: var(--radius);
    margin: 24px 0;
}

.highlight-box i {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.highlight-box p { margin: 0; }

.legal-notice {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.legal-notice p {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.legal-notice ul {
    margin-bottom: 0;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.info-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.use-case {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.use-case:hover {
    border-color: var(--primary);
}

.use-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.use-icon i {
    font-size: 24px;
    color: var(--primary);
}

.use-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.use-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.security-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.security-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.security-icon i {
    font-size: 28px;
    color: white;
}

.security-feature h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.security-feature p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Rights List */
.rights-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.right-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.right-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.right-item i {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.right-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.right-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.contact-info-item i {
    font-size: 28px;
    color: var(--primary);
}

.contact-info-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Cookie Types */
.cookie-types {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.cookie-type {
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.cookie-type h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 8px;
}

.cookie-type h4 i {
    color: var(--primary);
}

.cookie-type p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.cookie-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.cookie-badge.required {
    background: var(--primary-light);
    color: var(--primary);
}

.cookie-badge.optional {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

/* Prohibited List */
.prohibited-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.prohibited-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fef2f2;
    border-radius: var(--radius-sm);
}

.prohibited-item i {
    font-size: 20px;
    color: var(--error);
    flex-shrink: 0;
}

.prohibited-item p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.right-card {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    text-align: center;
}

.right-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.right-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.right-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ Styles */
.faq-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.faq-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.faq-cat-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.faq-cat-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.faq-cat-btn i { font-size: 18px; }

.faq-search {
    position: relative;
    margin-bottom: 40px;
}

.faq-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--text-muted);
}

.faq-search input {
    width: 100%;
    padding: 18px 20px 18px 56px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.faq-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.faq-grid { margin-bottom: 60px; }

.faq-section {
    margin-bottom: 48px;
}

.faq-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.faq-section h2 i {
    font-size: 28px;
    color: var(--primary);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg);
    transition: var(--transition);
    gap: 16px;
}

.faq-question span { flex: 1; }

.faq-question:hover { background: var(--bg-secondary); }

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-icon i {
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background: var(--primary);
}

.faq-item.active .faq-icon i {
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 1000px;
}

.faq-answer p { margin-bottom: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Shipping Table */
.shipping-table {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 16px 0;
}

.shipping-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.shipping-row:last-child { border-bottom: none; }

.shipping-method { font-weight: 600; }
.shipping-time { color: var(--text-light); }
.shipping-price { color: var(--primary); font-weight: 600; text-align: right; }

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Payment Icons Grid */
.payment-icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.payment-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.payment-icon-item i {
    font-size: 32px;
    color: var(--text);
}

.payment-icon-item span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Security Features */
.security-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.security-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.security-item i {
    font-size: 28px;
    color: var(--success);
}

.security-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.security-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.contact-method {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.contact-method i {
    font-size: 28px;
    color: var(--primary);
}

.contact-method h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-method p {
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-method span {
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ Contact Box */
.faq-contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, var(--secondary) 0%, #2d2d44 100%);
    border-radius: var(--radius-lg);
    color: white;
}

.faq-contact-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.faq-contact-content i {
    font-size: 48px;
    opacity: 0.8;
}

.faq-contact-content h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.faq-contact-content p {
    opacity: 0.8;
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    animation: fadeIn 0.5s ease;
}
.empty-state i { font-size: 100px; color: var(--border); margin-bottom: 24px; display: block; animation: float 3s ease-in-out infinite; }
.empty-state h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.empty-state p { color: var(--text-light); margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination .disabled { color: var(--text-muted); pointer-events: none; }

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 32px; max-width: 500px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { display: none; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: 1fr; }
    .filters-sidebar { display: none; }
    .cart-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .legal-grid { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; display: none; }
    .info-cards { grid-template-columns: 1fr; }
    .use-cases { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-methods { grid-template-columns: 1fr; }
    .payment-icons-grid { grid-template-columns: repeat(3, 1fr); }
    .rights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-top { flex-wrap: wrap; }
    .search-box { order: 3; max-width: 100%; flex-basis: 100%; margin-top: 16px; }
    .search-box button { display: none; }
    .hero { padding: 40px 0; }
    .hero-content h1 { font-size: 32px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 22px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-features { grid-template-columns: 1fr; }
    .order-info { grid-template-columns: 1fr 1fr; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .page-hero { padding: 60px 0; }
    .page-hero-content h1 { font-size: 32px; }
    .faq-categories { justify-content: center; }
    .faq-contact-box { flex-direction: column; text-align: center; }
    .faq-contact-content { flex-direction: column; }
    .shipping-row { grid-template-columns: 1fr; gap: 8px; text-align: left; }
    .shipping-price { text-align: left; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header-btn span { display: none; }
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .auth-card { padding: 32px 24px; }
    .product-buttons { flex-direction: column; }
    .cart-item { flex-direction: column; }
    .cart-item-image { width: 100%; height: 180px; }
    .form-row { grid-template-columns: 1fr; }
}


/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 20px;
}

.contact-info-section h2,
.contact-form-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info-section > p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 24px;
    color: var(--primary);
}

.contact-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-social h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

.social-links i {
    font-size: 22px;
}

.contact-form-section {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        padding: 24px;
    }
}

/* About Page */
.about-intro {
    margin-bottom: 60px;
}

.about-intro h2 {
    margin-top: 0;
}

.about-values {
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.value-card {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 32px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 48px;
    background: linear-gradient(135deg, var(--secondary) 0%, #2d2d44 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 60px;
    text-align: center;
    color: white;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.about-team {
    margin-bottom: 60px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.feature-item i {
    font-size: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-cta {
    text-align: center;
    padding: 60px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.about-cta h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.about-cta p {
    margin-bottom: 24px;
}

/* Returns Page */
.return-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.highlight-card {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.highlight-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.highlight-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .return-highlights {
        grid-template-columns: 1fr;
    }
    
    .about-cta {
        padding: 40px 24px;
    }
}

/* Pay
ment Page */
.payment-page {
    padding: 40px 0 80px;
    background: var(--bg-secondary);
    min-height: calc(100vh - 200px);
}

.payment-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.payment-card-section {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.payment-header i {
    font-size: 40px;
    color: var(--success);
}

.payment-header h1 {
    font-size: 24px;
    margin-bottom: 4px;
}

.payment-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.card-preview-container {
    perspective: 1000px;
    margin-bottom: 32px;
}

.card-preview {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    padding: 28px;
    color: white;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.card-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.card-preview::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.card-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-chip {
    width: 50px;
    height: 38px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff8c00 100%);
    border-radius: 6px;
    position: relative;
}

.card-chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 24px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
}

.card-type i {
    font-size: 48px;
    opacity: 0.9;
}

.card-number-display {
    display: flex;
    gap: 20px;
    font-size: 24px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    margin: 24px 0;
}

.card-number-display span {
    min-width: 70px;
}

.card-preview-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder label,
.card-expiry-display label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.card-holder span,
.card-expiry-display span {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-form-fields {
    margin-top: 32px;
}

.card-input-field {
    position: relative;
}

.card-input-field i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.card-input-field .form-input {
    padding-left: 48px;
}

.card-input-field:focus-within i {
    color: var(--primary);
}

.payment-security {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.security-badge i {
    font-size: 20px;
    color: var(--success);
}

.payment-summary {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.payment-summary h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.order-number {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.summary-items {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.summary-item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-qty {
    font-size: 12px;
    color: var(--text-muted);
}

.item-price {
    font-weight: 600;
    white-space: nowrap;
}

.summary-totals {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
}

.summary-row.total span:last-child {
    color: var(--primary);
}

.shipping-info {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.shipping-info h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 8px;
}

.shipping-info h4 i {
    color: var(--primary);
}

.shipping-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Checkout payment info */
.payment-info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.payment-info-box i {
    font-size: 28px;
    color: var(--success);
    flex-shrink: 0;
}

.payment-info-box p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.accepted-cards {
    display: flex;
    align-items: center;
    gap: 16px;
}

.accepted-cards span {
    font-size: 14px;
    color: var(--text-muted);
}

.card-icons {
    display: flex;
    gap: 12px;
}

.card-icons i {
    font-size: 32px;
    color: var(--text);
}

@media (max-width: 1024px) {
    .payment-container {
        grid-template-columns: 1fr;
    }
    
    .payment-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .payment-card-section {
        padding: 24px;
    }
    
    .card-number-display {
        font-size: 18px;
        gap: 12px;
    }
    
    .card-number-display span {
        min-width: 50px;
    }
    
    .security-badges {
        flex-wrap: wrap;
        gap: 16px;
    }
}


/* Payment Modal */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.payment-modal.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal-content {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    animation: scaleIn 0.4s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.modal-state h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text);
}

.modal-state p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Payment Loader */
.payment-loader {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: loaderSpin 1.5s linear infinite;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation-delay: 0s;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-right-color: var(--primary);
    animation-delay: 0.15s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-bottom-color: var(--primary);
    animation-delay: 0.3s;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-progress {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 24px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 0%;
}

/* Code Input */
.code-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.code-icon i {
    font-size: 40px;
    color: var(--primary);
}

.code-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.code-input {
    width: 50px;
    height: 60px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: var(--transition);
}

.code-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.code-error {
    color: var(--error);
    font-size: 14px;
    margin-bottom: 16px;
}

.resend-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

.resend-text a {
    color: var(--primary);
    font-weight: 600;
}

/* Success/Error Icons */
.success-icon,
.error-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: iconPop 0.5s ease;
}

.success-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.error-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.success-icon i,
.error-icon i {
    font-size: 50px;
    color: white;
}

@keyframes iconPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .payment-modal-content {
        padding: 32px 24px;
    }
    
    .code-input {
        width: 42px;
        height: 52px;
        font-size: 20px;
    }
    
    .code-input-group {
        gap: 6px;
    }
}

/* 
Push Waiting State */
.push-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

.push-icon i {
    color: white !important;
}

.push-waiting {
    margin-top: 24px;
}

.push-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.push-dots span {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: pushDot 1.4s infinite ease-in-out both;
}

.push-dots span:nth-child(1) { animation-delay: -0.32s; }
.push-dots span:nth-child(2) { animation-delay: -0.16s; }
.push-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes pushDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.push-waiting p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}


/* ==================== PAGE STYLES ==================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.page-hero-content p {
    font-size: 18px;
    opacity: 0.9;
    color: white;
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--secondary);
}

.page-content h2:first-of-type {
    margin-top: 0;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text);
}

.page-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.page-content ul, .page-content ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-light);
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* About Page */
.about-intro {
    margin-bottom: 48px;
}

.about-values {
    margin-bottom: 48px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.value-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon i {
    font-size: 28px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 40px;
    margin: 48px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.features-list {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-item i {
    font-size: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-cta {
    text-align: center;
    padding: 48px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-top: 48px;
}

.about-cta h2 {
    margin: 0 0 12px;
}

.about-cta p {
    margin-bottom: 24px;
}

/* Shipping & Returns Pages */
.return-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.highlight-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.highlight-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.highlight-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.shipping-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 24px 0;
}

.shipping-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.shipping-row:last-child {
    border-bottom: none;
}

.shipping-row span {
    font-size: 14px;
    color: var(--text);
}

/* Steps List */
.steps-list {
    margin: 32px 0;
}

.step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    margin: 24px 0;
}

.info-box.warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
}

.info-box.warning i {
    color: #f59e0b;
    font-size: 24px;
}

.info-box p {
    margin: 0;
    color: var(--text);
}

/* FAQ Contact Box */
.faq-contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.faq-contact-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-contact-content i {
    font-size: 40px;
    color: var(--primary);
}

.faq-contact-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.faq-contact-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Legal Pages (Terms, Privacy) */
.legal-page {
    padding: 60px 0;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.legal-nav {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 24px;
}

.legal-nav h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 8px;
}

.legal-nav a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.legal-nav a:hover,
.legal-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.legal-updated {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
}

.legal-updated i {
    font-size: 16px;
}

.legal-content {
    max-width: 800px;
}

.legal-intro {
    font-size: 18px;
    color: var(--text);
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.legal-intro p {
    margin: 0;
}

.legal-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--text);
}

.section-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0 0 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-notice {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 16px 0;
}

.legal-notice p {
    font-size: 13px;
    margin: 0;
    color: var(--text);
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.contact-info-item i {
    font-size: 28px;
    color: var(--primary);
}

.contact-info-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Page Buttons Fix - ensure white text */
.page-content .btn-primary,
.faq-contact-box .btn-primary,
.about-cta .btn-primary {
    color: white !important;
}

.page-content .btn-primary:hover,
.faq-contact-box .btn-primary:hover,
.about-cta .btn-primary:hover {
    color: white !important;
}

/* Responsive */
@media (max-width: 992px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        position: static;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0;
    }
    
    .page-hero-content h1 {
        font-size: 28px;
    }
    
    .return-highlights {
        grid-template-columns: 1fr;
    }
    
    .shipping-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .faq-contact-box {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-contact-content {
        flex-direction: column;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        padding: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}


/* Shipping Methods */
.shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-method {
    display: block;
    cursor: pointer;
}

.shipping-method input {
    display: none;
}

.shipping-method-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: var(--bg);
}

.shipping-method:hover .shipping-method-content {
    border-color: var(--primary);
    background: var(--primary-light);
}

.shipping-method input:checked + .shipping-method-content {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.shipping-method-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shipping-method-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.shipping-method-time {
    font-size: 13px;
    color: var(--text-muted);
}

.shipping-method-price {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
}

/* Checkout Section */
.checkout-section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.checkout-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checkout-section h3 i {
    font-size: 22px;
    color: var(--primary);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}
