/* Product Page - Index Theme Match */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.5;
}

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #f5d0d0 0%, #e4b5c8 100%);
    padding: 12px 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #000;
}

.top-banner-btn {
    background: #fff;
    border: 1px solid #000;
    padding: 8px 20px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.top-banner-btn:hover {
    background: #000;
    color: #fff;
}

/* Header */
.header-wrapper {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    max-width: 100%;
}

.brand-logos {
    display: flex;
    gap: 25px;
    align-items: center;
}

.brand-logo {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    letter-spacing: 0.5px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    display: inline-block;
    transition: all 0.3s;
}

.brand-logo:hover {
    opacity: 0.7;
}

.brand-logo.active {
    border-bottom: 2px solid #000;
}

.pink-text {
    font-size: 20px;
    font-weight: 700;
    color: #ff1493;
    font-family: Arial, sans-serif;
}

.mobile-menu-btn {
    display: none !important;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icon {
    color: #000;
    font-size: 18px;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s;
}

.header-icon:hover {
    opacity: 0.6;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo Area */
.logo-area {
    text-align: center;
    padding: 30px 0 25px;
}

.main-logo {
    display: inline-block;
    transition: opacity 0.3s;
    text-decoration: none;
}

.main-logo h1 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 10px;
    color: #000;
    margin: 0 0 15px 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.main-logo:hover {
    opacity: 0.8;
}

.search-box {
    margin-top: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #f9f9f9;
}

.search-box input:focus {
    border-color: #999;
    background: #fff;
}

/* Navigation */
.main-nav {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.nav-container {
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 45px;
    padding: 0;
    margin: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 16px 0;
    display: block;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Product Detail Section */
.product-detail {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    min-height: 600px;
}

@media (min-width: 1400px) {
    .product-layout {
        grid-template-columns: 1fr 800px;
    }
}

/* Product Gallery - Swipeable */
.product-gallery {
    position: relative;
    background: #fafafa;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.gallery-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
    will-change: transform;
    cursor: grab;
}

.gallery-track:active {
    cursor: grabbing;
}

.gallery-item {
    min-width: 100%;
    width: 100%;
    height: auto;
    flex-shrink: 0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-nav:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.2);
}

.gallery-indicator.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Product Details */
.product-details {
    padding: 40px;
    overflow-y: auto;
    max-height: 100vh;
}

.product-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #000;
}

.product-meta {
    margin-bottom: 15px;
}

.product-code {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.old-price {
    font-size: 18px;
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
}

.current-price {
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.discount-badge {
    padding: 6px 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

/* Color Selection */
.color-selection {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.color-header h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.color-header .selected-color-name {
    font-weight: 700;
    color: #000;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-option {
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.color-option:hover .color-swatch {
    transform: scale(1.1);
    border-color: #000;
}

.color-option.active .color-swatch {
    border: 2px solid #000;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

/* Size Selection Buttons - VS Original Style */
.size-selection {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.size-header h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
}

.selected-size-text {
    font-weight: 700;
    color: #000;
}

.size-guide {
    font-size: 12px;
    color: #000;
    text-decoration: underline;
    font-weight: 400;
}

.size-guide:hover {
    opacity: 0.7;
}

.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-option {
    padding: 14px 28px;
    background: #fff;
    border: 2px solid #d8d8d8;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 70px;
    text-align: center;
    color: #000;
    user-select: none;
}

.size-option:hover:not(.disabled):not(.selected) {
    border-color: #000;
    background: #fafafa;
}

.size-option.selected {
    background: #f4c6cf !important;
    color: #000 !important;
    border-color: #f4c6cf !important;
    font-weight: 600 !important;
}

.size-option.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #e5e5e5;
    position: relative;
}

.size-option.disabled::before {
    content: '';
    position: absolute;
    left: 10%;
    top: 50%;
    width: 80%;
    height: 2px;
    background: #ccc;
    transform: translateY(-50%);
}

.size-stock-message {
    margin-top: 15px;
    padding: 10px 15px;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    color: #856404;
    font-size: 12px;
}

.size-stock-message.out-of-stock {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

/* Quantity */
.quantity-section {
    margin-bottom: 20px;
}

.quantity-section h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #000;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #ddd;
}

.qty-btn {
    width: 45px;
    height: 45px;
    background: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 60px;
    height: 45px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* Add to Cart */
.add-to-cart-form {
    margin-bottom: 25px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 18px;
    background: #f4c6cf;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: #e5aab9;
}

.add-to-cart-btn:disabled {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
}

/* Cart Popup */
.cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s;
}

.cart-popup {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    text-align: center;
    animation: slideDown 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cart-popup-header h2 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #000;
    margin: 0;
    text-transform: uppercase;
}

.cart-popup-body {
    margin: 20px 0 30px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.cart-popup-body p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.cart-popup-footer {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.btn-continue,
.btn-checkout {
    padding: 16px 30px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-continue {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-continue:hover {
    background: #000;
    color: #fff;
}

.btn-checkout {
    background: #f4c6cf;
    color: #000;
}

.btn-checkout:hover {
    background: #e5aab9;
}

.cart-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.cart-popup-close:hover {
    background: #f5f5f5;
    color: #000;
}

/* Accordion */
.product-accordion {
    margin-top: 30px;
}

.accordion-item {
    border-bottom: 1px solid #e5e5e5;
}

.accordion-header {
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    transition: all 0.3s;
}

.accordion-header:hover {
    opacity: 0.7;
}

.accordion-header span {
    text-align: left;
}

.accordion-icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 0 0 20px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.vs-footer-content, .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.vs-footer-col h4, .footer-col h4 {
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vs-footer-col ul, .footer-col ul {
    list-style: none;
}

.vs-footer-col ul li, .footer-col ul li {
    margin-bottom: 12px;
}

.vs-footer-col ul li a, .footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.vs-footer-col ul li a:hover, .footer-col ul li a:hover {
    color: #fff;
}

.vs-social-links, .social-links {
    display: flex;
    gap: 15px;
}

.vs-social-links a, .social-links a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

.vs-social-links a:hover, .social-links a:hover {
    color: #ccc;
}

.vs-footer-bottom, .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }
    
    .product-detail {
        padding: 0;
    }
    
    .product-gallery {
        min-height: 500px;
    }
    
    .product-details {
        padding: 30px 20px;
        max-height: none;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 10px 15px;
    }
    
    .main-logo h1 {
        font-size: 28px;
        letter-spacing: 5px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .current-price {
        font-size: 20px;
    }
    
    .product-gallery {
        min-height: 450px;
    }
    
    .gallery-item img {
        max-height: 600px;
    }
    
    .gallery-nav {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .gallery-prev {
        left: 5px;
    }
    
    .gallery-next {
        right: 5px;
    }
    
    .gallery-indicators {
        bottom: 10px;
        gap: 6px;
    }
    
    .gallery-indicator {
        width: 6px;
        height: 6px;
    }
    
    .gallery-indicator.active {
        width: 18px;
    }
    
    .product-details {
        padding: 20px 15px;
    }
}
