
:root{
    --dark:#111820;
    --yellow:#ffc107;
    --green:#157a48;
    --bg:#f5f6f8;
    --border:#e6e9ed;
    --muted:#68717e;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    background:var(--bg);
    color:var(--dark);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{cursor:pointer}
img{max-width:100%}
svg{width:23px;height:23px;flex-shrink:0}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #ad7800;outline-offset:3px}

.wrap{width:min(1280px,94%);margin:auto}

.preview-notice{
    background:#fff2bb;
    text-align:center;
    padding:8px;
    font-size:11px;
    font-weight:700;
}
.preview-notice a{margin-left:15px;text-decoration:underline}

.header{background:var(--dark);color:white}
.topline{
    padding:9px;
    text-align:center;
    font-size:12px;
    background:#202b36;
}
.header-inner{
    display:flex;
    align-items:center;
    gap:24px;
    padding:20px 0;
}
.brand{flex:0 0 190px}
.brand img{width:190px;display:block}

.search{
    display:flex;
    align-items:center;
    flex:1;
    min-width:0;
    background:white;
    color:var(--muted);
    border-radius:12px;
    overflow:hidden;
}
.search svg{margin-left:15px}
.search input{
    width:100%;
    min-width:0;
    padding:15px 12px;
    border:0;
    background:transparent;
}
.search button{
    background:var(--yellow);
    border:0;
    padding:15px 20px;
    font-weight:750;
}
.header-actions{
    display:flex;
    align-items:center;
    gap:20px;
}
.header-actions button{
    display:grid;
    justify-items:center;
    gap:5px;
    color:white;
    background:none;
    border:0;
    font-size:11px;
}
.location{display:flex;align-items:center;gap:8px}
.location small{display:block;color:#abb4bf;font-size:11px}

.navigation{border-top:1px solid #ffffff18}
.nav-inner{
    display:flex;
    gap:30px;
    padding:13px 0;
    font-size:14px;
    font-weight:600;
}
.nav-inner a:hover{color:var(--yellow)}

.hero{
    margin-top:24px;
    border-radius:24px;
    background:var(--dark);
    color:white;
    display:grid;
    grid-template-columns:1fr 1fr;
    overflow:hidden;
}
.hero-copy{padding:46px}
.eyebrow{
    color:var(--yellow);
    font-size:12px;
    font-weight:800;
    letter-spacing:1.4px;
}
.hero h1{
    font-size:clamp(30px,4vw,49px);
    letter-spacing:-1.8px;
    line-height:1.12;
    margin:18px 0;
}
.hero p{
    color:#d4d9df;
    font-size:16px;
    line-height:1.7;
    margin-bottom:26px;
}
.primary-button{
    display:inline-flex;
    background:var(--yellow);
    color:var(--dark);
    padding:15px 24px;
    border-radius:12px;
    font-weight:800;
}
.hero-image{display:grid;place-items:center;background:#202b36}
.hero-image img{width:100%;height:100%;object-fit:contain}

.benefits{
    margin:20px 0;
    background:white;
    border:1px solid var(--border);
    border-radius:18px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    padding:22px;
}
.benefits>div{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:13px;
}
.benefits svg{color:var(--green);width:30px;height:30px}
.benefits small{display:block;color:var(--muted);margin-top:4px}

.section{margin:35px 0}
.section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
}
.section-head h2{font-size:25px;letter-spacing:-.6px;margin:0}
.section-head p{color:var(--muted);margin:5px 0 0;font-size:14px}

.categories{
    display:grid;
    grid-template-columns:repeat(8,minmax(0,1fr));
    gap:12px;
}
.category{
    background:white;
    border:1px solid var(--border);
    border-radius:16px;
    padding:14px 8px;
    color:var(--dark);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
}
.category-image{
    background:#f5f7f9;
    border-radius:50%;
    width:72px;
    height:72px;
    display:grid;
    place-items:center;
}
.category-image img{width:55px;height:55px;object-fit:contain}
.category strong{font-size:13px;overflow-wrap:anywhere}
.category:hover{border-color:#e2a900}

.promotions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.promotions img{
    width:100%;
    aspect-ratio:2/1;
    object-fit:contain;
    background:white;
    border-radius:20px;
    border:1px solid var(--border);
}
.outline-button{
    border:1px solid var(--border);
    background:white;
    padding:10px 14px;
    border-radius:12px;
    font-size:13px;
    font-weight:700;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}
.product-card{
    min-width:0;
    background:white;
    border-radius:18px;
    border:1px solid var(--border);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}
.product-image{
    position:relative;
    aspect-ratio:1/1;
    padding:18px;
    background:white;
}
.product-image img{width:100%;height:100%;object-fit:contain}
.stock{
    position:absolute;
    left:12px;
    top:12px;
    background:#e8f7ed;
    color:#187342;
    font-size:11px;
    font-weight:750;
    padding:5px 9px;
    border-radius:7px;
}
.stock.sold{background:#eee;color:#666}

.product-body{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:16px;
}
.product-body h3{
    margin:0 0 10px;
    font-size:15px;
    min-height:40px;
    line-height:1.35;
    overflow-wrap:anywhere;
}
.price{font-size:25px;font-weight:850;letter-spacing:-.6px}
.price small{font-size:11px;color:var(--muted);letter-spacing:0}
.delivery{
    display:flex;
    align-items:center;
    gap:6px;
    color:var(--green);
    font-size:12px;
    margin:9px 0 15px;
}
.delivery svg{width:17px;height:17px}

.add-button{
    margin-top:auto;
    width:100%;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    border-radius:11px;
    background:var(--yellow);
    color:var(--dark);
    font-weight:750;
}
.add-button svg{width:18px;height:18px}
.add-button:disabled{background:#eee;color:#888;cursor:default}

.family{
    background:#17232e;
    color:white;
    padding:40px 20px;
    border-radius:22px;
    text-align:center;
    margin:35px 0;
}
.family span{font-size:12px;color:var(--yellow);font-weight:800}
.family h2{font-size:30px;margin:12px 0}
.family p{color:#bfc8d1;margin-bottom:25px}

footer{background:var(--dark);color:white}
.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:25px;
    padding:40px 0;
}
.footer-logo{width:180px}
.footer-grid p,.footer-grid a{font-size:13px;color:#bfc8d1}
.footer-grid h3{font-size:14px}
.footer-grid a{display:block;margin:12px 0}
.copyright{
    border-top:1px solid #ffffff18;
    text-align:center;
    font-size:12px;
    padding:18px;
    color:#bfc8d1;
}

.mobile-nav{display:none}

@media(min-width:992px){
    .product-card:hover{
        border-color:#cdd3da;
        box-shadow:0 8px 25px #1118200a;
    }
}

@media(max-width:991px){
    .header-inner{flex-wrap:wrap;gap:14px}
    .brand{flex:1}
    .search{flex:0 0 100%;order:3}
    .location{display:none}
    .categories{grid-template-columns:repeat(4,minmax(0,1fr))}
    .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .hero-copy{padding:28px}
}

@media(max-width:600px){
    body{padding-bottom:76px}
    .wrap{width:94%}
    .topline{font-size:10px}
    .header-inner{padding:12px 0}
    .brand img{width:145px}
    .header-actions{gap:12px}
    .header-actions button span{display:none}
    .search input{padding:12px 8px;font-size:14px}
    .search button{padding:12px 16px;font-size:13px}
    .nav-inner{gap:18px;overflow:auto;white-space:nowrap;font-size:12px}
    .hero{grid-template-columns:1fr;margin-top:14px;border-radius:18px}
    .hero-copy{padding:25px}
    .hero h1{font-size:32px}
    .hero p{font-size:14px}
    .hero-image img{max-height:240px}
    .benefits{padding:12px 5px;gap:8px}
    .benefits>div{flex-direction:column;text-align:center;gap:8px}
    .benefits strong{font-size:11px;display:block}
    .benefits small{font-size:10px}
    .benefits svg{width:24px;height:24px}
    .section{margin:25px 0}
    .section-head h2{font-size:20px}
    .section-head p{font-size:12px}
    .categories{gap:8px}
    .category{padding:12px 3px}
    .category-image{width:54px;height:54px}
    .category-image img{width:43px;height:43px}
    .category strong{font-size:11px}
    .promotions{gap:8px}
    .promotions img{border-radius:12px}
    .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .product-card{border-radius:14px}
    .product-image{padding:12px}
    .product-body{padding:12px}
    .product-body h3{font-size:13px;min-height:36px}
    .price{font-size:22px}
    .stock{top:8px;left:8px;font-size:10px}
    .outline-button{font-size:11px;padding:9px}
    .family h2{font-size:25px}
    .footer-grid{grid-template-columns:1fr 1fr}
    .mobile-nav{
        display:grid;
        grid-template-columns:repeat(4,1fr);
        position:fixed;
        bottom:0;
        left:0;
        right:0;
        background:white;
        border-top:1px solid var(--border);
        padding:10px 0 calc(10px + env(safe-area-inset-bottom));
        z-index:20;
    }
    .mobile-nav a,.mobile-nav button{
        border:0;
        background:none;
        color:var(--dark);
        display:grid;
        justify-items:center;
        gap:5px;
        font-size:11px;
        font-weight:600;
    }
}


/* VC_PREVIEW_V2 */

:root {
    --bg: #f7f8fa;
    --yellow: #ffca18;
    --border: #e3e6e9;
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
}

.topline { display:none; }
.header-inner { padding:12px 0; }
.navigation { display:none; }
.brand img { width:160px; }

.welcome-strip {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:20px 0 8px;
}

.welcome-strip small {
    color:#68717e;
    font-size:10px;
    font-weight:800;
    letter-spacing:1px;
}

.welcome-strip h1 {
    font-size:25px;
    letter-spacing:-.8px;
    margin:5px 0;
}

.welcome-strip p {
    margin:0;
    color:#68717e;
    font-size:13px;
}

.delivery-pill {
    display:flex;
    align-items:center;
    gap:8px;
    background:#eaf5ee;
    color:#176b40;
    border-radius:30px;
    padding:10px 14px;
    font-size:13px;
    font-weight:700;
}

.section { margin:20px 0 26px; }
.section-head { margin-bottom:14px; }

.categories {
    display:flex;
    overflow-x:auto;
    gap:12px;
    padding:3px 2px 12px;
    scrollbar-width:thin;
}

.category {
    flex:0 0 108px;
    border:0;
    background:transparent;
    padding:4px;
    gap:7px;
}

.category-image {
    background:#fff;
    border:1px solid #e4e7eb;
    border-radius:22px;
    width:76px;
    height:76px;
}

.category strong {
    font-size:12px;
    font-weight:650;
}

.product-grid {
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}

.product-card {
    border-radius:14px;
    box-shadow:none;
}

.product-image {
    aspect-ratio:1.15;
    padding:12px;
}

.product-body { padding:12px; }

.product-body h3 {
    font-weight:600;
    font-size:14px;
    margin-bottom:6px;
}

.price {
    font-size:23px;
    font-weight:800;
}

.delivery {
    margin:6px 0 12px;
    font-size:11px;
}

.purchase-control { margin-top:auto; }

.quick-add {
    width:100%;
    min-height:44px;
    border:0;
    border-radius:30px;
    background:var(--yellow);
    color:#111820;
    font-weight:750;
}

.quick-add span {
    font-size:20px;
    margin-right:5px;
}

.quantity-control {
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-radius:30px;
    background:var(--yellow);
    min-height:44px;
    overflow:hidden;
}

.quantity-control button {
    border:0;
    background:transparent;
    min-width:44px;
    min-height:44px;
    font-size:23px;
    font-weight:700;
}

.quantity-control button:disabled {
    opacity:.4;
}

.promotions {
    margin-top:24px;
}

.promotions img {
    max-height:210px;
}

.floating-cart {
    position:fixed;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    width:min(430px,94%);
    min-height:56px;
    border:0;
    border-radius:18px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 20px;
    background:#111820;
    color:#fff;
    z-index:40;
    box-shadow:0 8px 30px #0003;
}

.floating-cart strong { margin-left:auto; color:#ffca18; }

#demoCart {
    border:0;
    border-radius:20px;
    padding:22px;
    width:min(480px,92vw);
    max-height:80vh;
}

#demoCart::backdrop { background:#0008; }

.cart-heading,.cart-summary,.demo-cart-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.cart-heading h2 { margin:0; font-size:22px; }

.cart-heading button {
    border:0;
    background:#f0f1f3;
    border-radius:50%;
    width:42px;
    height:42px;
    font-size:25px;
}

#cartItems { margin:20px 0; }

.demo-cart-row {
    padding:12px 0;
    border-bottom:1px solid #eee;
    font-size:14px;
}

.cart-summary { font-size:20px; padding-top:10px; }
.demo-note { font-size:12px; color:#68717e; }

@media(max-width:1100px) {
    .product-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media(max-width:850px) {
    .product-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:600px) {
    .header-inner { padding:9px 0; gap:8px; }
    .brand img { width:135px; }
    .search { border-radius:9px; }
    .welcome-strip { padding:14px 0 0; }
    .welcome-strip h1 { font-size:21px; }
    .welcome-strip p { font-size:11px; }
    .delivery-pill { display:none; }

    .categories { gap:9px; }
    .category { flex-basis:78px; }
    .category-image { width:63px; height:63px; border-radius:18px; }
    .category-image img { width:48px; height:48px; }
    .category strong { font-size:11px; }

    .product-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    .product-image { padding:8px; }
    .product-body { padding:10px; }
    .product-body h3 { font-size:13px; }
    .price { font-size:21px; }

    .stock { font-size:9px; padding:4px 7px; }
    .section { margin:16px 0 22px; }

    .floating-cart {
        bottom:calc(76px + env(safe-area-inset-bottom));
    }

    body { padding-bottom:145px; }
}


/* VC_PREVIEW_V3 */

:root {
    --bg: #f7f8fa;
    --yellow: #ffca18;
}

.preview-notice {
    padding:5px;
    font-size:10px;
}

.header-inner {
    gap:12px;
    padding:10px 0;
}

.search {
    border-radius:10px;
}

.categories {
    scrollbar-width:none;
    padding-bottom:5px;
}

.categories::-webkit-scrollbar {
    display:none;
}

.category-image {
    border-radius:50%;
}

.category-fallback {
    display:grid;
    place-items:center;
    color:#68717e;
}

.category-fallback svg {
    width:30px;
    height:30px;
}

.product-image {
    aspect-ratio:4/3;
    padding:8px;
}

.product-card {
    border-radius:14px;
}

.product-body h3 {
    min-height:38px;
    margin-bottom:5px;
}

.price {
    color:#111820;
    font-size:24px;
}

.mobile-nav a:first-child {
    color:#986600;
    position:relative;
}

.mobile-nav a:first-child::before {
    content:"";
    position:absolute;
    top:-10px;
    width:30px;
    height:3px;
    background:#ffca18;
    border-radius:4px;
}

@media(max-width:600px) {
    .wrap { width:94%; }

    .header-inner {
        padding:8px 0;
        gap:7px;
    }

    .brand img { width:123px; }

    .search input {
        padding:11px 8px;
    }

    .search button {
        padding:11px 13px;
    }

    .welcome-strip {
        padding:12px 0 0;
    }

    .welcome-strip small {
        display:none;
    }

    .welcome-strip h1 {
        font-size:19px;
        margin:0 0 3px;
    }

    .section {
        margin:15px 0 18px;
    }

    .section-head {
        margin-bottom:10px;
    }

    .section-head h2 {
        font-size:18px;
    }

    .category {
        flex-basis:72px;
        padding:2px;
        gap:5px;
    }

    .category-image {
        width:59px;
        height:59px;
    }

    .category-image img {
        width:43px;
        height:43px;
    }

    .product-grid {
        gap:9px;
    }

    .product-image {
        aspect-ratio:4/3;
        padding:7px;
    }

    .product-body {
        padding:9px;
    }

    .product-body h3 {
        font-size:13px;
    }

    .price {
        font-size:23px;
    }

    .quick-add,
    .quantity-control {
        min-height:42px;
    }

    .mobile-nav {
        padding:8px 0
            calc(8px + env(safe-area-inset-bottom));
    }
}

@media(prefers-reduced-motion:reduce) {
    html { scroll-behavior:auto; }
}



/* VC_PREVIEW_V4_UI */

[hidden] {
    display:none !important;
}

.vc-results-toolbar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin:4px 0 14px;
    scroll-margin-top:200px;
}

.vc-results-status {
    font-size:13px;
    color:#68717e;
}

.vc-reset {
    background:#fff;
    border:1px solid #e0e3e7;
    border-radius:20px;
    padding:8px 14px;
    font-size:12px;
    font-weight:650;
    cursor:pointer;
}

.category.vc-selected .category-image {
    border:2px solid #ffca18;
    background:#fff8dc;
}

.category.vc-selected strong {
    color:#855900;
}

.vc-more {
    display:block;
    margin:22px auto;
    padding:12px 24px;
    border:1px solid #dce0e5;
    border-radius:25px;
    background:white;
    font-weight:700;
    cursor:pointer;
}

.product-grid[aria-busy="true"] {
    opacity:.55;
    pointer-events:none;
}

.vc-empty {
    grid-column:1/-1;
    padding:35px 15px;
    text-align:center;
    color:#68717e;
    background:white;
    border-radius:14px;
}

.vc-toast {
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    max-width:90%;
    padding:12px 20px;
    border-radius:14px;
    background:#176b40;
    color:white;
    font-size:13px;
    font-weight:650;
    z-index:100;
    box-shadow:0 6px 20px #0002;
}

[data-open-cart] {
    position:relative;
}

#floatingCart {
    position:fixed;
}

.vc-cart-badge {
    position:absolute;
    top:0;
    right:0;
    background:#ffca18;
    color:#111820;
    border-radius:20px;
    min-width:19px;
    height:19px;
    padding:2px 5px;
    font-size:10px;
    font-weight:800;
    display:grid;
    place-items:center;
}

.vc-cart-info {
    display:flex;
    flex-direction:column;
    gap:5px;
    flex:1;
}

.vc-cart-info small {
    color:#68717e;
}

.vc-cart-actions {
    display:flex;
    align-items:center;
    gap:10px;
}

.vc-cart-actions button {
    border:0;
    border-radius:50%;
    width:36px;
    height:36px;
    background:#ffca18;
    font-size:20px;
    font-weight:700;
}

.vc-cart-actions button:disabled,
.quick-add:disabled {
    opacity:.5;
}

@media(max-width:600px) {
    .vc-results-toolbar {
        margin-bottom:10px;
        scroll-margin-top:170px;
    }

    .vc-toast {
        top:10px;
        white-space:nowrap;
    }

    .vc-cart-actions {
        gap:6px;
    }
}


/* VC_PREVIEW_V5_UI */

.vc-storefront {
    width:100%;
    min-width:0;
}

.vc-commercial-section {
    margin:22px 0 30px;
}

.vc-commercial-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.vc-commercial-header h2 {
    font-size:22px;
    line-height:1.2;
    letter-spacing:-.5px;
    margin:0;
}

.vc-commercial-header p {
    color:#68717e;
    font-size:13px;
    margin:5px 0 0;
}

.vc-section-all {
    border:0;
    background:transparent;
    color:#176b40;
    font-size:13px;
    font-weight:750;
    white-space:nowrap;
    cursor:pointer;
    min-height:44px;
}

.vc-carousel-track {
    position:relative;
    min-width:0;
}

.vc-commercial-carousel {
    display:flex;
    align-items:stretch;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    padding:2px 2px 8px;
}

.vc-commercial-carousel::-webkit-scrollbar {
    display:none;
}

.vcg-grid .product-card ,
.vc-commercial-carousel .product-card {
    flex:0 0 calc((100% - 64px)/5);
    min-width:0;
    scroll-snap-align:start;
    display:flex;
    flex-direction:column;
    background:white;
    border:1px solid #e3e6e9;
    border-radius:14px;
    overflow:hidden;
}

.vcg-grid .product-body ,
.vc-commercial-carousel .product-body {
    display:flex;
    flex-direction:column;
    flex:1;
}

.vcg-grid .product-image ,
.vc-commercial-carousel .product-image {
    aspect-ratio:4/3;
}

.vcg-grid .product-body h3 ,
.vc-commercial-carousel .product-body h3 {
    min-height:38px;
    overflow-wrap:anywhere;
}

.vc-arrow {
    position:absolute;
    top:42%;
    width:38px;
    height:38px;
    border:1px solid #e3e6e9;
    border-radius:50%;
    background:white;
    color:#111820;
    font-size:28px;
    line-height:1;
    box-shadow:0 3px 12px #0002;
    cursor:pointer;
    z-index:2;
}

.vc-prev { left:-10px; }
.vc-next { right:-10px; }

.vc-arrow:disabled {
    display:none;
}

.vc-loading-home {
    padding:30px;
    text-align:center;
    color:#68717e;
}

@media(max-width:1100px) {
    .vcg-grid .product-card ,
.vc-commercial-carousel .product-card {
        flex-basis:calc((100% - 48px)/4);
    }
}

@media(max-width:850px) {
    .vcg-grid .product-card ,
.vc-commercial-carousel .product-card {
        flex-basis:calc((100% - 36px)/3);
    }
}

@media(max-width:600px) {

    .vc-commercial-section {
        margin:19px 0 24px;
    }

    .vc-commercial-header h2 {
        font-size:18px;
    }

    .vc-commercial-header p {
        font-size:11px;
    }

    .vc-commercial-carousel {
        gap:9px;
        padding-bottom:5px;
    }

    .vcg-grid .product-card ,
.vc-commercial-carousel .product-card {
        flex-basis:44%;
    }

    .vcg-grid .product-image ,
.vc-commercial-carousel .product-image {
        aspect-ratio:4/3;
    }

    .vc-section-all {
        font-size:12px;
    }

    .vc-arrow {
        display:none;
    }
}


/* VC_PREVIEW_V6_VISUAL */

body {
    background:#f7f8fa;
}

/* Eliminar titulo redundante en portada comercial */

.vc-commerce-area:has(
    .vc-storefront:not([hidden])
) > .section-head {
    display:none;
}

/* Tarjetas comerciales uniformes */

.vcg-grid .product-card,
.vc-commercial-carousel .product-card,
.product-grid .product-card {
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#fff;
    border:1px solid #e3e6e9;
    border-radius:12px;
}

.vcg-grid .product-image,
.vc-commercial-carousel .product-image,
.product-grid .product-image {
    display:flex;
    align-items:center;
    justify-content:center;
    height:170px;
    aspect-ratio:auto;
    padding:8px;
    overflow:hidden;
    background:#fff;
}

.vcg-grid .product-image img,
.vc-commercial-carousel .product-image img,
.product-grid .product-image img {
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain !important;
    object-position:center;
}

.product-body {
    display:flex;
    flex-direction:column;
    flex:1;
    gap:4px;
}

.vcg-grid .product-body h3,
.vc-commercial-carousel .product-body h3,
.product-grid .product-body h3 {
    font-size:14px;
    line-height:1.35;
    height:2.7em;
    min-height:2.7em;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.price {
    margin:0;
    font-size:23px;
    line-height:1.2;
    font-weight:800;
}

.delivery {
    color:#176b40;
    font-size:11px;
    margin:3px 0 7px;
}

.purchase-control {
    margin-top:auto;
}

.quick-add,
.quantity-control {
    border-radius:9px;
    min-height:44px;
}

.quick-add {
    font-size:13px;
    font-weight:750;
}

.vc-commercial-header h2 {
    font-size:21px;
    letter-spacing:-.4px;
}

.vc-commercial-header p {
    margin-top:3px;
}

.vc-commercial-section {
    margin:16px 0 24px;
}

/* Mobile first */

@media(max-width:600px) {

    .header-inner {
        padding:6px 0;
    }

    .brand img {
        width:115px;
    }

    .welcome-strip {
        padding-top:10px;
    }

    .welcome-strip h1 {
        font-size:19px;
    }

    .welcome-strip p {
        font-size:12px;
    }

    .section {
        margin:12px 0 14px;
    }

    .section-head {
        margin-bottom:8px;
    }

    .categories {
        gap:8px;
        padding-bottom:0;
        margin-bottom:0;
    }

    .category {
        flex-basis:72px;
    }

    .category-image {
        width:55px;
        height:55px;
    }

    .vc-commercial-section {
        margin:12px 0 22px;
    }

    .vc-commercial-header {
        margin-bottom:8px;
        gap:7px;
    }

    .vc-commercial-header h2 {
        font-size:17px;
        letter-spacing:-.3px;
    }

    .vc-commercial-header p {
        font-size:11px;
    }

    .vc-commercial-carousel {
        gap:8px;
    }

    .vcg-grid .product-card ,
.vc-commercial-carousel .product-card {
        flex-basis:44%;
    }

    .vcg-grid .product-image,
.vc-commercial-carousel .product-image,
    .product-grid .product-image {
        height:120px;
        padding:6px;
    }

    .product-body {
        padding:9px;
    }

    .price {
        font-size:22px;
    }

    .vcg-grid .product-body h3,
.vc-commercial-carousel .product-body h3,
    .product-grid .product-body h3 {
        font-size:13px;
    }

    .delivery {
        font-size:11px;
        margin:3px 0 6px;
    }

    .mobile-nav {
        box-shadow:0 -3px 15px #00000008;
    }
}


/* VC_PREVIEW_V7_UI */

.vc-variant-select {
    width:100%;
    min-width:0;
    min-height:38px;
    padding:6px;
    border:1px solid #dce0e5;
    border-radius:8px;
    background:#f7f8fa;
    color:#111820;
    font-size:12px;
    cursor:pointer;
}

.vc-variant-placeholder {
    min-height:38px;
}

.vc-variant-select:focus-visible {
    outline:2px solid #b58200;
    outline-offset:2px;
}

.vc-cart-photo {
    width:58px;
    height:58px;
    object-fit:contain;
    border:1px solid #e3e6e9;
    border-radius:9px;
    background:#fff;
    flex-shrink:0;
}

.vc-item-subtotal {
    color:#176b40;
    font-size:14px;
}

.vc-remove {
    border:0;
    background:#f2f3f5;
    color:#a52a2a;
    border-radius:50%;
    width:32px;
    height:32px;
    flex-shrink:0;
    font-size:20px;
    cursor:pointer;
}

.demo-cart-row {
    gap:9px;
}

#demoCart {
    width:min(560px,94vw);
    box-sizing:border-box;
}

@media(max-width:600px) {

    #demoCart {
        padding:16px;
    }

    .vc-cart-photo {
        width:44px;
        height:44px;
    }

    .vc-cart-info {
        min-width:0;
        overflow-wrap:anywhere;
        font-size:12px;
    }

    .vc-cart-actions {
        gap:4px;
    }

    .vc-cart-actions button {
        width:30px;
        height:34px;
    }

    .vc-variant-select {
        font-size:12px;
        min-height:40px;
    }
}



/* VC_PREVIEW_V8_NAV */

.header {
    position:sticky;
    top:0;
    z-index:30;
    box-shadow:0 3px 12px #00000012;
}

.header-inner {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    padding:12px 0;
}

.header-actions {
    display:flex;
    align-items:center;
    gap:16px;
}

.search {
    display:flex;
    align-items:center;
    min-width:0;
    min-height:46px;
    overflow:hidden;
    border:1px solid #e2e5e9;
    border-radius:12px;
    background:#fff;
}

.search input {
    flex:1;
    min-width:0;
    width:100%;
    border:0;
    font-size:14px;
    outline:none;
}

.search input::-webkit-search-cancel-button {
    display:none;
}

#clearSearch {
    border:0;
    background:transparent;
    color:#68717e;
    font-size:24px;
    min-width:40px;
    min-height:44px;
    cursor:pointer;
}

#searchButton {
    min-height:44px;
    border-radius:0;
    font-weight:750;
}

.location {
    display:flex;
    align-items:center;
    gap:6px;
}

.location small {
    display:block;
    font-size:10px;
}

.location strong {
    font-size:13px;
}

#categorias,
#productos {
    scroll-margin-top:155px;
}

.mobile-nav .vc-nav-active {
    color:#986600 !important;
    background:#fff8df;
    border-radius:12px;
    position:relative;
}

.mobile-nav a:first-child:not(.vc-nav-active) {
    color:inherit;
}

.mobile-nav a:first-child::before {
    display:none !important;
}

.mobile-nav button,
.mobile-nav a {
    min-height:48px;
    text-decoration:none;
}

.mobile-nav svg {
    width:23px;
    height:23px;
}

@media(max-width:700px) {

    .header-inner {
        grid-template-columns:minmax(0,1fr) auto;
        gap:8px 12px;
        padding:8px 0 10px;
    }

    .brand {
        grid-column:1;
        grid-row:1;
    }

    .brand img {
        width:135px;
        max-width:100%;
        height:auto;
    }

    .header-actions {
        grid-column:2;
        grid-row:1;
        gap:10px;
    }

    .header-actions > button[data-demo] {
        display:none;
    }

    .header-actions > button[data-open-cart] {
        display:none;
    }

    .header-actions .location {
        display:flex !important;
        color:#fff;
        gap:6px;
    }

    .location svg {
        width:20px;
        height:20px;
    }

    .location small {
        font-size:10px;
    }

    .location strong {
        font-size:12px;
    }

    .search {
        grid-column:1/-1;
        grid-row:2;
        width:100%;
        min-height:46px;
        box-sizing:border-box;
    }

    .search input {
        font-size:16px;
        padding:9px 6px;
    }

    #searchButton {
        padding:0 14px;
        font-size:12px;
    }

    .mobile-nav {
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:4px;
        padding:6px 8px
            calc(6px + env(safe-area-inset-bottom));
        background:#fff;
        border-top:1px solid #e3e6e9;
        box-shadow:0 -4px 20px #00000009;
    }

    .mobile-nav a,
    .mobile-nav button {
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:4px;
        font-size:11px;
        font-weight:650;
    }

    .mobile-nav .vc-cart-badge {
        right:15%;
        top:2px;
    }

    #categorias,
    #productos {
        scroll-margin-top:125px;
    }

    .vc-results-toolbar {
        scroll-margin-top:125px;
    }
}



/* VC_PREVIEW_V9_DELIVERY */

#vcOpenDelivery {
    display:flex;
    align-items:center;
    gap:7px;
    color:#fff;
    background:transparent;
    border:0;
    padding:6px;
    cursor:pointer;
    text-align:left;
    min-height:44px;
}

