:root{
  --blue:#1f4bb8;
  --blue2:#244fbe;
  --yellow:#f6c21a;
  --bg:#ffffff;
  --muted:#6b778c;
  --text:#101828;
  --line:#e7eaf0;
  --card:#ffffff;
  --radius:16px;
  --container:1180px;
  --success:#15803d;
  --success-dark:#166534;
  --light:#f5f7fb;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{color:inherit;text-decoration:none}
button,select,input,textarea{font:inherit}
textarea{font-family:inherit}

.container{
  width:min(var(--container),calc(100% - 40px));
  margin:0 auto;
}

/* topbar */
.topbar{
  background:var(--blue);
  color:#fff;
  font-weight:600;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:14px;
}
.topbar__left{
  display:flex;
  align-items:center;
  gap:10px;
  opacity:.95;
}
.topbar__right{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.topbar__link:hover{
  opacity:1;
  text-decoration:underline;
}

/* header */
.header{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:50;
}
.header__inner{
  display:grid;
  grid-template-columns:280px 1fr 52px;
  align-items:center;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__icon{
  width:42px;
  height:42px;
  border-radius:10px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  color:var(--blue);
  background:#fff;
}
.brand__text strong{
  display:block;
  font-size:18px;
  line-height:1.1;
  color:var(--blue);
}
.brand__text span{
  display:block;
  font-size:12.5px;
  color:var(--muted);
  margin-top:2px;
}

.search{
  display:flex;
  gap:12px;
  align-items:center;
}
.search__field{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  height:44px;
  padding:0 14px;
  border-radius:10px;
  background:#00000007;
  border:1px solid #eef1f7;
}
.search__icon{
  color:#014ae7;
  display:grid;
  place-items:center;
}
.search input{
  border:none;
  outline:none;
  background:transparent;
  width:100%;
  font-size:14px;
}

.btn{
  border:none;
  border-radius:8px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
}
.btn--yellow{
  background:var(--yellow);
  color:#1b1b1b;
}
.btn--yellow:hover{
  filter:brightness(.98);
}
.btn--white{
  background:#fff;
  color:var(--blue);
  border:1px solid #dbe2f0;
}
.btn--white:hover{
  background:#f7f9ff;
}
.btn--outline{
  background:#fff;
  border:1px solid #dbe2f0;
  color:#111827;
}
.btn--outline:hover{
  background:#f7f9ff;
}
.btn--blue{
  background:var(--blue);
  color:#fff;
}
.btn--blue:hover{
  filter:brightness(.98);
}

.cartBtn{
  width:44px;
  height:44px;
  border-radius:10px;
  border:1px solid #eef1f7;
  background:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  position:relative;
  color:#111827;
}
.cartBtn:hover{
  background:#f7f9ff;
}
.cartBtn__badge{
  position:absolute;
  top:-8px;
  right:-8px;
  width:22px;
  height:22px;
  border-radius:999px;
  background:var(--yellow);
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:800;
  color:#1b1b1b;
  border:2px solid #fff;
}

.headerMenu{
  border-top:1px solid var(--line);
  background:#fff;
}
.headerMenu__inner{
  padding:10px 0;
}
.menu{
  display:flex;
  gap:28px;
  align-items:center;
}
.menu__link{
  color:#1f2937;
  font-weight:500;
}
.menu__link.is-active{
  font-weight:700;
  color:var(--blue);
}
.menu__link:hover{
  text-decoration:underline;
}

/* hero */
.hero{
  background:linear-gradient(180deg, var(--blue2), var(--blue));
  color:#ffffff;
  padding:28px 0 34px;
}
.hero__inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
}
.hero__left h1{
  font-size:56px;
  line-height:1.03;
  margin:0 0 12px;
  letter-spacing:-0.02em;
}
.hero__left p{
  margin:0 0 18px;
  max-width:62ch;
  opacity:.92;
  line-height:1.6;
}
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hero__right{
  display:flex;
  justify-content:flex-end;
}
.hero__image{
  width:min(560px, 100%);
  height:340px;
  border-radius:14px;
  background:url("assets/hero.jpg") center/cover no-repeat;
  box-shadow:0 18px 40px rgba(0,0,0,.33);
  border:1px solid rgba(255,255,255,.25);
}

/* benefits */
.benefits{
  background:#f6f7fb;
  border-bottom:1px solid var(--line);
}
.benefits__inner{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  padding:18px 0;
}
.benefit{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:16px 12px;
}
.benefit__icon{
  width:42px;
  height:42px;
  border-radius:999px;
  background:#e9eefc;
  display:grid;
  place-items:center;
  font-size:18px;
}
.benefit__text strong{
  display:block;
  font-size:16px;
}
.benefit__text span{
  display:block;
  font-size:13px;
  color:#475467;
  margin-top:2px;
}

/* sections */
.section{
  padding:34px 0;
}
.section--compact{
  padding-top:0;
  padding-bottom:10px;
}
.section--checkout{
  padding-top:26px;
  padding-bottom:44px;
}
.section__head{
  margin-bottom:18px;
}
.section__head h2{
  margin:0;
  font-size:40px;
  letter-spacing:-0.02em;
}
.section__head p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:15px;
}
.section__head--center{
  text-align:center;
}
.section__head--split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}

