/* ============================================
   AROHA TRADITIONS - Mobile-First Responsive CSS
   ============================================ */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B4513;
    --primary-dark: #6B3410;
    --secondary: #D2691E;
    --accent: #DAA520;
    --text-dark: #2C1810;
    --text-light: #6B4423;
    --text-muted: #9B8579;
    --bg-light: #FFF8F0;
    --bg-white: #FFFFFF;
    --bg-cream: #FDF5ED;
    --border: #E8D5C4;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --shadow-sm: 0 2px 8px rgba(139,69,19,0.08);
    --shadow: 0 4px 20px rgba(139,69,19,0.1);
    --shadow-lg: 0 8px 30px rgba(139,69,19,0.15);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --radius: 12px;
    --radius-lg: 16px;
    --nav-height: 60px;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

.section-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ============ NAVIGATION ============ */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    height: var(--nav-height);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 101;
}

.nav-logo-img {
    width: 36px;
    height: 31px;
    object-fit: contain;
    border-radius: 4px;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 100;
    display: flex;
}

.nav-menu.active {
    right: 0;
}

.nav-link {
    display: block;
    padding: 14px 0;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
}

.nav-link::after { display: none; }

.nav-whatsapp {
    color: var(--whatsapp) !important;
    font-weight: 600;
    margin-top: 8px;
    border-bottom: none;
}

.nav-whatsapp i { margin-right: 6px; }

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
    padding: 8px;
    gap: 5px;
}

.bar {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}

.nav-overlay.active {
    display: block;
}

/* ============ HERO ============ */
.hero {
    margin-top: var(--nav-height);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 50%, var(--bg-white) 100%);
    padding: 2.5rem 16px 2rem;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin: 0 auto 1rem;
    border-radius: var(--radius);
}

.hero h1 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--gradient);
    color: white;
}

.cta-button:hover, .cta-button:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.cta-whatsapp {
    background: var(--whatsapp);
}

.cta-whatsapp:hover {
    background: var(--whatsapp-dark);
}

/* ============ TRUST BAR ============ */
.trust-bar {
    background: var(--primary);
    padding: 12px 0;
    overflow: hidden;
}

.trust-items {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trust-items::-webkit-scrollbar { display: none; }

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0 16px;
    flex-shrink: 0;
}

.trust-item i {
    font-size: 0.9rem;
    color: var(--accent);
}

/* ============ SEARCH & FILTER ============ */
.search-filter {
    padding: 1.25rem 0;
    background: var(--bg-light);
    position: sticky;
    top: var(--nav-height);
    z-index: 50;
}

.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
}

.search-icon {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 8px;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 0.95rem;
    outline: none;
    background: transparent;
    font-family: inherit;
}

.category-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.category-filters::-webkit-scrollbar { display: none; }

