:root {
    --primary-color: #e91e63; /* Rosa pastel para repostería */
    --primary-light: #000000;
    --secondary-color: #ff9800; /* Naranja para destacar */
    --dark-color: #5d4037; /* Marrón chocolate */
    --light-color: #f9fafb;
    --gray-color: #9ca3af;
    --success-color: #4caf50; /* Verde */
    --danger-color: #f44336; /* Rojo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fff5f7; /* Fondo rosado muy claro */
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-light));
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Selector de categorías con botones deslizables */
.categories-scroll {
    overflow-x: auto;
    padding: 1rem 0;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.categories-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.categories-container {
    display: flex;
    gap: 0.8rem;
    padding: 0.5rem;
    width: max-content;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    padding: 0.8rem;
    background: white;
    border: 2px solid #fce4ec;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-btn:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-btn span {
    font-size: 0.8rem;
    text-align: center;
    font-weight: 500;
}

.menu-container {
    margin: 2rem 0;
}

.products h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-description {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--gray-color);
}

.product-actions {
    display: flex;
    justify-content: flex-end;
}

.add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-to-cart:hover {
    background: var(--primary-light);
}

.cart-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.cart-toggle:hover {
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gray-color);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.quantity-value {
    min-width: 30px;
    text-align: center;
}

.remove-item {
    margin-left: auto;
    color: var(--danger-color);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Información del cliente */
.customer-info {
    padding: 1rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #f9fafb;
}

.customer-info h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.cart-footer {
    padding: 1.5rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-btn:hover:not(:disabled) {
    background: #388e3c;
}

.checkout-btn:disabled {
    background: var(--gray-color);
    cursor: not-allowed;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: var(--gray-color);
}

footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 992px) {
    .menu-container {
        flex-direction: column;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .categories-container {
        gap: 0.6rem;
    }
    
    .category-btn {
        min-width: 70px;
        height: 70px;
    }
    
    .category-btn i {
        font-size: 1.3rem;
    }
    
    .category-btn span {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-toggle {
        bottom: 1rem;
        right: 1rem;
    }
    
    .customer-info {
        padding: 0.8rem;
    }
    
    .category-btn {
        min-width: 65px;
        height: 65px;
        padding: 0.6rem;
    }
    
    .category-btn i {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .category-btn span {
        font-size: 0.65rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-text {
    text-align: left;
}

.logo-text h1 {
    margin-bottom: 0.3rem;
    font-size: 2.2rem;
}

.logo-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* Resto de tus estilos CSS existentes... */
/* [Aquí va el resto de tu CSS actual] */

/* Responsive */
@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo i {
        font-size: 2rem;
        padding: 12px;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
    }
    
    .logo-text p {
        font-size: 0.9rem;
    }  }

    /* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contenedor general */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff; /* o el color que quieras */
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* sombra opcional */
}

/* Contenido del header */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-img {
    max-width: 100%;
    height: auto;
    width: 150px; /* puedes ajustar este valor */
}

/* Responsividad */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-img {
        width: 220px; /* un poco más pequeño en móviles */
    }
}

/* Ajustes para el botón de checkout en móviles */
@media (max-width: 576px) {
  .cart-footer {
    padding: 1rem;
    position: sticky;
    bottom: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .checkout-btn {
    position: relative;
    z-index: 101;
  }
}

/* Prevenir zoom en inputs en iOS */
@media screen and (max-width: 768px) {
  input[type="text"] {
    font-size: 16px; /* Esto previene el zoom en iOS */
  }
  
  select {
    font-size: 16px; /* Esto previene el zoom en iOS */
  }
}

/* Estilos para el header con logo y redes sociales */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #e91e63;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #cd5079; /* Color dorado para el hover */
}

/* Estilos para la nota de precios */
.price-notice {
    background-color: #f8f9fa;
    border-left: 4px solid #d4af37;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.price-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #e91e63;
}

.price-notice i {
    color: #d4af37;
    margin-right: 5px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-icons {
        margin-top: 10px;
        justify-content: center;
    }
    
    .logo-img {
        margin-bottom: 10px;
    }
}