/* Produto Detalhe Styles */

.product-detail {
    padding: 2rem 1.5rem;
    max-width: 1000px;
    margin: 2.5rem auto 3rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.product-gallery {
    flex: 1 1 480px;
    min-width: 320px;
    max-width: 520px;
}

.main-image {
    width: 100%;
    background: #f9f8f4;
    border-radius: 24px;
    overflow: hidden;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.thumbnail-images {
    display: flex;
    gap: 0.85rem;
    margin-top: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.thumbnail {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.thumbnail:hover {
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: #000;
}

.product-info {
    flex: 1 1 40px;
    min-width: 320px;
    padding: 1.6rem 1.5rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 30px rgba(0,0,0,0.06);
}

.product-info .color-selector,
.product-info .size-selector,
.product-info .quantity-selector {
    margin-bottom: 1.25rem;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.03em;
}

.price {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.selector-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.65rem;
    font-size: 1rem;
    color: #333;
}

.color-options, .size-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.color-btn, .size-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.25s ease;
    font-weight: 600;
    min-width: 72px;
    text-align: center;
}

.color-btn.active, .size-btn.active {
    border-color: #000;
    background: #000;
    color: white;
}

.quantity-selector {
    margin-bottom: 1.75rem;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

#quantityInput {
    width: 70px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 12px;
}

.add-to-cart-btn, .buy-now-btn {
    width: 100%;
    padding: 1rem 1.15rem;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.04em;
}

.add-to-cart-btn {
    background: #000;
    color: white;
}

.add-to-cart-btn:hover {
    background: hsl(0, 0%, 42%);
    transform: translateY(-1px);
}

.buy-now-btn {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.buy-now-btn:hover {
    background: #000;
    color: white;
    transform: translateY(-1px);
}

.product-details {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.product-description,
.product-reviews {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-description h2,
.product-reviews h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.product-description p {
    font-size: 1rem;
    line-height: 1.9;
    color: #4d4d4d;
    margin-bottom: 1rem;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviews-header h2 {
    margin: 0;
}

.review-summary {
    color: #6a6a6a;
    font-size: 0.95rem;
    max-width: 45rem;
}

.reviews-list {
    display: grid;
    gap: 1rem;
}

.review-card {
    background: #faf8f3;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.review-meta strong {
    display: block;
    font-weight: 700;
}

.review-date {
    color: #7a7a7a;
    font-size: 0.9rem;
    margin-left: 0.35rem;
}

.review-rating {
    color: #c9a962;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.review-title {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.review-text {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #454545;
    margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .product-detail {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .product-container {
        flex-direction: column;
        gap: 1.8rem;
    }

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

    .product-info {
        padding: 1.4rem;
    }
}

@media (max-width: 768px) {
    .product-info h1 {
        font-size: 1.75rem;
    }

    .color-btn, .size-btn {
        min-width: auto;
        padding: 0.65rem 1rem;
    }

    .quantity-controls {
        gap: 0.5rem;
    }

    .quantity-btn,
    #quantityInput {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    .product-info h1 {
        font-size: 1.75rem;
    }

    .color-btn, .size-btn {
        min-width: auto;
        padding: 0.65rem 1rem;
    }

    .quantity-controls {
        gap: 0.5rem;
    }

    .quantity-btn,
    #quantityInput {
        width: 42px;
        height: 42px;
    }
}