#vcOpenDelivery strong {
    display:block;
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.vc-location-arrow {
    font-size:20px;
    opacity:.75;
}

#vcDeliveryDialog {
    width:min(450px,94vw);
    max-height:90vh;
    max-height:90dvh;
    box-sizing:border-box;
    overflow-y:auto;
    border:0;
    border-radius:22px;
    padding:24px;
    background:#fff;
    color:#111820;
    box-shadow:0 20px 70px #0003;
}

#vcDeliveryDialog::backdrop {
    background:#111820a6;
    backdrop-filter:blur(3px);
}

.vc-zone-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:16px;
}

.vc-zone-icon {
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    background:#fff4cb;
    color:#986600;
    border-radius:17px;
}

.vc-zone-icon svg {
    width:28px;
    height:28px;
}

#vcCloseDelivery {
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:#f0f2f4;
    font-size:24px;
    cursor:pointer;
}

#vcDeliveryTitle {
    font-size:24px;
    letter-spacing:-.5px;
    line-height:1.2;
    margin:0 0 10px;
}

.vc-zone-description {
    color:#68717e;
    font-size:14px;
    line-height:1.5;
    margin-bottom:24px;
}

#vcDeliveryForm {
    display:flex;
    flex-direction:column;
    gap:10px;
}

#vcDeliveryForm label {
    font-size:13px;
    font-weight:750;
}

