/* style.css - COMPLETO CON BOTTONI IN LINEA */

/* =========================================
   1. VARIABILI E TEMI
   ========================================= */
:root {
    --bg-body: #f8f9fa;
    --text-main: #212529;
    --card-bg: #ffffff;
    --navbar-bg: #ffffff;
    --bottom-nav-bg: #ffffff;
    --border-color: rgba(0,0,0,0.08);
    --accent: #0d6efd;
    --accent-hover: #0b5ed7;
    --input-bg: #ffffff;
    --header-height: 84px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
}

[data-theme="dark"] {
    --bg-body: #0f172a; --text-main: #ffffff; --card-bg: #1e293b; --navbar-bg: #1e293b; --bottom-nav-bg: #1e293b; --border-color: rgba(255,255,255,0.1); --accent: #60a5fa; --input-bg: #334155;
}
[data-theme="luxury"] {
    --bg-body: #000000; --text-main: #f0f0f0; --card-bg: #111111; --navbar-bg: #0a0a0a; --bottom-nav-bg: #0a0a0a; --border-color: #d4af37; --accent: #d4af37; --input-bg: #1a1a1a;
}

/* =========================================
   2. IMPOSTAZIONI BASE
   ========================================= */
body {
    background-color: var(--bg-body) !important; 
    color: var(--text-main) !important; 
    font-family: 'Poppins', sans-serif; 
    transition: background 0.3s; 
    padding-bottom: 85px; 
    overflow-x: hidden;
    padding-top: var(--header-height) !important; 
    top: 0 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, a { color: var(--text-main); }
[data-theme="dark"] .text-muted, [data-theme="luxury"] .text-muted { color: rgba(255,255,255,0.7) !important; }

/* =========================================
   3. HEADER E NAVBAR
   ========================================= */
.navbar.fixed-top {
    background-color: var(--navbar-bg) !important;
    color: var(--text-main) !important;
    border-bottom: 1.5px solid var(--border-color) !important;
    min-height: var(--header-height) !important;
    height: var(--header-height) !important;
    display: flex;
    align-items: center;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
    padding: 0 1rem !important;
}

.navbar-logo-img { 
    height: 48px; 
    width: auto; 
    object-fit: contain; 
    transition: transform 0.2s ease;
    margin-top: 2px;
}
.navbar-logo-img:hover { transform: scale(1.03); }
@media (max-width: 768px) { 
    .navbar-logo-img { 
        height: 44px; 
        margin-top: 3px;
    } 
}

/* =========================================
   4. CARD E PRODOTTI
   ========================================= */
.card, .modal-content, .form-control {
    background-color: var(--navbar-bg) !important; color: var(--text-main) !important; border-color: var(--border-color) !important;
}
.card { 
    background-color: var(--card-bg) !important; 
    box-shadow: var(--shadow-sm); 
    border-radius: var(--radius-md) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); }

