/* RedBajas 2026 · v3 — limpieza (oct. 2026). Se carga después de v2.
   Sin sombras en reposo, sin degradados, sin vidrio ni píldoras; esquinas rectas; texto a 16 px.
   Las superficies se separan por tono: página gris piedra, tarjetas blancas, franjas en negro o rojo de marca. */
:root {
	--rb-bg: #f2f2f0;
	--rb-soft: #e9e9e6;
	--rb-line: #dcdcd8;
	--rb-muted: #575b61;
	--rb-r: 0px;
	--rb-r-sm: 0px;
	--rb-shadow: none;
	--rb-shadow-lg: 0 22px 44px -18px rgba(23, 25, 28, .32);
	--rb-ease: cubic-bezier(0.23, 1, 0.32, 1);
}
body.rb2026 { font-size: 16px; line-height: 1.55; }

/* Cabecera: blanca y plana */
.rb-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.rb-topbar { font-size: 14px; }
.rb-topbar-in { min-height: 38px; }
.rb-search input { border-radius: 0; background: var(--rb-soft); border: 2px solid transparent; padding: 0 64px 0 18px; font-size: 16px; box-shadow: none !important; }
.rb-search input:focus { background: #fff; border-color: var(--rb-ink); }
.rb-search button { border-radius: 0; top: 5px; right: 5px; }
.rb-search #display { border-radius: 0; }
.rb-cart-ic { border-radius: 0; }
.rb-cart-txt small { font-size: 13px; }
.rb-nav { background: var(--rb-ink); border-top: 0; }
.rb-nav-list { gap: 0; padding: 0; }
.rb-nav-item > a, .rb-nav-item:first-child > a { color: #fff; border-radius: 0; padding: 13px 16px; font: 600 15px/1.2 var(--rb-body); background: none; }
.rb-nav-item:first-child > a { padding-left: 0; }
.rb-nav-item > a:hover, .rb-nav-item:hover > a { color: #fff; background: none; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--rb-red); }
.rb-mega { border-radius: 0; top: 100%; }
.rb-drop-menu { border-radius: 0; }
@media (max-width: 991px) {
	.rb-nav { background: var(--rb-ink); }
	.rb-nav-item > a, .rb-nav-item:first-child > a { border-radius: 0; padding: 14px 0; border-bottom: 0; color: #fff; }
}

/* Título de la portada */
.rb-intro { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: end; gap: 20px 56px; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(24px, 3vw, 40px); }
.rb-intro h1 { margin: 0; font: 800 clamp(32px, 4.6vw, 66px)/.98 var(--rb-display); letter-spacing: -.03em; color: var(--rb-ink); text-wrap: balance; }
.rb-intro p { margin: 0 0 18px; font-size: 18px; color: var(--rb-text); max-width: 40ch; }
.rb-intro .rb-btn { min-height: 50px; padding: 0 24px; font-size: 16px; }
@media (max-width: 800px) { .rb-intro { grid-template-columns: 1fr; } .rb-intro h1 { font-size: clamp(32px, 8.6vw, 66px); } }

/* Texto legible: nada que se lea por debajo de 13 px, el texto corrido a 16 px */
.rb-card-name, body.rb2026 #content .item .item-name, body.rb2026 .featured-product h5 { font-size: 16px !important; }
.rb-cur, body.rb2026 .sub-price { font-size: 14px; }
.rb-footer { font-size: 16px; }
.rb-footer-h { font: 700 16px var(--rb-body) !important; letter-spacing: 0; text-transform: none; }
.rb-footer-base { font-size: 14px; }
.rb-mega-col li a { font-size: 15px; }
body.rb2026 .breadcrumb { font-size: 15px; }
.rb-search #display li { font-size: 15px; }

/* Botones planos, rectos, con respuesta al presionar */
.rb-btn, .rb-card .rb-btn, .rb-promo-btn, body.rb2026 .item-add-btn, body.rb2026 .btn-custom, body.rb2026 .btn-custom-2 { border-radius: 0 !important; transition: transform 160ms var(--rb-ease), background-color 160ms ease, color 160ms ease; }
.rb-btn:active, .rb-promo-btn:active, body.rb2026 .item-add-btn:active { transform: scale(.97); }
.rb-btn { font-size: 15px; min-height: 44px; }

/* Portada: carrusel y banners sin marco ni sombra */
.rb-hero { border-radius: 0; box-shadow: none; margin-top: 0; max-width: calc(var(--rb-wrap) - 32px); }
.rb-hero-nav { border-radius: 0; box-shadow: none; }
.rb-banner { border-radius: 0; box-shadow: none; }
.rb-section { margin-top: clamp(64px, 7vw, 112px); }
.rb-sec-head h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.025em; }
.rb-more { background: none; box-shadow: none; border-radius: 0; padding: 8px 0; font-size: 16px; text-decoration: underline !important; text-underline-offset: 5px; text-decoration-thickness: 2px !important; text-decoration-color: var(--rb-red) !important; }
.rb-dep img { box-shadow: none; }
.rb-dep:hover img { box-shadow: none; transform: translateY(-4px); }
.rb-dep span, .rb-dep span { font-size: 15px; }

/* Financiamiento: un campo plano en rojo de marca */
.rb-promo { background: var(--rb-red); border-radius: 0; box-shadow: none; padding: clamp(28px, 4vw, 48px); }
.rb-promo::after { display: none; }
.rb-promo-eyebrow { display: none; }
.rb-promo strong { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; }
.rb-promo-txt > span:last-child { color: #fff; font-size: 17px; }
.rb-promo-btn { background: #fff; color: var(--rb-ink); }
.rb-promo:hover .rb-promo-btn { transform: none; background: var(--rb-ink); color: #fff; }

/* Tarjetas de producto: blancas sobre la piedra, sin sombra */
.rb-card, body.rb2026 #content .item { box-shadow: none; border-radius: 0; transition: background-color 200ms ease; }
.rb-card:hover, body.rb2026 #content .item:hover { transform: none; box-shadow: none; }
.rb-card-media, body.rb2026 #content .item .item-image-container { border-radius: 0; margin: 0; }
.rb-card-media img, body.rb2026 #content .item figure img { transition: transform 500ms var(--rb-ease); }
@media (hover: hover) and (pointer: fine) {
	.rb-card:hover .rb-card-media img, body.rb2026 #content .item:hover figure img { transform: scale(1.04); }
}
.rb-card-body { padding: 16px; }
.rb-card-tax { font-size: 13px; }
.rb-card .rb-btn { background: var(--rb-ink); }

/* Paneles internos */
body.rb2026 .sidebar .widget, body.rb2026 .panel, body.rb2026 .table { box-shadow: none; border-radius: 0; }
body.rb2026 .form-control { border-radius: 0; }

/* Por qué comprar: una franja negra con cuatro datos, sin iconos en círculos */
.rb-trust { background: var(--rb-ink); color: #fff; margin-top: clamp(64px, 7vw, 112px); padding-block: clamp(40px, 5vw, 64px); }
.rb-trust-grid { gap: 32px; }
.rb-trust-item { background: none; border-radius: 0; box-shadow: none; padding: 0; display: block; }
.rb-trust-item svg { display: none; }
.rb-trust-item strong { display: block; font: 800 22px/1.15 var(--rb-display); color: #fff; margin-bottom: 6px; }
.rb-trust-item span { display: block; font-size: 16px; color: #d4d6d9; }
.rb-footer { margin-top: 0; border-radius: 0; background: #0f1012; }
.rb-footer-base { border-top: 0 !important; background: #08090a; }

/* Celular */
@media (max-width: 767px) {
	.rb-topbar, .rb-topbar-tools { font-size: 13px !important; }
	.rb-trust-grid { grid-template-columns: 1fr 1fr !important; gap: 24px 16px; }
	.rb-trust-item strong { font-size: 18px; }
	.rb-trust-item span { font-size: 15px; }
	.rb-footer { border-radius: 0; }
	.rb-dep span { font-size: 14px; }
	body.rb2026 #content .item .item-name { font-size: 15px; }
	body.rb2026 .icon-cart-text-b { font-size: 14px; }
	body.rb2026 .cart-table tr { box-shadow: none; border-radius: 0; }
	body.rb2026 .cart-table td.item-price-col::before, body.rb2026 .cart-table td:nth-child(3)::before, body.rb2026 .cart-table td.item-total-col::before { font: 600 13px var(--rb-body); letter-spacing: 0; text-transform: none; }
	.rb-intro p { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
	.rb-btn:active, .rb-promo-btn:active, body.rb2026 .item-add-btn:active { transform: none; }
	.rb-card-media img, body.rb2026 #content .item figure img, .rb-dep img { transition: none; }
}

/* ===== Páginas de categoría (30 oct. 2026) ===== */
body.rb2026 #category-header { background: #fff; border: 0; padding: 0; margin: 0; }
body.rb2026 #category-header .container { display: flex; align-items: center; gap: 32px; padding-top: 28px; padding-bottom: 28px; }
body.rb2026 #category-header .col-2 { float: none; width: auto; padding: 0; margin: 0; }
body.rb2026 #category-header .col-2:first-child { flex: 0 0 auto; }
body.rb2026 #category-header .col-2.last { flex: 1 1 auto; min-width: 0; }
body.rb2026 #category-header .category-image img { width: auto; max-width: 180px; max-height: 150px; object-fit: contain; }
body.rb2026 #category-header .category-title { padding: 0; margin: 0; text-align: left; }
body.rb2026 #category-header h1 { margin: 0; font: 800 clamp(32px, 4vw, 56px)/1 var(--rb-display); letter-spacing: -.02em; color: var(--rb-ink); overflow-wrap: anywhere; text-transform: none; }
body.rb2026 #category-header .category-title p { margin: 12px 0 0; font-size: 17px; color: var(--rb-text); max-width: 60ch; }
body.rb2026 #category-header .category-title p:empty { display: none; }

body.rb2026 #category-breadcrumb { margin: 0; padding: 18px 0 0; border: 0; }
body.rb2026 #category-breadcrumb .breadcrumb { margin: 0; padding: 0; background: none; font-size: 15px; }
body.rb2026 .breadcrumb > li + li::before { content: "›"; color: var(--rb-muted); padding: 0 8px; }
body.rb2026 .breadcrumb a { color: var(--rb-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rb-line); }
body.rb2026 .breadcrumb .active { color: var(--rb-muted); }

.rb-subcats { margin: 18px 0 8px; }
.rb-subcats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rb-subcats a { display: block; padding: 11px 16px; background: #fff; color: var(--rb-ink) !important; font: 600 15px/1.2 var(--rb-body); text-decoration: none !important; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--rb-ease); }
.rb-subcats a:hover { background: var(--rb-ink); color: #fff !important; }
.rb-subcats a:active { transform: scale(.97); }

body.rb2026 .category-toolbar { border: 0 !important; padding: 0; margin: 24px 0 16px; background: none; }
body.rb2026 .category-toolbar .toolbox-filter:empty { display: none; }
body.rb2026 .md-margin { height: 0; }
body.rb2026 .pagination { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
body.rb2026 .pagination > li > a, body.rb2026 .pagination > li > span { float: none; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 0 !important; border-radius: 0 !important; background: #fff; color: var(--rb-ink); font: 600 15px var(--rb-body); }
body.rb2026 .pagination > .active > a, body.rb2026 .pagination > .active > a strong { background: var(--rb-ink) !important; color: #fff !important; }
body.rb2026 .pagination > li > a:hover { background: var(--rb-soft); }

/* Nombre completo del producto, hasta 3 líneas */
body.rb2026 #content .item .item-name { min-height: 0; line-height: 1.35; }
body.rb2026 #content .item .item-name a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--rb-ink); }
body.rb2026 #content .item .item-name a:hover { text-decoration: underline; }

/* Columna lateral legible */
body.rb2026 .sidebar .widget { background: #fff; padding: 20px; margin-bottom: 16px; }
body.rb2026 .sidebar .accordion-title span, body.rb2026 .sidebar .widget h3 { font: 800 20px/1.2 var(--rb-display) !important; color: var(--rb-ink); text-transform: none; letter-spacing: -.01em; }
body.rb2026 .category-filter-list { height: auto !important; max-height: none !important; }
body.rb2026 .category-filter-list li a { display: block; padding: 8px 0; color: var(--rb-ink) !important; font: 500 15px/1.3 var(--rb-body); text-transform: none; }
body.rb2026 .category-filter-list li a:hover { color: var(--rb-red) !important; }
body.rb2026 .featured-product h5 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--rb-ink); text-transform: none; }
body.rb2026 .sidebar .ratings-container { display: none; }

@media (max-width: 767px) {
	body.rb2026 #category-header .container { gap: 16px; padding-top: 20px; padding-bottom: 20px; }
	body.rb2026 #category-header .category-image img { max-width: 88px; max-height: 80px; }
	body.rb2026 #category-header h1 { font-size: clamp(24px, 7vw, 34px); }
	body.rb2026 #category-header .category-title p { font-size: 15px; }
	.rb-subcats a { padding: 10px 14px; font-size: 15px; }
	body.rb2026 .category-toolbar { margin: 16px 0 12px; }
	body.rb2026 .sidebar .featured, body.rb2026 .sidebar .banner-slider-container { display: none; }
}
body.rb2026 .featured-price, body.rb2026 .featured-price .sub-price { font: 700 15px/1.3 var(--rb-body) !important; color: var(--rb-red-dark) !important; }
body.rb2026 .toolbox-pagination, body.rb2026 .pagination-container { border: 0 !important; padding: 0 !important; background: none !important; }
body.rb2026 .pagination-container { margin: 24px 0 8px; }
@media (max-width: 767px) {
	body.rb2026 #content #category-header h1 { font-size: clamp(26px, 7.4vw, 34px) !important; line-height: 1.05; }
}
@media (max-width: 767px) {
	body.rb2026 #category-header .col-2:first-child { display: none; }
	body.rb2026 #content #category-header h1 { font-size: clamp(24px, 7.6vw, 34px) !important; overflow-wrap: normal; }
	body.rb2026 .pagination > li > a, body.rb2026 .pagination > li > span { min-width: 40px; min-height: 40px; }
}

/* ===== Páginas internas: márgenes, títulos y formularios (30 oct. 2026) ===== */
body.rb2026 #content > .container, body.rb2026 #content .container, body.rb2026 #breadcrumb-container .container, body.rb2026 #category-breadcrumb .container { width: auto !important; max-width: var(--rb-wrap); padding-left: max(16px, env(safe-area-inset-left, 0px)) !important; padding-right: max(16px, env(safe-area-inset-right, 0px)) !important; }
body.rb2026 #breadcrumb-container { border: 0 !important; background: none; padding: 18px 0 0; }
body.rb2026 #breadcrumb-container .breadcrumb { margin: 0; padding: 0; background: none; font-size: 15px; }
body.rb2026 hr { border: 0; height: 0; margin: 16px 0; }
body.rb2026 #content h1, body.rb2026 .title-bg .title, body.rb2026 .content-title .title { font: 800 clamp(28px, 3vw, 44px)/1.08 var(--rb-display) !important; letter-spacing: -.02em; color: var(--rb-ink); text-transform: none; }
body.rb2026 .title-bg { border: 0 !important; background: none !important; padding: 0 !important; }
body.rb2026 .title-bg .title { padding: 0 !important; border: 0 !important; background: none !important; }
body.rb2026 .title-bg .title::before, body.rb2026 .title-bg::before, body.rb2026 .title-bg::after { display: none !important; }
body.rb2026 .input-group-addon, body.rb2026 label, body.rb2026 .form-group label { color: var(--rb-ink) !important; }
body.rb2026 .input-group-addon { border-radius: 0 !important; }
body.rb2026 #content .form-control, body.rb2026 #content input.input-text { border-radius: 0 !important; min-height: 46px; font-size: 16px; }

/* Ficha de producto */
body.rb2026 .product-name { font: 800 clamp(24px, 2.4vw, 34px)/1.12 var(--rb-display) !important; letter-spacing: -.015em; color: var(--rb-ink); text-transform: none; margin: 0 0 12px; }
.rb-pd-price { margin: 0 0 18px; font: 800 clamp(30px, 3vw, 40px)/1 var(--rb-display); color: var(--rb-red-dark); }
.rb-pd-price .sub-price { font-size: .5em !important; vertical-align: .55em; margin-right: 2px; color: var(--rb-red-dark) !important; }
body.rb2026 #product-image-container .item-price-container-detail { display: none !important; }
body.rb2026 .product-list li, body.rb2026 .product-list li span { color: var(--rb-text) !important; font-size: 15px; }
body.rb2026 .product-list li span { font-weight: 700; }
body.rb2026 .product-extra { display: none; }
body.rb2026 .product-add .btn-custom-2 { background: var(--rb-red) !important; color: #fff !important; border: 0 !important; min-height: 52px; padding: 0 28px; font: 700 16px var(--rb-body) !important; text-transform: none; }
body.rb2026 .product-add .btn-custom-2:hover { background: var(--rb-red-dark) !important; }
body.rb2026 .custom-quantity-input input { border-radius: 0 !important; min-height: 52px; }
body.rb2026 .tab-container.left .nav-tabs { float: none !important; width: auto !important; display: flex; gap: 0; border: 0 !important; margin: 0; padding: 0; }
body.rb2026 .tab-container.left .nav-tabs > li { float: none; margin: 0; }
body.rb2026 .tab-container.left .nav-tabs > li > a { border: 0 !important; border-radius: 0 !important; background: var(--rb-ink) !important; color: #fff !important; font: 700 16px var(--rb-body); padding: 14px 20px; margin: 0; }
body.rb2026 .tab-container.left .tab-content { margin-left: 0 !important; border: 0 !important; background: #fff; padding: clamp(20px, 3vw, 36px); min-height: 0; }
body.rb2026 .tab-content h2, body.rb2026 .tab-content h2 strong { font: 800 22px/1.2 var(--rb-display) !important; color: var(--rb-ink); }
body.rb2026 .tab-content p, body.rb2026 .tab-content li { color: var(--rb-text) !important; font-size: 16px; line-height: 1.65; }
body.rb2026 .tab-content p:empty, body.rb2026 .tab-content p:has(> br:only-child) { display: none; }
body.rb2026 .product-detail-tab { margin-bottom: 0; }
body.rb2026 .lg-margin2x { height: clamp(32px, 4vw, 56px); }
body.rb2026 .col-md-9:has(> .product-detail-tab) { width: 100%; }

/* Productos relacionados */
body.rb2026 .purchased-items-container .content-title { margin-bottom: 20px; }
body.rb2026 .purchased-items-slider .item { background: #fff; margin: 0 6px; padding: 0 0 16px; display: flex; flex-direction: column; height: 100%; }
body.rb2026 .purchased-items-slider .item-image-container { position: relative; padding: 16px; background: #fff; }
body.rb2026 .purchased-items-slider .item-image-container img { mix-blend-mode: multiply; aspect-ratio: 1; object-fit: contain; }
body.rb2026 .purchased-items-slider .item-price-container-home { position: static !important; display: block; text-align: left !important; padding: 10px 0 0; background: none !important; }
body.rb2026 .purchased-items-slider .item-price { position: static !important; font: 800 18px var(--rb-display) !important; color: var(--rb-ink) !important; float: none !important; }
body.rb2026 .purchased-items-slider .item-meta-container { padding: 0 16px; text-align: left; }
body.rb2026 .purchased-items-slider .item-name { margin: 6px 0 12px; font: 600 15px/1.35 var(--rb-body) !important; text-transform: none; text-align: left; }
body.rb2026 .purchased-items-slider .item-name a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--rb-ink); }
body.rb2026 .purchased-items-slider .item-action { position: static !important; opacity: 1 !important; padding: 0; }
body.rb2026 .purchased-items-slider .item-add-btn { display: block; position: static !important; }
body.rb2026 .carousel-btn { border-radius: 0 !important; border: 0 !important; background-color: #fff !important; }
body.rb2026 .tab-container.left .tab-content { float: none !important; width: auto !important; }
body.rb2026 .tab-container.left .tab-content .tab-pane > * { max-width: 75ch; }
body.rb2026 #content h1.product-name { font: 800 clamp(24px, 2.4vw, 34px)/1.12 var(--rb-display) !important; }
body.rb2026 .purchased-items-slider figure { position: relative !important; height: auto !important; margin: 0; }
body.rb2026 .purchased-items-slider figure img, body.rb2026 .purchased-items-slider figure a { position: static !important; display: block; width: 100% !important; height: auto !important; opacity: 1 !important; }
body.rb2026 .purchased-items-slider .item-image-container { height: auto !important; }
body.rb2026 .purchased-items-container { padding: 0; }
body.rb2026 .purchased-items-container .content-title { padding-right: 104px; }
body.rb2026 .purchased-items-container .title { font-size: clamp(24px, 2.6vw, 36px) !important; }
@media (max-width: 991px) { body.rb2026 .purchased-items-container { margin-left: 16px; margin-right: 16px; } }
body.rb2026 .custom-quantity-input { margin-left: 0 !important; }
.rb-search-h { margin: 18px 0 4px; }
.rb-search-n { margin: 0 0 8px; color: var(--rb-text); font-size: 16px; }
.rb-legal { padding-top: 24px; padding-bottom: 64px; }
.rb-legal h1 { margin: 0 0 20px; }
.rb-legal h2 { font: 800 24px/1.2 var(--rb-display); margin: 32px 0 10px; color: var(--rb-ink); }
.rb-legal p, .rb-legal li { font-size: 17px; line-height: 1.65; color: var(--rb-text); max-width: 72ch; }
.rb-legal a { color: var(--rb-ink); text-decoration: underline; }
