/* =========================================
   PÁGINA DE DETALLE (KOKORO)
   ========================================= */

/* Breadcrumbs Cuadrados */
.kk-breadcrumb-container {
    background-color: #f8f8f8;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.kk-breadcrumb {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    gap: 10px;
}

.kk-breadcrumb li a {
    text-decoration: none;
    color: #888;
}

.kk-breadcrumb li.active {
    color: var(--soft-wine);
    font-weight: 600;
}

.kk-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    color: #ccc;
}

/* Galería */
.kk-main-image-wrapper {
    border: 1px solid #eee;
    background-color: #fff;
}

.kk-thumb {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #eee;
    cursor: pointer;
    transition: border-color 0.3s;
}

.kk-thumb.active {
    border: 2px solid var(--soft-wine);
}

/* Columna de Compra Sticky */
@media (min-width: 992px) {
    .kk-product-sticky-info {
        position: sticky;
        top: 100px; /* Ajusta según el alto de tu navbar */
    }
}

.kk-product-brand {
    color: var(--soft-wine);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.kk-product-main-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: var(--contrast);
}

.kk-product-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.kk-product-rating span {
    color: #888;
    margin-left: 10px;
}

/* Precios */
.kk-main-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--soft-wine);
}

.kk-old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 15px;
}

/* Controles de Selección */
.kk-label-sm {
    font-size: 0.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

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

.kk-color-box {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.kk-color-box.active {
    border: 3px solid var(--contrast);
    outline: 2px solid white;
    outline-offset: -5px;
}

/* Acciones de Compra */
.kk-purchase-actions {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.kk-qty-selector {
    display: flex;
    border: 1px solid #ddd;
}

.kk-qty-selector button {
    width: 50px;
    background: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.kk-qty-selector input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    font-weight: 600;
}

.kk-btn-add-cart {
    flex-grow: 1;
    background-color: var(--contrast);
    color: white;
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.kk-btn-add-cart:hover {
    background-color: var(--soft-wine);
}

/* Tabs de información */
.kk-info-tab {
    border-bottom: 1px solid #eee;
}

.kk-info-btn {
    width: 100%;
    text-align: left;
    padding: 15px 0;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kk-info-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.9rem;
    color: #666;
}

.kk-info-content.active {
    max-height: 500px;
    padding-bottom: 20px;
}

/* Trust Badges */
.kk-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
}

.kk-trust-item i {
    color: var(--soft-wine);
    font-size: 1.1rem;
}

.kk-cart-toast {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
}
.kk-cart-toast--success { background-color: #d4edda; color: #155724; }
.kk-cart-toast--error   { background-color: #f8d7da; color: #721c24; }