/* ============================================
   VARIABLES CSS - NUEVA PALETA EDITORIAL PREMIUM
============================================ */
:root {
    --primary-color: #1A2B3C;           /* Azul medianoche profundo - Títulos */
    --accent-color: #BFA46F;            /* Dorado apagado - Acentos sutiles */
    
    --text-primary: #2F2F2F;            /* Gris carbón oscuro - Texto principal */
    --text-secondary: #5C5C5C;
    --text-muted: #8A8A8A;
 
    --bg-primary: #F5F5F1;              /* Hueso suave - Fondo principal */
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F0EDE6;
 
    --border-color: #D9D6CE;            /* Gris niebla - Líneas divisorias */
    --shadow-sm: 0 1px 3px rgba(26, 43, 60, 0.06);
    --shadow-md: 0 4px 12px rgba(26, 43, 60, 0.08);
    --shadow-lg: 0 10px 20px rgba(26, 43, 60, 0.10);
    --shadow-xl: 0 20px 30px rgba(26, 43, 60, 0.12);
 
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
 
    --transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ============================================
   RESET Y BASE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.75;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
button, input, select, textarea {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}
ul {
    list-style: none;
}

/* Tipografía Serif elegante para títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--primary-color);
}

/* ============================================
   CONTAINER
============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HEADER
============================================ */
.header {
    background: var(--bg-secondary);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo i {
    font-size: 1.75rem;
}
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}
.btn-cart {
    position: relative;
    padding: 10px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    transition: transform 0.2s, color 0.2s;
    color: var(--text-primary);
}
.btn-cart:hover {
    transform: scale(1.15);
    color: var(--primary-color);
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #9C2A2A;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* ============================================
   HERO SECTION - Corregido para buena visibilidad
============================================ */
.hero {
    background: linear-gradient(135deg, #1A2B3C 0%, #13202E 100%);
    padding: 6rem 0 5rem;
    text-align: center;
    color: #F5F5F1;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    font-family: Georgia, 'Times New Roman', serif;
    color: #F5F5F1;
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.25rem;
    color: #E8E5DC;
    opacity: 0.95;
}

/* ============================================
   BOTONES
============================================ */
.btn-primary {
    background: var(--accent-color);
    color: #1A2B3C;
    padding: 0.875rem 2.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}
.btn-primary:hover {
    background: #d4b88a;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}
.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.875rem 2.25rem;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}
.btn-lg {
    font-size: 1.125rem;
    padding: 1rem 2.75rem;
}
.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   FILTERS SECTION
============================================ */
.filters-section {
    padding: 2rem 0;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}
.filters-bar {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}
.search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}
.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}
.search-box input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-secondary);
}
.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 43, 60, 0.08);
}
.filters {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}
.category-btn {
    padding: 0.7rem 1.25rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.category-btn:hover {
    background: #E8E5DC;
    color: var(--text-primary);
}
.category-btn.active {
    background: var(--primary-color);
    color: white;
}
.sort-select {
    padding: 0.7rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-secondary);
}
.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}
.product-count-wrapper {
    margin-top: 1.25rem;
}
.product-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.category-btn {
    padding: 10px 18px;
    margin: 0 5px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.category-btn.active {
    background: #1e293b !important;
    color: white !important;
}
.filters .category-btn {
    padding: 10px 20px;
    margin: 0 4px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters .category-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.filters .category-btn.active {
    background: #1e293b !important;
    color: white !important;
    box-shadow: 0 6px 16px rgba(30, 41, 59, 0.25);
}

/* ============================================
   PRODUCTS SECTION
============================================ */
.products-section {
    padding: 3rem 0;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.product-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-color);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #9C2A2A;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}
.product-image-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--bg-tertiary);
}
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-image {
    transform: scale(1.06);
}
.product-info {
    padding: 1.25rem;
}
.product-category {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: Georgia, 'Times New Roman', serif;
}
.product-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}
.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}
.product-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-stats {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}
.no-products,
.cart-empty,
.error-state,
.admin-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}
.no-products i,
.cart-empty i {
    font-size: 4.5rem;
    margin-bottom: 1.25rem;
    opacity: 0.5;
}

