:root{
  --yellow:#ffcc00;
  --black:#050505;
  --text:#111;
  --muted:#5f6b7a;
  --bg:#f4f5f7;
  --card:#ffffff;
  --border:#e6e8ec;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
}

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

.topbar{
  background:#000;
  height:126px;
  display:flex;
  align-items:center;
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo-wrap img{
  width:78px;
  height:78px;
  object-fit:contain;
  display:block;
}

.cart-pill{
  background:var(--yellow);
  color:#000;
  border:none;
  border-radius:10px;
  padding:14px 22px;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.25);
}

.hero{
  height:282px;
  position:relative;
  background-image:var(--hero-image);
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:14px;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.56);
}

.hero-cta{
  position:relative;
  z-index:1;
  background:var(--yellow);
  color:#000;
  border:0;
  min-width:313px;
  border-radius:36px;
  padding:25px 42px;
  font-size:24px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}

.page{padding:50px 0 80px}

.categories{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:52px;
}

.category-btn{
  border:1px solid #dfe3e8;
  background:#fff;
  color:#3d4b5c;
  border-radius:24px;
  padding:11px 27px;
  font-size:17px;
  font-weight:900;
  cursor:pointer;
  text-transform:uppercase;
}

.category-btn.active{
  background:var(--yellow);
  border-color:var(--yellow);
  color:#000;
}

.category-section{margin-bottom:34px}

.category-title{
  display:inline-block;
  font-size:31px;
  font-style:italic;
  font-weight:900;
  margin:0 0 26px;
  text-transform:uppercase;
}

.category-title:after{
  content:"";
  display:block;
  width:132px;
  height:5px;
  background:var(--yellow);
  margin-top:8px;
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:20px;
}

.product-card{
  background:var(--card);
  border-radius:14px;
  padding:16px;
  display:grid;
  grid-template-columns:100px 1fr 58px;
  gap:15px;
  align-items:center;
  min-height:132px;
  border:1px solid #f0f1f3;
  box-shadow:0 1px 2px rgba(0,0,0,.05);
}

.product-img{
  width:100px;
  height:100px;
  border-radius:9px;
  object-fit:cover;
  background:#000;
}

.product-info h3{
  margin:0 0 4px;
  font-size:20px;
  font-weight:900;
  text-transform:uppercase;
}

.product-info p{
  margin:0 0 8px;
  color:#627084;
  font-size:14px;
  line-height:1.3;
}

.product-info strong{
  display:block;
  font-size:22px;
  color:#000;
}

.add-btn{
  width:46px;
  height:46px;
  border-radius:50%;
  border:0;
  background:var(--yellow);
  color:#000;
  font-size:34px;
  line-height:46px;
  cursor:pointer;
}

.cart-panel{
  position:fixed;
  top:0;
  right:-430px;
  width:420px;
  max-width:100%;
  height:100vh;
  background:#fff;
  z-index:20;
  box-shadow:-20px 0 40px rgba(0,0,0,.18);
  transition:.25s ease;
  padding:20px;
  overflow:auto;
}

.cart-panel.open{right:0}

.cart-panel-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--border);
  padding-bottom:12px;
}

.cart-panel-header h2{margin:0;font-size:25px}

.cart-panel-header button{
  border:0;
  background:#eee;
  border-radius:10px;
  padding:10px 13px;
  cursor:pointer;
}

.cart-items{
  display:grid;
  gap:10px;
  margin:16px 0;
}

.cart-empty{
  color:#667085;
  background:#f5f6f8;
  border-radius:12px;
  padding:14px;
}

.cart-item{
  background:#f6f7f9;
  border-radius:12px;
  padding:12px;
}

.cart-item-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.cart-item small{
  display:block;
  color:#667085;
  margin-top:4px;
}

.remove-item{
  border:0;
  background:transparent;
  color:#d92d20;
  font-weight:800;
  cursor:pointer;
}

.checkout{
  border-top:1px solid var(--border);
  padding-top:15px;
  display:grid;
  gap:12px;
}

.total-line{
  display:flex;
  justify-content:space-between;
  font-size:24px;
}

label{
  display:grid;
  gap:6px;
  color:#445064;
  font-size:14px;
  font-weight:700;
}

input,select,textarea{
  width:100%;
  border:1px solid #d9dee5;
  border-radius:11px;
  padding:12px;
  font-size:15px;
}

textarea{min-height:70px;resize:vertical}

.hidden{display:none}

.whatsapp-btn,.clear-btn{
  border:0;
  border-radius:12px;
  padding:14px;
  font-weight:900;
  cursor:pointer;
}

.whatsapp-btn{background:var(--yellow);color:#000}
.clear-btn{background:#111;color:#fff}

.modal-backdrop{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.52);
  z-index:30;
}

.modal-backdrop.open{display:block}

.product-modal{
  display:none;
  position:fixed;
  z-index:31;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:520px;
  max-width:calc(100% - 28px);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border-radius:18px;
  padding:20px;
}

.product-modal.open{display:block}

.modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.modal-header h2{margin:0;text-transform:uppercase}

.modal-header button{
  border:0;
  background:#eee;
  border-radius:10px;
  padding:10px 13px;
  cursor:pointer;
}

#modalDescription{color:#667085}

.modal-block{
  border-top:1px solid var(--border);
  padding-top:15px;
  margin-top:15px;
}

.modal-block h3{margin:0 0 10px}

.variant-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.variant-buttons button{
  border:1px solid #d9dee5;
  background:#fff;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
}

.variant-buttons button.active{
  background:var(--yellow);
  border-color:var(--yellow);
}

.checks{display:grid;gap:8px}

.checks label{
  display:flex;
  align-items:center;
  gap:8px;
  color:#445064;
}

.checks input{accent-color:var(--yellow)}

.add-final{
  width:100%;
  margin-top:18px;
  border:0;
  background:var(--yellow);
  color:#000;
  border-radius:14px;
  padding:16px;
  font-size:17px;
  font-weight:900;
  cursor:pointer;
}

@media(max-width:900px){
  .container{width:min(100% - 28px, 1520px)}
  .topbar{height:96px}
  .logo-wrap img{width:64px;height:64px}
  .cart-pill{font-size:17px;padding:12px 16px}
  .hero{height:235px;align-items:center;padding-top:0}
  .hero-cta{min-width:auto;width:80%;font-size:19px;padding:20px}
  .products-grid{grid-template-columns:1fr}
  .product-card{grid-template-columns:86px 1fr 48px}
  .product-img{width:86px;height:86px}
}