#vcDeliveryForm select {
    min-height:50px;
    width:100%;
    box-sizing:border-box;
    border:1px solid #dce0e5;
    background:#f7f8fa;
    border-radius:12px;
    padding:10px 12px;
    margin-bottom:8px;
    color:#111820;
    font-size:16px;
}

#vcDeliveryForm select:disabled {
    opacity:.5;
}

.vc-zone-info {
    display:flex;
    align-items:center;
    gap:10px;
    padding:13px;
    border-radius:12px;
    background:#eaf5ee;
    color:#176b40;
    font-size:13px;
}

.vc-zone-info svg {
    width:23px;
    height:23px;
    flex-shrink:0;
}

#vcSaveDelivery {
    width:100%;
    min-height:52px;
    border:0;
    border-radius:12px;
    background:#ffca18;
    color:#111820;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    margin-top:8px;
}

#vcSaveDelivery:disabled {
    opacity:.45;
    cursor:not-allowed;
}

.vc-zone-note {
    color:#68717e;
    font-size:11px;
    text-align:center;
}

#vcDeliveryDialog button:focus-visible,
#vcDeliveryDialog select:focus-visible {
    outline:2px solid #986600;
    outline-offset:3px;
}

@media(max-width:600px) {

    #vcDeliveryDialog {
        position:fixed;
        inset:auto 0 0;
        margin:0;
        width:100%;
        max-width:none;
        border-radius:24px 24px 0 0;
        padding:22px 20px
            calc(24px + env(safe-area-inset-bottom));
    }

    #vcDeliveryTitle {
        font-size:22px;
    }

    #vcOpenDelivery strong {
        max-width:125px;
    }
}



