/* MENU PAGE */
.menu-layout{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:32px;
  padding:32px 0 80px;
  min-height:calc(100vh - 68px);
  align-items:start;
}

/* SIDEBAR CATEGORIAS */
.cat-sidebar{
  position:sticky;
  top:84px;
  background:#fff;
  border-radius:14px;
  border:1.5px solid #f0ede8;
  overflow:hidden;
}
.cat-sidebar-title{
  padding:16px 18px;
  font-size:11px;font-weight:700;
  text-transform:uppercase;letter-spacing:1.5px;
  color:var(--md);
  border-bottom:1px solid #f0ede8;
}
.cat-sidebar-list{list-style:none}
.cat-sidebar-list li a{
  display:flex;align-items:center;gap:10px;
  padding:12px 18px;
  font-size:14px;font-weight:500;color:var(--dk);
  transition:var(--trans);cursor:pointer;
  border-left:3px solid transparent;
  text-decoration:none;
}
.cat-sidebar-list li a:hover{
  background:#fdf5f0;color:var(--pr);
  border-left-color:rgba(233,88,15,.3);
}
.cat-sidebar-list li a.active{
  background:#fdf0e8;color:var(--pr);
  border-left-color:var(--pr);font-weight:600;
}
.cat-sidebar-list li a img{
  width:30px;height:30px;border-radius:8px;
  object-fit:cover;flex-shrink:0;
  background:#f0ede8;
}
.cat-count{
  margin-left:auto;
  font-size:11px;font-weight:600;
  background:#f0ede8;color:var(--md);
  padding:2px 7px;border-radius:20px;
}
.cat-sidebar-list li a.active .cat-count{
  background:rgba(233,88,15,.15);color:var(--pr);
}

/* PRODUCTS AREA */
.products-area{}
.products-header{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:20px;padding-bottom:14px;
  border-bottom:2px solid #f0ede8;
}
.products-header h2{font-size:20px;font-weight:700;color:var(--dk)}
.products-count{font-size:13px;color:var(--md)}

.products-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

/* PRODUCT CARD */
.prod-card{
  border-radius:14px;overflow:hidden;
  border:1.5px solid #f0ede8;background:#fff;
  transition:var(--trans);
  display:flex;flex-direction:column;
}
.prod-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 36px rgba(0,0,0,.1);
  border-color:rgba(233,88,15,.3);
}
.prod-img{
  aspect-ratio:4/3;overflow:hidden;
  background:#f7f4f1;position:relative;flex-shrink:0;
}
.prod-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.prod-card:hover .prod-img img{transform:scale(1.06)}
.prod-img-placeholder{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
}
.prod-img-placeholder svg{width:40px;height:40px;stroke:#d0c9c1}
.prod-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1}
.prod-nombre{font-size:14px;font-weight:700;color:var(--dk);margin-bottom:5px;line-height:1.35}
.prod-desc{font-size:12px;color:var(--md);line-height:1.6;flex:1;margin-bottom:12px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prod-precio{font-size:16px;font-weight:800;color:var(--pr)}

/* SKELETON */
.skeleton{background:linear-gradient(90deg,#f0ede8 25%,#e8e4df 50%,#f0ede8 75%);
  background-size:200% 100%;animation:shimmer 1.4s infinite}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.skel-img{aspect-ratio:4/3;border-radius:0}
.skel-line{height:12px;border-radius:4px;margin-bottom:8px}
.skel-line.short{width:60%}
.skel-line.price{width:40%;height:16px;margin-top:4px}

/* EMPTY / ERROR */
.menu-empty{
  grid-column:1/-1;text-align:center;
  padding:60px 20px;color:var(--md);
}
.menu-empty svg{width:48px;height:48px;stroke:#d0c9c1;margin:0 auto 12px}
.menu-empty p{font-size:14px}

/* MOBILE TABS */
.cat-tabs{
  display:none;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  gap:8px;padding:12px 0;
  scrollbar-width:none;
}
.cat-tabs::-webkit-scrollbar{display:none}
.cat-tab{
  flex-shrink:0;padding:8px 16px;border-radius:50px;
  font-size:13px;font-weight:600;
  background:#f0ede8;color:var(--md);
  cursor:pointer;transition:var(--trans);white-space:nowrap;
  border:none;
}
.cat-tab.active,.cat-tab:hover{background:var(--pr);color:#fff}

/* PAGE HERO MINI */
.menu-hero{
  background:linear-gradient(135deg,var(--pr) 0%,#c94400 100%);
  padding:48px 0 36px;margin-top:68px;
  text-align:center;
}
.menu-hero h1{font-size:clamp(24px,4vw,36px);font-weight:800;color:#fff;margin-bottom:6px}
.menu-hero p{font-size:14px;color:rgba(255,255,255,.75)}

/* RESPONSIVE */
@media(max-width:900px){
  .menu-layout{grid-template-columns:1fr;gap:0;padding:16px 0 60px}
  .cat-sidebar{display:none}
  .cat-tabs{display:flex}
  .products-grid{grid-template-columns:repeat(2,1fr);gap:14px}
}
@media(max-width:500px){
  .products-grid{grid-template-columns:1fr}
}
