/* Variables de Color (basadas en logo He & She) */
:root {
    --color-primary: #b32821; /* Rojo intenso */
    --color-primary-dark: #911e17;
    --color-secondary: #000000; /* Negro */
    --color-text: #1a1a1a;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f5;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.main-header {
    background-color: #bc372e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
}

.logo img {
    height: 85px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: flex-start;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.header-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Hero Carousel Section */
.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #000;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    z-index: 3;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Indicadores de puntos */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-bg);
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-bg);
}

/* Products Section */
.products-section {
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    background-color: var(--color-bg-alt);
    margin-bottom: 1rem;
    overflow: hidden;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.product-image img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .product-image img.main-img {
    opacity: 0;
}

.product-card:hover .product-image img.hover-img {
    opacity: 1;
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(179, 40, 33, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay span {
    background-color: var(--color-secondary);
    color: var(--color-bg);
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card:hover .image-overlay {
    opacity: 1;
}

.product-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-bg);
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--color-primary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    max-width: 800px;
    width: 100%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 600px) {
    .modal-body {
        flex-direction: row;
    }
}

.modal-image-container {
    flex: 1;
    background-color: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.modal-details {
    flex: 1;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-category {
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #777;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

/* Modal Variants Styling */
.modal-variants-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 8px;
    padding: 1rem 1.2rem;
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.variant-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;
    letter-spacing: 0.5px;
}

.selected-variant-val {
    color: var(--color-primary);
    font-weight: 800;
}

.variant-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-pill {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid #dcdcdc;
    background-color: #ffffff;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.variant-pill:hover {
    border-color: #000;
    color: #000;
    background-color: #f5f5f5;
}

.variant-pill.active {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(179, 40, 33, 0.3);
}

.cart-item-variant {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.15rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.cart-item-variant strong {
    color: #222;
}

.modal-description {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-primary-dark {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-weight: 700;
}

.btn-primary-dark:hover {
    background-color: var(--color-primary-dark);
}

/* Footer */
.main-footer {
    background-color: var(--color-secondary);
    color: var(--color-bg);
    padding: 3rem 2rem;
    text-align: center;
}

/* Cart Specific Styles */
.cart-modal-content {
    max-width: 500px !important;
}

.cart-items-container {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 0.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 700;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-qty-btn {
    background-color: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    background-color: #e0e0e0;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff3b30;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- NUEVOS ESTILOS DEL BUSCADOR, CARRITO Y WHATSAPP --- */

/* Estilos de la cabecera / Carrito */
.cart-icon-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.cart-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cart-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.cart-badge {
    background-color: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Buscador de Productos */
.search-section {
    padding: 2rem 2rem 0;
    background-color: var(--color-bg);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fdfdfd;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.2rem 0.5rem 0.2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(179, 40, 33, 0.15);
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0.6rem 0.5rem;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--color-text);
    background: transparent;
}

.search-icon-inside {
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.search-icon-inside svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.search-clear-btn {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-clear-btn:hover {
    color: #4a5568;
}

/* Animación y estado de tarjetas ocultas por filtro */
.product-card {
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.product-card.hidden {
    display: none;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Animación de pulso para el botón flotante de WhatsApp */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ocultar barra si el viewport es muy pequeño y reajustar header */
@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .logo img {
        height: 60px;
    }
    .main-nav {
        display: none; /* En móviles suele ocultarse o ir a hamburguesa */
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Estilos Premium para Filtros */
.filter-status-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
}

.filter-badge-text {
    background: #000000;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#clearFilterBtn {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#clearFilterBtn:hover {
    background: var(--color-primary);
    color: white;
}

.brands-filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeIn 0.4s ease;
}

.brand-chip {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-chip:hover {
    background: #f5f5f5;
    border-color: #999999;
    transform: translateY(-2px);
}

.brand-chip.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(179, 40, 33, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES (PREMIUM & ULTRA-RESPONSIVE)
   ========================================================================== */

.product-detail-wrapper {
    background-color: #f8f9fa;
    padding: 2rem 0 5rem 0;
    min-height: calc(100vh - 120px);
}

.detail-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Breadcrumbs & Navigation Bar */
.detail-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #111827;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

.detail-back-btn svg {
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

.detail-back-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(179,40,33,0.12);
}

.detail-back-btn:hover svg {
    transform: translateX(-2px);
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.breadcrumb-trail a {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb-trail a:hover {
    color: var(--color-primary);
}

.bc-sep {
    color: #9ca3af;
    font-size: 1rem;
}

.bc-cat {
    color: #4b5563;
    font-weight: 600;
}

.bc-title {
    color: #111827;
    font-weight: 700;
}

/* Main Detail 2-Column Card */
.detail-main-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 960px) {
    .detail-main-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 1.5rem;
    }
}

/* Media Column & Gallery */
.detail-media-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail-main-stage {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #f3f4f6;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
}

@media (max-width: 600px) {
    .detail-main-stage {
        height: 360px;
    }
}

.detail-main-stage img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-main-stage:hover img {
    transform: scale(1.06);
}

.detail-badge-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
}

.detail-badge-pill.offer-pill {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(179, 40, 33, 0.35);
}

.detail-badge-pill.out-pill {
    background-color: #111827;
    color: #ffffff;
}

.detail-thumbs-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-card {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    background-color: #f3f4f6;
    border: 2.5px solid transparent;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px;
}

.thumb-card img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
}

.thumb-card:hover {
    border-color: #9ca3af;
    transform: translateY(-2px);
}

.thumb-card.active {
    border-color: var(--color-primary);
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(179, 40, 33, 0.25);
}

/* Info Column */
.detail-info-column {
    display: flex;
    flex-direction: column;
}

.detail-meta-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.detail-cat-badge {
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.detail-brand-badge {
    background: #111827;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
}

.detail-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

@media (max-width: 600px) {
    .detail-title {
        font-size: 1.7rem;
    }
}

/* Pricing Panel */
.detail-pricing-panel {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.current-price-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.old-price-val {
    font-size: 1.25rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: line-through;
}

.save-tag {
    background: rgba(179, 40, 33, 0.08);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
}

.stock-status-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-top: 0.3rem;
}

.status-indicator {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.in {
    background-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-indicator.low {
    background-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.status-indicator.out {
    background-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.status-text.in { color: #059669; font-weight: 600; }
.status-text.low { color: #d97706; font-weight: 600; }
.status-text.out { color: #dc2626; font-weight: 600; }

/* Description Panel */
.detail-desc-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.5rem;
}

.panel-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.panel-subtitle svg {
    color: var(--color-primary);
}

.panel-desc-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Option Groups (Talles & Colores) */
.detail-option-group {
    margin-bottom: 1.3rem;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #374151;
    letter-spacing: 0.5px;
}

.selected-val-badge {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.option-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-pill-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1.5px solid #d1d5db;
    background-color: #ffffff;
    color: #1f2937;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.detail-pill-btn:hover {
    border-color: #111827;
    background-color: #f9fafb;
    transform: translateY(-1px);
}

.detail-pill-btn.active {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(179, 40, 33, 0.35);
    transform: translateY(-1px);
}

/* CTA Buttons & Quantity Controls */
.detail-cta-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.stepper-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    width: 140px;
}

.stepper-btn {
    width: 44px;
    height: 44px;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.stepper-btn:hover:not(:disabled) {
    background: #e5e7eb;
}

.stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.stepper-control input {
    width: 52px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 800;
    outline: none;
    background: transparent;
    color: #111827;
}

.cta-buttons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 540px) {
    .cta-buttons-container {
        grid-template-columns: 1fr;
    }
}

.btn-cta-cart, .btn-cta-whatsapp {
    padding: 1.1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    border: none;
}

.btn-cta-cart {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(179, 40, 33, 0.25);
}

.btn-cta-cart:hover:not(:disabled) {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(179, 40, 33, 0.4);
}

.btn-cta-cart:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-cta-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-cta-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-cta-whatsapp:hover:not(:disabled) {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

.btn-cta-whatsapp:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Trust & Perks Cards */
.detail-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

@media (max-width: 720px) {
    .detail-trust-badges {
        grid-template-columns: 1fr;
    }
}

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.85rem;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #f3f4f6;
}

.trust-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-text strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.trust-text span {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.35;
    display: block;
}

/* Related Products Section */
.detail-related-wrapper {
    margin-top: 4rem;
}

.related-header {
    margin-bottom: 2rem;
}

.related-title {
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111827;
    letter-spacing: -0.5px;
}

.related-accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin-top: 8px;
    border-radius: 2px;
}



