:root{
  --brand:#b72a55;
  --brand2:#d8446f;
  --gold:#f6b15f;
  --dark:#211216;
  --panel:rgba(55,28,33,.72);
  --line:rgba(255,255,255,.22);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#fff;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,187,112,.35),transparent 32%),
    linear-gradient(180deg,#f09a4e 0%,#b63857 38%,#401a25 72%,#1c1014 100%);
  padding-bottom:92px;
}

.hero{
  min-height:100vh;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(255,165,82,.20),rgba(168,48,80,.35)),
    radial-gradient(circle at 22% 28%,rgba(255,228,168,.75),transparent 14%),
    linear-gradient(135deg,#ffad5a,#c94f64 50%,#44202c);
}

.hero:before,.hero:after{
  content:"";
  position:absolute;
  top:-50px;
  width:360px;
  height:720px;
  background:radial-gradient(ellipse at top,rgba(28,14,16,.68),transparent 66%);
  opacity:.62;
}

.hero:before{left:-120px;transform:rotate(-23deg)}
.hero:after{right:-120px;transform:rotate(23deg)}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,transparent 0 57%,rgba(255,255,255,.12) 59%,transparent 62%,rgba(255,255,255,.08) 67%,transparent 72%),
    radial-gradient(ellipse at 50% 70%,rgba(255,255,255,.12),transparent 42%);
  animation:water 9s ease-in-out infinite alternate;
}

@keyframes water{
  to{transform:translateY(12px);filter:saturate(1.18)}
}

.top-actions{
  position:absolute;
  top:24px;
  left:24px;
  right:24px;
  z-index:5;
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.top-actions a{
  color:#fff;
  text-decoration:none;
  background:rgba(183,42,85,.72);
  border:1px solid rgba(255,255,255,.25);
  border-radius:20px;
  padding:13px 22px;
  font-weight:900;
  text-transform:uppercase;
  backdrop-filter:blur(14px);
  box-shadow:0 12px 32px rgba(0,0,0,.22);
}

.top-actions a:first-child{background:rgba(0,0,0,.28)}

.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  padding:30px;
  animation:enter .75s ease both;
}

@keyframes enter{
  from{opacity:0;transform:translateY(30px) scale(.96)}
  to{opacity:1;transform:none}
}

.logo-circle{
  width:116px;
  height:116px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff7ef;
  color:var(--brand);
  font-size:58px;
  box-shadow:0 0 60px rgba(255,255,255,.74);
}

h1{
  margin:0;
  color:var(--brand);
  font-size:clamp(70px,15vw,165px);
  line-height:.82;
  letter-spacing:-.075em;
  text-shadow:0 4px 0 rgba(255,255,255,.45),0 28px 70px rgba(0,0,0,.34);
}

.hero-content p{
  margin:18px 0 34px;
  color:var(--brand);
  font-weight:1000;
  letter-spacing:.36em;
  text-shadow:0 4px 24px rgba(255,255,255,.68);
}

.main-btn{
  display:inline-flex;
  min-height:62px;
  align-items:center;
  justify-content:center;
  padding:0 46px;
  color:white;
  text-decoration:none;
  border-radius:999px;
  background:linear-gradient(135deg,#d8446f,#f6a762);
  border:1px solid rgba(255,255,255,.55);
  font-weight:1000;
  text-transform:uppercase;
  box-shadow:0 18px 46px rgba(85,13,38,.36);
}

.app{
  background:
    radial-gradient(circle at 50% 0%,rgba(255,114,146,.25),transparent 22%),
    linear-gradient(180deg,#70303b,#331620);
}

.categories{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  gap:12px;
  overflow:auto;
  padding:18px;
  background:rgba(62,30,36,.78);
  backdrop-filter:blur(18px);
  border-block:1px solid var(--line);
}

.categories button{
  flex:0 0 120px;
  height:116px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.30);
  color:#fff;
  background:rgba(45,24,28,.54);
  display:grid;
  place-items:center;
  gap:8px;
  font-weight:1000;
  text-transform:uppercase;
  box-shadow:inset 0 0 24px rgba(255,255,255,.06),0 12px 28px rgba(0,0,0,.24);
}

.categories button.active{
  border-color:#ff9aae;
  background:linear-gradient(145deg,rgba(183,42,85,.78),rgba(246,177,95,.28));
  box-shadow:0 0 0 2px rgba(255,255,255,.25),0 0 32px rgba(216,68,111,.72);
}

.cat-icon{font-size:38px;line-height:1}

.menu{
  width:min(1280px,100%);
  margin:auto;
  padding:48px 22px 50px;
}

.section-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin:0 0 34px;
  font-size:clamp(46px,8vw,82px);
  text-transform:uppercase;
  letter-spacing:-.05em;
  text-shadow:0 14px 38px rgba(0,0,0,.45);
}