.card-title-dynamic { 
    font-weight: 600; 
    font-size: 0.95rem; 
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 
    line-height: 1.35;
}
.cat-img { transition: transform 0.3s ease; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.card:hover .cat-img { transform: scale(1.02); }

/* FIX PREZZO (LUSSO MINIMAL TITANIUM) */
.product-price { 
    font-weight: 600; 
    font-size: 0.98rem; 
    color: var(--text-main); 
    white-space: nowrap !important; 
    flex-shrink: 0 !important;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}
.product-price .price-val {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
}
.product-price .price-currency {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1;
}
[data-theme="dark"] .product-price, [data-theme="luxury"] .product-price { 
    color: #ffc107 !important; 
}
[data-theme="dark"] .product-price .price-currency, [data-theme="luxury"] .product-price .price-currency { 
    color: #ffd54f !important;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .product-price { font-size: 0.92rem; }
    .product-price .price-val { font-size: 0.92rem; }
    .product-price .price-currency { font-size: 0.68rem; }
}

/* BADGE MODERNI - Migliorati per leggibilità */
.badge-new {background:#dc3545!important;font-size:.75rem;padding:.3em .6em}
.badge-rec {background:#198754!important;font-size:.75rem;padding:.3em .6em}
.badge-frz {background:#0dcaf0!important;color:#000!important;font-size:.7rem;padding:.25em .5em}
.badge-all {background:#ffc107!important;color:#000!important;font-size:.7rem;padding:.25em .5em}

/* =========================================
   5. MENU IN BASSO (BOTTOM BAR)
   ========================================= */
/* =========================================
   BOTTOM NAVIGATION BAR (INSTAGRAM / APP STYLE)
   ========================================= */
.navbar-bottom {
    height: 60px;
    min-height: 60px;
    padding: 0 0 8px !important;
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
    z-index: 1030;
}

.bottom-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    max-width: 480px;
    height: 100%;
    margin: 0 auto;
    padding: 0 4px;
}

.navbar-bottom .nav-link-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    padding: 4px 0 2px 0;
    color: #8e8e93 !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: transform 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.navbar-bottom .nav-link-custom:active {
    transform: scale(0.88);
}

.navbar-bottom .nav-link-custom i {
    font-size: 1.32rem;
    line-height: 1.15;
    display: block;
    margin-bottom: 2px;
    color: inherit !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.navbar-bottom .nav-link-custom span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1;
    display: block;
    white-space: nowrap;
    color: inherit !important;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

/* Stato attivo (Light Mode) */
.navbar-bottom .nav-link-custom.active-nav {
    color: #111111 !important;
}
.navbar-bottom .nav-link-custom.active-nav i {
    transform: scale(1.08);
    color: #111111 !important;
}
.navbar-bottom .nav-link-custom.active-nav span {
    font-weight: 700;
}

/* Spacing per notch iPhone */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .navbar-bottom {
        padding-bottom: calc(8px + env(safe-area-inset-bottom)) !important;
        height: calc(60px + env(safe-area-inset-bottom));
        min-height: calc(60px + env(safe-area-inset-bottom));
    }
}

/* DARK & LUXURY MODE - INSTAGRAM STYLE */
[data-theme="dark"] .navbar-bottom,
[data-theme="luxury"] .navbar-bottom {
    background: rgba(14, 14, 14, 0.90) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .navbar-bottom .nav-link-custom,
[data-theme="luxury"] .navbar-bottom .nav-link-custom {
    color: rgba(255, 255, 255, 0.50) !important;
}

[data-theme="dark"] .navbar-bottom .nav-link-custom:hover,
[data-theme="luxury"] .navbar-bottom .nav-link-custom:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .navbar-bottom .nav-link-custom.active-nav,
[data-theme="luxury"] .navbar-bottom .nav-link-custom.active-nav {
    color: var(--accent) !important;
}

[data-theme="dark"] .navbar-bottom .nav-link-custom.active-nav i,
[data-theme="luxury"] .navbar-bottom .nav-link-custom.active-nav i {
    color: var(--accent) !important;
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

[data-theme="dark"] .navbar-bottom .nav-link-custom.active-nav span,
[data-theme="luxury"] .navbar-bottom .nav-link-custom.active-nav span {
    color: var(--accent) !important;
    font-weight: 700;
}

/* TESTO FIRMA AGENZIA */
.agency-text {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    opacity: 0.75;
    color: var(--text-main, #888);
    transition: opacity 0.2s ease;
}
.agency-text:hover {
    opacity: 1;
}

/* LOGHI FOOTER AGENZIA (DIGITAL MODE + DIGITAL MAGIX) */
.footer-logos-container { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-wrap: wrap;
    gap: 24px; 
    margin-top: 4px;
}
.footer-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer-logo-box:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
/* Logo Digital Mode (cerchio) */
.footer-logo-img { 
    height: 42px; 
    width: auto; 
    object-fit: contain; 
    transition: opacity 0.3s ease;
}
/* Logo Digital Magix (scritta orizzontale proporzionata) */
.footer-logo-magix { 
    height: 30px; 
    width: auto; 
    object-fit: contain; 
    transition: opacity 0.3s ease;
}

/* Default / Tema Chiaro */
.logo-mode-light, .logo-magix-light { display: inline-block; }
.logo-mode-dark,  .logo-magix-dark  { display: none; }

/* Tema Scuro e Luxury */
[data-theme="dark"] .logo-mode-light,
[data-theme="luxury"] .logo-mode-light,
[data-theme="dark"] .logo-magix-light,
[data-theme="luxury"] .logo-magix-light { 
    display: none !important; 
}
[data-theme="dark"] .logo-mode-dark,
[data-theme="luxury"] .logo-mode-dark,
[data-theme="dark"] .logo-magix-dark,
[data-theme="luxury"] .logo-magix-dark { 
    display: inline-block !important; 
}

/* OFFCANVAS */
.offcanvas { background-color: var(--card-bg) !important; color: var(--text-main) !important; }
#offcanvasQuickMenu .offcanvas-header {
    padding-top: 96px !important;
    padding-bottom: 16px !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}
.offcanvas-header .btn-close { 
    filter: invert(1); 
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.offcanvas-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}
[data-theme="light"] .offcanvas-header .btn-close { filter: none; }
.list-group-item { background-color: transparent !important; color: var(--text-main) !important; border-color: var(--border-color) !important; }

/* =========================================
   6. BOTTONI MARKETING IN LINEA
   ========================================= */

/* BOTTONI RECENSIONI PICCOLI E ALLINEABILI */
.btn-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;             /* Non forza 100% */
    padding: 8px 12px;       /* Più piccoli */
    border-radius: 6px;      
    text-decoration: none;
    color: #fff !important;
    font-weight: 500;
    font-size: 0.8rem;       /* Scritta compatta */
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /* Nessun margin-bottom qui perché usiamo il gap del contenitore */
}
.btn-compact:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.btn-compact i, .btn-compact svg { font-size: 0.9rem; }

/* Colori Brand */
.btn-compact.google { background-color: #DB4437; }
.btn-compact.tripadvisor { background-color: #00AA6C; }
.btn-compact.thefork { background-color: #5d8b3e; }

/* SEZIONE WHATSAPP */
.whatsapp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.whatsapp-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 8px;
    opacity: 0.9;
}

.btn-whatsapp-clean {
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}
.btn-whatsapp-clean:hover { transform: scale(1.05); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5); }

/* ICONE SOCIAL */
.social-icon-btn {
    display: flex !important; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    color: #fff !important; font-size: 1.1rem; text-decoration: none; 
    box-shadow: 0 3px 6px rgba(0,0,0,0.1); padding: 0 !important;
}
.social-icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon-btn:hover { transform: translateY(-3px); }

.social-icon-btn.facebook { background-color: #1877F2; }
.social-icon-btn.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon-btn.tiktok { 
    background-color: #000000; 
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
}
.social-icon-btn.tiktok svg { width: 20px; height: 20px; }
.social-icon-btn.tripadvisor { background-color: #00AA6C; }
.social-icon-btn.whatsapp { background-color: #25D366; }

/* In Dark Mode e Luxury: bordo chiaro per far risaltare il cerchio nero sul fondo scuro */
[data-theme="dark"] .social-icon-btn.tiktok,
[data-theme="luxury"] .social-icon-btn.tiktok {
    background-color: #111111;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* FIX Z-INDEX E POSIZIONAMENTO GTRANSLATE */
#goog-gt-tt, .gt_float_switcher, .gt_switcher { 
    z-index: 9999999 !important; 
}
.gt_float_switcher {
    top: 18px !important;
    right: 16px !important;
}
/* Stile del box quando manca l'immagine */
.category-placeholder-box {
    width: 100%;
    height: 180px; /* O l'altezza che hanno le tue immagini */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Colore di default (Tema Chiaro) - Grigio chiaro elegante */
    background-color: #f0f2f5; 
    color: #adb5bd; /* Colore dell'icona */
    font-size: 3rem;
    border-radius: 12px 12px 0 0; /* Arrotonda solo sopra se è una card */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Quando il tema è SCURO */
[data-theme="dark"] .category-placeholder-box {
    /* Colore per Tema Scuro - Grigio scuro che non "spara" */
    background-color: #2c333d; 
    color: #4a5568; /* Icona più scura per non abbagliare */
}

/* Opzionale: un'icona che pulsa leggermente per sembrare viva */
.category-placeholder-box i {
     animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* =========================================
   CATEGORY PLACEHOLDER - DARK MODE
   ========================================= */
[data-theme="dark"] .cat-placeholder-btn {
    background-color: #2c333d !important;
    color: #d1d5db !important;
}
[data-theme="dark"] .cat-placeholder-text {
    color: #d1d5db !important;
}
[data-theme="dark"] .cat-placeholder-icon {
    color: #9ca3af !important;
}
[data-theme="luxury"] .cat-placeholder-btn {
    background-color: #1a1a1a !important;
    color: #f0f0f0 !important;
}
[data-theme="luxury"] .cat-placeholder-text {
    color: #f0f0f0 !important;
}
[data-theme="luxury"] .cat-placeholder-icon {
    color: #d4af37 !important;
}


/* =========================================
   8. SEARCH MODAL (TITANIUM PREMIUM)
   ========================================= */

/* Dialog & Backdrop */
.search-modal-dialog {
    max-width: 480px;
    margin: 1.5rem auto;
}
@media (max-width: 576px) {
    .search-modal-dialog {
        margin: 0.75rem;
        max-width: calc(100% - 1.5rem);
    }
}

.search-modal-content {
    border-radius: 1.5rem !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: #ffffff !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0,0,0,0.03) !important;
    backdrop-filter: blur(20px);
}

.search-modal-header {
    padding: 1.15rem 1.25rem 0.25rem 1.25rem;
}
.search-modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.2px;
}
.search-modal-title .text-accent {
    color: var(--accent) !important;
}
.search-close-btn {
    border-radius: 50%;
    padding: 0.5rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.search-close-btn:hover {
    transform: scale(1.1);
}

/* Search Input Box */
.search-input-box {
    display: flex;
    align-items: center;
    background: #f1f3f5;
    border: 1.5px solid transparent;
    border-radius: 14px;
    padding: 0 14px;
    transition: all 0.2s ease;
}
.search-input-box:focus-within {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}
.search-box-icon {
    font-size: 1rem;
    color: #9ca3af;
    margin-right: 10px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}
.search-input-box:focus-within .search-box-icon {
    color: var(--accent);
}
.search-input-field {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 13px 0 !important;
    font-size: 0.92rem;
    font-weight: 500;
    color: #18181b !important;
    letter-spacing: -0.1px;
}
.search-input-field:focus {
    outline: none !important;
}
.search-input-field::placeholder {
    color: #9ca3af !important;
    font-weight: 400;
}
.search-clear-btn {
    background: none;
    border: none;
    padding: 0;
    color: #9ca3af;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}
.search-clear-btn:hover {
    color: #18181b;
    transform: scale(1.1);
}

/* Results List */
.search-results-container {
    max-height: 55vh;
    overflow-y: auto;
    padding: 0 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.12) transparent;
}
.search-results-container::-webkit-scrollbar { width: 4px; }
.search-results-container::-webkit-scrollbar-track { background: transparent; }
.search-results-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 4px; }

.search-results-list {
    padding: 4px 0;
}

.search-result-item {
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 4px;
    background: transparent;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}
.search-result-item:hover {
    background: rgba(0, 0, 0, 0.035);
    border-color: rgba(0, 0, 0, 0.04);
}
.search-result-item:active {
    transform: scale(0.985);
}

.search-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.search-item-thumb-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    color: #b0b0b6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
}
.search-item-info {
    min-width: 0;
}
.search-item-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.35;
}
.search-item-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #71717a;
    background: rgba(0, 0, 0, 0.045);
    padding: 2px 7px;
    border-radius: 6px;
    margin-top: 2px;
}
.search-item-price {
    font-weight: 700;
    font-size: 0.88rem;
    color: #111111;
    white-space: nowrap;
}
.search-item-price .price-val { font-weight: 700; font-size: 0.88rem; }
.search-item-price .price-currency { font-size: 0.68rem; font-weight: 500; opacity: 0.7; }

.search-item-arrow {
    color: #c5c5ca;
    font-size: 0.78rem;
    transition: transform 0.15s ease, color 0.15s ease;
}
.search-result-item:hover .search-item-arrow {
    transform: translateX(3px);
    color: var(--accent);
}

/* Highlight match */
.search-highlight {
    background: rgba(13, 110, 253, 0.12);
    color: inherit;
    font-weight: 700;
    border-radius: 3px;
    padding: 0 1px;
}

/* No results state */
.search-empty-state {
    text-align: center;
    padding: 2rem 1rem;
}
.search-empty-icon {
    font-size: 2.2rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}
.search-empty-text {
    font-size: 0.82rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Search count badge */
.search-count {
    font-size: 0.65rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 0 2px 4px;
}

/* =========================================
   SEARCH MODAL - DARK & LUXURY MODE
   ========================================= */
[data-theme="dark"] .search-modal-content,
[data-theme="luxury"] .search-modal-content {
    background: #1a1a2e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04) !important;
}

[data-theme="luxury"] .search-modal-content {
    background: #0d0d0d !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.06) !important;
}

[data-theme="dark"] .search-close-btn,
[data-theme="luxury"] .search-close-btn {
    filter: invert(1);
    opacity: 0.7;
}

[data-theme="dark"] .search-input-box,
[data-theme="luxury"] .search-input-box {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .search-input-box:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}
[data-theme="luxury"] .search-input-box:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

[data-theme="dark"] .search-box-icon { color: rgba(255,255,255,0.4); }
[data-theme="luxury"] .search-box-icon { color: rgba(212,175,55,0.5); }

[data-theme="dark"] .search-input-field,
[data-theme="luxury"] .search-input-field {
    color: #f0f0f0 !important;
}
[data-theme="dark"] .search-input-field::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}
[data-theme="luxury"] .search-input-field::placeholder {
    color: rgba(212, 175, 55, 0.4) !important;
}

[data-theme="dark"] .search-result-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="luxury"] .search-result-item:hover {
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.1);
}

[data-theme="dark"] .search-item-thumb-placeholder {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
}
[data-theme="luxury"] .search-item-thumb-placeholder {
    background: rgba(212, 175, 55, 0.08);
    color: rgba(212, 175, 55, 0.5);
}

[data-theme="dark"] .search-item-title,
[data-theme="luxury"] .search-item-title {
    color: #f0f0f0;
}

[data-theme="dark"] .search-item-badge {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.55);
}
[data-theme="luxury"] .search-item-badge {
    background: rgba(212, 175, 55, 0.1);
    color: rgba(212, 175, 55, 0.75);
}

[data-theme="dark"] .search-item-price {
    color: #60a5fa;
}
[data-theme="luxury"] .search-item-price {
    color: #d4af37;
}

[data-theme="dark"] .search-highlight {
    background: rgba(96, 165, 250, 0.18);
}
[data-theme="luxury"] .search-highlight {
    background: rgba(212, 175, 55, 0.18);
}

[data-theme="dark"] .search-count { color: rgba(255,255,255,0.35); }
[data-theme="luxury"] .search-count { color: rgba(212,175,55,0.45); }
[data-theme="dark"] .search-empty-icon { color: rgba(255,255,255,0.15); }
[data-theme="luxury"] .search-empty-icon { color: rgba(212,175,55,0.2); }
[data-theme="dark"] .search-empty-text { color: rgba(255,255,255,0.35); }
[data-theme="luxury"] .search-empty-text { color: rgba(212,175,55,0.45); }

[data-theme="dark"] .search-clear-btn { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .search-clear-btn:hover { color: #f0f0f0; }
[data-theme="luxury"] .search-clear-btn { color: rgba(212,175,55,0.5); }
[data-theme="luxury"] .search-clear-btn:hover { color: #d4af37; }

[data-theme="dark"] .search-results-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }
[data-theme="luxury"] .search-results-container::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.15); }