/* VC_PREVIEW_V10_QUICKVIEW */

.vc-quick-trigger {
    cursor:pointer;
}

.vc-quick-trigger:focus-visible {
    outline:2px solid #986600;
    outline-offset:2px;
}

#vcQuickView {
    width:min(760px,94vw);
    max-height:90dvh;
    box-sizing:border-box;
    border:0;
    border-radius:20px;
    padding:20px;
    overflow-y:auto;
    background:white;
    color:#111820;
}

#vcQuickView::backdrop {
    background:#111820a6;
    backdrop-filter:blur(3px);
}

.vc-quick-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
    font-size:18px;
}

#vcQuickClose {
    width:44px;
    height:44px;
    border:0;
    background:#f1f3f5;
    border-radius:50%;
    font-size:26px;
    cursor:pointer;
    flex-shrink:0;
}

.vc-quick-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:22px;
}

.vc-quick-layout .product-card {
    min-width:0;
    box-shadow:none;
}

.vc-quick-layout .product-image {
    height:240px;
    aspect-ratio:auto;
    padding:10px;
}

.vc-quick-layout .product-image img {
    width:100%;
    height:100%;
    object-fit:contain;
}

.vc-quick-layout .product-body h3 {
    height:auto;
    min-height:0;
    display:block;
    overflow:visible;
    font-size:17px;
}

