:root {
    --primary: #FF2A70;
    --secondary: #00D4FF;
    --dark: #0A0E17;
    --dark-light: #151B29;
    --accent: #9D00FF;
    --light: #E8F1FF;
    --text: #FFFFFF;
    --text-secondary: #A0AEC0;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --shadow: 0 10px 30px rgba(255, 42, 112, 0.15);
    --success: #00C851;
    --whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.merch-header {
    background-color: var(--dark-light);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 42, 112, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.merch-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-home {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-home:hover {
    color: var(--secondary);
}

.merch-logo img {
    height: 40px;
    width: auto;
}

.merch-container {
    padding: 40px 0;
    min-height: calc(100vh - 80px);
}

.merch-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.merch-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-image {
    width: 100%;
    height: 100%;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.thumbnail-slider {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnails-container {
    display: flex;
    gap: 15px;
    padding: 10px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--primary);
}

.thumbnail.active {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag.bestseller {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid #FFC107;
}

.tag.limited {
    background: rgba(255, 42, 112, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.tag.preorder {
    background: rgba(0, 212, 255, 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-header {
    margin-bottom: 10px;
}

.product-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #FFD700;
    font-size: 1.1rem;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.price-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.current-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.discount-badge {
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.original-price {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price-note {
    color: var(--secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-description p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.size-selection {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.size-selection h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}

.size-guide-link a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.size-guide-link a:hover {
    text-decoration: underline;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 70px;
    text-align: center;
    font-size: 1rem;
}

.size-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

.size-btn.active {
    background: var(--gradient);
    color: white;
    border-color: var(--primary);
}

.specifications {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.specifications h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.spec-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.spec-content p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.spec-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.features {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.features h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--success);
    font-size: 0.9rem;
}

.whatsapp-checkout {
    padding: 30px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 15px;
    border: 2px solid var(--whatsapp);
    margin-top: 20px;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-badge {
    background: var(--whatsapp);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkout-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.checkout-info p {
    color: var(--text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-number {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--whatsapp);
    font-weight: 600;
    font-size: 1.1rem;
}

.order-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.order-summary h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.summary-item.total {
    border-bottom: none;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 5px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
}

.whatsapp-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--whatsapp);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-instruction {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--dark-light);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.modal-header {
    padding: 20px 30px;
    background: var(--gradient);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 30px;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.size-table th {
    background: var(--gradient);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.size-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.size-table tr:last-child td {
    border-bottom: none;
}

.merch-footer {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .merch-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .merch-title {
        font-size: 1.8rem;
    }
    
    .main-image-container {
        height: 400px;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-image-container {
        height: 350px;
    }
    
    .thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .product-name {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
}