/* ========================================

   🎨 SECCIÓN DE COLORES PARA TÍTULOS

   ✅ Cambia aquí los colores fácilmente

   ======================================== */



:root {

    /* 🎯 COLORES DE TÍTULOS - CAMBIA AQUÍ */

    --titulo-principal: #000000;     /* Color del título "Nuestros Productos" */

    --titulo-subtitulo: #ffffff;     /* Color del subtítulo descriptivo */

    

    /* 🎨 OPCIONES DE COLORES PARA COPIAR Y PEGAR:

    --titulo-principal: #ffffff;     Blanco

    --titulo-principal: #000000;     Negro

    --titulo-principal: #333333;     Gris oscuro

    --titulo-principal: #666666;     Gris medio

    --titulo-principal: #007bff;     Azul

    --titulo-principal: #28a745;     Verde

    --titulo-principal: #dc3545;     Rojo

    --titulo-principal: #ffc107;     Amarillo

    */

    

    /* Variables de colores del sistema */

    --primary-black: #000000;

    --primary-white: #ffffff;

    --gray-light: #f5f5f5;

    --gray-medium: #cccccc;

    --gray-dark: #333333;

    --shadow-light: rgba(0, 0, 0, 0.1);

    --shadow-medium: rgba(0, 0, 0, 0.2);

    --shadow-dark: rgba(0, 0, 0, 0.3);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}



/* Reset y configuración base */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    line-height: 1.6;

    color: var(--primary-black);

    background-color: var(--primary-white);

    overflow-x: hidden;

}



/* ========================================

   🎯 TÍTULOS PRINCIPALES (FÁCIL DE CAMBIAR)

   ======================================== */



.section-title {

    text-align: center !important;           /* ← CENTRADO */

    color: var(--titulo-principal) !important; /* ← COLOR PRINCIPAL */

    font-size: 3rem;

    margin-bottom: 3rem;

    font-weight: 700;

    position: relative;

    animation: fadeInUp 0.8s ease-out;

}



.section-title::after {

    content: '';

    position: absolute;

    bottom: -10px;

    left: 50%;

    transform: translateX(-50%);

    width: 100px;

    height: 4px;

    background: linear-gradient(90deg, var(--titulo-principal), var(--gray-dark));

    border-radius: 2px;

}



.section-subtitle {

    text-align: center !important;           /* ← CENTRADO */

    color: var(--titulo-subtitulo) !important; /* ← COLOR SUBTÍTULO */

    font-size: 1.2rem;

    margin-bottom: 3rem;

    max-width: 600px;

    margin-left: auto;

    margin-right: auto;

}



/* ========================================

   ANIMACIONES BASE

   ======================================== */



@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes fadeInLeft {

    from {

        opacity: 0;

        transform: translateX(-30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes fadeInRight {

    from {

        opacity: 0;

        transform: translateX(30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes scaleUp {

    from {

        opacity: 0;

        transform: scale(0.8);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}



@keyframes float {

    0%, 100% {

        transform: translateY(0px);

    }

    50% {

        transform: translateY(-10px);

    }

}



/* ========================================

   HEADER

   ======================================== */



.header {

    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);

    color: var(--primary-white);

    padding: 0;

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

    box-shadow: 0 4px 20px var(--shadow-dark);

    backdrop-filter: blur(10px);

    transition: var(--transition);

}



.header-container {

    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 1rem 2rem;

}



.logo {

    font-size: 2rem;

    font-weight: bold;

    text-decoration: none;

    color: var(--primary-white);

    transition: var(--transition);

    position: relative;

}



.logo::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 3px;

    background: linear-gradient(90deg, var(--primary-white), transparent);

    transition: var(--transition);

}



.logo:hover::after {

    width: 100%;

}



.nav-menu {

    display: flex;

    list-style: none;

    gap: 2rem;

}



.nav-menu a {

    color: var(--primary-white);

    text-decoration: none;

    padding: 0.5rem 1rem;

    border-radius: 25px;

    transition: var(--transition);

    position: relative;

    overflow: hidden;

}



.nav-menu a::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);

    transition: var(--transition);

}



.nav-menu a:hover::before {

    left: 100%;

}



.nav-menu a:hover {

    background: rgba(255, 255, 255, 0.1);

    transform: translateY(-2px);

}



.hamburger {

    display: none;

    flex-direction: column;

    cursor: pointer;

    gap: 4px;

}



.hamburger span {

    width: 25px;

    height: 3px;

    background: var(--primary-white);

    transition: var(--transition);

}



/* ========================================

   HERO SECTION

   ======================================== */



.hero {

    height: 100vh;

    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--primary-white);

    position: relative;

    overflow: hidden;

}



.hero::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');

    background-size: 50px 50px;

    animation: float 6s ease-in-out infinite;

}



.hero-content {

    max-width: 800px;

    padding: 2rem;

    animation: fadeInUp 1s ease-out;

}



.hero h1 {

    font-size: 4rem;

    margin-bottom: 1rem;

    font-weight: 700;

    text-shadow: 2px 2px 10px var(--shadow-dark);

}



.hero p {

    font-size: 1.3rem;

    margin-bottom: 2rem;

    opacity: 0.9;

}



/* ========================================

   BOTONES

   ======================================== */



.btn {

    display: inline-block;

    padding: 1rem 2rem;

    background: var(--primary-white);

    color: var(--primary-black);

    text-decoration: none;

    border-radius: 50px;

    font-weight: 600;

    transition: var(--transition);

    position: relative;

    overflow: hidden;

    box-shadow: 0 10px 30px var(--shadow-medium);

}



.btn::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);

    transition: var(--transition);

}



.btn:hover::before {

    left: 100%;

}



.btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 15px 40px var(--shadow-dark);

}



.btn-secondary {

    background: transparent;

    color: var(--primary-white);

    border: 2px solid var(--primary-white);

}



.btn-secondary:hover {

    background: var(--primary-white);

    color: var(--primary-black);

}



/* ========================================

   SERVICIOS

   ======================================== */



.services {

    padding: 5rem 0;

    background: var(--gray-light);

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 2rem;

}



.services-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}



.service-card {

    background: var(--primary-white);

    border-radius: 20px;

    padding: 2rem;

    text-align: center;

    transition: var(--transition);

    position: relative;

    overflow: hidden;

    box-shadow: 0 10px 30px var(--shadow-light);

    animation: scaleUp 0.6s ease-out;

}



.service-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 5px;

    background: linear-gradient(90deg, var(--primary-black), var(--gray-dark));

    transform: scaleX(0);

    transition: var(--transition);

}



.service-card:hover::before {

    transform: scaleX(1);

}



.service-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 50px var(--shadow-medium);

}



.service-icon {

    font-size: 3rem;

    margin-bottom: 1rem;

    color: var(--primary-black);

    transition: var(--transition);

}



.service-card:hover .service-icon {

    transform: scale(1.1);

    animation: float 2s ease-in-out infinite;

}



