/*
Theme Name: Brunett Shop
Theme URI: https://brunett.shop/
Description: Tema ecommerce elegante para maquillaje y belleza. Incluye home, tienda, carrito, favoritos, checkout y panel de temporadas visual.
Author: Alejandro
Author URI: https://brunett.shop/
Version: 1.3.2
Requires at least: 6.0
Tested up to: 6.5
Text Domain: brunett-shop
*/

:root {
    --brunett-black: #000000;
    --brunett-white: #ffffff;
    --brunett-off-white: #fafafa;
    --brunett-light-gray: #f5f5f5;
    --brunett-border: #e0e0e0;
    --brunett-text: #333333;
    --brunett-text-light: #666666;
    --brunett-copper: #c78050; /* For active nav links and highlights */
    --brunett-bg-tint: #fcfbfa; /* Slightly warm off-white for footer/banners */
}

html {
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--brunett-text);
    background-color: var(--brunett-bg-tint);
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .logo-title, .hero-title, .newsletter-title, .promo-title {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Global Cursor Pointer for Clickable Elements */
a,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select,
label,
.color-swatch,
.size-option,
.product-card,
.product-link-wrapper,
.qty-picker-btn,
.discount-carousel-nav,
.nav-prev,
.nav-next,
.category-item,
.product-tab-header,
.filter-chip,
.filter-category-checkbox,
.filter-brand-checkbox,
.wishlist-btn,
.bag-btn,
.btn-primary,
.btn-secondary,
.view-all,
.promo-card-link,
.carousel-dot {
    cursor: pointer !important;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brunett-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.desktop-only { display: flex !important; }
.desktop-inline { display: inline !important; }
.mobile-show { display: none !important; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--brunett-black);
    color: var(--brunett-white);
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid var(--brunett-black);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--brunett-black);
}
.btn-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* ---------------------------------
   Top Announcement Bar
--------------------------------- */
.brunett-top-bar {
    background-color: var(--brunett-black);
    color: var(--brunett-white);
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 10px 0;
}

.brunett-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item svg {
    opacity: 0.8;
}

.top-bar-divider {
    width: 1px;
    height: 12px;
    background-color: rgba(255,255,255,0.2);
}

/* ---------------------------------
   Main Header
--------------------------------- */
.brunett-header {
    background-color: var(--brunett-white);
    border-bottom: 1px solid var(--brunett-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.brunett-header.is-sticky {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brunett-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: padding 0.3s ease;
}

.brunett-header.is-sticky .brunett-header-main {
    padding: 12px 0;
}

.brunett-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-title {
    font-size: 28px;
    letter-spacing: 6px;
    line-height: 1;
    color: var(--brunett-black);
}

.logo-subtitle {
    display: none;
    font-size: 11px;
    letter-spacing: 4px;
    margin-top: 4px;
    color: var(--brunett-text-light);
    margin-left: 4px; /* Optical adjustment for letter spacing */
}

/* Search */
.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-field {
    width: 100%;
    padding: 10px 16px 10px 42px !important;
    box-sizing: border-box;
    border: 1px solid var(--brunett-border);
    border-radius: 4px;
    font-size: 14px;
    background-color: var(--brunett-off-white);
    color: var(--brunett-text);
    transition: border-color 0.3s;
    height: 40px;
}

.search-field:focus {
    outline: none;
    border-color: var(--brunett-black);
}

.search-submit, .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brunett-text-light);
    pointer-events: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    height: 20px;
}
.search-submit { pointer-events: auto; }

/* AJAX Search Results Panel */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
    z-index: 1100;
    max-height: 480px;
    overflow-y: auto;
    display: none;
    margin-top: 8px;
    box-sizing: border-box;
    animation: searchFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.search-results-dropdown-inner {
    padding: 20px;
}