/* ============================================
   MODAL
============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 15px;
}
.modal.active {
    display: flex !important;
}
.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-lg {
    max-width: 960px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
}
.modal-header h2 {
    font-size: 1.45rem;
    color: var(--primary-color);
}
.close-btn {
    background: none;
    font-size: 2.2rem;
    color: var(--text-secondary);
    line-height: 1;
    transition: var(--transition);
}
.close-btn:hover {
    color: var(--text-primary);
}
.modal-body {
    padding: 1.75rem;
}
.modal-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   PRODUCT DETAIL
============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.product-detail-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}
.product-category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 1rem 0;
}
.product-price-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 1.5rem 0;
}
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ============================================
   CART
============================================ */
.cart-items {
    max-height: 420px;
    overflow-y: auto;
}
.cart-item {
    display: flex;
    gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-item:last-child {
    border-bottom: none;
}
.cart-item-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.cart-item-details {
    flex: 1;
}
.cart-item-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}
.cart-item-price {
    color: var(--accent-color);
    font-weight: 600;
}
.cart-item-subtotal {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.btn-quantity {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-quantity:hover {
    background: #E8E5DC;
}
.quantity-input {
    width: 55px;
    text-align: center;
    padding: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.btn-remove {
    background: #9C2A2A;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-remove:hover {
    background: #7C1F1F;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.total-amount {
    color: var(--accent-color);
    font-size: 1.85rem;
}
.cart-actions {
    display: flex;
    gap: 1rem;
}

/* ============================================
   CHECKOUT
============================================ */
.checkout-summary {
    background: var(--bg-tertiary);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}
.checkout-summary h3 {
    margin-bottom: 1.25rem;
}
.checkout-items {
    max-height: 220px;
    overflow-y: auto;
}
.checkout-item {
    display: flex;
    gap: 1.25rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}
.checkout-item:last-child {
    border-bottom: none;
}
.checkout-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.checkout-item-info {
    flex: 1;
}
.checkout-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.checkout-item-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.checkout-item-total {
    font-weight: 600;
    color: var(--accent-color);
}
.checkout-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 2px solid var(--border-color);
    font-size: 1.3rem;
    font-weight: 700;
}
.checkout-note {
    background: var(--bg-tertiary);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin: 1.25rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

/* ============================================
   FORMS
============================================ */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: var(--text-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 43, 60, 0.08);
}
.form-group small {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--primary-color);
    color: #E8E5DC;
    padding: 3.5rem 0 1.5rem;
    margin-top: 4.5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-section h3 {
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}
.footer-section h4 {
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
}
.footer-section ul li {
    margin-bottom: 0.6rem;
}
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}
.footer-section a:hover {
    color: var(--accent-color);
}
.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.25rem;
}
.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}
.social-links a:hover {
    background: rgba(191, 164, 111, 0.25);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   QUIÉNES SOMOS SECTION
============================================ */
.about-section {
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(5rem, 9vw, 7rem);
    background: var(--bg-primary);
}
.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 4rem);
}
.section-title {
    font-size: clamp(2.2rem, 5.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--primary-color), #2C3E50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
}
.section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: clamp(1.8rem, 4vw, 2.5rem);
}
.mission-vision-card,
.values-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: clamp(1.8rem, 4vw, 2.5rem) clamp(1.5rem, 3.5vw, 2rem);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 43, 60, 0.08);
}
.mission-vision-card:hover,
.values-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}
.mission-vision-card::before,
.values-card::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #2C3E50);
}
.card-icon {
    font-size: clamp(3rem, 7vw, 3.8rem);
    margin-bottom: 1.4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1;
}
.mission-vision-card h3,
.values-card h3 {
    font-size: clamp(1.4rem, 3vw, 1.65rem);
    font-weight: 700;
    margin-bottom: 1.125rem;
    color: var(--text-primary);
}
.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.55;
}
.values-list i {
    color: #22c55e;
    font-size: 1.4rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.whatsapp-float .wa-tooltip {
    background: #1e293b;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.whatsapp-float .wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1e293b;
}
.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}
.whatsapp-float .wa-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}
.whatsapp-float .wa-btn i {
    color: #fff;
    font-size: 1.75rem;
}
.whatsapp-float:hover .wa-btn {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.whatsapp-float .wa-btn::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37,211,102,0.35);
    animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.65); opacity: 0; }
    100% { transform: scale(1.65); opacity: 0; }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .filters-bar { flex-direction: column; gap: 1.25rem; }
    .search-box { min-width: 100%; }
    .filters { justify-content: center; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
    .product-detail { grid-template-columns: 1fr; }
    .modal-content { margin: 0.75rem; max-width: 95%; }
    .cart-actions { flex-direction: column; gap: 1rem; }
    .footer-content { grid-template-columns: 1fr; }
    .nav { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
   
    .about-section { padding: 4rem 0 5rem; }
    .section-title { font-size: 2.4rem; }
    .about-grid { gap: 2rem; }
}
@media (max-width: 480px) {
    .hero { padding: 4rem 0 3rem; }
    .hero-title { font-size: 1.9rem; }
    .products-grid { grid-template-columns: 1fr; }
    .cart-item { flex-wrap: wrap; gap: 1rem; }
}