.service-image {

    width: 100%;

    height: 200px;

    object-fit: cover;

    border-radius: 15px;

    margin-bottom: 1rem;

    transition: var(--transition);

}



.service-card:hover .service-image {

    transform: scale(1.05);

}



.service-title {

    font-size: 1.5rem;

    margin-bottom: 1rem;

    font-weight: 600;

}



.service-description {

    color: var(--gray-dark);

    line-height: 1.6;

}



/* ========================================

   FOOTER

   ======================================== */



.footer {

    background: var(--primary-black);

    color: var(--primary-white);

    padding: 3rem 0 1rem;

}



.footer-content {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-bottom: 2rem;

}



.footer-section h3 {

    margin-bottom: 1rem;

    font-size: 1.3rem;

}



.footer-section p,

.footer-section a {

    color: var(--gray-medium);

    text-decoration: none;

    transition: var(--transition);

}



.footer-section a:hover {

    color: var(--primary-white);

}



.footer-bottom {

    text-align: center;

    padding-top: 2rem;

    border-top: 1px solid var(--gray-dark);

    color: var(--gray-medium);

}



/* ========================================

   ESTILOS DE TIENDA

   ======================================== */



.breadcrumb {

    background: var(--gray-light);

    padding: 1rem 0;

    margin-top: 70px;

}



.breadcrumb-nav {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    font-size: 0.9rem;

}



.breadcrumb-nav a {

    color: var(--gray-dark);

    text-decoration: none;

    transition: var(--transition);

}



.breadcrumb-nav a:hover {

    color: var(--primary-black);

}



.breadcrumb-separator {

    color: var(--gray-medium);

}



.shop-header {

    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);

    color: var(--primary-white);

    padding: 3rem 0;

}



.shop-header-content {

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 2rem;

    align-items: center;

}



.shop-title h1 {

    font-size: 2.5rem;

    margin-bottom: 0.5rem;

    font-weight: 700;

}



.shop-title p {

    font-size: 1.1rem;

    opacity: 0.9;

}



.search-form {

    display: flex;

    gap: 1rem;

}



.search-input-group {

    position: relative;

    display: flex;

}



.search-input {

    padding: 0.8rem 1rem;

    border: 2px solid rgba(255, 255, 255, 0.2);

    background: rgba(255, 255, 255, 0.1);

    color: var(--primary-white);

    border-radius: 25px 0 0 25px;

    outline: none;

    min-width: 300px;

    transition: var(--transition);

}



.search-input::placeholder {

    color: rgba(255, 255, 255, 0.7);

}



.search-input:focus {

    border-color: var(--primary-white);

    background: rgba(255, 255, 255, 0.2);

}



.search-btn {

    padding: 0.8rem 1.5rem;

    background: var(--primary-white);

    color: var(--primary-black);

    border: none;

    border-radius: 0 25px 25px 0;

    cursor: pointer;

    transition: var(--transition);

}



.search-btn:hover {

    background: var(--gray-light);

}



.shop-content {

    padding: 2rem 0;

}



.shop-layout {

    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 2rem;

}



.shop-sidebar {

    background: var(--primary-white);

    border-radius: 10px;

    padding: 1.5rem;

    height: fit-content;

    box-shadow: 0 5px 15px var(--shadow-light);

    position: sticky;

    top: 90px;

}



.sidebar-section {

    margin-bottom: 2rem;

}



.sidebar-section:last-child {

    margin-bottom: 0;

}



.sidebar-section h3 {

    font-size: 1.2rem;

    margin-bottom: 1rem;

    font-weight: 600;

    color: var(--primary-black);

    border-bottom: 2px solid var(--gray-light);

    padding-bottom: 0.5rem;

}



.category-list {

    list-style: none;

}



.category-list li {

    margin-bottom: 0.5rem;

}



.category-link {

    display: flex;

    align-items: center;

    gap: 0.8rem;

    padding: 0.8rem;

    color: var(--gray-dark);

    text-decoration: none;

    border-radius: 8px;

    transition: var(--transition);

}



.category-link:hover,

.category-link.active {

    background: var(--primary-black);

    color: var(--primary-white);

    transform: translateX(5px);

}



/* ========================================

   PRODUCTOS

   ======================================== */



.products-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 1.5rem;

    padding: 1.5rem;

}



.product-card {

    background: var(--primary-white);

    border-radius: 15px;

    overflow: hidden;

    transition: var(--transition);

    border: 1px solid var(--gray-light);

    position: relative;

}



.product-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 35px var(--shadow-medium);

}



.product-image {

    position: relative;

    overflow: hidden;

    aspect-ratio: 1/1;

    background: #f8f9fa;

}



.product-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    transition: var(--transition);

}



.product-card:hover .product-image img {

    transform: scale(1.05);

}



.product-placeholder {

    width: 100%;

    height: 100%;

    background: var(--gray-light);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 3rem;

    color: var(--gray-medium);

}



.product-info {

    padding: 1.5rem;

}



.product-title {

    margin-bottom: 0.8rem;

}



.product-title a {

    color: var(--primary-black);

    text-decoration: none;

    font-size: 1.1rem;

    font-weight: 600;

    transition: var(--transition);

}



.product-title a:hover {

    color: var(--gray-dark);

}



.product-description {

    color: var(--gray-dark);

    font-size: 0.9rem;

    line-height: 1.5;

    margin-bottom: 1rem;

}



.product-price {

    margin-bottom: 1rem;

}



.price-current,

.price-sale {

    font-size: 1.3rem;

    font-weight: bold;

    color: var(--primary-black);

}



.btn-primary {

    background: var(--primary-black);

    color: var(--primary-white);

    padding: 0.8rem 1.5rem;

    border-radius: 25px;

    text-decoration: none;

    font-weight: 600;

    transition: var(--transition);

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

}



.btn-primary:hover {

    background: var(--gray-dark);

    transform: translateY(-2px);

}



/* ========================================

   RESPONSIVE

   ======================================== */



@media (max-width: 768px) {

    .hamburger {

        display: flex;

    }



    .nav-menu {

        position: fixed;

        top: 70px;

        left: -100%;

        width: 100%;

        height: calc(100vh - 70px);

        background: var(--primary-black);

        flex-direction: column;

        justify-content: start;

        align-items: center;

        padding-top: 2rem;

        transition: var(--transition);

    }



    .nav-menu.active {

        left: 0;

    }



    .hero h1 {

        font-size: 2.5rem;

    }



    .hero p {

        font-size: 1.1rem;

    }



    .services-grid {

        grid-template-columns: 1fr;

    }



    .section-title {

        font-size: 2rem;

    }



    .shop-layout {

        grid-template-columns: 1fr;

    }



    .shop-sidebar {

        order: 2;

        position: static;

    }



    .products-grid {

        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

        gap: 1rem;

    }

}



