/* =============================================
   Zivon - Custom Styles
   ============================================= */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
    --eco-50:  #eff6ff;
    --eco-100: #dbeafe;
    --eco-500: #3b82f6;
    --eco-600: #2563eb;
    --eco-700: #1d4ed8;
    --eco-800: #1e40af;
    --cream-50: #fdfcf7;
    --cream-100: #faf7ed;
    --bark-700: #553c20;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;
}

/* =============================================
   BASE STYLES
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--eco-500); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--eco-700); }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#main-header {
    transition: box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

#main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--eco-600);
    transition: width 0.3s ease;
}

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

.dropdown-menu {
    transform-origin: top center;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(29, 78, 216, 0.1);
    border: 1px solid rgba(29, 78, 216, 0.2);
    color: var(--eco-700);
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--eco-100);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    background: var(--cream-50);
    aspect-ratio: 1;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}

.badge-sale {
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

.badge-new {
    background: var(--eco-600);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: scale(1.1);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--eco-700);
    color: white;
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--eco-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Buy Now — orange CTA */
.buy-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f97316;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.buy-now-btn:hover  { background: #ea6c0a; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(249,115,22,0.35); }
.buy-now-btn:active { transform: translateY(0); box-shadow: none; }
.buy-now-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--eco-700);
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--eco-700);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--eco-700);
    color: white;
    transform: translateY(-1px);
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    color: var(--eco-700);
    border: 2px solid var(--eco-700);
    padding: 10px 20px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-cart:hover {
    background: var(--eco-700);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25);
}

/* =============================================
   SECTIONS
   ============================================= */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--eco-600);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.5rem; }
}

/* =============================================
   CATEGORY CARDS
   ============================================= */
.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.3s;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(29,78,216,0.8) 0%, rgba(29,78,216,0.2) 60%, transparent 100%);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}

/* =============================================
   CART
   ============================================= */
.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: white;
    border: 1px solid #f3f4f6;
    transition: all 0.2s;
}

.cart-item:hover {
    border-color: var(--eco-100);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.15s;
}

.qty-btn:hover {
    background: var(--eco-50);
    color: var(--eco-700);
}

.qty-display {
    width: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    padding: 0;
    border: none;
    border-left: 1.5px solid #e5e7eb;
    border-right: 1.5px solid #e5e7eb;
    outline: none;
    background: transparent;
}

/* =============================================
   PRODUCT DETAIL PAGE — IMAGE SLIDER
   ============================================= */

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0);    }
}
@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0);     }
}

/* Slider Wrapper */
.product-slider-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--cream-50);
    user-select: none;
}

/* Track */
.product-slider-track {
    position: relative;
    width: 100%;
}

/* Each slide hidden by default */
.product-slide {
    display: none;
    width: 100%;
}

/* Active slide — visible with fade-in */
.product-slide.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.product-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Prev / Next Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.88);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: #374151;
    transition: background 0.2s, opacity 0.2s;
    opacity: 0;
}
.product-slider-wrap:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: #fff; color: var(--eco-700); }
.slider-arrow-prev { left: 10px; }
.slider-arrow-next { right: 10px; }

/* Dot Indicators */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Thumbnail Strip */
.image-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

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

.image-thumb.active {
    border-color: var(--eco-600);
}

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

.tab-btn {
    padding: 10px 20px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    color: #6b7280;
}

.tab-btn.active {
    background: var(--eco-700);
    color: white;
    font-weight: 600;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =============================================
   CHECKOUT PAGE
   ============================================= */
.checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
}

.checkout-step.active {
    background: var(--eco-50);
    color: var(--eco-700);
    font-weight: 600;
}

