/* VICTAURE - Design Professionnel Minimaliste */

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

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #0f3460;
    --text: #1a1a1a;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --radius: 4px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    font-size: 14px;
}

/* PROMO BANNER */
.promo-banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 10px 40px 10px 16px;
    font-size: 13px;
    position: relative;
}

.promo-banner p {
    margin: 0;
}

.promo-banner a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

.promo-banner a:hover {
    text-decoration: none;
}

.promo-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.promo-close:hover {
    opacity: 1;
}

.promo-banner.hidden {
    display: none;
}

/* HEADER */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.cart-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    display: none;
    transition: transform 0.2s;
}

.cart-count:not(:empty) {
    display: inline-flex;
}

.cart-count.adding {
    animation: bounce 0.3s ease;
}

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

.cart-total-preview {
    font-weight: 600;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.cart-label {
    margin-right: 4px;
}

/* MAIN LAYOUT */
.main-content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 120px);
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    padding: 24px;
    border-right: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 65px;
    height: calc(100vh - 65px);
    overflow-y: auto;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.category-menu {
    list-style: none;
    margin-bottom: 32px;
}

.category-menu li {
    margin-bottom: 2px;
}

.category-menu button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-menu button:hover {
    background: var(--bg-alt);
}

.category-menu button.active {
    background: var(--primary);
    color: white;
}

.category-count {
    font-size: 11px;
    color: var(--text-light);
    background: var(--bg-alt);
    padding: 2px 8px;
    border-radius: 10px;
}

.category-menu button.active .category-count {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* FILTERS */
.filter-section {
    margin-bottom: 24px;
}

.filter-section label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.filter-section select,
.filter-section input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    background: white;
}

.filter-section input[type="text"]:focus,
.filter-section select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-wrapper {
    position: relative;
}

.price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-inputs input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
}

.price-inputs span {
    color: var(--text-light);
    font-size: 12px;
}

.btn-reset {
    width: 100%;
    padding: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    margin-top: 16px;
}

.btn-reset:hover {
    background: var(--border);
}

/* PRODUCTS AREA */
.products-area {
    flex: 1;
    padding: 24px;
    background: var(--bg-alt);
}

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

.products-title {
    font-size: 18px;
    font-weight: 600;
}

.products-count {
    font-size: 13px;
    color: var(--text-light);
    margin-left: 12px;
    font-weight: 400;
}

.products-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-clear-search {
    padding: 6px 12px;
    font-size: 12px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-search:hover {
    background: #fecaca;
}

/* ACTIVE FILTERS */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.active-filter-tag:hover {
    background: #dbeafe;
}

.active-filter-tag svg {
    opacity: 0.6;
}

.active-filter-tag:hover svg {
    opacity: 1;
}

.view-options {
    display: flex;
    gap: 16px;
    align-items: center;
}

.view-options label {
    font-size: 13px;
    color: var(--text-light);
}

.view-options select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    background: white;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* PRODUCT CARD */
.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.product-type-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.product-icon-svg {
    width: 80px;
    height: 80px;
    opacity: 0.6;
}

.product-body {
    padding: 20px;
}

.product-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    margin-bottom: 6px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--bg-alt);
    border-radius: 2px;
    color: var(--text-light);
}