/* ========================================

   UTILIDADES

   ======================================== */



.fade-in {

    opacity: 0;

    transform: translateY(30px);

    transition: var(--transition);

}



.fade-in.visible {

    opacity: 1;

    transform: translateY(0);

}



.loading {

    display: inline-block;

    width: 20px;

    height: 20px;

    border: 3px solid var(--gray-medium);

    border-radius: 50%;

    border-top-color: var(--primary-black);

    animation: spin 1s ease-in-out infinite;

}



@keyframes spin {

    to {

        transform: rotate(360deg);

    }

}



/* Scrollbar personalizada */

::-webkit-scrollbar {

    width: 8px;

}



::-webkit-scrollbar-track {

    background: var(--gray-light);

}



::-webkit-scrollbar-thumb {

    background: var(--primary-black);

    border-radius: 4px;

}



::-webkit-scrollbar-thumb:hover {

    background: var(--gray-dark);

}



/* === ESTILOS DE TIENDA === */



/* Breadcrumb */

.breadcrumb {

    background: var(--gray-light);

    padding: 1rem 0;

    margin-top: 70px;

}



.breadcrumb-nav {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    font-size: 0.9rem;

}



.breadcrumb-nav a {

    color: var(--gray-dark);

    text-decoration: none;

    transition: var(--transition);

}



.breadcrumb-nav a:hover {

    color: var(--primary-black);

}



.breadcrumb-separator {

    color: var(--gray-medium);

}



/* Shop Header */

.shop-header {

    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);

    color: var(--primary-white);

    padding: 3rem 0;

}



.shop-header-content {

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 2rem;

    align-items: center;

}



.shop-title h1 {

    font-size: 2.5rem;

    margin-bottom: 0.5rem;

    font-weight: 700;

}



.shop-title p {

    font-size: 1.1rem;

    opacity: 0.9;

}



.search-form {

    display: flex;

    gap: 1rem;

}



.search-input-group {

    position: relative;

    display: flex;

}



.search-input {

    padding: 0.8rem 1rem;

    border: 2px solid rgba(255, 255, 255, 0.2);

    background: rgba(255, 255, 255, 0.1);

    color: var(--primary-white);

    border-radius: 25px 0 0 25px;

    outline: none;

    min-width: 300px;

    transition: var(--transition);

}



.search-input::placeholder {

    color: rgba(255, 255, 255, 0.7);

}



.search-input:focus {

    border-color: var(--primary-white);

    background: rgba(255, 255, 255, 0.2);

}



.search-btn {

    padding: 0.8rem 1.5rem;

    background: var(--primary-white);

    color: var(--primary-black);

    border: none;

    border-radius: 0 25px 25px 0;

    cursor: pointer;

    transition: var(--transition);

}



.search-btn:hover {

    background: var(--gray-light);

}



/* Shop Layout */

.shop-content {

    padding: 2rem 0;

}



.shop-layout {

    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 2rem;

}



/* Sidebar */

.shop-sidebar {

    background: var(--primary-white);

    border-radius: 10px;

    padding: 1.5rem;

    height: fit-content;

    box-shadow: 0 5px 15px var(--shadow-light);

    position: sticky;

    top: 90px;

}



.sidebar-section {

    margin-bottom: 2rem;

}



.sidebar-section:last-child {

    margin-bottom: 0;

}



.sidebar-section h3 {

    font-size: 1.2rem;

    margin-bottom: 1rem;

    font-weight: 600;

    color: var(--primary-black);

    border-bottom: 2px solid var(--gray-light);

    padding-bottom: 0.5rem;

}



.category-list {

    list-style: none;

}



.category-list li {

    margin-bottom: 0.5rem;

}



.category-link {

    display: flex;

    align-items: center;

    gap: 0.8rem;

    padding: 0.8rem;

    color: var(--gray-dark);

    text-decoration: none;

    border-radius: 8px;

    transition: var(--transition);

}



.category-link:hover,

.category-link.active {

    background: var(--primary-black);

    color: var(--primary-white);

    transform: translateX(5px);

}



.filter-group {

    margin-bottom: 1rem;

}



.filter-group label {

    display: block;

    margin-bottom: 0.5rem;

    font-weight: 500;

    color: var(--gray-dark);

}



.filter-select {

    width: 100%;

    padding: 0.5rem;

    border: 1px solid var(--gray-medium);

    border-radius: 5px;

    background: var(--primary-white);

    color: var(--primary-black);

    outline: none;

    transition: var(--transition);

}



.filter-select:focus {

    border-color: var(--primary-black);

}



.info-card {

    background: var(--gray-light);

    border-radius: 8px;

    padding: 1rem;

}



.info-item {

    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1rem;

}



.info-item:last-child {

    margin-bottom: 0;

}



.info-item i {

    font-size: 1.5rem;

    color: var(--primary-black);

    width: 30px;

}



.info-item strong {

    display: block;

    font-size: 0.9rem;

    color: var(--primary-black);

}



.info-item p {

    font-size: 0.8rem;

    color: var(--gray-dark);

    margin: 0;

}



/* Shop Main */

.shop-main {

    background: var(--primary-white);

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 5px 15px var(--shadow-light);

}



.shop-toolbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 1.5rem;

    background: var(--gray-light);

    border-bottom: 1px solid var(--gray-medium);

}



.results-info {

    display: flex;

    align-items: center;

    gap: 1rem;

    flex-wrap: wrap;

}



.search-term {

    color: var(--gray-dark);

}



.clear-search {

    color: var(--primary-black);

    text-decoration: none;

    padding: 0.25rem 0.5rem;

    border-radius: 3px;

    background: rgba(0, 0, 0, 0.1);

    font-size: 0.9rem;

    transition: var(--transition);

}



.clear-search:hover {

    background: var(--primary-black);

    color: var(--primary-white);

}



.view-toggle {

    display: flex;

    gap: 0.5rem;

}



.view-btn {

    padding: 0.5rem;

    background: transparent;

    border: 1px solid var(--gray-medium);

    border-radius: 5px;

    cursor: pointer;

    transition: var(--transition);

    color: var(--gray-dark);

}



.view-btn.active,

.view-btn:hover {

    background: var(--primary-black);

    color: var(--primary-white);

    border-color: var(--primary-black);

}



/* Products Grid */

.products-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 1.5rem;

    padding: 1.5rem;

}



.products-list {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    padding: 1.5rem;

}



.products-list .product-card {

    display: grid;

    grid-template-columns: 200px 1fr;

    gap: 1rem;

    align-items: center;

}



.product-card {

    background: var(--primary-white);

    border-radius: 15px;

    overflow: hidden;

    transition: var(--transition);

    border: 1px solid var(--gray-light);

    position: relative;

}



.product-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 35px var(--shadow-medium);

}



.product-image {

    position: relative;

    overflow: hidden;

    aspect-ratio: 1/1;

    background: #f8f9fa;

}



