/* ============================================
   Mxd Market - Feuille de style principale
   Palette : Noir (#000), Doré (#C5A028), Blanc (#FFF)
   ============================================ */

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

:root {
    --gold: #C5A028;
    --gold-light: #d4b44a;
    --gold-dark: #a8871e;
    --black: #000000;
    --dark: #1a1a1a;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #999999;
    --gray-lighter: #f5f5f5;
    --white: #ffffff;
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gold-text { color: var(--gold); }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(197, 160, 40, 0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}
.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}
.btn-white:hover {
    background: var(--gray-lighter);
    transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* === Top Bar === */
.top-bar {
    background: var(--black);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
}

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

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span, .top-bar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i, .top-bar-right i {
    color: var(--gold);
}

/* === Header === */
.main-header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

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

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--dark);
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--gold);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
}

.dropdown li a:hover {
    background: var(--gray-lighter);
    color: var(--gold);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon, .user-icon {
    position: relative;
    font-size: 20px;
    color: var(--dark);
}

.cart-icon:hover, .user-icon:hover {
    color: var(--gold);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

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

.user-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 14px;
}

.user-dropdown li a:hover {
    background: var(--gray-lighter);
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* === Hero Slider === */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    color: var(--white);
    max-width: 600px;
}

.slide-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.slider-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* === Features Section === */
.features-section {
    padding: 40px 0;
    background: var(--gray-lighter);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 12px;
}

.feature-item h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 13px;
    color: var(--gray);
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
    font-size: 16px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* === Categories Section === */
.categories-section {
    padding: 80px 0;
}

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

.category-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 28px;
    color: var(--white);
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
}

.category-link {
    color: var(--gold);
    font-weight: 500;
    font-size: 14px;
}

/* === Products Grid === */
.featured-section, .related-section {
    padding: 80px 0;
    background: var(--gray-lighter);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--error);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--gray-lighter);
}

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

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

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
    font-size: 16px;
}

.btn-icon:hover {
    background: var(--gold);
    color: var(--white);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.product-info h3 {
    font-size: 16px;
    margin: 8px 0;
    line-height: 1.4;
}

.product-info h3 a:hover {
    color: var(--gold);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

/* === Promo Banner === */
.promo-banner {
    background: linear-gradient(135deg, var(--black), var(--dark));
    padding: 60px 0;
    text-align: center;
}

.promo-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--white);
    margin-bottom: 10px;
}

.promo-content p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 25px;
}

/* === Newsletter === */
.newsletter-section {
    padding: 80px 0;
    text-align: center;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: var(--gray);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 14px 20px;
    border: 2px solid #eee;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

/* === Breadcrumb === */
.breadcrumb-section {
    background: var(--gray-lighter);
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 10px;
}

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

.breadcrumb-section h1 {
    font-family: var(--font-heading);
    font-size: 28px;
}

/* === Shop Page === */
.shop-section {
    padding: 50px 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.shop-filter-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    cursor: pointer;
}

.shop-filter-toggle .fa-chevron-down {
    transition: transform 0.2s ease;
}

.shop-filter-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.sidebar-widget {
    margin-bottom: 30px;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 20px;
}

.sidebar-widget h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.category-list li a:hover, .category-list li a.active {
    color: var(--gold);
    font-weight: 500;
}

.category-list li a span {
    color: var(--gray-light);
    font-size: 12px;
}

.sidebar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
}

.sidebar-info i {
    color: var(--gold);
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    font-size: 14px;
    color: var(--gray);
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
}

/* === Product Detail === */
.product-detail-section {
    padding: 50px 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-lighter);
}

.main-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active, .thumbnail:hover {
    border-color: var(--gold);
}

.product-info-detail h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin: 10px 0 20px;
}

.product-category-tag {
    display: inline-block;
    background: var(--gray-lighter);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.product-price-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-price-detail .current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
}

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

.discount-tag {
    background: #fff3cd;
    color: #856404;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.product-short-desc {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-stock {
    margin-bottom: 25px;
}

.in-stock {
    color: var(--success);
    font-weight: 500;
}

.out-of-stock {
    color: var(--error);
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;
}

.quantity-selector.small {
    border-width: 1px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--gray-lighter);
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.quantity-selector input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    outline: none;
}