.vc-quick-layout .price {
    font-size:28px;
}

.vc-quick-details {
    min-width:0;
    overflow-wrap:anywhere;
}

.vc-quick-description {
    color:#4a5562;
    line-height:1.65;
    font-size:14px;
    white-space:pre-line;
}

.vc-quick-brand,
.vc-quick-category {
    font-size:13px;
    color:#68717e;
    margin-bottom:8px;
}

.vc-quick-loading {
    padding:25px;
    color:#68717e;
    text-align:center;
}

@media(max-width:600px) {

    #vcQuickView {
        position:fixed;
        inset:auto 0 0;
        margin:0;
        width:100%;
        max-width:none;
        border-radius:24px 24px 0 0;
        padding:16px 16px
            calc(20px + env(safe-area-inset-bottom));
    }

    .vc-quick-layout {
        grid-template-columns:1fr;
        gap:16px;
    }

    .vc-quick-layout .product-image {
        height:185px;
    }

    .vc-quick-layout .quick-add {
        min-height:48px;
    }

    .vc-quick-header {
        margin-bottom:8px;
    }
}



/* VC_PREVIEW_V16_ACCOUNT */

#vcAccountDialog {
    width:min(460px,94vw);
    max-height:90dvh;
    overflow-y:auto;
    box-sizing:border-box;
    padding:22px;
    border:0;
    border-radius:22px;
    background:#fff;
    color:#111820;
}

#vcAccountDialog::backdrop {
    background:#111820a6;
}

.vc-account-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.vc-account-header h2 {
    margin:0;
    font-size:22px;
}

#vcAccountClose {
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    background:#f1f3f5;
    font-size:25px;
    cursor:pointer;
}

.vc-account-welcome {
    display:flex;
    align-items:center;
    gap:12px;
    background:#fff7da;
    padding:16px;
    border-radius:14px;
    margin-bottom:14px;
}

.vc-account-welcome svg {
    width:30px;
    height:30px;
    flex-shrink:0;
}

.vc-account-welcome small,
.vc-account-menu small {
    display:block;
    font-size:12px;
    color:#68717e;
    margin-top:4px;
}

.vc-account-menu {
    display:flex;
    flex-direction:column;
}

.vc-account-menu a {
    display:block;
    position:relative;
    padding:15px 24px 15px 4px;
    border-bottom:1px solid #e9ebee;
    color:#111820;
    text-decoration:none;
}

.vc-account-menu a::after {
    content:"›";
    position:absolute;
    right:5px;
    top:20px;
    color:#68717e;
    font-size:23px;
}

.vc-account-menu a:hover {
    background:#f7f8fa;
}

.vc-checkout-actions {
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:18px;
}

#vcCheckoutButton {
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:52px;
    padding:0 18px;
    background:#ffca18;
    color:#111820;
    font-weight:800;
    border-radius:12px;
    text-decoration:none;
}

.vc-full-cart {
    display:block;
    text-align:center;
    padding:12px;
    border:1px solid #dce0e5;
    border-radius:12px;
    text-decoration:none;
    font-weight:650;
    color:#111820;
}

#vcCheckoutWarning {
    background:#fff3e5;
    color:#854900;
    padding:12px;
    border-radius:10px;
    font-size:13px;
}

@media(max-width:700px) {

    .header-actions > button[data-open-account] {
        display:none;
    }

    #vcAccountDialog {
        position:fixed;
        inset:auto 0 0;
        margin:0;
        width:100%;
        max-width:none;
        border-radius:24px 24px 0 0;
        padding:20px 20px
            calc(20px + env(safe-area-inset-bottom));
    }
}



/* VC_PREVIEW_V19_STABILITY */

/* Garantizar comportamiento correcto de hidden. */
[hidden] {
    display:none !important;
}

/* Evitar cambios de ancho al aparecer el scroll. */
html {
    scrollbar-gutter:stable;
}

/* Mantener dimensiones comerciales existentes. */
.vcg-grid .product-image,
.vc-commercial-carousel .product-image,
.product-grid .product-image {
    flex-shrink:0;
    overflow:hidden;
}

.vcg-grid .product-image img,
.vc-commercial-carousel .product-image img,
.product-grid .product-image img {
    display:block;
    max-width:100%;
    object-fit:contain;
}

.product-card {
    min-width:0;
}

.product-body {
    min-width:0;
}

.product-body .price {
    font-variant-numeric:tabular-nums;
}

.product-card .purchase-control {
    min-height:44px;
}

.product-card .quick-add,
.product-card .quantity-control button {
    min-height:44px;
}

.product-card .quantity-control button {
    min-width:44px;
}

.vc-variant-select {
    min-height:44px;
    max-width:100%;
}

.vc-variant-placeholder {
    min-height:44px;
}

/* Navegacion mediante teclado. */
:where(a,button,input,select,[tabindex]):focus-visible {
    outline:3px solid #1769aa;
    outline-offset:3px;
}

.vc-skip-link {
    position:fixed;
    top:8px;
    left:8px;
    z-index:10000;
    padding:14px 20px;
    background:#fff;
    color:#111820;
    border:2px solid #111820;
    border-radius:8px;
    transform:translateY(-180%);
}

.vc-skip-link:focus {
    transform:translateY(0);
}

#vcMainContent {
    scroll-margin-top:140px;
}

dialog {
    overscroll-behavior:contain;
}

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

    *,
    *::before,
    *::after {
        scroll-behavior:auto !important;
        animation-duration:0.01ms !important;
        transition-duration:0.01ms !important;
    }
}



/* VC_CART_DIALOG_PROGRESS_V1 */