.search-section-title {
    font-size: 10px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1.5px;
    margin: 0 0 12px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

/* Suggested Tags */
.search-suggested-tags-section {
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.suggested-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggested-tag {
    font-size: 11px;
    font-weight: 500;
    color: #444;
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    display: inline-block;
}

.suggested-tag:hover {
    background: #000;
    color: #fff;
}

/* Products Section */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.premium-search-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: left;
    border: 1px solid transparent;
}

.premium-search-item:hover {
    background-color: #fafafa;
    border-color: #f0f0f0;
}

.premium-search-image {
    width: 48px;
    height: 62px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.premium-search-item:hover .premium-search-image {
    transform: scale(1.05);
}

.premium-search-details {
    flex: 1;
    min-width: 0;
}

.premium-search-brand {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.premium-search-title {
    font-size: 13px;
    font-weight: 500;
    color: #111;
    margin: 2px 0 4px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-search-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-search-price {
    font-size: 12px;
    font-weight: 600;
    color: #111;
}

.premium-search-stars {
    font-size: 10px;
    color: #000;
}

.premium-search-quick-add {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.premium-search-quick-add:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: scale(1.1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.header-action-item:hover svg {
    transform: scale(1.05);
}

.action-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.action-title {
    font-weight: 500;
}

.action-subtitle {
    color: var(--brunett-text-light);
    font-size: 11px;
}

.action-text-inline {
    font-size: 13px;
    font-weight: 500;
}


@media (max-width: 1024px) {
    .header-favorites-link {
        display: none !important;
    }
}

.cart-icon-wrapper {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--brunett-black);
    color: var(--brunett-white);
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search {
    display: none;
}

/* ---------------------------------
   Navigation
--------------------------------- */
.brunett-navigation {
    border-top: 1px solid #1a1a1a;
    background-color: var(--brunett-black);
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 16px 0;
}

.nav-menu li a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--brunett-white);
    text-transform: uppercase;
}

.nav-menu li.current-menu-item a {
    color: var(--brunett-white);
}

.nav-menu li.sale-item a {
    color: var(--brunett-white);
}

/* ---------------------------------
   Sticky Header
--------------------------------- */
/* Sticky header styling overrides are handled by the main header scroll class */
/* ---------------------------------
   Hero Banner
--------------------------------- */
.hero-banner {
    position: relative;
    height: 500px;
    background-color: #e5dacc;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

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

.hero-content {
    max-width: 450px;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--brunett-black);
}

.hero-desc {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 32px;
    color: var(--brunett-text);
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
}

.hero-slider-nav button {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hero-pagination {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    background-color: var(--brunett-white);
    box-shadow: 0 0 0 1px var(--brunett-black);
}

/* ---------------------------------
   Home Categories
--------------------------------- */
.home-categories {
    padding: 40px 0;
    background-color: var(--brunett-white);
    border-bottom: 1px solid var(--brunett-border);
}

.categories-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.category-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--brunett-bg-tint);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.category-item:hover .category-img {
    border-color: var(--brunett-copper);
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item span {
    font-size: 13px;
    font-weight: 500;
}

.sale-cat .category-img {
    background-color: var(--brunett-off-white);
    border: 1px solid var(--brunett-border);
}

.sale-cat .percent {
    font-size: 24px;
    font-weight: bold;
    color: var(--brunett-copper);
}

/* ---------------------------------
   Main Content Layout
--------------------------------- */
.brunett-home .main-grid {
    display: flex;
    gap: 40px;
    padding: 60px 24px 20px 24px;
}

.main-left {
    flex: 1;
}

.main-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--brunett-black);
    padding-bottom: 12px;
}

.section-header h2 {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.view-all {
    font-size: 12px;
    color: var(--brunett-text-light);
}

/* Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.collection-card { text-align: center; }
.collection-card img { width: 100%; margin-bottom: 16px; background-color: #eee; }
.collection-card h3 { font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; margin-bottom: 8px; }
.collection-card p { font-size: 12px; color: var(--brunett-text-light); margin-bottom: 16px; }

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.products-grid.grid-3-cols {
    grid-template-columns: repeat(3, 1fr) !important;
}

.brunett-container-fluid {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .brunett-container-fluid {
        padding: 0 20px;
    }
}

.products-grid.catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

@media (max-width: 1199px) { /* Tablets */
    .products-grid.catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) { /* Mobile */
    .products-grid.catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.product-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 4px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-align: left;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #dbe0e5;
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    background-color: #fff;
    margin-bottom: 12px;
    padding-top: 120%; /* Aspect ratio */
    overflow: hidden;
    border-radius: 3px;
}

.product-image img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.hover-add-btn-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(5px);
}

.product-card:hover .hover-add-btn-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.hover-add-btn-wrapper .add-to-cart-btn {
    width: 100%;
    font-size: 11px;
    padding: 12px 0;
    font-weight: 600;
    letter-spacing: 0.8px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

.hover-add-btn-wrapper .add-to-cart-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9px;
    font-weight: 600;
    padding: 4px 8px;
    background: #000;
    color: #fff;
    letter-spacing: 0.5px;
    z-index: 10;
    border-radius: 2px;
    text-transform: uppercase;
}

.wishlist-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    color: #000 !important;
    cursor: pointer !important;
    background: #ffffff !important;
    border: 1px solid #eef0f2 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.09) !important;
    z-index: 10 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wishlist-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}

.wishlist-btn .remove-icon {
    display: none !important;
}

.wishlist-btn .heart-icon {
    display: block !important;
    color: #888;
    transition: color 0.2s;
}

.wishlist-btn:hover .heart-icon {
    color: #000;
}

.wishlist-btn.active {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.wishlist-btn.active .heart-icon {
    display: none !important;
}

.wishlist-btn.active .remove-icon {
    display: block !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.brand-name {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    display: block;
    height: 14px;
    line-height: 14px;
    overflow: hidden;
}

.product-title {
    font-size: 13px;
    font-weight: 500;
    color: #111;
    margin: 0 0 2px 0;
    line-height: 18px;
    font-family: 'Inter', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 18px;
}

.product-desc {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 15px;
    height: 30px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    margin-bottom: 12px;
}

.stars {
    color: #000;
    letter-spacing: 1px;
}

.count {
    color: #888;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Push to bottom */
    padding-top: 10px;
    border-top: 1px solid #f5f6f8;
}

.product-price-row .price {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.product-price-row .bag-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    padding: 0;
}

.product-price-row .bag-btn:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.product-variations-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.product-variations-wrapper .color-swatches,
.product-variations-wrapper .size-options {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 1 !important;
}

.color-swatches {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 2px;
    padding-right: 2px;
}

.color-swatches::-webkit-scrollbar {
    display: none;
}

.color-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.color-swatch:hover, .color-swatch.active {
    transform: scale(1.2);
    border-color: #000000;
}

.size-options {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 2px;
    padding-right: 2px;
}

.size-options::-webkit-scrollbar {
    display: none;
}

.size-option {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #ffffff;
    color: #555555;
    text-transform: uppercase;
    flex-shrink: 0;
}

.size-option:hover, .size-option.active {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Sidebar Promos */
.sidebar-promos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promo-box {
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.beauty-club-box {
    background-color: var(--brunett-black);
    color: var(--brunett-white);
}

.beauty-club-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 12px;
}

.beauty-club-box p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
    opacity: 0.9;
}

.beauty-club-box .btn-primary {
    background-color: var(--brunett-white);
    color: var(--brunett-black);
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.beauty-club-box .btn-link {
    color: var(--brunett-white);
}

.shipping-box {
    background-color: #e5dacc; /* Muted color */
}

.shipping-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.shipping-box p {
    font-size: 13px;
    margin-bottom: 16px;
}

.shipping-img img {
    max-width: 100%;
}

/* Bottom Promo Banner */
.bottom-promo-banner {
    display: flex;
    background-color: var(--brunett-black);
    color: var(--brunett-white);
    margin-bottom: 60px;
    overflow: hidden;
}

.bottom-promo-banner .promo-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.promo-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.bottom-promo-banner .promo-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 32px;
}

.bottom-promo-banner .btn-primary {
    background-color: var(--brunett-white);
    color: var(--brunett-black);
}

.bottom-promo-banner .promo-image {
    flex: 2;
}

.bottom-promo-banner .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ---------------------------------
   Footer Features
--------------------------------- */
.brunett-footer-features {
    background-color: var(--brunett-white);
    border-top: 1px solid var(--brunett-border);
    border-bottom: 1px solid var(--brunett-border);
    padding: 40px 0;
}

.footer-features-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 11px;
    color: var(--brunett-text-light);
}

.feature-divider {
    width: 1px;
    height: 30px;
    background-color: var(--brunett-border);
}

/* ---------------------------------
   Main Footer
--------------------------------- */
.brunett-footer {
    background-color: var(--brunett-white);
    padding-top: 60px;
}

.footer-newsletter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}
.footer-brand .brunett-logo {
    align-items: flex-start;
}
.brand-desc {
    font-size: 12px;
    line-height: 1.6;
    color: var(--brunett-text-light);
    margin-top: 16px;
}

.newsletter-content {
    text-align: center;
}

.newsletter-title {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--brunett-black);
}

