@media screen and (max-width: 600px) 
{
  body 
  {
    background-color: #fff;
  }
  
  .junto 
  {
    margin-bottom: 5px;
    margin-top: 0px;
  }

  .junto2 
  {
    margin-top: 0px;
    margin-bottom: 5px;
  }


  .celular 
{
  width: 300px;
  height: 170px;
}

.separado 
    {
      margin-left: 2px;
    }

.sep 
{
  width: 180px;
  height: 190px;
}

}
.contacta
{
  margin-left: 2px;
}

/* Custom button colors */
/* Mint button variant */
.btn-green {
  background: var(--color-accent) !important;
  border: 1px solid var(--color-accent) !important;
  color: #fff !important;
}

/* Ensure hero buttons use mint color */
.hero .btn-green {
  background: var(--color-accent) !important;
  border: 1px solid var(--color-accent) !important;
  color: #fff !important;
}

.btn-green:hover {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #fff !important;
}

/* Lilac button variant */

.btn-purple {
  background-color: #c184e1 !important;
  color: #0f172a !important;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
}

/* Ensure hero buttons use lilac color */
.hero .btn-purple {
  background-color: #c184e1 !important;
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
}

.btn-purple:hover {
  background-color: #aa6cc8 !important;
  color: #fff !important;
}

.header .btn-book-a-table.btn-ingresar {
  background-color: #c184e1 !important;
  color: #fff;
}

.header .btn-book-a-table.btn-ingresar:hover {
  background-color: #aa6cc8 !important;
  color: #fff;
}


/* Rounded button with bold text and no background color */
.btn-rounded-text {
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 30px;
}

/* Ensure index buttons have uniform width */
#index-buttons .btn-book-a-table {
  width: 280px;
  text-align: center;
}

/* Make index buttons full-width on small screens */
@media (max-width: 575.98px) {
  #index-buttons .btn-book-a-table {
    width: 100%;
  }
}

/* Login page styles */
#login-section {

  background-color: var(--color-accent);

  min-height: 100vh;
}

#login-form {
  border-radius: 15px;
  border: 2px solid #c8a2c8;
}

#login-form .form-control {
  border-radius: 10px;
  border: 1px solid #c8a2c8;
}

#login-form .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(15, 23, 42, 0.25);
}

#login-section .section-header h2 {
  color: #C8A2C8;
}

/* Style login buttons similar to hero buttons */
#login-section .btn-book-a-table {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 36px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#login-section .btn-book-a-table:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Mint color for forgot-password link */
#login-section .forgot-password {
  color: var(--color-accent) !important;
}

/* Footer padding override */
.footer { padding: 20px 0 !important; }

/* Comercio details header */
.store-header {
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo2 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.store-header .info-line {
  margin-bottom: 0.25rem;
}

.store-header .title {
  margin-bottom: 0;
}

/* Additional spacing for store information section */
.store-info .info-line {
  margin-bottom: 0.25rem;
}

.store-info {
  text-align: center;
}

/* Color utility classes using CSS variables */
.bg-accent {
  background-color: var(--color-accent) !important;
}

.text-accent {
  color: var(--color-accent) !important;
}

.bg-button {
  background-color: var(--color-button) !important;
}

.text-button {
  color: var(--color-button) !important;
}

body.sidebar-admin .fa,
body.sidebar-admin .fab,
body.sidebar-admin .fad,
body.sidebar-admin .fal,
body.sidebar-admin .far,
body.sidebar-admin .fas {
  color: #c084fc;
}

body.sidebar-comercio .fa,
body.sidebar-comercio .fab,
body.sidebar-comercio .fad,
body.sidebar-comercio .fal,
body.sidebar-comercio .far,
body.sidebar-comercio .fas {
  color: #6c757d;
}

/* Order modal customizations */
.order-modal-header {
  background-color: var(--color-accent);
}
.order-modal-footer {
  display: flex;
  justify-content: space-between;
}
.product-image {
  border-radius: 10px;
}

.ajustado {
  width: 100px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

/* Order modal text styles */
.product-title {
  font-weight: 700;
  font-size: 28px;
  color: var(--color-default);
}

.product-price,
.extras-title,
.no-records {
  font-weight: 700;
  color: #0F172A;
}

.product-price {
  font-size: 15px;
  color: #6c757d;
}

/* Optional button classes */
.btn-close-order {
  border-radius: 20px;
}
.btn-order {
  padding: 10px 30px;
  border-radius: 30px;
  background-color: var(--color-accent) !important;
  color: #c084fc !important;
  border: none;
}

/* Shared modal styling */
.common-modal-header {
  background-color: var(--color-accent);
  color: #fff;
  font-family: var(--font-secondary);
  font-weight: 700;
  padding: 0.75rem 1rem;
  min-height: 3.5rem;
  border-bottom: 1px solid var(--color-accent);
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.common-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-accent);
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: #fff;
}

.modal-footer.common-modal-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
}

/* Modal container adjustments */
.modal-content {
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Modal body spacing */
.upti,
#cartModalBody,
#orderModalBody {
  padding: 1rem 1.5rem;
}

/* Limit cart modal body height and enable scrolling within it */
#cartModalBody {
  max-height: 60vh;
  overflow-y: auto;
}

/* Enable scrolling within generic UPTI2 modals */
.modal-body.upti2 {
  max-height: 60vh;
  overflow-y: auto;
}

/* Offset sections below the fixed header */
.events-offset {
  margin-top: 90px;
  padding-top: 1px;
}
  @media (max-width: 575px) {
    .events-offset {
      margin-top: 70px;
    }
  }
