/* ============================================================
   TopoApp — Tienda pública: catálogo a lo ancho, filtros y pie de página
   (se carga después de topoapp.css; los colores salen del tema del catálogo)
   ============================================================ */

/* ── Tarjetas: nombre como enlace, oferta y nuevo ─────────── */
.pc { cursor: pointer; }
a.pc-nombre { color: #111; text-decoration: none; }
a.pc-nombre:hover { color: var(--catalog-primary-deep, #c2410c); }
.pc .pc-precio--oferta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; color: #dc2626; }
.pc-precio-antes { font-size: .68rem; font-weight: 600; color: #9ca3af; letter-spacing: 0; }
.pc-badge--oferta { top: 7px; left: 7px; background: #dc2626; color: #fff; font-size: .66rem; }
.pc-badge--nuevo { top: 7px; left: 7px; background: #111827; color: #fff; }

/* ── Estructura del catálogo: filtros + productos ────────── */
.tienda-shop { position: relative; scroll-margin-top: 80px; }
.tienda-shop-main { min-width: 0; }

.tienda-filtros-abrir {
    display: inline-flex; align-items: center; gap: 6px;
    height: 38px; padding: 0 12px;
    border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
    font-size: .8rem; font-weight: 700; color: #1f2937;
}
.tienda-filtros-abrir i { color: var(--catalog-primary, #d9692b); }
.tienda-filtros-abrir-n {
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    display: inline-grid; place-items: center;
    background: var(--catalog-primary, #d9692b); color: #fff; font-size: .66rem;
}
.tienda-filtros-abrir-n[hidden] { display: none; }

/* Panel */
.tienda-fpanel { background: #fff; display: flex; flex-direction: column; }
.tienda-fpanel-head {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; border-bottom: 1px solid #f1f1f3;
}
.tienda-fpanel-head strong { flex: 1; font-size: .95rem; font-weight: 800; color: #111827; }
.tienda-fpanel-head strong i { color: var(--catalog-primary, #d9692b); margin-right: 4px; }
.tienda-fpanel-limpiar { border: 0; background: none; font-size: .78rem; font-weight: 700; color: var(--catalog-primary-deep, #c2410c); padding: 4px 6px; }
.tienda-fpanel-cerrar { border: 0; background: #f3f4f6; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #374151; }
.tienda-fpanel-body { padding: 4px 16px 12px; overflow-y: auto; }
.tienda-fpanel-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #f1f1f3; }
.tienda-fpanel-ver {
    width: 100%; height: 46px; border: 0; border-radius: 14px;
    background: linear-gradient(135deg, var(--catalog-primary, #d9692b), var(--catalog-primary-deep, #c2410c));
    color: #fff; font-weight: 800; font-size: .92rem;
}

.tienda-fsec { padding: 16px 0; border-bottom: 1px solid #f1f1f3; }
.tienda-fsec:last-child { border-bottom: 0; }
.tienda-fsec-title { margin: 0 0 12px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }

/* Casillas */
.tienda-fchecks { display: flex; flex-direction: column; gap: 2px; }
.tienda-fchecks.is-collapsed .tienda-fcheck:nth-child(n+8) { display: none; }
.tienda-fcheck {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 8px; margin: 0 -8px; border-radius: 10px;
    cursor: pointer; user-select: none; transition: background .15s;
}
.tienda-fcheck:hover { background: #f9fafb; }
.tienda-fcheck input { position: absolute; opacity: 0; pointer-events: none; }
.tienda-fcheck-box {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px;
    border: 1.5px solid #d1d5db; background: #fff;
    display: grid; place-items: center; color: #fff; font-size: .8rem;
    transition: background .15s, border-color .15s, transform .15s;
}
.tienda-fcheck-box i { opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.tienda-fcheck input:checked + .tienda-fcheck-box {
    background: var(--catalog-primary, #d9692b); border-color: var(--catalog-primary, #d9692b);
}
.tienda-fcheck input:checked + .tienda-fcheck-box i { opacity: 1; transform: scale(1); }
.tienda-fcheck input:focus-visible + .tienda-fcheck-box { box-shadow: 0 0 0 3px rgba(var(--catalog-primary-rgb, 217, 106, 43), .25); }
.tienda-fcheck-label { flex: 1; min-width: 0; font-size: .86rem; font-weight: 600; color: #1f2937; display: flex; align-items: center; gap: 7px; }
.tienda-fcheck input:checked ~ .tienda-fcheck-label { color: #111827; font-weight: 700; }
.tienda-fcheck-count {
    font-size: .7rem; font-weight: 700; color: #6b7280;
    background: #f3f4f6; border-radius: 999px; padding: 2px 8px; min-width: 26px; text-align: center;
}
.tienda-fcheck-ico { font-size: .95rem; }
.tienda-fcheck-ico--oferta { color: #dc2626; }
.tienda-fcheck-ico--nuevo { color: #7c3aed; }
.tienda-fcheck-ico--top { color: #f97316; }
.tienda-fcheck-ico--envio { color: #16a34a; }
.tienda-fcheck-ico--disponible { color: #0284c7; }
.tienda-fcheck-ico--favs { color: #e11d48; }
.tienda-fmas { border: 0; background: none; padding: 8px 0 0; font-size: .8rem; font-weight: 700; color: var(--catalog-primary-deep, #c2410c); }

/* Rango de precios (dos deslizadores sobre una misma barra) */
.tienda-precio-range { position: relative; height: 28px; margin: 4px 4px 10px; }
.tienda-precio-track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 999px; background: #e5e7eb; }
.tienda-precio-fill { position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 999px; background: var(--catalog-primary, #d9692b); }
.tienda-precio-range input[type=range] {
    position: absolute; left: -4px; right: -4px; top: 4px; width: calc(100% + 8px); height: 20px;
    margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.tienda-precio-range input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; pointer-events: auto; cursor: grab;
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; border: 2px solid var(--catalog-primary, #d9692b);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.tienda-precio-range input[type=range]::-moz-range-thumb {
    pointer-events: auto; cursor: grab;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 2px solid var(--catalog-primary, #d9692b);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.tienda-precio-range input[type=range]::-webkit-slider-runnable-track { background: none; }
.tienda-precio-range input[type=range]::-moz-range-track { background: none; }
.tienda-precio-inputs { display: flex; align-items: center; gap: 8px; }
.tienda-precio-inputs label {
    flex: 1; display: flex; align-items: center; gap: 4px; min-width: 0;
    height: 38px; padding: 0 10px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa;
}
.tienda-precio-inputs label span { font-size: .78rem; font-weight: 700; color: #9ca3af; }
.tienda-precio-inputs input { width: 100%; min-width: 0; border: 0; background: none; outline: none; font-size: .86rem; font-weight: 700; color: #111827; }
.tienda-precio-sep { color: #9ca3af; }

/* Filtros activos */
.tienda-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.tienda-chips[hidden] { display: none; }
.tienda-chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 30px; padding: 0 10px 0 12px; border-radius: 999px;
    border: 1px solid rgba(var(--catalog-primary-rgb, 217, 106, 43), .35);
    background: var(--catalog-primary-soft, #fff4ea); color: var(--catalog-primary-deep, #c2410c);
    font-size: .76rem; font-weight: 700;
}
.tienda-chip i { font-size: .7rem; }
.tienda-chip--limpiar { background: none; border-color: transparent; color: #6b7280; text-decoration: underline; }


/* Barra de búsqueda: el selector de orden muestra su texto completo */
.tienda-shop .tienda-sort-select { max-width: none; height: 38px; padding: 0 28px 0 10px; font-size: .8rem; font-weight: 600; border-radius: 12px; }
.tienda-shop .tienda-view-btns { flex-shrink: 0; }
@media (max-width: 767.98px) {
    /* Celular: buscador a lo ancho y debajo filtros, orden y vista */
    .tienda-shop .tienda-toolbar { flex-wrap: wrap; row-gap: 10px; }
    .tienda-shop .tienda-toolbar-search { flex: 1 1 100%; height: 36px; }
    .tienda-shop .tienda-toolbar-right { flex: 1 1 100%; min-width: 0; max-width: 100%; border-left: 0; padding-left: 0; padding-top: 10px; border-top: 1px solid #f0f0f0; }
    .tienda-shop .tienda-sort-select { flex: 1 1 0; min-width: 0; width: 0; }
}

/* ── Celular y tableta: panel deslizable desde la izquierda ── */
@media (max-width: 1023.98px) {
    .tienda-fpanel {
        position: fixed; top: 0; bottom: 0; left: 0; z-index: 1085;
        width: min(88vw, 360px);
        transform: translateX(-105%); transition: transform .28s cubic-bezier(.2, .7, .2, 1);
        box-shadow: 12px 0 40px rgba(15, 23, 42, .18);
    }
    .tienda-fpanel.is-open { transform: none; }
    .tienda-fpanel-body { flex: 1; }
    .tienda-fpanel-overlay { position: fixed; inset: 0; z-index: 1080; background: rgba(15, 23, 42, .45); }
    body.tienda-filtros-abiertos { overflow: hidden; }
}

/* ── Computadora: catálogo a lo ancho con filtros en columna ── */
@media (min-width: 1024px) {
    .tienda-vista--catalogo .tienda-main { max-width: 1440px !important; padding: 20px 32px 48px !important; }
    .tienda-vista--catalogo .tienda-topbar-inner { max-width: 1440px !important; padding-left: 32px; padding-right: 32px; }
    .tienda-shop { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
    .tienda-fpanel {
        position: sticky; top: 84px; max-height: calc(100vh - 100px);
        border: 1px solid #eef0f3; border-radius: 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
        overflow: hidden;
    }
    .tienda-fpanel-body { overflow-y: auto; }
    .tienda-fpanel-cerrar, .tienda-fpanel-foot, .tienda-fpanel-overlay, .tienda-filtros-abrir { display: none !important; }
    .tienda-shop-main .tienda-filtros { display: none; }
    .tienda-vista--catalogo .tienda-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important; gap: 16px !important; }
    .tienda-vista--catalogo .tienda-grid.tienda-grid--list { grid-template-columns: 1fr !important; }
    .tienda-vista--catalogo .tienda-hero2 { padding: 28px 32px; border-radius: 22px; }
    .tienda-vista--catalogo .tienda-categorias-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .tienda-vista--catalogo .pc-nombre { font-size: .86rem; }
    .tienda-vista--catalogo .pc-precio { font-size: 1.12rem; }
}
@media (min-width: 1400px) {
    .tienda-vista--catalogo .tienda-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; }
}

/* ── Pie de página ─────────────────────────────────────────── */
.tienda-footer { display: none; }
.tf { margin-top: 40px; background: #0f1115; color: #c9ced8; font-size: .86rem; }
.tf-trust { background: #fff; border-top: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; }
.tf-trust-inner {
    max-width: 1440px; margin: 0 auto; padding: 18px 20px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px;
}
.tf-trust-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tf-trust-item > i {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
    background: var(--catalog-primary-soft, #fff4ea); color: var(--catalog-primary-deep, #c2410c); font-size: 1.2rem;
}
.tf-trust-item strong { display: block; font-size: .84rem; font-weight: 800; color: #111827; }
.tf-trust-item span { display: block; font-size: .74rem; color: #6b7280; }

.tf-main {
    max-width: 1440px; margin: 0 auto; padding: 40px 20px 28px;
    display: grid; grid-template-columns: 1fr; gap: 32px;
}
.tf-brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.tf-logo { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: #fff; }
.tf-logo--ini { display: grid; place-items: center; background: var(--catalog-primary, #d9692b); color: #fff; font-weight: 900; font-size: 1.3rem; }
.tf-brand-name { font-size: 1.15rem; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.tf-brand-text { margin: 14px 0 0; color: #9aa3b2; line-height: 1.6; max-width: 360px; }
.tf-redes { display: flex; gap: 8px; margin-top: 16px; }
.tf-redes a {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: #1b1e25; color: #e5e7eb; font-size: 1.05rem; text-decoration: none; transition: background .15s, transform .15s;
}
.tf-redes a:hover { background: var(--catalog-primary, #d9692b); color: #fff; transform: translateY(-2px); }

.tf-title { margin: 0 0 14px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.tf-title--sub { margin-top: 22px; }
.tf-contacto { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tf-contacto-avatar {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--catalog-primary, #d9692b), var(--catalog-primary-deep, #c2410c));
    color: #fff; font-weight: 900; font-size: 1.1rem; box-shadow: 0 0 0 3px #1b1e25;
}
.tf-contacto-info strong { display: block; color: #fff; font-size: .92rem; }
.tf-contacto-info span { display: block; color: #9aa3b2; font-size: .76rem; }
.tf-wa {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 12px;
    border-radius: 14px; background: #25d366; color: #0b3b1d; text-decoration: none; font-weight: 800;
    transition: transform .15s, box-shadow .15s;
}
.tf-wa:hover { color: #0b3b1d; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 211, 102, .28); }
.tf-wa i { font-size: 1.5rem; }
.tf-wa span { display: flex; flex-direction: column; line-height: 1.2; font-size: .95rem; }
.tf-wa small { font-size: .7rem; font-weight: 700; opacity: .8; }
.tf-link { display: inline-flex; align-items: center; gap: 8px; color: #c9ced8; text-decoration: none; padding: 4px 0; }
.tf-link i { color: var(--catalog-primary, #d9692b); }
.tf-link:hover { color: #fff; }
.tf-links { display: flex; flex-direction: column; }

.tf-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tf-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.tf-list i { color: var(--catalog-primary, #d9692b); margin-top: 2px; }
.tf-list strong { color: #fff; }

.tf-pagos { display: flex; flex-direction: column; gap: 8px; }
.tf-pago { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #181b22; border: 1px solid #242833; }
.tf-pago > i { font-size: 1.3rem; color: #fff; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #242833; }
.tf-pago strong { display: block; color: #fff; font-size: .84rem; }
.tf-pago span { display: block; color: #9aa3b2; font-size: .74rem; }

.tf-bottom {
    max-width: 1440px; margin: 0 auto; padding: 18px 20px calc(96px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #1f232b; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
    color: #7c8595; font-size: .76rem;
}
.tf-bottom a { color: #c9ced8; }

@media (min-width: 640px) {
    .tf-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .tf-trust-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 32px; }
    .tf-main { grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; padding: 52px 32px 36px; }
    .tf-bottom { padding: 20px 32px 28px; }
}

/* ── Producto destacado: vitrina principal del catálogo ─────── */
.tdest {
    position: relative; display: grid; grid-template-columns: 1fr; margin: 6px 0 22px;
    border-radius: 24px; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(var(--catalog-primary-rgb, 217, 106, 43), .16) 0%, transparent 55%),
        linear-gradient(135deg, #fff 0%, var(--catalog-primary-soft, #fff4ea) 100%);
    border: 1px solid rgba(var(--catalog-primary-rgb, 217, 106, 43), .18);
    box-shadow: 0 18px 48px rgba(var(--catalog-primary-rgb, 217, 106, 43), .14), 0 2px 6px rgba(15, 23, 42, .05);
}
.tdest-media { position: relative; padding: 14px 14px 0; }
.tdest-foto {
    position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden;
    background: #f3f4f6; box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
}
.tdest-foto img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.02); transition: opacity .6s ease, transform 1.2s ease;
}
.tdest-foto img.is-active { opacity: 1; transform: scale(1); }
.tdest-foto:hover img.is-active { transform: scale(1.04); }
.tdest-ribbon {
    position: absolute; z-index: 3; top: 26px; left: 26px;
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff;
    font-size: .74rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(249, 115, 22, .35);
}
.tdest-ribbon::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
    background-size: 220% 100%; animation: tdestBrillo 3.2s ease-in-out infinite;
}
@keyframes tdestBrillo { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.tdest-off {
    position: absolute; z-index: 3; top: 26px; right: 26px;
    padding: 8px 12px; border-radius: 14px; background: #dc2626; color: #fff; font-weight: 900; font-size: 1rem;
    box-shadow: 0 8px 20px rgba(220, 38, 38, .35);
}
.tdest-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.tdest-thumbs::-webkit-scrollbar { display: none; }
.tdest-thumb {
    flex: 0 0 auto; width: 58px; height: 58px; padding: 0; border-radius: 12px; overflow: hidden;
    border: 2px solid transparent; background: #fff; opacity: .7; transition: opacity .2s, border-color .2s;
}
.tdest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tdest-thumb.is-active { opacity: 1; border-color: var(--catalog-primary, #d9692b); }

.tdest-info { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tdest-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tdest-kicker-main {
    display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800;
    letter-spacing: .06em; text-transform: uppercase; color: var(--catalog-primary-deep, #c2410c);
}
.tdest-cat { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid #eee; font-size: .72rem; font-weight: 700; color: #6b7280; }
.tdest-title { margin: 0; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.tdest-title a { color: #111827; text-decoration: none; }
.tdest-title a:hover { color: var(--catalog-primary-deep, #c2410c); }

.tdest-proof { display: flex; flex-wrap: wrap; gap: 8px; }
.tdest-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
    font-size: .76rem; font-weight: 700; background: #fff; border: 1px solid #eef0f3; color: #374151;
}
.tdest-chip--vistas i { color: #6366f1; }
.tdest-chip--vendidos { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.tdest-chip--envio { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.tdest-chip--stock { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

.tdest-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.tdest-price-now {
    font-size: clamp(2rem, 1.6rem + 1.4vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; line-height: 1;
    background: linear-gradient(135deg, var(--catalog-primary, #d9692b), var(--catalog-primary-deep, #c2410c));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tdest-price-before { font-size: 1.05rem; color: #9ca3af; }
.tdest-price-save { padding: 4px 10px; border-radius: 999px; background: #dc2626; color: #fff; font-size: .76rem; font-weight: 800; }

.tdest-desc { font-size: .92rem; line-height: 1.65; color: #4b5563; }
.tdest-desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tdest-more { align-self: flex-start; margin-top: -6px; padding: 0; border: 0; background: none; font-size: .82rem; font-weight: 800; color: var(--catalog-primary-deep, #c2410c); }

.tdest-perks { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 10px; border-radius: 16px; background: rgba(255, 255, 255, .75); border: 1px solid #f1f1f3; }
.tdest-perks li { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: #374151; }
.tdest-perks i {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
    background: var(--catalog-primary-soft, #fff4ea); color: var(--catalog-primary-deep, #c2410c);
}
.tdest-perks strong { color: #111827; }

.tdest-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.tdest .tdest-add-form { position: static; margin: 0; flex: 1 1 220px; }
.tdest-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; padding: 0 20px; border-radius: 16px; font-size: .95rem; font-weight: 800; text-decoration: none;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.tdest .pc-add-btn.tdest-btn--primary {
    width: 100%; height: 52px; min-width: 0; border-radius: 16px; font-size: .95rem;
    box-shadow: 0 14px 30px rgba(var(--catalog-primary-rgb, 217, 106, 43), .35);
}
.tdest .pc-add-btn.tdest-btn--primary span { display: inline !important; }
.tdest-btn--ghost { flex: 0 1 auto; background: #fff; color: #111827; border: 1.5px solid #e5e7eb; }
.tdest-btn--ghost:hover { border-color: var(--catalog-primary, #d9692b); color: var(--catalog-primary-deep, #c2410c); transform: translateY(-1px); }
.tdest-btn--wa { flex: 0 0 auto; background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.tdest-btn--wa:hover { color: #fff; transform: translateY(-1px); }
.tdest-btn--wa i { font-size: 1.2rem; }
.tdest-btn--agotado { flex: 1 1 220px; background: #f3f4f6; color: #6b7280; }

@media (max-width: 520px) {
    .tdest-btn--ghost, .tdest-btn--wa { flex: 1 1 0; }
    .tdest-foto { aspect-ratio: 4 / 3.4; }
    .tdest-info { gap: 12px; }
}
@media (min-width: 900px) {
    .tdest { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
    .tdest-media { padding: 20px 0 20px 20px; }
    .tdest-foto { aspect-ratio: 4 / 3.4; }
    .tdest-info { padding: 34px 38px 32px 34px; justify-content: center; }
    .tdest-ribbon { top: 34px; left: 34px; }
    .tdest-off { top: 34px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .tdest-ribbon::after { animation: none; }
    .tdest-foto img { transition: none; }
}

/* Sello «Tienda creada con TopoApp» (solo plan Gratis): discreto y útil */
.tf-sello { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; width: fit-content; max-width: calc(100% - 32px); margin: 18px auto 0; padding: 7px 8px 7px 12px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #c9ced8; font-size: .8rem; text-decoration: none; transition: background .15s, border-color .15s; }
.tf-sello:hover { background: rgba(255,255,255,.12); border-color: rgba(249,115,22,.6); color: #fff; }
.tf-sello img { width: 22px; height: 22px; border-radius: 6px; background: #fff; padding: 2px; }
.tf-sello b { color: #fff; }
.tf-sello em { font-style: normal; font-weight: 800; color: #fff; padding: 4px 10px; border-radius: 99px; background: #F97316; }

/* Cupón en el checkout */
.checkout-cupon { padding: 14px; border-radius: 16px; background: #FFFBEB; border: 1.5px dashed #FCD34D; }
.checkout-cupon-fila { display: flex; gap: 8px; }
.checkout-cupon-fila input { text-transform: uppercase; font-weight: 700; letter-spacing: .05em; }
.checkout-cupon-msg { margin-top: 6px; font-size: .84rem; font-weight: 600; }
.checkout-cupon-msg.is-ok { color: #15803d; } .checkout-cupon-msg.is-ok::before { content: "✓ "; }
.checkout-cupon-msg.is-error { color: #b91c1c; }
.checkout-descuento-row { color: #15803d; font-weight: 700; }
