* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4AA3E8;
    --secondary: #2F86C8;
    --accent: #F2C94C;
    --light: #F7F9FC;
    --dark: #3a6fa4;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    color: var(--primary);
}

.top-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    animation: slideDown 0.5s ease;
    box-shadow: 0 2px 10px rgba(74, 163, 232, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

header {
    background: #e8eef0;
    border-bottom: 2px solid var(--light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 110px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transition: all 0.3s;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.hamburger-btn {
    display: none;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    border: none;
    font-size: 1.1rem;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(74, 163, 232, 0.3);
}

.hamburger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(74, 163, 232, 0.4);
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cart-btn {
    position: relative;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(74, 163, 232, 0.3);
}

.cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 163, 232, 0.4);
}

.cart-badge {
    background: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100px);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 400px;
    width: 80%;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: fadeInUp 0.8s ease;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1.2s ease;
    box-shadow: 0 8px 25px rgba(242, 201, 76, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background: white;
    color: var(--secondary);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 35px rgba(242, 201, 76, 0.5);
}

.section-header {
    max-width: 1400px;
    margin: 3rem auto 2rem;
    padding: 0 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 1.5rem auto 0;
}

.filters-section {
    max-width: 1400px;
    margin: 3rem auto 2rem;
    padding: 0 2rem;
}

.filters-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-tag {
    padding: 0.8rem 2rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-tag:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(74, 163, 232, 0.2);
}

.filter-tag.active {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(74, 163, 232, 0.3);
}

.products-container {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s;
    border: 2px solid #f0f0f0;
    position: relative;
    animation: fadeIn 0.6s ease;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(74, 163, 232, 0.2);
    border-color: var(--secondary);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent) 0%, #f39c12 100%);
    color: var(--dark);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(242, 201, 76, 0.3);
}

.product-img-container {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.product-item:hover .product-img-container img {
    transform: scale(1.1);
}

.product-emoji {
    font-size: 5rem;
}

.product-details {
    padding: 1.8rem;
    background: linear-gradient(to bottom, white 0%, #fafafa 100%);
}

.product-cat {
    color: var(--secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.product-price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modal de Producto */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.product-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 2rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
}

.modal-header h3 {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
}

.close-modal {
    background: #f0f0f0;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-modal:hover {
    background: var(--secondary);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-price {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.size-options {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.size-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    min-width: 65px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.size-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 163, 232, 0.2);
}

.size-btn.selected {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(74, 163, 232, 0.3);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-input {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.qty-btn-modal {
    background: var(--light);
    border: none;
    padding: 0.9rem 1.4rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--dark);
    transition: all 0.3s;
}

.qty-btn-modal:hover {
    background: var(--secondary);
    color: white;
}

.qty-value {
    padding: 0.9rem 1.8rem;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 70px;
    text-align: center;
    color: var(--primary);
}

.add-to-cart-modal {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 6px 20px rgba(74, 163, 232, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 163, 232, 0.4);
}

.add-to-cart-modal:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Shipping Calculator */
.shipping-section {
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--accent);
}

.shipping-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.region-select {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.region-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.region-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.region-btn.selected {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.shipping-info {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.shipping-cost {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Galeria de Referencias */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid #f0f0f0;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(74, 163, 232, 0.2);
    border-color: var(--secondary);
}

.gallery-img {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.1);
}

.gallery-caption {
    padding: 1.8rem;
    text-align: center;
    background: linear-gradient(to bottom, white 0%, #fafafa 100%);
}

.gallery-caption h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.gallery-caption p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Seccion de Contacto */
.contact-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(74, 163, 232, 0.15);
    border-color: var(--secondary);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-card a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--primary);
}

.whatsapp-btn,
.contact-card .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: rgb(13, 68, 132) !important;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
    border: 3px solid var(--light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: white;
    z-index: 200;
    transition: right 0.4s;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
}

.cart-panel.open {
    right: 0;
}

.cart-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
}

.close-cart-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s;
    animation: slideInRight 0.3s ease;
    background: white;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cart-item:hover {
    background: var(--light);
    border-color: var(--secondary);
}

.cart-item-img {
    width: 90px;
    height: 90px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.cart-item-size {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.cart-item-cat {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 0.3rem;
}

.qty-btn {
    background: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.qty-btn:hover {
    background: var(--secondary);
    color: white;
}

.qty-display {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
}

.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    font-weight: 600;
}

.remove-btn:hover {
    background: #ee5a6f;
    transform: translateY(-2px);
}

.cart-footer {
    padding: 2rem;
    border-top: 2px solid #f0f0f0;
    background: linear-gradient(to bottom, white 0%, #fafafa 100%);
}

.cart-summary {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.summary-row.total {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    padding-top: 1rem;
    border-top: 2px solid #ddd;
}

.checkout-button {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(74, 163, 232, 0.3);
}

.checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 163, 232, 0.4);
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #10ac84 0%, #0e8c6f 100%);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(16, 172, 132, 0.3);
    z-index: 300;
    animation: slideInUp 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast-icon {
    font-size: 1.5rem;
}

footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 3rem 2rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
}

@media (max-width: 968px) {
    .hamburger-btn {
        display: block;
    }

    nav {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        order: 3;
        background: #e8eef0;
        border-radius: 12px;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.9rem 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-logo {
        max-width: 280px;
    }

    .cart-panel {
        width: 100%;
        right: -100%;
    }

    .products-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
    }
}

/* Gallery Styles */
#modalGallery {
    margin-bottom: 2rem;
}

.gallery-main {
    width: 100%;
    height: 300px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 2px solid #ddd;
    /* visible default border */
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.2s;
    background: #fff;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 163, 232, 0.2);
}