.checkout-step.done {
    color: var(--eco-600);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #111827;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--eco-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.form-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 2px;
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-sidebar {
    background: #111827;
    min-height: 100vh;
    width: 240px;
    flex-shrink: 0;
    transition: width 0.3s ease;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 8px;
    margin: 2px 8px;
    text-decoration: none;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.admin-nav-item i {
    width: 18px;
    text-align: center;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f3f4f6;
    transition: all 0.2s;
}

.stat-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* =============================================
   FILTER SIDEBAR
   ============================================= */
.filter-checkbox {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.filter-checkbox:checked {
    background: var(--eco-700);
    border-color: var(--eco-700);
}

.filter-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes pulse-eco {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

.animate-fade-up  { animation: fadeInUp 0.5s ease forwards; }
.animate-fade-in  { animation: fadeIn 0.4s ease forwards; }
.animate-slide-right { animation: slideInRight 0.4s ease forwards; }

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   PRODUCT IMAGE PLACEHOLDER SVGs
   ============================================= */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

/* =============================================
   LOADING SPINNER
   ============================================= */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
#toast.show {
    transform: translateX(0) !important;
}

/* =============================================
   QUANTITY SELECTOR
   ============================================= */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
    width: fit-content;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: #374151;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector button:hover {
    background: var(--eco-50);
    color: var(--eco-700);
}

.quantity-selector input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 2px solid #e5e7eb;
    border-right: 2px solid #e5e7eb;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    padding: 0;
    height: 40px;
    background: transparent;
}

/* =============================================
   HERO FLOATING ELEMENTS
   ============================================= */
.floating {
    animation: floating 4s ease-in-out infinite;
}

.floating-delay {
    animation: floating 4s ease-in-out infinite 2s;
}

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

/* =============================================
   MOBILE BOTTOM NAVIGATION
   ============================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    padding: 8px 0 env(safe-area-inset-bottom, 8px);
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 16px;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item svg {
    width: 22px;
    height: 22px;
}

.mobile-nav-item.active,
.mobile-nav-item:active {
    color: var(--eco-700);
}

.mobile-nav-item .mobile-nav-badge {
    position: absolute;
    top: 2px;
    right: 10px;
    background: var(--eco-600);
    color: white;
    font-size: 9px;
    font-weight: 700;
    border-radius: 99px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Space at bottom so content doesn't hide behind bottom nav */
.mobile-bottom-spacer {
    display: none;
    height: 65px;
}

@media (max-width: 1023px) {
    .mobile-bottom-nav { display: block; }
    .mobile-bottom-spacer { display: block; }
    body { padding-bottom: 0; }
}

/* =============================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ============================================= */

/* Better mobile header */
@media (max-width: 640px) {
    #main-header .max-w-7xl {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Smaller logo text on very small screens */
    #main-header .font-serif.text-xl {
        font-size: 1.1rem;
    }

    /* Announcement bar */
    .bg-eco-700.text-white.text-center {
        font-size: 10px;
        padding: 6px 8px;
    }
}

/* Mobile hero improvements */
@media (max-width: 1023px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .hero-section .grid {
        grid-template-columns: 1fr !important;
    }

    /* Show hero visual on mobile (smaller) */
    .hero-section .hidden.lg\:flex {
        display: flex !important;
        justify-content: center;
        margin-top: 32px;
    }

    .hero-section .w-96.h-96 {
        width: 240px;
        height: 240px;
        border-radius: 2rem;
    }

    /* Hide floating cards on mobile to avoid overflow */
    .hero-section .absolute.-top-4,
    .hero-section .absolute.-bottom-4,
    .hero-section .absolute.top-1\/2 {
        display: none;
    }
}

/* Mobile product cards */
@media (max-width: 640px) {
    .product-card {
        border-radius: 12px;
    }

    .product-card .p-4 {
        padding: 10px;
    }

    .product-card .text-base.font-bold {
        font-size: 13px;
    }

    .product-card .text-sm.font-semibold {
        font-size: 12px;
    }

    /* Always show wishlist btn on touch */
    .wishlist-btn {
        opacity: 1;
    }

    /* Quick add overlay on touch */
    .product-card-overlay {
        display: none;
    }
}

/* Mobile cart */
@media (max-width: 640px) {
    .cart-item {
        gap: 10px;
        padding: 12px;
    }

    .cart-item img {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }
}

/* Mobile-friendly form inputs */
@media (max-width: 640px) {
    .form-input {
        font-size: 16px; /* Prevent iOS zoom */
        padding: 13px 14px;
    }

    input[type="email"],
    input[type="tel"],
    input[type="text"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px; /* Prevent iOS zoom on focus */
    }
}

/* Mobile checkout */
@media (max-width: 768px) {
    .checkout-step {
        padding: 8px 10px;
        font-size: 11px;
    }
}

/* Mobile section spacing */
@media (max-width: 640px) {
    .section-title { font-size: 1.6rem; }
    .hero-title { font-size: 2rem; }

    /* Tighter section padding on mobile */
    .py-16 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
    .py-14 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

/* Touch targets - make buttons easier to tap */
@media (max-width: 1023px) {
    .btn-primary,
    .btn-outline,
    .btn-cart,
    .buy-now-btn {
        min-height: 44px;
    }

    .mobile-nav-item {
        min-width: 44px;
    }
}

/* =============================================
   PRODUCT PAGE — MOBILE OPTIMIZATIONS
   ============================================= */
@media (max-width: 767px) {
    /* Limit image slider height so it doesn't dominate the screen */
    .product-slider-wrap {
        max-height: 75vw;
        overflow: hidden;
    }
    .product-slide img {
        width: 100%;
        height: 75vw;
        object-fit: contain;
        background: #f8f4ef;
    }

    /* Thumbnail strip: smaller thumbs on mobile */
    .image-thumb {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
    }

    /* Product info section: tighter spacing */
    .space-y-5 > * + * { margin-top: 0.875rem; }

    /* Quantity + Add to Cart row: stack on very small screens */
    .flex.flex-col.sm\\:flex-row.gap-3 {
        flex-direction: column;
    }
    #add-to-cart-btn { width: 100%; }
}

/* Mobile admin sidebar - collapse on small screens */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 200px;
    }

    .admin-nav-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .admin-sidebar {
        width: 100%;
        min-height: auto;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    header, footer, .no-print { display: none; }
    body { color: black; background: white; }
}