:root {
    --primary: #2d5347;        /* Verde Bosque Oscuro */
    --secondary: #d4af37;      /* Dorado Natural */
    --accent: #6b9080;         /* Verde Salvia */
    --light: #f5f1e8;          /* Crema Natural */
    --dark: #1a3a34;           /* Verde Oscuro */
    --text: #4a5f5a;           /* Gris Verde */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body {
    font-family: 'Lato', 'Segoe UI', sans-serif;
    background-color: #FFF;
    color: var(--text);
    line-height: 1.6;
}

.navbar {
    background: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-texts {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.cart-icon {
    background: var(--light);
    padding: 0.7rem 1.2rem;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    transition: all 0.3s;
}

.cart-icon:hover {
    background: var(--primary);
    color: white;
}

.cart-emoji {
    font-size: 1.2rem;
}

#cart-count {
    background: var(--secondary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    font-weight: bold;
    font-size: 0.85rem;
}

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: calc(100vh - 200px);
}

.hero {
    background: linear-gradient(135deg, #2d5347 0%, #1a3a34 100%);
    color: white;
    padding: 120px 40px;
    text-align: center;
    border-radius: 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(212,165,116,0.1), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 2px;
    transition: transform 0.3s;
}

/* background for piel sensible card */
.benefit-card.piel-sensible {
    background: url('images/piel-sensible.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
}

/* optional overlay for better text readability */
.benefit-card.piel-sensible::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 2px;
}

.benefit-card.piel-sensible h3,
.benefit-card.piel-sensible p {
    position: relative;
    z-index: 1;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefit-card p {
    color: #777;
    font-size: 0.95rem;
}

.featured {
    margin-bottom: 4rem;
}

.featured-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.featured-header p {
    color: #999;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 0.95rem;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 28, 46, 0.25);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.modal-open {
    overflow: hidden;
}

.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 12, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 9999;
    overflow-y: auto;
}

.checkout-dialog {
    width: min(760px, 100%);
    max-height: calc(100vh - 60px);
    background: linear-gradient(180deg, #f8faf7 0%, #ffffff 100%);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 28px 90px rgba(18, 43, 32, 0.28);
    position: relative;
    overflow-y: auto;
    margin: auto;
}

.checkout-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    color: #333;
    cursor: pointer;
}

.checkout-modal-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.checkout-modal-header p {
    color: #466154;
    margin-bottom: 1.5rem;
}

.checkout-form {
    display: grid;
    gap: 1.25rem;
}

.checkout-section {
    background: #f1f7f1;
    border: 1px solid rgba(45, 83, 71, 0.14);
    border-radius: 18px;
    padding: 1.5rem;
}

.checkout-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark);
    letter-spacing: 0.4px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.checkout-form .form-field {
    margin-bottom: 0.85rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.55rem;
    font-weight: 600;
    color: #2f4f44;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 14px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-form textarea {
    min-height: 100px;
    resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 83, 71, 0.08);
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid #d8d8d4;
    background: #ffffff;
    gap: 0.8rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-option:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(45, 83, 71, 0.08);
}

.payment-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.payment-option input:checked + .payment-logo {
    box-shadow: 0 0 0 3px rgba(45, 83, 71, 0.16);
}

.payment-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 0 16px;
    height: 38px;
    border-radius: 12px;
    font-weight: 800;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: inset 0 -6px 12px rgba(0,0,0,0.08);
    white-space: nowrap;
}

