/*--------------------------------------------------------------
# General / Reset
--------------------------------------------------------------*/
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.search-box {
    border-radius: 8px 0 0 8px !important;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.search-box:focus {
    border-color: var(--store-color, #154360);
    box-shadow: 0 0 0 3px rgba(21, 67, 96, 0.1);
    outline: none;
}

.search-box-mobile {
    visibility: visible;
    height: auto;
}

.search-box-mobile .input-group {
    flex-wrap: nowrap !important;
}

.search-box-desktop {
    visibility: hidden;
    height: 0px;
}

.font-store-small {
    font-size: 10px;
    font-weight: bold;
}

.header-nav .nav-link {
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 8px;
    padding: 6px 12px !important;
}

.header-nav .nav-link:hover {
    background-color: rgba(0,0,0,0.04);
}

/*--------------------------------------------------------------
# Mobile Nav Panel
--------------------------------------------------------------*/
.mobile-nav-toggle {
    border-radius: 8px !important;
    transition: background 0.2s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
    background: rgba(0,0,0,0.05);
}

.mobile-nav-panel {
    padding: 12px 0 8px;
}

.mobile-nav-item {
    margin-bottom: 2px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: background 0.15s ease;
}

.mobile-nav-link:hover {
    background: #f5f6f8;
    text-decoration: none;
    color: #333;
}

.mobile-nav-icon {
    font-size: 22px;
    color: #666;
    flex-shrink: 0;
}

.mobile-nav-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-nav-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/*--------------------------------------------------------------
# Search Autocomplete
--------------------------------------------------------------*/
.search-autocomplete-wrapper {
    position: relative;
}

.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-autocomplete.active {
    display: block;
    animation: slideDown 0.2s ease;
}

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

.search-autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.search-autocomplete-item:hover,
.search-autocomplete-item.active {
    background-color: #f7f8fa;
    color: #333;
    text-decoration: none;
}

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

.search-autocomplete-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.search-autocomplete-info {
    flex: 1;
    min-width: 0;
}

.search-autocomplete-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
}

.search-autocomplete-name mark {
    background-color: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}

.search-autocomplete-price {
    font-size: 14px;
    font-weight: 700;
    color: #154360;
}

.search-autocomplete-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.search-autocomplete-loading {
    padding: 16px;
    text-align: center;
    color: #999;
}

.search-autocomplete-loading .spinner-border {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/*--------------------------------------------------------------
# Menu Categorias - Desktop (Mega Menu)
--------------------------------------------------------------*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 100%;
    left: 25%;
    margin-bottom: 1px;
}

.submenu-ul li:hover > ul.dropdown-menu {
    display: block;
}

.submenu-ul {
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    border: 1px solid #eee !important;
    padding: 8px 0 !important;
    min-width: 220px;
}

.submenu-ul .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    color: #444;
    border-radius: 0;
    transition: all 0.15s ease;
}

.submenu-ul .dropdown-item:hover {
    background-color: #f7f8fa;
    color: #154360;
    padding-left: 20px;
}

.submenu-ul .dropdown-item.dropdown-toggle::after {
    float: right;
    margin-top: 6px;
    opacity: 0.5;
}

.categories-bar {
    border-radius: 0;
    transition: all 0.3s ease;
}

/*--------------------------------------------------------------
# Menu Categorias - Mobile (Offcanvas)
--------------------------------------------------------------*/
.offcanvas-categories {
    max-width: 320px;
}

.offcanvas-categories .offcanvas-header {
    border-bottom: 1px solid #eee;
    padding: 16px 20px;
}

.offcanvas-categories .offcanvas-body {
    padding: 0;
}

.mobile-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-cat-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.mobile-cat-link:hover {
    background-color: #f7f8fa;
    color: #154360;
    text-decoration: none;
}

.mobile-cat-link .chevron {
    font-size: 18px;
    color: #aaa;
    transition: transform 0.3s ease;
}

.mobile-cat-link[aria-expanded="true"] .chevron {
    transform: rotate(90deg);
    color: #154360;
}

.mobile-cat-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f9fafb;
}

.mobile-cat-submenu .mobile-cat-link {
    padding-left: 36px;
    font-weight: 400;
    font-size: 13px;
}

.mobile-cat-submenu .mobile-cat-submenu .mobile-cat-link {
    padding-left: 52px;
    font-size: 13px;
}

.mobile-cat-submenu .mobile-cat-submenu .mobile-cat-submenu .mobile-cat-link {
    padding-left: 68px;
}

.mobile-cat-submenu .mobile-cat-submenu .mobile-cat-submenu .mobile-cat-submenu .mobile-cat-link {
    padding-left: 84px;
}

/*--------------------------------------------------------------
# Product Cards
--------------------------------------------------------------*/
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

.product-card-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    aspect-ratio: 1/1;
}

