/* ═══════════════════════════════════════════════════════
   OVIFONE — CAUTARE.CSS v3
   ═══════════════════════════════════════════════════════ */

/* ── HERO ── */
.search-hero {
    position: relative;
    background: linear-gradient(160deg, #0e0e10 0%, #1a1a1e 55%, #121214 100%);
    padding: 80px 24px 72px;
    overflow: hidden;
    text-align: center;
}
.search-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}
.search-hero-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 10px;
}
.search-hero-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 12px;
}
.search-hero-title span {
    background: linear-gradient(135deg, #e35b00, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.search-hero-count {
    font-size: 15px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    margin-bottom: 36px;
    min-height: 22px;
}
.search-hero-form { width: 100%; }
.search-hero-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 6px 6px 6px 22px;
    gap: 12px;
    transition: border-color 0.3s, background 0.3s;
}
.search-hero-input-wrap:focus-within {
    border-color: rgba(227,91,0,0.6);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(227,91,0,0.12);
}
.search-hero-input-wrap > svg { flex-shrink: 0; stroke: rgba(255,255,255,0.3); }
.search-hero-input-wrap:focus-within > svg { stroke: #e35b00; }
#search-hero-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    caret-color: #e35b00;
}
#search-hero-input::placeholder { color: rgba(255,255,255,0.25); }
.search-hero-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e35b00, #ff7520);
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.search-hero-btn:hover { opacity: 0.9; transform: scale(1.03); }

/* ── DECO RINGS ── */
.search-hero-decoration { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.deco-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(227,91,0,0.08); }
.deco-ring-1 { width: 500px; height: 500px; top: -200px; right: -150px; }
.deco-ring-2 { width: 320px; height: 320px; bottom: -120px; left: -80px; border-color: rgba(255,255,255,0.04); }
.deco-ring-3 { width: 180px; height: 180px; top: 10px; left: 10%; border-color: rgba(227,91,0,0.05); animation: deco-spin 20s linear infinite; }
@keyframes deco-spin { to { transform: rotate(360deg); } }

/* ── CONTROLS BAR ── */
.search-controls-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding: 14px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.search-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.search-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-chip {
    padding: 7px 16px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid rgba(0,0,0,0.1);
    background: transparent;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}