.section-title .round-icon{
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff7ed;
  color:var(--brand);
  font-size:36px;
  box-shadow:0 10px 30px rgba(0,0,0,.30);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:26px;
}

.card{
  min-height:320px;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(28,14,18,.78));
  border:1px solid rgba(255,255,255,.32);
  box-shadow:0 18px 50px rgba(0,0,0,.32);
  cursor:pointer;
  transition:.25s ease;
  animation:rise .45s ease both;
}

.card:hover{transform:translateY(-7px);box-shadow:0 30px 75px rgba(0,0,0,.45)}

@keyframes rise{
  from{opacity:0;transform:translateY(25px)}
  to{opacity:1;transform:none}
}

.card-photo{
  position:relative;
  height:170px;
  display:grid;
  place-items:center;
  font-size:64px;
  background:
    radial-gradient(circle at 35% 25%,rgba(255,255,255,.35),transparent 18%),
    linear-gradient(135deg,#f0a15f,#713126 70%);
}

.card-photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,transparent 45%,rgba(0,0,0,.42));
}

.badge{
  position:absolute;
  z-index:2;
  top:12px;
  left:12px;
  background:var(--brand2);
  color:white;
  font-size:11px;
  font-weight:1000;
  padding:6px 11px;
  border-radius:999px;
  text-transform:uppercase;
}

.heart{
  position:absolute;
  z-index:2;
  right:14px;
  top:10px;
  font-size:27px;
}

.card-body{
  padding:18px 18px 20px;
}

.card h3{
  margin:0 0 8px;
  font-size:20px;
  text-transform:uppercase;
}

.card p{
  margin:0;
  opacity:.9;
  line-height:1.35;
  min-height:44px;
}

.price-row{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.price{
  font-size:25px;
  font-weight:1000;
}

.plus{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--brand2);
  font-size:28px;
  box-shadow:0 8px 22px rgba(0,0,0,.25);
}

.info-grid{
  max-width:1280px;
  margin:auto;
  padding:26px 22px 34px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  background:#331620;
}

.info-grid a{
  min-height:106px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.25);
  text-decoration:none;
  color:#fff;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(14px);
  display:grid;
  place-items:center;
  text-align:center;
  box-shadow:0 12px 36px rgba(0,0,0,.24);
}

.info-grid strong{display:block}
.info-grid span{opacity:.86}

.bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:60;
  height:88px;
  display:grid;
  grid-template-columns:1fr 1fr 96px 1fr 1fr;
  align-items:center;
  background:linear-gradient(135deg,#b72a55,#d8446f);
  box-shadow:0 -16px 42px rgba(0,0,0,.35);
}

.bottom-nav a{
  display:grid;
  place-items:center;
  color:white;
  text-decoration:none;
  font-size:20px;
  font-weight:900;
}

.bottom-nav span{
  font-size:12px;
  margin-top:4px;
}

.bottom-nav .active{color:#ffd9a8}

.brand-mini{
  width:78px;
  height:78px;
  border-radius:50%;
  background:#fff7ed;
  color:var(--brand);
  display:grid;
  place-items:center;
  font-size:38px;
  transform:translateY(-18px);
  box-shadow:0 -8px 38px rgba(255,255,255,.42);
}

.modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  place-items:center;
  padding:22px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(14px);
}

.modal.open{display:grid}