.product-card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-img-wrapper::after {
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.06) 100%);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    line-height: 1.4;
    min-height: 39px;
}

.product-card-code {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-card-code .badge-code {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.product-card-price-section {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.product-card-currency {
    font-size: 12px;
    font-weight: 500;
    color: #888;
}

.product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #154360;
    line-height: 1;
}

.product-card-stock {
    font-size: 11px;
    color: #28a745;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-card-stock::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #28a745;
}

.product-card-stock.out-of-stock {
    color: #dc3545;
}

.product-card-stock.out-of-stock::before {
    background: #dc3545;
}

.product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
}

.product-card:hover .product-card-overlay {
    transform: translateY(0);
}

.product-card-btn {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #154360;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card-btn:hover {
    background: #154360;
    color: #fff;
}

/*--------------------------------------------------------------
# Product Detail Page Improvements
--------------------------------------------------------------*/
.product-detail-gallery .thumbnail-item {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.product-detail-gallery .thumbnail-item:hover,
.product-detail-gallery .thumbnail-item.active {
    border-color: #154360;
    opacity: 1;
}

.product-detail-gallery .thumbnail-item img {
    border-radius: 8px;
}

.product-detail-gallery .main-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-detail-info .product-detail-card {
    padding: 0;
}

.product-detail-info .product-name {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.product-detail-info .product-price-tag {
    font-size: 30px;
    font-weight: 700;
    color: #154360;
    margin: 8px 0 16px 0;
}

.product-detail-info .product-short-desc {
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 16px;
    border-left: 3px solid #154360;
}

.product-detail-info .product-short-desc p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Specs Card */
.product-specs-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
}

.product-detail-info .info-table th {
    color: #666;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px 8px 0;
    white-space: nowrap;
    vertical-align: middle;
}

.product-detail-info .info-table td {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    vertical-align: middle;
}

.spec-icon {
    font-size: 18px !important;
    vertical-align: middle;
    margin-right: 6px;
    color: #999;
}

/* Stock Badge */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.stock-badge.in-stock {
    color: #28a745;
    background: rgba(40, 167, 69, 0.08);
}

.stock-badge.out-of-stock {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.stock-badge.in-stock .stock-dot {
    background: #28a745;
    animation: pulse-green 2s infinite;
}

.stock-badge.out-of-stock .stock-dot {
    background: #dc3545;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Code Chip */
.code-chip {
    background: #f0f0f0;
    color: #555;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* Quantity Control */
.product-detail-info .qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
}

.product-detail-info .qty-control button {
    width: 44px;
    height: 44px;
    border: none;
    background: #f8f9fa;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-info .qty-control button:hover {
    background: #e9ecef;
    color: #154360;
}

.product-detail-info .qty-control input {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    font-size: 16px;
    font-weight: 600;
    height: 44px;
}

/* Add to Cart Button */
.btn-add-cart {
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Unavailable Alert */
.unavailable-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #fff5f5;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
}

.unavailable-alert .material-icons {
    font-size: 22px;
    color: #dc3545;
}

/* Product Description Section */
.product-description-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}

.product-description-section .desc-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.product-description-section .desc-title .material-icons {
    font-size: 22px;
    color: #888;
}

.product-description-section .desc-content {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Suggested Section */
.suggested-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.suggested-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: #154360;
}

/*--------------------------------------------------------------
# Quick Add to Cart (Product Cards)
--------------------------------------------------------------*/
.product-card-footer {
    padding: 0 12px 12px;
}

.card-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-qty-btn {
    width: 30px;
    height: 32px;
    border: none;
    background: #f8f9fa;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
}

.card-qty-btn:hover {
    background: #e9ecef;
    color: #154360;
}

.card-qty-btn .material-icons {
    font-size: 16px;
}

.card-qty-input {
    width: 32px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    background: #fff;
    padding: 0;
}

.btn-quick-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f0f4f8;
    color: #154360;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-quick-add:hover {
    background: #154360;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 67, 96, 0.25);
}

.btn-quick-add.disabled {
    background: #f5f5f5;
    color: #bbb;
    cursor: not-allowed;
    pointer-events: none;
    flex: 1;
}

.btn-quick-add .material-icons {
    font-size: 16px;
}

@media only screen and (max-width: 430px) {
    .btn-quick-add-text {
        display: none;
    }
    .card-qty-btn {
        width: 26px;
        height: 28px;
    }
    .card-qty-input {
        width: 26px;
        height: 28px;
        font-size: 12px;
    }
    .card-qty-btn .material-icons {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Home Page - Featured Products
--------------------------------------------------------------*/
.home-products-section {
    margin: 32px 0 20px;
}

.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.home-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-section-icon {
    font-size: 26px;
    color: #ff6b35;
}

.home-section-link {
    font-size: 14px;
    font-weight: 600;
    color: #154360;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.home-section-link:hover {
    color: #1a5276;
    gap: 8px;
}

/*--------------------------------------------------------------
# Modal Store Selection
--------------------------------------------------------------*/
.sucursal-box {
    min-height: 230px;
    max-height: 250px;
}

.sucursal-div {
    min-height: 181px;
    max-height: 181px;
}

.sucursal-div-padding {
    padding: 1rem 1rem 0 1rem;
}

.sucursal-name {
    font-size: 13px;
}

.sucursal-address {
    font-size: 12px;
    max-height: 200px;
}

.sucursal-box-enlace {
    text-decoration: none;
}

.sucursal-msg-color {
    color: #154360;
}


/*--------------------------------------------------------------
# Login
--------------------------------------------------------------*/
.login-form {
    width: 350px;
}

.login-box {
    max-width: 100%;
    width: 100%;
    outline: 0;
    border-width:unset;
    border-width: 0px 0px 2px 0px;
    border-color: #cccccc;
}

    .login-box:hover {
        border-color: #A1CBDE;
    }

    .login-box:focus {
        border-color: #A1CBDE;
        border-width: 0;
        outline: 2px;
        outline-color: #A1CBDE;
        outline-style: solid;
    }

.login-append {
    background-color: rgba(255, 255, 255);
    border-width: 0px 0px 2px 0px;
    border-radius: 0;
}

.login-link {
    font-size: 13px;
    color: #154360;
    font-family: 'Montserrat';
    font-weight: 400;
}

.login-formReset {
    width: 450px;
}

/*--------------------------------------------------------------
# My Account Pages
--------------------------------------------------------------*/
.div-no-margin {
    margin-top: -2rem;
    margin-bottom: -1rem;
}

.account-form {
    width: 100%;
    max-width: 100%;
}

.border-form {
    border-right: 0;
}

.font-color2 {
    color: #A3A3A3
}

.address-format {
    max-height: 272px;
    max-width: 272px;
    margin-left: auto;
    margin-right: auto;
}

.custom-input-width {
    width: 450px;
    max-width: 100%;
}

.item-novisible {
    display: none;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-custom {
    padding-left: 25px;
    padding-right: 25px;
    font-family: 'Montserrat';
    font-weight: 400;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.btn-custom-store {
    color: white;
    padding-left: 25px;
    padding-right: 25px;
    font-family: 'Montserrat';
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
}

/*--------------------------------------------------------------
# Carousel Posicion Indicadores
--------------------------------------------------------------*/
.carousel-indicadores-posicion {
    margin-bottom: unset;
}

/*--------------------------------------------------------------
# Productos (Legacy compat)
--------------------------------------------------------------*/
.img-cursor {
    cursor: pointer;
}

.img-square {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.btn-hover:hover {
    background-color: #c3c3c3;
}
.btn-border-none {
    border-color: aqua;
}

.texto-formato {
    white-space: pre-line;
}

/*--------------------------------------------------------------
# No underline
--------------------------------------------------------------*/
.text-nodeco {
    text-decoration: none;
}

/*--------------------------------------------------------------
# Fonts Types
--------------------------------------------------------------*/
.FontMontserratThin {
    font-family: 'Montserrat';
    font-weight: 100;
}

.FontMontserratExtra-light {
    font-family: 'Montserrat';
    font-weight: 200;
}

.FontMontserratLight {
    font-family: 'Montserrat';
    font-weight: 300;
}

.FontMontserrat {
    font-family: 'Montserrat';
    font-weight: 400;
}

.FontMontserratMedium {
    font-family: 'Montserrat';
    font-weight: 500;
}

.FontMontserratSemi-bold {
    font-family: 'Montserrat';
    font-weight: 600;
}

.FontMontserratBold {
    font-family: 'Montserrat';
    font-weight: 700;
}

/*--------------------------------------------------------------
# Resize screen
--------------------------------------------------------------*/
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .product-card-price {
        font-size: 17px;
    }
    .product-card-name {
        font-size: 13px;
        min-height: 36px;
    }
    .product-card-body {
        padding: 10px 12px 12px;
    }
    .product-detail-info .product-name {
        font-size: 20px;
    }
    .product-detail-info .product-price-tag {
        font-size: 22px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .border-form {
        border-right: 2px solid #dee2e6;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .account-form {
        width: 450px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .search-box {
        max-width: 400px;
    }

    .search-box-mobile {
        visibility: hidden;
        height: 0px;
    }

    .search-box-desktop {
        visibility: visible;
        height: auto;
    }

    .carousel-indicadores-posicion {
        margin-bottom: 1rem;
    }
}

/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
.black-color-es{
    color:black !important;
}

/*--------------------------------------------------------------
# Text Type
--------------------------------------------------------------*/
.text-bold-900-es{
    font-weight:500
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination-es-item-selected {
    background-color: #e3e6e8;
    border-radius: 8px;
}

.pagination-es{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap: 4px;
}

.pagination-es-link{
    position:relative;
    text-decoration:none;
    color:black !important;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius: 8px;
    min-width: 38px;
    min-height: 38px;
    transition: all 0.15s ease;
}

.pagination-es-item {
    position:relative;
    list-style:none;
}

    .pagination-es-item a:hover {
        background-color: #cacfd2;
        border-radius: 8px;
    }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    border-radius: 0;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 12px;
}

footer a {
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 0.8;
}

/*--------------------------------------------------------------
# Social Sidebar (Desktop)
--------------------------------------------------------------*/
.social-sidebar {
    border-radius: 16px 0 0 16px;
    background: #fff !important;
    border: 1px solid #eee;
}

.social-sidebar img {
    transition: transform 0.2s ease;
}

.social-sidebar img:hover {
    transform: scale(1.15);
}

/*--------------------------------------------------------------
# Promo Section - Mobile Responsive
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
    .col-md-6.col-lg-3 img.shadow.img-fluid {
        max-height: 180px;
        width: 100%;
        object-fit: cover;
    }
}

/*--------------------------------------------------------------
# Featured Categories (Home)
--------------------------------------------------------------*/
.featured-categories {
    padding-top: 0.5rem;
}

.category-card-home {
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    height: 110px;
    border-radius: 16px !important;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    opacity: 1;
}

.category-icon-home {
    font-size: 30px;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.category-card-home:hover .category-icon-home {
    opacity: 1;
}

.category-name-home {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
    white-space: normal;
    max-width: 100%;
    word-break: break-word;
}

@media only screen and (max-width: 767px) {
    .featured-categories .row {
        flex-wrap: wrap;
    }

    .featured-categories .col-6,
    .featured-categories .col-sm-4,
    .featured-categories [class*="col-md"] {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .category-card-home {
        height: 95px;
        padding: 10px 8px !important;
    }

    .category-icon-home {
        font-size: 24px;
    }

    .category-name-home {
        font-size: 11px;
    }
}

@media only screen and (max-width: 400px) {
    .category-card-home {
        height: 85px;
        padding: 8px 6px !important;
    }

    .category-icon-home {
        font-size: 22px;
    }

    .category-name-home {
        font-size: 10px;
    }
}

