/* Single Product Template Styles */

/* Main container */
.single-product-detail {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Combo product layout */
.combo-title {
    font-size: 28px;
    margin: 0 0 20px;
    color: #333;
}

.combo-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.combo-items {
    display: grid;
    gap: 30px;
}

.combo-item {
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.combo-item-grid {
    display: grid;
    gap: 30px;
}

.combo-item-grid.has-images {
    grid-template-columns: 1fr 1fr;
}

/* Combo gallery */
.combo-main-image {
    position: relative;
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

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

.combo-gallery-prev,
.combo-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

.combo-gallery-prev {
    left: 8px;
}

.combo-gallery-next {
    right: 8px;
}

.combo-thumbnails {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.combo-thumb-selector {
    border: 2px solid #eee;
    padding: 3px;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
}

.combo-thumb-selector.active {
    border-color: #b48c72;
}

.combo-thumb-selector img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

/* Combo color selector */
.combo-color-selector {
    margin-top: 16px;
}

.combo-color-label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
    color: #333;
}

.combo-color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.combo-color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.combo-color-option.active {
    border-color: #b48c72;
}

.combo-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Combo child info */
.combo-child-info h2 {
    font-size: 20px;
    margin: 0 0 16px;
    color: #333;
}

.combo-child-info h2 span {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 8px;
}

.combo-price {
    font-size: 24px;
    color: #b48c72;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Combo variant selectors */
.combo-variant-group {
    margin-bottom: 16px;
}

.combo-variant-label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.combo-variant-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.combo-variant-option {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.combo-variant-option:hover {
    border-color: #b48c72;
}

/* Combo actions */
.combo-actions {
    margin-top: 30px;
}

.combo-actions .btn-consult {
    width: 100%;
    background: #b48c72;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.combo-actions .btn-consult:hover {
    background: #9a7560;
}

.combo-contact {
    text-align: center;
    margin-top: 12px;
    color: #666;
    font-size: 14px;
}

/* Standard product layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Product gallery */
.main-product-image {
    position: relative;
    margin-bottom: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

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

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.thumb-selector {
    border: 2px solid #eee;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
}

.thumb-selector.active {
    border-color: #b48c72;
}

.thumb-selector img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* Product info */
.product-info h1 {
    font-size: 24px;
    margin: 0 0 12px;
    color: #333;
}

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

#current-price {
    font-size: 32px;
    color: #b48c72;
    font-weight: 600;
}

#current-price span {
    font-size: 18px;
    color: #999;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}



.product-meta-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    margin-bottom: 8px;
    font-size: 14px;
}

.product-meta-label {
    color: #666;
}

.product-meta-value {
    color: #333;
}

/* Color selector */
.color-selector {
    margin-bottom: 24px;
}

.color-selector-label {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

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

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.color-option.active {
    border-color: #b48c72;
}

.color-option:hover {
    border-color: #b48c72;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Variant selectors */
.variant-selectors {
    margin-bottom: 24px;
}

.variant-group {
    margin-bottom: 20px;
}

.variant-group-label {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

.variant-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-option {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.variant-option:hover {
    border-color: #b48c72;
}

/* Product actions */
.product-actions {
    margin-top: 30px;
}

.product-actions .btn-consult {
    width: 100%;
    background: #b48c72;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.product-actions .btn-consult:hover {
    background: #9a7560;
}

.product-contact {
    text-align: center;
    margin-top: 12px;
    color: #666;
    font-size: 14px;
}

/* Product description */
.product-description {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .combo-item-grid.has-images {
        grid-template-columns: 1fr !important;
    }

    .thumb-selector img {
        width: 60px !important;
        height: 60px !important;
    }
}
