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

:root {
    --primary-color: #1c3965;
    --primary-dark: #152b4d;
    --secondary-color: #ffc107;
    --accent-color: #00a0d2;
    --text-color: #1c3965;
    --text-light: #6b7c93;
    --bg-color: #ffffff;
    --bg-light: #f5f7fa;
    --border-color: #e8ecf1;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top Bar */
.top-bar {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-link {
    color: var(--primary-color);
    font-weight: 500;
}

.top-link:hover {
    color: var(--accent-color);
}

.top-nav {
    display: flex;
    gap: 24px;
}

.top-nav a {
    color: var(--text-color);
}

.top-nav a:hover {
    color: var(--accent-color);
}

/* Main Header */
.main-header {
    background-color: var(--bg-color);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo img {
    height: 40px;
    width: auto;
}

.search-box {
    flex: 1;
    max-width: 520px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 57, 101, 0.1);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.login-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

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

.login-btn .chevron {
    width: 16px;
    height: 16px;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border-radius: 24px;
    font-weight: 500;
    color: white;
    transition: background-color 0.2s ease;
}

.cart-btn:hover {
    background-color: var(--primary-dark);
}

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

.cart-count {
    background-color: white;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Category Navigation */
.category-nav {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.category-nav .container {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.category-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.2s ease;
}

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

.category-link:hover {
    color: var(--accent-color);
}

/* Promo Banner */
.promo-banner {
    background-color: var(--primary-color);
    padding: 10px 0;
}

.promo-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-banner span {
    color: white;
    font-weight: 500;
}

.promo-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.promo-btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-1px);
}

/* Main Content */
main {
    min-height: 100vh;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    margin: 20px 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.hero-slide {
    display: none;
    position: relative;
}

.hero-slide.active {
    display: block;
}

.hero-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    z-index: 10;
}

.slider-nav:hover {
    background-color: var(--bg-light);
    transform: translateY(-50%) scale(1.05);
}

.slider-nav.prev {
    left: 16px;
}

.slider-nav.next {
    right: 16px;
}

.slider-nav svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot.active {
    background-color: white;
    width: 24px;
    border-radius: 4px;
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    padding: 12px;
    text-align: center;
    transition: transform 0.2s ease;
}

.quick-link:hover {
    transform: translateY(-2px);
}

.quick-link img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.quick-link span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
}

/* Info Banners */
.info-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.info-banner:hover {
    background-color: #e8f4fc;
    transform: translateY(-2px);
}

.info-banner img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.info-banner-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.info-banner-content p {
    font-size: 12px;
    color: var(--text-light);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.section-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.section-link:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

.countdown {
    display: flex;
    gap: 8px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
}

.countdown-value {
    font-size: 18px;
    font-weight: 700;
}

.countdown-label {
    font-size: 10px;
    text-transform: uppercase;
}

/* Products Grid */
.products-section {
    margin: 40px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-slider {
    position: relative;
}

.products-slider-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}

.products-slider-container::-webkit-scrollbar {
    display: none;
}

/* Product Card */
.product-card {
    flex: 0 0 calc(20% - 13px);
    min-width: 220px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: all 0.2s ease;
    scroll-snap-align: start;
    position: relative;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    z-index: 5;
}

.product-badge.bestseller {
    background-color: #e53935;
}

.product-badge.discount {
    background-color: #ff9800;
}

.product-badge.new {
    background-color: #4caf50;
}

.product-badge.limited {
    background-color: #9c27b0;
}

.product-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.product-favorite:hover {
    border-color: #e53935;
    background-color: #fff5f5;
}

.product-favorite svg {
    width: 18px;
    height: 18px;
    color: var(--text-light);
}

.product-favorite:hover svg,
.product-favorite.active svg {
    color: #e53935;
    fill: #e53935;
}

.product-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-colors {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.product-tag {
    padding: 4px 8px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-light);
}

.product-tag.highlight {
    background-color: #e3f2fd;
    border-color: #90caf9;
    color: var(--primary-color);
}

.product-pricing {
    margin-top: auto;
}

.old-price {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.discount-badge {
    display: inline-block;
    padding: 2px 6px;
    background-color: #ffebee;
    color: #e53935;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

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

.current-price span {
    font-size: 14px;
    font-weight: 500;
}

.price-note {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Category Icons */
.category-icons {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 24px 0;
    margin: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.category-icon:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.category-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.category-icon span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

/* Brands Section */
.brands-section {
    margin: 40px 0;
}

.brands-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0;
}

.brand-card {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.brand-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.brand-card img {
    max-height: 32px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s ease;
}

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

/* Campaign Banners */
.campaign-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 40px 0;
}

.campaign-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.campaign-banner:hover {
    transform: translateY(-4px);
}

.campaign-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.faq-header {
    margin-bottom: 24px;
}

.faq-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.faq-header p {
    color: var(--text-light);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===================== */
/* PRODUCT DETAIL PAGE */
/* ===================== */

.product-detail {
    padding: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 24px;
}

.product-main-image {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-main-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-thumbnails {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    cursor: pointer;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-thumbnail:hover {
    border-color: var(--primary-color);
}

.product-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 57, 101, 0.1);
}

.product-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-detail .product-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 16px;
}

.product-detail .product-tags {
    margin-bottom: 24px;
}

.product-detail .product-pricing {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.product-detail .product-pricing .old-price {
    font-size: 16px;
    margin-bottom: 8px;
}

.product-detail .product-pricing .current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-detail .product-pricing .price-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Product Actions */
.product-detail .product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 18px 32px;
    background: linear-gradient(135deg, #ffd54f, #ffc107);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #ffca28, #ffb300);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.buy-now-btn {
    flex: 1;
    padding: 18px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buy-now-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 57, 101, 0.3);
}

/* Product Features */
.product-features {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.product-features h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: #e3f2fd;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--success-color);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

/* ===================== */
/* PRODUCTS LIST PAGE */
/* ===================== */

.products-page {
    padding: 40px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

/* Filters Sidebar */
.filters-sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
}

.filter-group {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.filter-group h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: color 0.2s ease;
}

.filter-option:hover {
    color: var(--accent-color);
}

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

/* Products Main */
.products-main {
    min-width: 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.products-count {
    font-size: 14px;
    color: var(--text-light);
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-color);
    background: white;
    cursor: pointer;
    min-width: 200px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    margin-top: 40px;
}

.footer-top {
    padding: 48px 0;
}

.footer-top .container {
    display: flex;
    gap: 48px;
}

.footer-brand {
    flex: 0 0 250px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.social-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.social-text {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 16px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-columns {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.language-selector {
    display: flex;
    gap: 16px;
}

.language-selector a {
    font-size: 13px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.language-selector a.active,
.language-selector a:hover {
    opacity: 1;
}

.footer-brands {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-brands img {
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-brands img:hover {
    opacity: 1;
}

.copyright {
    display: flex;
    gap: 24px;
    font-size: 13px;
    opacity: 0.7;
}

.copyright a:hover {
    opacity: 1;
}

/* Cart Page */
.cart-page {
    padding: 40px 0;
}

.cart-empty {
    text-align: center;
    padding: 80px 0;
}

.cart-empty svg {
    width: 80px;
    height: 80px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.cart-empty h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.cart-empty .btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 24px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cart-empty .btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.cart-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-items {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 80px 1fr auto auto auto;
    gap: 16px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

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

.cart-item-remove-form {
    position: absolute;
    top: 20px;
    right: 0;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: var(--danger-color);
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
    min-width: 200px;
}

.cart-item-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.cart-item-title:hover {
    color: var(--accent-color);
}

.cart-item-color {
    font-size: 13px;
    color: var(--text-light);
}

.cart-item-pricing {
    margin-top: 12px;
}

.price-label,
.quantity-label,
.total-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.cart-item-pricing .old-price {
    font-size: 14px;
    text-decoration: line-through;
}

.discount-text {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

.discount-link {
    display: block;
    color: var(--accent-color);
    font-size: 12px;
    margin-top: 4px;
}

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

.cart-item-quantity {
    text-align: center;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: var(--bg-light);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.cart-item-total {
    text-align: right;
    padding-right: 30px;
}

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

.seller-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.seller-info a {
    color: var(--accent-color);
    font-weight: 500;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Insurance Section */
.insurance-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.insurance-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.insurance-card {
    border: 2px solid #f0c14b;
    border-radius: var(--radius-md);
    padding: 16px;
    background: #fffbf0;
    transition: all 0.2s ease;
}

.insurance-card.selected {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.insurance-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

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

.insurance-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a90d9, #1c3965);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insurance-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.insurance-info {
    flex: 1;
}

.insurance-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.insurance-title svg {
    color: var(--text-light);
}

.insurance-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.insurance-quantity {
    text-align: center;
}

.insurance-quantity span:first-child {
    display: block;
    font-size: 11px;
    color: var(--text-light);
}

.insurance-quantity .qty {
    font-weight: 600;
    font-size: 14px;
}

.insurance-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.insurance-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
}

.insurance-note a {
    color: var(--accent-color);
}

/* Updated Cart Summary */
.cart-summary {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 24px;
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cart-summary h3 .item-count {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-light);
}

.summary-details {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row .free-shipping {
    color: #28a745;
    font-weight: 500;
}

.summary-row.discount-row {
    color: var(--accent-color);
}

.summary-row.total-row {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

/* Coupon Section */
.coupon-section {
    margin-bottom: 16px;
}

.coupon-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.coupon-toggle:hover {
    background: var(--primary-dark);
}

.coupon-input-wrapper {
    margin-top: 12px;
}

.coupon-form {
    display: flex;
    gap: 8px;
}

.coupon-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.coupon-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

/* Agreement Section */
.agreement-section {
    margin-bottom: 20px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-color);
}

.agreement-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-top: 2px;
}

.agreement-checkbox a {
    color: var(--accent-color);
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ffd54f, #ffc107);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #ffca28, #ffb300);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--text-light);
    font-size: 14px;
}

.continue-shopping:hover {
    color: var(--primary-color);
}

/* ===================== */
/* CHECKOUT PAGE STYLES */
/* ===================== */

.checkout-body {
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.checkout-header {
    background: white;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.checkout-logo img {
    height: 40px;
}

/* Progress Steps */
.checkout-progress {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.progress-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.progress-step.completed .step-circle {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.step-circle svg {
    width: 14px;
    height: 14px;
    color: white;
}

.step-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 20px;
    margin-bottom: 28px;
    max-width: 150px;
}

.progress-line.active {
    background: var(--primary-color);
}

/* Checkout Main */
.checkout-main {
    flex: 1;
    padding: 40px 20px;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.checkout-form-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
}

.error-box {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.error-box p {
    color: #c62828;
    font-size: 14px;
    margin: 4px 0;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-light);
    pointer-events: none;
}

.phone-group {
    display: flex;
    gap: 0;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 14px;
    color: var(--text-color);
}

.phone-prefix img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-group input {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Form Row 3 columns */
.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

/* Payment Form Container */
.payment-form-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    margin-bottom: 24px;
}

.card-form {
    flex: 1;
}

/* Card Preview */
.card-preview {
    background: linear-gradient(135deg, #1c3965, #0d1f3c);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    color: white;
    min-height: 200px;
}

.card-preview-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-preview .card-label {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.card-preview .card-value {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Card Logos */
.card-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.card-logos img {
    height: 28px;
    object-fit: contain;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
}

.security-note svg {
    width: 16px;
    height: 16px;
    color: var(--success-color);
}

/* Summary Note */
.summary-note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 40px;
}

.input-with-icon svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-light);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    cursor: pointer;
    font-size: 14px;
}

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

.checkout-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ffd54f, #ffc107);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-submit-btn:hover {
    background: linear-gradient(135deg, #ffca28, #ffb300);
    transform: translateY(-2px);
}

.form-buttons {
    display: flex;
    gap: 16px;
}

.back-btn {
    padding: 16px 32px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: var(--bg-light);
}

/* Installment Options */
.installment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.installment-option {
    display: block;
    cursor: pointer;
}

.installment-option input {
    display: none;
}

.installment-option .option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.installment-option input:checked + .option-content {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.option-title {
    font-weight: 600;
    color: var(--text-color);
}

.option-price {
    font-weight: 600;
    color: var(--primary-color);
}

/* Order Complete */
.order-complete {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.order-complete h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.order-complete p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.back-to-home {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.back-to-home:hover {
    background: var(--primary-dark);
}

/* Checkout Summary */
.checkout-summary {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 24px;
}

.checkout-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-summary h3 span {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-light);
}

.summary-products {
    margin-bottom: 20px;
}

.summary-product {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-product:last-child {
    border-bottom: none;
}

.product-thumb {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.summary-product .product-info {
    flex: 1;
}

.summary-product .product-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 4px;
}

.summary-product .product-qty,
.summary-product .product-color {
    font-size: 12px;
    color: var(--text-light);
}

.summary-product .product-price {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-color);
}

.summary-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.summary-totals .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.summary-totals .summary-row.total {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
}

.summary-totals .free {
    color: #28a745;
}

.summary-totals .discount {
    color: var(--accent-color);
}

.summary-checkout-btn {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: linear-gradient(135deg, #ffd54f, #ffc107);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.summary-checkout-btn:hover {
    background: linear-gradient(135deg, #ffca28, #ffb300);
}

/* Checkout Footer */
.checkout-footer {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    margin-top: auto;
}

.footer-guarantees {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 16px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.guarantee-item svg {
    width: 24px;
    height: 24px;
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive Checkout */
@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .cart-item-quantity,
    .cart-item-total {
        grid-column: span 2;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .quantity-label,
    .total-label {
        display: none;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .progress-container {
        padding: 0 20px;
    }

    .step-label {
        font-size: 11px;
    }

    .progress-line {
        max-width: 60px;
        margin: 0 10px;
        margin-bottom: 28px;
    }

    .footer-guarantees {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .insurance-option {
        flex-wrap: wrap;
    }

    .insurance-quantity,
    .insurance-price {
        margin-top: 12px;
    }
}

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

    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid,
    .products-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-banners {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-nav {
        display: none;
    }

    .main-header .container {
        flex-wrap: wrap;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 16px;
    }

    .header-actions {
        margin-left: auto;
    }

    .login-btn span,
    .cart-btn span {
        display: none;
    }

    .category-nav .container {
        justify-content: flex-start;
        gap: 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .products-grid,
    .products-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .campaign-banners {
        grid-template-columns: 1fr;
    }

    .info-banners {
        grid-template-columns: 1fr;
    }

    .footer-top .container {
        flex-direction: column;
    }

    .footer-brand {
        flex: none;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-icons {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 24px;
    }

    /* Product Detail Responsive */
    .product-detail .product-info h1 {
        font-size: 22px;
    }

    .product-detail .product-pricing .current-price {
        font-size: 28px;
    }

    .product-detail .product-actions {
        flex-direction: column;
    }

    .add-to-cart-btn,
    .buy-now-btn {
        width: 100%;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        min-height: 280px;
        padding: 24px;
    }

    .product-thumbnails {
        gap: 8px;
    }

    .product-thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .products-list {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-width: 100%;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .promo-banner .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Header Mobile */
    .logo img {
        height: 32px;
    }

    .cart-count {
        padding: 2px 6px;
        font-size: 10px;
    }

    /* Cart Mobile */
    .cart-page {
        padding: 20px 0;
    }

    .cart-item {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px 0;
    }

    .cart-item-image {
        width: 100%;
        height: 120px;
    }

    .cart-item-info {
        width: 100%;
    }

    .cart-item-quantity,
    .cart-item-total {
        width: 100%;
        text-align: left;
        padding-right: 0;
    }

    .cart-item-remove-form {
        position: static;
        margin-top: 12px;
    }

    .cart-summary {
        position: static;
    }

    .insurance-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .insurance-price {
        margin-left: 0;
    }

    /* Checkout Mobile */
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-form-section {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .payment-form-container {
        grid-template-columns: 1fr;
    }

    .card-preview {
        order: -1;
    }

    .progress-container {
        flex-wrap: wrap;
        gap: 8px;
    }

    .progress-line {
        display: none;
    }

    .step-label {
        font-size: 10px;
    }

    .footer-guarantees {
        flex-direction: column;
        gap: 12px;
    }

    /* Product Detail Mobile */
    .product-detail {
        padding: 20px 0;
    }

    .product-detail .product-info h1 {
        font-size: 18px;
    }

    .product-detail .product-pricing {
        padding: 16px;
    }

    .product-detail .product-pricing .current-price {
        font-size: 24px;
    }

    /* Section Headers Mobile */
    .section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .section-title {
        font-size: 20px;
    }

    /* Quick Links Mobile */
    .quick-links {
        gap: 8px;
        padding: 8px 0;
    }

    .quick-link {
        min-width: 80px;
        padding: 8px;
    }

    .quick-link img {
        width: 48px;
        height: 48px;
    }

    .quick-link span {
        font-size: 10px;
    }

    /* Hero Slider Mobile */
    .hero-slider {
        margin: 10px 0;
        border-radius: var(--radius-md);
    }

    .slider-nav {
        width: 32px;
        height: 32px;
    }

    .slider-nav svg {
        width: 16px;
        height: 16px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .header-actions {
        gap: 8px;
    }

    .login-btn,
    .cart-btn {
        padding: 8px 12px;
    }

    .product-detail .product-info h1 {
        font-size: 16px;
    }

    .add-to-cart-btn,
    .buy-now-btn,
    .checkout-btn,
    .checkout-submit-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 24px;
}

.hidden {
    display: none;
}