.product-meta {
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.meta-item i {
    color: var(--gold);
    width: 20px;
}

/* Product Tabs */
.product-tabs {
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.tabs-header {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: var(--gray);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.tab-panel {
    display: none;
}

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

.description-content {
    line-height: 1.8;
    color: var(--gray-dark);
}

/* === Cart === */
.cart-section {
    padding: 50px 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

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

.cart-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #eee;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--gray);
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-product span {
    font-weight: 500;
    font-size: 14px;
}

.cart-total {
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: var(--transition);
}

.remove-btn:hover {
    transform: scale(1.2);
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cart-summary {
    background: var(--gray-lighter);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

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

.shipping-notice {
    background: #fff3cd;
    padding: 10px 15px;
    border-radius: var(--radius);
    font-size: 12px;
    color: #856404;
    margin: 15px 0;
}

.free-shipping {
    color: var(--success);
    font-weight: 600;
}

.payment-methods-summary {
    margin-top: 20px;
    text-align: center;
}

.payment-methods-summary p {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.payment-badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.payment-badge.whatsapp {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.payment-badge.small {
    padding: 3px 8px;
    font-size: 10px;
}

/* === Checkout === */
.checkout-section {
    padding: 50px 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-info h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.login-notice {
    background: var(--gray-lighter);
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.login-notice a {
    color: var(--gold);
    font-weight: 500;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:has(input:checked) {
    border-color: var(--gold);
    background: rgba(197, 160, 40, 0.05);
}

.payment-option input {
    margin-top: 3px;
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.payment-name {
    font-weight: 600;
}

.payment-option-content p {
    font-size: 13px;
    color: var(--gray);
}

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

.order-summary {
    background: var(--gray-lighter);
    border-radius: var(--radius-lg);
    padding: 25px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.order-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius);
}

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

.item-name {
    font-size: 13px;
    font-weight: 500;
    display: block;
}

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

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

.summary-divider {
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

.checkout-secure {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: var(--gray);
}

.checkout-secure i {
    color: var(--success);
}

/* === Forms === */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

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

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

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
}

/* === Auth Pages === */
.auth-section {
    padding: 60px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 450px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-card-wide {
    max-width: 600px;
}

.auth-card h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--gray);
    margin-bottom: 25px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.auth-footer a {
    color: var(--gold);
    font-weight: 500;
}

/* === Account === */
.account-section {
    padding: 50px 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.account-user {
    text-align: center;
    padding: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.user-avatar {
    font-size: 50px;
    color: var(--gold);
    margin-bottom: 10px;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: var(--radius);
    margin-bottom: 5px;
}

.account-nav a:hover, .account-nav a.active {
    background: var(--gray-lighter);
    color: var(--gold);
}

.account-sidebar {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.account-tab {
    display: none;
}

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

/* === Orders === */
.order-card {
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-number {
    font-weight: 600;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-processing { background: #d4edda; color: #155724; }
.status-shipped { background: #cce5ff; color: #004085; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

.order-details {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--gray);
}

/* === About === */
.about-section {
    padding: 60px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text .lead {
    font-size: 18px;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-logo-img {
    max-width: 300px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
}

.values-section {
    margin-bottom: 60px;
}

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

.value-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.value-icon i {
    font-size: 24px;
    color: var(--white);
}

.value-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: var(--gray);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: var(--black);
    border-radius: var(--radius-lg);
    padding: 50px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--gold);
    font-weight: 700;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.commitment-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

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

.commitment-item {
    text-align: center;
    padding: 30px;
}

.commitment-item i {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 15px;
}

.commitment-item h4 {
    margin-bottom: 10px;
}

.commitment-item p {
    font-size: 14px;
    color: var(--gray);
}

/* === Contact === */
.contact-section {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper h2, .contact-info-wrapper h2 {
    font-size: 22px;
    margin-bottom: 25px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: var(--radius);
    text-align: center;
}

.contact-card-icon {
    width: 45px;
    height: 45px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.contact-card-icon i {
    color: var(--white);
    font-size: 18px;
}

.contact-card h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-card p {
    font-size: 13px;
    color: var(--gray);
}

.social-contact h4 {
    margin-bottom: 10px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* === Confirmation === */
.confirmation-section {
    padding: 80px 0;
    text-align: center;
}

.confirmation-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
}

.confirmation-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.confirmation-icon.success { color: var(--success); }
.confirmation-icon.error { color: var(--error); }

.confirmation-card h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 10px;
}

.confirmation-text {
    color: var(--gray);
    margin-bottom: 25px;
}

.confirmation-details {
    background: var(--gray-lighter);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

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

.confirmation-note {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
}

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

/* === Empty State === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 50px;
    color: var(--gray-light);
    margin-bottom: 15px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* === Alerts === */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert ul {
    margin-left: 15px;
    list-style: disc;
}

/* === Flash Message === */
.flash-message {
    padding: 15px 0;
    position: relative;
}

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

.flash-success {
    background: #d4edda;
    color: #155724;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
}

.flash-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* === Footer === */
.main-footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

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

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

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

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-contact li i {
    color: var(--gold);
    width: 16px;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods h5 {
    font-size: 13px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-section { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    
    .main-nav { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
    }
    
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li a { display: block; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
    .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 20px; }
    
    .mobile-menu-btn { display: block; }
    
    .slider-container { height: 350px; }
    .slide-content h1 { font-size: 28px; }
    .slide-content p { font-size: 14px; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    
    .shop-layout { grid-template-columns: 1fr; }
    .shop-filter-toggle { display: flex; }
    .shop-sidebar { display: none; }
    .shop-sidebar.active { display: block; margin-bottom: 20px; }
    
    .product-detail { grid-template-columns: 1fr; gap: 30px; }
    .main-image img { height: 300px; }
    
    .cart-layout { grid-template-columns: 1fr; }
    .cart-items { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cart-table { min-width: 480px; }
    .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
    
    .checkout-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
    .about-intro { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .commitment-grid { grid-template-columns: 1fr; }
    
    .account-layout { grid-template-columns: 1fr; }
    
    .orders-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .orders-table { min-width: 600px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 5px; text-align: center; }
    
    .confirmation-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-image { height: 200px; }
    .features-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-section { grid-template-columns: 1fr; padding: 30px; }
    .contact-info-cards { grid-template-columns: 1fr; }
    .cart-actions { flex-direction: column; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; }
    .shop-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
    .checkout-secure { text-align: center; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }
}

@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .slide-content h1 { font-size: 22px; }
    .slide-content p { font-size: 13px; }
    .logo img { max-height: 40px; }
    .header-content { gap: 10px; }
    .btn { padding: 10px 16px; font-size: 13px; }
    .btn-lg { padding: 12px 18px; font-size: 14px; }
    .payment-options { flex-direction: column; }
}
