/* ================================================
   d'Cráneo - Estilos de Productos y Categorías
   Archivo separado para mejor organización
================================================ */

/* ========================
   CATEGORÍAS / COLECCIONES
======================== */
.single-category {
    overflow: hidden;
    border-radius: 20px;
}

.single-category img {
    border-radius: 20px;
    transition: transform 0.3s ease-out;
}

.single-category:hover img {
    transform: scale(1.05);
}

/* ========================
   PRODUCTOS
======================== */
.product-thumb {
    overflow: hidden;
    border-radius: 15px;
}

.product-thumb img {
    border-radius: 15px;
}

/* ========================
   PRODUCTOS - TOP SELLING
======================== */
.single-product {
    overflow: hidden;
}

.single-product .product-thumb {
    border-radius: 15px;
}

/* ========================
   AJUSTES GENERALES
======================== */
/* Puedes modificar los valores de border-radius aquí:
   - 15px = suave
   - 20px = más redondeado
   - 30px = muy redondeado
*/

/* ========================
   ESTILOS COMPARTIDOS DE PRODUCTO (Modal & Detalles)
======================== */
.dc-product-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--dc-dark-brown);
    margin-bottom: 10px;
}

.dc-product-price {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--dc-gold);
    margin-bottom: 20px;
}

.dc-product-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dc-dark-brown);
    opacity: 0.9;
    margin-bottom: 25px;
}

/* ========================
   SELECTORES (Color / Talla)
======================== */
.dc-selector-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--dc-dark-brown);
}

.dc-color-list {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dc-color-option {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    /* default border */
    transition: all 0.3s ease;
    background-clip: content-box;
    padding: 2px;
    background-color: #ddd;
    /* fallback */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.dc-color-option.active,
.dc-color-option:hover {
    border-color: var(--dc-dark-brown);
    transform: scale(1.1);
}

.dc-size-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.dc-size-option {
    min-width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: var(--dc-dark-brown);
    transition: all 0.3s ease;
    background: white;
}

.dc-size-option:hover {
    border-color: var(--dc-dark-brown);
}

.dc-size-option.active {
    background: var(--dc-dark-brown);
    color: var(--dc-white);
    border-color: var(--dc-dark-brown);
}

.dc-size-option.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    background: #f5f5f5;
}

/* ========================
   BOTONES
======================== */
.dc-action-group {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    align-items: center;
}

.dc-btn-add-cart {
    background: var(--dc-dark-brown);
    color: var(--dc-white);
    border: none;
    height: 50px;
    padding: 0 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    flex: 1;
}

.dc-btn-add-cart:hover {
    background: var(--dc-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dc-btn-wishlist {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dc-dark-brown);
    transition: all 0.3s ease;
}

.dc-btn-wishlist:hover {
    border-color: var(--dc-gold);
    color: var(--dc-gold);
}

/* ========================
   MODAL DE PRODUCTO (Quick View)
======================== */
.product__modal-area .modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background-color: var(--dc-beige-bg, #fcfbf9);
}

.product__modal-inner {
    padding: 30px;
}

.product__modal-close button {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--dc-dark-brown);
    transition: all 0.3s;
    opacity: 0.6;
}

.product__modal-close button:hover {
    transform: rotate(90deg);
    color: var(--dc-gold);
    opacity: 1;
}

/* Ajustes de imagen en modal */
.product__modal-thumb img {
    border-radius: 15px;
}

.product__modal-nav .nav-link img {
    border-radius: 8px;
}

.product__modal-nav .nav-link.active {
    border-color: var(--dc-gold);
}

/* Ocultar elementos viejos si persisten */
.product__modal-rating,
.product__modal-sku,
.product__modal-available,
.product__modal-quantity {
    /* Los ocultaremos o estilizaremos via HTML structure changes, 
       pero por si acaso: */
}

/* ========================
   LOGIN MODAL (POPUP)
   ======================== */
.dc-login-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(59, 35, 20, 0.15);
    background-color: var(--dc-beige-bg);
}

.dc-login-wrapper {
    padding: 10px;
}

.dc-login-title {
    font-family: 'Playfair Display', serif;
    color: var(--dc-dark-brown);
    font-size: 28px;
    margin-bottom: 10px;
}

.dc-login-subtitle {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
}

.dc-input {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    background-color: #fcfcfc;
    font-size: 14px;
}

.dc-input:focus {
    border-color: var(--dc-gold);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.1);
}

.dc-login-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    font-size: 14px;
}

.dc-login-footer a {
    color: var(--dc-dark-brown);
    font-weight: 500;
}

.dc-login-footer a:hover {
    color: var(--dc-gold);
    text-decoration: underline;
}

/* ========================
   WISHLIST OFFCANVAS
   ======================== */
/* Reutiliza estilos de .cartmini__area pero ajustamos el width si es necesario */
#wishlistOffcanvas .modal-dialog {
    max-width: 400px;
}

/* ========================
   LOGIN MODAL TABS
   ======================== */
.dc-login-tab {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #999;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dc-login-tab:hover {
    color: var(--dc-dark-brown);
}

.dc-login-tab.active {
    color: var(--dc-dark-brown) !important;
    border-bottom-color: var(--dc-gold) !important;
}