body {
    background: #f8fafc;
    font-family: 'Inter', system-ui, sans-serif;
}

.card {
    border: 0;
    border-radius: 14px;
}

.navbar {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* ========================================================================= */
/* PREMIUM "BOXCARS" STYLING COMPONENTS 
/* ========================================================================= */

/* BARRA DE PESQUISA BOXCARS */
.search-bar-wrapper {
    background: #ffffff;
    border-radius: 60px;
    padding: 8px 10px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    width: 100%;
}
.search-select, .search-input {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 50px;
    font-weight: 600;
    color: #1e293b !important;
    font-size: 1.0rem;
}
.search-select:disabled, .search-input:disabled { opacity: 0.5; }
.search-divider { height: 30px; width: 2px; background: #e2e8f0; margin: 0 10px; }
.btn-search-hero { 
    border-radius: 50px; 
    padding: 0 35px; 
    height: 50px; 
    font-weight: 700; 
    font-size: 1.05rem;
    background-color: #3b82f6;
    border: none;
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s;
}
.btn-search-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 20px rgba(59, 130, 246, 0.4); }

/* Pílulas embutidas */
.quick-filters { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.cat-pill {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-decoration: none;
}
.cat-pill:hover, .cat-pill.active { background: #0f172a; color: #ffffff; border-color: #0f172a; }

/* Premium Brand Cards (Logos quadradas) */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.brand-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    aspect-ratio: 1; /* Força ser um quadrado perfeito */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.brand-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: #e2e8f0; color: #3b82f6; }
.brand-icon { font-size: 3.5rem; color: #94a3b8; margin-bottom: 10px; transition: color 0.3s; }
.brand-card:hover .brand-icon { color: #3b82f6; }

/* Product Cards Boxcars style */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}
.product-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-5px); border-color: #e2e8f0; }
.product-img-wrap { 
    height: 200px; 
    background: #f8fafc; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
    position: relative; 
}
.product-img { max-height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-badge { position: absolute; top: 15px; left: 15px; color: white; padding: 4px 12px; border-radius: 30px; font-size: 0.75rem; font-weight: 700; z-index: 2; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* Separadores de detalhes de veículos -> produtos */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; border-top: 1px solid #f1f5f9; padding-top: 15px; }
.spec-item { display: flex; flex-direction: column; align-items: start; }
.spec-icon { color: #94a3b8; margin-bottom: 5px; font-size: 1.1rem; }
.spec-value { font-weight: 600; color: #334155; font-size: 0.85rem; }

/* Pharmacy Profile Profile Header */
.pharmacy-profile-header {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}
.pharmacy-profile-header::before {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}