#demoCart .vc-minimum-progress {
    background:#fff7ed;
    color:#9a3412;
    border:1px solid #fed7aa;
    border-radius:12px;
    padding:12px;
    margin:12px 0;
    font-size:14px;
    line-height:1.5;
    box-sizing:border-box;
}

#demoCart .vc-minimum-progress strong {
    display:block;
    font-size:14px;
    font-weight:750;
}

#demoCart [data-vc-missing] {
    display:block;
    font-size:13px;
    margin-top:5px;
}

#demoCart .vc-minimum-track {
    height:7px;
    background:#fed7aa;
    border-radius:20px;
    overflow:hidden;
    margin-top:10px;
}

#demoCart [data-vc-progress] {
    width:0;
    height:100%;
    background:#ea580c;
    border-radius:20px;
    transition:width .2s ease;
}

#demoCart .vc-minimum-progress[hidden] {
    display:none !important;
}

#demoCart #vcCheckoutButton {
    width:100%;
    min-height:48px;
    border:0;
    border-radius:12px;
    background:#ffca18;
    color:#111820;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
}

#demoCart #vcCheckoutButton:disabled {
    background:#e5e7eb;
    color:#64748b;
    opacity:1;
    cursor:not-allowed;
}

@media(prefers-reduced-motion:reduce) {
    #demoCart [data-vc-progress] {
        transition:none;
    }
}


/* VC_CART_DIALOG_DESIGN_V2 */

#demoCart[open] {
    display:flex;
    flex-direction:column;
    width:min(560px,94vw);
    max-height:88vh;
    max-height:88dvh;
    padding:20px;
    box-sizing:border-box;
    overflow:hidden;
    background:#fff;
    color:#111820;
}

#demoCart .cart-heading {
    flex-shrink:0;
    padding-bottom:12px;
    border-bottom:1px solid #edf0f2;
}

#demoCart #cartItems {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    margin:0;
    padding:4px 0;
}

#demoCart .vc-dialog-footer {
    flex:0 1 auto;
    min-height:0;
    overflow-y:auto;
    border-top:1px solid #edf0f2;
    padding-top:12px;
}

#demoCart .cart-summary {
    padding:0;
    margin:0 0 12px;
    font-size:15px;
}

#demoCart #dialogTotal {
    font-size:26px;
    font-weight:850;
    white-space:nowrap;
}

#demoCart .vc-minimum-progress:not([hidden]) {
    display:block !important;
    background:#fff7ed;
    border:1px solid #fed7aa;
    border-radius:12px;
    padding:12px;
    margin:8px 0 12px;
}

#demoCart .vc-minimum-track {
    display:block !important;
    position:relative;
    width:100%;
    height:8px;
    min-height:8px;
    background:#fed7aa;
    border-radius:20px;
    overflow:hidden;
}

#demoCart .vc-minimum-track > [data-vc-progress] {
    display:block !important;
    height:8px;
    min-height:8px;
    background:#ea580c;
    border-radius:20px;
}

#demoCart .vc-checkout-actions {
    margin-top:10px;
    gap:8px;
}

#demoCart #vcCheckoutButton {
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:52px;
    width:100%;
    padding:0 18px;
    box-sizing:border-box;
    font-size:15px;
    font-weight:800;
    border:0;
    border-radius:12px;
    background:#ffca18;
    color:#111820;
}

#demoCart #vcCheckoutButton span {
    font-size:25px;
    line-height:1;
}

#demoCart #vcCheckoutButton:disabled {
    background:#e5e7eb;
    color:#64748b;
    opacity:1;
}

#demoCart .vc-dialog-continue {
    width:100%;
    border:0;
    background:transparent;
    color:#52606d;
    min-height:40px;
    font-size:14px;
    font-weight:650;
    cursor:pointer;
}

#demoCart .demo-note {
    text-align:center;
    margin:4px 0 0;
    font-size:11px;
}

#demoCart .demo-cart-row {
    display:grid;
    grid-template-columns:52px minmax(0,1fr) 44px;
    align-items:center;
    gap:8px;
    padding:12px 0;
}

#demoCart .vc-cart-photo {
    width:52px;
    height:52px;
    grid-row:span 2;
    object-fit:contain;
}

#demoCart .vc-cart-info {
    grid-column:2 / -1;
    min-width:0;
    overflow-wrap:anywhere;
}

#demoCart .vc-cart-actions {
    grid-column:2;
    flex-wrap:wrap;
    gap:6px;
}

#demoCart .vc-cart-actions button,
#demoCart .vc-remove {
    min-width:44px;
    min-height:44px;
}

#demoCart .vc-remove {
    grid-column:3;
}

@media(max-width:600px) {

    #demoCart[open] {
        position:fixed;
        inset:auto 0 0;
        margin:0;
        width:100%;
        max-width:none;
        max-height:92vh;
        max-height:92dvh;
        border-radius:22px 22px 0 0;
        padding:16px 16px
            calc(12px + env(safe-area-inset-bottom));
    }

    #demoCart .vc-minimum-progress {
        padding:10px;
    }
}


/* VC_CART_DIALOG_RESPONSIVE_V3 */

#demoCart[open] {
    box-sizing:border-box;
    width:min(560px,calc(100vw - 32px));
    max-width:100%;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 32px);
    min-width:0;
    padding:clamp(12px,3vw,22px);
    overflow:hidden;
}

#demoCart .cart-heading {
    flex:0 0 auto;
    min-width:0;
}

#demoCart #cartItems {
    flex:1 1 auto;
    min-height:0;
    min-width:0;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
}

#demoCart .vc-dialog-footer {
    flex:0 1 auto;
    min-height:0;
    min-width:0;
    max-width:100%;
    overflow-y:auto;
    overflow-x:hidden;
}

#demoCart .vc-checkout-actions,
#demoCart .vc-minimum-progress,
#demoCart .vc-minimum-track {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
}

#demoCart .cart-summary {
    flex-wrap:wrap;
    gap:8px;
}

#demoCart .vc-cart-info {
    min-width:0;
    overflow-wrap:anywhere;
}

#demoCart #vcCheckoutButton,
#demoCart .vc-full-cart,
#demoCart .vc-dialog-continue {
    box-sizing:border-box;
    width:100%;
    min-height:44px;
}

/* Telefonos */

@media(max-width:600px) {

    #demoCart[open] {
        position:fixed;
        inset:auto 0 0;
        margin:0;
        width:100%;
        max-width:100%;
        max-height:94vh;
        max-height:94dvh;
        padding:14px 14px
            calc(12px + env(safe-area-inset-bottom));
    }
}

/* Telefonos muy estrechos */

@media(max-width:360px) {

    #demoCart[open] {
        padding:10px 10px
            calc(10px + env(safe-area-inset-bottom));
    }

    #demoCart .demo-cart-row {
        grid-template-columns:44px minmax(0,1fr) 44px;
        gap:6px;
    }

    #demoCart .vc-cart-photo {
        width:44px;
        height:44px;
    }

    #demoCart .vc-cart-actions {
        gap:4px;
        flex-wrap:wrap;
    }
}

/* Pantallas de poca altura y modo horizontal */

@media(max-height:650px) {

    #demoCart[open] {
        display:block;
        overflow-y:auto;
        overflow-x:hidden;
        overscroll-behavior:contain;
    }

    #demoCart #cartItems,
    #demoCart .vc-dialog-footer {
        overflow:visible;
        max-height:none;
    }
}

/* Tablets y monitores grandes */

@media(min-width:1200px) {

    #demoCart[open] {
        width:min(640px,calc(100vw - 48px));
    }
}


/* VC_CART_DIALOG_FIXED_FOOTER_V4 */

#demoCart[open] {
    display:flex;
    flex-direction:column;
    overflow:hidden;
    box-sizing:border-box;
    min-height:0;
}

/* Cabecera siempre visible */

#demoCart .cart-heading {
    flex:0 0 auto;
}

/* Unica zona desplazable: productos */

#demoCart #cartItems {
    flex:1 1 auto;
    min-height:0;
    min-width:0;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}

/* Resumen y botones permanentemente visibles */

#demoCart .vc-dialog-footer {
    flex:0 0 auto;
    min-height:0;
    overflow:visible;
    max-height:none;
    background:#fff;
    box-sizing:border-box;
}

/* Aprovechar altura en pantallas pequenas */