.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px;
  background:#f8faff;
  border:1px solid var(--line);
  border-radius:14px;
}
.toolbar__left{
  display:flex;
  align-items:center;
  gap:8px;
  color:#475467;
}
.toolbar__left strong{
  font-size:18px;
  color:var(--blue);
}
.sortBox{
  display:flex;
  align-items:center;
  gap:10px;
}
.sortBox span{
  font-size:14px;
  color:#475467;
}
.sortBox select{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--yellow);
  background: var(--yellow);
  outline:none;
  box-shadow: #00000046 0px 0px 8px 0px;
}

/* categories */
.categoriesGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:24px;
}

.catCard{
  position:relative;
  width:100%;
  min-height:92px;
  padding:20px 22px;
  display:flex;
  align-items:center;
  gap:16px;
  text-align:left;
  cursor:pointer;
  border-radius:20px;
  border:1px solid #d9e2ef;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:0 10px 24px rgba(16,24,40,.06);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.catCard:hover{
  transform:translateY(-3px);
  border-color:#bfd0ee;
  background:linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  box-shadow:0 16px 34px rgba(31,75,184,.10);
}

.catCard.is-active{
  border:1.5px solid var(--blue);
  background:linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
  box-shadow:0 16px 36px rgba(31,75,184,.16);
}

.catCard.is-active::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(31,75,184,.08);
}

