/* =====================================================================
   Tienda web "Moderno" — sobre la plantilla Wedo (public/shop-app/css/style.css)
   - Celular (< 992px): la plantilla tal cual. Aquí solo van los colores de la marca y lo mínimo
     para que las fotos reales de productos (con fondo blanco) se vean como las de la plantilla.
   - Escritorio (>= 992px): los mismos componentes extendidos a tienda de PC (bloque al final).
   ===================================================================== */

/* ---------- Variables de la plantilla -> marca ---------- */
body.shop-modern {
    --secondary: var(--brand-dark);
    --primary-hover: var(--brand-primary-dark);
    --primary-dark: var(--brand-primary-dark);
    --primary-light: var(--brand-primary-light);
    --light: var(--brand-primary-soft);
    --text-accent: var(--brand-dark);
    --theme-text-color: var(--brand-on-primary, #fff);
    --m-surface: #f5f6f8;
    --m-muted: #7a8394;
    --m-shadow: 0 10px 30px -18px rgba(var(--brand-dark-rgb), .45);
    background: #fff;
    overflow-x: hidden;
}
body.shop-modern .page-wrapper { overflow-x: clip; }
body.shop-modern a { text-decoration: none; }
body.shop-modern .badge-primary { color: var(--brand-on-primary, #fff); }
body.shop-modern .btn-primary { color: var(--brand-on-primary, #fff); }
body.shop-modern .btn-secondary { background-color: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
body.shop-modern .text-secondary { color: var(--brand-dark) !important; }
body.shop-modern .btn-outline-primary { color: var(--brand-primary); border-color: var(--brand-primary); }
body.shop-modern .btn-outline-primary:hover, body.shop-modern .btn-outline-primary:active { background: var(--brand-primary); color: var(--brand-on-primary, #fff); }
body.shop-modern .text-primary { color: var(--brand-primary) !important; }
body.shop-modern .form-check-input:checked { background-color: var(--brand-primary); border-color: var(--brand-primary); }
body.shop-modern .page-link { color: var(--brand-dark); }
body.shop-modern .page-item.active .page-link { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--brand-on-primary, #fff); }
body.shop-modern .swiper-pagination-bullet-active { background: var(--brand-primary); }
/* Colores fijos de la plantilla (rosado) -> marca */
body.shop-modern .category-area .category-item .media { background: var(--brand-primary-soft); border-color: rgba(var(--brand-primary-rgb), .18); }
body.shop-modern .item-bookmark.active svg path { fill: var(--brand-primary); stroke: var(--brand-primary); }
body.shop-modern .header.transparent .header-content .right-content .item-bookmark.active svg path { stroke: var(--brand-primary); }
.is-fallback { opacity: .35; filter: grayscale(1); object-fit: contain !important; padding: 16%; }
.btn-wa { background: #25d366; color: #fff !important; border: 0; }
.btn-wa:hover { background: #1ebe5b; }

/* ---------- Franja "tienda cerrada" (solo personal) ---------- */
.shop-closed-bar { position: sticky; top: 0; z-index: 100000; background: #0f172a; color: #fff; padding: 9px 16px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.shop-closed-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .25); display: inline-block; }
.shop-closed-bar a { padding: 5px 11px; border-radius: 9px; font-weight: 700; }
.shop-closed-bar .b-light { background: #fff; color: #0f172a; }
.shop-closed-bar .b-brand { background: var(--brand-primary); color: var(--brand-on-primary, #fff); }
body.has-closed-bar .header.header-fixed { top: 0; position: sticky; }
body.has-closed-bar .page-content.space-top { margin-top: 0; }

/* ---------- Anuncio (texto de "Identidad de la empresa") ---------- */
.m-ribbon { background: var(--brand-dark); color: #fff; text-align: center; font-size: 12px; font-weight: 600; padding: 6px 14px; }
@media (max-width: 991.98px) {
    body.shop-modern:not(.has-closed-bar) .m-ribbon { margin-top: 50px; }
    body.shop-modern .m-ribbon + .m-main .page-content.space-top { margin-top: 0; }
}

/* ---------- Cabecera celular (plantilla) ---------- */
body.shop-modern .header .header-content .right-content.dz-meta a { line-height: 1; }
body.shop-modern .header .header-content .right-content a { color: var(--secondary); }
body.shop-modern .header .header-content .right-content .m-fav-link { position: relative; }
body.shop-modern .header .header-content .right-content .m-fav-link .badge { position: absolute; top: -7px; right: -7px; padding: 2px 4px; font-weight: 400; font-size: 10px; }
body.shop-modern .header .header-content .left-content .title { max-width: 62vw; overflow: hidden; text-overflow: ellipsis; }
body.shop-modern .header .header-content .left-content { width: auto; }
body.shop-modern .header .mid-content .title { font-size: 16px; }
body.shop-modern .header .back-btn i { font-size: 22px; color: var(--secondary); }
body.shop-modern .header.transparent .back-btn i { color: #fff; }

/* ---------- Menú lateral (plantilla) ---------- */
body.shop-modern .sidebar .author-box .dz-media { display: flex; align-items: center; justify-content: center; background: var(--brand-primary-soft); color: var(--brand-primary); font-size: 22px; font-weight: 700; font-family: var(--font-family-title); }
body.shop-modern .sidebar .author-box .dz-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
body.shop-modern .sidebar .navbar-nav button.nav-link { display: flex; align-items: center; }
body.shop-modern .sidebar .app-setting a { color: inherit; display: flex; align-items: center; }

/* ---------- Menú inferior (plantilla) ---------- */
body.shop-modern .menubar-area { z-index: 1030; padding-bottom: env(safe-area-inset-bottom); }
.m-main { min-height: 60vh; }
@media (max-width: 991.98px) {
    body.has-menubar .m-main { padding-bottom: 70px; }
    body.has-footer-bar .m-main { padding-bottom: 76px; }
}

/* ---------- Botón flotante WhatsApp (marca, se conserva) ---------- */
.m-wa-float { position: fixed; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 26px; z-index: 1035; box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .8); transition: transform .2s; }
.m-wa-float:hover { transform: scale(1.08); }
body.has-footer-bar .m-wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
body.page-account .m-wa-float { bottom: 18px; }
@media (min-width: 992px) { .m-wa-float, body.has-footer-bar .m-wa-float { bottom: 28px; right: 28px; width: 60px; height: 60px; font-size: 32px; } }

/* ---------- Pantallas completas en offcanvas (buscar / favoritos / mi cuenta / checkout) ---------- */
.m-page-canvas { background: #fff; }
.m-page-canvas.offcanvas-end { width: 100% !important; border-left: 0 !important; }
.m-page-canvas.offcanvas-top { height: 100% !important; border-bottom: 0 !important; }
.m-page-canvas > .header { position: sticky; top: 0; flex-shrink: 0; }
.m-page-canvas .offcanvas-body { padding: 15px 0 90px; }
.m-page-canvas > .footer.fixed { position: absolute; }
.m-page-canvas .header .header-content .right-content i { font-size: 20px; color: var(--secondary); }
.m-page-canvas .header .right-content .shopping-cart { position: relative; }
.m-page-canvas .header .right-content .shopping-cart .badge { position: absolute; top: -7px; right: -7px; padding: 2px 4px; font-weight: 400; font-size: 10px; }
.m-search-canvas .header .header-content { width: 100%; }
.m-search-canvas .search-input { flex: 1; display: flex; flex-wrap: nowrap; }
.m-search-canvas .search-input .search-icon i { color: var(--secondary); font-size: 22px; }
.m-search-canvas .search-input .form-control { height: 48px; font-size: 15px; }
.m-search-canvas .search-input .form-control:focus { box-shadow: none; }

/* ---------- Búsqueda en vivo (resultados) ---------- */
.live-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .35); border: 1px solid var(--border-color); z-index: 1100; max-height: 420px; overflow-y: auto; padding: 12px 14px 4px; }
.live-results[hidden] { display: none; }
.recent-search-list ul { padding: 0; margin: 0; list-style: none; }
.recent-search-list .search-content .sr-img { width: 40px; height: 40px; min-width: 40px; border-radius: 8px; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-right: 10px; }
.recent-search-list .search-content .sr-img img { width: 100%; height: 100%; object-fit: contain; }
.recent-search-list .search-content .sr-txt { min-width: 0; flex: 1; }
.recent-search-list .search-content .sr-txt b { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-search-list .search-content .sr-txt small { color: var(--brand-primary); font-weight: 600; font-size: 12.5px; }
.recent-search-list ul li .search-content > span:not(.sr-img):not(.sr-txt) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px; }
.recent-search-list .sr-all { display: block; text-align: center; padding: 10px; font-weight: 600; color: var(--brand-primary); border: 1px solid var(--brand-primary); border-radius: var(--border-radius); margin-bottom: 10px; }
.recent-search-list .sr-empty { padding: 14px 4px; color: var(--m-muted); }
.m-loading { padding: 30px 0; text-align: center; color: var(--m-muted); }
.m-loading .spinner-border { color: var(--brand-primary); }

/* ---------- Inicio: banner ---------- */
body.shop-modern .dz-banner .swiper-slide .dz-media img { width: 100%; height: auto; display: block; }
body.shop-modern .dz-banner .swiper-pagination { bottom: 6px; }
.dz-banner .sw-nav { display: none; }
.title-bar .sw-arrows { display: none; }
.title-bar .head-r { display: flex; align-items: center; }
body.shop-modern .title-bar .head-r > a { color: var(--body-color); }
/* Diapositiva de la marca cuando no hay banners: mismo tamaño que los banners de la plantilla (800x313) */
.m-brand-slide { position: relative; aspect-ratio: 800 / 313; overflow: hidden; display: flex; align-items: center; background: linear-gradient(115deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%); padding: 0 0 0 18px; }
.m-brand-slide.dark { background: linear-gradient(115deg, var(--brand-dark) 0%, var(--brand-primary-dark) 100%); }
.m-brand-slide.alt { background: linear-gradient(115deg, var(--brand-secondary-dark, var(--brand-dark)) 0%, var(--brand-dark) 100%); }
.m-brand-slide:before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -18%; top: -40%; background: rgba(255, 255, 255, .12); }
.m-brand-slide .bs-txt { position: relative; z-index: 2; width: 56%; color: #fff; }
.m-brand-slide .bs-eyebrow { display: block; font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-brand-slide h2 { color: #fff; font-size: 17px; line-height: 1.15; font-weight: 800; margin: 0 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-brand-slide h2 span { color: var(--brand-secondary-soft, #fff); }
.m-brand-slide p { color: #fff; opacity: .88; font-size: 9.5px; line-height: 1.3; margin: 0 0 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-brand-slide p.bs-price { font-family: var(--font-family-title); font-size: 15px; font-weight: 700; opacity: 1; }
.m-brand-slide p.bs-price del { font-size: 10px; opacity: .7; font-weight: 400; }
.m-brand-slide .bs-btn { display: inline-block; background: #fff; color: var(--brand-dark); font-size: 9px; font-weight: 600; border-radius: 20px; padding: 4px 10px; }
.m-brand-slide .bs-pics { position: relative; z-index: 1; width: 44%; height: 100%; }
.m-brand-slide .bs-pic { position: absolute; background: #fff; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 4px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .45); }
.m-brand-slide .bs-pic img { width: 100%; height: 100%; object-fit: contain; }
.m-brand-slide .bs-pic-0 { width: 52%; aspect-ratio: 1; right: 10%; top: 12%; transform: rotate(6deg); }
.m-brand-slide .bs-pic-1 { width: 42%; aspect-ratio: 1; left: 4%; top: 32%; transform: rotate(-8deg); }
.m-brand-slide .bs-pic-2 { width: 38%; aspect-ratio: 1; right: 4%; bottom: 8%; transform: rotate(-3deg); }
.m-brand-slide .bs-pic-0.single { width: 66%; right: 14%; top: 14%; transform: rotate(-3deg); }
.m-brand-slide .bs-pic-0:only-child:not(.single) { width: 62%; right: 18%; top: 16%; }

/* ---------- Inicio: categorías (foto real dentro del círculo) ---------- */
body.shop-modern .category-area .category-item a { display: block; }
body.shop-modern .category-area .category-item .media { display: flex; align-items: center; justify-content: center; }
body.shop-modern .category-area .category-item .media img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 7px; }
body.shop-modern .category-area .category-item .media.icon i.feather { font-size: 22px; }
body.shop-modern .category-area .category-item span { display: block; margin-top: 6px; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- Inicio: franja de oferta (dz-coming-soon con fondo de marca, como bg2.png) ---------- */
body.shop-modern .dz-coming-soon { min-height: 83px; background: linear-gradient(100deg, var(--brand-dark) 0%, var(--brand-dark) 55%, var(--brand-primary-dark) 140%); position: relative; overflow: hidden; }
body.shop-modern .dz-coming-soon:after { content: ""; position: absolute; right: -40px; top: -60px; width: 170px; height: 170px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .06); }
.m-sale-badge { width: 70px !important; min-width: 70px; height: auto !important; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transform: rotate(-6deg); }
.m-sale-badge b { background: #fff; color: var(--brand-dark); font-family: var(--font-family-title); font-weight: 800; font-size: 15px; padding: 4px 8px 3px; border-radius: 6px; letter-spacing: .02em; }
.m-sale-badge span { background: var(--brand-primary); color: var(--brand-on-primary, #fff); font-family: var(--font-family-title); font-weight: 700; font-size: 11px; padding: 3px 7px; border-radius: 0 0 6px 6px; margin-top: -1px; }
body.shop-modern .dz-coming-soon .offer-content { position: relative; z-index: 1; }
body.shop-modern .dz-coming-soon .offer-content > span { font-size: 14px; }

/* ---------- Tarjetas de producto (shop-card) con fotos reales ---------- */
body.shop-modern .shop-card .dz-media { position: relative; background: #fff; }
body.shop-modern .shop-card .dz-media > a:first-child { display: block; aspect-ratio: 203 / 248; }
body.shop-modern .shop-card .dz-media > a:first-child img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
body.shop-modern .shop-card .dz-content .title a { color: inherit; }
body.shop-modern .shop-card .dz-content .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.shop-modern .shop-card.is-swiper .dz-content .title { -webkit-line-clamp: 1; white-space: nowrap; display: block; text-overflow: ellipsis; }
body.shop-modern .shop-card .price { white-space: nowrap; }
body.shop-modern .shop-card .price del { margin-left: 5px; color: var(--body-color); font-weight: 400; }
body.shop-modern .shop-card .brand-tag { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.shop-modern .shop-card .product-tag .badge { background: var(--brand-primary); }
body.shop-modern .shop-card .dz-review-meta .review i { color: var(--brand-primary); }
body.shop-modern .shop-card .dz-review-meta .review { font-size: 12px; font-weight: 500; color: var(--body-color); }
.btn-cart { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; border: 0; background: var(--rgba-primary-1); color: var(--brand-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: .2s; }
.btn-cart:hover { background: var(--brand-primary); color: var(--brand-on-primary, #fff); }
.btn-cart:disabled { opacity: .5; }
.btn-cart .lbl { display: none; }
body.shop-modern .product-swiper .swiper-slide { height: auto; }

/* ---------- Inicio: 3 tarjetas (product-offer / shop-card style-3) ---------- */
body.shop-modern .product-offer .shop-card.style-3 .dz-media { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--brand-primary-soft); }
body.shop-modern .product-offer .col-4:nth-child(2) .shop-card.style-3 .dz-media { background: var(--brand-secondary-soft, var(--brand-primary-soft)); }
body.shop-modern .product-offer .shop-card.style-3 .dz-media img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; }
body.shop-modern .product-offer .shop-card.style-3 .offer { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ph { width: 54%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--brand-primary); font-size: 26px; }

/* ---------- Inicio: lista (product-items-list) ---------- */
body.shop-modern .product-items-list > ul { padding: 0; margin: 0; list-style: none; }
body.shop-modern .product-items-list .product-items .media { border-radius: var(--border-radius-sm); }
body.shop-modern .product-items-list .product-items .media img { width: 100%; height: 100%; object-fit: contain; }
body.shop-modern .product-items-list .product-items .m-pi-link { min-width: 0; flex: 1; padding-right: 50px; }
body.shop-modern .product-items-list .product-items .product-content .title { color: var(--title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.shop-modern .product-items-list .product-items .product-content .desc { color: var(--brand-primary); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.shop-modern .product-items-list .product-items .product-footer .offer { color: #3C8A4C; margin-right: 6px; }
body.shop-modern .product-items-list .product-items .product-footer .price del { margin: 0 4px 0 0; color: var(--body-color); font-weight: 400; }
body.shop-modern .product-items-list .product-items .dz-icon { color: var(--brand-primary); font-size: 18px; }

/* ---------- Inicio: recién llegados (top-selection) ---------- */
body.shop-modern .top-selection { background-color: var(--brand-dark); }
body.shop-modern .top-selection .title-bar > a { color: #fff; }
body.shop-modern .top-selection .shop-card .dz-media > a:first-child { aspect-ratio: 1; }
body.shop-modern .top-selection .shop-card .dz-content .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
body.shop-modern .top-selection .shop-card .offer { font-size: 13px; color: var(--body-color); }

/* ---------- Catálogo ---------- */
body.shop-modern .filter-swiper { position: sticky; top: 50px; z-index: 5; }
body.has-closed-bar .filter-swiper { position: relative; top: 0; }
body.shop-modern .filter-swiper .swiper-slide:last-child { margin-right: 15px; }
body.shop-modern .filter-btn.active { border-color: var(--brand-primary); color: var(--brand-primary); }
.m-grid { margin-top: 0; }
.m-empty { background: #fff; border-radius: var(--border-radius); border: 1px solid var(--border-color); padding: 34px 18px; text-align: center; }
.m-empty .ic { width: 76px; height: 76px; border-radius: 50%; background: var(--brand-primary-soft); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 30px; }
.m-pagination .pagination { justify-content: center; flex-wrap: wrap; gap: 4px; }
.m-pagination .page-link { border-radius: var(--border-radius-sm) !important; min-width: 36px; text-align: center; }
.m-pagination nav > .d-flex.justify-content-between.flex-fill { display: none !important; }
.m-pagination nav .d-sm-flex { display: flex !important; flex-direction: column; align-items: center; gap: 8px; }
.m-pagination nav p.small { display: none; }
.dz-filter-canvas.offcanvas-bottom { height: auto; max-height: 80vh; }
.dz-filter-canvas .form-check { display: flex; align-items: center; }
.dz-filter-canvas .form-check .form-check-label { flex: 1; color: var(--title); }
/* Todas las categorías (category.html: dz-category-card style-2 card-light) */
body.shop-modern .dz-category-card { isolation: isolate; }
body.shop-modern .dz-category-card .banner-bg { background: linear-gradient(110deg, var(--brand-primary-soft) 0%, var(--brand-primary-soft) 38%, var(--brand-primary) 38.2%, var(--brand-primary-dark) 100%); }
body.shop-modern .dz-category-card.alt .banner-bg { background: linear-gradient(110deg, var(--brand-primary-soft) 0%, var(--brand-primary-soft) 38%, var(--brand-dark) 38.2%, var(--brand-dark) 100%); }
body.shop-modern .dz-category-card .cc-pic { position: absolute; left: 0; top: 0; width: 38%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 14px; }
body.shop-modern .dz-category-card .cc-pic img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
body.shop-modern .dz-category-card .cc-pic i { font-size: 46px; color: var(--brand-primary); }
body.shop-modern .dz-category-card .category-content .title { font-size: 20px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.shop-modern .dz-category-card .category-content .shop-btn .btn-primary { background: #fff; border-color: #fff; color: var(--brand-dark); }

/* ---------- Ficha de producto (product-detail.html) ---------- */
body.shop-modern .dz-product-preview .product-detail-swiper .swiper-slide { width: 100%; }
body.shop-modern .dz-product-preview .dz-media { aspect-ratio: 756 / 694; background: #fff; display: flex; align-items: center; justify-content: center; }
body.shop-modern .dz-product-preview .dz-media img { width: 100%; height: 100%; object-fit: contain; padding: 54px 22px 26px; }
body.shop-modern .dz-product-preview .product-detail-swiper .swiper-slide .dz-media:after { height: 30%; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent); }
body.shop-modern .dz-product-preview .product-detail-swiper .swiper-pagination .swiper-pagination-bullet { border-color: var(--border-color); }
body.shop-modern .dz-product-preview .product-detail-swiper .swiper-pagination .swiper-pagination-bullet-active { background: var(--brand-primary); border-color: var(--brand-primary); }
body.shop-modern .dz-product-preview .product-tag { position: absolute; left: 15px; bottom: 12px; z-index: 3; }
body.shop-modern .dz-product-preview .product-tag .badge { padding: 4px 9px; font-size: 12px; }
body.shop-modern .dz-product-detail .detail-content .brand-tag { color: var(--brand-primary); }
body.shop-modern .dz-product-detail .dz-review-meta .review i { color: var(--brand-primary); font-size: 14px; }
body.shop-modern .dz-product-detail .title-sm { color: var(--title); font-weight: 600; }
body.shop-modern .dz-product-detail .list-group .list-group-item span:last-child { text-align: right; }
body.shop-modern .total-cart .price del { font-size: 14px; color: var(--body-color); font-weight: 400; margin-left: 6px; }
body.shop-modern .dz-stepper .bootstrap-touchspin .form-control { text-align: center; }
body.shop-modern .dz-stepper .bootstrap-touchspin .input-group-btn .btn { display: flex; align-items: center; justify-content: center; line-height: 1; }

/* ---------- Carrito (cart.html) ---------- */
body.shop-modern .user-status .media { background: var(--brand-primary-soft); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
body.shop-modern .cart-box .dz-media { aspect-ratio: 70 / 82; border-radius: var(--border-radius); overflow: hidden; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; }
body.shop-modern .cart-box .dz-media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
body.shop-modern .cart-box .cart-content { min-width: 0; padding-right: 18px; }
body.shop-modern .cart-box .cart-content .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.shop-modern .cart-box .cart-content .title a { color: inherit; }
body.shop-modern .cart-box .price { white-space: nowrap; }
body.shop-modern .cart-box .remove-item { position: absolute; top: 12px; right: 10px; border: 0; background: none; color: #a3a3a3; padding: 0; font-size: 16px; line-height: 1; }
body.shop-modern .cart-box .remove-item:hover { color: var(--brand-primary); }
body.shop-modern .dz-stepper.is-busy { opacity: .5; pointer-events: none; }
body.shop-modern .coupon-bx .icon-right { display: flex; align-items: center; justify-content: center; height: 100%; }
body.shop-modern .view-cart ul { padding: 0; margin: 0; list-style: none; }
body.shop-modern .view-cart ul li.hidden { display: none; }
body.shop-modern .view-cart ul li.disc span, body.shop-modern .view-cart ul li.pts span { color: #3C8A4C; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 4px; }
.cart-actions a, .cart-actions button { font-size: 13px; font-weight: 600; background: none; border: 0; color: var(--brand-dark); display: inline-flex; align-items: center; gap: 6px; padding: 0; }
.cart-actions button { color: var(--m-muted); }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; font-size: 11px; color: var(--m-muted); align-items: center; }
.pay-methods .pm { border: 1px solid var(--border-color); border-radius: 7px; padding: 3px 8px; font-weight: 600; color: var(--brand-dark); background: #fff; }
/* Checkout (checkout.html) */
.m-checkout .confirm-address .form-check { margin: 0; }
.m-checkout .confirm-address .form-check .form-check-label { cursor: pointer; }
.m-checkout .confirm-address .form-check .form-check-input:checked + .form-check-label { border-color: var(--brand-primary); color: var(--brand-primary); background: var(--brand-primary-soft); }
.m-checkout .m-store-list .form-check { position: relative; padding: 0; margin-bottom: 8px; }
.m-checkout .m-store-list .form-check-input { position: absolute; opacity: 0; }
.m-checkout .m-store-list .form-check-label { display: block; border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 10px 12px; cursor: pointer; }
.m-checkout .m-store-list .form-check-label b { display: block; color: var(--title); font-weight: 600; font-size: 14px; }
.m-checkout .m-store-list .form-check-label small { color: var(--body-color); font-size: 12px; }
.m-checkout .m-store-list .form-check-input:checked + .form-check-label { border-color: var(--brand-primary); background: var(--brand-primary-soft); }
.m-checkout .map-box { border-radius: var(--border-radius); overflow: hidden; border: 1px solid var(--border-color); height: 160px; }
.m-checkout .map-box iframe { width: 100%; height: 100%; border: 0; }
.m-checkout > .footer.fixed { background: #fff; }

/* ---------- Ingresar / registrarme (login.html / register.html) ---------- */
body.shop-modern .account-box .logo-area img { max-height: 70px; width: auto; max-width: 180px; object-fit: contain; }
body.shop-modern .account-box .section-head p { text-transform: none; }
.acc-tabs { display: flex; background: var(--m-surface); border-radius: 14px; padding: 4px; margin-bottom: 18px; }
.acc-tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 11px; font-weight: 600; font-family: var(--font-family-title); color: var(--m-muted); font-size: 14px; }
.acc-tabs button.active { background: #fff; color: var(--brand-primary); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4); }
.acc-pane[hidden] { display: none !important; }
body.shop-modern .input-group-icon .show-pass { cursor: pointer; }
body.shop-modern .show-pass .eye-open { display: none; }
body.shop-modern .show-pass.active .eye-open { display: inline; }
body.shop-modern .show-pass.active .eye-close { display: none; }
.acc-errors { background: #fef2f2; color: #b91c1c; border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.acc-errors ul { margin: 0; padding-left: 18px; }
.acc-brand { background: linear-gradient(140deg, var(--brand-primary), var(--brand-primary-dark)); color: #fff; padding: 22px; position: relative; overflow: hidden; }
.acc-brand h3 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.acc-brand ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.acc-brand li { display: flex; gap: 12px; align-items: flex-start; }
.acc-brand li .ic { width: 38px; height: 38px; min-width: 38px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; }
.acc-brand li b { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.acc-brand li span { font-size: 12.5px; opacity: .85; }
.acc-brand .deco { position: absolute; right: -30px; bottom: -40px; font-size: 180px; opacity: .08; }

/* ---------- Mi cuenta (profile.html) y favoritos (wishlist.html) ---------- */
.m-profile-canvas .profile-area .main-profile .media { background: var(--brand-primary-soft); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; font-family: var(--font-family-title); }
.m-profile-canvas .content-box ul { padding: 0; margin: 0; list-style: none; }
.m-profile-canvas .content-box span small { font-weight: 400; font-size: 11px; color: var(--body-color); }
.m-profile-canvas .dz-list ul { padding: 0; margin: 0; list-style: none; }
.m-profile-canvas .dz-list button.item-content { color: inherit; }
.hist-item { border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 10px 12px; margin-bottom: 8px; }
.hist-item .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--body-color); gap: 8px; }
.hist-item .tot { font-weight: 600; color: var(--title); font-size: 15px; margin-top: 2px; }
.hist-item .st { color: #3C8A4C; font-weight: 600; }
.m-fav-canvas .shop-card.list { position: relative; padding-right: 44px; height: auto; }
.m-fav-canvas .shop-card.list .dz-media { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); }
.m-fav-canvas .shop-card.list .dz-media > a:first-child { display: block; width: 100%; height: 100%; aspect-ratio: auto; }
.m-fav-canvas .shop-card.list .dz-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.m-fav-canvas .shop-card.list .item-bookmark { top: 6px; right: 6px; }
.m-fav-canvas .shop-card.list .dz-content { min-width: 0; }
.m-fav-canvas .shop-card.list .btn-cart { position: absolute; right: 10px; bottom: 10px; }

/* ---------- Mini carrito (escritorio) ---------- */
.m-canvas { --bs-offcanvas-width: 420px; }
.m-canvas.offcanvas-end { width: min(420px, 100vw) !important; max-width: 100vw; }
.m-canvas .offcanvas-header { border-bottom: 1px solid var(--border-color); padding: 14px 18px; }
.m-canvas .offcanvas-header h5 { font-size: 16px; margin: 0; display: flex; align-items: center; gap: 8px; }
.m-canvas .offcanvas-header h5 i { color: var(--brand-primary); }
.m-canvas .offcanvas-header small { display: block; font-size: 11px; color: var(--m-muted); text-transform: uppercase; letter-spacing: .06em; }
.m-canvas .btn-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--m-surface); font-size: 18px; color: var(--brand-dark); display: flex; align-items: center; justify-content: center; }
.m-canvas .offcanvas-body { padding: 0 18px; }
.m-canvas .cart-box { margin: 0; padding: 14px 0; }
.m-canvas .cart-box .dz-media { width: 60px; min-width: 60px; height: 60px; aspect-ratio: auto; }
.m-canvas .canvas-foot { padding: 16px 18px; border-top: 1px solid var(--border-color); background: var(--m-surface); }
.m-canvas .canvas-foot .tot { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.m-canvas .canvas-foot .tot b { font-size: 21px; color: var(--brand-dark); font-family: var(--font-family-title); }
.m-canvas .more { text-align: center; font-size: 12px; color: var(--m-muted); padding: 10px 0; }
.m-canvas .empty { padding: 50px 10px; text-align: center; color: var(--m-muted); }
.m-canvas .empty i { font-size: 46px; color: #d5dae2; display: block; margin-bottom: 10px; }

/* ---------- Anuncio emergente ---------- */
.m-announce .modal-content { border-radius: 22px; overflow: hidden; border: 0; }
.m-announce .modal-content img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; }
.m-announce .btn-close-ann { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; }

/* ---------- Ventanas de ingreso (SweetAlert) ---------- */
.swal2-popup.m-auth-swal { border-radius: 18px; }

/* =====================================================================
   ESCRITORIO (>= 992px): tienda de PC con los componentes de la plantilla
   ===================================================================== */
@media (min-width: 992px) {
    body.shop-modern { background: var(--m-surface); font-size: 14.5px; }
    body.shop-modern .container { max-width: 1280px; padding-left: 24px; padding-right: 24px; }
    body.shop-modern .page-content.space-top { margin-top: 0; }
    body.shop-modern .page-content { padding-bottom: 0 !important; }
    .m-main { padding-top: 22px; }
    .m-page-canvas.offcanvas-end { width: 440px !important; }
    .m-page-canvas.offcanvas-top { height: auto !important; max-height: 80vh; width: 640px; left: 50%; transform: translate(-50%, -100%); border-radius: 0 0 20px 20px; }
    .m-page-canvas.offcanvas-top.show, .m-page-canvas.offcanvas-top.showing { transform: translate(-50%, 0); }
    .m-page-canvas.offcanvas-top > .footer { display: none; }

    /* Cabecera */
    .dsk-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 8px 26px -22px rgba(0, 0, 0, .5); }
    body.has-closed-bar .dsk-header { top: 40px; }
    .dsk-topbar { background: var(--brand-primary); color: var(--brand-on-primary, #fff); font-size: 12px; font-weight: 600; }
    .dsk-topbar .container { padding-top: 6px; padding-bottom: 6px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
    .dsk-topbar a, .dsk-topbar span { color: inherit; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
    .dsk-topbar .tb-left, .dsk-topbar .tb-right { display: flex; align-items: center; gap: 18px; min-width: 0; overflow: hidden; }
    .dsk-topbar .tb-left span { overflow: hidden; text-overflow: ellipsis; }
    .dsk-topbar .tb-social { display: flex; gap: 12px; font-size: 14px; }
    .dsk-mainbar .container { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
    .dsk-logo img { height: 52px; width: auto; max-width: 190px; object-fit: contain; display: block; }
    .dsk-search { flex: 1; position: relative; max-width: 640px; }
    .dsk-search form { display: flex; align-items: center; background: var(--m-surface); border: 2px solid transparent; border-radius: var(--border-radius-md); padding: 4px 4px 4px 18px; transition: .2s; }
    .dsk-search form:focus-within { border-color: var(--brand-primary); background: #fff; }
    .dsk-search i.lead-ic { color: var(--m-muted); font-size: 18px; }
    .dsk-search input { flex: 1; border: 0; background: transparent; height: 42px; padding: 0 12px; font-size: 14.5px; color: var(--brand-dark); outline: none; min-width: 0; }
    .dsk-search button { border: 0; background: var(--brand-primary); color: var(--brand-on-primary, #fff); height: 42px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-family: var(--font-family-title); font-size: 14px; }
    .dsk-search button:hover { background: var(--brand-primary-dark); }
    .dsk-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
    .dsk-action { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--brand-dark); background: none; border: 0; text-align: left; transition: background .2s; }
    .dsk-action:hover { background: var(--brand-primary-soft); color: var(--brand-dark); }
    .dsk-action .ic { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--secondary); }
    .dsk-action .ic .badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; border-radius: 10px; font-size: 10.5px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; padding: 0 4px; }
    .dsk-action small { display: block; font-size: 11px; color: var(--m-muted); line-height: 1.1; }
    .dsk-action b { display: block; font-size: 13.5px; font-family: var(--font-family-title); font-weight: 600; line-height: 1.25; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dsk-catnav { border-top: 1px solid var(--border-color); }
    .dsk-catnav .container { display: flex; align-items: center; gap: 4px; padding-top: 0; padding-bottom: 0; overflow-x: auto; scrollbar-width: none; }
    .dsk-catnav .container::-webkit-scrollbar { display: none; }
    .dsk-catnav a { white-space: nowrap; padding: 12px 14px; font-size: 13.5px; font-weight: 500; font-family: var(--font-family-title); color: var(--title); border-bottom: 3px solid transparent; display: inline-flex; align-items: center; gap: 7px; }
    .dsk-catnav a:hover, .dsk-catnav a.active { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }
    .dsk-catnav a.cat-all { background: var(--brand-primary); color: var(--brand-on-primary, #fff); border-radius: var(--border-radius-sm); padding: 8px 14px; margin-right: 8px; border: 0; }
    .dsk-catnav a.cat-offer { margin-left: auto; color: var(--brand-primary); }

    /* Bloques del inicio como tarjetas */
    body.shop-modern .dz-banner { margin: 0 0 20px; border-radius: 22px; overflow: hidden; }
    .dz-banner .sw-nav { display: flex; position: absolute; z-index: 5; right: 22px; bottom: 16px; gap: 8px; }
    .m-brand-slide { aspect-ratio: auto; height: 380px; padding: 0 0 0 64px; }
    .m-brand-slide .bs-txt { width: 52%; }
    .m-brand-slide .bs-eyebrow { font-size: 13px; margin-bottom: 8px; }
    .m-brand-slide h2 { font-size: 42px; margin-bottom: 12px; }
    .m-brand-slide p { font-size: 16px; margin-bottom: 18px; }
    .m-brand-slide p.bs-price { font-size: 36px; }
    .m-brand-slide p.bs-price del { font-size: 18px; }
    .m-brand-slide .bs-btn { font-size: 14px; padding: 11px 24px; border-radius: 14px; }
    .m-brand-slide .bs-pics { width: 40%; }
    .m-brand-slide .bs-pic { border-radius: 22px; padding: 10px; }
    .m-brand-slide .bs-pic-0 { width: 48%; }
    .m-brand-slide .bs-pic-1 { width: 38%; }
    .m-brand-slide .bs-pic-2 { width: 34%; }
    .m-brand-slide .bs-pic-0.single, .m-brand-slide .bs-pic-0:only-child:not(.single) { width: 56%; }
    .sw-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-color); background: #fff; color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: .2s; }
    .sw-arrow:hover { background: var(--brand-primary); color: var(--brand-on-primary, #fff); border-color: var(--brand-primary); }
    .sw-arrow.swiper-button-disabled { opacity: .35; pointer-events: none; }
    .title-bar .sw-arrows { display: flex; gap: 8px; }
    .title-bar .head-r { display: flex; align-items: center; gap: 16px; }

    body.shop-modern .category-area, body.shop-modern .m-block, body.shop-modern .product-offer, body.shop-modern .top-selection, .m-section { margin: 0 0 20px; border-radius: 22px; padding: 6px 26px 24px; border: 1px solid var(--border-color); background: #fff; }
    body.shop-modern .category-area { padding-top: 20px; }
    body.shop-modern .category-area .category-item.col-3 { width: 12.5%; }
    body.shop-modern .category-area .category-item .media.media-55 { width: 88px; min-width: 88px; height: 88px; }
    body.shop-modern .category-area .category-item .media.icon i.feather { font-size: 30px; }
    body.shop-modern .category-area .category-item span { font-size: 13.5px; margin-top: 10px; }
    body.shop-modern .title-bar { margin-top: 18px; margin-bottom: 16px; }
    body.shop-modern .title-bar .title { font-size: 22px; font-weight: 700; }
    body.shop-modern .title-bar > a, .title-bar .head-r > a { color: var(--brand-primary); font-weight: 600; }

    body.shop-modern .dz-coming-soon { margin: 0 0 20px; border-radius: 22px; padding: 14px 34px; min-height: 104px; }
    body.shop-modern .dz-coming-soon .offer-content { display: flex; align-items: center; gap: 24px; }
    body.shop-modern .dz-coming-soon .offer-content > span { font-size: 20px; font-weight: 600; font-family: var(--font-family-title); }
    body.shop-modern .dz-coming-soon .countdown-timer .countdown .date .time { font-size: 26px; font-weight: 700; }
    body.shop-modern .dz-coming-soon .countdown-timer .countdown .date .text { font-size: 14px; margin-left: 4px; }
    .m-sale-badge { width: 100px !important; min-width: 100px; }
    .m-sale-badge b { font-size: 22px; }
    .m-sale-badge span { font-size: 15px; }

    body.shop-modern .product-swiper { margin: 0; padding: 2px; border: 0; }
    body.shop-modern .shop-card { border-radius: var(--border-radius); transition: box-shadow .25s, border-color .25s; }
    body.shop-modern .shop-card:hover { box-shadow: var(--m-shadow); border-color: rgba(var(--brand-primary-rgb), .35); }
    body.shop-modern .shop-card .dz-content { padding: 12px 14px 14px; }
    body.shop-modern .shop-card .dz-content .title { font-size: 14.5px; }
    body.shop-modern .shop-card.is-swiper .dz-content .title { font-size: 14px !important; }
    body.shop-modern .shop-card .price { font-size: 17px; }
    body.shop-modern .shop-card .dz-media > a:first-child { aspect-ratio: 1; }
    .btn-cart { width: auto; padding: 0 14px; height: 36px; border-radius: 10px; gap: 6px; background: var(--brand-primary); color: var(--brand-on-primary, #fff); }
    .btn-cart:hover { background: var(--brand-primary-dark); }
    .btn-cart .lbl { display: inline; font-size: 13px; font-weight: 600; font-family: var(--font-family-title); }

    body.shop-modern .product-offer { padding: 24px 26px; }
    body.shop-modern .product-offer .row { --bs-gutter-x: 22px; }
    body.shop-modern .product-offer .shop-card.style-3 { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 18px; }
    body.shop-modern .product-offer .shop-card.style-3 .dz-media { width: 110px; min-width: 110px; border-radius: 14px; }
    body.shop-modern .product-offer .shop-card.style-3 .dz-content { text-align: left; padding: 0; }
    body.shop-modern .product-offer .shop-card.style-3 .offer { font-size: 17px; color: var(--title); font-weight: 600; font-family: var(--font-family-title); white-space: normal; }
    body.shop-modern .product-offer .shop-card.style-3 .dz-content .title { font-size: 13px; color: var(--brand-primary); }

    body.shop-modern .product-items-list > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
    body.shop-modern .product-items-list > ul li { margin: 0; border: 1px solid var(--border-color); border-radius: 16px; padding: 12px; }
    body.shop-modern .product-items-list > ul li:hover { box-shadow: var(--m-shadow); }
    body.shop-modern .product-items-list .product-items .dz-icon { top: 50%; bottom: auto; transform: translateY(-50%); }

    body.shop-modern .top-selection { border: 0; padding-top: 10px; background: var(--brand-dark); }
    body.shop-modern .top-selection .shop-card .dz-media > a:first-child { aspect-ratio: 4 / 3; }
    body.shop-modern .top-selection .title-bar { margin-top: 12px; }
    body.shop-modern .top-selection .title-bar > a { display: inline-flex; align-items: center; color: #fff; opacity: .85; }

    .m-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
    .m-trust .t-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 16px 18px; }
    .m-trust .t-ic { width: 46px; height: 46px; min-width: 46px; border-radius: 14px; background: var(--brand-primary-soft); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; font-size: 20px; }
    .m-trust b { display: block; font-size: 14.5px; color: var(--title); font-family: var(--font-family-title); font-weight: 600; line-height: 1.2; }
    .m-trust span { display: block; font-size: 12.5px; color: var(--m-muted); line-height: 1.25; }
    .m-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .m-step { display: flex; flex-direction: column; text-align: center; align-items: center; gap: 12px; border: 1px solid var(--border-color); border-radius: 20px; padding: 22px; }
    .m-step .n { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-primary-soft); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; position: relative; }
    .m-step .n b { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-primary); color: var(--brand-on-primary, #fff); font-size: 11px; display: flex; align-items: center; justify-content: center; }
    .m-step h6 { font-size: 16px; margin-bottom: 4px; }
    .m-step p { font-size: 13px; margin: 0; color: var(--m-muted); }
    .m-club { border-radius: 22px; background: linear-gradient(120deg, var(--brand-dark), var(--brand-primary-dark)); color: #fff; padding: 40px 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
    .m-club h3 { color: #fff; font-size: 30px; margin-bottom: 6px; }
    .m-club p { color: rgba(255, 255, 255, .85); font-size: 15px; max-width: 540px; margin: 0; }
    .m-club .btn-light { background: #fff; color: var(--brand-dark); border: 0; }
    .m-club .club-card { background: #fff; color: var(--brand-dark); border-radius: 18px; padding: 22px 24px; width: 100%; max-width: 320px; transform: rotate(-3deg); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
    .m-club .club-card .k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--m-muted); font-weight: 700; }
    .m-club .club-card .v { font-family: var(--font-family-title); font-size: 34px; font-weight: 700; color: var(--brand-dark); }
    .m-club .club-card .v small { font-size: 12px; color: var(--brand-primary); }
    .m-cta { border-radius: 22px; background: var(--brand-primary); color: var(--brand-on-primary, #fff); padding: 34px 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; position: relative; overflow: hidden; }
    .m-cta:after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); right: -60px; top: -80px; }
    .m-cta h3 { color: inherit; font-size: 26px; margin-bottom: 4px; }
    .m-cta p { margin: 0; color: inherit; opacity: .9; }
    .m-cta .btns { display: flex; gap: 8px; position: relative; z-index: 1; }
    .btn-white { background: #fff; color: var(--brand-dark) !important; border: 0; }

    /* Catálogo */
    .cat-head { background: #fff; margin: 0 0 18px; border-radius: 22px; border: 1px solid var(--border-color); padding: 22px 26px; align-items: center; gap: 16px; }
    .cat-head .ic { width: 60px; height: 60px; min-width: 60px; border-radius: 50%; background: var(--brand-primary-soft); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; font-size: 24px; }
    .cat-head h1 { font-size: 26px; margin: 0; }
    .cat-head p { margin: 0; font-size: 14px; color: var(--m-muted); }
    .cat-toolbar { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 10px 16px; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
    .cat-toolbar .count { font-size: 13px; color: var(--m-muted); }
    .cat-toolbar .count b { color: var(--brand-primary); }
    .cat-toolbar .form-select { height: 40px; border-radius: 10px; font-size: 13px; width: auto; min-width: 190px; }
    .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-primary-soft); color: var(--brand-primary-dark); border-radius: 30px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
    .chip a { color: inherit; }
    .cat-side { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 16px; position: sticky; top: 160px; max-height: calc(100vh - 180px); overflow-y: auto; scrollbar-width: thin; }
    .cat-side h6 { font-size: 15px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
    .cat-side .cat-list { list-style: none; padding: 0; margin: 0 0 16px; }
    .cat-side .cat-list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 9px; font-size: 13px; color: var(--title); }
    .cat-side .cat-list a span:last-child { color: var(--m-muted); font-size: 11.5px; }
    .cat-side .cat-list a:hover { background: var(--m-surface); }
    .cat-side .cat-list a.active { background: var(--brand-primary-soft); color: var(--brand-primary); font-weight: 600; }
    .cat-side .form-control { height: 42px; }
    .m-grid > .col-6 { width: auto; flex: 0 0 auto; }
    .row-cols-md-3 > .col-6 { width: 33.333%; }
    .row-cols-xl-4 > .col-6 { width: 33.333%; }
    body.shop-modern .dz-category-card .category-content { height: 190px; padding: 24px; }
    body.shop-modern .dz-category-card .category-content .title { font-size: 24px; }

    /* Producto */
    .pd-wrap { background: #fff; border-radius: 26px; border: 1px solid var(--border-color); overflow: hidden; margin-bottom: 22px; }
    body.shop-modern .dz-product-preview { height: 100%; border-right: 1px solid var(--border-color); }
    body.shop-modern .dz-product-preview .product-detail-swiper .swiper-slide { width: 100%; }
body.shop-modern .dz-product-preview .dz-media { aspect-ratio: 1; }
    body.shop-modern .dz-product-preview .dz-media img { padding: 48px; }
    body.shop-modern .dz-product-preview .product-detail-swiper .swiper-slide .dz-media:after { display: none; }
    body.shop-modern .dz-product-preview .product-tag { left: 24px; top: 24px; bottom: auto; }
    body.shop-modern .pd-wrap .dz-product-detail { padding: 34px 20px 30px; }
    body.shop-modern .pd-wrap .dz-product-detail .detail-content h6 { font-size: 28px; line-height: 1.25; }
    .pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
    .pd-price .now { font-family: var(--font-family-title); font-size: 38px; font-weight: 700; color: var(--brand-primary); line-height: 1; }
    .pd-price del { color: var(--m-muted); font-size: 16px; }
    .pd-price .save { background: var(--brand-primary-soft); color: var(--brand-primary-dark); font-size: 12px; font-weight: 600; border-radius: 20px; padding: 3px 10px; }
    .pd-note { font-size: 12px; color: var(--m-muted); margin-top: 4px; }
    .pd-desk .btn { height: 52px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
    .pd-desk .pd-fav { width: 52px; flex: 0 0 52px; padding: 0; }
    .pd-desk .pd-fav svg path { stroke: var(--brand-primary); }
    .pd-desk .pd-fav:hover svg path { stroke: #fff; }
    .pd-desk + .divider { margin-top: 20px; }

    /* Carrito */
    .cart-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
    .cart-list { background: #fff; border-radius: 22px; border: 1px solid var(--border-color); padding: 4px 24px 10px; }
    body.shop-modern .cart-list .cart-box { margin: 0 -24px; padding: 18px 24px; }
    body.shop-modern .cart-list .cart-box .dz-media { width: 90px; min-width: 90px; }
    body.shop-modern .cart-list .cart-box .remove-item { top: 18px; right: 24px; }
    body.shop-modern .user-status { background: #fff; border-radius: 16px; border: 1px solid var(--border-color); padding: 14px 18px; }
    .cart-side { position: sticky; top: 170px; }
    body.shop-modern .cart-side .view-cart { background: #fff; border-radius: 22px; padding: 22px; border: 1px solid var(--border-color); }
    body.shop-modern .cart-side .view-cart .v-title { font-size: 16px; margin-bottom: 12px; }
    body.shop-modern .coupon-bx { max-width: 480px; }

    /* Cuenta */
    .acc-wrap { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--border-color); max-width: 1020px; margin: 10px auto 30px; }
    .acc-brand { padding: 54px 48px; flex-direction: column; justify-content: center; }
    .acc-brand h3 { font-size: 32px; margin-bottom: 26px; }
    .acc-brand li b { font-size: 16px; }
    .acc-brand li span { font-size: 14px; }
    body.shop-modern .account-box { padding: 30px 46px 36px; min-height: 0; }
    body.shop-modern .account-box > .container { padding: 0; }

    /* Pie (solo escritorio) */
    .site-footer { background: var(--brand-dark); color: rgba(255, 255, 255, .72); margin-top: 30px; font-size: 13px; }
    .site-footer .container { padding-top: 50px; padding-bottom: 18px; }
    .site-footer h6 { color: #fff; font-size: 14px; margin-bottom: 12px; }
    .site-footer a { color: rgba(255, 255, 255, .72); }
    .site-footer a:hover { color: #fff; }
    .site-footer .f-logo { background: #fff; border-radius: 14px; padding: 8px 12px; display: inline-flex; margin-bottom: 12px; }
    .site-footer .f-logo img { height: 42px; width: auto; max-width: 160px; object-fit: contain; }
    .site-footer .f-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
    .site-footer .f-list li { display: flex; gap: 9px; align-items: flex-start; }
    .site-footer .f-list i { color: var(--brand-primary); margin-top: 3px; width: 15px; text-align: center; }
    .site-footer .f-social { display: flex; gap: 8px; margin-top: 14px; }
    .site-footer .f-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; color: #fff; }
    .site-footer .f-social a:hover { background: var(--brand-primary); }
    .site-footer .f-map { border-radius: 14px; overflow: hidden; height: 150px; margin-top: 12px; background: rgba(255, 255, 255, .06); }
    .site-footer .f-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
    .site-footer .f-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 22px; padding-top: 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12px; }
    .site-footer .f-bottom .pm { border: 1px solid rgba(255, 255, 255, .18); border-radius: 7px; padding: 3px 8px; font-weight: 700; color: #fff; font-size: 11px; display: inline-flex; gap: 5px; align-items: center; }
    .site-footer .f-staff { opacity: .55; font-size: 11.5px; }
}
@media (min-width: 1200px) {
    body.shop-modern .product-items-list > ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .row-cols-xl-4 > .col-6 { width: 25%; }
}
/* Tableta (768–991): la app de celular con más columnas */
@media (min-width: 768px) and (max-width: 991.98px) {
    body.shop-modern .category-area .category-item.col-3 { width: 12.5%; }
    .row-cols-md-3 > .col-6 { width: 33.333%; }
}
body.page-account .m-wa-float { display: none; } @media (min-width: 992px) { body.page-account .m-wa-float { display: flex; } }
.dz-list > ul > li .item-link:after { font-weight: 900; color: var(--title); }
body.shop-modern .dz-category-card .category-content .shop-btn .btn-secondary { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--brand-on-primary, #fff); }
.m-checkout .m-store-list .form-check { display: block; } .m-checkout .m-store-list .form-check-label { width: 100%; }
@media (min-width: 768px) and (max-width: 991.98px) { body.shop-modern .product-offer .shop-card.style-3 .dz-media { aspect-ratio: 16 / 9; } }