@media(max-height:650px) {

    #demoCart[open] {
        padding:10px 12px;
    }

    #demoCart .cart-heading {
        padding-bottom:6px;
    }

    #demoCart .vc-dialog-footer {
        padding-top:6px;
    }

    #demoCart .cart-summary {
        margin-bottom:4px;
    }

    #demoCart #dialogTotal {
        font-size:22px;
    }

    #demoCart .vc-minimum-progress:not([hidden]) {
        margin:4px 0;
        padding:6px 8px;
    }

    #demoCart [data-vc-missing] {
        margin-top:2px;
    }

    #demoCart .vc-minimum-track {
        margin-top:4px;
    }

    #demoCart .vc-checkout-actions {
        margin-top:4px;
        gap:4px;
    }

    #demoCart #vcCheckoutButton,
    #demoCart .vc-full-cart,
    #demoCart .vc-dialog-continue {
        min-height:44px;
    }

    #demoCart .vc-full-cart {
        padding:10px;
    }

    #demoCart .demo-note {
        display:none;
    }
}

@media(max-width:600px) {
    #demoCart[open] {
        padding-bottom:calc(
            10px + env(safe-area-inset-bottom)
        );
    }
}

/* Accesibilidad en ventanas de altura extrema */

@media(max-height:350px) {

    #demoCart[open] {
        display:block;
        overflow-y:auto;
    }

    #demoCart #cartItems {
        overflow:visible;
    }
}


/* VC_CART_DIALOG_GRID_SCROLL_V5 */

@media(min-height:351px) {

    #demoCart[open] {
        display:grid !important;
        grid-template-rows:auto minmax(0,1fr) auto;
        height:calc(100vh - 32px);
        height:calc(100dvh - 32px);
        overflow:hidden !important;
    }

    #demoCart #cartItems {
        min-height:0 !important;
        height:auto;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        touch-action:pan-y;
        scroll-behavior:auto !important;
        overscroll-behavior-y:contain;
    }

    #demoCart .vc-dialog-footer {
        overflow:visible !important;
        min-height:max-content;
    }
}

@media(min-width:601px) and (min-height:651px) {
    #demoCart[open] {
        height:min(780px,calc(100dvh - 32px));
    }
}



/* VC_EMPTY_CART_DESIGN_V1 */

.vc-empty-cart {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    box-sizing:border-box;
    min-width:0;
    width:100%;
    padding:24px 16px;
    gap:14px;
    color:#111820;
}

.vc-empty-illustration {
    width:clamp(90px,28vw,130px);
    flex-shrink:0;
}

.vc-empty-illustration svg {
    display:block;
    width:100%;
    height:auto;
}

.vc-empty-cart h2 {
    font-size:clamp(20px,4vw,25px);
    font-weight:800;
    line-height:1.3;
    margin:0;
}

.vc-empty-cart p {
    color:#68717e;
    font-size:15px;
    line-height:1.6;
    max-width:340px;
    margin:0;
}

.vc-empty-explore {
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ffca18;
    color:#111820;
    min-height:48px;
    width:min(100%,280px);
    padding:12px 18px;
    border-radius:12px;
    box-sizing:border-box;
    font-size:15px;
    font-weight:800;
    text-decoration:none;
    margin-top:6px;
}

#demoCart.vc-cart-is-empty .vc-dialog-footer {
    display:none !important;
}

#demoCart.vc-cart-is-empty[open] {
    grid-template-rows:auto minmax(0,1fr);
}

#demoCart.vc-cart-is-empty #cartItems {
    display:flex;
    flex-direction:column;
    min-height:0;
    overflow-y:auto;
}

#demoCart.vc-cart-is-empty .vc-empty-cart {
    flex:0 0 auto;
    margin:auto 0;
}

/* Carrito completo */

.vc-full-cart-page.vc-cart-is-empty
.vc-cart-summary-panel,

.vc-full-cart-page.vc-cart-is-empty
.vc-cart-mobile-summary,

.vc-full-cart-page.vc-cart-is-empty
.vc-cart-panel-header {
    display:none !important;
}

.vc-full-cart-page.vc-cart-is-empty
.vc-full-cart-grid {
    grid-template-columns:minmax(0,1fr);
}

.vc-full-cart-page.vc-cart-is-empty
.vc-empty-cart {
    min-height:340px;
}

@media(max-width:600px) {

    #demoCart.vc-cart-is-empty[open] {
        height:100vh;
        height:100dvh;
        max-height:100vh;
        max-height:100dvh;
        border-radius:0;
    }
}

@media(max-height:500px) {

    .vc-empty-cart {
        padding:12px;
        gap:8px;
    }

    .vc-empty-illustration {
        width:76px;
    }

    .vc-empty-cart p {
        font-size:13px;
    }
}


/* VC_DELIVERY_MINIMAL_V1 */

#vcOpenDelivery.vc-delivery-minimal {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-width:0;
    min-height:60px;
    padding:10px 12px;
    background:#fff;
    color:#111820;
    border:1px solid #e3e6e9;
    border-radius:12px;
    box-sizing:border-box;
    text-align:left;
    cursor:pointer;
}

#vcOpenDelivery .vc-delivery-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    flex:0 0 40px;
    border-radius:50%;
    background:#fff3c5;
    color:#111820;
}

#vcOpenDelivery .vc-delivery-icon svg {
    width:23px;
    height:23px;
}

#vcOpenDelivery .vc-delivery-text {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
    flex:1 1 auto;
    min-width:0;
}

#vcOpenDelivery .vc-delivery-text small {
    display:block;
    color:#68717e;
    font-size:10px;
    font-weight:700;
    letter-spacing:.4px;
    line-height:1.3;
}

#vcOpenDelivery #vcDeliveryName {
    display:block;
    color:#111820;
    max-width:none;
    font-size:14px;
    font-weight:750;
    line-height:1.4;
    white-space:normal;
    overflow-wrap:anywhere;
}

#vcOpenDelivery .vc-delivery-change {
    display:flex;
    align-items:center;
    gap:5px;
    flex-shrink:0;
    color:#111820;
    font-size:13px;
    font-weight:700;
}

#vcOpenDelivery .vc-delivery-change span {
    font-size:23px;
    line-height:1;
}

#vcOpenDelivery:focus-visible {
    outline:2px solid #ffca18;
    outline-offset:3px;
}

@media(max-width:767px) {

    .header-actions:has(#vcOpenDelivery) {
        flex-wrap:wrap;
        min-width:0;
        max-width:100%;
    }

    #vcOpenDelivery.vc-delivery-minimal {
        flex:1 1 auto;
        width:100%;
        max-width:100%;
        min-height:54px;
        padding:8px 10px;
        gap:8px;
    }

    #vcOpenDelivery .vc-delivery-icon {
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    #vcOpenDelivery #vcDeliveryName {
        font-size:13px;
    }

    #vcOpenDelivery .vc-delivery-change {
        font-size:12px;
    }
}

@media(max-width:360px) {

    #vcOpenDelivery.vc-delivery-minimal {
        gap:6px;
        padding:8px;
    }

    #vcOpenDelivery .vc-delivery-change {
        font-size:11px;
    }
}


/* VC_DELIVERY_HEADER_COMPACT_V1 */

#vcOpenDelivery {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    min-height:48px;
    padding:7px 10px;
    border-radius:14px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    text-align:left;
    min-width:0;
    max-width:290px;
    box-sizing:border-box;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

#vcOpenDelivery:hover {
    background:rgba(255,255,255,.11);
}

#vcOpenDelivery > svg {
    width:18px;
    height:18px;
    padding:8px;
    box-sizing:content-box;
    border-radius:999px;
    flex-shrink:0;
    background:#eaf5ee;
    color:#176b40;
}

#vcOpenDelivery > span:first-of-type {
    display:flex;
    flex-direction:column;
    min-width:0;
    line-height:1.05;
}

#vcOpenDelivery small {
    display:block;
    margin:0 0 4px;
    color:rgba(255,255,255,.74);
    font-size:10px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}

#vcOpenDelivery strong {
    display:block;
    max-width:none;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#fff;
    font-size:15px;
    font-weight:800;
}

.vc-location-arrow {
    font-size:18px;
    line-height:1;
    opacity:.92;
    color:#ffca18;
}

