/* ==========================================================================
   CSS Variables & Theme
   ========================================================================== */
   :root {
    /* Orange and White Theme */
    --primary: #FF5C00;
    --primary-light: #FF8540;
    --primary-dark: #CC4A00;
    --primary-glow: rgba(255, 92, 0, 0.3);
    
    --white: #FFFFFF;
    --background: #FAFAFA;
    --bg-light: #F4F5F7;
    
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --text-light: #999999;
    
    --border: #EEEEEE;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects & Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 8px 24px var(--primary-glow);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

button, input {
    font-family: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: transparent;
}

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

.text-orange {
    color: var(--primary);
}

.section-padding {
    padding: 80px 5%;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 92, 0, 0.4);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 20px 5%;
}

.navbar.scrolled {
    padding: 15px 5%;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-size: 16px;
}

.logo-img {
    width: 150px;
    height: auto;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-bar input {
    flex: 1;
    background: transparent;
    padding: 8px;
    font-size: 14px;
}

.search-bar button {
    color: var(--text-muted);
    font-size: 16px;
    padding: 8px;
}

.search-bar button:hover {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
}

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

.icon-btn {
    position: relative;
    font-size: 20px;
    color: var(--text-main);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg-light);
}

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

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 160px 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    max-width: 600px;
}

.badge-pill {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-glow);
    color: var(--primary-dark);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item h3 {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    margin-bottom: 0;
}

.hero-image-container {
    position: relative;
    height: 600px;
    border-radius: var(--radius-lg);
    background: linear-gradient(45deg, #f3f4f6, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-main-img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.floating-card-1 {
    top: 15%;
    left: -1%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    right: -1%;
    animation-delay: 2s;
}

.glass-card img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.glass-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    max-width: 1400px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 36px;
}

.view-all {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all:hover {
    gap: 12px;
}

.center-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ==========================================================================
   Categories
   ========================================================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

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

.cat-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-glow);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.category-card:hover .cat-icon {
    background-color: var(--primary);
    color: var(--white);
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================================================
   Products
   ========================================================================== */
.filter-tabs {
    display: flex;
    gap: 16px;
}

.tab-btn {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-main);
    background-color: var(--bg-light);
}

.tab-btn.active {
    background-color: var(--text-main);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

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

.product-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #FF3B30;
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: var(--transition);
}

.wishlist-btn:hover {
    color: #FF3B30;
}

.product-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    display: flex;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-overlay {
    bottom: 0;
}

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

.product-info {
    padding: 20px;
}

.vendor-link {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
}

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

.product-title {
    font-size: 16px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: var(--primary);
}

.rating {
    color: #FFC107;
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating span {
    color: var(--text-muted);
    margin-left: 4px;
}

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

.current-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

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

/* ==========================================================================
   Vendors
   ========================================================================== */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.vendor-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.vendor-cover {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.vendor-profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--white);
    margin: -40px auto 0;
    overflow: hidden;
    position: relative;
    background: var(--white);
}

.vendor-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-info {
    padding: 20px 24px 32px;
    text-align: center;
}

.vendor-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.vendor-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: var(--border);
    border-radius: 50%;
}

.vendor-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ==========================================================================
   Call To Action
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 100px 5%;
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 40px;
    margin-bottom: 24px;
}

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

.cta-content .btn {
    background: var(--white);
    color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #111111;
    color: #ffffff;
    padding: 80px 5% 30px;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 24px;
}

.footer-col p {
    color: #aaaaaa;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #222222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
}

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

.footer-col ul li a {
    color: #aaaaaa;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    background: #222222;
    border-radius: var(--radius-pill);
    padding: 4px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    padding: 12px 20px;
    color: var(--white);
}

.newsletter-form .btn {
    border-radius: var(--radius-pill);
    padding: 12px 24px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid #333333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaaaaa;
}

.payment-methods {
    display: flex;
    gap: 16px;
    font-size: 24px;
}