.filter-btn {
    background: white;
    border: 1.5px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-btn i { margin-right: 4px; font-size: 0.75rem; }

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ============ PRODUCTS ============ */
.products {
    padding: 2rem 0 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 1rem;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.product-card:active {
    box-shadow: var(--shadow);
}

.product-images {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    z-index: 1;
}

.badge.new { background: #28a745; }
.badge.offer { background: #dc3545; }

.product-info {
    padding: 10px 12px 12px;
}

.product-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-actions {
    display: flex;
    gap: 6px;
}

.whatsapp-btn {
    flex: 1;
    background: var(--whatsapp);
    color: white;
    border: none;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.2s;
    text-decoration: none;
}

.whatsapp-btn:hover, .whatsapp-btn:active {
    background: var(--whatsapp-dark);
}

.whatsapp-btn i { font-size: 1rem; }

.view-btn {
    background: var(--bg-light);
    color: var(--primary);
    border: 1.5px solid var(--border);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.view-btn:active {
    background: var(--primary);
    color: white;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.no-products i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
    display: block;
}

/* ============ WHATSAPP BANNER ============ */
.whatsapp-banner {
    background: var(--whatsapp);
    padding: 2rem 0;
}

.wa-banner-content {
    text-align: center;
}

.wa-banner-text h2 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.wa-banner-text h2 i { margin-right: 6px; }

.wa-banner-text p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.wa-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--whatsapp-dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.wa-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ============ ABOUT ============ */
.about {
    padding: 2.5rem 0;
    background: var(--bg-light);
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.feature i {
    font-size: 1.3rem;
    color: var(--accent);
    width: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ============ HOW TO ORDER ============ */
.how-to-order {
    padding: 2.5rem 0;
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 1.5rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    position: relative;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.step-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ============ CONTACT ============ */
.contact {
    padding: 2.5rem 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.contact-item:active {
    background: var(--bg-cream);
}

.contact-whatsapp {
    background: #E8F5E9;
    border: 1.5px solid #C8E6C9;
}

.contact-item > i:first-child {
    font-size: 1.3rem;
    color: var(--primary);
    width: 28px;
    flex-shrink: 0;
}

.contact-whatsapp > i:first-child {
    color: var(--whatsapp);
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 1px;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.contact-item small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-item > i:last-child {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-form-wrap {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.contact-form-wrap h3 i {
    color: var(--whatsapp);
    margin-right: 6px;
}

.form-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    background: var(--whatsapp);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.submit-btn:hover, .submit-btn:active {
    background: var(--whatsapp-dark);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    width: 80px;
    height: auto;
    margin: 0 auto 0.75rem;
    border-radius: 8px;
}

.footer-brand p {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.footer-section h4 {
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #bbb;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-section a i {
    margin-right: 6px;
    width: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #888;
    font-size: 0.8rem;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: 90;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--whatsapp);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: all 0.3s;
    animation: floatPulse 2s infinite;
}

.whatsapp-float a i {
    font-size: 1.3rem;
}

.wa-float-label {
    display: inline;
}

.whatsapp-float a:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.05);
}

/* ============ MODAL ============ */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: white;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: fixed;
    top: 12px;
    right: 16px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 201;
    cursor: pointer;
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-images {
    position: relative;
}

.main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    max-height: 60vh;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.thumbnail-images {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.thumbnail-images::-webkit-scrollbar { display: none; }

.thumbnail-images:empty { display: none; }

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary);
}

.modal-details {
    padding: 16px;
}

.modal-badge {
    display: none;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.modal-badge.new { display: inline-block; background: #28a745; }
.modal-badge.offer { display: inline-block; background: #dc3545; }

.modal-details h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.modal-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-wa-btn {
    flex: 2;
    padding: 14px;
    font-size: 1rem;
    border-radius: 10px;
}

.share-btn {
    flex: 1;
    background: var(--bg-light);
    color: var(--primary);
    border: 1.5px solid var(--border);
    padding: 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.share-btn:active {
    background: var(--primary);
    color: white;
}

.modal-help {
    background: var(--bg-light);
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.modal-help p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.modal-help i {
    color: var(--accent);
    margin-right: 4px;
}

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 300;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    animation: fadeIn 0.2s;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 301;
    cursor: pointer;
}

.lightbox-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 16px;
}

.lightbox-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 25px rgba(37,211,102,0.6); }
}

/* ============ TABLET (min 600px) ============ */
@media (min-width: 600px) {
    :root { --nav-height: 64px; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }
    .container { padding: 0 24px; }

    .hero { padding: 3rem 24px; }
    .hero-logo { width: 180px; }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        flex-direction: row;
        gap: 2rem;
    }

    .contact-info, .contact-form-wrap {
        flex: 1;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        width: 90%;
        max-width: 500px;
        height: auto;
        max-height: 90vh;
        margin: 5vh auto;
        border-radius: var(--radius-lg);
    }

    .modal-close {
        position: absolute;
        top: 8px;
        right: 8px;
    }
}

/* ============ DESKTOP (min 900px) ============ */
@media (min-width: 900px) {
    :root { --nav-height: 70px; }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-menu {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        gap: 2rem;
        box-shadow: none;
    }

    .nav-link {
        padding: 0;
        border-bottom: none;
        font-size: 0.95rem;
        position: relative;
    }

    .nav-link::after {
        display: block;
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient);
        transition: width 0.3s;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .nav-toggle { display: none; }

    .nav-logo-img { width: 45px; height: 39px; }
    .nav-logo-text { font-size: 1.3rem; }

    .hero {
        padding: 4rem 24px;
        min-height: 55vh;
    }

    .hero-logo { width: 200px; }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .product-card:hover .product-image {
        transform: scale(1.05);
    }

    .product-name { font-size: 0.95rem; }
    .product-price { font-size: 1.15rem; }

    .about, .how-to-order, .contact, .products {
        padding: 3.5rem 0;
    }

    .wa-banner-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .wa-banner-text { margin-bottom: 0; }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: auto;
        text-align: left;
        border-bottom: none;
        padding-bottom: 0;
    }

    .social-links { justify-content: flex-start; }

    .modal-content {
        max-width: 900px;
    }

    .modal-body {
        flex-direction: row;
    }

    .modal-images {
        flex: 1;
        min-width: 0;
    }

    .main-image {
        max-height: none;
        aspect-ratio: 3/4;
    }

    .modal-details {
        flex: 1;
        padding: 24px;
        overflow-y: auto;
    }
}

/* ============ LARGE DESKTOP (min 1200px) ============ */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .search-filter {
        position: static;
    }
}
