
/* ══ tm-separator no aplica en esta página ══ */
.tm-separator { display: none !important; }

/* ══ Layout sidebar + contenido ══ */
.body    { display:flex; flex:1; min-height:560px; }
.sb      { width:260px; flex-shrink:0; background:#fff; border-right:.5px solid #e0e0e0; display:flex; flex-direction:column; }
.sb-hdr  { display:flex; justify-content:space-between; align-items:center; padding:14px; border-bottom:.5px solid #eee; }
.sb-title{ font-size:13px; font-weight:700; color:#111; display:flex; align-items:center; gap:6px; text-transform:uppercase; }
.sb-count{ font-size:11px; color:#aaa; }
.sb-scroll{ flex:1; overflow-y:auto; overflow-x:visible; padding:0 14px 14px; }
.sf      { border-bottom:.5px solid #f0f0f0; padding:12px 0; }
.sf-lbl  { font-size:12px; font-weight:700; color:#4b5563; letter-spacing:.04em; text-transform:uppercase; margin-bottom:8px; }
/* Multi-select combos */
.ms-wrap { position:relative; width:100%; }
.ms-box  { min-height:36px; border:1px solid #d8d8d8; border-radius:7px; background:#fff; padding:4px 36px 4px 8px; display:flex; flex-wrap:nowrap; align-items:center; gap:4px; cursor:text; position:relative; transition:border-color .15s; overflow:hidden; min-width:0; }
.ms-box:focus-within,.ms-box.has-value { border-color:#EE1C1C; }
.ms-chip-sel { display:inline-flex; align-items:center; gap:4px; background:#ffebee; border:1px solid #EE1C1C; border-radius:12px; padding:2px 4px 2px 8px; font-size:11.5px; color:#EE1C1C; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:calc(100% - 36px); flex-shrink:1; min-width:0; }
.ms-chip-x  { background:none; border:none; color:#EE1C1C; font-size:13px; font-weight:700; cursor:pointer; padding:0 2px; line-height:1; }
.ms-chip-x:hover { color:#900; }
.ms-input   { flex:1; border:none; outline:none; font-size:12.5px; color:#333; background:transparent; min-width:30px; padding:2px 0; }
.ms-input::placeholder { color:#aaa; }
.ms-arrow   { position:absolute; right:8px; top:50%; transform:translateY(-50%); width:20px; height:20px; border-radius:50%; background:#f0f0f0; display:flex; align-items:center; justify-content:center; cursor:pointer; pointer-events:all; font-size:10px; color:#666; transition:transform .2s; }
.ms-box:focus-within .ms-arrow,.ms-box.open .ms-arrow { transform:translateY(-50%) rotate(180deg); }
.ms-dropdown { position:fixed; background:#fff; border:1px solid #d8d8d8; border-radius:8px; box-shadow:0 6px 20px rgba(0,0,0,.15); z-index:9999; max-height:240px; overflow-y:auto; display:none; min-width:200px; }
.ms-dropdown.open { display:block; }
.ms-opt  { padding:9px 12px; font-size:12.5px; color:#333; cursor:pointer; display:flex; align-items:center; gap:8px; }
.ms-opt:hover { background:#f5f5f5; }
.ms-opt.active { background:#ffebee; font-weight:600; color:#EE1C1C; }
.ms-opt .ms-cnt { margin-left:auto; color:#aaa; font-size:11px; }
.ms-opt.hidden  { display:none !important; }
.ms-chk { font-size:14px; flex-shrink:0; color:#ccc; }
.ms-opt.active .ms-chk { color:#EE1C1C; }
.ms-txt { flex:1; min-width:0; }
/* Chips aplicados */
.applied-section { padding:10px 14px 12px; border-bottom:1px solid #e8e8e8; background:#fff; }
.applied-label   { font-size:12px; color:#555; margin-bottom:8px; font-weight:600; }
.applied-chips   { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px; }
.tm-chip   { display:inline-flex; align-items:center; gap:4px; background:#ffebee; border:1px solid #EE1C1C; border-radius:12px; padding:3px 8px 3px 10px; font-size:12px; color:#EE1C1C; font-weight:600; white-space:nowrap; }
.tm-chip-x { text-decoration:none; font-size:14px; color:#EE1C1C; cursor:pointer; font-weight:700; line-height:1; background:none; border:none; padding:0 2px; }
.tm-chip-x:hover { color:#a00; }
.limpiar-todo { display:flex; align-items:center; justify-content:center; gap:6px; width:100%; margin-top:6px; padding:8px; background:#EE1C1C; color:#fff; border:none; border-radius:6px; font-size:12.5px; font-weight:700; cursor:pointer; text-align:center; text-decoration:none; box-sizing:border-box; transition:background .15s; }
.limpiar-todo:hover { background:#c91010; color:#fff; }
/* Slider precio */
.price-track-wrap { position:relative; height:4px; margin:18px 0 16px; }
.price-track-bg   { position:absolute; left:0; right:0; top:0; height:4px; background:#e0e0e0; border-radius:2px; }
.price-fill       { position:absolute; top:0; height:4px; background:#EE1C1C; border-radius:2px; }
input[type=range].pr { -webkit-appearance:none; appearance:none; position:absolute; top:50%; transform:translateY(-50%); width:100%; background:transparent; pointer-events:none; height:4px; margin:0; }
input[type=range].pr::-webkit-slider-thumb { -webkit-appearance:none; width:16px; height:16px; border-radius:50%; background:#EE1C1C; pointer-events:auto; cursor:pointer; box-shadow:0 1px 3px rgba(0,0,0,.3); }
.price-inputs { display:flex; gap:8px; align-items:center; }
.price-box-sb { flex:1; background:#f5f5f5; border:1px solid #e0e0e0; border-radius:6px; padding:6px 10px; }
.price-box-sb label { font-size:10px; color:#888; display:block; }
.price-box-sb input { background:transparent; border:none; font-size:13px; font-weight:600; color:#222; width:100%; outline:none; }
.price-prefix-wrap { display:flex; align-items:center; border:1px solid #ddd; border-radius:6px; overflow:hidden; background:#fff; }
.price-prefix-wrap span { padding:6px 6px 6px 8px; font-size:11px; color:#888; background:#f7f7f7; border-right:1px solid #ddd; }
.price-prefix-wrap input { border:none; outline:none; padding:6px 8px; font-size:12px; width:100%; background:transparent; }
.price-prefix-wrap input::-webkit-outer-spin-button,
.price-prefix-wrap input::-webkit-inner-spin-button { -webkit-appearance:none; }
.btn-apply-price { display:block; width:100%; margin-top:8px; padding:8px; background:#EE1C1C; color:#fff; border:none; border-radius:6px; font-size:12.5px; font-weight:700; cursor:pointer; text-align:center; transition:background .15s; }
.btn-apply-price:hover { background:#c91010; }
@media(max-width:767px) {
    .body  { flex-direction:column; }
    .sb    { display:none !important; }
    .main-pd { padding:0 12px 12px; }
}

/* ══════════════════════════════
   VIDEO — YouTube (16:9) y TikTok (9:16 vertical)
   ══════════════════════════════ */

/* Fix fotorama.png 404 — override sprite con CSS puro */
.fotorama__arr--prev .fotorama__arr__arr,
.fotorama__arr--next .fotorama__arr__arr,
.fotorama__fullscreen-icon,
.fotorama__zoom-in,
.fotorama__zoom-out,
.fotorama__video-play { background-image: none !important; }

/* ── YouTube: mitad de altura con parallax automático ── */
.pd-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 28.125%; /* mitad de 56.25% = ratio 16:9 ÷ 2 */
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.pd-video-wrap iframe {
    position: absolute;
    top: -50%;   /* centrado — el JS de parallax lo anima ±50% */
    left: 0;
    width: 100%;
    height: 200%; /* doble de alto → cubre el 16:9 completo */
    border: none;
    display: block;
    will-change: transform;
}

/* ── TikTok: ratio 9:16 vertical — bloque móvil ── */
.pd-video-tiktok {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 14px;
}
.pd-video-tiktok iframe {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
    width: 340px;
    height: 605px;
    display: block;
    flex-shrink: 0;
}
/* Bloque móvil TikTok — solo en ≤767px */
.pd-tiktok-mob { display: none; }
@media(max-width: 767px) {
    .pd-tiktok-mob { display: flex; }
    .pd-tiktok-mob iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
        border-radius: 8px;
    }
}
/* Ocultar la 5ª slide TikTok del fotorama en móvil */
@media(max-width: 767px) {
    .ft-tiktok-slide-wrap { display: none !important; }
}

/* ── Fotorama: slide TikTok en el stage ── */
.ft-tiktok-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}
.ft-tiktok-iframe {
    /* Dentro del stage de fotorama: ratio 9:16 centrado */
    height: 100%;
    width: auto;
    aspect-ratio: 9 / 16;
    border: none;
    border-radius: 4px;
    display: block;
}
/* Miniatura TikTok en la barra de thumbs */
.fotorama__thumb .ft-tt-thumb {
    width: 100%;
    height: 100%;
    background: #010101;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}
.ft-tt-thumb-icon {
    font-size: 22px;
    line-height: 1;
}
.ft-tt-thumb-lbl {
    font-size: 9px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background: #efefef; color: var(--text); }
body.product { }

/* ── App container — refuerza el del layout compartido ── */
.app-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #efefef;
    box-shadow: 0 0 20px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: visible; /* dropdowns no se cortan */
}
@media(min-width:1200px) {
    .app-container { margin-top:15px; margin-bottom:15px; border-radius:8px; }
}
@media(max-width:767px) {
    .app-container { max-width:100%; margin-top:0; border-radius:0; box-shadow:none; }
}
/* Footer al ancho del contenedor */
.app-container > .tm-footer { width:100%; box-sizing:border-box; margin-top:auto; }

/* ── Contenido principal del detalle ── */
.main-pd { flex:1; padding:0 20px 20px; display:flex; flex-direction:column; min-width:0; }

/* ══════════════════════════════
   CONTENEDOR PRODUCTO — ocupa todo el ancho del .main-pd
   ══════════════════════════════ */
.pd-wrap {
    width: 100%;
    padding: 16px 0 0;
}

/* Nombre producto — centrado en todo el ancho */
.pd-title {
    font-size:clamp(1rem,2.5vw,1.35rem);
    font-weight:800; color:var(--text);
    margin-bottom:16px; line-height:1.3;
    padding: 0 4px;
    text-align: center;
    width: 100%;
}

/* Layout 2 columnas desktop — galería más ancha */
.pd-layout {
    display:grid;
    grid-template-columns: 1fr 380px;
    gap:20px;
    align-items:start;
    width:100%;
}
@media(max-width:1100px) {
    .pd-layout { grid-template-columns: 1fr 320px; }
}
@media(max-width:767px) {
    .pd-layout { grid-template-columns:1fr; gap:0; }
}

/* ══════════════════════════════════════════════════════
   GALERÍA UNIFICADA — Mockup: stage + thumbnails (fotos + videos)
   ══════════════════════════════════════════════════════ */
.pd-gallery { width:100%; position:relative; }

/* ── Stage principal ── */
.pd-stage-wrap {
    position:relative; width:100%;
    background:#f5f5f5; border-radius:8px;
    overflow:hidden; aspect-ratio:4/3; cursor:zoom-in;
}
.pd-stage-wrap img { width:100%; height:100%; object-fit:contain; display:block; transition:opacity .2s; }
.pd-stage-iframe { width:100%; height:100%; border:none; display:block; }

/* YouTube: ratio 16:9 */
.pd-stage-wrap.is-video {
    background:#000; cursor:default; aspect-ratio:16/9; overflow:hidden;
}
/* TikTok: centrado, height auto según iframe */
.pd-stage-wrap.is-tiktok {
    background:#000; cursor:default;
    aspect-ratio:unset !important;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:200px;
}
.pd-stage-wrap.is-tiktok .pd-stage-iframe {
    width:325px !important;
    height:740px !important;
    max-width:100% !important;
    border:none !important;
    display:block;
    flex-shrink:0;
    opacity:0;
    transition:opacity .3s;
}
.pd-stage-wrap.is-tiktok .pd-stage-iframe.tt-loaded {
    opacity:1;
}
/* Preloader spinner */
.pd-tt-loader {
    position:absolute;
    top:50%; left:50%;
    transform:translate(-50%,-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    z-index:5;
    pointer-events:none;
}
.pd-tt-loader-spin {
    width:40px; height:40px;
    border:4px solid rgba(255,255,255,.2);
    border-top-color:#fff;
    border-radius:50%;
    animation:ttSpin .8s linear infinite;
}
.pd-tt-loader-txt {
    color:rgba(255,255,255,.7);
    font-size:12px;
    font-weight:600;
    letter-spacing:.5px;
}
@keyframes ttSpin { to { transform:rotate(360deg); } }
/* Ocultar flechas en video */
.pd-stage-wrap.is-video .pd-stage-nav,
.pd-stage-wrap.is-tiktok .pd-stage-nav { display:none !important; }

/* Botón cerrar video */
.pd-stage-close {
    display:none; position:absolute; top:10px; right:10px; z-index:10;
    width:38px; height:38px; border-radius:50%;
    background:#EE1C1C; border:2.5px solid #fff; color:#fff;
    font-size:18px; font-weight:900; cursor:pointer;
    align-items:center; justify-content:center;
    box-shadow:0 2px 10px rgba(0,0,0,.5);
    transition:background .15s, transform .15s; line-height:1;
}
.pd-stage-wrap.is-video .pd-stage-close,
.pd-stage-wrap.is-tiktok .pd-stage-close { display:flex; }
.pd-stage-close:hover { background:#c91010; transform:scale(1.12); }

/* Flechas de navegación */
.pd-stage-nav {
    position:absolute; top:50%; transform:translateY(-50%);
    display:flex; justify-content:space-between;
    width:100%; padding:0 8px; pointer-events:none; z-index:5;
}
.pd-stage-nav button {
    pointer-events:all; width:36px; height:36px; border-radius:50%;
    background:rgba(0,0,0,.45); border:none; color:#fff;
    font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:background .15s;
}
.pd-stage-nav button:hover { background:rgba(0,0,0,.7); }

/* ── Barra de thumbnails — centrada ── */
.pd-thumbs {
    display:flex; gap:6px; margin-top:8px;
    overflow-x:auto; padding-bottom:4px;
    justify-content:center; flex-wrap:nowrap;
}
.pd-thumbs::-webkit-scrollbar { height:3px; }
.pd-thumbs::-webkit-scrollbar-thumb { background:#ccc; border-radius:2px; }
.pd-thumb {
    flex-shrink:0; width:72px; height:56px; border-radius:5px; overflow:hidden;
    border:2px solid transparent; cursor:pointer; position:relative; background:#111;
    transition:border-color .15s, transform .15s;
}
.pd-thumb:hover { border-color:#aaa; transform:scale(1.05); }
.pd-thumb.active { border-color:var(--red); }
.pd-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.pd-thumb-badge {
    position:absolute; inset:0; display:flex; flex-direction:column;
    align-items:center; justify-content:center; gap:3px; background:rgba(0,0,0,.72);
}
.pd-thumb-badge svg { width:24px; height:24px; }
.pd-thumb-badge span { font-size:8px; font-weight:800; color:#fff; letter-spacing:.5px; text-transform:uppercase; }

/* Banner GIFs categorías */
.pd-cat-banners { display:flex; gap:4px; margin-top:10px; overflow-x:auto; }
.pd-cat-banners::-webkit-scrollbar { display:none; }
.pd-cat-banners a { flex:1; min-width:0; }
.pd-cat-banners img { width:100%; height:auto; border-radius:4px; display:block; }

/* Móvil */
@media(max-width:767px) {
    .pd-stage-wrap { border-radius:4px; }
    .pd-thumb { width:60px; height:48px; }
}

/* ── PANEL INFO ── */
.pd-info {
    background:#fff; border:1px solid var(--border);
    border-radius:10px; padding:18px;
    position:sticky; top:16px;
    box-sizing:border-box;
}
@media(max-width:767px) {
    .pd-info { border-radius:0; border-left:none; border-right:none; padding:14px 16px; position:static; }
}

/* Precio */
.pd-price-box {
    display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px;
}
.badge-online {
    background:var(--red); color:#fff; font-weight:800; font-size:.62rem;
    line-height:1.1; padding:6px 8px; border-radius:4px; text-align:center; text-transform:uppercase;
}
.pd-price-main { color:var(--red); font-weight:900; font-size:clamp(1.4rem,4vw,1.9rem); }
.pd-price-old { text-decoration:line-through; color:#888; font-size:.95rem; margin-left:4px; }
.pd-price-disc { background:var(--red); color:#fff; font-size:.8rem; padding:3px 7px; border-radius:4px; }

/* Estado */
.pd-status { display:flex; align-items:center; gap:8px; margin:10px 0; font-size:.88rem; }
.pd-dot { width:10px; height:10px; background:#00b050; border-radius:50%; display:inline-block; flex-shrink:0; }
.pd-tags { display:flex; gap:8px; flex-wrap:wrap; margin:10px 0; }
.pd-tag { padding:4px 10px; border-radius:12px; font-size:.75rem; font-weight:700; }
.pd-tag.dark { background:#111; color:#fff; }
.pd-tag.red  { border:1.5px solid var(--red); color:var(--red); }

/* Ficha técnica */
.pd-specs { margin:14px 0; }
.pd-specs-row { border-bottom:1px solid #eee; padding:7px 0; font-size:.85rem; }
.pd-specs-row strong { color:#444; }
.specs-link { color:var(--blue); text-decoration:none; font-weight:600; }
.specs-link:hover { color:#0d47a1; text-decoration:underline; }

/* Pre-orden aviso */
.pd-preorder-alert {
    background:#fff3f3; border:1.5px solid var(--red); border-radius:8px;
    padding:12px 14px; margin:10px 0; font-size:.9rem; color:var(--red);
}

/* Botón carrito */
#product-component-test { width:100%; }

/* Botón WhatsApp */
.pd-btn-tg {
    display:flex; align-items:center; justify-content:center; gap:8px;
    width:100%; margin-top:12px; padding:13px 0;
    background:#009dde; color:#fff; border:none; border-radius:8px;
    font-size:1rem; font-weight:800; text-decoration:none; cursor:pointer;
    transition:filter .15s; letter-spacing:.3px;
}
.pd-btn-tg:hover { filter:brightness(1.08); }
.pd-btn-tg svg { width:22px; height:22px; flex-shrink:0; }

/* ══════════════════════════════
   CARRUSEL PRODUCTOS RELACIONADOS
   ══════════════════════════════ */
.pd-carousel-wrap { padding:0 0 10px; margin-top:24px; }
.carousel-header {
    display:flex; align-items:center; justify-content:space-between;
    padding:12px 16px; margin-bottom:8px;
    background:linear-gradient(90deg,#a0e7ff 0%,#00bfff 100%);
    border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,.1);
}
.carousel-title { font-family:Arial,sans-serif; font-size:1.2rem; font-weight:800; color:#000; text-transform:uppercase; letter-spacing:.5px; margin:0; }
.header-actions { display:flex; align-items:center; gap:8px; }
.carousel-arrows { display:flex; align-items:center; gap:6px; }
.carousel-arrow { display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background:#000; color:#fff; border:none; font-size:20px; cursor:pointer; opacity:.85; transition:all .25s; }
.carousel-arrow:hover { opacity:1; transform:scale(1.08); }
.btn-ver-todo { display:inline-flex; align-items:center; height:40px; padding:0 14px; background:var(--red); color:#fff; border:none; border-radius:20px; font-size:.82rem; font-weight:700; text-transform:uppercase; text-decoration:none; transition:background .2s; }
.btn-ver-todo:hover { background:#c91010; }
.product-carousel { position:relative; overflow:hidden; width:100%; }
.product-grid-container {
    display:flex;
    flex-direction:row;
    gap:12px;
    padding:0 14px 14px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;       /* Firefox */
    -ms-overflow-style:none;    /* IE/Edge */
    cursor:grab;
    user-select:none;
    -webkit-overflow-scrolling:touch;
}
.product-grid-container::-webkit-scrollbar { display:none; }
.product-grid-container:active { cursor:grabbing; }
/* Ancho de cada card: 4 visibles desktop, 2 en móvil */
.product-grid-container .product-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: calc((100% - 48px) / 4);
}
@media(max-width:768px) {
    .product-grid-container { gap:10px; padding:0 10px 10px; }
    .product-grid-container .product-card {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
}

/* Cards del carrusel */
.product-card { background:#fff; border:1px solid var(--border); border-radius:8px; padding:12px; display:flex; flex-direction:column; height:100%; transition:border .2s; }
.product-card:hover { border-color:var(--red); }
.product-img-wrapper { width:100%; margin-bottom:8px; display:flex; align-items:center; justify-content:center; }
.product-img-wrapper img { width:100%; height:130px; object-fit:contain; }
.product-title { font-size:.88rem; color:#333; font-weight:500; margin-bottom:10px; min-height:2.6rem; line-height:1.3; }
.product-link { text-decoration:none; }
.price-section { margin-top:auto; }
.badge-online-wrapper { display:flex; align-items:center; gap:6px; }
.current-price { color:var(--red); font-weight:800; font-size:clamp(.95rem,3.5vw,1.2rem); }
.old-price { color:#888; font-size:.78rem; }

/* ══════════════════════════════
   FOOTER — idéntico a TM_Enstock
   ══════════════════════════════ */
.tm-footer { background:#fff; border-top:3px solid var(--red); padding:28px 24px 0; margin-top:10px; }
.tm-footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1.4fr; gap:28px; padding-bottom:24px; border-bottom:1px solid #eee; }
.tm-footer-title { font-size:13px; font-weight:800; color:#111; text-transform:uppercase; margin:0 0 12px; padding-bottom:6px; border-bottom:2px solid var(--red); display:inline-block; }
.tm-footer-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:7px; }
.tm-footer-links a { font-size:12.5px; color:#555; text-decoration:none; }
.tm-footer-links a:hover { color:var(--red); }
.tm-footer-contact { list-style:none; padding:0; margin:8px 0 0; display:flex; flex-direction:column; gap:8px; }
.tm-footer-contact li { display:flex; align-items:flex-start; gap:8px; font-size:12px; color:#555; line-height:1.4; }
.tfc-icon { flex-shrink:0; font-size:13px; margin-top:1px; width:16px; text-align:center; }
.tfc-icon i { color:var(--red); font-size:13px; }
.tm-footer-contact a { color:#555; text-decoration:none; }
.tm-footer-contact a:hover { color:var(--red); }
.tm-footer-cards img { max-width:200px; width:100%; border-radius:6px; }
.tm-footer-bottom { text-align:center; padding:12px 0; font-size:11.5px; color:#aaa; }
@media(max-width:767px) {
    .tm-footer { padding:20px 14px 0; }
    .tm-footer-grid { grid-template-columns:1fr 1fr; gap:20px; }
    .tm-footer-cards img { max-width:160px; }
}
@media(max-width:420px) { .tm-footer-grid { grid-template-columns:1fr; } }

/* ══════════════════════════════
   LIGHTBOX — clic en foto abre zoom con título
   ══════════════════════════════ */
.pd-lightbox-overlay {
    display:none; position:fixed; inset:0; z-index:9800;
    /* Fix 3: fondo gris/negro semitransparente — no totalmente opaco */
    background:rgba(30,30,30,.82);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
    align-items:center; justify-content:center; flex-direction:column;
    padding:20px;
}
.pd-lightbox-overlay.open { display:flex; }

/* Wrapper relativo para anclar el botón × a la esquina de la imagen */
.pd-lightbox-inner {
    position:relative;
    display:inline-flex;
    flex-direction:column;
    align-items:center;
}

/* Imagen lightbox — tamaño ajustado (-15%) */
.pd-lightbox-img {
    width: min(82vw, 1020px);
    max-height: 82vh;
    object-fit:contain; border-radius:8px;
    box-shadow:0 12px 50px rgba(0,0,0,.65);
    display:block;
}

/* Fix 1: botón × anclado a la esquina superior derecha de la IMAGEN */
.pd-lightbox-close {
    position:absolute;
    top:-18px; right:-18px;
    background:#EE1C1C;
    border:3px solid #fff;
    color:#fff;
    width:44px; height:44px;
    border-radius:50%;
    font-size:1.3rem; font-weight:900;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 3px 12px rgba(0,0,0,.45);
    transition:background .15s, transform .15s;
    line-height:1; z-index:1;
}
.pd-lightbox-close:hover {
    background:#c91010;
    transform:scale(1.12);
}

.pd-lightbox-title {
    margin-top:14px; color:#fff;
    font-size:clamp(.85rem,2vw,1.05rem);
    font-weight:700; text-align:center;
    max-width:95vw; line-height:1.4;
    text-shadow:0 1px 4px rgba(0,0,0,.7);
}

/* Cursor zoom en imágenes del fotorama */
.fotorama__stage__frame .fotorama__img { cursor:zoom-in !important; }
.ui-autocomplete { z-index:99999 !important; max-height:320px; overflow-y:auto; overflow-x:hidden; border:1px solid #e0e0e0; border-top:none; border-radius:0 0 8px 8px; background:#fff; box-shadow:0 6px 20px rgba(0,0,0,.12); }
.ui-menu-item { list-style:none; }
.ac-row { display:flex !important; flex-direction:row !important; align-items:center !important; gap:10px; padding:9px 12px; border-bottom:1px solid #eee; cursor:pointer; }
.ac-row:hover { background:#fff8f8; }
/* imagen +20%: 55→66px ancho, 44→53px alto */
.ac-thumb { width:66px !important; height:53px !important; object-fit:contain; flex-shrink:0 !important; border-radius:4px; background:#f5f5f5; }
.ac-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
/* texto +1.5px en cada elemento */
.ac-price, .ac-price--desc { color:var(--red); font-weight:900; font-size:15.5px; }
.ac-price--old { color:var(--blue); font-size:13.5px; text-decoration:line-through; }
.ac-name { font-size:14.5px; color:#222; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Ambos canales de contacto del producto. */
.pd-btn-wa {
    display:flex; align-items:center; justify-content:center; gap:8px;
    width:100%; margin-top:12px; padding:13px 0;
    background:#25D366; color:#fff; border:none; border-radius:8px;
    font-size:1rem; font-weight:800; text-decoration:none; cursor:pointer;
    transition:filter .15s; letter-spacing:.3px;
}
.pd-btn-wa:hover{filter:brightness(1.08)}
.pd-btn-wa svg{width:22px;height:22px;flex-shrink:0}
.pd-float-wa{display:flex;align-items:center;gap:6px;padding:10px 14px;border-radius:8px;font-weight:800;font-size:.82rem;text-decoration:none;white-space:nowrap;background:#25D366;color:#fff}
.pd-float-wa svg{width:16px;height:16px;flex-shrink:0}
@media(max-width:767px){.pd-info>.pd-btn-wa:not(.pd-mwa-top){display:none}.pd-float-wa span{display:none}.pd-float-wa{width:42px;height:42px;padding:0;border-radius:50%;justify-content:center;flex-shrink:0}}


/* ── Botón Agregar al carrito ── */
.tm-add-cart-btn {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 15px 24px;
    margin: 14px 0 8px;
    background: linear-gradient(135deg, #EE1C1C 0%, #c91010 60%, #a50000 100%);
    color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .4px;
    border: none; border-radius: 14px; cursor: pointer;
    box-shadow: 0 6px 20px rgba(238,28,28,.38), 0 2px 6px rgba(0,0,0,.12);
    transition: transform .18s, box-shadow .18s, background .18s;
    font-family: Arial, sans-serif;
}
.tm-add-cart-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 28px rgba(238,28,28,.48);
    background: linear-gradient(135deg,#ff2424 0%,#d41212 60%,#b20000 100%);
}
.tm-add-cart-btn:active:not(:disabled) { transform: scale(.97); }
.tm-add-cart-btn:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; }
.tm-cart-icon { width: 24px; height: 24px; flex-shrink: 0; }
.tm-cart-btn-text { flex: 1; text-align: center; }
/* Ripple */
.tm-cart-btn-ripple {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,.35);
    transform: scale(0); animation: none; pointer-events: none;
    width: 200px; height: 200px; margin-left: -100px; margin-top: -100px;
}
.tm-add-cart-btn.rippling .tm-cart-btn-ripple {
    animation: tmRipple .55s linear;
}
@keyframes tmRipple { to { transform: scale(4); opacity: 0; } }

/* ── Badge contador en el botón flotante ── */
/* ── FAB: medio derecho, squircle, ícono + badge cantidad ── */
.tm-cart-fab {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9998;
    width: 52px; height: 60px;
    border-radius: 16px 0 0 16px;
    background: linear-gradient(160deg, #EE1C1C 0%, #b50000 100%);
    box-shadow: -4px 0 18px rgba(238,28,28,.45), -2px 0 8px rgba(0,0,0,.18);
    border: none; cursor: pointer; color: #fff;
    display: none; align-items: center; justify-content: center;
    transition: width .2s, box-shadow .2s;
}
.tm-cart-fab:hover {
    width: 58px;
    box-shadow: -6px 0 24px rgba(238,28,28,.6);
}
.tm-cart-fab svg { width: 26px; height: 26px; }
.tm-cart-fab-badge {
    position: absolute; top: 5px; right: 5px;
    background: #fff; color: #EE1C1C; font-size: 11px; font-weight: 900;
    min-width: 20px; height: 20px; border-radius: 10px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #EE1C1C; line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* ── Panel flotante del carrito ── */
.tm-cart-panel {
    position: fixed; top: 0; right: -420px; width: 400px; max-width: 96vw;
    height: 100dvh; z-index: 9999;
    background: #fff; box-shadow: -6px 0 40px rgba(0,0,0,.18);
    display: flex; flex-direction: column;
    transition: right .32s cubic-bezier(.4,0,.2,1);
    font-family: Arial, sans-serif;
}
.tm-cart-panel.open { right: 0; }

.tm-cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.42);
    z-index: 9997; display: none; backdrop-filter: blur(2px);
}
.tm-cart-overlay.active { display: block; }

/* Header panel */
.tm-cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg,#EE1C1C,#c91010);
    color: #fff;
}
.tm-cart-header-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 17px; font-weight: 800; letter-spacing: .3px;
}
.tm-cart-header-title svg { width: 22px; height: 22px; }
.tm-cart-close {
    background: rgba(255,255,255,.18); border: none; color: #fff;
    width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
    font-size: 18px; display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.tm-cart-close:hover { background: rgba(255,255,255,.35); }

/* Items list */
.tm-cart-items { flex: 1; overflow-y: auto; padding: 14px 16px; }
.tm-cart-empty {
    text-align: center; padding: 60px 20px; color: #aaa;
}
.tm-cart-empty svg { width: 64px; height: 64px; opacity: .25; margin-bottom: 12px; }
.tm-cart-empty p { font-size: 15px; margin-top: 8px; }

/* Item individual — compacto horizontal */
.tm-cart-item {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    animation: tmItemIn .22s ease;
    align-items: center;
}
@keyframes tmItemIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

.tm-cart-item-img {
    width: 64px; height: 64px; object-fit: contain; flex-shrink: 0;
    border-radius: 8px; border: 1.5px solid #eee;
    background: #fafafa; display: block;
}

/* Columna central: nombre + precios + fila inferior */
.tm-cart-item-body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 4px;
}
.tm-cart-item-name {
    font-size: 12px; font-weight: 700; color: #1a1a1a; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.tm-cart-item-prices { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.tm-cart-item-price  { font-size: 14px; font-weight: 900; color: #EE1C1C; }
.tm-cart-item-original { font-size: 11px; color: #bbb; text-decoration: line-through; }
.tm-cart-item-badge {
    background: #EE1C1C; color: #fff;
    font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 20px;
}

/* Fila inferior: qty | subtotal */
.tm-cart-item-footer {
    display: flex; align-items: center; gap: 6px;
}

/* Control cantidad */
.tm-qty-ctrl {
    display: flex; align-items: stretch;
    border: 2px solid #e0e0e0; border-radius: 8px; overflow: hidden; flex-shrink: 0;
    height: 34px;
}
.tm-qty-btn {
    width: 30px; height: 34px; border: none; background: #f5f5f5; color: #444;
    font-size: 17px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .12s; flex-shrink: 0; line-height: 1;
}
.tm-qty-btn:hover, .tm-qty-btn:active { background: #EE1C1C; color: #fff; }
.tm-qty-val {
    width: 30px; text-align: center; font-size: 14px; font-weight: 800; color: #222;
    background: #fff; border-left: 1.5px solid #e8e8e8; border-right: 1.5px solid #e8e8e8;
    display: flex; align-items: center; justify-content: center;
}

/* Precio × cant — ocupa el espacio central empujando el delete a la derecha */
.tm-cart-item-subtotal { font-size: 13px; font-weight: 900; color: #1565C0; flex: 1; text-align: right; margin-right: 4px; }

/* Botón eliminar — pegado a la derecha, ícono basurero siempre visible */
.tm-cart-item-del {
    flex-shrink: 0;
    width: 34px; height: 34px;
    background: #fee; border: 2px solid #e8b4b4; border-radius: 8px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .15s, border-color .15s; color: #c0392b;
    margin-left: auto; /* empuja siempre al extremo derecho */
}
.tm-cart-item-del:hover, .tm-cart-item-del:active { background: #EE1C1C; border-color: #EE1C1C; color: #fff; }
/* SVG inline vía JS — tamaño forzado con !important */
.tm-cart-item-del svg { width: 18px !important; height: 18px !important; display: block; flex-shrink: 0; }

/* Footer panel */
.tm-cart-footer {
    padding: 16px 20px; border-top: 2px solid #f0f0f0;
    background: #fafafa;
}
.tm-cart-subtotal-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
}
.tm-cart-subtotal-label { font-size: 15px; color: #555; font-weight: 600; }
.tm-cart-subtotal-val { font-size: 22px; font-weight: 900; color: #EE1C1C; }
.tm-cart-subtotal-savings {
    font-size: 12px; color: #2e7d32; font-weight: 700;
    background: #e8f5e9; border-radius: 20px; padding: 3px 10px;
    display: none; margin-bottom: 10px; text-align: center;
}

.tm-cart-clear {
    display: block; width: 100%; margin-top: 8px; padding: 9px;
    background: none; border: 1.5px solid #ddd; border-radius: 10px;
    color: #aaa; font-size: 13px; cursor: pointer; transition: all .15s;
}
.tm-cart-clear:hover { border-color: #EE1C1C; color: #EE1C1C; }

/* ── Campo instrucciones especiales ── */
.tm-cart-instructions { margin-bottom: 12px; }
.tm-cart-instructions-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: #555; margin-bottom: 6px;
}
.tm-cart-instructions-input {
    width: 100%; padding: 10px 12px;
    border: 1.5px solid #e0e0e0; border-radius: 8px;
    font-size: 12.5px; color: #333; resize: none; height: 68px;
    font-family: Arial, sans-serif; outline: none;
    transition: border-color .15s;
}
.tm-cart-instructions-input:focus { border-color: #1565C0; }
.tm-cart-instructions-input::placeholder { color: #bbb; }

/* ── Botón Pagar Pedido ── */
.tm-pay-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 15px; margin-bottom: 10px;
    border: none; border-radius: 12px; cursor: pointer;
    background: linear-gradient(135deg, #1565C0 0%, #0d47a1 100%);
    color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .3px;
    box-shadow: 0 4px 14px rgba(21,101,192,.35);
    transition: transform .15s, box-shadow .15s;
}
.tm-pay-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(21,101,192,.45); }
.tm-pay-btn:active { transform: scale(.98); }

/* ── Toast feedback ── */
.tm-toast {
    position: fixed; bottom: 100px; right: 24px; z-index: 10000;
    background: #222; color: #fff; padding: 12px 18px; border-radius: 10px;
    font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    opacity: 0; transform: translateY(16px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}
.tm-toast.show { opacity: 1; transform: translateY(0); }
.tm-toast-icon { font-size: 18px; }

@media(max-width:480px){
    .tm-cart-panel { width: 100vw; }
    .tm-add-cart-btn { font-size: 15px; padding: 14px 16px; }
}


/* ══ PD REDISEÑO: acciones, specs card, tabs, barra flotante ══ */
.pd-actions-row { display:flex; gap:10px; margin:8px 0 4px; justify-content:flex-end; flex-wrap:wrap; }
.pd-fav-btn, .pd-share-btn { display:flex; align-items:center; gap:6px; padding:7px 14px; border:1.5px solid var(--border); border-radius:20px; background:#fff; color:#444; font-size:.82rem; font-weight:600; cursor:pointer; transition:.15s; }
.pd-fav-btn:hover, .pd-share-btn:hover { border-color:var(--red); color:var(--red); }
.pd-fav-btn svg, .pd-share-btn svg { width:16px; height:16px; }
.pd-fav-btn.active { background:#fff0f0; border-color:var(--red); color:var(--red); }
.pd-fav-btn.active svg { fill:var(--red); }

.pd-lowstock-badge { display:inline-flex; align-items:center; gap:6px; background:#fff3e0; border:1px solid #ffb74d; color:#e65100; font-weight:700; font-size:.82rem; padding:6px 12px; border-radius:6px; margin:6px 0 2px; }

.pd-specs-card { margin:14px 0; border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.pd-specs-card-head { display:flex; align-items:center; gap:8px; background:#f5f5f7; padding:10px 14px; font-weight:700; font-size:.9rem; color:#222; border-bottom:1px solid var(--border); }
.pd-specs-card-head svg { width:18px; height:18px; color:var(--red); flex-shrink:0; }
.pd-specs-card .pd-specs { margin:0; padding:2px 14px; }

.pd-tabs { margin-top:20px; border:1px solid var(--border); border-radius:10px; overflow:hidden; background:#fff; }
.pd-tabs-nav { display:flex; flex-wrap:wrap; background:#f5f5f7; border-bottom:1px solid var(--border); }
.pd-tab-btn { flex:1; min-width:110px; padding:12px 10px; background:none; border:none; cursor:pointer; font-size:.85rem; font-weight:700; color:#666; border-bottom:3px solid transparent; transition:.15s; }
.pd-tab-btn.active { color:var(--red); border-bottom-color:var(--red); background:#fff; }
.pd-tab-panel { display:none; padding:18px 16px; font-size:.9rem; color:#333; line-height:1.65; }
.pd-tab-panel.active { display:block; }
.pd-desc-list { list-style:none; margin:12px 0 0; padding:0; }
.pd-desc-list li { display:flex; gap:8px; padding:4px 0; }
.pd-desc-list li:before { content:"✓"; color:#2e7d32; font-weight:700; }
.pd-purchases-note { color:#666; font-size:.85rem; margin-top:8px; padding-top:8px; border-top:1px solid #eee; }

.pd-float-bar { position:fixed; left:0; right:0; bottom:0; z-index:500; background:#fff; box-shadow:0 -4px 18px rgba(0,0,0,.15); display:flex; align-items:center; gap:14px; padding:10px 18px; transform:translateY(110%); transition:transform .25s ease; }
.pd-float-bar.show { transform:translateY(0); }
.pd-float-bar img { width:48px; height:48px; object-fit:contain; border-radius:6px; border:1px solid var(--border); flex-shrink:0; background:#fff; }
.pd-float-info { flex:1; min-width:0; }
.pd-float-name { font-size:.82rem; font-weight:700; color:#222; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pd-float-meta { font-size:.78rem; color:#555; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.pd-float-price { color:var(--red); font-weight:800; }
.pd-float-actions { display:flex; gap:8px; flex-shrink:0; }
.pd-float-tg, .pd-float-buy { display:flex; align-items:center; gap:6px; padding:10px 14px; border-radius:8px; font-weight:800; font-size:.82rem; text-decoration:none; border:none; cursor:pointer; white-space:nowrap; }
.pd-float-tg { background:#009dde; color:#fff; }
.pd-float-buy { background:var(--red); color:#fff; }
.pd-float-buy svg, .pd-float-tg svg { width:16px; height:16px; flex-shrink:0; }
@media(max-width:600px){ .pd-float-name{display:none;} .pd-float-bar{gap:8px;padding:8px 10px;} }

/* ══ MÓVIL: ajustes extra producto_detalle (solo <768px), sin afectar escritorio ══ */
.pd-mobile-extra { display:none; }
@media (max-width:767px) {
    .pd-mobile-extra { display:block; }

    /* Reordenar galería/tabs vs info comprando */
    .pd-gallery { display:contents; }
    .pd-layout { display:flex; flex-direction:column; }
    .pd-stage-wrap { order:1; }
    #pdThumbs { order:2; }
    .pd-cat-banners { order:3; }
    .pd-info { order:4; display:flex; flex-direction:column; }
    #pdTabs { order:5; margin-top:14px; }

    /* Orden interno de .pd-info */
    .pd-info > .pd-price-box { order:10; }
    .pd-mrow-stars.pd-mobile-extra { order:20; display:flex; align-items:center; gap:3px; flex-wrap:wrap; margin:2px 0 10px; }
    .pd-mrow-stars svg { width:16px; height:16px; }
    .pd-mrow-stars a { margin-left:4px; font-size:.78rem; color:#333; text-decoration:underline; }
    .pd-info > .pd-preorder-alert { order:30; }
    .pd-info > .cart-box { order:38; }
    .pd-info > #tmAddCartBtn { order:40; }
    .pd-mwa-top.pd-mobile-extra { order:50; display:flex; margin-top:10px; }
    .pd-mrow-trust.pd-mobile-extra { order:60; display:flex; gap:8px; margin:12px 0 4px; }
    .pd-mrow-item { flex:1; display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; font-size:.68rem; color:#333; padding:8px 4px; background:#f7f9f7; border:1px solid #e2e2e2; border-radius:8px; }
    .pd-mrow-item svg { width:20px; height:20px; color:var(--red); }
    .pd-mrow-item strong { display:block; font-size:.72rem; }
    .pd-mrow-item span { display:block; color:#666; font-size:.64rem; }
    .pd-info > .pd-status { order:70; }
    .pd-info > .pd-lowstock-badge { order:80; }
    .pd-info > .pd-tags { order:90; }
    .pd-info > .pd-specs-card { order:100; }

    /* Ocultar elementos de escritorio reemplazados en móvil */
    .pd-trust-box { display:none; }
    .pd-info > .pd-btn-tg:not(.pd-mwa-top) { display:none; }

    /* Contador de reseñas en pestaña Valoraciones */
    .pd-tab-btn[data-tab="valor"]::after { content:" (111)"; font-size:.72em; opacity:.75; margin-left:2px; }

    /* Banners de categoría: evitar recorte de texto */
    .pd-cat-banners { gap:8px; padding:2px 0 4px; }
    .pd-cat-banners a { flex:0 0 auto; min-width:72px; width:72px; }

    /* Ver descripción completa (contenido real de la ficha, no genérico) */
    .pd-desc-more-toggle { background:none; border:none; color:var(--red); font-weight:700; font-size:.85rem; padding:6px 0; cursor:pointer; }
    .pd-desc-more-content { font-size:.88rem; color:#333; line-height:1.5; margin-top:4px; }

    /* Marca de agua del fabricante del vehículo, junto a la descripción */
    .pd-tab-panel[data-panel="desc"] { position:relative; }
    .pd-desc-watermark.pd-mobile-extra { display:block; position:absolute; right:6px; bottom:6px; max-width:64px; max-height:64px; width:auto; height:auto; opacity:.14; pointer-events:none; }

    /* Icono de pantalla completa sobre la imagen principal */
    .pd-mzoom-btn.pd-mobile-extra { display:flex; position:absolute; right:8px; bottom:8px; width:34px; height:34px; border-radius:50%; background:rgba(0,0,0,.55); align-items:center; justify-content:center; border:none; z-index:5; padding:0; }
    .pd-mzoom-btn svg { width:18px; height:18px; color:#fff; }
}

/* ══ MÓVIL: ajuste 2 — ancho completo, precio grande, barra flotante y flechas ══ */
@media (max-width:767px) {
    /* Galería/banners a todo el ancho de la pantalla (breakout del padding del contenedor) */
    .pd-stage-wrap, #pdThumbs, .pd-cat-banners {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        box-sizing: border-box;
        min-width: 0;
    }
    #pdThumbs, .pd-cat-banners { padding-left:20px; padding-right:20px; }
    .pd-stage-wrap { border-radius:0; }
    .pd-cat-banners { gap:6px; }
    .pd-cat-banners a { flex:0 0 auto; width:calc((100% - 24px)/5); min-width:0; }

    /* Precio más grande y llamativo (con y sin descuento) */
    .pd-info > .pd-price-box .pd-price-main { font-size:clamp(2.1rem,9vw,2.6rem); }
    .pd-info > .pd-price-box .pd-price-old { font-size:1.05rem; }
    .pd-info > .pd-price-box .pd-price-disc { font-size:.92rem; padding:4px 9px; }
    .pd-info > .pd-price-box .badge-online { font-size:.72rem; padding:7px 9px; }

    /* Barra flotante de compra: más proporcionada y ordenada */
    .pd-float-bar { padding:8px 12px; gap:8px; }
    .pd-float-price { font-size:1rem; font-weight:900; }
    .pd-float-meta { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .pd-float-tg span, .pd-float-buy span { display:none; }
    .pd-float-tg, .pd-float-buy { width:42px; height:42px; padding:0; border-radius:50%; justify-content:center; flex-shrink:0; }
    .pd-float-actions { gap:8px; }

    /* Flechas de la imagen: reposicionadas para no cubrir el producto */
    .pd-stage-nav { top:auto; bottom:10px; transform:none; padding:0 10px; }
    .pd-stage-nav button { width:30px; height:30px; background:rgba(0,0,0,.4); }
    .pd-mzoom-btn.pd-mobile-extra { top:8px; bottom:auto; }
}