.products-list .product-image {

    aspect-ratio: 1/1;

}



.product-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    transition: var(--transition);

}



.product-card:hover .product-image img {

    transform: scale(1.05);

}



.product-placeholder {

    width: 100%;

    height: 100%;

    background: var(--gray-light);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 3rem;

    color: var(--gray-medium);

}



.product-badge {

    position: absolute;

    top: 10px;

    right: 10px;

    background: #e74c3c;

    color: white;

    padding: 0.25rem 0.5rem;

    border-radius: 15px;

    font-size: 0.8rem;

    font-weight: bold;

    z-index: 2;

}



/* ✅ OVERLAY COMPLETAMENTE ELIMINADO - YA NO APARECE AL HOVER */

/* 

❌ CÓDIGO ELIMINADO:

.product-overlay {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.8);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: var(--transition);

}



.product-card:hover .product-overlay {

    opacity: 1;

}



.btn-overlay {

    background: var(--primary-white);

    color: var(--primary-black);

    padding: 0.8rem 1.5rem;

    border-radius: 25px;

    text-decoration: none;

    font-weight: 600;

    transition: var(--transition);

}



.btn-overlay:hover {

    background: var(--gray-light);

    transform: scale(1.05);

}

*/



.product-info {

    padding: 1.5rem;

    text-align: center;

}



.product-category {

    font-size: 0.8rem;

    color: var(--gray-dark);

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 0.5rem;

}



.product-title {

    margin-bottom: 0.8rem;

}



.product-title a {

    color: var(--primary-black);

    text-decoration: none;

    font-size: 1.1rem;

    font-weight: 600;

    transition: var(--transition);

}



.product-title a:hover {

    color: var(--gray-dark);

}



.product-description {

    color: var(--gray-dark);

    font-size: 0.9rem;

    line-height: 1.5;

    margin-bottom: 1rem;

}



.product-price {

    margin-bottom: 1rem;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 0.5rem;

}



.price-current,

.price-sale {

    font-size: 1.3rem;

    font-weight: bold;

    color: var(--primary-black);

}



.price-original {

    font-size: 1rem;

    color: var(--gray-medium);

    text-decoration: line-through;

    margin-left: 0.5rem;

}



.product-actions {

    display: flex;

    gap: 0.5rem;

    justify-content: center;

}



.btn-primary {

    background: var(--primary-black);

    color: var(--primary-white);

    padding: 0.8rem 1.5rem;

    border-radius: 25px;

    text-decoration: none;

    font-weight: 600;

    transition: var(--transition);

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

}



.btn-primary:hover {

    background: var(--gray-dark);

    transform: translateY(-2px);

}



/* No Products */

.no-products {

    text-align: center;

    padding: 3rem;

    color: var(--gray-dark);

}



.no-products-icon {

    font-size: 4rem;

    margin-bottom: 1rem;

    color: var(--gray-medium);

}



.no-products h3 {

    font-size: 1.5rem;

    margin-bottom: 1rem;

    color: var(--primary-black);

}



.no-products p {

    margin-bottom: 2rem;

    max-width: 400px;

    margin-left: auto;

    margin-right: auto;

}



/* Responsive Tienda */

@media (max-width: 1024px) {

    .shop-layout {

        grid-template-columns: 250px 1fr;

    }



    .search-input {

        min-width: 200px;

    }

}



@media (max-width: 768px) {

    .shop-layout {

        grid-template-columns: 1fr;

    }



    .shop-sidebar {

        order: -1;

        position: static;

    }



    .shop-header-content {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 1rem;

    }



    .search-input {

        min-width: auto;

        width: 100%;

    }



    .search-form {

        flex-direction: column;

        gap: 0.5rem;

    }



    .shop-toolbar {

        flex-direction: column;

        gap: 1rem;

        align-items: stretch;

    }



    .results-info {

        justify-content: center;

    }



    .view-toggle {

        justify-content: center;

    }



    .products-grid {

        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

        gap: 1rem;

    }



    .products-list .product-card {

        grid-template-columns: 1fr;

    }



    .products-list .product-image {

        aspect-ratio: 1/1;

    }

}





/* ====================================

   ESTILOS PARA PÁGINA DE PRODUCTO

   ==================================== */



/* Botones principales mejorados */

.btn-add-to-cart {

    background: linear-gradient(135deg, #28a745, #20c997) !important;

    color: #000 !important; /* Texto negro siempre */

    font-weight: bold !important;

    transition: all 0.3s ease;

    border: none !important;

    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);

    text-shadow: none !important;

}



.btn-add-to-cart:hover,

.btn-add-to-cart:focus,

.btn-add-to-cart:active {

    background: linear-gradient(135deg, #20c997, #28a745) !important;

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);

    color: #000000 !important; /* Mantener texto negro en hover */

    text-shadow: none !important;

}



.btn-add-to-cart i {

    color: #000 !important;

}



/* Indicadores de campos requeridos */

.required {

    color: #dc3545;

    font-weight: bold;

    margin-left: 2px;

}



.option-group[data-required="true"] .option-label {

    position: relative;

}



.option-group[data-required="true"] .option-label::after {

    content: " *";

    color: #dc3545;

    font-weight: bold;

}



/* Opciones de producto mejoradas */

.product-options {

    margin: 2rem 0;

    padding: 1.5rem;

    background: #f8f9fa;

    border-radius: 12px;

    border: 1px solid #e9ecef;

}



.option-group {

    margin-bottom: 1.5rem;

    transition: all 0.3s ease;

}



.option-group:last-child {

    margin-bottom: 0;

}



.option-label {

    display: block;

    font-weight: 600;

    margin-bottom: 0.75rem;

    color: #333;

    font-size: 1.1rem;

}



.option-values {

    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;

}



.option-item {

    position: relative;

}



.option-item input[type="radio"] {

    display: none;

}



.option-label-item {

    display: inline-block;

    padding: 0.75rem 1.25rem;

    background: white;

    border: 2px solid #dee2e6;

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.3s ease;

    font-weight: 500;

    min-width: 80px;

    text-align: center;

    position: relative;

    overflow: hidden;

}



.option-label-item:hover {

    border-color: #28a745;

    background: #f8fff9;

    transform: translateY(-1px);

    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);

}



.option-item input[type="radio"]:checked + .option-label-item {

    background: #28a745;

    border-color: #28a745;

    color: white;

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);

}



.option-price {

    display: block;

    font-size: 0.85rem;

    font-weight: normal;

    margin-top: 0.25rem;

    opacity: 0.8;

}



/* ====================================

   PRODUCTOS RELACIONADOS

   ==================================== */



.related-products {

    padding: 4rem 0;

    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

    position: relative;

    overflow: hidden;

}



.related-products::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 1px;

    background: linear-gradient(90deg, transparent, #28a745, transparent);

}



.section-header {

    text-align: center;

    margin-bottom: 3rem;

    position: relative;

}



