:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --background-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.nav-brand i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.admin-link {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.admin-link:hover {
    background: var(--primary-hover) !important;
    color: white !important;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.cart-count.bounce {
    animation: cartBounce 0.6s ease-out;
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
        background: var(--success-color);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Particles Background Effect */
.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--background-light) 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: heroFloat 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 50%;
    animation: heroFloat 15s ease-in-out infinite reverse;
}

/* Floating particles */
.hero .particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    animation: particleFloat 10s linear infinite;
}

.hero .particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero .particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.hero .particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.1;
    }
}

@keyframes heroFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #dbeafe, #bfdbfe);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    animation: badgePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: badgeShine 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    }
}

@keyframes badgeShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.badge i {
    margin-right: 0.5rem;
    animation: iconSpin 4s linear infinite;
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: titleFadeIn 1.2s ease-out 0.3s both;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    animation: underlineExpand 2s ease-out 1.5s both;
}

@keyframes underlineExpand {
    to {
        width: 100%;
    }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: textFadeIn 1.4s ease-out 0.6s both;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: buttonsFadeIn 1.6s ease-out 0.9s both;
}

@keyframes buttonsFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    animation: slideInRight 1s ease-out 0.5s both;
    position: relative;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    z-index: -1;
    opacity: 0.1;
    animation: imageGlow 3s ease-in-out infinite alternate;
}

@keyframes imageGlow {
    from {
        opacity: 0.1;
        transform: scale(1);
    }
    to {
        opacity: 0.2;
        transform: scale(1.02);
    }
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-image img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary i {
    transition: transform 0.3s;
}

.btn-secondary:hover i {
    transform: scale(1.2);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Products Section */
.products-section {
    padding: 5rem 2rem;
    background: white;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px);
    animation: productSlideIn 0.8s ease-out forwards;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }

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

.product-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-item:hover::before {
    transform: scaleX(1);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.btn-add-cart {
    background: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-add-cart:hover {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.btn-add-cart:active {
    transform: scale(0.95);
}

.btn-add-cart.added {
    background: var(--success-color);
    color: white;
    animation: addedPulse 0.6s ease-out;
}

@keyframes addedPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.3);
    }
    100% {
        transform: scale(1);
    }
}

.product-info {
    padding: 2rem;
    position: relative;
}

.product-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s ease;
}

.product-item:hover .product-info::before {
    transform: translateX(-50%) scaleX(1);
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.product-item:hover .product-info h3 {
    color: var(--primary-color);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
}

.price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.product-item:hover .price::after {
    width: 100%;
}

.btn-add-cart {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    transform: scale(1.1);
}

.btn-add-cart:active {
    transform: scale(0.95);
}

.btn-add-cart.added {
    background: var(--success-color);
    color: white;
    animation: addedPulse 0.6s ease-out;
}

@keyframes addedPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.category-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-badge.tools {
    background: #dbeafe;
    color: #1e40af;
}

.category-badge.electrical {
    background: #fef3c7;
    color: #92400e;
}

.category-badge.industrial {
    background: #d1fae5;
    color: #065f46;
}

/* Contact Section */
.contact-section {
    padding: 3rem 2rem;
    background: var(--background-light);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #ff6b35;
}

.modal-body {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

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

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    font-size: 1.2rem;
    color: #2c3e50;
}

#checkoutBtn {
    background: #25d366 !important;
    border-color: #25d366 !important;
}

#checkoutBtn:hover {
    background: #128c7e !important;
    border-color: #128c7e !important;
}

/* Checkout Modal Styles */
#checkoutModal .modal-content {
    max-width: 600px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.required {
    color: #dc3545;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.order-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.order-summary h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.item-name {
    flex: 1;
    font-weight: 500;
}

.item-qty {
    color: #6c757d;
    margin: 0 1rem;
}

.item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.checkout-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-color);
    text-align: right;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    min-width: 250px;
}

.notification-content i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header Mobile */
    .navbar {
        padding: 1rem 1rem;
        position: relative;
    }
    
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-brand img {
        width: 20px !important;
        height: 20px !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 1rem;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
        border-top: 1px solid var(--border-color);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid #f1f3f4;
        text-align: center;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .admin-link {
        margin-top: 0.5rem;
        text-align: center !important;
        border-radius: 8px !important;
    }
    
    .cart-icon {
        font-size: 1.3rem;
        order: 3;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    /* Hero Mobile */
    .hero {
        margin-top: 70px;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 200px;
        border-radius: 15px;
        object-fit: contain;
        background: white;
        padding: 1rem;
    }
    
    /* Products Mobile */
    .products-section {
        padding: 3rem 1rem;
    }
    
    .products-section h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .product-item {
        margin: 0 auto;
        max-width: 350px;
        width: 100%;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 1.2rem;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .category-badge {
        align-self: flex-end;
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    /* Contact Mobile */
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 1rem;
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: none;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #eee;
    }
    
    .cart-total {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
    
    .modal-footer .btn-primary,
    .modal-footer .btn-secondary,
    .modal-footer .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Cart Items Mobile */
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .cart-item-info {
        width: 100%;
    }
    
    .cart-item-info h4 {
        font-size: 1rem;
    }
    
    .cart-item-info p {
        font-size: 0.85rem;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-item-controls button {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Checkout Form Mobile */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .order-summary {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .order-summary h4 {
        font-size: 1rem;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.75rem 0;
    }
    
    .item-name {
        font-size: 0.9rem;
    }
    
    .item-qty {
        margin: 0;
        font-size: 0.8rem;
    }
    
    .item-price {
        font-size: 0.9rem;
        align-self: flex-end;
    }
    
    .checkout-total {
        font-size: 1rem;
        text-align: center;
    }
    
    /* Notification Mobile */
    .cart-notification {
        right: 10px;
        left: 10px;
        top: 80px;
    }
    
    .notification-content {
        min-width: auto;
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Badge Mobile */
    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    /* Particles - Hide on mobile for performance */
    .hero .particle {
        display: none;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .products-section h2 {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .product-item {
        max-width: 100%;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
}