.catIcon{
  width:52px;
  height:52px;
  border-radius:16px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  font-size:20px;
  color:var(--blue);
  background:linear-gradient(180deg, #edf3ff 0%, #dfeaff 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.catCard.is-active .catIcon{
  background:linear-gradient(180deg, #dce9ff 0%, #ccddff 100%);
  color:#163b93;
}

.catContent{
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.catTitle{
  margin:0;
  font-size:18px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-0.02em;
  color:#0f172a;
  text-transform:uppercase;
}

.catCount{
  display:inline-flex;
  align-items:center;
  margin-top:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef2f7;
  color:#475467;
  font-size:13px;
  font-weight:700;
  line-height:1;
}

.catCard.is-active .catCount{
  background:rgba(31,75,184,.10);
  color:var(--blue);
}

/* responsivo */
@media (max-width:1100px){
  .categoriesGrid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:640px){
  .categoriesGrid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .catCard{
    min-height:80px;
    padding:16px 18px;
    border-radius:16px;
  }

  .catIcon{
    width:46px;
    height:46px;
    border-radius:14px;
    font-size:18px;
  }

  .catTitle{
    font-size:16px;
  }

  .catCount{
    margin-top:6px;
    font-size:12px;
    padding:5px 9px;
  }
}

/* products */
.productsGrid,
.catalogGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.pCard{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 0px 10px rgb(0 0 0 / 20%);
  display:flex;
  flex-direction:column;
}
.pImg{
  height:210px;
  background:center/cover no-repeat;
  position:relative;
}
.badgeOff{
  position:absolute;
  top:10px;
  left:10px;
  background:#fc1c4d;
  color:#ffffff;
  font-weight:900;
  font-size:14px;
  padding:6px 10px;
  border-radius:10px;
}
.pBody{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.pCategory{
  font-size:12px;
  color:var(--muted);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.pName{
  font-size:16px;
  font-weight:500;
  margin:0;
  min-height:44px;
}
.pPrices{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.oldPrice{
  color:#98a2b3;
  text-decoration:line-through;
  font-size:13px;
  min-height:16px;
}
.newPrice{
  font-size:28px;
  font-weight:700;
  color:var(--blue);
}
.shipFree{
  display:flex;
  align-items:center;
  gap:8px;
  color:#16a34a;
  font-weight:600;
  font-size:14px;
}
.shipFree svg{
  width:18px;
  height:18px;
}
.addBtn{
  margin-top:auto;
  width:100%;
  background:var(--yellow);
  border:none;
  border-radius:10px;
  padding:12px 12px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#1b1b1b;
}
.addBtn:hover{
  filter:brightness(.98);
}
.emptyState{
  grid-column:1 / -1;
  text-align:center;
  padding:30px 20px;
  border:1px dashed #cfd6e6;
  border-radius:14px;
  color:#667085;
  background:#fff;
}

/* brands */
.brandsRow{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:12px;
}
.brandPill{
  height:70px;
  border:1px solid var(--line);
  border-radius:12px;
  display:grid;
  place-items:center;
  color:#475467;
  background:#fff;
  box-shadow:0 6px 18px rgba(16,24,40,.04);
  font-weight:500;
}

/* cta */
.cta{
  background:linear-gradient(180deg, var(--blue2), var(--blue));
  border-radius:16px;
  padding:54px 18px;
  text-align:center;
  color:#fff;
}
.cta h3{
  font-size:44px;
  margin:0 0 10px;
  letter-spacing:-0.02em;
}
.cta p{
  margin:0 0 18px;
  opacity:.92;
  font-size:16px;
}

/* footer */
.footer{
  background:#fff;
  border-top:1px solid var(--line);
}
.footer__grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  gap:22px;
  padding:30px 0;
}
.footer__col h4{
  margin:0 0 10px;
  font-size:16px;
}
.footer__col a{
  display:block;
  color:#475467;
  margin:8px 0;
}
.footer__col a:hover{
  text-decoration:underline;
}
.footer__text{
  color:#475467;
  line-height:1.6;
  margin:0;
}
.footerBrand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.footerBrand__icon{
  width:38px;
  height:38px;
  border-radius:10px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  color:var(--blue);
}
.footerBrand strong{
  display:block;
  color:var(--blue);
}
.footerBrand span{
  display:block;
  color:var(--muted);
  font-size:12px;
}
.footerContact{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:10px 0;
  color:#475467;
  line-height:1.5;
}
.footer__bottom{
  border-top:1px solid var(--line);
}
.footer__bottomInner{
  padding:12px 0;
  color:#667085;
  font-size:14px;
}

/* catálogo */
.catalogPage{
  padding:40px 0;
}
.catalogBreadcrumb{
  font-size:14px;
  color:#667085;
  margin-bottom:10px;
}
.catalogTitle{
  font-size:40px;
  margin:0;
}
.catalogCount{
  color:#667085;
  margin:6px 0 24px;
}
.catalogLayout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:24px;
}
.catalogSidebar{
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  height:fit-content;
  background:#fff;
}
.filterTitle{
  margin:0 0 10px;
}
.filterGroup{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.filterItem{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  cursor:pointer;
}
.catalogProducts{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.catalogToolbar{
  display:flex;
  justify-content:flex-end;
  padding:16px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow: 0 0px 18px rgba(121, 121, 121, 0.4);
}

/* checkout */
.checkoutPage{
  background:#f5f7fb;
  min-height:100vh;
}
.checkoutHeaderActions{
  display:flex;
  justify-content:flex-end;
  }
.checkoutLayout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 380px;
  gap:24px;
  align-items:start;
}
.checkoutMain{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.checkoutSidebar{
  position:sticky;
  top:128px;
}
.checkoutCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  box-shadow:0 12px 30px rgba(16,24,40,.05);
}
.checkoutCard__head{
  margin-bottom:16px;
}
.checkoutCard__head h2{
  margin:0 0 6px;
  font-size:24px;
}
.checkoutCard__head p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.checkoutFormGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.checkoutField{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:14px;
}
.checkoutField--full{
  grid-column:1 / -1;
}
.checkoutField > span{
  font-size:13px;
  font-weight:700;
  color:#344054;
}
.checkoutField > input,
.checkoutField > textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:13px 14px;
  font-size:14px;
  color:var(--text);
  outline:none;
  resize:vertical;
}
.checkoutField > input:focus,
.checkoutField > textarea:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(31,75,184,.10);
}
.checkoutOptions{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.checkoutOption{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  cursor:pointer;
}
.checkoutOption:hover{
  border-color:#cfd8ea;
  background:#fafcff;
}
.checkoutOption input{
  margin-top:2px;
}
.checkoutOption strong{
  display:block;
  margin-bottom:4px;
}
.checkoutOption span{
  display:block;
  color:var(--muted);
  font-size:14px;
}

.checkoutSummary__items{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:16px;
}
.checkoutItem{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px solid #eef1f7;
}
.checkoutItem:last-child{
  border-bottom:none;
  padding-bottom:0;
}
.checkoutItem__info{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.checkoutItem__name{
  font-size:14px;
  font-weight:700;
  line-height:1.4;
}
.checkoutItem__meta{
  font-size:12px;
  color:var(--muted);
}
.checkoutItem__value{
  font-size:14px;
  font-weight:800;
  color:var(--blue);
  white-space:nowrap;
}
.checkoutSummary__line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-top:1px solid #eef1f7;
  font-size:14px;
}
.checkoutSummary__line--total{
  font-size:18px;
}
.btn-primary,
.checkoutPrimaryBtn,
.checkoutSecondaryBtn,
.checkoutTertiaryBtn{
  width:100%;
  min-height:50px;
  border-radius:12px;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}

.btn-primary,
.checkoutPrimaryBtn{
  border:none;
  background:var(--blue);
  color:#fff;
  margin-top:14px;
}
.btn-primary:hover,
.checkoutPrimaryBtn:hover{
  filter:brightness(.95);
}

.checkoutSecondaryBtn{
  margin-top:10px;
  border:1px solid var(--line);
  background:#1d7a00;
  color:#fff;
}
.checkoutSecondaryBtn:hover{
  background:#0f3f00;
}

.checkoutTertiaryBtn{
  margin-top:10px;
  border:1px solid var(--line);
  background:#ebebeb;
  color:#111827;
}
.checkoutTertiaryBtn:hover{
  background:#d6d6d6;
}

.checkoutSummary__tip{
  margin:12px 0 0;
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
}

.checkoutActionsTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:24px;
}
.checkoutActionsTop__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.checkoutTopBtn{
  min-height:44px;
  padding:10px 16px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.checkoutTopBtn--ghost{
  border:none;
  background:transparent;
  color:var(--blue);
}
.checkoutTopBtn--ghost:hover{
  text-decoration:underline;
}
.checkoutTopBtn--outline{
  border:1px solid var(--line);
  background:#fff;
  color:#111827;
}
.checkoutTopBtn--outline:hover{
  background:#f7f9ff;
}
.checkoutTopBtn--blue{
  border:none;
  background:var(--blue);
  color:#fff;
}
.checkoutTopBtn--blue:hover{
  filter:brightness(.98);
}

/* floating */
.waFloat{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:999px;
  background:#22c55e;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  display:grid;
  place-items:center;
  z-index:80;
  border:none;
}
.waFloat__icon{
  font-size:22px;
}

.floatingCart{
  position:fixed;
  right:18px;
  bottom:88px;
  width:58px;
  height:58px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  display:grid;
  place-items:center;
  z-index:79;
  border:none;
  cursor:pointer;
}
.floatingCart__icon{
  font-size:22px;
}
.floatingCart__badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:24px;
  height:24px;
  padding:0 6px;
  border-radius:999px;
  background:var(--yellow);
  color:#1b1b1b;
  font-size:12px;
  font-weight:800;
  display:grid;
  place-items:center;
  border:2px solid #fff;
}

/* drawer */
.drawer{
  position:fixed;
  inset:0;
  display:none;
  z-index:90;
}
.drawer.is-open{
  display:block;
}
.drawer__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}
.drawer__panel{
  position:absolute;
  top:0;
  right:0;
  width:min(420px, 100%);
  height:100%;
  background:#fff;
  display:flex;
  flex-direction:column;
  border-left:1px solid var(--line);
}
.drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}
.iconBtn{
  border:1px solid var(--line);
  background:#ffffff;
  border-radius:10px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.drawer__body{
  padding:14px 16px;
  overflow:auto;
  flex:1;
}

.cartFooter{
  padding:14px 16px 16px;
  border-top:1px solid var(--line);
  background:#fff;
}
.cartSubtotal{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.cartSubtotal span{
  color:var(--muted);
  font-size:14px;
}
.cartSubtotal strong{
  color:var(--blue);
  font-size:20px;
  font-weight:800;
}

.cartCustomerFields{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:12px;
}
.cartField{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.cartField > span{
  font-size:13px;
  font-weight:700;
  color:#344054;
}
.cartField > input,
.cartField > textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  padding:12px 14px;
  font-size:14px;
  color:var(--text);
  outline:none;
  resize:vertical;
}
.cartField > input:focus,
.cartField > textarea:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(31,75,184,.10);
}

.deliveryOptions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.deliveryOption{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  color:#344054;
}
.deliveryOption input{
  width:auto;
  margin:0;
  padding:0;
  box-shadow:none;
}

.continueShoppingBtn{
  width:100%;
  margin-bottom:10px;
  height:46px;
  border-radius:10px;
  border:1px solid #d1d5db;
  background:#fff;
  color:#111827;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}
.continueShoppingBtn:hover{
  background:#f3f4f6;
}

.checkoutBtn{
  width:100%;
  height:48px;
  border:none;
  border-radius:10px;
  color:#fff;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}
.checkoutBtn--blue{
  background:var(--blue);
}
.checkoutBtn--blue:hover{
  filter:brightness(.98);
}

.cartList{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.cartItem{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.cartItem__info strong{
  display:block;
  font-size:14px;
  margin-bottom:6px;
}
.cartItem__info span{
  display:block;
  color:var(--muted);
  font-size:13px;
}
.cartItem__info small.cartItem__total{
  display:block;
  margin-top:6px;
  color:var(--blue);
  font-size:13px;
  font-weight:700;
}
.removeItemBtn{
  margin-top:8px;
  border:none;
  background:transparent;
  color:#dc2626;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  padding:0;
  text-align:left;
}
.removeItemBtn:hover{
  text-decoration:underline;
}

.qty{
  display:flex;
  align-items:center;
  gap:8px;
}
.qtyBtn{
  width:32px;
  height:32px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:800;
  flex:0 0 auto;
}
.qtyInput{
  width:52px;
  height:32px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  text-align:center;
  font-weight:700;
  outline:none;
  padding:0 6px;
}
.qtyInput::-webkit-outer-spin-button,
.qtyInput::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.qtyInput[type=number]{
  appearance:textfield;
  -moz-appearance:textfield;
}

.cartEmpty{
  border:1px dashed #cfd6e6;
  border-radius:12px;
  padding:14px;
  display:none;
  color:#475467;
}
.cartEmpty strong{
  display:block;
  margin-bottom:6px;
}
.cartEmpty span{
  display:block;
  color:var(--muted);
  font-size:13px;
}

/* modal */
.productModal{
  position:fixed;
  inset:0;
  display:none;
  z-index:120;
}
.productModal.is-open{
  display:block;
}
.productModal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}
.productModal__panel{
  position:relative;
  width:min(920px, calc(100% - 32px));
  margin:40px auto;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.24);
  border:1px solid var(--line);
}
.productModal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid var(--line);
}
.productModal__body{
  padding:18px;
}
.productModal__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:start;
}
.productModal__image{
  min-height:360px;
  border-radius:14px;
  border:1px solid var(--line);
  background:center/cover no-repeat;
}
.productModal__category{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:10px;
}
.productModal__priceOld{
  color:#98a2b3;
  text-decoration:line-through;
  font-size:14px;
  min-height:20px;
}
.productModal__price{
  color:var(--blue);
  font-size:34px;
  font-weight:800;
  margin-bottom:10px;
}
.productModal__description{
  color:#475467;
  line-height:1.6;
  margin:0 0 18px;
}
.productModal__qtyBlock{
  margin-bottom:18px;
}
.productModal__qtyLabel{
  display:block;
  font-size:14px;
  font-weight:700;
  margin-bottom:8px;
}
.modalQty{
  display:grid;
  grid-template-columns:48px 70px 48px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  width:166px;
  height:46px;
  background:#fff;
}
.modalQtyBtn{
  border:none;
  height:100%;
  width:100%;
  font-size:22px;
  font-weight:700;
  background:#f8fafc;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:0.15s;
}
.modalQtyBtn:hover{
  background:#eef2ff;
  color:var(--blue);
}
.modalQtyBtn:active{
  transform:scale(.95);
}
.modalQtyInput{
  border:none;
  width:100%;
  height:100%;
  text-align:center;
  font-size:18px;
  font-weight:700;
  background:#fff;
  outline:none;
}
.modalQtyInput::-webkit-inner-spin-button,
.modalQtyInput::-webkit-outer-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.modalQtyInput[type=number]{
  appearance:textfield;
  -moz-appearance:textfield;
}
.productModal__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* brand store extras */
.logoIcon img{
  height:40px;
  width:auto;
  display:block;
}

.brand--store{
  min-width:0;
}

.brand__logoWrap{
  width:56px;
  height:56px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  overflow:hidden;
}

.brand__logo{
  max-width:42px;
  max-height:42px;
  width:auto;
  height:auto;
  display:block;
}

.header__inner--store{
  display:grid;
  grid-template-columns:minmax(220px, 280px) minmax(280px, 1fr) auto;
  align-items:center;
  gap:16px;
  padding:14px 0;
}

.search--store{
  width:100%;
}

.search__button{
  min-width:110px;
}

.headerActions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}

.whatsBtn{
  min-height:44px;
  padding:0 16px;
  border-radius:10px;
  background:#25D366;
  color:#fff;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(37,211,102,.18);
}

.whatsBtn:hover{
  filter:brightness(.97);
}

/* responsive */
@media (max-width: 1100px){
  .header__inner{
    grid-template-columns:1fr;
    gap:12px;
  }
  .cartBtn{
    justify-self:end;
  }
  .hero__inner{
    grid-template-columns:1fr;
    gap:18px;
  }
  .hero__right{
    justify-content:flex-start;
  }
  .hero__left h1{
    font-size:44px;
  }
  .benefits__inner{
    grid-template-columns:repeat(2,1fr);
  }
  .categoriesGrid{
    grid-template-columns:repeat(3,1fr);
  }
  .productsGrid,
  .catalogGrid{
    grid-template-columns:repeat(2,1fr);
  }
  .brandsRow{
    grid-template-columns:repeat(4,1fr);
  }
  .footer__grid{
    grid-template-columns:1fr 1fr;
  }
  .checkoutLayout{
    grid-template-columns:1fr;
  }
  .checkoutSidebar{
    position:static;
  }
  .header__inner--store{
    grid-template-columns:1fr auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap:12px;
  }

  .brand--store{
    grid-area:brand;
  }

  .search--store{
    grid-area:search;
  }

  .headerActions{
    grid-area:actions;
  }

  .search__button{
    min-width:96px;
  }
}

@media (max-width: 900px){
  .catalogLayout{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px){
  .productModal__grid{
    grid-template-columns:1fr;
  }
  .productModal__image{
    min-height:240px;
  }
  .productModal__price{
    font-size:28px;
  }
  .checkoutFormGrid{
    grid-template-columns:1fr;
  }
  .checkoutActionsTop{
    flex-direction:column;
    align-items:stretch;
  }
  .checkoutActionsTop__right{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }
  .checkoutTopBtn{
    width:100%;
  }
  .topbar__inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .header__inner--store{
    grid-template-columns:1fr;
    grid-template-areas:
      "brand"
      "search"
      "actions";
    gap:12px;
  }

  .brand__logoWrap{
    width:50px;
    height:50px;
  }

  .brand__logo{
    max-width:36px;
    max-height:36px;
  }

  .brand__text strong{
    font-size:17px;
  }

  .brand__text span{
    font-size:12px;
  }

  .search--store{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .search__field{
    width:100%;
  }

  .search__button{
    width:100%;
    min-width:0;
    height:46px;
  }

  .headerActions{
    width:100%;
    justify-content:space-between;
  }

  .whatsBtn{
    flex:1;
  }

  .cartBtn{
    flex:0 0 46px;
    width:46px;
    height:46px;
  }

  .headerMenu__inner{
    padding:8px 0;
  }

  .menu{
    gap:12px;
    flex-wrap:wrap;
  }
}

@media (max-width: 640px){
  .topbar__right{
    gap:12px;
  }
  .menu{
    gap:16px;
    flex-wrap:wrap;
  }
  .hero__left h1{
    font-size:36px;
  }
  .categoriesGrid{
    grid-template-columns:1fr;
  }
  .productsGrid,
  .catalogGrid{
    grid-template-columns:1fr;
  }
  .brandsRow{
    grid-template-columns:repeat(2,1fr);
  }
  .footer__grid{
    grid-template-columns:1fr;
  }
  .section__head--split{
    flex-direction:column;
    align-items:flex-start;
  }
  .toolbar{
    flex-direction:column;
    align-items:flex-start;
  }
  .cartItem{
    flex-direction:column;
  }
  .deliveryOptions{
    flex-direction:column;
  }
}

@media (max-width: 480px){
  .container{
    width:min(var(--container), calc(100% - 24px));
  }

  .header{
    padding:0;
  }

  .brand{
    gap:10px;
  }

  .brand__text strong{
    font-size:16px;
  }

  .brand__text span{
    font-size:11.5px;
  }

  .whatsBtn{
    font-size:14px;
    padding:0 14px;
  }
}
.catalogSidebar--marketplace{
  padding:0;
  border:none;
  background:transparent;
  box-shadow:none;
}

.filterSection{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px 16px;
  margin-bottom:14px;
  box-shadow: 0 0px 18px rgba(121, 121, 121, 0.4);
}

.filterSectioninter{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px 16px;
  margin-bottom:14px;
  box-shadow: 0 0px 18px rgba(121, 121, 121, 0.0);
}

.filterSection__title{
  margin:0 0 14px;
  font-size:16px;
  font-weight:800;
  color:#1052e0;
}

.filterLinkItem,
.filterCheckItem{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
  color:#475467;
  font-size:15px;
  cursor:pointer;
  line-height:1.4;
}

.filterLinkItem:last-child,
.filterCheckItem:last-child{
  margin-bottom:0;
}

.filterLinkItem span,
.filterCheckItem span{
  transition:.15s ease;
}

.filterLinkItem:hover span,
.filterCheckItem:hover span{
  color:var(--blue);
}

.filterLinkBtn{
  border:none;
  background:transparent;
  color:#3483fa;
  font-size:15px;
  cursor:pointer;
  padding:0;
  margin-top:4px;
  text-align:left;
}

.filterLinkBtn:hover{
  text-decoration:underline;
}

.filterLinkBtn--muted{
  display:block;
  color:#475467;
  margin-bottom:10px;
}

.filterLinkBtn--muted:hover{
  color:var(--blue);
  text-decoration:none;
}

.officialStoresGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:12px;
}

.officialStoreCard{
  min-height:50px;
  border:1px solid #d8dde6;
  background:#fff;
  border-radius:8px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:8px;
  font-size:11px;
  font-weight:700;
  color:#555;
  box-shadow:0 2px 6px rgba(16,24,40,.05);
}

.officialStoreCard:hover{
  border-color:#b9c5db;
  transform:translateY(-1px);
}

.priceRangeBox{
  display:grid;
  grid-template-columns:1fr auto 1fr 34px;
  gap:8px;
  align-items:center;
  margin-top:10px;
}

.priceRangeBox input{
  width:100%;
  height:36px;
  border:1px solid #c7ced9;
  border-radius:8px;
  padding:0 10px;
  outline:none;
  background:#fff;
}

.priceRangeBox input:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(31,75,184,.10);
}

.priceRangeSeparator{
  color:#98a2b3;
  font-weight:700;
}

.priceApplyBtn{
  width:34px;
  height:34px;
  border:none;
  border-radius:999px;
  background:#e4e5e7;
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

.priceApplyBtn:hover{
  background:#cfd4dc;
}

@media (max-width: 900px){
  .officialStoresGrid{
    grid-template-columns:repeat(2,1fr);
  }
}
.search__field{
  position: relative;
}

.searchSuggestions{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  display: none;
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
}

.searchSuggestionItem{
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.searchSuggestionItem:last-child{
  border-bottom: none;
}

.searchSuggestionItem:hover{
  background: #f8fafc;
}

.searchSuggestionItem strong{
  display: block;
  color: #111827;
}

.searchSuggestionItem span{
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

#offersLoader,
#catalogLoader {
  display: none;
  width: 100%;
  text-align: center;
  margin-top: 18px;
  margin-bottom: 10px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
}

#offersLoader::before,
#catalogLoader::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: -4px;
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-top-color: #2563eb;
  border-radius: 999px;
  animation: cbSpin 0.8s linear infinite;
}

#offersInfiniteSentinel,
#catalogInfiniteSentinel {
  width: 100%;
  height: 1px;
}

@keyframes cbSpin {
  to {
    transform: rotate(360deg);
  }
}

.filtersCard__options{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.filterOption{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:14px;
  line-height:1.35;
  cursor:pointer;
}

.filterOption input{
  margin-top:2px;
  flex:0 0 auto;
}

.filterOption span{
  display:block;
  color:#1f2937;
  word-break:break-word;
}

.filtersCard__title{
  margin:0 0 14px;
  font-size:18px;
  font-weight:700;
  color:#1d4ed8;
}

#catalogCategoryFilters .filterSection__title{
  margin-bottom:14px;
}

#catalogCategoryFilters .filterCheckItem{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-bottom:10px;
  cursor:pointer;
}