.newsletter-desc {
    font-size: 13px;
    color: var(--brunett-text-light);
}

.newsletter-form-wrapper {
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--brunett-border);
    font-size: 13px;
    border-right: none;
}
.newsletter-form input:focus { outline: none; border-color: var(--brunett-black); }

.newsletter-form button {
    background-color: var(--brunett-black);
    color: var(--brunett-white);
    padding: 0 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.newsletter-consent {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--brunett-text-light);
    align-items: flex-start;
}

.newsletter-consent a {
    text-decoration: underline;
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: none;
    padding: 60px 0 40px;
}

.footer-nav-title {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    font-size: 12px;
    color: var(--brunett-text-light);
}
.footer-nav-list a:hover {
    color: var(--brunett-black);
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}
.social-icons a {
    color: var(--brunett-black);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--brunett-text-light);
    margin-bottom: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--brunett-border);
    font-size: 11px;
    color: var(--brunett-text-light);
}

.bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-icons {
    display: flex;
    gap: 8px;
}
.payment-badge {
    background-color: var(--brunett-off-white);
    border: 1px solid var(--brunett-border);
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    color: #1a1f36;
}

/* Mobile Bottom Nav */
.brunett-mobile-bottom-nav {
    display: none;
}
.mobile-accordion-icon { display: none; }

/* ---------------------------------
   Responsive Design
--------------------------------- */
@media (max-width: 1024px) {
    .brunett-home .main-grid {
        flex-direction: column;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-links-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .desktop-inline { display: none !important; }
    .mobile-show { display: flex !important; }

    .products-grid, .products-grid.grid-3-cols {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .brunett-top-bar-inner {
        justify-content: center;
    }

    .brunett-header-main {
        padding: 16px 0;
    }

    .brunett-logo .logo-title {
        font-size: 24px;
    }

    .header-actions {
        gap: 16px;
    }

    .mobile-search {
        display: none;
        padding: 0 16px 16px;
    }
    .mobile-search .search-field {
        background-color: var(--brunett-white);
    }

    .hero-banner {
        height: 400px;
        text-align: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .categories-grid {
        overflow-x: auto;
        padding-bottom: 16px;
        gap: 24px;
        justify-content: flex-start;
    }
    .category-item {
        flex-shrink: 0;
    }

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

    .sidebar-promos {
        grid-template-columns: 1fr;
    }

    .bottom-promo-banner {
        flex-direction: column;
    }
    .bottom-promo-banner .promo-content {
        padding: 40px 24px;
    }

    .footer-features-inner {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: space-around;
    }
    .feature-item {
        flex-direction: column;
        text-align: center;
        width: 45%;
    }

    .footer-newsletter-section {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links-section {
        grid-template-columns: 1fr;
        padding: 0;
        border-top: none;
    }

    .footer-nav-col {
        border-top: 1px solid var(--brunett-border);
        padding: 16px 0;
    }

    .footer-nav-title {
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-nav-list {
        display: none; /* Hide for mobile accordion */
        padding-top: 16px;
    }

    .footer-nav-list.initially-open {
        display: block;
    }

    .mobile-accordion-icon {
        display: block;
    }

    .socials-col {
        border-top: none;
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        padding-top: 32px;
    }

    .mobile-payments {
        margin-top: 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-bottom: 80px; /* Space for bottom nav */
    }

    /* Bottom Navigation Bar for Mobile */
    .brunett-mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
        background-color: #ffffff !important;
        border-top: 1px solid #e0e0e0 !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: 2500 !important;
        padding-top: 4px !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        box-sizing: border-box !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05) !important;
    }

    .brunett-mobile-bottom-nav .nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        color: #666666 !important;
        font-size: 10px !important;
        text-decoration: none !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 500 !important;
        width: 25% !important;
        height: 48px !important;
        box-sizing: border-box !important;
    }

    .brunett-mobile-bottom-nav .nav-item svg {
        width: 20px !important;
        height: 20px !important;
        stroke-width: 1.6px !important;
        color: #666666 !important;
        transition: color 0.2s ease !important;
        overflow: visible !important;
    }

    .brunett-mobile-bottom-nav .nav-item.active,
    .brunett-mobile-bottom-nav .nav-item:active {
        color: #000000 !important;
    }

    .brunett-mobile-bottom-nav .nav-item.active svg,
    .brunett-mobile-bottom-nav .nav-item:active svg {
        color: #000000 !important;
        stroke-width: 2px !important;
    }
}

/* ---------------------------------
   Sidebars and Popups
--------------------------------- */
.brunett-side-menu-overlay,
.brunett-side-cart-overlay,
.brunett-login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brunett-side-menu,
.brunett-side-cart,
.brunett-login-popup {
    position: fixed;
    top: 0;
    height: 100vh;
    background-color: var(--brunett-white);
    z-index: 9999;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Side Menu */
.brunett-side-menu {
    left: 0;
    width: 300px;
    transform: translateX(-100%);
}

.brunett-side-menu.is-open {
    transform: translateX(0);
}

.side-menu-header,
.side-cart-header,
.login-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--brunett-border);
}

.close-side-menu,
.close-side-cart,
.close-login-popup {
    background-color: transparent !important;
    color: var(--brunett-black) !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
    padding: 0;
}

.close-side-menu:hover,
.close-side-cart:hover,
.close-login-popup:hover {
    background-color: var(--brunett-black) !important;
    color: var(--brunett-white) !important;
}

.side-menu-header h3,
.side-cart-header h3,
.login-popup-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.side-menu-content {
    padding: 24px;
}

.mobile-nav-menu li {
    margin-bottom: 20px;
}

.mobile-nav-menu a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--brunett-text);
    text-transform: uppercase;
}

