/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #f7f9fc;
}

body {
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.5;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.06);
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Sora', sans-serif;
}

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: #ebf4ff;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 500;
}

.top-bar-left a {
    color: #666;
    margin-right: 25px;
}

.top-bar-center {
    color: #aed4e8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-bar-center .shop-now-link {
    color: #58b9f6;
    text-decoration: underline;
    font-weight: 800;
    margin-left: 5px;
}

.top-bar-right {
    color: #777;
}

.top-bar-right strong {
    color: #58b9f6;
    font-weight: 700;
}

/* Main Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.logo .dot-com {
    color: white;
    background-color: #58b9f6;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    position: relative;
    top: -10px;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 36px;
    font-weight: 700;
    font-size: 14px;
}

.dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lucide-icon {
    width: 16px;
    height: 16px;
}

.nav-links .sale {
    color: #58b9f6;
}

.nav-links a:not(.sale) {
    color: #1a1a1a;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #58b9f6;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    position: relative;
    padding: 4px;
}

icon-btn svg {
    width: 22px;
    height: 22px;
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #58b9f6;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Hero Section / Large Banner */
.large-banner {
    background-color: #f4f3f4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 45px 60px;
    position: relative;
    height: 400px;
    margin-bottom: 24px;
    overflow: hidden;
}

.banner-content {
    max-width: 500px;
    z-index: 2;
}

.banner-content .badge {
    background-color: white;
    color: #58b9f6;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 16px;
    color: #555555;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 400px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #58b9f6;
    color: white;
    font-weight: 700;
    font-size: 12px;
    padding: 14px 28px;
    border-radius: 30px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary svg {
    width: 14px;
    height: 14px;
}

.btn-primary:hover {
    background-color: #e55a39;
    transform: translateY(-2px);
}

.banner-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 55%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.banner-image img {
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dot.active {
    background-color: white;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 10px;
}

.category-card {
    border-radius: 12px;
    padding: 25px 30px;
    height: 140px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.category-content {
    z-index: 2;
    position: relative;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.category-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.category-content p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: white;
    font-weight: 800;
    font-size: 10px;
    padding: 10px 20px;
    border-radius: 20px;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-secondary svg {
    width: 12px;
    height: 12px;
}

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

.category-image {
    position: absolute;
    right: -20px;
    bottom: -10px;
    height: 120%;
    width: 65%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.category-image img {
    height: 110%;
    object-fit: contain;
    object-position: bottom right;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%);
}

/* Category Specific Colors */
.category-suplementos {
    background-color: #fce5eb;
}

.category-suplementos .btn-secondary {
    color: #ea6464;
}

.category-medicamentos {
    background-color: #e5eefa;
}

.category-medicamentos .btn-secondary {
    color: #5587a8;
}

.category-medicamentos .category-image {
    right: -10px;
}

.category-instrumentos {
    background-color: #fcd3ba;
}

.category-instrumentos .btn-secondary {
    color: #d18a4a;
}

/* Icons Category Row */
.icons-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 60px 0;
    overflow-x: auto;
    gap: 15px;
    padding-top: 15px;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.icons-row::-webkit-scrollbar {
    display: none;
}
.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 80px;
    transition: transform 0.2s;
}
.icon-item:hover {
    transform: translateY(-5px);
}
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ebf5fd;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: all 0.3s;
}
.icon-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.icon-item:hover .icon-circle {
    background-color: #d1e5f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.icon-label {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}

/* Featured Products */
.featured-products {
    margin-bottom: 80px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}
.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 15px;
}
.view-all {
    font-size: 14px;
    font-weight: 500;
    color: #58b9f6;
    text-decoration: underline;
}
.section-subtitle {
    color: #666;
    font-size: 15px;
    margin-top: 5px;
}
.header-arrows {
    display: flex;
    gap: 10px;
}
.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    padding: 5px;
}
.arrow-btn svg {
    width: 24px;
    height: 24px;
}

/* Products Carousel */
.products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.products-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 220px;
    flex: 0 0 calc(16.666% - 17px);
}

.product-image-box {
    background-color: #f6f6f6;
    border-radius: 12px;
    padding: 30px 20px;
    position: relative;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.product-image-box:hover {
    background-color: #ededed;
}

.product-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Badges */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}
.badge-new {
    background-color: #1a1a1a;
}
.badge-hot {
    background-color: #1a1a1a;
}
.badge-discount {
    top: 40px;
    background-color: #1a1a1a;
}

/* Hover Actions */
.product-actions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 3;
}

.product-image-box:hover .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #1a1a1a;
    transition: transform 0.2s, background-color 0.2s;
}

.action-btn:hover {
    transform: scale(1.3) translateY(10px);
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

.action-cart {
    background-color: #58b9f6;
    color: white;
}

.action-cart svg {
    color: white;
}

/* Product Info */
.product-info {
    padding: 0 5px;
}
.product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}
.product-brand {
    font-size: 11px;
    color: #888;
}
.old-price {
    font-size: 11px;
    color: #888;
    text-decoration: line-through;
}
.product-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}
.current-price {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
}

/* Promo Banner Full */
.promo-banner-full {
    background-color: #ede4e5;
    display: flex;
    position: relative;
    height: 480px;
    margin: 40px 0 60px 0;
    overflow: hidden;
}

.promo-image {
    width: 50%;
    height: 100%;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 25%, black 100%);
    mask-image: linear-gradient(to left, transparent 0%, black 25%, black 100%);
}

.promo-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 10%;
    z-index: 2;
}

.promo-content .badge-sale {
    background-color: white;
    color: #58b9f6;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.promo-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.promo-description {
    color: #555;
    font-size: 16px;
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.6;
}

.promo-content .btn-primary {
    font-size: 13px;
    padding: 16px 36px;
    border-radius: 30px;
}

/* Ribbon */
.promo-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    overflow: hidden;
    z-index: 5;
}

.promo-ribbon span {
    position: absolute;
    display: block;
    width: 350px;
    padding: 10px 0;
    background-color: #58b9f6;
    color: white;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
    top: 38px;
    right: -85px;
    transform: rotate(45deg);
    letter-spacing: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    white-space: nowrap;
}

/* Features Row */
.features-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 80px 0;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: #888;
}

/* Thin Banner */
.thin-banner {
    background: linear-gradient(90deg, #e5eefa 0%, #f0f5fc 50%, #e5eefa 100%);
    border-radius: 12px;
    padding: 50px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.thin-banner .thin-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

.thin-banner h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    white-space: nowrap;
}

.thin-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    max-width: 450px;
}

.thin-icon {
    position: absolute;
    width: 140px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    filter: grayscale(100%);
}

.thin-icon-left {
    left: -10px;
    bottom: -20px;
    transform: rotate(25deg);
}

.thin-icon-right {
    right: -10px;
    top: -20px;
    transform: rotate(-15deg);
}

