/* CLIENTE AJUSTES NOBREGA - INICIO */
:root{
  --nobrega-header-mobile: 76px;
}

html, body{
  max-width: 100%;
  overflow-x: hidden;
}

.topbar{
  min-height: 44px !important;
  height: auto !important;
  padding: 10px 18px !important;
  gap: 22px !important;
  text-align: center !important;
  line-height: 1.25 !important;
  font-size: 15px !important;
  box-shadow: 0 8px 28px rgba(255,91,0,.22) !important;
}

.topbar strong{
  max-width: 780px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header{
  top: 44px !important;
}

.header .cart-head{
  min-height: 48px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255,91,0,.58) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(255,91,0,.25), rgba(255,91,0,.05)) !important;
  box-shadow: 0 0 0 1px rgba(255,91,0,.12), 0 12px 34px rgba(255,91,0,.18) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.header .cart-head:hover{
  transform: translateY(-2px) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 1px rgba(255,91,0,.24), 0 18px 42px rgba(255,91,0,.25) !important;
}

.header .cart-head .cart-icon{
  filter: drop-shadow(0 0 10px rgba(255,91,0,.45));
}

.header .cart-head b{
  top: -8px !important;
  right: -4px !important;
  left: auto !important;
  width: 23px !important;
  height: 23px !important;
  font-size: 12px !important;
  border: 2px solid #060606 !important;
}

.mobile-menu-toggle{
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,91,0,.36);
  border-radius: 14px;
  background: #111;
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.mobile-menu-toggle span{
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transition: .22s ease;
}

.mobile-menu-toggle b{
  font-size: 9px;
  line-height: 1;
  color: #cfcfcf;
}

body.nobrega-menu-open .mobile-menu-toggle span:nth-child(1){transform: translateY(6px) rotate(45deg);}
body.nobrega-menu-open .mobile-menu-toggle span:nth-child(2){opacity:0;}
body.nobrega-menu-open .mobile-menu-toggle span:nth-child(3){transform: translateY(-6px) rotate(-45deg);}

#nobregaFloatWhatsapp{
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg,#35e47a,#14b955) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  box-shadow: 0 18px 45px rgba(37,211,102,.34), 0 0 0 10px rgba(37,211,102,.08) !important;
  z-index: 1600 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

#nobregaFloatWhatsapp:hover{
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 22px 55px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,.10) !important;
}

#nobregaFloatWhatsapp svg{
  width: 34px !important;
  height: 34px !important;
}

.checkout{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 58px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg,#ff6a00,#ff3d00) !important;
  box-shadow: 0 16px 38px rgba(255,91,0,.28), 0 0 0 1px rgba(255,255,255,.08) inset !important;
  text-transform: uppercase !important;
}

.checkout span{
  font-size: 20px;
  line-height: 1;
}

.cart-footer.checkout-reordered #superfreteBox{
  order: 2;
}

.cart-footer.checkout-reordered #customerAddress{
  order: 3;
}

.cart-footer.checkout-reordered .total-row,
.cart-footer.checkout-reordered .checkout{
  order: 4;
}

#superfreteBox{
  border-radius: 16px !important;
  border: 1px solid rgba(255,91,0,.24) !important;
  background: linear-gradient(160deg, rgba(255,91,0,.09), #0b0b0b 72%) !important;
}

.superfrete-title strong::after{
  content: ' antes do endereco';
  color: var(--orange);
  font-weight: 900;
}

.cart-row .mini.mini--photo{
  background: #fff !important;
  border-color: rgba(255,91,0,.28) !important;
  overflow: hidden !important;
  padding: 4px !important;
}

.cart-row .mini.mini--photo img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  border-radius: 10px !important;
  background: #fff !important;
}

.footer-rights{
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #8f8f8f;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-rights strong{
  color: var(--orange);
}

@media (max-width: 1100px){
  .promo-grid{grid-template-columns: repeat(3, minmax(0,1fr)) !important;}
  .products{grid-template-columns: repeat(3, minmax(0,1fr)) !important;}
  .combo-grid{grid-template-columns: repeat(2, minmax(0,1fr)) !important;}
  .categories{grid-template-columns: repeat(4, minmax(0,1fr)) !important;}
}

