body {
  margin: 0;
  font-family: 'MyriadPro-Bold', sans-serif;
  background: #fff; 
  color: #111;
  padding-bottom: 40px;
}

body.home {
  background: #facc15; 
  color: #fff;      
  min-height: 100vh;
  margin: 0;
}

body.home header h1,
body.home header p {
  color: #fff;
  font-style: italic;
  font-family: 'MyriadPro-Bold';
}

body.home .cat-card h2 {
  color: #fff;
}

body.home .cat-card img {
  border-radius: 12px;
  display: block;
  margin: 0 auto 8px;
}

body.home .cat-card h2 {
  color: #000;
}

@font-face {
  font-family: 'MyriadPro-Bold';
  src: url("/fonts/MyriadPro-Bold.ttf") format("truetype");
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 60px;
} 
.sub {
  color: #555;
  margin: 8px 0 0;
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #f9fafb;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.cat-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .cat-card img {
    height: 320px;
  }
}

.cat-card h2 {
  margin: 0;
  padding: 6px;
  font-size: 18px;
  text-align: center;
  font-family: 'MyriadPro-Bold'; 
  font-style: italic;
}

.btn-back {
  position: fixed;
  bottom: 20px;
  left: 20px;             
  background: #facc15;    
  color: #000;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 1000;
}

.btn-back:hover {
  background: #fbbf24;    
  transform: scale(1.1);
}

.item-name {
  font-size: 14px;
  font-style: italic;
  font-weight: 900;
}
.item-price {
  font-size: 14px;
  font-style: italic;
  font-weight: 900;
  white-space: nowrap;
}

.col-img-left img {
  object-position: left center;  
}

.col-img-top img {
  object-position: center top;   
}

.col-img-right img {
  object-position: left right;  
}

.col-img-bottom img {
  object-position: center bottom;   
}

.col-img-center img {
  object-position: center center;   
}

.ensalada-extras {
  margin-top: 20px;
  font-size: 13px;
  color: #333;
}

.extra-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.extra-line img {
  width: 48px;
  height: auto;
  display: block;
}

.extra-line strong {
  font-weight: 700;
}

.extra-line.show {
  opacity: 1;
  transform: translateY(0);
}

.vinagretas-title,
.vinagretas-line{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.vinagretas-title.show,
.vinagretas-line.show {
  opacity: 1;
  transform: translateY(0);
}

.d-flex {
  display: flex !important;
}

.sub-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, auto));
  gap: 10px 20px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.sub-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: #444;
}

.sub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #facc15;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .sub-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-list.sub-list--single {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
}

.item-separator {
  border: none;
  height: 3px;
  background: #facc15;   
  margin: 10px 0;
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.item-separator.show {
  opacity: 1;
  transform: scaleX(1);
}

.section-title {
  font-size: 15px;
  font-weight: 700; 
  margin: 0 0 20px 0;       
  padding: 8px 20px;
  background: #facc15;
  display: block;
  width: 50%;                  
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 4px;
  margin-left: -30px;            
  position: relative;
  left: 0;

  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-title.show {
  opacity: 1;
  transform: translateY(0);
}

.menu-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.item-head {
  display: flex;
  justify-content: space-between;
  position: relative;   
}

.item-head.with-icon::before {
  content: "";
  position: absolute;
  left: -28px;         
  top: 50%;          
  transform: translateY(-50%); 
  width: 32px;   
  height: 32px;
  background: url("../images/chef.webp") no-repeat center;
  background-size: contain;
}

.item-head.with-icon-chile::before {
  content: "";
  position: absolute;
  left: -28px;         
  top: 50%;          
  transform: translateY(-50%); 
  width: 32px;   
  height: 32px;
  background: url("../images/chile.webp") no-repeat center;
  background-size: contain;
}

.menu-header{
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 800;

  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.menu-header.show {
  opacity: 1;
  transform: translateY(0);
}

header {
  text-align: center;
}

header .logo {
  width: 240px;  
  height: auto;
}

.vinos .item-head {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 4px;
}

.vinos .item-desc {
  font-size: 0.9em;
  color: #555;
  margin: 0 0 6px 0;
}

.vinos .item-precios {
  font-size: 0.9em;
  font-style: italic;
  color: #333;
  margin-bottom: 15px;
}

.vinos .item-precios span {
  background: #f6f6f6;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 10px;
  display: inline-block;
  font-weight: 700;
}

/*Sucursales*/
.sucursales { padding: 24px 0 36px; }
.sucursales #titulo-sucursales {
  color: #fff;            
  margin-bottom: 14px;
}

.suc-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: 1fr;         
}
@media (min-width: 900px){
  .suc-grid { grid-template-columns: 1fr 1fr; } 
}

.suc-card{
  background: #fff; color: #000;          
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
  padding: 14px 16px;
}

.suc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.suc-name { font-weight: 700; font-size: 1rem; }

.suc-phones{ display: grid; gap: 8px; }
.suc-link{
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  color: #000;                 
  background: #f6f7f8;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 10px 12px;
  transition: background .2s, transform .05s;
}
.suc-link:hover { background: #eef1f4; }
.suc-link:active { transform: translateY(1px); }
.suc-link .ico{ font-size: 1.05rem; line-height: 1; }

.suc-link strong{ font-weight: 800; }     

.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;   
}

.extra-item {
  text-align: center;
}

.extra-item img {
  width: 140px; 
  height: auto;
  display: block;
  margin: 0 auto;
}

.extra-text {
  margin-top: 6px;
}

.extra-text small {
  font-size: 10px;
  color: #333;
}

.extras .extra-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.extras .extra-item.show {
  opacity: 1;
  transform: translateY(0);
}

.extras .extra-item:nth-child(1) { transform: translateX(-20px); }
.extras .extra-item:nth-child(2) { transform: translateX(20px); }
.extras .extra-item.show:nth-child(1),
.extras .extra-item.show:nth-child(2) { transform: translateX(0); }