/* Bottom Full Banner */
.bottom-banner-full {
    width: 100%;
    height: 500px;
    position: relative;
    background-image: url('banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.bottom-banner-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.bottom-banner-content .promo-title {
    font-size: 46px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.bottom-banner-content .promo-description {
    color: #333;
    font-size: 16px;
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.6;
}

/* Collections Three */
.collections-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.collection-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
    text-align: center;
}

.collection-img {
    height: 400px;
    width: 100%;
}

.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.collection-info {
    padding: 20px 30px;
}

.collection-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.collection-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Colors matching photos */
.col-suplemento { background-color: #fff9f6; }
.col-suplemento h3 { color: #58b9f6; }

.col-medicamento { background-color: #f0f7f4; }
.col-medicamento h3 { color: #32a884; }

.col-indumentaria { background-color: #f4f6fc; }
.col-indumentaria h3 { color: #4378c2; }

/* Testimonials */
.testimonials {
    margin-bottom: 80px;
}
.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.testimonials-header h2 {
    font-size: 22px;
    font-weight: 800;
}
.header-arrows {
    display: flex;
    gap: 15px;
}
.arrow-btn {
    background: transparent;
    cursor: pointer;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
.testimonial-card {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.quote-icon {
    font-size: 40px;
    color: #eaeaea;
    margin-bottom: 15px;
    line-height: 1;
    font-family: serif;
    font-weight: bold;
}
.testimonial-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}
.author-info h4 {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
}
.author-info span {
    font-size: 10px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   CATALOG PAGE STYLES
   ========================================= */

/* Catalog Banner */
.catalog-banner {
    background-color: #ebf5fd; /* Azul claro solicitado */
    border-radius: 12px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}
.catalog-banner-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #b58d7d; /* Tono cálido para contrastar o match con tu referencia */
    margin-bottom: 12px;
}
.catalog-banner-content p {
    font-size: 15px;
    color: #6a6a6a;
    line-height: 1.5;
}
.catalog-banner-decoration {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
}
.catalog-banner-decoration img {
    height: 150px;
    width: auto;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 40px;
}
.breadcrumbs a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover {
    color: #1a1a1a;
}
.breadcrumbs .separator {
    margin: 0 8px;
}

/* Catalog Layout Frame */
.catalog-layout {
    display: flex;
    gap: 40px;
}

/* Sidebar */
.catalog-sidebar {
    width: 250px;
    flex-shrink: 0;
}
.sidebar-title {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
}
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 40px;
}
.sidebar-categories li {
    margin-bottom: 16px;
}
.sidebar-categories a {
    text-decoration: none;
    color: #6a6a6a;
    font-size: 13px;
    transition: color 0.2s;
}
.sidebar-categories a:hover {
    color: #58b9f6;
}

/* Sidebar Accordions */
.filter-group {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}
.filter-icon {
    width: 16px;
    height: 16px;
    color: #a0a0a0;
}
.filter-content {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 13px;
    color: #6a6a6a;
    user-select: none;
}
.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.filter-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: #f6f6f6;
    border-radius: 3px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}
.filter-checkbox:hover input ~ .checkmark {
    background-color: #eee;
}
.filter-checkbox input:checked ~ .checkmark {
    background-color: #58b9f6;
    border-color: #58b9f6;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
}
.filter-checkbox .checkmark:after {
    left: 4px;
    top: 1px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.btn-search-filters {
    width: 100%;
    margin-top: 30px;
    background-color: #58b9f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-search-filters:hover {
    background-color: #e56041;
}

/* Main Catalog Area */
.catalog-content {
    flex-grow: 1;
}

/* Toolbar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.products-count {
    color: #6a6a6a;
    font-size: 13px;
}
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}
.toolbar-select {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6a6a6a;
}
.select-wrapper {
    position: relative;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}
.select-wrapper select {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: #333;
    font-weight: 400;
    cursor: pointer;
    padding: 7px 30px 7px 12px;
    width: 100%;
    font-family: inherit;
}
.select-wrapper i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    pointer-events: none;
    color: #a0a0a0;
}
.view-toggles {
    display: flex;
    gap: 5px;
}
.view-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}
.view-btn:hover, .view-btn.active {
    color: #58b9f6;
}

/* Tags */
.active-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-tag {
    background-color: #fff6f3; /* very light orange */
    color: #1a1a1a;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.filter-tag button {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.filter-tag button:hover {
    color: #58b9f6;
}
.clear-filters {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 12px;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s;
}
.clear-filters:hover {
    border-color: #1a1a1a;
}

/* 4 Column Grid */
.catalog-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 40px;
}


/* Pagination */
.catalog-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 60px;
    position: relative;
}
.pagination-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.btn-view-more {
    background-color: #58b9f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-view-more:hover {
    background-color: #e56041;
}
.pagination-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.page-num {
    background: transparent;
    border: none;
    font-size: 14px;
    color: #a0a0a0;
    cursor: pointer;
    font-weight: 500;
    padding: 0;
}
.page-num:hover {
    color: #58b9f6;
}
.page-num.active {
    color: #1a1a1a;
    font-weight: 800;
}
.page-dots {
    color: #a0a0a0;
    letter-spacing: 2px;
}
.page-nav {
    background: transparent;
    border: none;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}
.page-nav:hover:not(.disabled) {
    color: #58b9f6;
}
.page-nav.disabled {
    color: #d0d0d0;
    pointer-events: none;
}
.page-nav i {
    width: 18px;
    height: 18px;
}

/* =========================================
   PRODUCT DETAIL PAGE (PDP) STYLES
   ========================================= */

/* Hero Core */
.product-pdp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 40px;
    margin-bottom: 80px;
}

/* Gallery Left */
.pdp-gallery {
    display: flex;
    gap: 20px;
    height: 600px;
}
.gallery-thumbs {
    width: 90px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gallery-thumbs .thumb {
    width: 90px;
    height: 100px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
    background-color: #f6f6f6;
}
.gallery-thumbs .thumb img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.gallery-thumbs .thumb.active {
    border: 2px solid #58b9f6;
}

.gallery-main {
    flex-grow: 1;
    background-color: #f6f6f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gallery-main img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Info Right */
.pdp-info {
    display: flex;
    flex-direction: column;
}
.pdp-brand {
    font-size: 13px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
}
.pdp-title {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Ratings */
.pdp-ratings-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}
.pdp-ratings-row .stars {
    display: flex;
    gap: 3px;
}
.pdp-ratings-row .star {
    width: 16px;
    height: 16px;
    color: #58b9f6;
}
.pdp-ratings-row .star.filled {
    fill: #58b9f6;
}
.review-count {
    font-size: 13px;
    color: #6a6a6a;
}

/* Variants */
.pdp-variants {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.variant-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.variant-label {
    font-size: 13px;
    color: #6a6a6a;
    width: 80px;
}
.variant-value {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}
.color-swatches {
    display: flex;
    gap: 15px;
}
.color-swatches .swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
}
.color-swatches .swatch.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid #58b9f6;
    border-radius: 50%;
}

/* Price & Action */
.pdp-price-box {
    margin-bottom: 40px;
}
.pdp-price-box .old-price {
    font-size: 16px;
    color: #a0a0a0;
    text-decoration: line-through;
    margin-bottom: 5px;
    display: block;
}
.price-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-action-row .current-price {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a1a;
}
.action-buttons {
    display: flex;
    gap: 15px;
}
.btn-add-cart {
    background-color: #58b9f6;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(246,114,82,0.3);
    transition: background-color 0.3s, transform 0.2s;
}
.btn-add-cart:hover {
    background-color: #e56041;
    transform: translateY(-2px);
}
.btn-wishlist {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-wishlist:hover {
    background-color: #e0e0e0;
}

/* Trust Badges */
.pdp-trust-badges {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    margin-top: auto;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6a6a6a;
}
.trust-item i {
    width: 18px;
    height: 18px;
    color: #a0a0a0;
}

/* Details Grid */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 60px;
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 80px;
}
.detail-title {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
}
.detail-content {
    font-size: 13px;
    color: #6a6a6a;
    line-height: 1.8;
}
.text-desc p {
    margin-bottom: 15px;
}
.specs-list {
    list-style: none;
    padding: 0;
}
.specs-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
}
.specs-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background-color: #58b9f6;
    border-radius: 50%;
}

/* Review Card Block */
.detail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.detail-header-row .detail-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.detail-title-group h3 {
    margin-bottom: 0; /* Override */
}
.view-all-reviews {
    font-size: 13px;
    color: #58b9f6;
    text-decoration: underline;
    font-weight: 600;
}
.nav-arrows {
    display: flex;
    gap: 10px;
}
.nav-arrows button {
    background: transparent;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}
.nav-arrows button:hover {
    color: #1a1a1a;
}
.review-card {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 30px;
}
.review-card .stars {
    display: flex;
    gap: 3px;
}
.review-card .star {
    width: 14px;
    height: 14px;
    color: #58b9f6;
    fill: #58b9f6;
}
.review-text {
    font-style: italic;
    margin-bottom: 20px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-info strong {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 700;
}
.author-info span {
    font-size: 10px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Similar Products */
.similar-products-section {
    margin-bottom: 100px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
}
.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* =========================================
   OFERTAS ESPECIALES PAGE STYLES
   ========================================= */

/* Hero Banner Ofertas */
.ofertas-hero {
    background: linear-gradient(135deg, #096a9c, #1cc1c4);
    width: 100%;
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.ofertas-hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ofertas-tag {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}
.ofertas-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}
.ofertas-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Countdown Timer */
.ofertas-countdown {
    display: flex;
    align-items: center;
    gap: 15px;
}
.countdown-block {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    width: 75px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.cd-num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}
.cd-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
}
.cd-separator {
    font-size: 24px;
    font-weight: 800;
    opacity: 0.5;
}

/* Ofertas Category Cards */
.ofertas-category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}
.cat-pill-card {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-radius: 16px;
    text-decoration: none;
    color: #1a1a1a;
    transition: transform 0.3s, box-shadow 0.3s;
}
.cat-pill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.cat-pill-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.cat-pill-icon i {
    width: 20px;
    height: 20px;
}
.cat-pill-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.cat-pill-info strong {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 3px;
}
.cat-pill-info span {
    font-size: 11px;
    color: #44a590; /* fallback info color */
}
.cat-pill-arrow {
    font-size: 12px;
    font-weight: 700;
    color: rgba(0,0,0,0.4);
}

/* Flash Sales Section */
.flash-sales-section {
    margin-bottom: 100px;
}
.flash-sales-header {
    text-align: center;
    margin-bottom: 50px;
}
.flash-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #58b9f6;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.flash-sales-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}
.flash-sales-header p {
    font-size: 14px;
    color: #6a6a6a;
    line-height: 1.6;
}
.flash-sales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.flash-card {
    border: none;
    background: #fafafa;
}

/* =========================================
   NUEVOS (Lanzamientos) PAGE STYLES
   ========================================= */

/* Split Hero Banner */
.split-hero {
    display: flex;
    background: #fdfdfd;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}
.split-hero-text {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.new-tag {
    background: #1a1a1a;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}
.split-hero-text h2 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.split-hero-text p {
    font-size: 15px;
    color: #6a6a6a;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 400px;
}
.btn-discover {
    background: #58b9f6;
    color: white;
    font-weight: 800;
    padding: 16px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}
.btn-discover:hover {
    background: #1a1a1a;
}

.split-hero-image {
    flex: 1;
    background: #eef2f5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.split-hero-image img {
    max-width: 80%;
    max-height: 300px;
    object-fit: contain;
    transform: scale(1.3) translateY(10px);
    transition: transform 0.5s;
}
.split-hero:hover .split-hero-image img {
    transform: scale(1.15);
}
.split-hero-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: #58b9f6;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(246, 114, 82, 0.3);
    transform: rotate(15deg);
}

/* =========================================
   MARCAS PAGE STYLES
   ========================================= */

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.brand-cube {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.brand-cube:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: #58b9f6;
}
.brand-cube-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.brand-letter {
    font-size: 48px;
    font-weight: 900;
    color: #e6e6e6;
    line-height: 1;
    transition: color 0.3s;
}
.brand-cube:hover .brand-letter {
    color: #58b9f6;
}
/* For the colored cube, keep letter white on hover */
.brand-cube[style*="linear-gradient"]:hover .brand-letter {
    color: rgba(255,255,255,0.8) !important;
}

.brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.brand-cube:hover .brand-name {
    opacity: 1;
}

/* =========================================
   AUTH MODAL STYLES
   ========================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.auth-modal-content {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .auth-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #1a1a1a;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 800;
    color: #a0a0a0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.auth-tab.active {
    color: #58b9f6;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #58b9f6;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.auth-form.active {
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.form-group input {
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #58b9f6;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.forgot-password {
    color: #58b9f6;
    text-decoration: none;
    font-weight: 600;
}

.btn-auth-submit {
    background: #58b9f6;
    color: white;
    font-weight: 800;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-auth-submit:hover {
    background: #1a1a1a;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 15px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #f0f0f0;
}

.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    font-size: 12px;
    color: #a0a0a0;
}

.btn-google-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-google-auth:hover {
    background: #f9f9f9;
}

/* Responsive */
@media (max-width: 1024px) {
    .brands-grid { grid-template-columns: repeat(3, 1fr); }

    .cart-layout { flex-direction: column; }
    .cart-layout > div:last-child { width: 100% !important; margin-top: 30px; }
    .profile-layout { flex-direction: column; }
    .profile-sidebar { width: 100% !important; margin-bottom: 20px; }

    .hero-title {
        font-size: 40px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        height: 240px;
    }

    .best-sellers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .collections-three {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    footer .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .split-hero { flex-direction: column; }
    .split-hero-text, .split-hero-image { padding: 30px; }
    .split-hero-text h2 { font-size: 32px; }
    
    .brands-grid { grid-template-columns: repeat(2, 1fr); }

    .best-sellers-grid {
        grid-template-columns: 1fr;
    }

    .best-sellers-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    footer .container {
        grid-template-columns: 1fr;
    }

    .ig-feed {
        height: 100px !important;
    }
}


/* ---- MOBILE OVERHAUL (Premium Layout) ---- */
@media (max-width: 768px) {
    /* Mover padding al contenedor general */
    body {
        background-color: #fff;
    }

    /* Header Re-layout */
    .main-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
        position: relative !important;
    }
    
    .nav-links {
        display: none !important;
    }

    /* Center the logo on left */
    /* The user wants the hamburger on the RIGHT. And search disabled. */
    .logo {
        flex-grow: 1;
        display: flex !important;
        justify-content: flex-start !important;
        padding-left: 0 !important;
    }
    
    .logo h1 a {
        margin-left: 0 !important;
        gap: 6px !important;
    }

    /* Icons to the right */
    .header-icons {
        display: flex !important;
        gap: 15px !important;
        align-items: center !important;
    }

    /* Hide Search Icon inside .header-icons on mobile */
    .header-icons > button.icon-btn:first-child {
        display: none !important;
    }

    /* Create Hamburger menu on the RIGHT */
    .header-icons::after {
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%231a1a1a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="4" x2="20" y1="12" y2="12"/><line x1="4" x2="20" y1="6" y2="6"/><line x1="4" x2="20" y1="18" y2="18"/></svg>');
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        margin-left: 5px;
    }

    /* Grids to 2 Columns */
    .best-sellers-grid, .grid-productos, .collections-three {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 10px !important;
    }

    /* Product Cards Mobile Minimalist */
    .product-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        background: transparent !important;
        transition: none !important;
    }

    .product-image-box {
        position: relative !important;
        background-color: #f7f7f7 !important; 
        border-radius: 8px !important;
        padding: 10px !important;
        margin-bottom: 8px !important;
        aspect-ratio: 1 / 1.1 !important; /* Make it slightly taller */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden;
    }

    .product-image-box img {
        max-width: 95% !important;
        max-height: 95% !important;
        object-fit: contain !important;
        transition: none !important;
    }

    /* Hide standard product actions except cart */
    .product-actions {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        position: absolute !important;
        bottom: 8px !important;
        right: 8px !important;
        top: auto !important;
        left: auto !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: row !important;
        width: auto !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    /* Ocultar botones de ojo y corazon en mobil */
    .product-actions .action-btn:not(.action-cart) {
        display: none !important;
    }

    .product-actions .action-btn.action-cart {
        display: flex !important;
        background-color: #1a1a1a !important;
        color: white !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 6px !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.15) !important;
        margin: 0 !important;
    }
    
    .product-actions .action-btn.action-cart svg,
    .product-actions .action-btn.action-cart i {
        width: 16px !important;
        height: 16px !important;
        color: white !important;
    }
    
    .product-badge {
        font-size: 10px !important;
        padding: 4px 6px !important;
        top: 8px !important;
        left: 8px !important;
        border-radius: 4px !important;
        width: max-content !important;
        display: inline-block !important;
    }

    /* Fix Hero and Banners Text Sizing */
    .hero-title, .split-hero-text h2, .promo-text h2, .promo-split-content h2, .hero-content h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }
    .hero-description {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    .badge {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }

    /* Fix Footer Multiple Columns (override inline grids) */
    footer .container {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    footer .container .footer-col {
        align-items: flex-start !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    footer .container .footer-col h4, footer .container .footer-col h1 {
        margin-bottom: 12px !important;
    }
    footer .container .footer-col ul {
        align-items: flex-start !important;
        gap: 10px !important;
    }
    footer > .container:last-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    /* Typography inside product card */
    .product-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0px !important;
        text-align: left !important;
        padding: 0 6px !important;
    }

    .product-row {
        /* USE CONTENTS TO BREAK THE GROUPING */
        display: contents !important;
    }

    .product-brand {
        font-size: 11px !important;
        color: #888 !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        order: 1 !important;
        margin-bottom: 2px !important;
    }

    .product-name {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        order: 2 !important;
    }

    .current-price {
        font-size: 15px !important;
        font-weight: 900 !important;
        color: #58b9f6 !important;
        order: 3 !important;
        margin-top: 2px !important;
    }

    .old-price {
        font-size: 12px !important;
        text-decoration: line-through !important;
        color: #aaa !important;
        order: 4 !important;
        margin-top: 2px !important;
    }

    /* Hide old big "Add to cart" textual buttons if any in mobile */
    .btn-add-cart, .btn-primary.add-to-cart {
        display: none !important;
    }

    /* Adjust Icons Row */
    .icons-row {
        gap: 15px !important;
        padding-top: 15px !important;
        padding-bottom: 25px !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
    }
    
    .icon-circle {
        width: 65px !important;
        height: 65px !important;
        padding: 15px !important;
    }
    
    .icon-label {
        font-size: 11px !important;
    }
}

/* =========================================
   PRODUCT DETAIL PAGE (PDP) STYLES
   ========================================= */

.pdp-hero {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pdp-gallery {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 55%;
}

.pdp-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
}

.pdp-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.pdp-thumb:hover,
.pdp-thumb.active {
    border-color: #58b9f6;
    box-shadow: 0 2px 8px rgba(88,185,246,0.2);
}

.pdp-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pdp-main-image {
    flex: 1;
    background: #f6f6f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 480px;
    position: relative;
    overflow: hidden;
}

.pdp-main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

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

.pdp-info {
    flex: 1;
    max-width: 45%;
    display: flex;
    flex-direction: column;
}

.pdp-brand {
    font-size: 12px;
    font-weight: 700;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.pdp-product-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pdp-ratings {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.pdp-stars {
    display: flex;
    gap: 2px;
}

.pdp-stars svg {
    width: 16px;
    height: 16px;
    fill: #f5a623;
    stroke: #f5a623;
}

.pdp-review-count {
    font-size: 13px;
    color: #888;
}

.pdp-badge {
    background: #1a1a1a;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

.pdp-variants {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.pdp-variant-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pdp-variant-label {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    min-width: 100px;
}

.pdp-variant-value {
    font-size: 14px;
    color: #666;
}

.pdp-select {
    padding: 10px 35px 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.pdp-select:focus {
    outline: none;
    border-color: #58b9f6;
}

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

.pdp-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.pdp-swatch:hover {
    transform: scale(1.15);
}

.pdp-swatch.active {
    outline-color: #58b9f6;
}

.pdp-price-block {
    margin-bottom: 25px;
}

.pdp-old-price {
    font-size: 16px;
    color: #a0a0a0;
    text-decoration: line-through;
    margin-bottom: 4px;
    display: block;
}

.pdp-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pdp-current-price {
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.pdp-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #58b9f6;
    color: white;
    font-size: 13px;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.5px;
}

.pdp-btn-cart:hover {
    background: #3ea8f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88,185,246,0.35);
}

.pdp-btn-cart:active {
    transform: translateY(0);
}

.pdp-btn-cart svg {
    width: 18px;
    height: 18px;
}

.pdp-btn-wish {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    color: #999;
}

.pdp-btn-wish:hover {
    border-color: #58b9f6;
    color: #58b9f6;
}

.pdp-btn-wish svg {
    width: 22px;
    height: 22px;
}

.pdp-trust {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.pdp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
    font-weight: 600;
}

.pdp-trust-item svg {
    width: 18px;
    height: 18px;
    color: #58b9f6;
}

/* PDP Details Grid */
.pdp-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    margin-bottom: 70px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.pdp-detail-col h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.pdp-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.pdp-description ul {
    list-style: none;
    padding: 0;
}

.pdp-description ul li {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding-left: 16px;
    position: relative;
}

.pdp-description ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #58b9f6;
    font-weight: bold;
}

.pdp-specs-list {
    list-style: none;
    padding: 0;
}

.pdp-specs-list li {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdp-specs-list li::before {
    content: '•';
    color: #58b9f6;
    font-size: 18px;
    line-height: 1;
}

.pdp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pdp-review-header h3 {
    margin-bottom: 0;
}

.pdp-view-all-reviews {
    font-size: 13px;
    color: #58b9f6;
    text-decoration: underline;
    font-weight: 600;
}

.pdp-review-card {
    background: #fafafa;
    border-radius: 12px;
    padding: 25px;
}

.pdp-review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
}

.pdp-review-stars svg {
    width: 14px;
    height: 14px;
    fill: #f5a623;
    stroke: #f5a623;
}

.pdp-review-text {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.pdp-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #e0e0e0;
}

.pdp-review-name {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
}

.pdp-review-role {
    font-size: 10px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PDP Similar Products */
.pdp-similar {
    margin-bottom: 80px;
}

.pdp-similar .section-header {
    margin-bottom: 25px;
}

.pdp-similar .section-header h2 {
    font-size: 20px;
    font-weight: 800;
}

.pdp-similar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* =========================================
   DYNAMIC CART STYLES
   ========================================= */

.cart-page-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    margin-top: 40px;
}

.cart-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.cart-items-wrapper {
    flex: 1;
}

.cart-items-list {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: #fafcff;
}

.cart-item-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #f6f6f6;
    border-radius: 10px;
    padding: 12px;
    margin-right: 20px;
    flex-shrink: 0;
}

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

.cart-item-category {
    font-size: 11px;
    color: #a0a0a0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 4px;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 800;
    color: #58b9f6;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    background: #f6f6f6;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 5px 15px;
    gap: 15px;
    margin-right: 25px;
    flex-shrink: 0;
}

.cart-qty-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #a0a0a0;
    transition: color 0.2s;
    line-height: 1;
    padding: 2px 4px;
}

.cart-qty-btn:hover {
    color: #58b9f6;
}

.cart-qty-value {
    font-weight: 700;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

.cart-remove-btn {
    border: none;
    background: none;
    cursor: pointer;
    color: #d0d0d0;
    transition: color 0.3s, transform 0.2s;
    padding: 5px;
    flex-shrink: 0;
}

.cart-remove-btn:hover {
    color: #e74c3c;
    transform: scale(1.15);
}

.cart-remove-btn svg {
    width: 20px;
    height: 20px;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    margin-top: 30px;
    padding: 10px 0;
    transition: color 0.2s;
}

.cart-continue-link:hover {
    color: #58b9f6;
}

.cart-continue-link svg {
    width: 16px;
    height: 16px;
}

/* Cart Summary */
.cart-summary {
    width: 380px;
    background: #fafafa;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.cart-summary-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.cart-summary-row span:last-child {
    font-weight: 700;
    color: #1a1a1a;
}

.cart-summary-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-summary-total-label {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.cart-summary-total-value {
    font-size: 26px;
    font-weight: 900;
    color: #58b9f6;
}

.cart-checkout-btn {
    width: 100%;
    padding: 18px;
    border-radius: 10px;
    border: none;
    background: #1a1a1a;
    color: white;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.5px;
}

.cart-checkout-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cart-checkout-btn svg {
    width: 18px;
    height: 18px;
}

.cart-secure-note {
    margin-top: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: #ccc;
    font-size: 12px;
}

.cart-secure-note svg {
    width: 16px;
    height: 16px;
}

/* Cart Empty State */
.cart-empty-state {
    text-align: center;
    padding: 80px 30px;
}

.cart-empty-icon {
    width: 100px;
    height: 100px;
    background: #f6f6f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.cart-empty-icon svg {
    width: 42px;
    height: 42px;
    color: #ccc;
}

.cart-empty-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.cart-empty-text {
    font-size: 15px;
    color: #888;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #58b9f6;
    color: white;
    font-size: 13px;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    font-family: 'Sora', sans-serif;
}

.cart-empty-btn:hover {
    background: #3ea8f0;
    transform: translateY(-2px);
}

/* =========================================
   TOAST NOTIFICATION
   ========================================= */

.em-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 10px rgba(0,0,0,0.06);
    z-index: 10000;
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    border: 1px solid #f0f0f0;
    max-width: 400px;
}

.em-toast-show {
    transform: translateY(0);
    opacity: 1;
}

.em-toast-hide {
    transform: translateY(120px);
    opacity: 0;
}

.em-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #58b9f6, #3ea8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.em-toast-icon svg {
    color: white;
}

.em-toast-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.em-toast-body strong {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.em-toast-body span {
    font-size: 13px;
    color: #888;
}

.em-toast-action {
    font-size: 12px;
    font-weight: 800;
    color: #58b9f6;
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 20px;
    background: #edf7ff;
    transition: background 0.2s;
    margin-left: 8px;
}

.em-toast-action:hover {
    background: #d9efff;
}

/* =========================================
   CART COUNT BADGE
   ========================================= */

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: linear-gradient(135deg, #58b9f6, #3ea8f0);
    color: white;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    font-family: 'Sora', sans-serif;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(88,185,246,0.4);
}

/* =========================================
   PDP Quantity Selector
   ========================================= */
.pdp-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 12px;
}

.pdp-qty-btn {
    width: 44px;
    height: 48px;
    border: none;
    background: #f6f6f6;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #666;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-qty-btn:hover {
    background: #eee;
    color: #58b9f6;
}

.pdp-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    outline: none;
    background: white;
}

/* Loading skeleton */
.pdp-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Product card link wrapper */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-link:hover .product-image-box {
    background-color: #ededed;
}

/* ========================================= */
/* PDP & CART STYLES                         */
/* ========================================= */

/* Toast Notification */
.em-toast {
    position: fixed;
    bottom: -100px;
    right: 20px;
    background-color: #1a1a1a;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    opacity: 0;
}

.em-toast-show {
    bottom: 20px;
    opacity: 1;
}

.em-toast-hide {
    bottom: -100px;
    opacity: 0;
}

.em-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #58b9f6;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.em-toast-body {
    display: flex;
    flex-direction: column;
}

.em-toast-body strong {
    font-size: 14px;
    line-height: 1.2;
}

.em-toast-body span {
    font-size: 11px;
    color: #a0a0a0;
}

.em-toast-action {
    background: transparent;
    border: 1px solid #58b9f6;
    color: #58b9f6;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-left: 10px;
}

.em-toast-action:hover {
    background: #58b9f6;
    color: #1a1a1a;
}

/* PDP Hero */
.pdp-hero {
    display: flex;
    gap: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.pdp-gallery {
    flex: 0 0 50%;
    display: flex;
    gap: 20px;
}

.pdp-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
}

.pdp-thumb {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: #f6f6f6;
    padding: 5px;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-thumb.active {
    border-color: #58b9f6;
    background-color: white;
}

.pdp-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pdp-main-image {
    flex: 1;
    background-color: #f6f6f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    padding: 30px;
}

.pdp-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pdp-info {
    flex: 0 0 calc(50% - 50px);
    display: flex;
    flex-direction: column;
}

.pdp-brand {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 700;
}

.pdp-product-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.pdp-ratings {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.pdp-stars {
    display: flex;
    gap: 2px;
}

.pdp-review-count {
    font-size: 13px;
    color: #666;
}

.pdp-badge {
    background-color: #1a1a1a;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: auto;
}

.pdp-variants {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.pdp-variant-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.pdp-variant-row:last-child {
    margin-bottom: 0;
}

.pdp-variant-label {
    width: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.pdp-variant-value {
    font-size: 14px;
    color: #666;
}

.pdp-select {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
    color: #1a1a1a;
    outline: none;
    min-width: 200px;
    cursor: pointer;
}

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

.pdp-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 0 0 1px #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pdp-swatch.active {
    box-shadow: 0 0 0 2px white, 0 0 0 4px #1a1a1a;
    transform: scale(1.3) translateY(10px);
}

.pdp-price-block {
    margin-bottom: 30px;
}

.pdp-old-price {
    font-size: 16px;
    color: #a0a0a0;
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
}

.pdp-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pdp-current-price {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.pdp-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pdp-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 4px;
    background-color: white;
}

.pdp-qty-btn {
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    color: #666;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.pdp-qty-btn:hover {
    background-color: #f0f0f0;
}

.pdp-qty-input {
    width: 35px;
    text-align: center;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    background: transparent;
    -moz-appearance: textfield;
}

.pdp-qty-input::-webkit-outer-spin-button,
.pdp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pdp-btn-cart {
    background-color: #58b9f6;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0 35px;
    height: 44px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.pdp-btn-cart:hover {
    background-color: #49a2da;
    transform: translateY(-2px);
}

.pdp-btn-wish {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: color 0.2s, border-color 0.2s;
}

.pdp-btn-wish:hover {
    color: #ff4d4f;
    border-color: #ff4d4f;
}

.pdp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.pdp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
}

.pdp-trust-item svg {
    color: #58b9f6;
}

/* Product Details Grid */
.pdp-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin: 10px 0 60px 0;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.pdp-detail-col h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.pdp-description p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 15px;
}

.pdp-specs-list {
    list-style: none;
    padding: 0;
}

.pdp-specs-list li {
    position: relative;
    padding-left: 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.pdp-specs-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #58b9f6;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.pdp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.pdp-view-all-reviews {
    font-size: 12px;
    color: #58b9f6;
    text-decoration: underline;
    font-weight: 600;
}

.pdp-review-card {
    background-color: #f6f6f6;
    padding: 25px;
    border-radius: 12px;
}

.pdp-review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
}

.pdp-review-text {
    font-size: 14px;
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pdp-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.pdp-review-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.pdp-review-role {
    font-size: 12px;
    color: #888;
}

/* Similar Products */
.pdp-similar {
    margin-bottom: 80px;
}

.pdp-similar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}


/* Cart Page Styles */
.cart-page-title {
    font-size: 32px;
    font-weight: 800;
    margin: 40px 0;
    color: #1a1a1a;
}

.cart-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.cart-items-wrapper {
    flex: 1;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: white;
    transition: box-shadow 0.2s;
}

.cart-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cart-item-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-right: 20px;
    mix-blend-mode: multiply;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-category {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 2px;
    margin: 0 30px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    border-radius: 50%;
}

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

.cart-qty-value {
    width: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.cart-remove-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
    padding: 10px;
}

.cart-remove-btn:hover {
    color: #ff4d4f;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #58b9f6;
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
}

/* Cart Empty State */
.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed #e0e0e0;
    border-radius: 12px;
    background-color: #fcfcfc;
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #58b9f6;
}

.cart-empty-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.cart-empty-text {
    color: #666;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cart-empty-btn {
    background-color: #58b9f6;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-empty-btn:hover {
    background-color: #49a2da;
}

/* Cart Summary */
.cart-summary {
    width: 380px;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 40px;
}

.cart-summary-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.cart-summary-divider {
    border: none;
    border-top: 1px dashed #e0e0e0;
    margin: 20px 0;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-summary-total-label {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.cart-summary-total-value {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
}

.cart-checkout-btn {
    width: 100%;
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-bottom: 20px;
}

.cart-checkout-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.cart-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
}



/* ---- ENHANCED MOBILE UX ---- */
@media (max-width: 768px) {
    /* Hide top bar */
    .top-bar { display: none !important; }

    /* Fix Brands Grid (already 2 columns, but let's make it more friendly) */
    .brands-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }

    /* PDP Hero Stacking */
    .pdp-hero, .pdp-gallery { flex-direction: column !important; gap: 20px !important; max-width: 100% !important; margin-top: 10px !important; margin-bottom: 40px !important;}
    .pdp-info { max-width: 100% !important; margin-top: 15px !important; }
    .pdp-gallery-thumbs { flex-direction: row !important; width: 100% !important; overflow-x: auto !important; height: auto !important; padding-bottom: 10px; }
    .pdp-thumb { width: 70px !important; height: 70px !important; flex-shrink: 0; }
    .pdp-main-image { min-height: 300px !important; padding: 20px !important; }
    .btn-add-to-cart { width: 100% !important; justify-content: center !important; border-radius: 8px !important; padding: 18px !important; }

    /* Full and Thin Banners Stacking */
    .thin-banner, .promo-banner-full, .split-hero, .best-seller-featured {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        height: auto !important;
        padding: 30px 20px !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .thin-content, .promo-content, .split-hero-text, .bs-featured-info { 
        gap: 15px !important; 
        width: 100% !important; 
        padding: 0 !important; 
        align-items: center !important; 
    }
    
    .thin-content h2, .promo-title, .split-hero-text h2, .bs-featured-info h4 { font-size: 24px !important; white-space: normal !important; text-align: center !important; }
    .thin-content p, .promo-description, .split-hero-text p { text-align: center !important; }
    
    .thin-banner a, .promo-content a { margin-top: 15px !important; display: inline-block; }

    .best-seller-featured { padding: 20px !important; }
    .bs-featured-image { width: 100% !important; margin-bottom: 20px !important; height: 180px !important; }
    .bs-featured-info { width: 100% !important; align-items: center !important; text-align: center !important; }
    .bs-price-block { width: 100% !important; justify-content: space-around !important; }
    
    /* Off-Canvas Menu Styles */
    .mobile-offcanvas {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 10000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    .mobile-offcanvas.active { left: 0; }
    .mobile-offcanvas-close {
        align-self: flex-end;
        background: #f0f0f0;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #1a1a1a;
        margin-bottom: 10px;
    }
    .mobile-offcanvas-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        overflow-y: auto;
    }
    .mobile-offcanvas-links a {
        text-decoration: none;
        color: #1a1a1a;
        font-size: 17px;
        font-weight: 700;
        padding-bottom: 15px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .mobile-offcanvas-links a i {
        width: 18px;
        height: 18px;
        color: #aaa;
    }
    .mobile-offcanvas-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
}



/* ---- MOBILE LAYOUT OVERFLOW & BANNER FIXES ---- */
@media (max-width: 768px) {
    /* Prevent Horizontal Page Slide */
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }
    
    .container {
        max-width: 100vw !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* Main Hero Banner Adjustments - Match Reference Photo */
    .large-banner {
        flex-direction: column-reverse !important;
        padding: 0 !important;
        height: auto !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }
    .large-banner .banner-image {
        width: 100% !important;
        height: 320px !important;
        position: static !important;
        object-fit: cover !important;
    }
    .large-banner .banner-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        position: static !important;
    }
    .large-banner .banner-content {
        width: 100% !important;
        padding: 40px 25px 50px 25px !important;
        text-align: left !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }
    .large-banner .hero-title {
        font-size: 32px !important;
        text-align: left !important;
        line-height: 1.1 !important;
        margin-bottom: 15px !important;
    }
    .large-banner .hero-description {
        text-align: left !important;
        font-size: 15px !important;
        margin-bottom: 25px !important;
        max-width: 90% !important;
    }
    .large-banner .slider-dots {
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Features Row (Free shipping etc) Fix Horizontal Stretch */
    .features-row {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 20px 10px !important; /* Vertical and horizontal gaps */
        padding: 20px 0 !important;
        width: 100% !important;
    }
    .feature-item {
        width: 48% !important; /* Dos columnas ajustadas */
        gap: 12px !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }
    .feature-item img {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }
    .feature-text h4 {
        font-size: 12px !important;
        margin-bottom: 3px !important;
        line-height: 1.2 !important;
    }
    .feature-text p {
        font-size: 10px !important;
        line-height: 1.2 !important;
        color: #777 !important;
    }
    
    /* Prevenir que Products Grid rompan márgenes */
    .best-sellers-grid, .products-carousel {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .product-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Icons Row (Categorias redondas) que scrolleen suave si sobrepasan */
    .icons-row {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important; /* Firefox */
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
        padding-bottom: 15px !important;
        width: 100vw !important;
        position: relative !important;
        left: -15px !important; 
        padding-left: 15px !important; 
        padding-right: 15px !important;
    }
    .icons-row::-webkit-scrollbar {
        display: none !important;
    }
}



/* ---- MOBILE REFINEMENTS V3 (Pixel Perfect Layout) ---- */
@media (max-width: 768px) {

    /* --- Menú Desplegable desde la Derecha --- */
    .mobile-offcanvas {
        left: auto !important;
        right: -100% !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    .mobile-offcanvas.active { 
        right: 0 !important;
        left: auto !important;
    }

    /* --- Banner Principal Suministros (Edge to Edge, Degradado, Text Up) --- */
    .large-banner {
        width: 100vw !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        border-radius: 0 !important;
        background-color: #f7f6f6 !important;
        padding: 0 !important;
    }
    .large-banner .banner-image {
        position: relative !important;
        height: 280px !important;
    }
    .large-banner .banner-image::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 50% !important;
        background: linear-gradient(to bottom, transparent, #f7f6f6) !important;
        z-index: 1 !important;
    }
    .large-banner .banner-content {
        margin-top: -60px !important; /* Sube las palabras y botón */
        background-color: #f7f6f6 !important;
        padding: 0px 25px 40px 25px !important;
        position: relative !important;
        z-index: 2 !important;
    }

    /* --- Banners Secundarios (Reducir altura) --- */
    .collections-three {
        gap: 15px !important;
    }
    .collection-card {
        height: 110px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        border-radius: 8px !important;
    }
    .collection-info h3 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
    .collection-info p {
        font-size: 11px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .collection-img {
        width: 90px !important;
        height: 100% !important;
    }
    .collection-img img {
        object-fit: contain !important;
        height: 90px !important;
    }

    /* --- Oferta Especial / Thin Banner (Edge to Edge, degradado inferior) --- */
    .promo-banner-full, .thin-banner {
        width: 100vw !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        border-radius: 0 !important;
        background-color: #fff9f6 !important; /* matches reference warmth */
        padding: 0 !important;
    }
    .promo-image, .thin-banner {
        position: relative !important;
        height: 250px !important;
    }
    .promo-image::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 50% !important;
        background: linear-gradient(to bottom, transparent, #fff9f6) !important;
        z-index: 1 !important;
    }
    .promo-content, .thin-content {
        background-color: #fff9f6 !important;
        margin-top: -30px !important;
        padding: 0 25px 40px 25px !important;
        position: relative !important;
        z-index: 2 !important;
    }

    /* --- Listón de Sale (Alineado arriba a la izquierda sin estorbar) --- */
    .promo-ribbon {
        transform: none !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: auto !important;
        padding: 5px 12px !important;
        font-size: 10px !important;
        border-radius: 0 0 10px 0 !important;
        z-index: 10 !important;
        white-space: nowrap !important;
    }

    /* --- Productos y Destacados (Forzar 2 columnas legibles) --- */
    .best-sellers-grid, .products-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        overflow: hidden !important; 
        width: 100% !important;
    }
    .product-card {
        width: 100% !important;
        margin: 0 !important;
        border: 1px solid #f0f0f0 !important; 
        box-shadow: none !important; 
    }
    .product-info h4 {
        font-size: 13px !important; /* Más legibles en 2 grid */
    }
    .current-price {
        font-size: 13px !important;
    }
    .best-seller-featured {
        grid-column: span 2 !important;
        flex-direction: row !important; /* Si se desea en formato pastilla horizontal en móvil */
        height: auto !important;
        padding: 15px !important;
    }

    /* --- Footer Reducido (Solo Info Principal / Ocultar Extras) --- */
    footer .container {
        display: block !important;
        margin-bottom: 20px !important;
    }
    footer .footer-col:not(:first-child) {
        display: none !important; /* Oculta suscripciones, preguntas, extras */
    }
    footer .footer-col:first-child {
        width: 100% !important;
        text-align: center !important;
        align-items: center !important;
        display: flex;
        flex-direction: column;
    }
    footer .footer-col:first-child p {
        text-align: center !important;
        margin: 0 auto !important;
    }
    footer .footer-socials {
        justify-content: center !important;
    }
}



/* ---- MOBILE REFINEMENTS V4 (Fine-Tuning) ---- */
@media (max-width: 768px) {

    /* 1. Hide search icon in header */
    .header-icons a[href="catalog.html"] {
        display: none !important;
    }

    /* 2. Collection Cards Height reduced */
    .collection-card {
        height: 75px !important;
        padding: 10px !important;
    }
    .collection-img {
        width: 60px !important;
    }
    .collection-img img {
        height: 60px !important;
    }
    .collection-info h3 {
        font-size: 14px !important;
    }
    .collection-info p {
        font-size: 10px !important;
        margin-top: 2px !important;
    }

    /* 3. Main banner image size and gradient */
    .large-banner .banner-image {
        height: 380px !important; /* Más grande */
    }
    .large-banner .banner-image img {
        object-position: top center !important;
    }
    .large-banner .banner-image::after {
        height: 70% !important; /* Degradado más amplio y suave */
        background: linear-gradient(to bottom, rgba(247,246,246,0) 0%, rgba(247,246,246,0.8) 50%, #f7f6f6 100%) !important;
    }

    /* 4. Fix Products overlapping (Grid enforce restrictions) */
    .best-sellers-grid, .products-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* Prevents overflow */
        gap: 8px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .product-card {
        width: 100% !important;
        padding: 8px !important;
    }
    .product-image-box {
        margin-bottom: 5px !important;
        height: 120px !important; /* Fixed height to control images */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-image-box img {
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
    .product-info h4 {
        font-size: 11px !important;
        white-space: normal !important;
    }
    .product-brand {
        font-size: 9px !important;
    }
    .current-price {
        font-size: 12px !important;
    }
    .product-actions { 
        display: flex !important; /* ensure cart buttons don't break layout */
        gap: 3px !important; 
    }
    .action-btn {
        width: 25px !important;
        height: 25px !important;
    }
    .action-btn i { width: 14px !important; height: 14px !important; }

    /* 5. Hide "Ver colección" container (Thin banner) */
    .thin-banner {
        display: none !important;
    }

    /* 6. Artículos en tendencia reducidos y foto movida a la izquierda */
    .bottom-banner-full {
        height: 220px !important; /* Reducir alto */
        background-position: left center !important; /* Mover foto izq */
        padding: 20px !important;
        justify-content: center !important;
    }
    .bottom-banner-content {
        padding: 10px !important;
    }
}



/* ---- MOBILE REFINEMENTS V5 (Strict Clean-up) ---- */
@media (max-width: 768px) {

    /* 1. Esconder Secciones Solicitadas */
    .bottom-banner-full,
    .collections-three,
    .best-sellers,
    .testimonials,
    .ig-feed {
        display: none !important;
    }

    /* 2. Acortar mucho más contenedores (Rosa, Azul, Vainilla: .category-card) */
    .categories-grid {
        gap: 10px !important;
    }
    .categories-grid .category-card {
        height: 50px !important; /* Extremely short */
        padding: 5px 15px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .category-card .category-content {
        padding: 0 !important;
    }
    .category-card .category-content h3 {
        font-size: 14px !important;
        margin: 0 !important;
    }
    .category-card .category-content p {
        font-size: 10px !important;
        margin: 0 !important;
    }
    .category-card .btn-secondary {
        display: none !important; /* Hide button in these mini cards */
    }
    .category-img, .category-image {
        height: 100% !important;
        width: 50px !important;
    }
    .category-image img {
        height: 40px !important;
        object-fit: contain !important;
    }

    /* 3. Main Banner: Más foto, más a la izq, degradado fuerte, letras arriba */
    .large-banner {
        /* Reset background block specifically to match gradient */
        background-color: #f7f6f6 !important;
    }
    .large-banner .banner-image {
        height: 550px !important; /* Much larger */
    }
    .large-banner .banner-image img {
        object-position: left 20% !important; /* move to left */
    }
    .large-banner .banner-image::after {
        height: 100% !important; /* Full gradient overlay */
        background: linear-gradient(to bottom, rgba(247,246,246,0) 40%, rgba(247,246,246,0.9) 75%, #f7f6f6 100%) !important;
    }
    .large-banner .banner-content {
        margin-top: -160px !important; /* Push text way up into the gradient */
        background-color: transparent !important;
    }

    /* 4. Uniform Products and no overlapping/borders */
    .products-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px 10px !important; /* Ensure enough gap */
        width: 100% !important;
        overflow: hidden !important;
    }
    .products-carousel .product-card {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        padding: 0 !important; /* No internal boundaries causing overlapping visual */
        border-radius: 0 !important;
        width: 100% !important;
        background: transparent !important;
    }
    .product-card .product-image-box {
        height: 140px !important; /* Uniform strict height */
        background-color: #f9f9f9 !important;
        border-radius: 8px !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
    .product-card .product-image-box img {
        height: 100% !important;
        width: 100% !important;
        object-fit: contain !important; /* Never stretch */
    }
    .product-info {
        padding: 0 5px !important;
    }
    .product-info h4 {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}



/* ---- MOBILE REFINEMENTS V6 (User Final Layout Tweaks) ---- */
@media (max-width: 768px) {

    /* 1. Main Banner adjustments height & image positioning */
    .large-banner .banner-image {
        height: 400px !important; /* Reduces large height */
    }
    .large-banner .banner-image img {
        object-position: center 25% !important; /* Move doctor more to left/center in view */
    }
    .large-banner .banner-content {
        margin-top: -110px !important; /* Push text correctly */
    }

    /* 2. Resize Collection Cards vertically (2.5x from 50px = 125px) */
    .categories-grid .category-card {
        height: 125px !important; 
        padding: 15px 25px !important;
        /* They stay flex-row since we just increase height */
    }
    .category-img, .category-image {
        width: 80px !important; 
    }
    .category-image img {
        height: 80px !important;
    }
    .category-card .category-content h3 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
    .category-card .category-content p {
        font-size: 12px !important;
    }

    /* 3. Products larger size & tighten gap */
    .products-carousel {
        gap: 8px !important; /* Reduced horizontal gap */
    }
    .product-card .product-image-box {
        height: 160px !important; /* Increased box so product expands */
        padding: 5px !important; /* Less padding gives img more scale */
    }
    .product-card .product-image-box img {
        max-width: 90% !important;
        max-height: 90% !important;
        /* Keep scaling up gently */
        transform: scale(1.1) !important; 
    }

    /* 4. Reduce gap between .icons-row and .featured-products "Te encantará" */
    .icons-row {
        margin-bottom: 5px !important;
        padding-bottom: 0 !important;
    }
    .featured-products {
        margin-top: 5px !important;
        padding-top: 5px !important;
    }

    /* 5. Quit 'Oferta de mitad' */
    .promo-banner-full {
        display: none !important;
    }

    /* 6. Improve 'Envío gratis' features-row spacing */
    .features-row {
        justify-content: center !important;
        gap: 20px 10px !important; /* Row gap strong, col gap small */
        padding: 10px 0 30px 0 !important;
    }
    .feature-item {
        width: 45% !important; 
        flex-direction: column !important; /* Apilar icono y nombre centralmente */
        text-align: center !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .feature-item img {
        margin-bottom: 4px !important;
        width: 40px !important;
        height: 40px !important;
    }
    .feature-text h4 {
        margin-bottom: 2px !important;
    }
}



/* ---- MOBILE REFINEMENTS V7 (Final Touch) ---- */
@media (max-width: 768px) {

    /* 1. Remove border line from features-row (Envio gratis) */
    .features-row {
        border-top: none !important;
        border-bottom: none !important;
    }

    /* 2. Increase distance between category icons and 'Te encantará' */
    .featured-products {
        margin-top: 35px !important;
        padding-top: 10px !important;
    }

    /* 3. Bring second column of products closer horizontally */
    .best-sellers-grid, .products-carousel {
        column-gap: 5px !important; /* Reduce gap horizontal */
        row-gap: 15px !important; /* Maintain row gap */
    }

    /* 4. Restore gradient and photo bleed on category cards (Rosa, Azul, Vainilla) */
    .categories-grid .category-card {
        position: relative !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important; 
        z-index: 1 !important;
        padding: 15px 25px !important; /* Keep the padding */
    }
    .category-card .category-content {
        position: relative !important;
        z-index: 3 !important; /* Over the gradient */
        flex: 1 !important;
        max-width: 60% !important; /* Don't overlap image entirely */
    }
    
    .category-img, .category-image {
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        width: 60% !important; /* Ocupa el 60% derecho */
        height: 100% !important; 
        z-index: 1 !important;
    }
    .category-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Extenderse por el contenedor */
        object-position: right center !important;
    }

    /* Degradados dinámicos apuntando al color correspondiente */
    .category-suplementos .category-image::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(to right, #fce5eb 0%, rgba(252,229,235,0.7) 40%, rgba(252,229,235,0) 100%) !important;
        z-index: 2 !important;
    }

    .category-medicamentos .category-image::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(to right, #e5eefa 0%, rgba(229,238,250,0.7) 40%, rgba(229,238,250,0) 100%) !important;
        z-index: 2 !important;
    }

    .category-instrumentos .category-image::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(to right, #fcd3ba 0%, rgba(252,211,186,0.7) 40%, rgba(252,211,186,0) 100%) !important;
        z-index: 2 !important;
    }

}



/* ---- FIX DESKTOP LEAK ---- */
/* Ensure the offcanvas HTML is completely hidden on desktop */
.mobile-offcanvas-overlay, .mobile-offcanvas {
    display: none !important;
}

/* Hide mobile catalog elements on desktop */
.mobile-filter-bar,
.mobile-panel,
.mobile-sort-bar {
    display: none !important;
}

/* ---- GLOBAL OVERFLOW-X FIX (all pages) ---- */
html {
    overflow-x: hidden !important;
}
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* ---- MODELOS ANATÓMICOS: remove card borders ---- */
.flash-card .product-image-box,
.flash-sales-grid .product-card .product-image-box {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.flash-card,
.flash-sales-grid .product-card {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

@media (max-width: 768px) {
    .mobile-offcanvas {
        display: flex !important;
    }
    .mobile-offcanvas-overlay.active {
        display: block !important;
    }
}



/* ---- DESKTOP DROPDOWN HEADER ---- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    z-index: 999;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
}
.nav-dropdown-menu a {
    padding: 10px 20px !important;
    margin: 0 !important;
    text-transform: none !important;
    font-size: 14px !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.nav-dropdown-menu a:hover {
    background: #f7f7f7;
    color: #58b9f6 !important;
}


/* ---- MODELOS HERO BANNER ---- */
.modelos-hero {
    background: linear-gradient(135deg, #2b8ac4, #16b4ce);
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
}
.modelos-hero-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 2;
}
.modelos-hero-text {
    flex: 1;
    text-align: left;
    color: white;
    max-width: 500px;
}
.modelos-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.modelos-title {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 15px;
    letter-spacing: -1px;
}
.modelos-subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 500;
}
.modelos-btn {
    background: #5acece;
    color: white;
    padding: 16px 38px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.modelos-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
    background: #63d9d9;
}
.modelos-hero-image {
    flex: 1.4;
    display: flex;
    justify-content: flex-end;
}
.modelos-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.3) translateY(10px);
}
@media (max-width: 768px) {
    .modelos-hero-inner {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
    }
    .modelos-hero-text {
        text-align: center;
        margin-bottom: 10px;
    }
    .modelos-title { font-size: 42px; }
    .modelos-hero-image img { transform: scale(1); max-width: 90%; }
}


/* ============================================
   MOBILE CATALOG & PRODUCT PAGES — v3
   Sin bordes, banner expresivo, grid 2 col limpio
   ============================================ */

/* Hide original sidebar and toolbar entirely on mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Hide the entire desktop sidebar */
    .catalog-sidebar {
        display: none !important;
    }

    /* Hide desktop toolbar inside catalog-content */
    .catalog-toolbar,
    .active-filters {
        display: none !important;
    }

    /* Catalog layout: single column, no gaps */
    .catalog-layout {
        display: block !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .catalog-content {
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    /* --- MOBILE FILTER BAR (the two dropdown buttons) --- */
    .mobile-filter-bar {
        display: flex !important;
        align-items: center !important;
        background: #fff !important;
        position: relative !important;
        z-index: 100 !important;
        /* No borders */
    }
    .mobile-filter-btn {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 13px 10px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        font-family: inherit !important;
        transition: background 0.2s !important;
    }
    .mobile-filter-btn:first-child {
        /* No border-right */
        border-right: none !important;
    }
    .mobile-filter-btn:hover {
        background: #f9f9f9 !important;
    }
    .mobile-filter-btn svg, .mob-filter-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* --- Dropdown panels (Categories / Filters) --- */
    .mobile-panel {
        display: none !important;
        background: #fff !important;
        width: 100% !important;
        z-index: 99 !important;
        animation: slideDown 0.2s ease !important;
    }
    .mobile-panel[style*="display: block"] {
        display: block !important;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Categories panel list */
    .mob-panel-categories {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .mob-panel-categories li a {
        display: block !important;
        padding: 13px 20px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #333 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        text-decoration: none !important;
        transition: background 0.15s !important;
    }
    .mob-panel-categories li a:hover,
    .mob-panel-categories li a.active {
        background: #f0f8ff !important;
        color: #58b9f6 !important;
        font-weight: 700 !important;
    }

    /* Filters panel */
    .mob-filter-section {
        border-bottom: 1px solid #f0f0f0 !important;
    }
    .mob-filter-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 13px 20px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        cursor: pointer !important;
    }
    .mob-filter-header svg {
        width: 16px !important;
        height: 16px !important;
        color: #888 !important;
    }
    .mob-filter-body {
        padding: 8px 20px 14px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    /* --- MOBILE SORT BAR (Ordenar por + view toggles) --- */
    .mobile-sort-bar {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 10px 14px !important;
        background: #fafafa !important;
        /* No border */
    }
    .mobile-sort-label {
        font-size: 13px !important;
        color: #888 !important;
        white-space: nowrap !important;
        font-weight: 500 !important;
    }
    .mobile-sort-select {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        flex: 1 !important;
        background: #fff !important;
        border: 1px solid #ddd !important;
        border-radius: 6px !important;
        padding: 6px 10px !important;
    }
    .mobile-sort-select select {
        border: none !important;
        background: transparent !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        outline: none !important;
        flex: 1 !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        cursor: pointer !important;
    }
    .mobile-sort-select svg {
        width: 14px !important;
        height: 14px !important;
        color: #888 !important;
        flex-shrink: 0 !important;
    }

    /* --- PRODUCTS GRID: 2 columns, full width, borderless --- */
    .catalog-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 14px 12px !important;
        background: #fff !important;
        overflow: hidden !important;
    }
    .catalog-products-grid .product-card {
        min-width: 0 !important;
        width: 100% !important;
        flex: none !important;
        background: #fff !important;
        padding: 0 !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        border: none !important;
    }
    .catalog-products-grid .product-image-box {
        height: 165px !important;
        padding: 14px 8px !important;
        border-radius: 8px !important;
        margin-bottom: 10px !important;
    }
    .catalog-products-grid .product-name {
        font-size: 13px !important;
        font-weight: 700 !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.3 !important;
    }
    .catalog-products-grid .product-brand {
        font-size: 11px !important;
    }
    .catalog-products-grid .current-price {
        font-size: 14px !important;
        font-weight: 800 !important;
    }
    .catalog-products-grid .old-price {
        font-size: 11px !important;
    }

    /* --- Catalog banner: mobile redesign --- */
    /* Remove container constraints that clip the banner */
    main.container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .catalog-banner {
        border-radius: 0 !important;
        height: 160px !important;
        min-height: 0 !important;
        padding: 20px 22px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        overflow: hidden !important;
        position: relative !important;
        /* Keep background image + color visible */
        background-size: cover !important;
        background-position: center !important;
    }
    .catalog-banner-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        max-width: 65% !important;
    }
    .catalog-banner h2 {
        font-size: 32px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        color: #486285 !important;
        letter-spacing: -1px !important;
        line-height: 1 !important;
    }
    /* Hide description text on mobile — show 1 line only */
    .catalog-banner p {
        display: block !important;
        font-size: 12px !important;
        color: #486285 !important;
        opacity: 0.85 !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
        margin-top: 4px !important;
        /* Clamp to 1 line */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
    }
    /* Show 2 decorative icons on mobile, side by side without overlapping */
    .catalog-banner-decoration {
        display: none !important;
    }
    .catalog-banner-decoration:nth-child(3) {
        display: block !important;
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) rotate(-10deg) !important;
        opacity: 0.28 !important;
    }
    .catalog-banner-decoration:nth-child(3) img {
        height: 90px !important;
        /* Force same blue color for all icons */
        filter: brightness(0) saturate(100%) invert(32%) sepia(85%) saturate(1630%) hue-rotate(185deg) brightness(98%) contrast(92%) !important;
    }
    .catalog-banner-decoration:nth-child(4) {
        display: block !important;
        position: absolute !important;
        right: 80px !important;
        top: 8px !important;
        transform: rotate(15deg) !important;
        opacity: 0.18 !important;
    }
    .catalog-banner-decoration:nth-child(4) img {
        height: 55px !important;
        filter: brightness(0) saturate(100%) invert(32%) sepia(85%) saturate(1630%) hue-rotate(185deg) brightness(98%) contrast(92%) !important;
    }
    .catalog-banner-decoration:nth-child(5) {
        display: none !important;
    }

    /* Breadcrumbs compact */
    .breadcrumbs {
        font-size: 12px !important;
        padding: 8px 16px !important;
    }

    /* Pagination: stack VER MÁS above page numbers on mobile */
    .catalog-pagination {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        padding: 20px 16px !important;
        position: relative !important;
    }
    .pagination-center {
        position: static !important;
        left: auto !important;
        transform: none !important;
        order: 1 !important;
    }
    .pagination-right {
        order: 2 !important;
        gap: 10px !important;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE (PDP) — MOBILE FIX
   Evita desbordamiento y apila el layout
   ============================================ */
@media (max-width: 768px) {

    /* PDP main container: sin padding extra */
    main.container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* PDP Hero: stack gallery on top, info below */
    .pdp-hero {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* Gallery: full width, thumbs hidden on mobile */
    .pdp-gallery {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .pdp-gallery-thumbs {
        display: none !important;
    }
    .pdp-main-image {
        width: 100% !important;
        height: 280px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f7f9fc !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }
    .pdp-main-image img {
        max-width: 260px !important;
        max-height: 260px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Info panel: full width with padding */
    .pdp-info {
        width: 100% !important;
        padding: 20px 18px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .pdp-product-title {
        font-size: 22px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    /* Price + actions: stack vertically */
    .pdp-price-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }
    .pdp-actions {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .pdp-qty-selector {
        width: 100% !important;
        justify-content: center !important;
    }
    .pdp-btn-cart {
        width: 100% !important;
        justify-content: center !important;
        font-size: 14px !important;
    }
    .pdp-btn-wish {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Variants: full width selects */
    .pdp-variants {
        width: 100% !important;
    }
    .pdp-select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Trust bar: wrap to 2 columns */
    .pdp-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 14px 0 !important;
    }
    .pdp-trust-item {
        font-size: 11px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 4px !important;
    }

    /* Details grid: stack columns */
    .pdp-details-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        padding: 0 18px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .pdp-detail-col {
        width: 100% !important;
    }

    /* Similar products: 2 column grid */
    .pdp-similar {
        padding: 0 12px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .pdp-similar-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        overflow: hidden !important;
    }
    .pdp-similar-grid .product-card {
        min-width: 0 !important;
        width: 100% !important;
    }
    .pdp-similar-grid .product-image-box {
        height: 140px !important;
    }
    .pdp-similar-grid .product-name {
        font-size: 12px !important;
        white-space: normal !important;
    }

    /* Breadcrumbs on PDP */
    .pdp-hero ~ .breadcrumbs,
    .breadcrumbs {
        padding: 10px 18px !important;
        font-size: 12px !important;
    }
}

/* --- CATALOG LIST VIEW --- */
.catalog-products-grid.list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.catalog-products-grid.list-view .product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 25px !important;
    padding: 20px !important;
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    width: 100% !important;
    height: auto !important;
    text-align: left !important;
}

.catalog-products-grid.list-view .product-image-box {
    width: 180px !important;
    height: 180px !important;
    flex-shrink: 0 !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    margin-bottom: 0 !important;
}

.catalog-products-grid.list-view .product-info {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 !important;
}

.catalog-products-grid.list-view .product-name-price-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
}

.catalog-products-grid.list-view .product-name {
    font-size: 18px !important;
    color: #1a1a1a !important;
}

.catalog-products-grid.list-view .current-price {
    font-size: 20px !important;
    color: #58b9f6 !important;
}

@media (max-width: 768px) {
    .catalog-products-grid.list-view .product-card {
        gap: 15px !important;
        padding: 12px !important;
    }
    .catalog-products-grid.list-view .product-image-box {
        width: 100px !important;
        height: 100px !important;
    }
    .catalog-products-grid.list-view .product-name {
        font-size: 14px !important;
    }
    .catalog-products-grid.list-view .current-price {
        font-size: 16px !important;
    }
}
