/*
Theme Name: Rowrigo webs
Theme URI: https://rowrigo.com
Author: Rowrigo
Description: Tema personalizado para basico
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rowrigo
*/

/* Importar Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  background-color: #ffffff;
  color: #212121;
  line-height: 1.6;
}

a {
  color: #212121;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #06cc06;
}

/**** HEADER & SIDEBAR & MENU ****/
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background-color: #212121;
  padding: 20px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
  border-right: 1px solid #06cc06;
  color: #ffffff;
}

.nav-menu a {
  color: #ffffff !important;
}

.post-count {
  color: #ffffff !important;
}

/* LOGO HEADER */

#masthead {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.site-branding {
  align-items: center;
}

.custom-logo-link img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.site-identity {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-title {
  font-size: 24px;
  margin: 0;
}

.site-title a {
  color: #ffffff;
  text-decoration: none;
}

.site-description {
  font-size: 16px;
  color: #b1b1b1;
  margin: 0;
}

/* MENU LOGO */

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin-bottom: 0.5rem;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: var(--neon-green);
  background: rgba(255, 255, 255, 0.1);
}

.nav-menu i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.menu-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f1f1;
}

.logo-link {
  display: block;
  text-decoration: none;
}

.site-logo {
  width: 100%;
  height: auto;
  max-width: 240px;
  display: block;
  margin: 0 auto;
}

.logo {
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.primary-menu {
  margin-bottom: 0px;
}

.menu-title {
  color: #ffffff;
  font-size: 1.2em;
  margin-bottom: 15px;
  padding-left: 15px;
  font-weight: 500;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  margin-bottom: 8px;
}

.menu-item a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--text-white);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.primary-menu .menu-item a {
  background: rgba(255, 255, 255, 0.05);
}

.primary-menu .menu-item a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  color: #06cc06 !important;
}

.primary-menu .menu-item i {
  color: #06cc06;
  margin-right: 12px;
  font-size: 1.1em;
  width: 20px;
  text-align: center;
}

.category-name {
  flex-grow: 1;
}

.post-count {
  background: var(--hover-bg);
  color: var(--neon-green);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85em;
  min-width: 24px;
  text-align: center;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--mobile-header-bg);
  padding: 15px;
  z-index: 1001;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #636363;
  height: 60px;
  box-sizing: border-box;
}

.mobile-header .site-title {
  color: var(--site-title-color);
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: var(--menu-toggle-color);
  padding: 10px;
  cursor: pointer;
  font-size: 1.2em;
  display: none;
}

.menu-toggle:hover {
  color: var(--neon-green);
}

@media screen and (max-width: 992px) {
  .mobile-header {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding-bottom: 100px;
  }

  .sidebar.active {
    transform: translateX(0);
  }
}

@media screen and (max-width: 480px) {
  .live-button {
    flex-direction: row;
    width: 100%;
  }

  .live-button a {
    width: 100%;
    justify-content: center;
  }
}

/* Header action */
.header-actions {
  position: fixed;
  top: 0;
  right: 0;
  left: 320px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--header-actions-bg);
  z-index: 100;
  border-bottom: 1px solid #636363;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  color: var(--social-links-color);
  text-decoration: none;
  font-size: 2em;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--social-link-hover);
}

.live-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background-color: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.live-button:hover {
  background-color: #212121;
  transform: translateY(-1px);
  color: #ffffff;
}

@media screen and (max-width: 992px) {
  .live-button {
    padding: 6px 12px;
    font-size: 0.85em;
  }
}

