/* 
    ============================================================
    AÇAÍ LÂNDIA - PREMIUM DIGITAL MENU
    v2.0 Stabilization Rewrite
    ============================================================
*/

:root {
    /* Core Palette - Dynamic */
    --p-h: 268;
    --p-s: 85%;
    --p-l: 43%;
    --primary: hsl(var(--p-h), var(--p-s), var(--p-l));
    --primary-light: hsl(var(--p-h), var(--p-s), 96%);
    --primary-dark: hsl(var(--p-h), var(--p-s), 35%);
    --accent: hsl(38, 92%, 55%);
    --accent-light: hsl(38, 92%, 90%);
    
    /* Semantic Colors */
    --success: hsl(150, 100%, 35%);
    --warning: hsl(45, 100%, 50%);
    --danger: hsl(0, 85%, 60%);
    
    /* Neutral Palette */
    --white: #ffffff;
    --bg: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Elevation & Glassmorphism */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(12px);
    
    /* Z-Index Layers */
    --z-header: 100;
    --z-nav: 90;
    --z-floating: 500;
    --z-modal: 1000;
    --z-search: 1100;
    
    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --max-width: 600px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* ===== UTILS ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== HEADER ===== */
.header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
}

.header-right {
    display: flex;
    gap: 8px;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.header-btn:active { transform: scale(0.9); }

/* ===== SEARCH OVERLAY CONTENT ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Keep full height for positioning, but it won't block clicks */
    background: transparent;
    backdrop-filter: none;
    z-index: 1200;
    display: none;
    justify-content: center;
    padding: 12px;
    pointer-events: none; /* Allow clicking through to results below */
    transition: var(--transition);
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-bar-container {
    width: 100%;
    max-width: var(--max-width);
    height: 56px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: auto; /* Enable interaction with the search bar */
    transform: translateY(-20px);
    transition: var(--transition);
}

.search-overlay.active .search-bar-container {
    transform: translateY(0);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-primary);
    background: transparent;
}

/* ===== STORE INFO BAR ===== */
.store-info-bar {
    max-width: var(--max-width);
    margin: 12px auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.store-status {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.store-status.open { background: var(--success); color: var(--white); }
.store-status.closed { background: var(--danger); color: var(--white); }

.store-profile-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
    max-width: var(--max-width);
    margin: 16px auto;
    height: 180px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    cursor: grab;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.banner-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--white);
}

/* ===== CATEGORY NAV ===== */
.category-nav {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    position: sticky;
    top: 64px;
    z-index: var(--z-nav);
    border-bottom: 1px solid var(--border-light);
}

.category-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 12px 16px;
    scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar { display: none; }

.category-tab {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--border-light);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.category-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
}

.category-tab:active {
    transform: scale(0.95);
}

/* ===== PRODUCTS ===== */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: 100px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    padding: 24px 16px 16px;
    letter-spacing: -0.5px;
}

.product-section {
    scroll-margin-top: 130px; /* Offset for Sticky Header + Category Nav */
}

/* Popular items horizontal scroll */
.popular-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 0 16px 20px;
    scrollbar-width: none;
}

.popular-scroll::-webkit-scrollbar { display: none; }

.popular-item {
    min-width: 140px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.popular-item-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
}

.popular-item-info { padding: 10px; }
.popular-item-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.popular-item-price { font-size: 14px; font-weight: 800; color: var(--primary); }

/* Standard product card */
.product-card {
    display: flex;
    background: var(--white);
    margin: 0 16px 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.product-card:active { transform: scale(0.98); background: var(--border-light); }

.product-card-image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-info { flex: 1; }
.product-card-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.product-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.product-card-price { font-size: 16px; font-weight: 800; color: var(--text-primary); }

/* ===== MODALS (REFINED) ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.modal-overlay.active { opacity: 1; visibility: visible; pointer-events: all; }

.modal-container {
    width: 100%;
    max-width: var(--max-width);
    max-height: 94vh;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container { transform: translateY(0); }

/* Modal Header Refined */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 64px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.modal-header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.modal-title { font-size: 17px; font-weight: 800; }

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: none;
}
.modal-body::-webkit-scrollbar { display: none; }

/* Product detail modal special layout */
.modal-product-info { display: flex; gap: 20px; margin-bottom: 24px; }
.modal-product-image { width: 120px; height: 120px; border-radius: var(--radius-md); object-fit: cover; }
.modal-product-details { flex: 1; }
.modal-product-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.modal-product-price { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.modal-product-description { font-size: 14px; color: var(--text-secondary); }

/* Option Groups */
.option-group { margin-bottom: 24px; }
.option-group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}
.option-group-title { font-size: 15px; font-weight: 800; }
.option-badge { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: var(--radius-sm); background: var(--text-primary); color: var(--white); }
.option-badge.required { background: var(--primary); }

.option-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.option-item-info { flex: 1; }
.option-item-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: var(--text-primary); }
.option-item-price { color: var(--primary); font-weight: 700; font-size: 14px; }

/* Selection Controls */
.option-radio {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin-left: 12px;
    position: relative;
    transition: var(--transition);
}
.option-item.selected .option-radio { border-color: var(--primary); background: var(--primary-light); }
.option-item.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.option-quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

.option-qty-btn, .option-add-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.option-qty-btn.minus, .option-qty-value {
    display: none;
}

.option-qty-btn.minus.visible, .option-qty-value.visible {
    display: flex;
}

.option-qty-value.visible {
    display: inline-block;
}

.option-add-btn {
    display: flex; /* Always visible */
}