.filter-chip:hover { border-color: #e35b00; color: #e35b00; background: rgba(227,91,0,0.05); }
.filter-chip.active {
    background: #e35b00;
    border-color: #e35b00;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(227,91,0,0.3);
}
.search-sort { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sort-label { font-size: 13px; font-weight: 600; color: var(--color-text-secondary); }
.sort-select {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
    background: var(--color-bg-secondary);
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 7px 32px 7px 12px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2386868b' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.2s;
}
.sort-select:focus { border-color: #e35b00; }

/* ── RESULTS SECTION ── */
.search-results-section { padding: 48px 20px 40px; }

/* ── SEARCH GRID ── */
.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* ═══════════════════════════════════════════
   NOUL CARD DE PRODUS — design curat, aerat
   ═══════════════════════════════════════════ */

.search-grid .premium-card {
    flex: none;
    width: 100%;
    opacity: 0;
    transform: translateY(16px);
    animation: card-reveal 0.4s var(--ease-apple) forwards;
}
@keyframes card-reveal { to { opacity: 1; transform: translateY(0); } }

.search-grid .premium-card-inner {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid rgba(0,0,0,0.06);
    background: #ffffff;
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-apple);
}
.search-grid .premium-card:hover .premium-card-inner {
    border-color: rgba(227,91,0,0.25);
    box-shadow: 0 12px 40px rgba(227,91,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

/* Image area — fundal gri cald, proporții fixe */
.search-grid .premium-media {
    position: relative;
    background: #f7f7f7;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
    transition: background 0.25s;
}
.search-grid .premium-card:hover .premium-media { background: #f2f0ed; }
.search-grid .premium-media img {
    max-height: 170px;
    max-width: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s var(--ease-apple);
}
.search-grid .premium-card:hover .premium-media img { transform: scale(1.06) translateY(-4px); }

/* Sale ribbon — mai mic, mai discret */
.search-grid .corner-ribbon {
    position: absolute;
    top: 14px;
    right: -28px;
    width: 110px;
    background: #e35b00;
    color: #fff;
    text-align: center;
    padding: 4px 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 10;
    pointer-events: none;
}

/* Info area */
.search-grid .premium-info {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

/* Brand + categorie inline, discretă */
.card-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.card-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}
.card-category-dot {
    font-size: 11px;
    font-weight: 600;
    color: #e35b00;
    opacity: 0.75;
}

/* Titlu produs */
.search-grid .premium-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

/* Swatches culori */
.card-color-swatches {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.color-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.color-swatch-more {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    line-height: 14px;
}

/* Pret + actiune */
.search-grid .premium-pricing {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.price-stack {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.search-grid .price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}
.search-grid .price-old {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: line-through;
}
.price-discount-badge {
    font-size: 12px;
    font-weight: 800;
    color: #e35b00;
    background: rgba(227,91,0,0.09);
    padding: 4px 9px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}
.card-cta-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
    color: var(--color-text-secondary);
}
.search-grid .premium-card:hover .card-cta-arrow {
    background: #e35b00;
    color: #ffffff;
}

/* ── SKELETON ── */
.skeleton-card {
    background: #f5f5f7;
    border-radius: 18px;
    height: 360px;
    overflow: hidden;
    position: relative;
}
.skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* ── EMPTY STATE ── */
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 72px 24px;
    text-align: center;
}
.empty-state-icon {
    width: 72px;
    height: 72px;
    background: rgba(227,91,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #e35b00;
}
.empty-state h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.empty-state p {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 360px;
    line-height: 1.6;
    margin-bottom: 28px;
}
.empty-state-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e35b00, #ff7520);
    color: #fff;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(227,91,0,0.3);
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid rgba(0,0,0,0.1);
    transition: border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: #e35b00; transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   SECTIUNEA DE JOS — DARK CTA BAND
   ═══════════════════════════════════════════ */

.search-cta-band {
    background: linear-gradient(135deg, #0e0e10 0%, #1c1c20 100%);
    padding: 64px 24px 72px;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

/* Accent glow decorativ */
.search-cta-band::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227,91,0,0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    pointer-events: none;
}
.search-cta-band::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(227,91,0,0.07) 0%, transparent 70%);
    bottom: -80px;
    left: 5%;
    pointer-events: none;
}

.search-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
}

.search-cta-text {}
.search-cta-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e35b00;
    margin-bottom: 12px;
}
.search-cta-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
}
.search-cta-title span {
    background: linear-gradient(135deg, #e35b00, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.search-cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    line-height: 1.6;
    max-width: 460px;
}

.search-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #e35b00, #ff7520);
    color: #fff;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 6px 20px rgba(227,91,0,0.35);
    white-space: nowrap;
}
.cta-btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.cta-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Categorii rapide sub text */
.search-cta-cats {
    display: flex;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.cta-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-cat-pill:hover {
    background: rgba(227,91,0,0.15);
    border-color: rgba(227,91,0,0.35);
    color: #ff8c42;
}
.cta-cat-pill svg { stroke: currentColor; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .search-cta-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .search-cta-actions { flex-direction: row; }
}
@media (max-width: 768px) {
    .search-hero { padding: 60px 20px 52px; }
    .search-hero-title { font-size: 28px; }
    .search-hero-btn span { display: none; }
    .search-hero-btn { padding: 12px 16px; }
    .search-controls-bar { top: 118px; }
    .search-controls-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .search-filters { overflow-x: auto; flex-wrap: nowrap; width: 100%; scrollbar-width: none; }
    .search-filters::-webkit-scrollbar { display: none; }
    .filter-chip { white-space: nowrap; }
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .search-grid .premium-media { height: 160px; }
    .search-grid .premium-media img { max-height: 130px; }
    .search-grid .premium-info { padding: 12px 14px 14px; }
    .search-grid .premium-name { font-size: 13px; }
    .search-grid .price-current { font-size: 15px; }
    .skeleton-card { height: 300px; }
    .search-results-section { padding: 24px 14px 32px; }
    .search-cta-band { padding: 48px 20px 56px; }
    .search-cta-title { font-size: 24px; }
    .search-cta-actions { flex-direction: column; }
    .search-cta-cats { gap: 6px; }
}