/*
Theme Name: Top Bazar
Template: blocksy
Version: 0.1.0
Description: Tema hijo ligero para Top Bazar.
*/

:root{--tb-blue:#1f67d7;--tb-blue-dark:#0f2b5b;--tb-sky:#eaf3ff;--tb-ink:#111827;--tb-muted:#667085;--tb-line:#e4e7ec;--tb-bg:#f7f8fa}
.tb-wrap{width:min(1320px,calc(100% - 40px));margin:0 auto}.tb-site-header{background:#fff;position:relative;z-index:20;border-bottom:1px solid var(--tb-line)}
.tb-utility{background:#101828;color:#fff;font-size:12px}.tb-utility-inner{min-height:30px;display:flex;align-items:center;justify-content:flex-end;gap:22px}
.tb-main-head{background:#fff}.tb-main-head-inner{min-height:88px;display:grid;grid-template-columns:auto minmax(360px,1fr) auto;gap:28px;align-items:center}
.tb-brand{display:inline-flex;align-items:center;gap:10px;color:var(--tb-ink)!important;text-decoration:none!important;white-space:nowrap}.tb-brand-mark{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#0f2b5b,#1f67d7);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px;letter-spacing:.02em}.tb-brand-name{font-size:28px;font-weight:700;letter-spacing:-1px}.tb-brand-name strong{color:var(--tb-blue);font-weight:800}
.tb-header-search{display:flex;height:46px;border:1px solid #d0d5dd;border-radius:999px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.04)}.tb-header-search input{flex:1;border:0!important;box-shadow:none!important;background:transparent!important;padding:0 20px;font-size:14px}.tb-header-search button{width:52px;border:0;background:var(--tb-blue);color:#fff;font-size:24px;cursor:pointer}
.tb-head-selectors{display:flex;gap:8px}.tb-selector{height:42px;border:1px solid #d0d5dd;background:#fff;border-radius:10px;padding:0 13px;color:#344054;font-size:13px;font-weight:600}.tb-selector span{margin-left:6px;color:#98a2b3}
.tb-nav-row{background:var(--tb-sky);border-top:1px solid #dbe8fa}.tb-nav-inner{min-height:56px;display:flex;align-items:center;gap:26px}.tb-categories-button{display:inline-flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:10px 17px;color:var(--tb-ink)!important;text-decoration:none!important;font-weight:700;font-size:14px}.tb-menu-dot{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--tb-blue);color:#fff;font-size:13px}
.tb-primary-nav{min-width:0;flex:1}.tb-menu-list{display:flex!important;align-items:center;gap:28px;margin:0!important;padding:0!important;list-style:none!important}.tb-menu-list li{margin:0!important}.tb-menu-list a{color:#263449!important;text-decoration:none!important;font-size:14px;font-weight:650}.tb-menu-list .current-menu-item>a{color:var(--tb-blue)!important}
.tb-customer-nav{display:flex;align-items:center;gap:10px;margin-left:auto}.tb-help-link{display:flex;align-items:center;gap:9px;color:#263449!important;text-decoration:none!important}.tb-help-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;font-weight:800}.tb-help-copy{display:flex;flex-direction:column;line-height:1.05}.tb-help-copy small{font-size:10px;color:#667085}.tb-help-copy strong{font-size:12px}.tb-round-link{position:relative;width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #dbe5f2;display:grid;place-items:center;text-decoration:none!important;color:#1d2939!important}.tb-cart-link{background:var(--tb-blue);color:#fff!important;border-color:var(--tb-blue)}.tb-cart-count{position:absolute;right:-4px;top:-5px;background:#fff;color:var(--tb-blue);border:1px solid #cfdcf0;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;font-size:10px;font-weight:800}
#main-container{min-height:55vh}
.tb-site-footer{margin-top:60px;background:#101828;color:#d0d5dd}.tb-footer-main{padding:54px 0 42px}.tb-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:48px}.tb-brand-footer .tb-brand-name{color:#fff}.tb-footer-brand p{max-width:390px;line-height:1.7;font-size:14px;color:#98a2b3}.tb-footer-grid h3{color:#fff;font-size:15px;margin:4px 0 18px}.tb-footer-grid section>a:not(.tb-brand){display:block;color:#cbd5e1!important;text-decoration:none!important;font-size:13px;margin:0 0 11px}.tb-footer-grid section>a:hover{color:#fff!important}.tb-footer-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.tb-footer-badges span{border:1px solid #344054;border-radius:999px;padding:7px 10px;font-size:11px}.tb-footer-bottom{border-top:1px solid #263244}.tb-footer-bottom .tb-wrap{min-height:56px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#98a2b3}
@media(max-width:1000px){.tb-main-head-inner{grid-template-columns:auto 1fr}.tb-head-selectors{display:none}.tb-help-link{display:none}.tb-menu-list{gap:16px}.tb-footer-grid{grid-template-columns:1fr 1fr;gap:34px}}
@media(max-width:760px){.tb-utility{display:none}.tb-wrap{width:min(100% - 24px,1320px)}.tb-main-head-inner{grid-template-columns:1fr auto;gap:14px;padding:12px 0}.tb-brand-name{font-size:23px}.tb-brand-mark{width:36px;height:36px}.tb-header-search{grid-column:1/-1;grid-row:2}.tb-nav-inner{min-height:52px}.tb-primary-nav{display:none}.tb-customer-nav{margin-left:auto}.tb-account-link{display:none}.tb-categories-button{padding:8px 13px}.tb-footer-grid{grid-template-columns:1fr}.tb-footer-main{padding-top:40px}.tb-footer-bottom .tb-wrap{flex-direction:column;justify-content:center;gap:4px;padding:12px 0}}

/* Navegación v2 */
.tb-header-search button svg,.tb-round-link svg,.tb-help-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tb-categories-menu{position:relative}.tb-categories-menu summary{list-style:none;cursor:pointer}.tb-categories-menu summary::-webkit-details-marker{display:none}
.tb-categories-button{min-width:140px;justify-content:center}.tb-menu-dot{display:flex!important;flex-direction:column;gap:3px;align-items:center;justify-content:center}.tb-menu-dot span{display:block;width:11px;height:1.5px;background:#fff;border-radius:2px}.tb-chevron{font-size:13px;color:#667085;margin-left:2px}
.tb-categories-panel{position:absolute;top:calc(100% + 9px);left:0;width:620px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:5px;box-shadow:0 18px 48px rgba(16,24,40,.14);z-index:100;transform-origin:top left}
.tb-categories-menu:not([open]) .tb-categories-panel{display:none}.tb-categories-panel a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;color:#1d2939!important;text-decoration:none!important;font-size:13px}.tb-categories-panel a:hover{background:#f2f6fc}.tb-categories-panel a span{width:34px;height:34px;border-radius:9px;background:#edf4ff;color:#175cd3;display:grid;place-items:center;font-size:10px;font-weight:800}.tb-categories-panel a strong{font-size:13px}
.tb-round-link svg{width:19px;height:19px}.tb-cart-link svg{stroke:#fff}.tb-help-icon svg{width:17px;height:17px}
.tb-primary-nav .tb-menu-list{flex-wrap:nowrap}
@media(max-width:760px){.tb-categories-panel{position:fixed;left:12px;right:12px;top:170px;width:auto;grid-template-columns:1fr;max-height:calc(100vh - 200px);overflow:auto}.tb-categories-button{min-width:auto}.tb-help-copy{display:none}}

/* Pulido visual de categorías y cabecera */
.tb-home .tb-card{position:relative;overflow:hidden}.tb-home .tb-card:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-35px;top:-35px;background:var(--tb-card-accent,#edf4ff);opacity:.75;pointer-events:none}
.tb-home .tb-card:nth-child(1){--tb-card-accent:#dbeafe}.tb-home .tb-card:nth-child(2){--tb-card-accent:#dcfce7}.tb-home .tb-card:nth-child(3){--tb-card-accent:#fef3c7}.tb-home .tb-card:nth-child(4){--tb-card-accent:#f3e8ff}.tb-home .tb-card:nth-child(5){--tb-card-accent:#cffafe}.tb-home .tb-card:nth-child(6){--tb-card-accent:#ffedd5}.tb-home .tb-card:nth-child(7){--tb-card-accent:#e0e7ff}.tb-home .tb-card:nth-child(8){--tb-card-accent:#ffe4e6}
.tb-home .tb-card .tb-ico{position:relative;z-index:1}.tb-home .tb-card strong,.tb-home .tb-card small,.tb-home .tb-card .tb-link{position:relative;z-index:1}
.tb-site-header{box-shadow:0 1px 0 rgba(16,24,40,.04)}.tb-main-head-inner,.tb-nav-inner{transition:min-height .2s ease}.tb-header-search:focus-within{border-color:#84adff;box-shadow:0 0 0 3px rgba(23,92,211,.10)}
.tb-selector:hover,.tb-round-link:hover,.tb-categories-button:hover{border-color:#b9c9df}.tb-menu-list a:hover{color:var(--tb-blue)!important}
@media(max-width:760px){.tb-brand-name{letter-spacing:-.7px}.tb-header-search{height:43px}.tb-nav-row{position:sticky;top:0;z-index:90}.tb-customer-nav{gap:7px}.tb-round-link{width:36px;height:36px}}

/* Hotfix 2026-09-26: desplegable vertical de categorías */
.tb-nav-inner{position:relative;overflow:visible!important}
.tb-categories-menu{position:relative!important;flex:0 0 auto!important}
.tb-categories-panel{position:absolute!important;top:calc(100% + 9px)!important;left:0!important;right:auto!important;width:330px!important;display:flex!important;flex-direction:column!important;gap:4px!important;z-index:9999!important}
.tb-categories-menu:not([open]) .tb-categories-panel{display:none!important}
.tb-categories-panel a{width:100%!important;white-space:normal!important}
.tb-categories-panel a strong{display:block!important;line-height:1.25}
@media(max-width:760px){.tb-categories-panel{position:fixed!important;left:12px!important;right:12px!important;top:170px!important;width:auto!important;max-height:calc(100vh - 200px);overflow:auto}}

/* Ajustes cabecera 2026-09-26 */
.tb-brand{gap:0}.tb-brand-logo{display:block;width:215px;height:auto;max-height:56px}
.tb-brand-mark,.tb-brand-name{display:none!important}
.tb-header-search button{width:64px!important}.tb-header-search button svg{width:36px!important;height:36px!important;stroke-width:2.8!important}
.tb-select-arrow,.tb-chevron{display:inline-block!important;width:0!important;height:0!important;border-left:4px solid transparent!important;border-right:4px solid transparent!important;border-top:5px solid #667085!important;margin-left:7px!important;vertical-align:middle}
.tb-chevron{margin-left:2px!important}
.tb-selector span.tb-select-arrow{color:transparent!important}
.tb-help-icon{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;background:transparent!important;border-radius:0!important;overflow:visible!important}
.tb-help-icon svg{display:none!important}
.tb-help-icon img{display:block!important;width:42px!important;height:42px!important;object-fit:contain!important}
@media(max-width:760px){.tb-brand-logo{width:165px;max-height:46px}}

/* Cabecera adaptable: selectores y navegacion movil */
@media(max-width:1000px){
 .tb-main-head-inner{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 0}
 .tb-head-selectors{display:flex;grid-column:2;grid-row:1;justify-self:end;gap:6px}
 .tb-main-head-inner>.tb-brand{grid-column:1;grid-row:1;justify-self:start;min-width:0;max-width:100%}
 .tb-header-search{grid-column:1/-1;grid-row:2;min-width:0}
 .tb-header-search input[type="search"]{min-width:0;width:0}
 .tb-header-search button{flex:0 0 64px;display:grid;place-items:center;padding:0}
}
@media(max-width:760px){
 .tb-selector{height:40px;min-height:40px;padding:0 9px;font-size:12px;white-space:nowrap}
 .tb-brand-logo{width:clamp(120px,38vw,185px);max-width:100%;max-height:50px}
 .tb-nav-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:6px 0}
 .tb-primary-nav{display:block;min-width:0}
 .tb-primary-nav .tb-menu-list{gap:clamp(8px,2vw,16px);justify-content:center}
 .tb-primary-nav #menu-item-28,.tb-primary-nav #menu-item-30{display:none!important}
 .tb-primary-nav .tb-menu-list a{display:flex;align-items:center;min-height:40px;font-size:13px;white-space:nowrap}
 .tb-account-link{display:grid}
 .tb-customer-nav{gap:6px;margin-left:0}
 .tb-customer-nav .tb-round-link{width:38px;height:38px;flex:0 0 38px}
 .tb-categories-button{gap:6px;padding:8px 10px;font-size:12px;min-height:40px}
 .tb-menu-dot{width:22px;height:22px}
 .tb-categories-panel{position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:auto!important;width:min(330px,calc(100vw - 24px))!important;max-height:60vh;overflow:auto}
}
@media(max-width:439px){
 .tb-nav-inner{grid-template-columns:1fr auto;gap:2px 10px}
 .tb-categories-menu{grid-column:1;grid-row:1;justify-self:start}
 .tb-customer-nav{grid-column:2;grid-row:1;justify-self:end}
 .tb-primary-nav{grid-column:1/-1;grid-row:2}
 .tb-primary-nav .tb-menu-list{justify-content:space-around;gap:12px}
 .tb-primary-nav .tb-menu-list a{min-height:38px}
 .tb-selector{padding:0 7px}
 .tb-selector .tb-select-arrow{margin-left:4px!important}
}

/* Atencion al cliente en la navegacion movil */
.tb-help-link[aria-disabled="true"]{cursor:default}
@media(max-width:760px){
 .tb-nav-inner{grid-template-columns:minmax(0,1fr) auto auto auto;gap:2px 8px}
 .tb-categories-menu{grid-column:1/3;grid-row:1;justify-self:start}
 .tb-customer-nav{display:contents}
 .tb-account-link{grid-column:3;grid-row:1}
 .tb-cart-link{grid-column:4;grid-row:1}
 .tb-primary-nav{grid-column:1;grid-row:2;align-self:center}
 .tb-primary-nav .tb-menu-list{justify-content:flex-start;gap:16px}
 .tb-primary-nav #menu-item-29{display:none!important}
 .tb-help-link{display:flex;grid-column:2/5;grid-row:2;justify-self:end;gap:6px;min-height:44px}
 .tb-help-copy{display:flex}
 .tb-help-copy small{display:none}
 .tb-help-copy strong{font-size:11px;line-height:1.2;max-width:100px}
 .tb-help-icon,.tb-help-icon img{width:32px!important;height:32px!important}
}

/* Menu movil en una sola fila */
@media(max-width:760px){
 .tb-nav-inner{grid-template-columns:auto auto minmax(0,1fr) auto auto;gap:5px;min-height:54px}
 .tb-categories-menu{grid-column:1;grid-row:1}
 .tb-primary-nav{grid-column:2;grid-row:1}
 .tb-primary-nav .tb-menu-list{gap:8px}
 .tb-primary-nav .tb-menu-list a{font-size:12px}
 .tb-help-link{grid-column:3;grid-row:1;justify-self:center;gap:3px;min-width:0}
 .tb-help-copy{min-width:0}
 .tb-help-copy strong{font-size:10px;max-width:86px}
 .tb-help-icon,.tb-help-icon img{width:27px!important;height:27px!important;flex-shrink:0}
 .tb-account-link{grid-column:4;grid-row:1}
 .tb-cart-link{grid-column:5;grid-row:1}
 .tb-customer-nav .tb-round-link{width:32px;height:36px;min-width:0}
 .tb-categories-button{padding:7px 8px;gap:4px;font-size:11px}
 .tb-menu-dot{width:20px;height:20px}
}
@media(max-width:380px){
 .tb-nav-inner{gap:3px}
 .tb-categories-button{padding:7px 5px}
 .tb-categories-button .tb-menu-dot{display:none!important}
 .tb-primary-nav .tb-menu-list{gap:6px}
 .tb-primary-nav .tb-menu-list a{font-size:11px}
 .tb-customer-nav .tb-round-link{width:28px;height:34px}
 .tb-help-icon,.tb-help-icon img{width:23px!important;height:23px!important}
 .tb-help-copy strong{font-size:9px;max-width:53px}
}

/* Texto legible y contacto movil */
.tb-help-mobile{display:none}
@media(max-width:760px){
 .tb-help-copy .tb-help-desktop{display:none}
 .tb-help-copy .tb-help-mobile{display:block}
 .tb-categories-button,.tb-primary-nav .tb-menu-list a,.tb-help-copy strong{font-size:15px;line-height:1.2}
 .tb-help-copy strong{max-width:none;white-space:nowrap}
 .tb-primary-nav .tb-menu-list{gap:10px}
 .tb-help-link{gap:4px;justify-self:center}
 .tb-nav-inner{gap:5px}
}
@media(max-width:440px){
 .tb-categories-button .tb-menu-dot{display:none!important}
 .tb-categories-button,.tb-primary-nav .tb-menu-list a,.tb-help-copy strong{font-size:14px}
 .tb-categories-button{padding:7px 3px;gap:2px}
 .tb-categories-button .tb-chevron{margin-left:0!important;border-left-width:3px!important;border-right-width:3px!important}
 .tb-primary-nav .tb-menu-list{gap:7px}
 .tb-nav-inner{gap:3px}
 .tb-help-link{gap:2px}
 .tb-help-icon,.tb-help-icon img{width:22px!important;height:22px!important}
 .tb-customer-nav .tb-round-link{width:28px;height:36px}
}
@media(max-width:360px){
 .tb-categories-button,.tb-primary-nav .tb-menu-list a,.tb-help-copy strong{font-size:13px}
 .tb-primary-nav .tb-menu-list{gap:5px}
 .tb-nav-inner{gap:2px}
 .tb-categories-button{padding:7px 2px}
 .tb-help-icon,.tb-help-icon img{width:20px!important;height:20px!important}
 .tb-customer-nav .tb-round-link{width:25px}
}

@media(max-width:360px){
 .tb-nav-inner{grid-template-columns:auto auto auto auto auto;justify-content:space-between;gap:2px}
 .tb-categories-button,.tb-primary-nav .tb-menu-list a,.tb-help-copy strong{font-size:12.5px;letter-spacing:-.3px}
 .tb-categories-button{padding:7px 0}
 .tb-categories-button .tb-chevron{display:none!important}
 .tb-primary-nav .tb-menu-list{gap:4px}
 .tb-help-link{gap:1px}
 .tb-help-icon,.tb-help-icon img{width:17px!important;height:17px!important}
 .tb-customer-nav .tb-round-link{width:24px}
}

/* Marca y formas de pago del footer */
.tb-footer-logo{display:block;width:238px;max-width:100%;height:auto}
.tb-footer-brand .tb-brand-footer{max-width:100%;margin-bottom:6px}
.tb-footer-bottom .tb-wrap{gap:20px;padding-top:16px;padding-bottom:16px;flex-wrap:wrap}
.tb-footer-payment{display:flex;align-items:center;justify-content:flex-end;gap:18px;max-width:100%;flex-wrap:wrap}
.tb-footer-payment img{display:block;width:255px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:760px){.tb-footer-bottom .tb-wrap{height:auto;gap:14px;text-align:center}.tb-footer-payment{justify-content:center;gap:10px}.tb-footer-logo{width:220px}}

/* Páginas legales y consentimiento de cookies */
.tb-legal{max-width:1000px;margin:36px auto;padding:clamp(20px,4vw,48px);background:#fff;border:1px solid #e4e7ec;border-radius:18px;color:#253449;line-height:1.75;font-size:16px}
.tb-legal h1{font-size:clamp(27px,4vw,40px);line-height:1.2;color:#0f2b5b;margin:0 0 22px}
.tb-legal h2{font-size:23px;line-height:1.35;margin:32px 0 15px;color:#0f2b5b}
.tb-legal h3{font-size:19px;margin:24px 0 12px}
.tb-legal p{margin:0 0 16px}.tb-legal ul,.tb-legal ol{padding-left:24px}.tb-legal li{margin:7px 0}
.tb-legal a{color:#175cd3;text-decoration:underline;overflow-wrap:anywhere}
.tb-legal-nav{display:flex;flex-wrap:wrap;gap:10px 18px;border-top:1px solid #e4e7ec;padding-top:22px;margin-top:35px;font-size:14px}
.tb-legal-table{overflow-x:auto}.tb-legal table{width:100%;border-collapse:collapse;font-size:14px}.tb-legal th,.tb-legal td{padding:10px;border:1px solid #d0d5dd;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.tb-cookie-open{border:0;background:transparent;color:#cbd5e1;padding:0;text-align:left;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;margin:0 0 11px}
#tb-cookie-panel[hidden],#tb-cookie-details[hidden]{display:none!important}
#tb-cookie-panel{position:fixed;z-index:999999;bottom:20px;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 24px));max-height:85vh;overflow:auto;background:#fff;color:#253449;padding:24px;border:1px solid #d0d5dd;border-radius:16px;box-shadow:0 6px 40px #10182840;font-size:15px;line-height:1.55}
#tb-cookie-panel h2{font-size:22px;margin:0 0 10px;color:#0f2b5b}#tb-cookie-panel p{margin:0 0 12px}#tb-cookie-panel a{color:#175cd3;text-decoration:underline}
.tb-cookie-actions{display:flex;gap:10px;flex-wrap:wrap}#tb-cookie-panel button{padding:10px 14px;background:#1f67d7;color:#fff;border:1px solid #1f67d7;border-radius:7px;font-size:14px;font-weight:700;cursor:pointer;min-height:44px}
#tb-cookie-details{border-top:1px solid #d0d5dd;margin:12px 0;padding:15px 0}
#tb-cookie-panel label{display:block;margin-bottom:12px}#tb-cookie-panel input{margin-right:8px}
@media(max-width:600px){.tb-legal{margin:18px 12px;padding:22px 18px}.tb-legal h2{font-size:21px}.tb-cookie-actions button{flex:1 1 100%}#tb-cookie-panel{bottom:12px;padding:18px}}


.tb-legal [data-tb-cookie-open]{background:#1f67d7;color:#fff;border:0;border-radius:7px;padding:12px 18px;min-height:44px;font-size:15px;font-weight:700;cursor:pointer}

.tb-info-lead{font-size:21px;color:#0f2b5b;font-weight:600}
.tb-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}
.tb-info-grid section,.tb-info-contact{background:#f0f6ff;border-radius:12px;padding:22px}
.tb-info-grid h3,.tb-info-contact h2{margin-top:0}.tb-info-grid p,.tb-info-contact p:last-child{margin-bottom:0}
.tb-info-contact{margin:30px 0}
.tb-legal a.tb-info-cta{display:inline-block;background:#1f67d7;color:white;text-decoration:none;border-radius:8px;padding:12px 20px;font-weight:700}
.tb-faq-item{border:1px solid #dce4ef;border-radius:10px;margin-bottom:12px;overflow:hidden}
.tb-faq-item summary{cursor:pointer;padding:18px 20px;font-weight:700;color:#0f2b5b;background:#f8faff;line-height:1.5}
.tb-faq-item summary:focus-visible{outline:3px solid #1f67d7;outline-offset:-3px}
.tb-faq-item>div{padding:18px 20px;border-top:1px solid #dce4ef}
@media(max-width:600px){.tb-info-grid{grid-template-columns:1fr}.tb-faq-item summary,.tb-faq-item>div{padding:16px}.tb-info-lead{font-size:19px}}

/* Catálogo principal Top Bazar · 27/09/2026 */
.tb-catalog-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.tb-catalog-card{display:flex;flex-direction:column;min-width:0;padding:16px 16px 18px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;text-decoration:none!important;color:#132a4c!important;transition:transform .18s ease,box-shadow .18s ease}
.tb-catalog-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #163b7014;border-color:#a9cafa}
.tb-catalog-card:focus-visible{outline:3px solid #2166db;outline-offset:3px}
.tb-catalog-photo{display:grid;place-items:center;aspect-ratio:1.2;background:#fff;border-radius:12px;overflow:hidden;margin-bottom:16px}
.tb-catalog-photo img{display:block;width:100%;height:100%;max-height:170px;object-fit:contain}
.tb-catalog-photo--illustrated{aspect-ratio:1}
.tb-catalog-photo--illustrated img{max-height:none;min-height:0;object-fit:cover}
.tb-catalog-card strong{font-size:16px;line-height:1.3;min-height:42px;display:flex;align-items:center}
.tb-catalog-caption{display:block;font-size:12px;line-height:1.5;color:#63748b;margin-top:6px}
.tb-catalog-explore{display:flex;align-items:center;justify-content:space-between;color:#1760cb;font-size:13px;font-weight:700;margin-top:auto;padding-top:16px}
.tb-categories-panel{width:370px!important;max-height:min(680px,calc(100dvh - 220px));overflow-y:auto;padding:9px!important}
.tb-categories-panel a{padding:8px 10px!important;gap:12px!important}
.tb-categories-panel a .tb-category-thumb{flex:0 0 42px;width:42px;height:42px;background:white;border:1px solid #edf0f5;border-radius:9px;overflow:hidden}
.tb-category-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.tb-categories-panel a strong{font-size:14px!important;line-height:1.3!important}
.tb-shop-categories{margin-bottom:36px}
@media(max-width:1100px){.tb-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.tb-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tb-catalog-card{padding:12px;border-radius:14px}.tb-catalog-card strong{font-size:15px;min-height:40px}.tb-catalog-photo{margin-bottom:10px}.tb-catalog-caption{font-size:12px}.tb-categories-panel{width:min(370px,calc(100vw - 24px))!important;max-height:60dvh!important}.tb-categories-panel a{min-height:54px}.tb-catalog-explore{padding-top:12px}}
@media(prefers-reduced-motion:reduce){.tb-catalog-card{transition:none}.tb-catalog-card:hover{transform:none}}

/* Iconos de navegación y servicios · 27/09/2026 */
.tb-categories-panel a .tb-category-symbol{width:40px;height:40px;flex:0 0 40px;border:0;border-radius:12px;background:#edf4ff;color:#2166cb;display:grid;place-items:center}
.tb-category-symbol svg{width:25px;height:25px}
.tb-categories-panel a:nth-child(3n+2) .tb-category-symbol{background:#fff3da;color:#ac6900}
.tb-categories-panel a:nth-child(3n) .tb-category-symbol{background:#e8f7ef;color:#168452}
.tb-service-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px!important}
.tb-service-card{--service-color:#2465c5;--service-bg:#edf4ff;position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:25px 24px;background:#fff;border:1px solid #e3e9f1;border-radius:20px;color:#132a4c!important;text-decoration:none!important;box-shadow:0 5px 20px #183e7005;transition:transform .18s,border-color .18s}
.tb-service-card:hover{transform:translateY(-3px);border-color:var(--service-color)}
.tb-service-card:focus-visible{outline:3px solid var(--service-color);outline-offset:3px}
.tb-service-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:var(--service-bg);color:var(--service-color);margin-bottom:17px}
.tb-service-icon svg{width:32px;height:32px}
.tb-service-card strong{font-size:18px;line-height:1.3;color:#142b4b}
.tb-service-card p{font-size:14px;line-height:1.6;color:#52657d;margin:10px 0 19px}
.tb-service-link{margin-top:auto;font-size:13px;font-weight:750;color:var(--service-color);display:flex;gap:12px;align-items:center}
.tb-service-amber{--service-color:#a46008;--service-bg:#fff3dc}
.tb-service-green{--service-color:#12834d;--service-bg:#e7f8ef}
.tb-service-purple{--service-color:#7351c5;--service-bg:#f0eaff}
@media(max-width:1000px){.tb-service-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.tb-service-strip{grid-template-columns:1fr;gap:12px;margin-top:24px!important}.tb-service-card{padding:20px 20px 20px 90px;min-height:155px;border-radius:16px}.tb-service-icon{position:absolute;left:18px;top:21px;width:52px;height:52px;border-radius:15px}.tb-service-card strong{font-size:17px}.tb-service-card p{margin:7px 0 12px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.tb-service-card{transition:none}.tb-service-card:hover{transform:none}}

/* Selectores de idioma y divisa de la cabecera. */
.tb-head-selectors{
    --tb-control-width:100px;
    --tb-control-height:42px;
    --tb-control-font:13px;
    --tb-control-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3 3.5-3' fill='none' stroke='%23344054' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    align-items:center;
}
.tb-head-selectors :is(.tb-language,.tb-currency){flex:0 0 var(--tb-control-width);width:var(--tb-control-width);min-width:0}
.tb-head-selectors .tb-currency{position:relative}
.tb-head-selectors .tb-currency .wcml-dropdown-click{width:100%;min-width:0;margin:0}
.tb-head-selectors .tb-currency .wcml-dropdown-click>ul{margin:0;padding:0}
.tb-head-selectors .tb-currency .wcml-dropdown-click>ul>li{border:0;background:transparent}
.tb-head-selectors :is(.tb-language .gt_selector,.tb-currency .wcml-cs-item-toggle,.tb-currency .tb-selector){
    box-sizing:border-box;
    display:block;
    appearance:none;
    width:100%!important;
    max-width:100%;
    height:var(--tb-control-height)!important;
    min-height:var(--tb-control-height)!important;
    margin:0;
    border:1px solid #d0d5dd!important;
    border-radius:10px!important;
    padding:0 25px 0 9px!important;
    background:#fff var(--tb-control-chevron) no-repeat right 8px center/12px 12px!important;
    color:#344054!important;
    font-family:inherit;
    font-size:var(--tb-control-font)!important;
    font-weight:600;
    line-height:normal;
    text-align:left;
    white-space:nowrap;
    cursor:pointer;
}
.tb-head-selectors .tb-currency .tb-selector{display:flex;align-items:center}
.tb-head-selectors .tb-currency .wcml-cs-item-toggle::after{content:none}
.tb-head-selectors :is(.gt_selector,.wcml-cs-item-toggle):hover{border-color:#b9c9df!important}
.tb-head-selectors :is(.gt_selector,.wcml-cs-item-toggle):focus-visible{outline:2px solid #2161d1;outline-offset:2px}
.tb-head-selectors .tb-currency .wcml-cs-submenu{z-index:1005;min-width:100%;max-height:320px;overflow-y:auto;border:1px solid #d0d5dd;border-radius:8px;background:#fff;box-shadow:0 8px 22px #0f2b5b18}
.tb-head-selectors .tb-currency .wcml-cs-submenu :is(a,button){width:100%;padding:9px 12px;color:#344054;font-family:inherit;font-size:var(--tb-control-font);text-align:left;white-space:nowrap}
.tb-head-selectors .tb-currency .wcml-cs-submenu :is(a,button):is(:hover,:focus-visible){background:#edf4ff;color:#1261df}
@media(max-width:1000px){.tb-head-selectors{--tb-control-width:84px;--tb-control-height:40px;--tb-control-font:12px}}
@media(max-width:380px){.tb-head-selectors{--tb-control-width:76px;--tb-control-font:11px}}
body:has(.cmplz-cookiebanner.cmplz-show) .joinchat{visibility:hidden}

/* Acceso de cuenta con saludo personalizado. */
.tb-account-label{display:none}
@media(min-width:761px){
 .tb-customer-nav .tb-account-link{display:inline-flex;width:auto;min-width:38px;flex:0 1 auto;align-items:center;justify-content:center;gap:8px;padding:0 14px;border-radius:999px;height:42px}
 .tb-account-link svg{flex:0 0 20px;width:20px;height:20px}
 .tb-account-label{display:block;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}
 .tb-nav-inner{gap:18px}
}
@media(min-width:761px) and (max-width:1100px){
 .tb-help-copy{display:none}
 .tb-nav-inner{gap:10px}
 .tb-account-label{max-width:180px;font-size:12px}
}

/* Automatic homepage product selections. */
.tb-showcase > p{margin:-10px 0 20px;color:#475569}
.tb-showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none;margin:0 0 18px;padding:0}
.tb-showcase-grid > li{display:flex;min-width:0}
.tb-showcase-card{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0;padding:15px;background:#fff;border:1px solid #dce4ef;border-radius:16px;color:#102449;text-decoration:none!important;overflow-wrap:anywhere}
.tb-showcase-card:hover,.tb-showcase-card:focus-visible{border-color:#78a4e8}
.tb-showcase-photo{display:grid;place-items:center;aspect-ratio:1.2;overflow:hidden}
.tb-showcase-photo img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.tb-showcase-category{color:#526882;font-size:12px}
.tb-showcase-card strong{line-height:1.35;font-size:15px;margin-bottom:auto}
.tb-showcase-card .price{color:#164a91;font-weight:750;font-size:19px}
.tb-showcase-card .price del{font-size:.8em}
.tb-showcase-cta,.tb-showcase-more{font-size:14px;font-weight:750;color:#175cd3}
@media(max-width:760px){.tb-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tb-showcase-card{padding:11px}}