.related-section-title {  /* ← Nueva clase específica */

    font-size: 2.5rem;

    font-weight: 700;

    color: #333;

    margin-bottom: 0.5rem;

    position: relative;

    display: inline-block;

}



.related-section-title::after {  /* ← Actualizar referencia */

    content: '';

    position: absolute;

    bottom: -10px;

    left: 50%;

    transform: translateX(-50%);

    width: 60px;

    height: 3px;

    background: linear-gradient(90deg, #28a745, #20c997);

    border-radius: 2px;

}



.related-section-subtitle {

    color: #666;

    font-size: 1.1rem;

    margin-top: 1rem;

}



.products-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 2rem;

    margin-top: 2rem;

}



.product-card {

    background: white;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    position: relative;

    border: 1px solid rgba(0,0,0,0.05);

}



.product-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(32, 201, 151, 0.05));

    opacity: 0;

    transition: opacity 0.3s ease;

    z-index: 1;

}



.product-card:hover {

    transform: translateY(-15px) scale(1.02);

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);

    border-color: rgba(40, 167, 69, 0.2);

}



.product-card:hover::before {

    opacity: 1;

}



.product-image {

    position: relative;

    aspect-ratio: 1/1;

    overflow: hidden;

    background: #f8f9fa;

}



.product-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}



.product-card:hover .product-image img {

    transform: scale(1.15) rotate(1deg);

}



.image-placeholder {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: linear-gradient(135deg, #e9ecef, #f8f9fa);

    color: #adb5bd;

    font-size: 3rem;

}



.product-badge {

    position: absolute;

    top: 15px;

    left: 15px;

    background: linear-gradient(135deg, #dc3545, #e74c3c);

    color: white;

    padding: 0.4rem 0.8rem;

    border-radius: 20px;

    font-size: 0.8rem;

    font-weight: bold;

    z-index: 2;

    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);

}



.product-actions-overlay {

    position: absolute;

    top: 15px;

    right: 15px;

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

    opacity: 0;

    transform: translateX(20px);

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    z-index: 2;

}



.product-card:hover .product-actions-overlay {

    opacity: 1;

    transform: translateX(0);

}



.btn-quick-add,

.btn-quick-view {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(10px);

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 15px rgba(0,0,0,0.1);

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    color: #333;

    text-decoration: none;

    font-size: 1.1rem;

}



.btn-quick-add:hover,

.btn-quick-view:hover {

    background: #28a745;

    color: white;

    transform: scale(1.15);

    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);

}



.product-info {

    padding: 1.5rem;

    position: relative;

    z-index: 2;

}



.product-category-tag {

    background: linear-gradient(135deg, #e9ecef, #f8f9fa);

    color: #495057;

    padding: 0.3rem 1rem;

    border-radius: 25px;

    font-size: 0.8rem;

    font-weight: 500;

    display: inline-block;

    margin-bottom: 0.75rem;

    border: 1px solid rgba(0,0,0,0.05);

}



.product-name {

    margin-bottom: 1rem;

}



.product-name a {

    color: #333;

    text-decoration: none;

    font-weight: 600;

    font-size: 1.1rem;

    line-height: 1.4;

    display: block;

    transition: color 0.3s ease;

}



.product-name a:hover {

    color: #28a745;

}



.product-price {

    margin-bottom: 1rem;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.price-sale {

    color: #28a745;

    font-weight: bold;

    font-size: 1.3rem;

}



.price-original {

    color: #999;

    text-decoration: line-through;

    font-size: 1rem;

}



.price-current {

    color: #333;

    font-weight: bold;

    font-size: 1.3rem;

}



.stock-indicator {

    font-size: 0.9rem;

    display: flex;

    align-items: center;

    gap: 0.25rem;

}



.in-stock-small {

    color: #28a745;

    font-weight: 500;

}



.out-of-stock-small {

    color: #dc3545;

    font-weight: 500;

}



.in-stock-small i,

.out-of-stock-small i {

    font-size: 0.8rem;

}



/* ====================================

   ANIMACIONES

   ==================================== */



.fade-in {

    opacity: 0;

    transform: translateY(30px);

    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}



.fade-in.visible {

    opacity: 1;

    transform: translateY(0);

}



/* Animación de carga escalonada */

.product-card:nth-child(1) { animation-delay: 0.1s; }

.product-card:nth-child(2) { animation-delay: 0.2s; }

.product-card:nth-child(3) { animation-delay: 0.3s; }

.product-card:nth-child(4) { animation-delay: 0.4s; }



@keyframes slideInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.product-card.visible {

    animation: slideInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;

}



/* ====================================

   NOTIFICACIONES MEJORADAS

   ==================================== */



.notification {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    border-left: 4px solid;

    backdrop-filter: blur(10px);

}



.notification-success {

    border-left-color: #28a745;

    background: rgba(40, 167, 69, 0.95);

}



.notification-error {

    border-left-color: #dc3545;

    background: rgba(220, 53, 69, 0.95);

}



.notification-info {

    border-left-color: #007bff;

    background: rgba(0, 123, 255, 0.95);

}



.notification-content {

    display: flex;

    align-items: center;

    gap: 0.75rem;

}



.notification-content i {

    font-size: 1.3rem;

    flex-shrink: 0;

}



/* ====================================

   RESPONSIVE DESIGN

   ==================================== */



@media (max-width: 1200px) {

    .products-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 992px) {

    .products-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 1.5rem;

    }

    

    .section-title {

        font-size: 2.2rem;

    }

}



@media (max-width: 768px) {

    .products-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    

    .section-title {

        font-size: 2rem;

    }

    

    .related-products {

        padding: 2rem 0;

    }

    

    .product-card {

        max-width: 400px;

        margin: 0 auto;

    }

    

    .section-header {

        margin-bottom: 2rem;

    }

}



@media (max-width: 576px) {

    .product-actions-overlay {

        position: static;

        opacity: 1;

        transform: none;

        flex-direction: row;

        justify-content: center;

        margin-top: 1rem;

    }

    

    .option-values {

        justify-content: center;

    }

    

    .option-label-item {

        min-width: 70px;

        padding: 0.6rem 1rem;

        font-size: 0.9rem;

    }

}



/* ====================================

   MEJORAS DE ACCESIBILIDAD

   ==================================== */



.btn-quick-add:focus,

.btn-quick-view:focus,

.option-label-item:focus {

    outline: 2px solid #28a745;

    outline-offset: 2px;

}



.product-card:focus-within {

    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);

}



/* Reduce motion para usuarios que lo prefieren */