.mobile-nav-menu .current-menu-item a,
.mobile-nav-menu .sale-item a {
    color: var(--brunett-text);
}

/* Side Cart */
.brunett-side-cart {
    right: 0;
    width: 350px;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
}

.brunett-side-cart.is-open {
    transform: translateX(0);
}

.side-cart-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 65px);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    background-color: var(--brunett-off-white);
}

.item-details h4 {
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-bottom: 4px;
}

.item-details p {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--brunett-border);
    background-color: var(--brunett-bg-tint);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Login Popup (Centered) */
.brunett-login-popup {
    top: 50%;
    left: 50%;
    width: 400px;
    height: auto;
    transform: translate(-50%, -50%) scale(0.9);
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
}

.brunett-login-popup.is-open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.login-popup-content {
    padding: 32px 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--brunett-border);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.login-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    text-align: center;
}

.login-links a {
    color: var(--brunett-text-light);
    text-decoration: underline;
}

    @media (max-width: 768px) {
        .brunett-side-cart {
            width: 100%;
            max-width: 100%;
        }
        .brunett-login-popup {
            width: calc(100% - 32px);
            max-width: 400px;
            height: auto;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            border-radius: 12px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
        }
    }

/* Force full width on Shop Catalog Page wrappers to prevent card squishing */
body.page-template-page-tienda #content,
body.archive #content,
body.search #content,
body.home #content,
body.front-page #content,
body.page-template-page-tienda .site-main,
body.archive .site-main,
body.search .site-main,
body.home .site-main,
body.front-page .site-main,
body.page-template-page-tienda .site-wrapper,
body.archive .site-wrapper,
body.search .site-wrapper,
body.home .site-wrapper,
body.front-page .site-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-page-tienda .brunett-container-fluid,
body.archive .brunett-container-fluid,
body.search .brunett-container-fluid {
    width: 95% !important;
    max-width: 1720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
    box-sizing: border-box;
}

/* ==========================================================================
   Mobile Categories Slide-Up Drawer
   ========================================================================== */
.mobile-categories-drawer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 80vh !important;
    background: #fff !important;
    z-index: 3000 !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15) !important;
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    font-family: 'Inter', sans-serif !important;
    box-sizing: border-box !important;
}

.mobile-categories-drawer.active {
    transform: translateY(0) !important;
}

.mobile-categories-drawer-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 2999 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.mobile-categories-drawer-overlay.active {
    display: block !important;
    opacity: 1 !important;
}

.mobile-categories-drawer .drawer-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 24px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fff !important;
}

.mobile-categories-drawer .drawer-header h3 {
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    letter-spacing: 1.5px !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    color: #000 !important;
}

.mobile-categories-drawer .drawer-header button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #000 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mobile-categories-drawer .drawer-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 24px 0 100px 0 !important;
}

.drawer-cat-section {
    margin-bottom: 36px !important;
    border-bottom: 1px solid #f3f3f3 !important;
    padding-bottom: 24px !important;
}

.drawer-cat-section:last-child {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.drawer-cat-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    padding: 0 24px !important;
}

.drawer-cat-header h4 {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 0 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-family: 'Inter', sans-serif !important;
}

.drawer-cat-header .view-all-link {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    border-bottom: 2px solid #000 !important;
    padding-bottom: 2px !important;
    font-family: 'Inter', sans-serif !important;
}

.drawer-products-scroll {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 24px 8px 24px !important;
}

.drawer-products-scroll::-webkit-scrollbar {
    display: none !important;
}