@media screen and (max-width: 768px) {
  .live-button {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 992px) {
  .header-actions {
    display: none;
  }

  .post-hero {
    margin-top: 5px;
  }
}

.whatsapp-header {
  color: #ffffff;
}

/****  MAIN CONTENT > CUERPO SITE ******/

.main-content {
  margin-left: 320px;
  padding: 20px;
  margin-top: 60px;
  transition: margin-left 0.3s ease;
}

@media screen and (max-width: 992px) {
  .main-content {
    margin-left: 0;
    margin-top: 40px;
    padding-bottom: calc(30px + 65px);
  }
}

@media screen and (max-width: 768px) {
  .main-content {
    padding: 15px;
    margin-top: 20px;
  }
}

/* post, page, archive */
.content-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Estilos generales */
.post-header,
.page-header {
  padding: 40px 0 30px;
  text-align: center;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #ffffff;
  opacity: 0.8;
  margin-bottom: 30px;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-meta i {
  color: #06cc06;
}

.featured-image-container {
  margin: 0 0 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.featured-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.post-hero {
  position: relative;
  border-radius: 8px;
  border: solid 2px #f1f1f1;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  margin: 60px 0 40px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50% 40px 40px;
  background: linear-gradient(transparent, rgb(0 0 0 / 30%));
  text-align: center;
}

.hero-logo-mobile {
  display: none;
  max-width: 250px;
  height: auto;
  margin: 0 auto;
}

.post-hero .post-title {
  font-size: 3em;
  color: #ffffff;
  margin: 0 0 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .hero-logo-mobile {
    display: block;
  }

  .hero-logo-mobile img {
    width: 100%;
    height: auto;
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-content {
    padding: 20px 0 0;
  }
}

@media screen and (max-width: 768px) {
  .post-header,
  .page-header {
    padding: 30px 5px 20px;
  }

  .post-title {
    font-size: 2em;
  }

  .post-meta {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .featured-image-container {
    margin: 0 0 30px;
    border-radius: 8px;
  }

  .post-hero {
    height: 50vh;
    min-height: 400px;
    margin-top: 50px;
  }

  .hero-content {
    padding: 50% 20px 30px;
  }

  .post-hero .post-title {
    font-size: 2em;
  }

  .post-hero .post-meta {
    flex-wrap: wrap;
    gap: 15px;
  }

  .post-content {
    padding: 0 30px;
  }

  .comments-section {
    padding: 30px 30px;
  }
}

@media screen and (max-width: 480px) {
  .banner-section {
    height: 250px;
  }

  .banner-content h1 {
    font-size: 1.5em;
  }

  .banner-content p {
    font-size: 1em;
  }

  .section-title {
    font-size: 1.5em;
    text-align: center;
  }

  .post-hero {
    height: 40vh;
    min-height: 300px;
  }

  .post-hero .post-title {
    font-size: 22px;
  }

  .post-hero .post-meta {
    flex-direction: column;
    gap: 10px;
  }

  .post-hero .post-meta span {
    font-size: 14px;
  }

  .post-content {
    padding: 0 20px;
  }

  .comments-section {
    padding: 20px 20px;
  }
}

/****** COMENTARIOS ******/

.comments-section {
  width: 100%;
  padding: 40px 60px;
  box-sizing: border-box;
  margin-top: 40px;
  border-top: 1px solid #cccccc;
}

.comments-title {
  font-size: 2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

@media screen and (max-width: 480px) {
  .comments-section {
    padding: 20px 20px;
  }
}

/****** TITULOS DE PAGINAS *******/
.page-title::first-letter {
  text-transform: uppercase;
}

.page-title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #06cc06;
  margin: 15px auto 0;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 2rem auto 3rem;
  text-align: center;
  max-width: 800px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
    margin: 1.5rem auto 2rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.8rem;
    margin: 1rem auto 1.5rem;
  }
}

/****** HERO HOME INDEX *****/
.hero-banner {
  position: relative;
  min-height: 450px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 8px;
  border: solid 2px #212121;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("img/banner-hero.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 1200px 450px;
  filter: brightness(0.9);
  z-index: -1;
}

.hero-banner-content {
  max-width: 100%;
  padding: 20px;
  color: white;
  position: relative;
  z-index: 1;
}

.hero-banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000,
    2px 2px 0 #000, 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-banner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000, 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .hero-banner h1 {
    font-size: 2rem;
  }

  .hero-banner p {
    font-size: 1rem;
  }

  .hero-banner {
    min-height: 200px;
    margin-top: 20px;
  }
}

@media (max-width: 988px) {
  .hero-banner {
    position: relative;
    min-height: 250px;
    margin-top: 40px;
    background-color: #212121;
  }

  .hero-banner::before {
    background-image: url("");
  }
}

/***********  CARD TERJETAS POST ***********/

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.post-card {
  background: #ffffff;
  border: 1px solid #858585;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-thumbnail {
  position: relative;
  padding-top: 65%;
  display: block;
  overflow: hidden;
}

.post-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-thumbnail::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.post-card-content {
  padding: 20px;
  position: relative;
}

.post-card-title {
  margin: 0 0 10px;
  font-size: 1.2em;
  line-height: 1.4;
}

.post-card-title a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card-title a:hover {
  color: #39ff14;
}

.post-card-excerpt {
  color: #000;
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.85em;
  color: #333333;
}

@media screen and (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-card-content {
    padding: 15px;
  }
}

/* Post relacionados */
.related-posts {
  margin-top: 40px;
  padding: 20px;
}

.section-title {
  margin-bottom: 20px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/****** BOTONES FLOTANTES COMPARTIR *******/

.share-float-button {
  position: fixed;
  right: 20px;
  bottom: 60px;
  z-index: 999;
}

.share-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--share-toggle-bg);
  border: none;
  color: var(--share-toggle-text);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-toggle:hover {
  transform: scale(1.1);
  background: var(--share-toggle-bg);
}

.share-toggle.active {
  background: var(--share-toggle-bg-active);
  transform: rotate(45deg);
}

.share-menu {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: white;
  border-radius: 10px;
  border: solid 2px #212121;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}

.share-menu.active {
  display: flex;
}

.share-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.share-item i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.share-item.facebook {
  color: #1877f2;
}

.share-item.twitter {
  color: #1da1f2;
}

.share-item.whatsapp {
  color: #25d366;
}

.share-item.telegram {
  color: #0088cc;
}

.share-item:hover {
  background: #f5f5f5;
  transform: translateX(-5px);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .share-float-button {
    right: 15px;
    bottom: 70px;
  }

  .share-menu {
    bottom: 75px;
    right: 0;
  }
}

/********* FOOTER ***********/
.site-footer {
  background-color: var(--footer-bg);
  z-index: 100;
  border-top: 1px solid #636363;
  padding: 1rem;
  color: var(--footer-text);
}

.site-footer p {
  color: var(--footer-text);
  margin: 0;
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--neon-green);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-center {
  text-align: center;
  font-size: 0.9rem;
}

.footer-left {
  color: var(--text-white);
  font-size: 0.9em;
}

.footer-right {
  color: var(--text-white);
  font-size: 0.9em;
  text-align: right;
  margin-left: auto;
}

.footer-right a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: var(--text-white);
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-right {
    margin-left: 0;
    text-align: center;
  }
}

/* boton de footer whatsapp */
.menu-footer {
  display: none; /* Por defecto está oculto */
}

/* Solo se muestra en pantallas menores a 780px */
@media screen and (max-width: 780px) {
  .menu-footer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .whatsapp-button-footer {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .whatsapp-button-footer:hover {
    background-color: #128c7e;
    color: white;
  }

  .whatsapp-button-footer i {
    margin-right: 8px;
  }

  /* Ajuste para dar espacio al contenido por encima del menú fijo */
  body {
    padding-bottom: 70px;
  }
}

/* CSS DE SINGLE RESTAURANT */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  margin-bottom: 10px;
}

.product-image {
  width: 100%;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f3f3f3;
  border: 1px solid #ddd;
  border-radius: 8px;
  /* Centra verticalmente */
  align-items: center;
  /* Centra horizontalmente */
  height: 100%;
  /* Asegura que tome toda la altura disponible */
  text-align: center;
  /* Centra el texto */
}

/* Centramos también los elementos internos */
.menu-price {
  font-size: 2.5em;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #1a1a1a;
  width: 100%;
}

.menu-selection {
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  /* Asegura que tome el ancho completo */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-selection h3 {
  margin-bottom: 15px;
}

.quantity-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Centra los botones horizontalmente */
  gap: 10px;
  margin: 10px 0;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.quantity-btn:hover {
  background: #f0f0f0;
}

.quantity-display {
  min-width: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.3s;
  width: 100%;
  max-width: 250px;
  justify-content: center;
}

.whatsapp-button:hover {
  background: #128c7e;
}

/* Responsive design */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Estilos para el grid de productos aleatorios */
/* La sección de productos aleatorios para restaurant ahora usa el prefijo rest- */

/* Estilos para el botón de cargar más */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.load-more-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.load-more-button:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.load-more-button.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Los estilos de tarjetas para restaurant ahora usan el prefijo rest- */

/* Los botones de tarjetas para restaurant ahora usan el prefijo rest- */

/* Los estilos responsive para tarjetas de restaurant ahora usan el prefijo rest- */

/* Estilos para la sección de comentarios */
.comments-section {
  margin-top: 60px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.comments-title {
  font-size: 1.8em;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.comments-title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #2ecc71;
  margin: 10px auto 0;
}

.comment-form {
  margin-bottom: 40px;
}

.comment-notes {
  margin-bottom: 20px;
  font-size: 0.9em;
  color: #666;
}

.comment-form-comment label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-submit input[type="submit"] {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
  margin-top: 15px;
}

.form-submit input[type="submit"]:hover {
  background-color: #27ae60;
}

.comments-count {
  font-size: 1.2em;
  margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list li {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.comment-list li:last-child {
  border-bottom: none;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author .avatar {
  border-radius: 50%;
  margin-right: 15px;
}

.comment-author .fn {
  font-weight: 600;
  font-style: normal;
}

.comment-metadata {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 15px;
}

.comment-content {
  margin-top: 10px;
  line-height: 1.6;
}

.comment-respond {
  margin-top: 40px;
}

.comment-reply-title {
  font-size: 1.4em;
  margin-bottom: 20px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  margin-bottom: 15px;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.comment-navigation {
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
  max-width: 48%;
}

.comment-navigation a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #f0f0f0;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
}

.comment-navigation a:hover {
  background-color: #e0e0e0;
}

@media (max-width: 768px) {
  .comments-section {
    padding: 20px;
  }

  .comment-form-author,
  .comment-form-email {
    width: 100%;
  }
}

/* Paginación */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin: 0 5px;
  background-color: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.pagination .page-numbers.current {
  background-color: #2ecc71;
  color: white;
}

.pagination .page-numbers:hover:not(.current) {
  background-color: #e0e0e0;
}

/* Los estilos responsive para archive-restaurant.php ahora usan el prefijo rest- */

/* ESTILOS ESPECÍFICOS PARA RESTAURANT CON PREFIJO REST- */
/* Estos estilos solo afectan a single-restaurant.php y archive-restaurant.php */

.rest-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.rest-card-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 0;
  height: 100%;
}

.rest-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.rest-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rest-card-image {
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border-radius: 12px 12px 0 0;
}

.rest-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  padding: 0;
  margin: 0;
}

.rest-card-item:hover .rest-card-image img {
  transform: scale(1.05);
}

.rest-card-content {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  justify-content: space-between;
  background-color: #fff;
}

.rest-card-title {
  font-size: 1.1em;
  margin: 0;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
}

.rest-menu-price {
  font-weight: 700;
  color: #141414;
  font-size: 1.2em;
}

.rest-random-products-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

.rest-random-products-section h2 {
  font-size: 1.8em;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.rest-random-products-section h2:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #2ecc71;
  margin: 10px auto 0;
}

.rest-archive-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 0;
}

.rest-archive-header .rest-page-title {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #333;
  position: relative;
  display: inline-block;
}

.rest-archive-header .rest-page-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #2ecc71;
  margin: 10px auto 0;
  border-radius: 2px;
}

.rest-archive-description {
  font-size: 1.1em;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.rest-menu-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.rest-filter-button {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.rest-filter-button:hover {
  border-color: #06cc06;
  color: #06cc06;
}

.rest-filter-button.active {
  background-color: #06cc06;
  color: white;
  border-color: #06cc06;
  box-shadow: 0 2px 5px rgba(6, 204, 6, 0.3);
}

.rest-menu-grid {
  margin-bottom: 50px;
}

.rest-no-items-message {
  text-align: center;
  font-size: 1.2em;
  color: #666;
  padding: 30px;
  grid-column: 1 / -1;
}

/* Estilos para el banner de restaurante en index.php */
.restaurant-banner {
  width: 100%;
  height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("./img/bg-home.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
}

.restaurant-banner-content {
  text-align: center;
  color: #ffffff;
  padding: 20px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.restaurant-logo {
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 15px;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.restaurant-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.restaurant-banner-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.restaurant-banner-content p {
  font-size: 1.5em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Estilos para la sección de menú de restaurante */
.restaurant-menu-section {
  padding: 0 20px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.restaurant-menu-header {
  text-align: center;
  margin-bottom: 40px;
}

.restaurant-menu-header h2 {
  font-size: 2.5em;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.restaurant-menu-header h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: #06cc06;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.restaurant-menu-footer {
  text-align: center;
  margin-top: 40px;
}

.view-all-button {
  display: inline-block;
  background-color: #06cc06;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(6, 204, 6, 0.2);
}

.view-all-button:hover {
  background-color: #05a805;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(6, 204, 6, 0.3);
}

/* Responsive para el grid de tarjetas de restaurant */
@media (max-width: 1200px) {
  .rest-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .restaurant-banner-content h1 {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .rest-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rest-archive-header .rest-page-title {
    font-size: 2em;
  }

  .rest-filter-button {
    padding: 6px 12px;
    font-size: 0.85em;
  }

  .restaurant-banner {
    height: 400px;
  }

  .restaurant-logo {
    width: 120px;
    height: 120px;
    padding: 12px;
  }

  .restaurant-banner-content h1 {
    font-size: 2.5em;
  }

  .restaurant-banner-content p {
    font-size: 1.2em;
  }

  .restaurant-menu-header h2 {
    font-size: 2em;
  }

  .rest-menu-filter {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .rest-card-grid {
    grid-template-columns: 1fr;
  }
}

.contenido-platillo {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.5em;
  line-height: 1.6;
  color: #333;
  text-align: left;
  width: 100%;
  max-width: 500px;
}
.contenido-platillo i {
  color: #2ecc71;
  font-size: 1.4em;
  margin-right: 10px;
}