.modal-card{
  width:min(720px,100%);
  overflow:hidden;
  border-radius:32px;
  background:linear-gradient(180deg,#9f3451,#241318);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 35px 90px rgba(0,0,0,.55);
  animation:modalIn .25s ease both;
}

@keyframes modalIn{
  from{opacity:0;transform:scale(.94) translateY(18px)}
  to{opacity:1;transform:none}
}

.modal-photo{
  height:280px;
  display:grid;
  place-items:center;
  font-size:96px;
  background:linear-gradient(135deg,#f0a15e,#4a1f24);
}

.modal-body{padding:26px}

.modal-body h2{
  margin:0 0 10px;
  font-size:42px;
  text-transform:uppercase;
}

.modal-body p{line-height:1.5;opacity:.95}

.modal-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}

.modal-actions a,.modal-actions button{
  border:0;
  border-radius:999px;
  padding:14px 20px;
  color:white;
  text-decoration:none;
  font-weight:900;
  background:linear-gradient(135deg,#d8446f,#f2a15e);
}

.modal-actions button{background:rgba(255,255,255,.16)}

@media(max-width:720px){
  .top-actions{top:14px;left:14px;right:14px}
  .top-actions a{padding:10px 12px;font-size:12px}
  .hero-content p{font-size:12px;letter-spacing:.16em}
  .categories button{flex-basis:98px;height:98px;font-size:12px}
  .cat-icon{font-size:30px}
  .grid{grid-template-columns:1fr}
}

.cat-icon img{
width:48px;
height:48px;
object-fit:contain;
filter:drop-shadow(0 0 10px rgba(255,255,255,.45));
}

.round-icon{
display:flex;
align-items:center;
justify-content:center;
}

.round-icon img{
width:40px;
height:40px;
object-fit:contain;
}

.card-category-icon{
width:82px;
height:82px;
object-fit:contain;
filter:drop-shadow(0 0 14px rgba(255,255,255,.55));
}

.modal-category-icon{
width:140px;
height:140px;
object-fit:contain;
filter:drop-shadow(0 0 22px rgba(255,255,255,.65));
}

/* ICONOS REALES */
.cat-icon img{
  width:58px;
  height:58px;
  object-fit:contain;
  filter:drop-shadow(0 0 12px rgba(255,255,255,.65));
}

.round-icon img{
  width:48px;
  height:48px;
  object-fit:contain;
}

.card-category-icon{
  width:96px;
  height:96px;
  object-fit:contain;
  filter:drop-shadow(0 0 18px rgba(255,255,255,.65));
}

.modal-category-icon{
  width:160px;
  height:160px;
  object-fit:contain;
  filter:drop-shadow(0 0 28px rgba(255,255,255,.75));
}

/* BRAND REAL */
.hero{
  background:
    linear-gradient(180deg,rgba(35,12,20,.20),rgba(62,17,31,.55)),
    url("/assets/media/hero/hero-calabardina-sunset.jpg") center/cover no-repeat !important;
}

.logo-circle{display:none!important}

.hero-logo{
  width:min(520px,86vw);
  max-height:260px;
  object-fit:contain;
  filter:drop-shadow(0 0 26px rgba(255,255,255,.65)) drop-shadow(0 18px 35px rgba(0,0,0,.35));
  margin-bottom:22px;
}

.hero-content h1,
.hero-content p{
  display:none;
}

.brand-mini img{
  width:62px;
  height:62px;
  object-fit:contain;
}

.categories button{
  background:rgba(20,10,13,.42)!important;
}

.cat-icon img{
  width:72px!important;
  height:72px!important;
  object-fit:contain;
}

.round-icon img{
  width:58px!important;
  height:58px!important;
}

.card-category-icon{
  width:120px!important;
  height:120px!important;
}

/* FIX LOGO PRINCIPAL COMPLETO */
.hero-logo-main{
  width:min(760px,88vw)!important;
  max-height:360px!important;
  object-fit:contain!important;
  filter:
    drop-shadow(0 0 10px rgba(255,255,255,.95))
    drop-shadow(0 0 28px rgba(255,255,255,.70))
    drop-shadow(0 22px 45px rgba(0,0,0,.45))!important;
}

.hero-content{
  transform:translateY(-20px);
}

/* === PATCH AUTO: alineación carta móvil + logo inferior limpio === */

.category-card,
.category-item,
.cat-card {
  text-align: center !important;
  overflow: visible !important;
}

.category-card h3,
.category-card .title,
.category-item h3,
.category-item .title,
.cat-card h3,
.cat-card .title {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 12px auto 0 !important;
  line-height: 1.05 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.section-title,
.category-title,
.menu-section-title {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  padding-left: 28px !important;
  padding-right: 20px !important;
}

.section-title img,
.category-title img,
.menu-section-title img {
  flex: 0 0 auto !important;
  object-fit: contain !important;
}

.bottom-nav .center-logo,
.bottom-nav .brand-center,
.bottom-nav .nav-logo,
.mobile-nav .center-logo,
.mobile-nav .brand-center,
.mobile-nav .nav-logo {
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #fff7ec !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.bottom-nav .center-logo img,
.bottom-nav .brand-center img,
.bottom-nav .nav-logo img,
.mobile-nav .center-logo img,
.mobile-nav .brand-center img,
.mobile-nav .nav-logo img {
  width: 74% !important;
  height: 74% !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  clip-path: circle(49% at 50% 50%) !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  .category-card h3,
  .category-card .title,
  .category-item h3,
  .category-item .title,
  .cat-card h3,
  .cat-card .title {
    font-size: 22px !important;
    letter-spacing: .3px !important;
  }

  .section-title,
  .category-title,
  .menu-section-title {
    justify-content: flex-start !important;
  }
}


/* === PATCH AUTO 2: categorías limpias solo icono === */

.category-card h3,
.category-card .title,
.category-item h3,
.category-item .title,
.cat-card h3,
.cat-card .title,
.category-card > span,
.category-item > span,
.cat-card > span {
  display: none !important;
}

.category-card,
.category-item,
.cat-card {
  height: 150px !important;
  min-width: 150px !important;
  width: 150px !important;
  padding: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.category-card img,
.category-item img,
.cat-card img,
.category-card .icon,
.category-item .icon,
.cat-card .icon {
  width: 92px !important;
  height: 92px !important;
  max-width: 92px !important;
  max-height: 92px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.category-card.active,
.category-item.active,
.cat-card.active {
  border-color: #f58aa8 !important;
  box-shadow: 0 0 18px rgba(245, 138, 168, .65) !important;
}

@media (max-width: 768px) {
  .category-card,
  .category-item,
  .cat-card {
    height: 142px !important;
    min-width: 142px !important;
    width: 142px !important;
  }

  .category-card img,
  .category-item img,
  .cat-card img,
  .category-card .icon,
  .category-item .icon,
  .cat-card .icon {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
  }
}


/* === PATCH REAL: barra categorías superior === */

#categories button {
  height: 112px !important;
  width: 112px !important;
  min-width: 112px !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
}

#categories button > span:not(.cat-icon) {
  display: none !important;
}

#categories .cat-icon {
  width: 84px !important;
  height: 84px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

#categories .cat-icon img {
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  object-fit: contain !important;
}


/* === PATCH ICONOS XXL === */

#categories button{
    padding:4px !important;
    height:118px !important;
    width:118px !important;
    min-width:118px !important;
}

#categories .cat-icon{
    width:102px !important;
    height:102px !important;
}

#categories .cat-icon img{
    width:102px !important;
    height:102px !important;
    max-width:102px !important;
    max-height:102px !important;
    object-fit:contain !important;
    display:block !important;
    margin:auto !important;
}


