:root{
  --drb-red:#e52518;
  --drb-red-dark:#b9140d;
  --drb-black:#111214;
  --drb-charcoal:#242629;
  --drb-gray:#6d7278;
  --drb-light:#f5f6f7;
  --drb-white:#fff;
  --drb-border:#e2e5e8;
  --drb-success:#1d8f51;
  --drb-container:1380px;
  --drb-radius:8px;
  --drb-shadow:0 12px 32px rgba(17,18,20,.09);
}
body.drb-storefront{margin:0;background:var(--drb-light);color:var(--drb-charcoal);font-family:"Nunito",Arial,Helvetica,sans-serif}
.drb-storefront a{text-decoration:none;color:inherit}.drb-storefront img{max-width:100%;display:block}.drb-storefront button,.drb-storefront input{font:inherit}
.drb-container{width:min(calc(100% - 28px),var(--drb-container));margin:0 auto}

/* Cabecera */
.drb-topbar{background:var(--drb-black);color:#e8e8e8;font-size:13px}.drb-topbar__inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:18px}.drb-topbar strong{color:#fff}.drb-topbar__links{display:flex;gap:18px}
.drb-header{background:#fff;border-bottom:1px solid var(--drb-border);position:sticky;top:0;z-index:50}.drb-header__main{min-height:110px;display:grid;grid-template-columns:300px minmax(280px,1fr) auto;align-items:center;gap:28px}.drb-brand{display:flex;align-items:center}.drb-logo{width:300px;max-height:108px;object-fit:contain}
.drb-search{display:flex;border:2px solid var(--drb-red);border-radius:var(--drb-radius);overflow:hidden;background:#fff;min-width:0}.drb-search input{border:0;outline:0;width:100%;min-width:0;padding:14px 16px;color:#222}.drb-search button{border:0;background:var(--drb-red);color:#fff;padding:0 22px;font-weight:800;cursor:pointer}.drb-search button:hover{background:var(--drb-red-dark)}
.drb-header__actions{display:flex;align-items:center;gap:10px}.drb-action{border:1px solid var(--drb-border);background:#fff;border-radius:var(--drb-radius);min-height:46px;padding:8px 13px;display:flex;align-items:center;gap:9px;font-weight:700;white-space:nowrap}.drb-action__icon{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--drb-light);font-size:13px}.drb-action .portal-cart-count{background:var(--drb-red)}
.drb-nav{background:var(--drb-red);color:#fff}.drb-nav__inner{display:flex;align-items:center;min-height:50px}.drb-nav a{display:flex;align-items:center;min-height:50px;padding:0 18px;font-weight:800;font-size:14px}.drb-nav a:hover{background:rgba(0,0,0,.12)}.drb-nav__categories{background:var(--drb-black)!important;min-width:210px;justify-content:center}.drb-nav__scroll{display:flex;overflow:auto;scrollbar-width:none}.drb-nav__scroll::-webkit-scrollbar{display:none}
.drb-devbar{background:#2a2b2d;padding-left:max(14px,calc((100% - var(--drb-container))/2 + 14px));padding-right:max(14px,calc((100% - var(--drb-container))/2 + 14px))}

/* Carrusel */
.drb-carousel{background:#fff;padding:18px 0 0}.drb-carousel__viewport{position:relative;overflow:hidden;border-radius:10px;background:#e9ecef;box-shadow:0 8px 26px rgba(0,0,0,.05)}.drb-carousel__track{display:flex;transition:transform .5s ease}.drb-slide{min-width:100%;position:relative;min-height:390px;display:grid;align-items:center;overflow:hidden;background:linear-gradient(110deg,#202225 0%,#303337 56%,#111214 100%)}
.drb-slide__bg{position:absolute;inset:0;background-size:cover;background-position:center}.drb-slide__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,18,20,.88),rgba(17,18,20,.55) 48%,rgba(17,18,20,.12))}.drb-slide__inner{position:relative;z-index:2;padding:48px 64px;display:grid;grid-template-columns:minmax(0,1fr) 430px;align-items:center;gap:36px;color:#fff}.drb-slide__copy{max-width:650px}.drb-slide__eyebrow{font-weight:900;text-transform:uppercase;letter-spacing:.9px;font-size:12px;color:#fff;display:inline-block;background:var(--drb-red);padding:7px 10px;border-radius:4px}.drb-slide h1,.drb-slide h2{font-size:clamp(34px,4vw,58px);line-height:1;margin:16px 0 14px;font-weight:900;letter-spacing:-.7px}.drb-slide p{font-size:17px;max-width:560px;margin:0 0 18px;color:#f2f2f2}.drb-slide__price{font-size:31px;font-weight:900;color:#fff}.drb-slide__price small{display:block;font-size:12px;font-weight:700;opacity:.75;margin-top:4px}.drb-slide__product{justify-self:end;width:min(100%,390px);aspect-ratio:1/1;background:#fff;border-radius:20px;padding:28px;display:grid;place-items:center;box-shadow:0 18px 40px rgba(0,0,0,.18)}.drb-slide__product img{width:100%;height:100%;object-fit:contain}.drb-slide__placeholder{font-size:46px;font-weight:900;color:#d3d5d7}.drb-slide--light{background:linear-gradient(110deg,#fff 0%,#fff 45%,#eceff1 100%)}.drb-slide--light .drb-slide__inner{color:var(--drb-black)}.drb-slide--light p{color:#5e6368}.drb-slide--light .drb-slide__eyebrow{background:var(--drb-black)}.drb-slide--light .drb-slide__price{color:var(--drb-red)}.drb-slide--red{background:linear-gradient(110deg,#95130c 0%,#e52518 55%,#111214 100%)}
.drb-carousel__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#111;font-size:24px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.15)}.drb-carousel__arrow--prev{left:14px}.drb-carousel__arrow--next{right:14px}.drb-carousel__dots{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:7px;z-index:5}.drb-carousel__dot{width:10px;height:10px;border-radius:50%;border:0;background:#fff;opacity:.6;padding:0;cursor:pointer}.drb-carousel__dot.is-active{opacity:1;background:var(--drb-red);transform:scale(1.18)}.drb-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:5px;background:var(--drb-red);color:#fff!important;min-height:44px;padding:0 18px;font-weight:900;cursor:pointer}

/* Beneficios y estado */
.drb-benefits{background:#fff;border-bottom:1px solid var(--drb-border)}.drb-benefits__grid{display:grid;grid-template-columns:repeat(4,1fr)}.drb-benefit{padding:20px 22px;display:flex;align-items:center;gap:13px;border-right:1px solid var(--drb-border)}.drb-benefit:last-child{border-right:0}.drb-benefit__icon{width:42px;height:42px;border-radius:50%;background:#fff0ef;color:var(--drb-red);display:grid;place-items:center;font-weight:900}.drb-benefit strong{display:block;color:var(--drb-black);font-size:14px}.drb-benefit span{display:block;color:var(--drb-gray);font-size:12px;margin-top:2px}.drb-account-status{background:#e8f6ef;color:#125f43;border-bottom:1px solid #cfe9dc;padding:9px 0;font-size:13px}.drb-account-status--locked{background:#fff4f3;color:#7e221d;border-color:#f0d4d1}

/* Secciones */
.drb-main{padding:30px 0 50px}.drb-section{margin:0 0 38px;scroll-margin-top:170px}.drb-section__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 18px;border-bottom:2px solid var(--drb-border)}.drb-section__title{display:inline-block;position:relative;margin:0;padding:0 0 12px;font-size:25px;line-height:1;font-weight:900;color:var(--drb-black);text-transform:uppercase;letter-spacing:-.3px}.drb-section__title:after{content:"";position:absolute;left:0;bottom:-2px;width:82px;height:4px;background:var(--drb-red)}.drb-section__subtitle{font-size:13px;color:var(--drb-gray);font-weight:500;text-transform:none;margin-left:8px}.drb-section__more{font-size:13px;font-weight:800;color:var(--drb-red);padding-bottom:10px}

/* Categorías */
.portal-categories.drb-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.portal-category-card.drb-category-card{appearance:none;background:#fff;border:1px solid var(--drb-border);border-radius:6px;padding:16px 14px 14px;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.18s ease;box-shadow:0 5px 16px rgba(0,0,0,.025);cursor:pointer}.portal-category-card.drb-category-card:hover,.portal-category-card.drb-category-card.active{transform:translateY(-3px);box-shadow:var(--drb-shadow);border-color:#d5d8db;background:#fff}.portal-category-card.drb-category-card.active{outline:3px solid rgba(229,37,24,.12)}.drb-category-card__media{width:100%;aspect-ratio:1.15/1;display:grid;place-items:center;margin-bottom:10px}.drb-category-card__media img{width:88%;height:88%;object-fit:contain}.drb-category-placeholder{display:grid;place-items:center;width:84%;height:84%;background:#f3f4f5;border-radius:8px;color:#c5c8cb;font-size:32px;font-weight:900}.drb-category-card__name{font-size:15px;font-weight:900;color:#111}.drb-category-card__count{font-size:11px;color:var(--drb-gray);margin-top:4px}

/* Ranking semanal */
.drb-weekly-wrap{background:#fff;border:1px solid var(--drb-border);border-radius:8px;padding:22px;box-shadow:0 6px 20px rgba(0,0,0,.03)}.drb-weekly-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.drb-weekly-card{display:grid;grid-template-columns:210px minmax(0,1fr);gap:22px;padding:18px 26px;min-width:0}.drb-weekly-card+.drb-weekly-card{border-left:1px solid var(--drb-border)}.drb-weekly-card__media{position:relative;aspect-ratio:1/1;background:#fff;display:grid;place-items:center}.drb-weekly-card__media img{width:100%;height:100%;object-fit:contain}.drb-weekly-badge{position:absolute;right:2px;top:6px;width:62px;height:62px;border-radius:50%;background:var(--drb-red);color:#fff;display:grid;place-items:center;text-align:center;font-size:12px;line-height:1.05;font-weight:900}.drb-product-placeholder{font-size:28px;font-weight:900;color:#c7c9cc}.drb-weekly-card__body{display:flex;flex-direction:column;justify-content:center}.drb-weekly-card__rank{display:inline-flex;align-self:flex-start;background:#f1f2f3;border-radius:14px;padding:5px 9px;font-size:11px;font-weight:900;margin-bottom:9px}.drb-weekly-card__name{font-size:17px;font-weight:900;color:#111;line-height:1.25;margin-bottom:8px}.drb-weekly-card__meta{font-size:12px;color:var(--drb-gray);margin-bottom:8px}.drb-weekly-card__price{font-size:24px;font-weight:900;color:var(--drb-red)}.drb-weekly-card__note{font-size:11px;color:#777;margin-top:4px}

/* Tarjetas reales del motor */
.portal-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.portal-product-card{background:#fff!important;border:1px solid var(--drb-border)!important;border-radius:var(--drb-radius)!important;overflow:hidden;box-shadow:none!important;transition:.18s ease}.portal-product-card:hover{transform:translateY(-2px);box-shadow:var(--drb-shadow)!important}.portal-product-image{aspect-ratio:1/1!important;min-height:0!important;padding:12px!important;background:#fff!important;border-bottom:1px solid #f0f1f2!important}.portal-product-image img{object-fit:contain!important}.portal-product-body{padding:13px!important;gap:8px!important;min-height:165px!important}.portal-product-body small{font-size:11px!important;color:var(--drb-gray)!important;font-weight:800}.portal-product-body h3{font-size:14px!important;line-height:1.25!important;font-weight:800!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.portal-product-price{font-size:22px!important;color:var(--drb-red)!important}.portal-product-price em{color:var(--drb-gray)!important}.portal-price-hidden{color:var(--drb-red)!important}.portal-add-row{grid-template-columns:54px 1fr!important}.portal-add{background:var(--drb-black)!important}.portal-add:hover{background:var(--drb-red)!important}.portal-add.added{background:var(--drb-success)!important}.portal-empty{background:#fff!important;border:1px dashed var(--drb-border)!important}.portal-clear-filter{color:var(--drb-red)!important}.portal-btn.secondary{color:var(--drb-red)!important;border-color:var(--drb-red)!important}.portal-catalog-section{background:transparent}.portal-home-section{border-top:0!important}

/* Footer */
.drb-footer{background:var(--drb-black);color:#c8c8c8;margin-top:36px}.drb-footer__grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px;padding:40px 0}.drb-footer__logo{width:190px;margin-bottom:12px}.drb-footer h4{color:#fff;margin:0 0 12px;font-size:14px;text-transform:uppercase}.drb-footer p,.drb-footer a{font-size:13px;color:#b7b7b7}.drb-footer a{display:block;padding:4px 0}.drb-footer a:hover{color:#fff}.drb-footer__bottom{border-top:1px solid #292b2e;padding:14px 0;font-size:12px;color:#929292}

@media(max-width:1050px){
  .drb-header__main{grid-template-columns:240px minmax(220px,1fr) auto;gap:16px}.drb-logo{width:240px}.drb-action span:last-child{display:none}
  .drb-slide__inner{grid-template-columns:minmax(0,1fr) 330px;padding:40px 48px}.drb-slide{min-height:340px}
  .drb-benefits__grid{grid-template-columns:repeat(2,1fr)}.drb-benefit:nth-child(2){border-right:0}.drb-benefit:nth-child(-n+2){border-bottom:1px solid var(--drb-border)}
  .portal-categories.drb-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .drb-weekly-card{grid-template-columns:165px minmax(0,1fr);padding:16px 18px;gap:16px}.drb-footer__grid{grid-template-columns:1.4fr 1fr 1fr}.drb-footer__grid>div:last-child{display:none}
}

@media(max-width:700px){
  .drb-container{width:min(calc(100% - 18px),var(--drb-container))}.drb-topbar__inner{min-height:30px;font-size:11px}.drb-topbar__links{display:none}.drb-header{position:relative}.drb-header__main{grid-template-columns:1fr auto;gap:8px;min-height:auto;padding:10px 0}.drb-logo{width:190px;max-height:76px}.drb-search{grid-column:1/-1;grid-row:2;order:5}.drb-search input{padding:11px 12px;font-size:14px}.drb-search button{padding:0 16px}.drb-action{min-height:40px;padding:6px 9px}.drb-nav__inner{display:block}.drb-nav__categories{display:none!important}.drb-nav a{min-height:44px;padding:0 14px;font-size:12px;white-space:nowrap}
  .drb-devbar{font-size:10px;flex-direction:column;gap:5px}.drb-devbar div{gap:10px}
  .drb-carousel{padding-top:10px}.drb-slide{min-height:420px}.drb-slide__inner{grid-template-columns:1fr;padding:28px 26px 42px;gap:20px;align-content:center}.drb-slide h1,.drb-slide h2{font-size:30px;letter-spacing:-.4px;margin:12px 0 10px}.drb-slide p{font-size:14px;margin-bottom:17px}.drb-slide__product{width:210px;justify-self:center;padding:15px;border-radius:12px}.drb-slide__price{font-size:24px}.drb-carousel__arrow{width:34px;height:34px;font-size:20px}.drb-carousel__arrow--prev{left:7px}.drb-carousel__arrow--next{right:7px}
  .drb-benefits__grid{grid-template-columns:1fr 1fr}.drb-benefit{padding:13px 10px;gap:8px}.drb-benefit__icon{width:34px;height:34px;font-size:12px}.drb-benefit strong{font-size:12px}.drb-benefit span{font-size:10px}
  .drb-main{padding-top:20px}.drb-section{margin-bottom:28px;scroll-margin-top:20px}.drb-section__head{margin-bottom:12px}.drb-section__title{font-size:19px;padding-bottom:10px}.drb-section__subtitle{display:none}.drb-section__more{font-size:11px}
  .portal-categories.drb-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.portal-category-card.drb-category-card{min-height:170px;padding:10px}.drb-category-card__name{font-size:13px}.drb-category-card__count{font-size:10px}
  .drb-weekly-wrap{padding:10px}.drb-weekly-grid{grid-template-columns:1fr}.drb-weekly-card{grid-template-columns:125px minmax(0,1fr);padding:14px 10px;gap:12px}.drb-weekly-card+.drb-weekly-card{border-left:0;border-top:1px solid var(--drb-border)}.drb-weekly-badge{width:50px;height:50px;font-size:10px}.drb-weekly-card__name{font-size:14px}.drb-weekly-card__price{font-size:19px}
  .portal-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.portal-product-image{min-height:0!important;padding:8px!important}.portal-product-body{padding:9px!important;gap:6px!important;min-height:145px!important}.portal-product-body small{font-size:9.5px!important}.portal-product-body h3{font-size:12px!important;min-height:30px}.portal-product-price{font-size:17px!important}.portal-add-row{grid-template-columns:1fr!important}.portal-add-row input{display:none}.portal-add{min-height:34px;font-size:11px}
  .drb-footer__grid{grid-template-columns:1fr 1fr;gap:24px;padding:30px 0}.drb-footer__grid>div:first-child{grid-column:1/-1}.drb-footer__grid>div:last-child{display:none}
}

/* V2.3 - Modo búsqueda: los resultados pasan a primer plano */
body.drb-search-active .drb-carousel,
body.drb-search-active .drb-benefits,
body.drb-search-active .drb-account-status,
body.drb-search-active #categorias,
body.drb-search-active #mas-vendidos,
body.drb-search-active .portal-home-section{
  display:none !important;
}
body.drb-search-active .drb-main{padding-top:20px}
body.drb-search-active .portal-catalog-section{margin-top:0}
body.drb-search-active .portal-catalog-section .drb-section__head{margin-top:0}
body.drb-search-active #portalResults{min-height:160px}
/* V2.4 búsqueda: durante una búsqueda se ve únicamente el bloque de resultados */
body.drb-search-active .drb-main > .drb-container > section:not(#productos){display:none!important}
body.drb-search-active .drb-carousel,
body.drb-search-active .drb-benefits,
body.drb-search-active .drb-account-status{display:none!important}
body.drb-search-active #productos{display:block!important}


/* V2.7 - Ordenamiento de resultados */
.drb-results-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.drb-sort{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--drb-gray);font-weight:700}
.drb-sort select{appearance:auto;border:1px solid var(--drb-border);background:#fff;color:var(--drb-charcoal);border-radius:7px;padding:9px 34px 9px 11px;min-width:190px;outline:none;cursor:pointer}
.drb-sort select:focus{border-color:var(--drb-red);box-shadow:0 0 0 2px rgba(229,37,24,.10)}
@media(max-width:700px){
  .drb-section__head{align-items:flex-start}
  .drb-results-actions{width:100%;justify-content:space-between;gap:8px}
  .drb-sort{flex:1;min-width:0}
  .drb-sort span{display:none}
  .drb-sort select{width:100%;min-width:0;font-size:12px;padding:8px 26px 8px 9px}
}

/* ===== DRB V2.8 · STOCK MANFREDI ===== */
.portal-stock{display:inline-flex;align-self:flex-start;align-items:center;min-height:24px;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.02em}
.portal-stock--ok{background:#e8f5ed;color:#176b39}
.portal-stock--no{background:#fdeceb;color:#a62118}
.portal-stock--unknown{background:#f0f1f2;color:#6d7277}
.portal-stock-note{font-size:11px;line-height:1.35;color:#8b5652;font-weight:700;padding-top:2px}
.portal-product-card--out{opacity:.78}
.portal-product-card--out .portal-product-image img{filter:saturate(.72)}

/* ===== DRB V4 · FLYERS RESPONSIVE + MÁS CHICOS EN PC =====
   PC grande: 3 flyers visibles, imagen al 50%
   PC/tablet: 2 flyers visibles, imagen reducida
   Celular: 1 flyer visible
*/
.drb-carousel__viewport{
  background:#f3f4f5;
}

.drb-slide--flyer{
  background:#f3f4f5;
  min-height:0;
  padding:12px;
  display:flex;
  align-items:stretch;
}

.drb-slide--flyer .drb-flyer-link{
  width:100%;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 5px 18px rgba(0,0,0,.08);
  padding:18px;
}

.drb-slide--flyer .drb-flyer-link img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  border-radius:0;
  box-shadow:none;
  transition:transform .18s ease;
}

.drb-slide--flyer .drb-flyer-link:hover img{
  transform:scale(1.01);
}

/* 3 flyers en monitores grandes + imágenes al 50% */
@media(min-width:1200px){
  .drb-slide--flyer{
    min-width:33.333333%!important;
    padding:10px;
  }
  .drb-slide--flyer .drb-flyer-link{
    padding:20px;
  }
  .drb-slide--flyer .drb-flyer-link img{
    width:50%;
    max-width:50%;
  }
}

/* 2 flyers en PC mediana y tablet horizontal */
@media(min-width:701px) and (max-width:1199px){
  .drb-slide--flyer{
    min-width:50%!important;
  }
  .drb-slide--flyer .drb-flyer-link img{
    width:62%;
    max-width:62%;
  }
}

/* 1 flyer en celular */
@media(max-width:700px){
  .drb-slide--flyer{
    min-width:100%!important;
    padding:6px;
  }

  .drb-slide--flyer .drb-flyer-link{
    border-radius:7px;
    box-shadow:none;
    padding:0;
    background:transparent;
  }

  .drb-slide--flyer .drb-flyer-link img{
    width:100%;
    max-width:100%;
  }
}

/* ===== DRB V5 · OPCIÓN 1 =====
   3 flyers visibles en PC, 2 en tablet, 1 en celular.
   Sin cajas blancas: los flyers quedan sueltos sobre un fondo claro,
   con menos aire y con imagen más protagonista.
*/
.drb-carousel__viewport{
  background:#eef1f3;
  border-radius:12px;
  padding:12px 52px 34px;
}
.drb-carousel__track{
  align-items:center;
}
.drb-slide--flyer{
  background:transparent;
  min-height:0;
  padding:8px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.drb-slide--flyer .drb-flyer-link{
  width:100%;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border-radius:0;
  overflow:visible;
  box-shadow:none;
  padding:0;
}
.drb-slide--flyer .drb-flyer-link img{
  display:block;
  width:100%;
  height:auto;
  max-width:360px;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 8px 22px rgba(0,0,0,.10);
  transition:transform .18s ease, box-shadow .18s ease;
}
.drb-slide--flyer .drb-flyer-link:hover img{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}

@media(min-width:1200px){
  .drb-slide--flyer{
    min-width:33.333333%!important;
    padding:8px;
  }
  .drb-slide--flyer .drb-flyer-link img{
    max-width:370px;
  }
}

@media(min-width:701px) and (max-width:1199px){
  .drb-carousel__viewport{padding:10px 44px 30px}
  .drb-slide--flyer{
    min-width:50%!important;
    padding:8px;
  }
  .drb-slide--flyer .drb-flyer-link img{
    max-width:350px;
  }
}

@media(max-width:700px){
  .drb-carousel__viewport{
    padding:6px 0 22px;
    background:transparent;
    box-shadow:none;
    border-radius:0;
  }
  .drb-slide--flyer{
    min-width:100%!important;
    padding:6px 0;
  }
  .drb-slide--flyer .drb-flyer-link{
    padding:0;
  }
  .drb-slide--flyer .drb-flyer-link img{
    max-width:100%;
    width:100%;
    border-radius:7px;
    box-shadow:none;
  }
}

/* ===== DRB V6 · MARCAS DESTACADAS ===== */
.drb-featured-brands{
  background:#fff;
  border-bottom:1px solid var(--drb-border);
  padding:22px 0 26px;
}
.drb-featured-brands__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:14px;
}
.drb-featured-brands__head h2{
  margin:0;
  color:var(--drb-black);
  font-size:20px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.01em;
}
.drb-featured-brands__head p{
  margin:5px 0 0;
  color:var(--drb-gray);
  font-size:12px;
}
.drb-featured-brands__controls{display:none;gap:7px}
.drb-featured-brands__controls button{
  width:36px;
  height:36px;
  border:1px solid var(--drb-border);
  border-radius:50%;
  background:#fff;
  color:var(--drb-black);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.drb-featured-brands__controls button:hover{border-color:var(--drb-red);color:var(--drb-red)}
.drb-featured-brands__track{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.drb-featured-brand{
  appearance:none;
  border:1px solid var(--drb-border);
  border-radius:12px;
  background:#181818;
  min-width:0;
  min-height:105px;
  padding:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.drb-featured-brand:hover{
  transform:translateY(-2px);
  border-color:#c9cdd1;
  box-shadow:0 8px 20px rgba(17,18,20,.10);
}
.drb-featured-brand img{
  width:100%;
  height:88px;
  object-fit:contain;
  object-position:center;
}
body.drb-search-active .drb-featured-brands{display:none!important}

@media(max-width:1050px){
  .drb-featured-brands{padding:18px 0 22px}
  .drb-featured-brands__controls{display:flex}
  .drb-featured-brands__track{
    display:flex;
    gap:10px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    overscroll-behavior-inline:contain;
    padding-bottom:2px;
  }
  .drb-featured-brands__track::-webkit-scrollbar{display:none}
  .drb-featured-brand{
    flex:0 0 calc(50% - 5px);
    scroll-snap-align:start;
    min-height:105px;
  }
}

@media(max-width:700px){
  .drb-featured-brands__head{align-items:center;margin-bottom:11px}
  .drb-featured-brands__head h2{font-size:17px}
  .drb-featured-brands__head p{font-size:11px}
  .drb-featured-brands__controls button{width:32px;height:32px;font-size:19px}
  .drb-featured-brand{min-height:92px;padding:6px}
  .drb-featured-brand img{height:76px}
}


/* =========================================================
   DRB · MARCAS DESTACADAS · AJUSTE VISUAL FINAL
   PC: 6 juntas
   Tablet y celular: 2 por vista con desplazamiento horizontal
   ========================================================= */

.drb-brands{
  background:#fff;
  border:1px solid var(--drb-border);
  border-radius:12px;
  padding:18px 18px 22px;
  margin:18px 0 28px;
}

.drb-brands__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
}

.drb-brands__title{
  margin:0;
  font-size:22px;
  line-height:1;
  font-weight:900;
  color:var(--drb-black);
  text-transform:uppercase;
}

.drb-brands__subtitle{
  font-size:13px;
  color:var(--drb-gray);
}

.drb-brands__viewport{
  position:relative;
  overflow:hidden;
}

.drb-brands__track{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}

.drb-brand-card{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:120px;
  background:#fff;
  border:1px solid var(--drb-border);
  border-radius:12px;
  padding:14px;
  box-sizing:border-box;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  cursor:pointer;
}

.drb-brand-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--drb-shadow);
  border-color:#d4d8dc;
}

.drb-brand-card img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:72px;
  object-fit:contain;
  object-position:center;
}

/* Flechas del carrusel de marcas */
.drb-brands__arrow{
  display:none;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.95);
  color:#111;
  font-size:21px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 3px 12px rgba(0,0,0,.14);
}

.drb-brands__arrow--prev{left:5px}
.drb-brands__arrow--next{right:5px}

/* Tablet */
@media(max-width:1050px){
  .drb-brands__viewport{
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    scroll-behavior:smooth;
  }

  .drb-brands__viewport::-webkit-scrollbar{
    display:none;
  }

  .drb-brands__track{
    display:grid;
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:calc(50% - 7px);
    gap:14px;
  }

  .drb-brand-card{
    min-height:110px;
    scroll-snap-align:start;
  }

  .drb-brand-card img{
    max-height:64px;
  }

  .drb-brands__arrow{
    display:block;
  }
}

/* Celular */
@media(max-width:700px){
  .drb-brands{
    padding:14px 12px 16px;
    margin:14px 0 22px;
    border-radius:10px;
  }

  .drb-brands__head{
    margin-bottom:11px;
  }

  .drb-brands__title{
    font-size:18px;
  }

  .drb-brands__subtitle{
    display:none;
  }

  .drb-brands__track{
    grid-auto-columns:calc(50% - 6px);
    gap:12px;
  }

  .drb-brand-card{
    min-height:96px;
    padding:10px;
    border-radius:10px;
  }

  .drb-brand-card img{
    max-height:52px;
  }

  .drb-brands__arrow{
    width:30px;
    height:30px;
    font-size:18px;
  }
}

/* V6.0 - Últimos ingresos */
.drb-latest-arrivals{position:relative}
.drb-latest-arrivals__head{align-items:center}
.drb-latest-arrivals__controls{display:flex;align-items:center;gap:7px;padding-bottom:8px}
.drb-latest-arrivals__controls button{width:36px;height:36px;border:1px solid #d9dde2;border-radius:50%;background:#fff;color:#111;display:grid;place-items:center;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.06)}
.drb-latest-arrivals__controls button:hover{border-color:var(--drb-red);color:var(--drb-red)}
.drb-latest-arrivals__controls button:disabled{opacity:.3;cursor:default}
.drb-latest-arrivals__viewport{overflow:hidden;margin:0 -5px;padding:3px 0 6px}
.drb-latest-arrivals__track{display:flex;align-items:stretch;transition:transform .38s ease;will-change:transform}
.drb-latest-arrivals__item{flex:0 0 16.666666%;min-width:0;padding:0 5px;box-sizing:border-box}
.drb-latest-arrivals__card{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/5;overflow:hidden;background:#fff;border:1px solid var(--drb-border);border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.drb-latest-arrivals__card img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;transition:transform .18s ease}
a.drb-latest-arrivals__card:hover img{transform:scale(1.018)}
@media(max-width:1199px){.drb-latest-arrivals__item{flex-basis:33.333333%}}
@media(max-width:700px){.drb-latest-arrivals__item{flex-basis:50%;padding:0 4px}.drb-latest-arrivals__viewport{margin:0 -4px}.drb-latest-arrivals__controls{gap:5px;padding-bottom:6px}.drb-latest-arrivals__controls button{width:32px;height:32px;font-size:19px}.drb-latest-arrivals__card{border-radius:8px}}