/* Modal Footer */
.modal-footer {
    padding: 16px 20px 32px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 16px;
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    background: var(--border-light);
    padding: 4px;
    border-radius: var(--radius-full);
    height: 52px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.qty-value { min-width: 40px; text-align: center; font-weight: 800; font-size: 16px; }

.add-to-cart-btn {
    flex: 1;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 8px 16px rgba(106, 17, 203, 0.3);
}

/* ===== CART SECTION (FIXED) ===== */
.cart-items { border-top: 1px solid var(--border-light); }

.cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: var(--bg);
    overflow: hidden;
    position: relative;
}

.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-emoji { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; }

.cart-item-info { flex: 1; }
.cart-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.cart-item-name { font-size: 15px; font-weight: 700; max-width: 70%; }
.cart-item-remove { color: var(--danger); font-size: 11px; font-weight: 800; text-transform: uppercase; background: none; }

.cart-item-extras { font-size: 12px; color: var(--text-secondary); margin-bottom: 12px; }

.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; }
.cart-item-price { font-size: 16px; font-weight: 800; }

.qty-control.mini { height: 36px; gap: 8px; }
.qty-control.mini .qty-btn { width: 30px; height: 30px; font-size: 16px; }
.qty-control.mini .qty-value { min-width: 24px; font-size: 14px; }

.cart-summary {
    padding: 24px 0;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.cart-summary-row.total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px dashed var(--border);
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 800;
}

.checkout-btn {
    width: 100%;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 800;
    margin-top: 8px;
    box-shadow: 0 8px 20px rgba(var(--p-h), var(--p-s), var(--p-l), 0.3);
}

/* ===== FLOATING CART ===== */
.cart-floating {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: var(--z-floating);
    max-width: var(--max-width);
    margin: 0 auto;
    background: linear-gradient(to top, var(--white) 60%, transparent);
}

.cart-floating-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(106, 17, 203, 0.4);
    animation: pulse 2s infinite;
}

.cart-btn-left { display: flex; align-items: center; gap: 12px; }
.cart-badge {
    background: var(--accent);
    color: var(--text-primary);
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-text { font-weight: 800; font-size: 14px; }
.cart-total { font-weight: 900; font-size: 17px; }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 10px 30px rgba(106, 17, 203, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 10px 40px rgba(106, 17, 203, 0.6); }
    100% { transform: scale(1); box-shadow: 0 10px 30px rgba(106, 17, 203, 0.4); }
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    white-space: nowrap;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Small screen adjustments */
@media (max-width: 480px) {
    .banner-slider { height: 160px; }
}

/* ===== CHECKOUT SECTION ===== */
.checkout-body { padding: 0 0 40px; }

.checkout-section {
    padding: 24px 16px;
    border-bottom: 8px solid var(--border-light);
}

.checkout-section:last-child { border-bottom: none; }

.checkout-section-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.delivery-toggle {
    display: flex;
    background: var(--border-light);
    padding: 6px;
    border-radius: var(--radius-md);
    gap: 6px;
}

.toggle-btn {
    flex: 1;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    background: transparent;
    color: var(--text-secondary);
    transition: var(--transition);
}

.toggle-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 16px;
}

.flex-2 { flex: 2; }

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 4px;
}

.form-group input {
    height: 52px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 16px;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-lookup {
    height: 52px;
    padding: 0 20px;
    background: var(--text-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--bg);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.payment-method-item.active {
    background: var(--primary-light);
    border-color: var(--primary);
}

.payment-icon { font-size: 24px; margin-right: 16px; }
.payment-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }

/* Checkout Summary */
.checkout-summary {
    padding: 24px 16px;
    background: var(--white);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.summary-line.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--border);
    font-size: 22px;
    font-weight: 900;
    color: var(--text-primary);
}

.confirm-order-btn {
    width: 100%;
    height: 60px;
    background: var(--success);
    background: linear-gradient(135deg, var(--success), #00875A);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 166, 100, 0.3);
}

/* ===== PROFILE MODAL ===== */
.profile-body { padding: 0; }

.profile-header-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.profile-logo {
    width: 80px; height: 80px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow-lg);
}

.profile-store-name { font-size: 24px; font-weight: 900; }

.profile-info-section { padding: 32px 20px; }

.profile-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-info-item svg { flex-shrink: 0; margin-top: 2px; }

.profile-info-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.profile-info-item p { font-size: 14px; color: var(--text-secondary); }

#store-map {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 12px;
    background: var(--border-light);
}

#store-map iframe { width: 100%; height: 100%; border:0; }

/* ===== BANNER SLIDER ===== */
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg, 16px);
    margin: 16px 0 8px;
    width: 100%;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    aspect-ratio: 16 / 6;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-slide-color {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: white;
    text-align: center;
}

.slider-slide-color h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slider-slide-color p {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

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

.slider-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* ===== OBSERVATIONS ===== */
.modal-observations { padding: 0 16px 24px; position: relative; }
.observations-input { width: 100%; border: 1px solid #E5E7EB; border-radius: 12px; padding: 16px; padding-bottom: 32px; font-family: inherit; font-size: 15px; color: #1F2937; background: #F9FAFB; resize: vertical; min-height: 100px; max-height: 200px; box-sizing: border-box; transition: all 0.2s ease; line-height: 1.5; outline: none; }
.observations-input:focus { border-color: var(--primary); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(var(--p-h), var(--p-s), var(--p-l), 0.1); }
.observations-input::placeholder { color: #9CA3AF; }
.observations-count { position: absolute; bottom: 40px; right: 32px; font-size: 12px; color: #6B7280; font-weight: 500; pointer-events: none; }
