main {
    padding-top: 140px;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 5rem;
    padding-right: 5rem;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

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

.thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumb {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

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

.thumb.active,
.thumb:hover {
    border-color: var(--primary);
}

.product-info h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.variant-colors {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.color-option {
    padding-left: 10px;
    padding-right: 10px;
    width: auto;
    height: 36px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    text-align: center;
    justify-content: center;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.color-option.active,
.color-option:hover {
    border-color: var(--primary);
    transform: scale(1.15);
}

.sizes {
    margin: 2rem 0;
}

.sizes label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.size-btn {
    padding: 0.8rem 1.4rem;
    border: 1px solid var(--muted);
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

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

.quantity {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.qty-input {
    width: 80px;
    padding: 0.9rem;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--muted);
    border-radius: 8px;
    color: white;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    flex: 1;
    padding: 1.1rem 2.5rem;
    background: var(--primary);
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s;
    font-size: 1.1rem;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
    flex: 1;
    padding: 1.1rem 2.5rem;
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #000;
}

.tabs {
    margin: 4rem 0;
}

.tab-headers {
    display: flex;
    gap: 2.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 2rem;
}

.tab-header {
    padding-bottom: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-header.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.tab-content {
    display: none;
}

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

@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .product-container {
        gap: 2.5rem;
    }

    .product-info h1 {
        font-size: 2.2rem;
    }

    .price {
        font-size: 1.9rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .thumbnails {
        justify-content: center;
    }
}

.text-danger {
    color: #e63946 !important;
}