.product-npn {
    font-size: 11px;
    color: var(--text-light);
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    margin-bottom: 16px;
    padding: 8px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.product-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

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

.product-price .price-currency {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

.btn-add {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-add:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.btn-add.in-cart {
    background: #059669;
}

.btn-add .cart-qty {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.popular {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.product-card.popular {
    border: 2px solid #f59e0b;
}

.product-card.popular .product-image {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.open {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

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

.suggestion-item:hover {
    background: var(--bg-alt);
}

.suggestion-name {
    flex: 1;
    font-size: 14px;
    color: var(--text);
}

.suggestion-name strong {
    color: var(--primary);
    background: #fef3c7;
    padding: 0 2px;
    border-radius: 2px;
}

.suggestion-category {
    font-size: 12px;
    color: var(--text-light);
    margin-right: 12px;
}

.suggestion-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 13px;
}

.suggestion-empty {
    padding: 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* FOOTER */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 48px 24px 24px;
    margin-top: 48px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    line-height: 1.8;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 12px;
}

/* NO RESULTS */
.no-results {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-light);
    grid-column: 1 / -1;
}

.no-results h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

/* NOTIFICATION */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification.success {
    background: #059669;
}

.notification.error {
    background: #dc2626;
}

.notification.info {
    background: #3b82f6;
}

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

/* BUTTON ANIMATIONS */
.btn-add {
    transition: all 0.2s ease;
}

.btn-add:active {
    transform: scale(0.95);
}

.btn-add.adding {
    animation: pulse 0.5s ease;
}

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

/* FORM SPINNER */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* MOBILE FILTERS */
.mobile-filter-bar {
    display: none;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid var(--border);
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-filter-bar::-webkit-scrollbar {
    display: none;
}

.mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.mobile-filter-btn:hover {
    border-color: var(--primary);
}

.mobile-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.mobile-filter-count {
    font-size: 11px;
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.mobile-filter-btn.active .mobile-filter-count {
    background: rgba(255,255,255,0.2);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }
    
    .mobile-filter-bar {
        display: flex;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .products-area {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-container {
        padding: 12px 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .products-area {
        padding: 16px;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin: -16px -16px 16px -16px;
        padding: 12px 16px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-body {
        padding: 14px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .product-description {
        display: none;
    }
    
    .product-tags {
        display: none;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .btn-add {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 24px;
    text-align: center;
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn-hero-primary {
    padding: 14px 32px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
    padding: 14px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero {
        padding: 48px 20px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-stats {
        gap: 24px;
    }
    .stat-number {
        font-size: 24px;
    }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
    padding: 80px 24px;
    background: var(--bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.about-lead {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.about-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-content h2 {
        font-size: 28px;
    }
    .about-visual {
        width: 200px;
        height: 200px;
    }
}

/* =====================================================
   VALUES SECTION
   ===================================================== */
.values-section {
    padding: 80px 24px;
    background: var(--bg-alt);
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.values-container h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--primary);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .values-container h2 {
        font-size: 28px;
    }
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    padding: 80px 24px;
    background: var(--bg);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.contact-info > p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

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

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: var(--secondary);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info h2 {
        font-size: 28px;
    }
}

/* =====================================================
   CART DRAWER
   ===================================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    font-size: 18px;
    font-weight: 600;
}

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

.cart-close:hover {
    color: var(--text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

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

.cart-item-image {
    width: 64px;
    height: 64px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image svg {
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

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

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-item-qty {
    font-size: 14px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    margin-left: auto;
}

.cart-item-remove:hover {
    color: #dc3545;
}

.cart-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-light);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cart-footer .btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cart-footer .btn-checkout:hover:not(:disabled) {
    background: var(--secondary);
    transform: translateY(-2px);
}

.cart-footer .btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-note {
    text-align: center;
    font-size: 12px;
    color: #059669;
    margin-top: 12px;
    font-weight: 500;
}

.cart-payment-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    opacity: 0.7;
}

.cart-secure-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 8px;
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-page {
    padding: 48px 24px 80px;
    background: var(--bg-alt);
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.back-link {
    display: inline-block;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 32px;
    transition: color 0.2s;
}

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

.legal-container h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.legal-updated {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.legal-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-section p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-section li {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--primary);
}

.legal-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    padding: 16px;
    font-size: 14px;
    color: #856404;
    margin: 16px 0;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 24px;
    }
    .legal-container h1 {
        font-size: 24px;
    }
}

/* =====================================================
   FOOTER ENHANCEMENTS
   ===================================================== */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

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

.footer-social a:hover {
    background: rgba(255,255,255,0.2);
}

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

.footer-hours {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 8px;
}

/* =====================================================
   FAQ STYLES
   ===================================================== */
.faq-section {
    margin-bottom: 48px;
}

.faq-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

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

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary);
}

.faq-contact {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 24px;
}

.faq-contact .btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    margin-bottom: 16px;
}

.faq-contact p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* =====================================================
   MOBILE HAMBURGER MENU
   ===================================================== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--text);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 200;
    padding: 80px 24px 24px;
    flex-direction: column;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .btn-cart span:not(.cart-count) {
        display: none;
    }
    
    .btn-cart {
        padding: 8px 12px;
    }
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   SMOOTH SCROLL
   ===================================================== */
html {
    scroll-behavior: smooth;
}

/* =====================================================
   LOADING STATES
   ===================================================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 90;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

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

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
    padding: 80px 24px;
    background: var(--bg-alt);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 48px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg);
    border-radius: 8px;
    padding: 32px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

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

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* =====================================================
   SHIPPING PAGE STYLES
   ===================================================== */
.shipping-highlight {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.shipping-highlight svg {
    color: #28a745;
    flex-shrink: 0;
}

.shipping-highlight h3 {
    font-size: 18px;
    color: #155724;
    margin-bottom: 4px;
}

.shipping-highlight p {
    font-size: 14px;
    color: #155724;
    margin: 0;
}

.shipping-table {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.shipping-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.shipping-row:last-child {
    border-bottom: none;
}

.shipping-row:nth-child(even) {
    background: var(--bg-alt);
}

.shipping-zone strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.shipping-zone span {
    font-size: 12px;
    color: var(--text-light);
}

.shipping-time {
    font-size: 14px;
    color: var(--text);
    text-align: center;
}

.shipping-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-align: right;
}

.shipping-price small {
    font-weight: 400;
    color: var(--text-light);
    font-size: 12px;
}

.shipping-cta {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 48px 32px;
    border-radius: 8px;
    margin-top: 48px;
}

.shipping-cta h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.shipping-cta p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.shipping-cta .btn-primary {
    background: white;
    color: var(--primary);
    padding: 12px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
}

.shipping-cta .btn-primary:hover {
    background: var(--bg-alt);
}

@media (max-width: 600px) {
    .shipping-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .shipping-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .shipping-time,
    .shipping-price {
        text-align: center;
    }
}

/* =====================================================
   PRODUCT MODAL
   ===================================================== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
}

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.product-modal-content {
    position: relative;
    background: var(--bg);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.product-modal.open .product-modal-content {
    transform: translateY(0);
}

.product-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-alt);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.product-modal-close:hover {
    background: var(--border);
}

.product-modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--text);
}

.product-modal-header {
    display: flex;
    gap: 24px;
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border);
}

.product-modal-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-modal-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.product-modal-info {
    flex: 1;
    padding-right: 40px;
}

.product-modal-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-modal-info h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-modal-npn {
    font-size: 12px;
    color: var(--text-light);
    font-family: monospace;
}

.product-modal-body {
    padding: 24px 32px;
}

.product-modal-section {
    margin-bottom: 24px;
}

.product-modal-section:last-child {
    margin-bottom: 0;
}

.product-modal-section h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-modal-section p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

.product-modal-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.product-modal-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}

.product-modal-benefits svg {
    width: 16px;
    height: 16px;
    color: #28a745;
    flex-shrink: 0;
}

.product-modal-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    padding: 16px;
    margin-left: -16px;
    margin-right: -16px;
}

.product-modal-warning h3 {
    color: #856404;
}

.product-modal-warning p {
    color: #856404;
    font-size: 13px;
}

.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
}

.product-modal-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

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

.price-currency {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.btn-add-modal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-add-modal:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

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

/* Product card cursor */
.product-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 600px) {
    .product-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .product-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 60px 24px 24px;
    }
    
    .product-modal-info {
        padding-right: 0;
    }
    
    .product-modal-body {
        padding: 24px;
    }
    
    .product-modal-benefits {
        grid-template-columns: 1fr;
    }
    
    .product-modal-footer {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }
    
    .btn-add-modal {
        width: 100%;
        justify-content: center;
    }
}

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

.checkout-page {
    min-height: 100vh;
    background: var(--bg-alt);
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form Sections */
.form-section {
    background: var(--bg);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border);
}

.form-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2 svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

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

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

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group label .required {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-light);
}

.form-group.error input,
.form-group.error select {
    border-color: #dc2626;
}

.form-group .error-message {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

/* Shipping Options */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.shipping-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

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

.shipping-option.selected {
    border-color: var(--primary);
    background: rgba(26, 26, 46, 0.03);
}

.shipping-option input[type="radio"] {
    display: none;
}

.shipping-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin-right: 14px;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.shipping-option.selected .shipping-radio {
    border-color: var(--primary);
}

.shipping-option.selected .shipping-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.shipping-details {
    flex: 1;
}

.shipping-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

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

.shipping-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.shipping-price.free {
    color: #059669;
}

.free-shipping-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #ecfdf5;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #065f46;
}

.free-shipping-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Checkout Sidebar */
.checkout-sidebar {
    position: sticky;
    top: 100px;
}

.order-summary {
    background: var(--bg);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border);
}

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

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

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

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

.summary-item-image {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-item-image svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.summary-item-info {
    flex: 1;
    min-width: 0;
}

.summary-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

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

.summary-item-price {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

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

.summary-row.subtotal {
    color: var(--text-light);
}

.summary-row.shipping {
    color: var(--text-light);
}

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

.summary-row.taxes {
    font-size: 13px;
    color: var(--text-light);
}

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

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-checkout:hover:not(:disabled) {
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn-checkout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.btn-checkout.loading {
    pointer-events: none;
}

.btn-checkout.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-light);
}

.checkout-secure svg {
    width: 14px;
    height: 14px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.payment-methods img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Checkout Empty State */
.checkout-empty {
    text-align: center;
    padding: 60px 24px;
}

.checkout-empty svg {
    width: 80px;
    height: 80px;
    color: var(--border);
    margin-bottom: 24px;
}

.checkout-empty h2 {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 12px;
}

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

/* Checkout Responsive */
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-sidebar {
        position: relative;
        top: 0;
        order: -1;
    }
}

@media (max-width: 600px) {
    .checkout-container {
        padding: 20px 16px;
    }
    
    .form-section {
        padding: 24px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        padding: 20px;
    }
}

/* =========================================
   CONFIRMATION PAGE STYLES
   ========================================= */

.confirmation-page {
    min-height: 100vh;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.confirmation-container {
    max-width: 600px;
    width: 100%;
}

.confirmation-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.confirmation-icon svg {
    width: 40px;
    height: 40px;
    color: #059669;
}

.confirmation-icon.error {
    background: #fef2f2;
}

.confirmation-icon.error svg {
    color: #dc2626;
}

.confirmation-card h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.confirmation-card .order-number {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.confirmation-card .order-number strong {
    color: var(--text);
}

.confirmation-message {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.confirmation-details {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    margin-bottom: 32px;
}

.confirmation-details h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.confirmation-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.confirmation-detail-row:last-child {
    border-bottom: none;
}

.confirmation-detail-row .label {
    color: var(--text-light);
}

.confirmation-detail-row .value {
    color: var(--text);
    font-weight: 500;
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.confirmation-actions .btn {
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.confirmation-actions .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.confirmation-actions .btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.confirmation-actions .btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.confirmation-actions .btn-secondary:hover {
    background: var(--bg-alt);
}

.confirmation-support {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-light);
}

.confirmation-support a {
    color: var(--primary);
    text-decoration: none;
}

.confirmation-support a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .confirmation-card {
        padding: 32px 24px;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
        text-align: center;
    }
}
