/* Product Page Styles */
.product-page {
    padding: 40px 0 80px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumb.active,
.thumb:hover {
    border-color: #2C5F2D;
}

/* Product Info */
.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-price {
    margin-bottom: 20px;
}

.current-price,
.sale-price {
    font-size: 24px;
    font-weight: 600;
    color: #2C5F2D;
}

.regular-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Form */
.product-form {
    margin-bottom: 30px;
}

.variant-selector,
.quantity-selector {
    margin-bottom: 25px;
}

.variant-selector label,
.quantity-selector label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: #1a1a1a;
}

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

.size-option {
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-option span {
    display: block;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.size-option input:checked + span {
    background: #2C5F2D;
    color: white;
    border-color: #2C5F2D;
}

.size-option:hover span {
    border-color: #2C5F2D;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}

.qty-control button {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.qty-control input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
}

.btn-add-cart {
    width: 100%;
    padding: 16px;
    background: #2C5F2D;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-cart:hover {
    background: #1e4520;
}

/* Meta */
.product-meta {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.meta-label {
    font-weight: 500;
    color: #1a1a1a;
}

.meta-value {
    color: #666;
}

/* Details */
.product-details h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.details-content {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* Reviews Fullwidth */
.product-reviews-fullwidth {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.reviews-header h3 {
    font-size: 20px;
    color: #1a1a1a;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-summary .stars {
    color: #D4A574;
    font-size: 18px;
}

.reviews-summary .rating {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 18px;
}

.reviews-summary .count {
    color: #666;
    font-size: 14px;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.review-list {
    border-right: 1px solid #eee;
    padding-right: 40px;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.reviewer {
    font-weight: 600;
    color: #1a1a1a;
}

.review-stars {
    color: #D4A574;
    font-size: 14px;
}

.review-date {
    color: #999;
    font-size: 13px;
    margin-left: auto;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.review-form-section {
    padding-left: 20px;
}

.review-form-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.review-form-simple .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.review-form-simple .form-group {
    margin-bottom: 12px;
}

.review-form-simple input,
.review-form-simple select,
.review-form-simple textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.review-form-simple textarea {
    resize: vertical;
}

.btn-submit-review {
    background: transparent;
    color: #2C5F2D;
    border: 2px solid #2C5F2D;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit-review:hover {
    background: #2C5F2D;
    color: white;
}

@media (max-width: 768px) {
    .reviews-layout {
        grid-template-columns: 1fr;
    }
    .review-list {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }
    .review-form-section {
        padding-left: 0;
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-title {
        font-size: 24px;
    }
}
