/* ═══════════════════════════════════════════════
   PRODUCTO — CAPO'S LUXURY
   css/producto.css
   ═══════════════════════════════════════════════ */

.container-main {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 24px;
}

.product-layout {
    margin-bottom: 80px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ── Galería ── */
.product-image-column {
    position: sticky;
    top: 120px;
}

.gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-main {
    aspect-ratio: 4/5;
    background: #f9f9f9;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: opacity 0.4s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb {
    width: 80px;
    aspect-ratio: 1/1;
    background: #f9f9f9;
    border: 1px solid #eee;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    flex-shrink: 0;
}

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

.thumb.active {
    border-color: var(--gold);
}

/* ── Info ── */
.product-info-column {
    padding-top: 20px;
}

.breadcrumb-lux {
    font-size: var(--fs-tiny);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: 30px;
    color: #999;
}

.breadcrumb-lux a { color: #999; text-decoration: none; transition: color 0.3s; }
.breadcrumb-lux a:hover { color: var(--primary); }
.breadcrumb-lux .sep { margin: 0 10px; }
.breadcrumb-lux .current { color: var(--primary); font-weight: 700; }

.product-brand {
    font-size: var(--fs-tiny);
    text-transform: uppercase;
    letter-spacing: var(--ls-display);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 15px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--brand);
    font-weight: 400;
}

.product-price {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    color: var(--brand);
    margin-bottom: 40px;
    font-weight: 700;
}

.desc-label {
    display: block;
    font-size: var(--fs-tiny);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--brand);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.product-description p {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--muted);
    margin-bottom: 40px;
}

/* Colores */
.colors-section {
    margin-bottom: 40px;
}

.color-swatches {
    display: flex;
    gap: 12px;
}

.swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #eee;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.swatch:hover { transform: scale(1.1); }
.swatch.selected { border: 2px solid var(--gold); }

/* Acciones */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px;
}

.btn-whatsapp-lux {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    text-decoration: none;
    font-size: var(--btn-font-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    border-radius: var(--btn-radius);
    transition: var(--transition);
}

.btn-whatsapp-lux svg { width: 20px; height: 20px; fill: currentColor; }
.btn-whatsapp-lux:hover { 
    background: #128C7E; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-secondary-lux {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    text-decoration: none;
    font-size: var(--btn-font-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    border-radius: var(--btn-radius);
    transition: var(--transition);
}

.btn-secondary-lux:hover {
    background: #333;
    transform: translateY(-2px);
}

/* ── Relacionados ── */
.related-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.related-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    text-align: center;
    margin-bottom: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Reutilizar estilos de tienda para las cards de relacionados */
.related-grid .product-item { text-align: center; text-decoration: none; }
.related-grid .item-img-link { aspect-ratio: 4/5; background: #f9f9f9; display: block; overflow: hidden; }
.related-grid .item-img-link img { width: 100%; height: 100%; object-fit: contain; padding: 15px; }
.related-grid .item-brand { font-size: 9px; color: var(--gold); letter-spacing: 2px; margin-top: 15px; text-transform: uppercase; }
.related-grid .item-name a { color: var(--dark); text-decoration: none; font-size: 14px; display: block; margin: 5px 0; }
.related-grid .item-price { font-weight: 700; font-size: 16px; }

/* Responsive */
@media (max-width: 991px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-image-column { position: static; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
