/* Ihe Holdings Limited - Main Stylesheet */
/* Color Scheme: Gold (#D4AF37), Off-White (#FAFAFA), Jet Black (#121212), Charcoal Black (#1C1C1C), Maroon (#861D1D), Blue-Gray (#4A4A6A), Light Gold (#E8C25A) */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #121212;
    background-color: #FAFAFA !important;
}

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

/* Header and Navigation */
.navbar {
    background-color: #1C1C1C !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #D4AF37 !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #FAFAFA;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #E8C25A;
    border-bottom-color: #E8C25A;
}

.nav-cart {
    position: relative;
    color: #FAFAFA;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background-color: #D4AF37;
    color: #121212;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #FAFAFA;
    cursor: pointer;
}

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, #D4AF37 0%, #861D1D 100%);
    color: #121212;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-shop {
    background: linear-gradient(135deg, #D4AF37 0%, #861D1D 100%);
}

.hero-affiliate {
    background: linear-gradient(135deg, #1C1C1C 0%, #D4AF37 100%);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 150px;
}

.btn-primary {
    background-color: #D4AF37;
    color: #121212;
    border: 2px solid #D4AF37;
}

.btn-primary:hover {
    background-color: #E8C25A;
    border-color: #E8C25A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #121212;
    border: 2px solid #121212;
}

.btn-secondary:hover {
    background-color: #121212;
    color: #D4AF37;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
}

.btn-outline:hover {
    background-color: #D4AF37;
    color: #121212;
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #1C1C1C;
    color: #FAFAFA;
    border: 2px solid #1C1C1C;
}

.btn-dark:hover {
    background-color: #121212;
    border-color: #121212;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #121212;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #4A4A6A;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Shop Styles */
.shop-hero {
    background: linear-gradient(135deg, #D4AF37 0%, #861D1D 100%);
    color: #121212;
    padding: 120px 0 80px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: #FAFAFA;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E5E5E5;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #F5F5F5;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #121212;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 15px;
}

.product-description {
    color: #4A4A6A;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Product Detail Page */
.product-detail {
    padding: 40px 0;
}

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

.product-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    background-color: #F5F5F5;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    color: #121212;
    margin-bottom: 20px;
}

.product-detail-price {
    font-size: 2rem;
    color: #D4AF37;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-detail-description {
    color: #4A4A6A;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.quantity-input {
    width: 80px;
    padding: 10px;
    border: 2px solid #E5E5E5;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1rem;
}

/* Cart Styles */
.cart-container {
    padding: 40px 0;
}

.cart-items {
    background: #FAFAFA;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #E5E5E5;
    align-items: center;
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #F5F5F5;
}

.cart-item-info h3 {
    color: #121212;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #D4AF37;
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-item-quantity input {
    width: 60px;
    padding: 8px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #D4AF37;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-summary {
    background: #F8F9FA;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: #121212;
    margin-bottom: 20px;
}

/* Checkout Styles */
.checkout-container {
    padding: 40px 0;
}

.checkout-form {
    background: #FAFAFA;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    color: #121212;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

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

/* Affiliate Styles */
.affiliate-hero {
    background: linear-gradient(135deg, #1C1C1C 0%, #D4AF37 100%);
    color: #121212;
    padding: 120px 0 80px;
    text-align: center;
}

.affiliate-features {
    background: #FAFAFA;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: #FAFAFA;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #D4AF37;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #121212;
    margin-bottom: 15px;
}

.feature-card p {
    color: #4A4A6A;
    line-height: 1.6;
}

/* Admin Styles */
.admin-container {
    padding: 40px 0;
    min-height: calc(100vh - 80px);
}

.admin-login {
    max-width: 400px;
    margin: 100px auto;
    background: #FAFAFA;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.admin-dashboard {
    background: #FAFAFA;
    min-height: calc(100vh - 80px);
    padding: 40px 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: #FAFAFA;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #D4AF37;
}

.dashboard-card h3 {
    color: #121212;
    font-size: 2rem;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #4A4A6A;
    font-size: 1.1rem;
}

/* Page Content */
.page-content {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    color: #121212;
    margin-bottom: 20px;
}

.page-content h2 {
    font-size: 2rem;
    color: #121212;
    margin-bottom: 15px;
    margin-top: 30px;
}

.page-content p {
    color: #4A4A6A;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    color: #4A4A6A;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 30px;
}

/* Contact Form */
.contact-form {
    background: #FAFAFA;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 40px;
}

/* Footer */
footer {
    background-color: #1C1C1C;
    color: #FAFAFA;
    padding: 50px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #FAFAFA;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: #E8C25A;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4A4A6A;
    color: #4A4A6A;
}

/* Promo Banner Styles */
.promo-banner {
    background-color: #861D1D;
    color: #FAFAFA;
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    position: relative;
    z-index: 999;
}

.promo-banner a {
    color: #FAFAFA;
    text-decoration: none;
}

.promo-banner a:hover {
    color: #E8C25A;
    text-decoration: underline;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

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

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

.alert-warning {
    background-color: #861D1D;
    color: #FAFAFA;
    border: 1px solid #861D1D;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1C1C1C;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item-price,
    .cart-item-quantity,
    .remove-item {
        grid-column: 2;
    }
    
    .cart-item-quantity {
        margin-top: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .main-content {
        margin-top: 70px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .checkout-form,
    .contact-form {
        padding: 30px 20px;
    }
    
    .admin-login {
        margin: 50px auto;
        padding: 30px 20px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: 8px; }
.shadow { box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

.text-primary { color: #D4AF37; }
.text-secondary { color: #4A4A6A; }
.text-dark { color: #121212; }
.text-light { color: #FAFAFA; }

.bg-primary { background-color: #D4AF37; }
.bg-secondary { background-color: #4A4A6A; }
.bg-light { background-color: #FAFAFA; }
.bg-white { background-color: #FAFAFA; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Shop Filters */
.shop-filters {
    background-color: #FAFAFA;
    padding: 30px 0;
    margin-top: 100px;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #121212;
}

.filter-group input,
.filter-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: end;
}

/* Products Grid */
.products {
    padding: 40px 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.products-sort select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.out-of-stock {
    background-color: #dc3545;
    color: white;
}

.product-badge.low-stock {
    background-color: #ffc107;
    color: #000;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #121212;
}

.product-price {
    font-size: 1.4em;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 10px;
}

.product-description {
    color: #4A4A6A;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #4A4A6A;
    margin-bottom: 15px;
}

.product-sku {
    font-weight: 500;
}

.product-stock {
    color: #28a745;
}

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

.pagination .btn {
    padding: 8px 12px;
    min-width: 40px;
    text-align: center;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
}

.no-products h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #121212;
}

.no-products p {
    color: #4A4A6A;
    margin-bottom: 20px;
}

/* Product Detail Page */
.breadcrumb {
    background-color: #FAFAFA;
    padding: 15px 0;
    margin-top: 100px;
}

.breadcrumb-nav {
    font-size: 14px;
    color: #4A4A6A;
}

.breadcrumb-nav a {
    color: #D4AF37;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #E8C25A;
    text-decoration: underline;
}

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

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

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

.main-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.product-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #D4AF37;
}

.product-detail-info h1 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #121212;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #4A4A6A;
}

.product-detail-price {
    font-size: 2.2em;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 15px;
}

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

.in-stock {
    color: #28a745;
    font-weight: 600;
}

.out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

.product-detail-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #121212;
}

.add-to-cart-form {
    margin-bottom: 30px;
}

.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.quantity-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1em;
}

.btn-disabled {
    background-color: #6c757d;
    color: white;
    cursor: not-allowed;
}

.message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

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

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

/* Share Buttons */
.share-buttons {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.share-buttons h4 {
    margin-bottom: 15px;
    color: #121212;
}

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

.share-btn {
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background-color: #3b5998;
    color: white;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn.whatsapp {
    background-color: #25d366;
    color: white;
}

.share-btn.copy {
    background-color: #6c757d;
    color: white;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* Product Tabs */
.product-tabs {
    background-color: #FAFAFA;
    padding: 40px 0;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
}

.tab-button {
    padding: 15px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #4A4A6A;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #E8C25A;
}

.tab-button.active {
    color: #D4AF37;
    border-bottom-color: #D4AF37;
}

.tab-panel {
    display: none;
}

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

.tab-panel h3 {
    margin-bottom: 20px;
    color: #121212;
}

.tab-panel ul {
    list-style: none;
    padding: 0;
}

.tab-panel li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.tab-panel li:last-child {
    border-bottom: none;
}

/* Related Products */
.related-products {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #121212;
}

/* Cart Page Styles */
.cart-section {
    padding: 40px 0;
    margin-top: 100px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #121212;
}

.empty-cart p {
    color: #4A4A6A;
    margin-bottom: 20px;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

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

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.item-details h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #121212;
}

.item-sku {
    font-size: 0.9em;
    color: #4A4A6A;
    margin-bottom: 5px;
}

.item-price {
    font-weight: 600;
    color: #D4AF37;
}

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

.quantity-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-form label {
    font-size: 0.9em;
    color: #4A4A6A;
}

.quantity-form input {
    width: 60px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.item-subtotal {
    text-align: right;
    font-weight: 600;
    color: #121212;
}

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

.cart-summary {
    background: #FAFAFA;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    color: #121212;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
}

.summary-row.total {
    border-top: 2px solid #D4AF37;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 1.1em;
}

.cart-actions {
    margin-top: 30px;
}

.cart-actions .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

/* Responsive Design for Shop and Product Pages */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .filters-form {
        grid-template-columns: 1fr;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .share-links {
        flex-direction: column;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1;
        min-width: 120px;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .item-image {
        justify-self: center;
    }
    
    .cart-summary {
        position: static;
    }
}