@media (max-width: 980px){
  body{padding-bottom: 82px !important;}

  .shell{
    width: min(100% - 24px, 1180px) !important;
  }

  .topbar{
    min-height: 42px !important;
    padding: 8px 42px !important;
    gap: 10px !important;
    font-size: 12px !important;
  }

  .header{
    top: 42px !important;
  }

  .header-main{
    position: relative !important;
    min-height: var(--nobrega-header-mobile) !important;
    height: auto !important;
    grid-template-columns: 62px minmax(0,1fr) 48px 48px !important;
    gap: 8px !important;
    padding: 8px 0 !important;
  }

  .brand img{
    width: 58px !important;
    height: 48px !important;
  }

  .search{
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 42px !important;
  }

  .whatsapp-head{
    display: none !important;
  }

  .mobile-menu-toggle{
    display: flex !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  .cart-head{
    grid-column: 4 !important;
    grid-row: 1 !important;
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    justify-content: center !important;
  }

  .cart-head strong{display:none !important;}
  .cart-head .cart-icon{font-size: 24px !important;}

  .header .nav{
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    top: calc(100% + 8px) !important;
    height: auto !important;
    max-height: 0 !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255,91,0,.0) !important;
    border-radius: 18px !important;
    background: rgba(8,8,8,.98) !important;
    box-shadow: 0 28px 70px rgba(0,0,0,.55) !important;
    transition: max-height .25s ease, padding .25s ease, border-color .25s ease !important;
    z-index: 130 !important;
  }

  body.nobrega-menu-open .header .nav{
    max-height: 430px !important;
    padding: 12px !important;
    border-color: rgba(255,91,0,.26) !important;
  }

  .header .nav a,
  .header .nav button{
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: #111 !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    color: #fff !important;
    text-align: left !important;
    font-weight: 800 !important;
  }

  .header .nav button{
    color: var(--orange) !important;
  }

  .hero{
    height: clamp(180px, 48vw, 250px) !important;
    margin-top: 14px !important;
    border-radius: 18px !important;
  }

  .hero-slide{
    padding: 24px 46px !important;
  }

  .hero h1{font-size: clamp(24px, 7vw, 34px) !important;}
  .hero p{font-size: 13px !important;max-width: 245px !important;}
  .hero-product{font-size: clamp(62px, 18vw, 96px) !important;}

  .benefits{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .promo-grid,
  .products,
  .combo-grid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .categories{
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    padding: 10px !important;
  }

  .section-head{
    gap: 10px !important;
    align-items: flex-start !important;
  }

  .section-head h2{
    font-size: 15px !important;
    letter-spacing: .08em !important;
  }

  #nobregaFloatWhatsapp{
    width: 58px !important;
    height: 58px !important;
    right: 16px !important;
    bottom: 92px !important;
  }

  .footer-rights{
    width: min(100% - 24px, 1180px) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    font-size: 12px !important;
    padding-bottom: 12px !important;
  }
}

@media (max-width: 560px){
  .topbar{
    min-height: 40px !important;
    padding: 8px 34px !important;
    font-size: 11px !important;
  }

  .header{
    top: 40px !important;
  }

  .promo-grid,
  .products,
  .combo-grid{
    grid-template-columns: 1fr !important;
  }

  .categories{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .benefits{
    grid-template-columns: 1fr !important;
  }

  .product-card,
  .promo-card,
  .combo-card,
  .category-card{
    border-radius: 16px !important;
  }

  .pimg{
    height: 150px !important;
  }

  .cart{
    max-width: 100% !important;
    width: 100% !important;
    height: 88vh !important;
    top: auto !important;
    bottom: 0 !important;
    border-radius: 24px 24px 0 0 !important;
  }

  .cart-row{
    grid-template-columns: 72px 1fr !important;
  }

  .cart-row .mini,
  .cart-row .mini.mini--photo{
    width: 72px !important;
    height: 72px !important;
  }

  .mobile-checkout{
    grid-template-columns: 1fr 104px 112px !important;
    padding: 8px 10px !important;
  }

  .mobile-checkout button{
    font-size: 12px !important;
  }
}
/* CLIENTE AJUSTES NOBREGA - FIM */