/* === PATCH ICONOS XXL === */

#categories button{
    padding:4px !important;
    height:118px !important;
    width:118px !important;
    min-width:118px !important;
}

#categories .cat-icon{
    width:102px !important;
    height:102px !important;
}

#categories .cat-icon img{
    width:102px !important;
    height:102px !important;
    max-width:102px !important;
    max-height:102px !important;
    object-fit:contain !important;
    display:block !important;
    margin:auto !important;
}


/* === PATCH ICONOS XXL === */

#categories button{
    padding:4px !important;
    height:118px !important;
    width:118px !important;
    min-width:118px !important;
}

#categories .cat-icon{
    width:102px !important;
    height:102px !important;
}

#categories .cat-icon img{
    width:102px !important;
    height:102px !important;
    max-width:102px !important;
    max-height:102px !important;
    object-fit:contain !important;
    display:block !important;
    margin:auto !important;
}


/* ===== Solo cambiar color del círculo del icono ===== */

.section-title .round-icon{
    background:#000 !important;
}


/* =====================================================
   FIX LOGO CENTRAL MENÚ INFERIOR
   ===================================================== */

.brand-mini{
    width:72px !important;
    height:72px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    background:#000 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-shadow:none !important;
    padding:0 !important;
}

.brand-mini img{
    width:72px !important;
    height:72px !important;
    object-fit:cover !important;
    display:block !important;
    margin:0 !important;
    border-radius:50% !important;
}

/* elimina cualquier fondo heredado */

.bottom-nav .brand-mini,
.bottom-nav .brand-mini img{
    background:#000 !important;
}

