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

:root {
    --primary: #000;
    --secondary: #fff;
    --accent: #f5f5f5;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: var(--secondary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    font-size: 11px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.nav-icons a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    margin-top: 90px;
    position: relative;
    height: 80vh;
    overflow: hidden;
    background: #111;
}

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

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
}

.hero-title {
    font-size: 120px;
    font-weight: 900;
    letter-spacing: -3px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* Marquee */
.marquee {
    background: var(--primary);
    color: var(--secondary);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-right: 50px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Headers */
.section-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.section-header h2 {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Category Cards */
.categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 5% 60px;
}

.category-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    background: #e0e0e0;
}

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

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

.category-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--secondary);
    padding: 15px 25px;
}

.category-overlay h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 5% 60px;
}

.product-card {
    cursor: pointer;
    display: block;
}

.product-image {
    position: relative;
    background: var(--accent);
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 15px;
    min-height: 300px;
}

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

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    text-transform: uppercase;
}

.product-info h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-info .price {
    font-size: 13px;
    color: var(--text-light);
}

.product-info .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px 5%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature h4 {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.feature p {
    font-size: 11px;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--secondary);
    padding: 60px 5% 30px;
}

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

.footer-col h4 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    font-size: 13px;
    color: #999;
    transition: var(--transition);
}

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

.footer-col p {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #333;
    background: transparent;
    color: var(--secondary);
    font-size: 13px;
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #ccc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #666;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 80px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 50px;
    }
    
    .categories {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Placeholder for empty product slots */
.product-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #ccc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    margin-top: 90px;
}

.product-detail-left {
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: sticky;
    top: 90px;
    height: calc(100vh - 90px);
}

/* ─── Product Gallery ───────────────────────────────── */
.product-gallery {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f0f0f0;
    cursor: crosshair;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.zoom-lens {
    display: none;
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.3);
    pointer-events: none;
    z-index: 10;
}

.zoom-result {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 15px);
    width: 400px;
    height: 400px;
    border: 1px solid var(--border);
    background-repeat: no-repeat;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 100;
    pointer-events: none;
}

.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.gallery-thumb-item {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.2s;
}

.gallery-thumb-item:hover {
    opacity: 0.85;
}

.gallery-thumb-item.active {
    border-color: var(--primary);
    opacity: 1;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Mobile Gallery Swipe ──────────────────────────── */
.gallery-swipe-container {
    display: none;
}

.product-detail-right {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-category {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-detail-name {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

.product-detail-price {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
}

.product-detail-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 450px;
}

.product-detail-sizes {
    margin-bottom: 25px;
}

.size-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 500;
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    background: transparent;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

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

.whatsapp-order-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 16px 40px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin: 30px 0;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-order-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.product-detail-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.product-detail-info-list p {
    font-size: 13px;
    color: var(--text-light);
}

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

    .product-detail-left {
        position: relative;
        top: 0;
        height: auto;
        padding: 0;
        background: none;
    }

    .product-gallery {
        max-width: 100%;
    }

    .product-gallery-main {
        aspect-ratio: 3/4;
    }

    .zoom-lens,
    .zoom-result {
        display: none !important;
    }

    .product-gallery-thumbs {
        padding: 10px 20px;
        gap: 6px;
    }

    .gallery-thumb-item {
        width: 56px;
        height: 56px;
    }

    .product-detail-right {
        padding: 30px 20px;
    }

    .product-detail-name {
        font-size: 28px;
    }

    /* Mobile swipe carousel */
    .gallery-swipe-container {
        display: block;
        position: relative;
        width: 100%;
        aspect-ratio: 3/4;
        overflow: hidden;
        touch-action: pan-y;
    }

    .gallery-swipe-track {
        display: flex;
        height: 100%;
        transition: transform 0.3s ease;
    }

    .gallery-swipe-slide {
        min-width: 100%;
        height: 100%;
    }

    .gallery-swipe-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-swipe-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        padding: 12px 0;
    }

    .gallery-swipe-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #ccc;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s;
    }

    .gallery-swipe-dot.active {
        background: var(--primary);
    }

    .product-gallery-main {
        display: none;
    }

    .product-gallery-thumbs {
        display: none;
    }
}