@media (prefers-reduced-motion: reduce) {

    .product-card,

    .product-image img,

    .btn-quick-add,

    .btn-quick-view,

    .fade-in,

    .notification {

        transition: none;

        animation: none;

    }

    

    .product-card:hover {

        transform: none;

    }

    

    .product-card:hover .product-image img {

        transform: none;

    }

}



 /* === ESTILOS DE PRODUCTO INDIVIDUAL === */



        .product-detail {

            padding: 2rem 0;

        }



        .product-layout {

            display: grid;

            grid-template-columns: 1fr 1fr;

            gap: 3rem;

            align-items: start;

        }



        /* Galería de Producto */

        .product-gallery {

            position: sticky;

            top: 90px;

        }



        /* ================================
   🎯 PASO 1: IMÁGENES CUADRADAS SIN RECORTE
   BUSCAR EN style.css LA SECCIÓN DE PRODUCTO (línea ~1200+)
   REEMPLAZAR LOS ESTILOS EXISTENTES DE GALERÍA
   ================================ */

/* IMAGEN PRINCIPAL - CUADRADA SIN RECORTE ✨ */
.main-image {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
    background: #f8f9fa;
    aspect-ratio: 1/1; /* 🎯 ESTO FUERZA EL ASPECTO CUADRADO */
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 🎯 MUESTRA LA IMAGEN COMPLETA SIN RECORTAR */
    object-position: center;
    background: #ffffff;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-product-image:hover {
    transform: scale(1.05);
}

/* PLACEHOLDER CUADRADO CUANDO NO HAY IMAGEN */
.main-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1; /* 🎯 TAMBIÉN CUADRADO */
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gray-medium);
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

/* MINIATURAS - TAMBIÉN CUADRADAS Y SIN RECORTE ✨ */
.thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: contain; /* 🎯 SIN RECORTAR LAS MINIATURAS */
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-black);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* CONTROLES DE NAVEGACIÓN PARA MÚLTIPLES IMÁGENES */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.product-gallery:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* CONTADOR DE IMÁGENES */
.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 10;
}

