.tpo-block{background:#fff;border:1px solid #ddd;border-radius:6px;margin-bottom:20px;overflow:hidden;box-sizing:border-box}
.tpo-head{padding:20px 24px 14px;border-bottom:1px solid #ddd}
.tpo-title{margin:0;font-family:'Roboto Condensed','Roboto',Arial Narrow,Arial,sans-serif;font-weight:700;font-size:28px;line-height:1.1;text-transform:uppercase;letter-spacing:0;color:#3d3d3d}
.tpo-title span{position:relative;display:inline-block;padding-bottom:12px}
.tpo-title span:after{content:"";position:absolute;left:0;bottom:0;width:60%;height:5px;border-radius:5px;background:linear-gradient(90deg,var(--tpo-c1,#0a2a66),var(--tpo-c2,#4fc3f7))}
.tpo-chead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;color:#fff;text-decoration:none;background:linear-gradient(155deg,var(--tpo-c1,#0a2a66),var(--tpo-c2,#4fc3f7))}
.tpo-chead:hover,.tpo-chead:focus{color:#fff;text-decoration:none}
.tpo-chead-title{font-family:'Roboto Condensed','Roboto',Arial Narrow,Arial,sans-serif;font-weight:700;font-size:28px;line-height:1.1;text-transform:uppercase;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.25)}
.tpo-chead-right{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.tpo-chead-art{width:64px;height:64px;display:block;flex:0 0 64px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.2))}
.tpo-chead:hover .tpo-promo-cta{background:#fff;color:#0a2a66}
.tpo-list{list-style:none;margin:0;padding:0 24px 8px}
.tpo-item{padding:8px 0;border-bottom:1px dashed #ccc}
.tpo-card{display:flex;align-items:center;gap:20px;padding:10px 12px;margin:0 -12px;border-radius:8px;background:transparent;position:relative;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease}
.tpo-item:last-child{border-bottom:0}
.tpo-img{flex:0 0 38%;max-width:38%;display:flex;align-items:center;justify-content:center;align-self:stretch;text-align:center;border-radius:6px;background-color:transparent}
.tpo-img img{max-width:100%;height:auto;max-height:150px;width:auto;mix-blend-mode:multiply}
.tpo-info{flex:1 1 auto;min-width:0}
.tpo-name{display:block;font-family:'Roboto Condensed','Roboto',Arial Narrow,Arial,sans-serif;font-weight:700;font-size:16px;line-height:1.3;text-transform:uppercase;color:#3d3d3d;text-decoration:none}
.tpo-name:hover{color:#000}
.tpo-prices{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:8px}
.tpo-price{font-weight:700;font-size:20px;color:#e60000}
.tpo-old{font-size:14px;color:#777;text-decoration:line-through}
.tpo-badge{background:#e60000;color:#fff;font-size:13px;font-weight:700;font-style:italic;line-height:1;padding:3px 6px;border-radius:4px}
@media (max-width:767px){.tpo-only-desktop{display:none!important}}
@media (min-width:768px){.tpo-only-mobile{display:none!important}}

/* Página de inicio: panel de ofertas a la izquierda + productos en 2 filas (mismo estilo de tarjeta que la columna) */
.tpo-layout-home{display:flex;align-items:stretch;margin:var(--tpo-mt,0px) var(--tpo-sx,0px) var(--tpo-mb,30px)}
.tpo-promo{flex:0 0 26%;max-width:300px;min-width:190px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px 16px;text-align:center;text-decoration:none;color:#fff;background:linear-gradient(155deg,var(--tpo-c1,#0a2a66),var(--tpo-c2,#4fc3f7));position:relative;overflow:hidden}
.tpo-promo:hover,.tpo-promo:focus{color:#fff;text-decoration:none}
.tpo-promo-art{width:140px;max-width:70%;height:auto;display:block;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
.tpo-promo-text{display:flex;flex-direction:column;align-items:center;gap:10px}
.tpo-promo-title{font-family:'Roboto Condensed','Roboto',Arial Narrow,Arial,sans-serif;font-weight:700;font-size:34px;line-height:1;text-transform:uppercase;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.25)}
.tpo-promo-cta{display:inline-block;border:2px solid #fff;border-radius:20px;padding:5px 14px;font-size:13px;font-weight:700;line-height:1.2;color:#fff;transition:background-color .25s ease,color .25s ease}
.tpo-promo:hover .tpo-promo-cta{background:#fff;color:#0a2a66}
.tpo-layout-home .tpo-list{flex:1 1 auto;min-width:0;display:grid;grid-template-columns:repeat(var(--tpo-cols,3),minmax(0,1fr));gap:10px 24px;align-content:center;padding:18px 24px}
.tpo-layout-home .tpo-item{padding:0;border-bottom:0}
.tpo-layout-home .tpo-card{margin:0;gap:18px;padding:14px 14px;height:100%;box-sizing:border-box}
.tpo-layout-home .tpo-img{flex:0 0 38%;max-width:38%}
.tpo-layout-home .tpo-img img{max-height:160px}
.tpo-layout-home .tpo-name{font-size:17px}
.tpo-layout-home .tpo-price{font-size:22px}
.tpo-layout-home .tpo-old{font-size:15px}
@media (max-width:991px){
.tpo-promo{flex-basis:22%;min-width:160px;padding:18px 10px}
.tpo-promo-title{font-size:26px}
.tpo-layout-home .tpo-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 16px}
}
@media (max-width:767px){
.tpo-layout-home{flex-direction:column;margin:var(--tpo-mt-m,0px) var(--tpo-sx-m,0px) var(--tpo-mb-m,30px)}
.tpo-promo{flex:none;max-width:none;min-width:0;flex-direction:row;justify-content:space-between;gap:12px;padding:12px 16px;text-align:left}
.tpo-promo-art{width:64px;max-width:64px;flex:0 0 64px;order:2}
.tpo-promo-text{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;flex:1 1 auto}
.tpo-promo-title{font-size:24px}
.tpo-promo-cta{font-size:12px;padding:4px 10px}
.tpo-layout-home .tpo-list{display:block;padding:0 24px 8px}
.tpo-layout-home .tpo-item{padding:8px 0;border-bottom:1px dashed #ccc}
.tpo-layout-home .tpo-item:last-child{border-bottom:0}
.tpo-layout-home .tpo-card{margin:0 -12px;gap:20px;height:auto}
.tpo-layout-home .tpo-img{flex:0 0 38%;max-width:38%}
.tpo-layout-home .tpo-img img{max-height:150px}
.tpo-layout-home .tpo-name{font-size:16px}
.tpo-layout-home .tpo-price{font-size:20px}
.tpo-layout-home .tpo-old{font-size:14px}
}

/* Animaciones de entrada (productos en columna, uno tras otro) */
.tpo-anim.tpo-ready:not(.tpo-in) .tpo-item{opacity:0}
.tpo-anim.tpo-in .tpo-item{animation-duration:.6s;animation-fill-mode:both;animation-delay:calc(var(--tpo-i,0)*.12s)}
.tpo-a-fade.tpo-in .tpo-item{animation-name:tpo-fade}
.tpo-a-fade_up.tpo-in .tpo-item{animation-name:tpo-up}
.tpo-a-slide_left.tpo-in .tpo-item{animation-name:tpo-left}
.tpo-a-slide_right.tpo-in .tpo-item{animation-name:tpo-right}
.tpo-a-zoom.tpo-in .tpo-item{animation-name:tpo-zoom}
.tpo-a-bounce.tpo-in .tpo-item{animation-name:tpo-bounce;animation-duration:.8s}
@keyframes tpo-fade{from{opacity:0}to{opacity:1}}
@keyframes tpo-up{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
@keyframes tpo-left{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:none}}
@keyframes tpo-right{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:none}}
@keyframes tpo-zoom{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:none}}
@keyframes tpo-bounce{0%{opacity:0;transform:translateY(-60px)}55%{opacity:1;transform:translateY(12px)}75%{transform:translateY(-6px)}90%{transform:translateY(3px)}100%{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tpo-anim .tpo-item{animation:none!important;opacity:1!important}}

/* Efecto al pasar el mouse: solo el bloque del producto (imagen, nombre y precio) se levanta con relieve; sin ningún efecto gris */
@media (hover:hover){
.tpo-hover .tpo-item:hover .tpo-card{transform:translateY(-5px) scale(1.03);box-shadow:0 10px 22px rgba(0,0,0,.18);background:#fff;z-index:2}
}

/* La imagen no se mueve ni se agranda por dentro (ni por efectos del theme): solo se mueve el bloque */
.tpo-block .tpo-img img,.tpo-block .tpo-img:hover img,.tpo-block .tpo-item:hover .tpo-img img{transform:none!important;animation:none!important;margin:0!important;left:auto!important;top:auto!important}
.tpo-block .tpo-img::before,.tpo-block .tpo-img::after{display:none!important}

/* Sin gris ni cambios de color/opacidad en la imagen (ni propios ni del theme) al pasar el mouse */
.tpo-block .tpo-img,.tpo-block .tpo-img:hover,.tpo-block .tpo-item:hover .tpo-img{background:transparent!important;background-color:transparent!important;filter:none!important;opacity:1!important}
.tpo-block .tpo-img img,.tpo-block .tpo-img:hover img,.tpo-block .tpo-item:hover .tpo-img img{filter:none!important;opacity:1!important}

/* ===== v1.1.5 · Inicio en ESCRITORIO: imagen de ofertas a la izquierda + 4 tarjetas verticales iguales a Tecno Destacados ===== */
.tpo-buy{display:none}
@media (min-width:992px){
.tpo-layout-home .tpo-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-content:stretch;align-items:stretch;padding:22px 24px}
.tpo-layout-home .tpo-card{flex-direction:column;align-items:stretch;gap:0;padding:0;margin:0;height:100%;background:#fff;border-radius:3px;box-shadow:0 1px 6px rgba(0,0,0,.14);overflow:hidden}
.tpo-layout-home .tpo-img{flex:none;max-width:none;width:100%;height:auto;aspect-ratio:var(--tc-card-ratio,1/1);box-sizing:border-box;align-self:auto;padding:5px;background:#fff!important;border-radius:0}
.tpo-layout-home .tpo-img img{width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain;display:block}
.tpo-layout-home .tpo-info{flex:1 1 auto;display:flex;flex-direction:column;padding:10px 12px 4px}
.tpo-layout-home .tpo-name{font-family:inherit;font-size:14px;font-weight:700;letter-spacing:.45px;line-height:20px;text-align:left;color:#494949;min-height:40px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;word-break:break-word}
.tpo-layout-home .tpo-prices{margin-top:8px}
.tpo-layout-home .tpo-price{font-size:19px;color:#e30613}
.tpo-layout-home .tpo-old{font-size:13px}
.tpo-layout-home .tpo-badge{font-size:12px}
.tpo-layout-home .tpo-buy{display:flex;align-items:stretch;justify-content:flex-start;gap:8px;padding:4px 12px 12px;margin-top:auto}
.tpo-layout-home .tpo-qty{flex:1 1 auto;min-width:0;display:inline-flex;align-items:stretch;border:1px solid #d6d6d6;border-radius:4px;overflow:hidden;background:#fff}
.tpo-layout-home .tpo-qty__b{flex:0 0 34px;width:34px;padding:0;border:0;background:#fff;color:#444;font-size:18px;line-height:1;cursor:pointer;transition:color .15s}
.tpo-layout-home .tpo-qty__b:hover{color:#e30613}
.tpo-layout-home .tpo-qty__i{flex:1 1 auto;width:auto;min-width:0;padding:0;border:0;border-left:1px solid #e6e6e6;border-right:1px solid #e6e6e6;border-radius:0;background:#fff;color:#333;font-size:14px;font-weight:600;text-align:center;box-shadow:none;outline:0;-moz-appearance:textfield;appearance:textfield}
.tpo-layout-home .tpo-qty__i::-webkit-outer-spin-button,.tpo-layout-home .tpo-qty__i::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.tpo-layout-home .tpo-add,.tpo-layout-home .tpo-more{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;text-align:center;text-decoration:none;line-height:1.2!important;padding-left:.8rem;padding-right:.8rem}
.tpo-layout-home .tpo-more{flex:1 1 auto;white-space:normal}
.tpo-layout-home .tpo-add .material-icons{font-size:20px;line-height:1}
.tpo-layout-home .tpo-add.is-loading{opacity:.6;pointer-events:none}
.tpo-layout-home .tpo-add.is-done,.tpo-layout-home .tpo-add.is-done:hover{--bs-btn-bg:#2e9e4f;--bs-btn-border-color:#2e9e4f;--bs-btn-hover-bg:#2e9e4f;--bs-btn-hover-border-color:#2e9e4f;background-image:none}
.tpo-hover.tpo-layout-home .tpo-item:hover .tpo-card{transform:translateY(-3px);box-shadow:0 6px 16px rgba(0,0,0,.18)}
}

/* ===== v1.1.6 · Encabezado de la columna (izq./der.): que entre completo y no se corte el ícono ===== */
.tpo-block:not(.tpo-layout-home) .tpo-chead{gap:8px;padding:12px 14px}
.tpo-block:not(.tpo-layout-home) .tpo-chead-title{font-size:24px;white-space:nowrap;min-width:0}
.tpo-block:not(.tpo-layout-home) .tpo-chead-right{gap:8px;min-width:0;flex:0 1 auto}
.tpo-block:not(.tpo-layout-home) .tpo-chead .tpo-promo-cta{padding:4px 10px;font-size:12px;white-space:nowrap}
.tpo-block:not(.tpo-layout-home) .tpo-chead-art{width:44px;height:44px;flex:0 1 44px;min-width:0}

/* ===== v1.1.7 · Celular: el banner de la columna/productos mide igual que el del inicio ===== */
@media (max-width:767px){
.tpo-block:not(.tpo-layout-home) .tpo-chead{gap:12px;padding:12px 16px}
.tpo-block:not(.tpo-layout-home) .tpo-chead-title{font-size:24px}
.tpo-block:not(.tpo-layout-home) .tpo-chead-right{gap:12px}
.tpo-block:not(.tpo-layout-home) .tpo-chead .tpo-promo-cta{padding:4px 10px;font-size:12px}
.tpo-block:not(.tpo-layout-home) .tpo-chead-art{width:64px;height:64px;flex:0 0 64px}
}

/* Borde fino y permanente en las tarjetas (valor único: --tc-card-border, definido en Tecno Menú) */
.tpo-layout-home .tpo-card{border:var(--tc-card-border,1px solid #e2e5ea);box-sizing:border-box}