/* ==========================================================================
   Cart Sidebar Overlay
   ========================================================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.cart-sidebar {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.cart-overlay.active .cart-sidebar {
    transform: translateX(-450px);
}

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

.close-cart {
    font-size: 20px;
    color: var(--text-muted);
}

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

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

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

.cart-item img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

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

.cart-item-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    width: fit-content;
}

.qty-control button {
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--text-main);
}

.qty-control input {
    width: 40px;
    text-align: center;
    font-weight: 600;
}

.remove-item {
    color: #FF3B30;
    background: #FFF1F0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background: #FF3B30;
    color: var(--white);
}

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

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero p {
        margin-inline: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

}

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 5%;
        box-shadow: var(--shadow-md);
        gap: 16px;
        align-items: flex-start;
        display: none;
        border-top: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .btn {
        width: 100%;
    }
    
    .search-bar {
        display: none;
    }
    
    .section-padding {
        padding: 60px 5%;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cart-sidebar {
        right: -100%;
        width: 100%;
    }
    .cart-overlay.active .cart-sidebar {
        transform: translateX(-100%);
    }

}

/* ==========================================================================
   Product Details Page
   ========================================================================== */
.mt-nav {
    margin-top: 80px;
}

.breadcrumb-container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: var(--border);
}

.breadcrumb li a {
    color: var(--text-main);
    font-weight: 500;
}

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

.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.thumbnail-list {
    display: flex;
    gap: 16px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active, .thumbnail:hover {
    border-color: var(--primary);
    opacity: 1;
}

.product-info-detailed {
    display: flex;
    flex-direction: column;
}

.product-title-large {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.sku {
    color: var(--text-muted);
    font-size: 14px;
}

.stock-status {
    font-size: 14px;
    font-weight: 600;
}

.in-stock {
    color: #34C759;
}

.price-box-large {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.price-box-large .current-price {
    font-size: 36px;
}

.price-box-large .old-price {
    font-size: 20px;
}

.save-badge {
    background-color: #FFF1F0;
    color: #FF3B30;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
}

.product-short-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.product-variations {
    margin-bottom: 32px;
}

.variation-group h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.color-options {
    display: flex;
    gap: 12px;
}

.color-option {
    cursor: pointer;
    position: relative;
}

.color-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.color-swatch {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 2px;
    background-clip: content-box;
    transition: var(--transition);
}

.color-option input:checked ~ .color-swatch {
    border-color: var(--primary);
}

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

.qty-control.large {
    height: 56px;
}

.qty-control.large button {
    width: 40px;
    font-size: 20px;
}

.qty-control.large input {
    width: 60px;
    font-size: 18px;
}

.add-to-cart-main {
    flex: 1;
    height: 56px;
}

.extra-actions {
    margin-bottom: 40px;
}

.product-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.product-features-list li i {
    color: var(--primary);
    font-size: 18px;
}

/* Tabs */
.product-tabs {
    border-top: 1px solid var(--border);
}

.tab-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.tab-header {
    flex: 1;
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border-bottom: 3px solid transparent;
}

.tab-header.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #FFFAF5;
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.specs-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    width: 30%;
    color: var(--text-muted);
}

.reviews-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.average-rating h2 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 8px;
}

.review-item {
    margin-bottom: 32px;
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Product Responsive */
@media (max-width: 992px) {
    .product-details-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-features-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Shop Page
   ========================================================================== */
.shop-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-widget {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.filter-title {
    font-size: 18px;
    margin-bottom: 16px;
}

.filter-list li {
    margin-bottom: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
}

.custom-checkbox:hover {
    color: var(--primary);
}

.custom-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

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

.price-inputs input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
}

.rating-stars {
    color: #FFC107;
    font-size: 14px;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    outline: none;
    font-family: inherit;
}

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 600;
}

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

@media (max-width: 992px) {
    .shop-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-grid, .vendor-grid, .category-grid, .shop-product-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .price-box-large .current-price {
        font-size: 28px;
    }
    
    .product-gallery .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .footer-top {
        gap: 30px;
    }
}