/* BADGES MEJORADOS */
.product-badge-large {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.sold-out-badge {
    background: #6c757d !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* RESPONSIVE PARA MÓVILES 📱 */
@media (max-width: 768px) {
    .product-gallery {
        position: static;
    }
    
    .main-image {
        max-width: 100%;
        margin: 0 auto 1rem;
    }
    
    .thumbnails {
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
        opacity: 1; /* Siempre visible en móviles */
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .image-counter {
        bottom: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .thumbnails {
        gap: 0.5rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* LAYOUT DE PRODUCTO MEJORADO */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
}



        /* Información del Producto */

        .product-info {

            padding: 1rem 0;

        }



        .product-category {

            font-size: 0.9rem;

            color: var(--gray-dark);

            text-transform: uppercase;

            letter-spacing: 1px;

            margin-bottom: 0.5rem;

        }



        .product-title {

            font-size: 2.2rem;

            font-weight: 700;

            margin-bottom: 1.5rem;

            line-height: 1.2;

            color: var(--primary-black);

        }



        .product-price-section {

            margin-bottom: 2rem;

            padding: 1.5rem;

            background: var(--gray-light);

            border-radius: 15px;

        }



        .price-current-large,

        .price-sale-large {

            font-size: 2.5rem;

            font-weight: bold;

            color: var(--primary-black);

            display: block;

        }



        .price-original-large {

            font-size: 1.5rem;

            color: var(--gray-medium);

            text-decoration: line-through;

            margin-top: 0.5rem;

        }



        .savings {

            color: #27ae60;

            font-weight: 600;

            margin-top: 0.5rem;

            font-size: 1.1rem;

        }



        .product-description {

            font-size: 1.1rem;

            line-height: 1.7;

            color: var(--gray-dark);

            margin-bottom: 2rem;

        }



        /* Opciones del Producto */

        .product-options {

            margin-bottom: 2rem;

        }



        .option-group {

            margin-bottom: 1.5rem;

        }



        .option-label {

            display: block;

            font-weight: 600;

            margin-bottom: 0.8rem;

            color: var(--primary-black);

            font-size: 1.1rem;

        }



        .option-values {

            display: flex;

            flex-wrap: wrap;

            gap: 0.8rem;

        }



        .option-item input[type="radio"] {

            display: none;

        }



        .option-label-item {

            padding: 0.8rem 1.2rem;

            border: 2px solid var(--gray-medium);

            border-radius: 25px;

            cursor: pointer;

            transition: var(--transition);

            background: var(--primary-white);

            font-weight: 500;

            display: flex;

            align-items: center;

            gap: 0.5rem;

        }



        .option-label-item:hover {

            border-color: var(--primary-black);

            background: var(--gray-light);

        }



        .option-item input[type="radio"]:checked+.option-label-item {

            background: var(--primary-black);

            color: var(--primary-white);

            border-color: var(--primary-black);

        }



        .option-price {

            font-size: 0.9rem;

            opacity: 0.8;

        }



        /* Stock */

        .stock-info {

            margin-bottom: 2rem;

        }



        .in-stock {

            color: #27ae60;

            font-weight: 600;

            display: flex;

            align-items: center;

            gap: 0.5rem;

        }



        .out-of-stock {

            color: #e74c3c;

            font-weight: 600;

            display: flex;

            align-items: center;

            gap: 0.5rem;

        }



        /* Acciones del Producto */

        .product-actions {

            margin-bottom: 2rem;

        }



        .quantity-selector {

            display: flex;

            align-items: center;

            gap: 1rem;

            margin-bottom: 1.5rem;

        }



        .quantity-selector label {

            font-weight: 600;

            color: var(--primary-black);

        }



        .quantity-controls {

            display: flex;

            align-items: center;

            border: 2px solid var(--gray-medium);

            border-radius: 25px;

            overflow: hidden;

            background: var(--primary-white);

        }



        .qty-btn {

            padding: 0.5rem 1rem;

            background: var(--primary-black);

            color: var(--primary-white);

            border: none;

            cursor: pointer;

            font-size: 1.2rem;

            font-weight: bold;

            transition: var(--transition);

        }



        .qty-btn:hover {

            background: var(--gray-dark);

        }



        #quantity {

            border: none;

            padding: 0.5rem 1rem;

            text-align: center;

            font-size: 1.1rem;

            font-weight: 600;

            width: 80px;

            outline: none;

        }



        .action-buttons {

            display: flex;

            gap: 1rem;

            flex-wrap: wrap;

        }



        .btn-large {

            padding: 1rem 2rem;

            font-size: 1.1rem;

            flex: 1;

            min-width: 200px;

        }



        .btn-disabled {

            background: var(--gray-medium);

            color: var(--gray-dark);

            cursor: not-allowed;

        }



        .btn-disabled:hover {

            background: var(--gray-medium);

            transform: none;

        }



        /* Características del Producto */

        .product-features {

            background: var(--gray-light);

            border-radius: 15px;

            padding: 1.5rem;

        }



        .feature {

            display: flex;

            align-items: center;

            gap: 1rem;

            margin-bottom: 1rem;

        }



        .feature:last-child {

            margin-bottom: 0;

        }



        .feature i {

            font-size: 1.5rem;

            color: var(--primary-black);

            width: 30px;

        }



        .feature strong {

            display: block;

            font-size: 1rem;

            color: var(--primary-black);

            margin-bottom: 0.2rem;

        }



        .feature p {

            font-size: 0.9rem;

            color: var(--gray-dark);

            margin: 0;

        }



        /* Productos Relacionados */

        .related-products {

            padding: 3rem 0;

            background: var(--gray-light);

        }



        .related-grid {

            display: grid;

            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

            gap: 1.5rem;

            margin-top: 2rem;

        }



        .product-card-small {

            background: var(--primary-white);

            border-radius: 15px;

            overflow: hidden;

            transition: var(--transition);

            box-shadow: 0 5px 15px var(--shadow-light);

        }



        .product-card-small:hover {

            transform: translateY(-5px);

            box-shadow: 0 15px 35px var(--shadow-medium);

        }



        .product-image-small {

            position: relative;

            height: 200px;

            overflow: hidden;

        }



        .product-image-small img {

            width: 100%;

            height: 100%;

            object-fit: cover;

            transition: var(--transition);

        }



        .product-card-small:hover .product-image-small img {

            transform: scale(1.05);

        }



        .product-placeholder-small {

            width: 100%;

            height: 100%;

            background: var(--gray-light);

            display: flex;

            align-items: center;

            justify-content: center;

            font-size: 2rem;

            color: var(--gray-medium);

        }



        .product-overlay-small {

            position: absolute;

            top: 0;

            left: 0;

            right: 0;

            bottom: 0;

            background: rgba(0, 0, 0, 0.8);

            display: flex;

            align-items: center;

            justify-content: center;

            opacity: 0;

            transition: var(--transition);

        }



        .product-card-small:hover .product-overlay-small {

            opacity: 1;

        }



        .btn-overlay-small {

            background: var(--primary-white);

            color: var(--primary-black);

            padding: 0.5rem 1rem;

            border-radius: 20px;

            text-decoration: none;

            font-weight: 600;

            transition: var(--transition);

        }



        .btn-overlay-small:hover {

            transform: scale(1.05);

        }



        .product-info-small {

            padding: 1rem;

        }



        .product-title-small {

            margin-bottom: 0.5rem;

        }



        .product-title-small a {

            color: var(--primary-black);

            text-decoration: none;

            font-size: 1rem;

            font-weight: 600;

            transition: var(--transition);

        }



        .product-title-small a:hover {

            color: var(--gray-dark);

        }



        .product-price-small {

            font-weight: 600;

        }



        /* Responsive Producto */

        @media (max-width: 768px) {

            .product-layout {

                grid-template-columns: 1fr;

                gap: 2rem;

            }



            .product-gallery {

                position: static;

            }



            .main-product-image,

            .main-image-placeholder {

                height: 300px;

            }



            .thumbnails {

                grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));

            }



            .thumbnail {

                height: 60px;

            }



            .product-title {

                font-size: 1.8rem;

            }



            .price-current-large,

            .price-sale-large {

                font-size: 2rem;

            }



            .price-original-large {

                font-size: 1.2rem;

            }



            .quantity-selector {

                flex-direction: column;

                align-items: stretch;

                gap: 0.5rem;

            }



            .action-buttons {

                flex-direction: column;

            }



            .btn-large {

                min-width: auto;

            }



            .option-values {

                flex-direction: column;

            }



            .option-label-item {

                text-align: center;

            }



            .related-grid {

                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

                gap: 1rem;

            }

        }

        

        

        /* === ESTILOS DEL CARRITO === */



    .cart-section {

        padding: 2rem 0;

        min-height: 60vh;

    }



    .cart-header {

        text-align: center;

        margin-bottom: 2rem;

    }



    .cart-header h1 {

        font-size: 2.5rem;

        color: var(--primary-black);

        margin-bottom: 0.5rem;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 1rem;

    }



    .cart-subtitle {

        color: var(--gray-dark);

        font-size: 1.1rem;

    }



    .cart-layout {

        display: grid;

        grid-template-columns: 2fr 1fr;

        gap: 2rem;

        align-items: start;

    }



    /* Items del Carrito */

    .cart-items {

        background: var(--primary-white);

        border-radius: var(--border-radius);

        box-shadow: var(--shadow);

        overflow: hidden;

    }



    .cart-items-header {

        display: flex;

        justify-content: space-between;

        align-items: center;

        padding: 1.5rem;

        background: var(--gray-light);

        border-bottom: 1px solid var(--gray-medium);

    }



    .cart-items-header h3 {

        color: var(--primary-black);

        font-weight: 600;

    }



    .btn-clear-cart {

        background: var(--primary-black);

        color: var(--primary-white);

        border: none;

        padding: 0.5rem 1rem;

        border-radius: 5px;

        cursor: pointer;

        transition: var(--transition);

        display: flex;

        align-items: center;

        gap: 0.5rem;

    }



    .btn-clear-cart:hover {

        background: #c82333;

    }



    .cart-items-list {

        padding: 1.5rem;

    }



    .cart-item {

        display: grid;

        grid-template-columns: 100px 1fr auto auto auto;

        gap: 1.5rem;

        align-items: center;

        padding: 1.5rem 0;

        border-bottom: 1px solid var(--gray-light);

    }



    .cart-item:last-child {

        border-bottom: none;

    }



    .item-image {

        width: 100px;

        aspect-ratio: 1/1;

        border-radius: 8px;

        overflow: hidden;

        background: #f8f9fa;

    }



    .item-image img {

        width: 100%;

        height: 100%;

        object-fit: contain;

        object-position: center;

    }



    .item-image .no-image {

        width: 100%;

        height: 100%;

        background: var(--gray-light);

        display: flex;

        align-items: center;

        justify-content: center;

        color: var(--gray-medium);

        font-size: 2rem;

    }



    .item-details {

        flex: 1;

    }



    .item-name {

        margin-bottom: 0.5rem;

    }



    .item-name a {

        color: var(--primary-black);

        text-decoration: none;

        font-weight: 600;

        transition: var(--transition);

    }



    .item-name a:hover {

        color: var(--gray-dark);

    }



    .item-category {

        color: var(--gray-dark);

        font-size: 0.9rem;

        margin-bottom: 0.5rem;

    }



    .item-options {

        display: flex;

        gap: 0.5rem;

        flex-wrap: wrap;

        margin-bottom: 0.5rem;

    }



    .option-tag {

        background: var(--gray-light);

        color: var(--gray-dark);

        padding: 0.25rem 0.5rem;

        border-radius: 3px;

        font-size: 0.8rem;

    }



    .item-price {

        display: flex;

        align-items: center;

        gap: 0.5rem;

    }



    .price-unit {

        color: var(--gray-dark);

        font-size: 0.9rem;

    }



    .item-quantity {

        text-align: center;

    }



    .item-quantity label {

        display: block;

        margin-bottom: 0.5rem;

        font-weight: 500;

        color: var(--gray-dark);

    }



    .quantity-controls {

        display: flex;

        align-items: center;

        border: 1px solid var(--gray-medium);

        border-radius: 5px;

        overflow: hidden;

        margin-bottom: 0.5rem;

    }



    .qty-btn {

        padding: 0.5rem;

        background: var(--primary-black);

        color: var(--primary-white);

        border: none;

        cursor: pointer;

        font-size: 1rem;

        transition: var(--transition);

        width: 35px;

    }



    .qty-btn:hover {

        background: var(--gray-dark);

    }



    .quantity-controls input {

        border: none;

        padding: 0.5rem;

        text-align: center;

        width: 60px;

        font-weight: 600;

    }



    .stock-info {

        color: var(--gray-dark);

        font-size: 0.8rem;

    }



    .item-subtotal {

        text-align: center;

        position: relative;

    }



    .subtotal-amount {

        font-size: 1.2rem;

        font-weight: bold;

        color: var(--primary-black);

        margin-bottom: 0.5rem;

    }



    .btn-remove-item {

        background: var(--danger);

        color: var(--primary-white);

        border: none;

        width: 30px;

        height: 30px;

        border-radius: 50%;

        cursor: pointer;

        transition: var(--transition);

        display: flex;

        align-items: center;

        justify-content: center;

    }



    .btn-remove-item:hover {

        background: #c82333;

        transform: scale(1.1);

    }



    /* Resumen del Carrito */

    .cart-summary {

        position: sticky;

        top: 90px;

    }



    .summary-card {

        background: var(--primary-white);

        border-radius: var(--border-radius);

        box-shadow: var(--shadow);

        padding: 2rem;

        margin-bottom: 1.5rem;

    }



    .summary-card h3 {

        color: var(--primary-black);

        font-weight: 600;

        margin-bottom: 1.5rem;

        display: flex;

        align-items: center;

        gap: 0.5rem;

    }



    .summary-details {

        margin-bottom: 2rem;

    }



    .summary-line {

        display: flex;

        justify-content: space-between;

        align-items: center;

        margin-bottom: 1rem;

        color: var(--gray-dark);

    }



    .summary-line:last-child {

        margin-bottom: 0;

    }



    .shipping-price {

        color: var(--info);

        font-style: italic;

    }



    .discount-line {

        color: var(--success);

    }



    .summary-divider {

        border: none;

        border-top: 2px solid var(--gray-light);

        margin: 1.5rem 0;

    }



    .summary-total {

        display: flex;

        justify-content: space-between;

        align-items: center;

        font-size: 1.3rem;

        font-weight: bold;

        color: var(--primary-black);

    }



    .total-amount {

        color: var(--primary-black);

    }



    .summary-actions {

        display: flex;

        flex-direction: column;

        gap: 1rem;

    }



    .btn-large {

        padding: 1rem 1.5rem;

        font-size: 1.1rem;

        font-weight: 600;

        text-align: center;

        width: 100%;

    }



    .btn-outline {

        background: transparent;

        color: var(--primary-black);

        border: 2px solid var(--primary-black);

        text-decoration: none;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        gap: 0.5rem;

    }



    .btn-outline:hover {

        background: var(--primary-black);

        color: var(--primary-white);

    }



    /* Información del Carrito */

    .cart-info {

        background: var(--primary-white);

        border-radius: var(--border-radius);

        box-shadow: var(--shadow);

        padding: 1.5rem;

    }



    .info-section {

        margin-bottom: 1.5rem;

    }



    .info-section:last-child {

        margin-bottom: 0;

    }



    .info-section h4 {

        color: var(--primary-black);

        font-weight: 600;

        margin-bottom: 0.5rem;

        display: flex;

        align-items: center;

        gap: 0.5rem;

    }



    .info-section ul {

        list-style: none;

        margin: 0;

    }



    .info-section li {

        padding: 0.25rem 0;

        color: var(--gray-dark);

    }



    .info-section li::before {

        content: '✓';

        color: var(--success);

        margin-right: 0.5rem;

        font-weight: bold;

    }



    /* Carrito Vacío */

    .empty-cart {

        text-align: center;

        padding: 4rem 2rem;

        color: var(--gray-dark);

    }



    .empty-cart-icon {

        font-size: 5rem;

        color: var(--gray-medium);

        margin-bottom: 1.5rem;

    }



    .empty-cart h3 {

        font-size: 1.8rem;

        color: var(--primary-black);

        margin-bottom: 1rem;

    }



    .empty-cart p {

        font-size: 1.1rem;

        margin-bottom: 2rem;

    }



    /* Productos Recomendados */

    .recommended-products {

        padding: 3rem 0;

        background: var(--gray-light);

    }



    .recommended-products h3 {

        text-align: center;

        color: var(--primary-black);

        font-weight: 600;

        margin-bottom: 2rem;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 0.5rem;

    }



    .recommended-grid {

        display: grid;

        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

        gap: 1.5rem;

    }



    .recommended-item {

        background: var(--primary-white);

        border-radius: 8px;

        overflow: hidden;

        box-shadow: var(--shadow);

        transition: var(--transition);

    }



    .recommended-item:hover {

        transform: translateY(-5px);

        box-shadow: var(--shadow-lg);

    }



    .recommended-image {

        height: 150px;

        overflow: hidden;

    }



    .recommended-image img {

        width: 100%;

        height: 100%;

        object-fit: cover;

    }



    .recommended-image .no-image {

        width: 100%;

        height: 100%;

        background: var(--gray-light);

        display: flex;

        align-items: center;

        justify-content: center;

        color: var(--gray-medium);

        font-size: 2rem;

    }



    .recommended-info {

        padding: 1rem;

        text-align: center;

    }



    .recommended-info h4 {

        margin-bottom: 0.5rem;

        color: var(--primary-black);

        font-size: 0.9rem;

    }



    .recommended-price {

        margin-bottom: 1rem;

    }



    .btn-small {

        padding: 0.5rem 1rem;

        font-size: 0.9rem;

    }



    /* Responsive Carrito */

    @media (max-width: 1024px) {

        .cart-layout {

            grid-template-columns: 1fr;

        }



        .cart-summary {

            position: static;

            order: -1;

        }

    }



    @media (max-width: 768px) {

        .cart-item {

            grid-template-columns: 80px 1fr;

            gap: 1rem;

        }



        .item-quantity,

        .item-subtotal {

            grid-column: 1 / -1;

            display: flex;

            justify-content: space-between;

            align-items: center;

            margin-top: 1rem;

            padding-top: 1rem;

            border-top: 1px solid var(--gray-light);

        }



        .cart-items-header {

            flex-direction: column;

            gap: 1rem;

            text-align: center;

        }



        .recommended-grid {

            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

        }

    }



    .products-list .product-image {

        aspect-ratio: 1/1;

    }

}