#catalogCategoryFilters .filterCheckItem input{
  margin-top:3px;
}

#catalogCategoryFilters .filterCheckItem span{
  display:block;
  line-height:1.35;
  word-break:break-word;
}

.filterCollapseBtn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
  font:inherit;
  font-weight:700;
  color:#1d4ed8;
  margin-bottom:12px;
}

.filterCollapseIcon{
  font-size:20px;
  line-height:1;
  color:#1d4ed8;
}

.filterCollapseContent{
  overflow:hidden;
  transition:all .25s ease;
}

.filterCollapseContent.is-collapsed{
  display:none;
}
/* =========================
   CHECKOUT - ENDEREÇO / CEP
========================= */

#checkoutAddressWrap{
  margin-top: 18px;
}

.checkoutAddressGrid{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkoutFormGrid--address{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
}

.checkoutFormGrid--address3{
  display: grid;
  grid-template-columns: 1.2fr 1fr 120px;
  gap: 14px;
}

.checkoutField{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkoutField span{
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.checkoutField input,
.checkoutField textarea,
.checkoutField select{
  width: 100%;
  min-height: 52px;
  border: 1px solid #d7ddea;
  border-radius: 14px;
  background: #fff;
  padding: 0 16px;
  font-size: 16px;
  color: #0f172a;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  box-sizing: border-box;
}

.checkoutField textarea{
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.checkoutField input::placeholder,
.checkoutField textarea::placeholder{
  color: #94a3b8;
}

.checkoutField input:focus,
.checkoutField textarea:focus,
.checkoutField select:focus{
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.checkoutField input[readonly]{
  background: #f8fafc;
  color: #334155;
}

.checkoutField--full{
  width: 100%;
}

/* mobile */
@media (max-width: 768px){
  .checkoutFormGrid--address,
  .checkoutFormGrid--address3{
    grid-template-columns: 1fr;
  }

  .checkoutField input,
  .checkoutField textarea,
  .checkoutField select{
    min-height: 50px;
    font-size: 15px;
  }
}
.catalogPagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:32px 0 12px;
  flex-wrap:wrap;
}

.catalogPageBtn{
  min-width:120px;
  height:44px;
  border:none;
  border-radius:12px;
  background:#1d4ed8;
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:filter .2s ease, transform .2s ease, opacity .2s ease;
}

.catalogPageBtn:hover:not(:disabled){
  filter:brightness(1.05);
  transform:translateY(-1px);
}

.catalogPageBtn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.catalogPageInfo{
  font-size:15px;
  font-weight:700;
  color:#0f172a;
  min-width:120px;
  text-align:center;
}

/* =========================================
   MARCAS PARCEIRAS - LOGOS EM MOVIMENTO
========================================= */

.partnersSection{
  padding: 40px 0 24px;
}

.sectionHead--center{
  text-align: center;
  margin-bottom: 24px;
}

.partnersMarquee{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partnersMarquee__track{
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: partnersScroll 28s linear infinite;
}

.partnersMarquee:hover .partnersMarquee__track{
  animation-play-state: paused;
}

.partnerLogoCard{
  flex: 0 0 auto;
  width: 180px;
  height: 86px;
  border: 1px solid #d9dfeb00;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  box-shadow: 6px 0px 8px 22px rgba(15, 23, 42, 0.027);
}

.partnerLogoCard img{
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  display: block;
  filter: grayscale(0%);
  transition: transform .2s ease, opacity .2s ease;
}

.partnerLogoCard:hover img{
  transform: scale(1.04);
}

.partnerLogoFallback{
  font-size: 22px;
  font-weight: 800;
  color: #1e3a8a;
  text-align: center;
  line-height: 1.1;
}

@keyframes partnersScroll{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

@media (max-width: 768px){
  .partnerLogoCard{
    width: 150px;
    height: 74px;
    border-radius: 14px;
    padding: 12px;
  }

  .partnerLogoCard img{
    max-height: 36px;
  }

  .partnersMarquee__track{
    gap: 12px;
    animation-duration: 20s;
  }
}