.drawer-product-card {
    width: 120px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.drawer-product-image {
    position: relative !important;
    width: 100% !important;
    height: 150px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    border: 1px solid #eeeeee !important;
    background: #ffffff !important;
}

.drawer-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.drawer-product-card:hover .drawer-product-image img {
    transform: scale(1.03) !important;
}

.drawer-add-to-cart {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 0 !important;
    background: #000000 !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: background 0.2s ease !important;
}

.drawer-add-to-cart:hover {
    background: #000000 !important;
}

.drawer-product-info {
    margin-top: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    font-family: 'Inter', sans-serif !important;
}

.drawer-product-brand {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.drawer-product-title {
    font-size: 10px !important;
    font-weight: 400 !important;
    color: #666666 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
}

.drawer-product-price {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-top: 2px !important;
}

/* Drawer Card Swatches Overrides */
.drawer-product-card .color-swatches,
.drawer-product-card .size-options {
    padding: 6px 2px !important;
    gap: 8px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    margin: 4px 0 !important;
}

.drawer-product-card .color-swatches::-webkit-scrollbar,
.drawer-product-card .size-options::-webkit-scrollbar {
    display: none !important;
}

.drawer-product-card .color-swatch {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    border: 1px solid #e0e0e0 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.drawer-product-card .color-swatch.active {
    transform: scale(1.1) !important;
    border: 1.5px solid #000000 !important;
    box-shadow: 0 0 0 1.5px #ffffff, 0 0 0 3px #000000 !important;
}

.drawer-product-card .size-option {
    font-size: 9px !important;
    padding: 3px 8px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.drawer-product-card .size-option.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* ---------------------------------
   Discount Carousel Section
--------------------------------- */
.discount-carousel-container::-webkit-scrollbar {
    display: none !important;
}
.discount-carousel-container {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

@media (max-width: 1024px) {
    .discount-carousel-container .product-card {
        flex: 0 0 calc(33.333% - 16px) !important;
    }
}

@media (max-width: 768px) {
    .discount-carousel-container .product-card {
        flex: 0 0 calc(50% - 12px) !important;
    }
    .discount-carousel-nav {
        display: none !important;
    }
}

/* ---------------------------------
   Sephora Style Promo Section
--------------------------------- */
.sephora-promo-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

.promo-card-link:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}

.promo-card-link:hover img {
    transform: scale(1.05) !important;
}

@media (max-width: 1024px) {
    .sephora-promo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .sephora-promo-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ---------------------------------
   Discount Carousel Pagination Dots
--------------------------------- */
.discount-carousel-dots {
    display: none !important;
}

@media (max-width: 768px) {
    .discount-carousel-dots {
        display: flex !important;
    }
    .discount-carousel-container {
        gap: 16px !important;
    }
    .discount-carousel-container .product-card {
        flex: 0 0 calc(50% - 8px) !important;
    }
}

.discount-carousel-dots .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cccccc;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.discount-carousel-dots .carousel-dot.active {
    background: #000000 !important;
    transform: scale(1.2);
}

/* ---------------------------------
   TikTok Video Slider
--------------------------------- */
.tiktok-slider-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.tiktok-slider-container::-webkit-scrollbar {
    display: none;
}

.tiktok-card-link:hover .tiktok-video-card {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

.tiktok-card-link:hover .tiktok-video-card img {
    opacity: 0.75 !important;
    transform: scale(1.05) !important;
}

.tiktok-card-link:hover .play-overlay {
    opacity: 1 !important;
}

@media (max-width: 1024px) {
    .tiktok-card-link {
        flex: 0 0 calc(33.333% - 11px) !important;
    }
    .tiktok-slider-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .tiktok-card-link {
        flex: 0 0 calc(50% - 8px) !important;
    }
    .tiktok-slider-dots {
        display: flex !important;
    }
    .tiktok-slider-container {
        gap: 16px !important;
    }
}

.tiktok-slider-dots .tiktok-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cccccc;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tiktok-slider-dots .tiktok-dot.active {
    background: #000000 !important;
    transform: scale(1.2);
}



/* ========================================================================== 
   BRUNETT SHOP - FIXES V1.1
   - Corrección visual del corazón en cards y navegación móvil
   ========================================================================== */
.product-card {
    overflow: visible !important;
}

.product-image {
    isolation: isolate;
}

.wishlist-btn {
    top: 8px !important;
    right: 8px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    overflow: visible !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    line-height: 1 !important;
    z-index: 30 !important;
}

.wishlist-btn svg,
.wishlist-btn::before {
    overflow: visible !important;
    flex: 0 0 auto !important;
    transform-origin: center center !important;
}

.wishlist-btn .heart-icon,
.wishlist-btn .remove-icon {
    width: 17px !important;
    height: 17px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.brunett-mobile-bottom-nav,
.brunett-mobile-bottom-nav .nav-item,
.brunett-mobile-bottom-nav .nav-item svg,
.header-action-item svg,
.cart-icon-wrapper svg {
    overflow: visible !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

.brunett-mobile-bottom-nav .nav-item svg {
    width: 22px !important;
    height: 22px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

@media (max-width: 768px) {
    .wishlist-btn {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        top: 7px !important;
        right: 7px !important;
    }

    .wishlist-btn .heart-icon,
    .wishlist-btn .remove-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .brunett-mobile-bottom-nav .nav-item {
        min-width: 0 !important;
        overflow: visible !important;
    }
}


/* ========================================================================== 
   BRUNETT SHOP - FIXES V1.2
   Tema independiente + corrección definitiva de íconos cortados.
   ========================================================================== */
.product-card,
.product-card *,
.product-image,
.product-image * {
    box-sizing: border-box;
}
.product-card {
    overflow: visible !important;
}
.product-image {
    overflow: visible !important;
}
.wishlist-btn {
    aspect-ratio: 1 / 1 !important;
    border-radius: 999px !important;
    overflow: visible !important;
    contain: none !important;
}
.wishlist-btn svg,
.wishlist-btn::before,
.brunett-mobile-bottom-nav svg,
.header-action-item svg {
    overflow: visible !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}
.brunett-mobile-bottom-nav .nav-item {
    overflow: visible !important;
    min-width: 0 !important;
}
body:not(.season-normal) .wishlist-btn::before {
    transform: translate(-50%, -50%) !important;
}
body:not(.season-normal) .brunett-mobile-bottom-nav a[href*="/favoritos"]::before {
    transform: none !important;
    top: auto !important;
    left: auto !important;
    position: relative !important;
}

/* FIX V7: Favoritos del header solo en PC; en móvil se usa el menú inferior. */
@media (max-width: 1024px) {
    .brunett-header .header-favorites-link,
    .brunett-header .header-action-item.header-favorites-link[href*="/favoritos"] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}


/* ========================================================================== 
   BRUNETT SHOP - FIX V11 PRODUCT GRID / WOOCOMMERCE REAL CATALOG
   ========================================================================== */
html, body {
    overflow-x: hidden;
}

.brunett-container,
.brunett-container-fluid,
.brunett-home .main-grid,
.catalog-content-layout,
.catalog-products-container,
.related-products-section,
.product-detail-container,
.product-gallery-wrapper {
    box-sizing: border-box !important;
}

/* Home layout: left catalog + right novedades sidebar */
.brunett-home .main-grid {
    display: flex !important;
    align-items: flex-start !important;
    gap: 32px !important;
}
.brunett-home .main-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.brunett-home .main-right {
    flex: 0 0 300px !important;
    max-width: 300px !important;
    min-width: 0 !important;
}
.brunett-home .main-left .products-grid.grid-3-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.brunett-home .main-right .products-grid.grid-3-cols {
    grid-template-columns: 1fr !important;
}

.products-grid,
.products-grid.grid-3-cols,
.products-grid.catalog-grid,
.related-products-grid {
    display: grid !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
}
.products-grid.catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    position: relative !important;
}
.product-link-wrapper {
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.product-image,
.related-products-grid .product-image,
.related-product-image {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1.22 !important;
    padding-top: 0 !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: #fff !important;
    border-radius: 3px !important;
}
.product-image img,
.related-products-grid .product-image img,
.related-product-image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
}
.product-info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.product-title,
.product-desc,
.brand-name,
.product-price-row,
.product-variations-wrapper {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.product-title {
    overflow-wrap: anywhere !important;
}
.product-desc {
    overflow-wrap: anywhere !important;
}
.wishlist-btn {
    z-index: 40 !important;
}

/* Tienda y categorías: tarjetas con tamaño uniforme y sin romper WooCommerce */
.brunett-catalog-page .catalog-content-layout {
    width: 100% !important;
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
}
.brunett-catalog-page .catalog-products-container {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.brunett-catalog-page .product-card {
    min-height: 100% !important;
}
.brunett-catalog-page .product-image {
    aspect-ratio: 1 / 1.18 !important;
}

/* Galería de producto: caja fija para imagen principal y miniaturas */
.product-main-image-box {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1.05 !important;
    overflow: hidden !important;
    background: #fff !important;
}
.product-main-image-box img,
.product-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}
.product-thumb-item {
    flex: 0 0 auto !important;
}

@media (max-width: 1199px) {
    .products-grid.catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .brunett-home .main-grid {
        flex-direction: column !important;
    }
    .brunett-home .main-right {
        flex: 1 1 auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .brunett-home .main-right .products-grid.grid-3-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 991px) {
    .brunett-catalog-page .catalog-content-layout {
        display: block !important;
    }
    .brunett-home .main-left .products-grid.grid-3-cols,
    .brunett-home .main-right .products-grid.grid-3-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .products-grid,
    .products-grid.grid-3-cols,
    .products-grid.catalog-grid,
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .product-card {
        padding: 8px !important;
        border-radius: 4px !important;
    }
    .product-image,
    .related-products-grid .product-image,
    .related-product-image {
        aspect-ratio: 1 / 1.16 !important;
        margin-bottom: 9px !important;
    }
    .product-title {
        font-size: 12px !important;
        line-height: 16px !important;
        min-height: 32px !important;
        height: 32px !important;
        -webkit-line-clamp: 2 !important;
    }
    .product-desc {
        display: none !important;
    }
    .product-variations-wrapper {
        height: 24px !important;
        margin-bottom: 8px !important;
    }
    .product-price-row .price {
        font-size: 12px !important;
        line-height: 14px !important;
    }
    .hover-add-btn-wrapper {
        display: none !important;
    }
    .product-main-image-box {
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 380px) {
    .products-grid,
    .products-grid.grid-3-cols,
    .products-grid.catalog-grid,
    .related-products-grid {
        gap: 10px !important;
    }
    .product-card {
        padding: 7px !important;
    }
}


/* ========================================================================== 
   BRUNETT SHOP - FIX V12 HOME 50/50 STRUCTURE
   Colecciones destacadas y Novedades deben ocupar 50% / 50% y mostrar 6
   productos cada una en una grilla de 3 columnas x 2 filas.
   ========================================================================== */
.brunett-home .main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 40px !important;
    align-items: start !important;
}

.brunett-home .main-left,
.brunett-home .main-right {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
}

.brunett-home .featured-collections,
.brunett-home .new-arrivals {
    width: 100% !important;
}

.brunett-home .main-left .products-grid.grid-3-cols,
.brunett-home .main-right .products-grid.grid-3-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.brunett-home .main-left .product-card,
.brunett-home .main-right .product-card {
    height: 100% !important;
}

@media (max-width: 1199px) {
    .brunett-home .main-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .brunett-home .main-left .products-grid.grid-3-cols,
    .brunett-home .main-right .products-grid.grid-3-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 991px) {
    .brunett-home .main-left .products-grid.grid-3-cols,
    .brunett-home .main-right .products-grid.grid-3-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575px) {
    .brunett-home .main-grid {
        gap: 24px !important;
    }

    .brunett-home .main-left .products-grid.grid-3-cols,
    .brunett-home .main-right .products-grid.grid-3-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}


/* ========================================================================== 
   BRUNETT SHOP - FIX V13 FAVORITOS MOBILE ICON CLIPPING
   Corrige recortes del corazón en cards y en navegación móvil.
   ========================================================================== */
.product-card,
.product-image,
.related-products-grid .product-card,
.related-products-grid .product-image,
.related-product-image {
    overflow: visible !important;
}

.wishlist-btn {
    top: 10px !important;
    right: 10px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    contain: none !important;
}

.wishlist-btn svg,
.wishlist-btn::before,
.wishlist-btn .heart-icon,
.wishlist-btn .remove-icon {
    display: block !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

.wishlist-btn .heart-icon,
.wishlist-btn .remove-icon {
    width: 16px !important;
    height: 16px !important;
}

.related-products-grid .wishlist-btn,
.page-producto .wishlist-btn {
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
}

.brunett-mobile-bottom-nav {
    overflow: visible !important;
}

.brunett-mobile-bottom-nav .nav-item,
.brunett-mobile-bottom-nav .nav-item svg,
.brunett-mobile-bottom-nav .nav-item::before,
.brunett-mobile-bottom-nav a[href*="/favoritos"],
body:not(.season-normal) .brunett-mobile-bottom-nav a[href*="/favoritos"] {
    overflow: visible !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

.brunett-mobile-bottom-nav .nav-item {
    padding: 4px 0 2px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

.brunett-mobile-bottom-nav .nav-item svg,
.brunett-mobile-bottom-nav .nav-item::before {
    width: 21px !important;
    height: 21px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-shrink: 0 !important;
}

@media (max-width: 767px) {
    .wishlist-btn {
        top: 9px !important;
        right: 9px !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
    }

    .wishlist-btn .heart-icon,
    .wishlist-btn .remove-icon {
        width: 15px !important;
        height: 15px !important;
    }

    .related-products-grid .wishlist-btn,
    .page-producto .wishlist-btn {
        top: 8px !important;
        right: 8px !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }
}


/* ========================================================================== 
   BRUNETT SHOP - FIX V14 WISHLIST + MOBILE BOTTOM NAV
   - Corrige estado del botón de favoritos (heart / remove)
   - Evita recortes del icono en el menú móvil inferior
   ========================================================================== */

/* Estado correcto del wishlist */
.wishlist-btn,
.wishlist-btn.active,
.wishlist-btn:hover {
    overflow: visible !important;
}

.wishlist-btn .heart-icon {
    display: block !important;
}

.wishlist-btn .remove-icon {
    display: none !important;
}

.wishlist-btn.active .heart-icon,
body:not(.season-normal) .wishlist-btn.active .heart-icon {
    display: none !important;
}

.wishlist-btn.active .remove-icon,
body:not(.season-normal) .wishlist-btn.active .remove-icon {
    display: block !important;
}

.wishlist-btn:not(.active) .remove-icon {
    display: none !important;
}

.wishlist-btn:not(.active) .heart-icon {
    display: block !important;
}

.wishlist-btn svg {
    position: relative !important;
    z-index: 2 !important;
}

/* Asegura aire a la derecha y evita que la imagen o la card lo tapen */
.product-card,
.product-image,
.related-products-grid .product-card,
.related-products-grid .product-image,
.page-producto .related-product-image {
    overflow: visible !important;
}

.wishlist-btn {
    right: 12px !important;
    top: 12px !important;
}

@media (max-width: 767px) {
    .wishlist-btn {
        right: 10px !important;
        top: 10px !important;
    }

    .related-products-grid .wishlist-btn,
    .page-producto .wishlist-btn {
        right: 10px !important;
        top: 10px !important;
    }
}

/* Menú inferior móvil: más espacio lateral para que Favoritos no se corte */
@media (max-width: 768px) {
    .brunett-mobile-bottom-nav {
        padding-left: calc(10px + env(safe-area-inset-left, 0px)) !important;
        padding-right: calc(10px + env(safe-area-inset-right, 0px)) !important;
        justify-content: space-between !important;
        overflow: visible !important;
    }

    .brunett-mobile-bottom-nav .nav-item {
        width: auto !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 4px 2px 2px !important;
        overflow: visible !important;
    }

    .brunett-mobile-bottom-nav .nav-item:last-child {
        padding-right: 6px !important;
    }

    .brunett-mobile-bottom-nav .nav-item svg,
    .brunett-mobile-bottom-nav .nav-item::before,
    .brunett-mobile-bottom-nav a[href*="/favoritos"] svg,
    body:not(.season-normal) .brunett-mobile-bottom-nav a[href*="/favoritos"]::before {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        margin: 0 auto 2px auto !important;
        overflow: visible !important;
        clip-path: none !important;
        -webkit-clip-path: none !important;
        flex: 0 0 auto !important;
        transform: none !important;
    }

    .brunett-mobile-bottom-nav a[href*="/favoritos"] {
        padding-right: 4px !important;
    }
}


/* BRUNETT V15 HARD FIX WISHLIST ICONS */


/* FIX DEFINITIVO: no se usa el SVG original del corazón porque se estaba recortando por herencias/temporadas. */
.product-card,
.product-card *,
.product-image,
.related-products-grid,
.related-products-grid *,
.brunett-mobile-bottom-nav,
.brunett-mobile-bottom-nav * {
    -webkit-clip-path: none !important;
    clip-path: none !important;
}
.product-card,
.product-image,
.related-products-grid .product-card,
.related-products-grid .product-image {
    overflow: visible !important;
}
.wishlist-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid #e9edf1 !important;
    box-shadow: 0 5px 14px rgba(0,0,0,.10) !important;
    overflow: visible !important;
    z-index: 80 !important;
    contain: none !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    font-size: 0 !important;
}
.wishlist-btn::before {
    display: none !important;
    content: none !important;
    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;
}
.wishlist-btn > svg,
.wishlist-btn .heart-icon,
.wishlist-btn .remove-icon {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
.wishlist-btn::after {
    content: "" !important;
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 23px 23px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 27S6 20.7 6 13.1C6 8.8 9 6.2 12.4 6.2c2.1 0 3.8 1 4.6 2.6.9-1.6 2.5-2.6 4.6-2.6 3.4 0 6.4 2.6 6.4 6.9C28 20.7 16 27 16 27Z' fill='none' stroke='%23717171' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    overflow: visible !important;
    transform: none !important;
}
.wishlist-btn.active {
    background: #000 !important;
    border-color: #000 !important;
}
.wishlist-btn.active::after {
    width: 22px !important;
    height: 22px !important;
    background-size: 22px 22px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M10 10l12 12M22 10L10 22' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
@media (max-width: 767px) {
    .wishlist-btn {
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }
    .wishlist-btn::after {
        width: 22px !important;
        height: 22px !important;
        background-size: 22px 22px !important;
    }
}
/* Menú móvil: reemplazo completo del SVG original de Favoritos para que no pueda cortarse. */
@media (max-width: 768px) {
    .brunett-mobile-bottom-nav {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: calc(12px + env(safe-area-inset-left, 0px)) !important;
        padding-right: calc(16px + env(safe-area-inset-right, 0px)) !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        justify-content: space-between !important;
    }
    .brunett-mobile-bottom-nav .nav-item {
        width: auto !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    .brunett-mobile-bottom-nav a[href*="favoritos"] {
        padding-right: 8px !important;
        overflow: visible !important;
    }
    .brunett-mobile-bottom-nav a[href*="favoritos"] > svg {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }
    .brunett-mobile-bottom-nav a[href*="favoritos"]::before {
        content: "" !important;
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        margin: 0 auto 2px auto !important;
        background-color: transparent !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 24px 24px !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 27S6 20.7 6 13.1C6 8.8 9 6.2 12.4 6.2c2.1 0 3.8 1 4.6 2.6.9-1.6 2.5-2.6 4.6-2.6 3.4 0 6.4 2.6 6.4 6.9C28 20.7 16 27 16 27Z' fill='none' stroke='%23666666' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        -webkit-mask: none !important;
        mask: none !important;
        transform: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        overflow: visible !important;
        flex: 0 0 auto !important;
    }
}




/* ========================================================================== 
   BRUNETT SHOP - FIX V16 MOBILE CATEGORIES DRAWER
   - Sin variaciones en drawer móvil
   - CTA de flecha al producto en lugar de agregar al carrito
   ========================================================================== */
.mobile-categories-drawer .product-variations-wrapper,
.mobile-categories-drawer .color-swatches,
.mobile-categories-drawer .size-options {
    display: none !important;
}

.drawer-go-product {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 0 !important;
    background: #000000 !important;
    border: none !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    z-index: 2 !important;
}

.drawer-go-product:hover,
.drawer-go-product:focus {
    background: #000000 !important;
    color: #ffffff !important;
    transform: none !important;
}

.drawer-go-product svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
    overflow: visible !important;
}

.drawer-product-title {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    line-height: 1.3 !important;
    min-height: 26px !important;
}


/* V17: resultados del buscador clicables hacia el producto */
.premium-search-item {
    cursor: pointer !important;
}
.premium-search-item:focus {
    outline: 1px solid #000 !important;
    outline-offset: -1px !important;
}


/* FIX V17: buscador AJAX - toda la tarjeta del resultado abre el producto */
.premium-search-item {
    cursor: pointer !important;
}
.premium-search-item .premium-search-details,
.premium-search-item .premium-search-image,
.premium-search-item .premium-search-title,
.premium-search-item .premium-search-brand,
.premium-search-item .premium-search-price {
    pointer-events: none !important;
}
.premium-search-quick-add {
    pointer-events: auto !important;
}

/* ========================================================================== 
   BRUNETT SHOP - FIX V26 MOBILE UX / FAVORITOS / BUSCADOR / STICKY
   ========================================================================== */

/* Header siempre sticky, sin que temporadas o fixes anteriores lo pisen */
.brunett-header {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    isolation: isolate !important;
}

/* Evita doble tap/zoom raro y mejora respuesta en móvil */
a, button, input, select, textarea,
.product-card, .category-item, .wishlist-btn,
.header-action-item, .brunett-mobile-bottom-nav .nav-item,
.premium-search-item, .premium-search-link,
.color-swatch, .size-option {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0.06) !important;
}

@media (max-width: 768px) {
    input, select, textarea,
    .search-field,
    .mobile-search .search-field {
        font-size: 16px !important;
    }
}

/* Buscador: el resultado completo navega al producto real */
.premium-search-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
}

.premium-search-item {
    cursor: pointer !important;
}

/* Punticos del carrusel de categorías en móvil */
.categories-carousel-dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 6px auto 0;
}

.category-carousel-dot {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #d6d6d6 !important;
    cursor: pointer !important;
    transition: width .2s ease, background .2s ease !important;
}

.category-carousel-dot.active {
    width: 18px !important;
    background: #111 !important;
}

@media (max-width: 768px) {
    .home-categories {
        padding-bottom: 26px !important;
    }

    .home-categories .categories-grid {
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 10px !important;
    }

    .home-categories .categories-grid::-webkit-scrollbar {
        display: none !important;
    }

    .home-categories .category-item {
        scroll-snap-align: start !important;
    }

    .categories-carousel-dots {
        display: flex;
    }
}

/* En móvil no hay efectos hover: evita que toque dos veces para variaciones/botones */
@media (hover: none), (pointer: coarse), (max-width: 768px) {
    .product-card,
    .product-card:hover,
    .drawer-product-card,
    .drawer-product-card:hover,
    .promo-card-link:hover,
    .tiktok-card-link:hover .tiktok-video-card {
        transform: none !important;
        box-shadow: none !important;
    }

    .product-card:hover .product-image img,
    .drawer-product-card:hover .drawer-product-image img,
    .promo-card-link:hover img,
    .tiktok-card-link:hover .tiktok-video-card img {
        transform: none !important;
    }

    .hover-add-btn-wrapper,
    .product-card:hover .hover-add-btn-wrapper {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: none !important;
    }

    .wishlist-btn:hover,
    .category-item:hover .category-img,
    .product-price-row .bag-btn:hover,
    .color-swatch:hover,
    .size-option:hover,
    .premium-search-item:hover,
    .premium-search-item:hover .premium-search-image {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Favoritos: grilla responsive real y productos visibles */
#favorites-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

@media (max-width: 1024px) {
    #favorites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    #favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

/* Iconos y navegación móvil: no overlays bloqueando taps */
@media (max-width: 768px) {
    .brunett-mobile-bottom-nav {
        z-index: 10000 !important;
    }

    .brunett-mobile-bottom-nav .nav-item,
    .header-action-item,
    .mobile-menu-toggle,
    .cart-action,
    .mobile-search-toggle,
    .wishlist-btn,
    .bag-btn,
    .add-to-cart-btn {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
}


/* ========================================================================== 
   BRUNETT SHOP - FIX V28 MOBILE SIDE CART CTA VISIBLE
   Sube y mantiene visible el botón "VER BOLSA Y PAGAR" en móvil.
   Evita que el menú inferior móvil tape el footer del carrito lateral.
   ========================================================================== */
@media (max-width: 768px) {
    .brunett-side-cart-overlay {
        z-index: 30000 !important;
    }

    .brunett-side-cart,
    .brunett-side-cart.is-open {
        z-index: 30010 !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 100dvh !important;
        top: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .brunett-side-cart .side-cart-header {
        flex: 0 0 auto !important;
    }

    .brunett-side-cart .side-cart-content {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .brunett-side-cart .cart-items {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 18px !important;
    }

    .brunett-side-cart .cart-footer {
        flex: 0 0 auto !important;
        position: relative !important;
        bottom: auto !important;
        z-index: 5 !important;
        background: #ffffff !important;
        padding: 18px 26px calc(24px + env(safe-area-inset-bottom, 0px)) 26px !important;
        box-shadow: 0 -12px 28px rgba(0,0,0,0.06) !important;
        border-top: 1px solid #e7e7e7 !important;
    }

    .brunett-side-cart .cart-total {
        margin-bottom: 12px !important;
    }

    .brunett-side-cart .cart-footer .btn-primary {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 14px 18px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        line-height: 1.2 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