.payment-logo.visa { background: linear-gradient(135deg, #1a1f71 0%, #14237f 100%); }
.payment-logo.mastercard { background: linear-gradient(135deg, #ff5f00 0%, #eb001b 100%); }

.shipping-options {
    display: grid;
    gap: 0.85rem;
}

.shipping-option {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid #d8d8d8;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shipping-option:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(45, 83, 71, 0.08);
}

.shipping-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.shipping-option span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--dark);
}

.shipping-option small {
    display: block;
    color: #5c6f63;
    font-size: 0.88rem;
    line-height: 1.4;
    margin-left: 1.9rem;
}

.card-details {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.payment-card {
    background: linear-gradient(135deg, #2e4a3c 0%, #406b53 100%);
    border-radius: 20px;
    padding: 1.5rem;
    color: #f7f7f2;
    position: relative;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
}

.card-chip {
    width: 52px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.35));
    margin-bottom: 1.2rem;
}

.card-number-field {
    margin-bottom: 0.75rem;
}

.card-number-field label,
.card-number-field input {
    color: #f7f7f2;
}

.card-number-field input {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}

.card-number-field input:focus {
    border-color: rgba(255,255,255,0.75);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.12);
}

.card-details .form-field label {
    color: #f7f7f2;
}

.card-details .form-field input {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: #f7f7f2;
}

.card-details .form-field input:focus {
    border-color: rgba(255,255,255,0.75);
}

.summary-box {
    display: grid;
    gap: 0.35rem;
    padding: 1.25rem 1.3rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef5ef 0%, #ffffff 100%);
    border: 1px solid rgba(45, 83, 71, 0.14);
}

.summary-label {
    color: #556856;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.summary-amount {
    margin: 0;
    font-size: 1.9rem;
    color: var(--primary);
    font-weight: 700;
}

.summary-note {
    margin: 0;
    color: #6b7d6f;
    font-size: 0.9rem;
}

.checkout-summary-block {
    display: grid;
    gap: 0.75rem;
    padding: 1.35rem 1.4rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #eef4ec 0%, #ffffff 100%);
    border: 1px solid rgba(45, 83, 71, 0.12);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(45, 83, 71, 0.08);
    color: #4d6a59;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-row strong {
    color: #1e3f33;
    font-weight: 700;
}

.summary-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    margin-top: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.summary-final strong {
    font-size: 1.45rem;
}

@media (max-width: 640px) {
    .page,
    .navbar,
    .nav-container,
    .checkout-modal-overlay {
        padding: 0 16px;
    }

    .checkout-dialog {
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 40px);
        padding: 1rem;
        border-radius: 18px;
    }

    .checkout-section,
    .checkout-summary-block,
    .payment-option,
    .shipping-option,
    .summary-box,
    .modal-content {
        padding: 1rem;
    }

    .form-grid,
    .form-row,
    .payment-options,
    .product-actions {
        grid-template-columns: 1fr;
    }

    .payment-option {
        align-items: flex-start;
        gap: 0.9rem;
    }

    .payment-option input {
        margin-top: 3px;
    }

    .shipping-option {
        padding: 1rem;
    }

    .shipping-option small {
        margin-left: 0;
    }

    .card-details {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .card-number-field input,
    .checkout-form input,
    .checkout-form textarea {
        font-size: 0.95rem;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .summary-final {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .product-card,
    .benefit-card,
    .contact-container,
    .tienda-main,
    .filters,
    .cart-items,
    .cart-summary,
    .product-detail,
    .hero {
        width: 100%;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p,
    .cart-summary p,
    .cart-summary h4,
    .product-detail-info .price {
        font-size: 0.95rem;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
        margin-top: 0.5rem;
    }

    .nav-menu a {
        padding: 0.35rem 0.5rem;
        white-space: nowrap;
    }

    .logo {
        width: 100%;
        justify-content: space-between;
    }

    .cart-icon {
        margin-left: auto;
    }

    .search-bar {
        flex-direction: column;
    }

    .product-image {
        height: 150px;
    }

    .product-actions {
        gap: 0.8rem;
    }

    .checkout-modal-overlay {
        align-items: flex-start;
        padding-top: 14px;
    }

    .checkout-dialog {
        margin-top: 12px;
    }
}

.payment-logo.visa { background: linear-gradient(135deg, #1a1f71 0%, #14237f 100%); }
.payment-logo.mastercard { background: #eb001b; }
.payment-logo.paypal { background: #003087; }
.payment-logo.applepay { background: #111111; }
.payment-logo.googlepay { background: #4285f4; }

.card-details {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: #f7f7f7;
    border-radius: 10px;
    margin-top: 1rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.modal-actions .btn-secondary,
.modal-actions .btn-primary {
    min-width: 140px;
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-search:hover {
    background: var(--secondary);
}

.btn-back {
    background: var(--light);
    color: var(--primary);
    border: none;
    padding: 12px 20px;
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(160, 28, 46, 0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e8f3f0 0%, #f5f1e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--dark);
}

.product-category {
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.product-stock {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.product-stock.out {
    color: #c0392b;
    font-weight: 700;
}

.product-card.out-of-stock {
    opacity: 0.65;
    cursor: not-allowed;
}

.product-rating {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.product-actions button {
    padding: 10px 12px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-add {
    background: var(--primary);
    color: white;
}

.btn-add:hover {
    background: var(--secondary);
}

.btn-view {
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-view:hover {
    background: var(--primary);
    color: white;
}

.tienda-header {
    text-align: center;
    margin: 3rem 0;
}

.tienda-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.tienda-header p {
    color: #999;
    font-size: 1rem;
}

.tienda-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 35px;
    margin-bottom: 3rem;
}

.filters {
    background: var(--light);
    padding: 2rem;
    border-radius: 2px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h4 {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 600;
}

.filter-section label {
    display: block;
    margin-bottom: 0.7rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #777;
    transition: color 0.3s;
}

.filter-section label:hover {
    color: var(--primary);
}

.filter-section input[type="checkbox"] {
    margin-right: 0.7rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.filter-section input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

.price-symbol {
    color: var(--primary);
}

.tienda-main {
    background: white;
    padding: 0;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.search-bar input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(160, 28, 46, 0.1);
}

.product-detail {
    background: white;
    padding: 3rem;
    border-radius: 2px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
    border: 1px solid #f0f0f0;
}

.product-detail-image {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #e8f3f0 0%, #f5f1e8 100%);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail-info h2 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark);
}

.product-detail-info .category {
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-detail-info .price {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-detail-info .desc {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #666;
}

.quantity-selector {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 2rem;
}

.quantity-selector button {
    width: 45px;
    height: 45px;
    border: 1px solid #e0e0e0;
    background: white;
    color: var(--primary);
    border-radius: 2px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    border-color: var(--primary);
    background: var(--light);
}

.quantity-selector input {
    width: 70px;
    text-align: center;
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

.about-container {
    margin: 3rem 0;
}

.about-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.value-item {
    background: var(--light);
    padding: 2rem;
    border-radius: 2px;
}

.value-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.value-item p {
    color: #777;
    font-size: 0.95rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 25px;
    margin: 2rem 0;
}

.cart-items {
    background: white;
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid #f0f0f0;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px 100px auto;
    gap: 15px;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e8f3f0 0%, #f5f1e8 100%);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.cart-item-details p {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.cart-item-quantity input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}

.cart-item-remove {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.cart-item-remove:hover {
    background: #e63946;
}

.admin-coupons-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-coupon-item {
    background: var(--light);
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-coupon-item div {
    font-size: 0.9rem;
    color: var(--primary);
}

.admin-coupon-item button {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
}

.cart-summary {
    background: var(--light);
    padding: 2rem;
    border-radius: 2px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.cart-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
}

.cart-summary h4 {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    color: var(--primary);
    border-top: 2px solid #e0e0e0;
    padding-top: 1rem;
    font-size: 1.2rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.contact-container {
    background: white;
    padding: 3rem 0;
}

.contact-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 0;
    background: white;
}

.contact-info {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 2px;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* RESEÑAS */
.reviews-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 40px;
}

.reviews-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.review-item {
    background: var(--light);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.review-item .review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.review-item .review-name {
    font-weight: 600;
    color: var(--primary);
}

.review-item .review-rating {
    color: #ffc107;
}

.review-item .review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-item .review-comment {
    color: var(--text);
    line-height: 1.6;
}

.add-review {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.add-review h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.add-review .form-field {
    margin-bottom: 1.5rem;
}

.add-review label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.add-review input,
.add-review select,
.add-review textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
}

.add-review textarea {
    resize: vertical;
    min-height: 80px;
}

/* CUPONES */
.coupon-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.coupon-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.coupon-section input {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    width: 60%;
    margin-right: 10px;
}

.coupon-section .btn-secondary {
    padding: 10px 15px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.coupon-section .btn-secondary:hover {
    background: #a67c5a;
}

#coupon-message {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

#discount {
    color: #28a745;
    font-weight: 600;
}

.contact-form {
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-size: 0.95rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s;
    color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(160, 28, 46, 0.1);
}

.contact-form select {
    cursor: pointer;
}

.footer {
    background: var(--dark);
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 2rem 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 40px;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .page {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .tienda-container {
        grid-template-columns: 1fr;
    }

    .filters {
        display: none;
    }

    .product-detail {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
    }

    .cart-summary {
        position: static;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, #1a3a34 0%, #2d5347 100%);
    color: white;
    padding: 0.7rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.cart-icon {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.cart-icon:hover {
    background: rgba(255,255,255,0.3);
}

#cart-count {
    background: #ff6b6b;
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    font-weight: bold;
}

/* PÁGINAS */
.page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    min-height: calc(100vh - 200px);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/Logo empresa.jpeg') center/cover no-repeat;
    opacity: 0.08;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* BOTONES */
.btn-primary {
    background: linear-gradient(135deg, #2d5347 0%, #6b9080 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(24, 24, 24, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
}

.btn-search {
    background: #2d5347;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-back {
    background: #2d5347;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 2rem;
}

/* FEATURED PRODUCTS */
.featured {
    margin-bottom: 3rem;
}

.featured h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* GRID DE PRODUCTOS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8f3f0 0%, #f5f1e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1rem;
}

.product-category {
    color: #767676;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.product-price {
    color: #2d5347;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.product-actions button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-add {
    background: #2d5347;
    color: white;
}

.btn-add:hover {
    background: #6b9080;
}

.btn-view {
    background: #f0f0f0;
    color: #2d5347;
    border: 1px solid #2d5347;
}

.btn-view:hover {
    background: #2d5347;
    color: white;
}

/* TIENDA LAYOUT */
.tienda-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filters h3 {
    margin-bottom: 1.5rem;
    color: #667eea;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h4 {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.filter-section label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-section input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.filter-section input[type="range"] {
    width: 100%;
}

.tienda-main {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #667eea;
}

/* DETALLE PRODUCTO */
.product-detail {
    background: white;
    padding: 30px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-detail-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail-info h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.product-detail-info .category {
    color: #767676;
    margin-bottom: 1rem;
}

.product-detail-info .price {
    color: #667eea;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-detail-info .desc {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.quantity-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 2rem;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border: 2px solid #f0f0f0;
    padding: 8px;
    border-radius: 5px;
}

/* CARRITO */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
}

.cart-items {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details h4 {
    margin-bottom: 5px;
}

.cart-item-details p {
    color: #767676;
    font-size: 0.9rem;
}

.cart-item-quantity {
    text-align: center;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    padding: 5px;
    border: 1px solid #f0f0f0;
}

.cart-item-price {
    font-weight: bold;
    color: #667eea;
}

.cart-item-remove {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-summary {
    background: white;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    color: #667eea;
}

.cart-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-summary h4 {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    color: #667eea;
    border-top: 2px solid #f0f0f0;
    padding-top: 1rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    color: #767676;
}

/* CONTACTO */
.contact-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #667eea;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: linear-gradient(135deg, #667eea10, #764ba210);
    padding: 25px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: #667eea;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form button {
    margin-top: 1rem;
}

/* MODAL DE PAGO */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    border-radius: 14px;
    padding: 2rem;
    width: min(420px, 90vw);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.modal-content h2 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: var(--primary);
}

.modal-content label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--dark);
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.modal-actions .btn-secondary {
    background: #f5f5f5;
    color: var(--dark);
    border-color: #ddd;
}

.modal-actions .btn-secondary:hover {
    background: #e6e6e6;
}

/* FOOTER */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar,
    .nav-container {
        overflow-x: hidden;
    }

    .nav-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        min-width: 0;
    }

    .nav-menu {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.75rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        min-width: 0;
        max-width: 100%;
    }

    .nav-menu li {
        flex: 0 0 auto;
    }

    .nav-menu a,
    .cart-icon {
        white-space: nowrap;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .logo {
        gap: 0.4rem;
        font-size: 0.95rem;
        justify-content: flex-start;
        width: 100%;
    }

    .cart-icon {
        margin-left: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .tienda-container {
        grid-template-columns: 1fr;
    }
    
    .filters {
        display: none;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ADMIN */
.admin-section-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
}

.admin-section-item button {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
}
/* MODAL DE ÉXITO */
.success-dialog {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: successModalIn 0.5s ease-out;
}

.success-content h2 {
    color: var(--primary);
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.checkmark-animation {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px var(--primary);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--primary);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes successModalIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px var(--primary);
    }
}

/* Cambio mínimo para commit */