/* Cart table styles */
.text-right {
  text-align: right;
}
.cart-table {
  border-collapse: collapse;
}
.cart-table th,
.cart-table td {
  border-bottom: 1px solid #dee2e6;
}
.cart-table .total-row {
  font-weight: bold;
}

/* Layout tweaks for cart items */
.row.cart-item {
  flex-direction: column;
  align-items: flex-start;
}
.row.cart-item > [class^="col"] {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 0.25rem;
}
.cart-item-title {
  display: flex;
  justify-content: space-between;
}
.cart-item-price {
  font-size: 14px;
}
.cart-item-desc {
  font-size: 0.875rem;
  color: #6c757d;
}
.quantity-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.quantity-control input {
  flex: 0 0 60px;
  width: 60px;
  text-align: center;
  margin: 0;
}
.quantity-control button {
  padding: 0.25rem 0.5rem;
}

/* New layout for extras list */
.extras-list {
  width: 100%;
}
.extras-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  border-bottom: 1px solid #eaeaea;
}
.extras-item:last-child {
  border-bottom: none;
}
.extras-desc {
  font-weight: 700;
}

.two-kilo-alert {
  background: #f3e8ff;
  border-left: 6px solid #a855f7;
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 17px;
  color: #5b21b6;
  font-weight: 500;
}

.two-kilo-alert .emoji {
  font-size: 22px;
}

.two-kilo-alert .msg-text strong {
  font-weight: 700;
  color: #4c1d95;
}

/* Cart icon badge */
.cart-icon {
  position: relative;
  display: inline-block;
}

/* Larger cart icon */
.cart-icon i {
  font-size: 1.75rem;
}

.cart-icon .cart-count {
  position: absolute;
  top: -0.35em;
  right: -0.3em;
  background: #c084fc;
  color: #0f172a;
  border-radius: 50%;
  font-size: 0.9rem;
  padding: 0 0.45em;
}

/* Dropdown cart link */
.dropdown .mostrar_carrito {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .25rem;
}

.dropdown .mostrar_carrito .cart-icon i {
  font-size: 2rem;
}

.dropdown-divider {
  border-top: 1px solid #C8A2C8;
}

/* Brand colors for social icons */
.social-links a.whatsapp,
.social a.whatsapp,
a.whatsapp {
  color: #25D366 !important;
  border-color: #25D366 !important;
}

.social-links a.instagram,
.social a.instagram,
a.instagram {
  color: #E4405F !important;
  border-color: #E4405F !important;
}

.bi-whatsapp {
  color: #25D366 !important;
}

.bi-instagram {
  color: #E4405F !important;
}

/* Registro comercio form card */
.registro-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.registro-card .form-control {
  border-radius: 0.5rem;
  box-shadow: none;
}

#extrasSummary {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.5rem;
}

.cart-extras-summary {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Floating cart icon */
.floating-cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #c084fc;
  color: #0f172a !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.floating-cart .bi {
  font-size: 1.75rem;
}

.floating-cart .cart-count {
  position: absolute;
  top: -0.35em;
  right: -0.35em;
  background: #0f172a;
  color: #c084fc;
  border-radius: 50%;
  padding: 0 0.4em;
  font-size: 0.9rem;
}

/* Larger cart icon in footer */
#footer-pedido .bi-cart {
  font-size: 1.75rem;
}

/* Uniform sizing for locality buttons */
.localidad-link img {
  width: 213px;
  height: 183px;
  object-fit: cover;
}

/* City selection buttons */
.city-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-secondary);
  background: #0f172a;
  border-radius: 50px;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #c084fc;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.city-button i {
  font-size: 1.5rem;
  color: #c084fc;
  margin-right: 0.25rem;
}

.city-button:hover {
  text-decoration: none;
  color: #c084fc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.titulo-ciudad {
  color: #fff;
  font-weight: 700;
}

/* Category buttons for results page */
.category-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-btn img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(56%) sepia(74%) saturate(1685%) hue-rotate(222deg) brightness(101%) contrast(98%);
}

.category-btn i {
  /* Reduced size for more consistent look */
  font-size: 1.6rem;
  color: #0F172A;
}

.category-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.category-label {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 14px;
}
/* Override swiper arrow size */
.swiper-button-next,
.swiper-button-prev {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-accent);
}
.commerce-icon {
  width: 100px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  border-radius: 10px;
  font-size: 48px;
  color: #757575;
}

/* Show store photos without color filter */
.category-btn img.store-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  border-radius: 50%;
}

/* Advertising slider */
.promo-slider img {
  width: 100%;
  max-width: 720px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.promo-slider img:hover {
  transform: scale(1.02);
}
.promo-slider .swiper-slide {
  text-align: center;
}

/* Global swiper bullet colors */
.swiper-pagination-bullet {
  background-color: rgba(15, 23, 42, 0.4);
}
.swiper-pagination-bullet-active {
  background-color: var(--color-accent);
}

.content-wrapper .table .btn i.bi {
  font-size: 0.8rem;
  width: 1rem;
  height: 1rem;
  display: inline-block;
}

@media (max-width: 576px) {
  .content-wrapper .table,
  .content-wrapper .table th,
  .content-wrapper .table td {
    font-size: 0.75rem;
  }
  .content-wrapper .table .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}

.btn-default,
.btn-primary,
.btn-danger,
.btn-default:hover,
.btn-primary:hover,
.btn-danger:hover {
    background-color: #0F172A;
    color: #fff;
    border: none;
}

body {
  padding-bottom: 60px; /* ajusta al alto del botón + separación */
}

.enviar-pedido-fijo {
  position: fixed;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

/* Ensure AdminLTE preloader uses accent color */
.preloader {
  background-color: #0F172A !important;
}