@media(max-width:900px) {
    #vcOpenDelivery {
        max-width:240px;
        min-height:46px;
        padding:6px 9px;
        gap:8px;
        border-radius:13px;
    }

    #vcOpenDelivery > svg {
        width:16px;
        height:16px;
        padding:7px;
    }

    #vcOpenDelivery small {
        font-size:9px;
        margin-bottom:3px;
    }

    #vcOpenDelivery strong {
        font-size:13px;
    }

    .vc-location-arrow {
        font-size:16px;
    }
}

@media(max-width:600px) {
    #vcOpenDelivery {
        max-width:210px;
        min-height:44px;
        padding:6px 8px;
        gap:7px;
        border-radius:12px;
    }

    #vcOpenDelivery strong {
        font-size:12px;
    }

    #vcOpenDelivery > svg {
        width:15px;
        height:15px;
        padding:6px;
    }

    .vc-location-arrow {
        font-size:15px;
    }
}


/* VC_DELIVERY_COMPACT_PRO_V2 */

#vcOpenDelivery.vc-delivery-minimal {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    width:auto;
    min-width:0;
    min-height:44px;
    max-width:260px;
    padding:5px 8px;
    background:transparent;
    border:0;
    border-radius:8px;
    color:#fff;
    box-shadow:none;
    backdrop-filter:none;
}

#vcOpenDelivery .vc-delivery-icon {
    width:24px;
    height:24px;
    flex:0 0 24px;
    background:transparent;
    color:#ffca18;
}

#vcOpenDelivery .vc-delivery-icon svg {
    width:23px;
    height:23px;
    color:#ffca18;
}

#vcOpenDelivery .vc-delivery-text {
    gap:3px;
    min-width:0;
    align-items:flex-start;
}

#vcOpenDelivery .vc-delivery-text small {
    color:#b4bbc2;
    font-size:10px;
    font-weight:500;
    letter-spacing:0;
    margin:0;
}

#vcOpenDelivery #vcDeliveryName {
    color:#fff;
    font-size:13px;
    font-weight:650;
    line-height:1.3;
    white-space:normal;
    overflow-wrap:normal;
    max-width:none;
}

#vcOpenDelivery .vc-delivery-change {
    color:#ffca18;
    gap:0;
}

#vcOpenDelivery .vc-delivery-change span {
    font-size:16px;
}

@media(max-width:767px) {

    #vcOpenDelivery.vc-delivery-minimal {
        flex:0 1 auto;
        width:auto;
        max-width:205px;
        min-height:44px;
        padding:4px;
        gap:5px;
    }

    #vcOpenDelivery #vcDeliveryName {
        font-size:12px;
    }

    #vcOpenDelivery .vc-delivery-icon {
        width:20px;
        height:20px;
        flex-basis:20px;
    }

    #vcOpenDelivery .vc-delivery-icon svg {
        width:20px;
        height:20px;
    }
}

@media(max-width:360px) {

    #vcOpenDelivery.vc-delivery-minimal {
        max-width:175px;
    }

    #vcOpenDelivery #vcDeliveryName {
        font-size:11px;
    }
}


/* VC_CART_PREMIUM_FINAL_V1 */

#demoCart .demo-cart-row:has(.vc-cart-photo) {
    display:grid;
    grid-template-columns:76px minmax(0,1fr) 44px;
    grid-template-rows:auto auto;
    align-items:center;
    gap:8px 12px;
    padding:14px 0;
}

#demoCart .demo-cart-row .vc-cart-photo {
    grid-column:1;
    grid-row:1 / 3;
    width:76px;
    height:76px;
    max-width:100%;
    object-fit:contain;
    padding:4px;
    background:#fff;
    border:1px solid #e9ecef;
    border-radius:12px;
}

#demoCart .demo-cart-row:has(.vc-cart-photo) .vc-cart-info {
    grid-column:2 / 4;
    grid-row:1;
    min-width:0;
    gap:3px;
    overflow-wrap:anywhere;
}

#demoCart .vc-cart-info > strong:first-child {
    font-size:14px;
    line-height:1.4;
    font-weight:650;
}

#demoCart .vc-cart-info small {
    font-size:12px;
    color:#707780;
}

#demoCart .vc-item-subtotal {
    font-size:17px;
    font-weight:750;
}

#demoCart .demo-cart-row .vc-cart-actions {
    grid-column:2;
    grid-row:2;
    display:inline-flex;
    justify-self:start;
    align-items:center;
    gap:0;
    width:max-content;
    max-width:100%;
    padding:0;
    border:1px solid #e3e6e9;
    border-radius:12px;
    background:#f7f8fa;
    overflow:hidden;
}

#demoCart .vc-cart-actions button {
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:#fff4c6;
    color:#161b22;
    font-size:19px;
    box-shadow:none;
}

#demoCart .vc-cart-actions button:disabled {
    opacity:.4;
    cursor:not-allowed;
}

#demoCart .vc-cart-actions strong {
    min-width:30px;
    padding:0 5px;
    text-align:center;
    font-size:14px;
    font-variant-numeric:tabular-nums;
}

#demoCart .demo-cart-row:has(.vc-cart-photo) .vc-remove {
    grid-column:3;
    grid-row:2;
}

#demoCart .demo-cart-row .vc-remove {
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    padding:0;
    margin:0;
    background:#f7f8fa;
    border:0;
    border-radius:10px;
    font-size:0;
    color:#a33b3b;
    box-shadow:none;
}

#demoCart .vc-remove::before {
    content:"";
    width:19px;
    height:19px;
    background:currentColor;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7M14 10v7'/%3E%3C/svg%3E") center/contain no-repeat;
}

#demoCart .vc-dialog-footer {
    gap:9px;
}

#demoCart .cart-summary {
    font-size:15px;
    padding-top:4px;
}

#demoCart #dialogTotal {
    font-size:25px;
    font-weight:750;
    letter-spacing:-.5px;
    font-variant-numeric:tabular-nums;
}

#demoCart .vc-minimum-progress:not([hidden]) {
    padding:10px 12px;
    gap:5px;
    border-radius:12px;
}

#demoCart .vc-minimum-progress strong {
    font-size:13px;
    line-height:1.4;
}

#demoCart [data-vc-missing] {
    font-size:12px;
    line-height:1.4;
}

#demoCart .vc-minimum-track {
    height:6px;
    margin-top:3px;
}

#demoCart .vc-checkout-actions {
    gap:7px;
}

#demoCart #vcCheckoutButton,
#demoCart .vc-full-cart,
#demoCart .vc-dialog-continue {
    min-height:44px;
    padding:10px 14px;
    border-radius:10px;
    font-size:14px;
    font-weight:650;
}

#demoCart .vc-full-cart {
    border:1px solid #dce0e4;
}

#demoCart .vc-dialog-continue {
    color:#626c76;
    background:transparent;
}

#demoCart .demo-note {
    font-size:11px;
    line-height:1.4;
    margin:0;
}

@media(max-width:380px) {
    #demoCart .demo-cart-row:has(.vc-cart-photo) {
        grid-template-columns:60px minmax(0,1fr) 44px;
        column-gap:8px;
    }

    #demoCart .demo-cart-row .vc-cart-photo {
        width:60px;
        height:60px;
    }
}

/* END VC_CART_PREMIUM_FINAL_V1 */



/* VC_PREMIUM_LOGOUT_V1 */
#vcAccountDialog .vc-account-logout {
    margin: 8px 0 0;
    padding: 0;
    width: 100%;
}

#vcAccountDialog .vc-account-logout button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff5f5;
    color: #b91c1c;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#vcAccountDialog .vc-account-logout button:hover {
    background: #fee2e2;
}

#vcAccountDialog .vc-account-logout button:focus-visible {
    outline: 2px solid #b91c1c;
    outline-offset: 2px;
}

/* VC_HOME_WHATSAPP_V1 */
#beneficios .vc-benefit-whatsapp {
    position: relative;
    cursor: pointer;
}
#beneficios .vc-benefit-whatsapp a {
    color: inherit;
    text-decoration: none;
}
#beneficios .vc-benefit-whatsapp a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
#beneficios .vc-benefit-whatsapp a:focus-visible::after {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
