/* Search / Browse categories page */

.search-page main {
    padding: 0;
    background: var(--bg-page);
    min-height: 60vh;
}

/* Search bar */
.search-hero {
    background: #fff;
    border-bottom: 1px solid var(--border-1);
    padding: 24px 0;
}

.search-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-page);
    border: 2px solid var(--accent);
    border-radius: 9999px;
    padding: 12px 18px;
    max-width: 640px;
    margin: 0 auto;
}

.search-bar-icon,
.search-bar-mic {
    color: var(--text-muted-6);
    font-size: 15px;
    display: flex;
    align-items: center;
}

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

.search-bar-input::placeholder {
    color: var(--text-muted-6);
}

/* Section labels */
.search-main {
    padding: 32px 0 72px;
}

.search-section-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted-6);
    margin: 0 0 14px;
}

.search-section-label-more {
    margin-top: 32px;
}

/* Row list */
.search-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 720px;
}

.search-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border-1);
    border-radius: var(--radius-16);
    padding: 16px 18px;
    text-decoration: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.search-row:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: rgba(24, 23, 16, 0.15);
}

.search-row-soon {
    cursor: default;
    opacity: 0.7;
}

.search-row-soon:hover {
    box-shadow: none;
    border-color: var(--border-1);
}

.search-row-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.search-row-photo {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-page);
}

.search-row-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-row-icon-blue   { background: #dbeafe; color: #2563eb; }
.search-row-icon-tan    { background: #fde8c8; color: #b45309; }
.search-row-icon-peach  { background: #fde2df; color: #dc2626; }
.search-row-icon-teal   { background: #ccfbf1; color: #0d9488; }
.search-row-icon-mint   { background: #d1fae5; color: #059669; }
.search-row-icon-green  { background: #dcfce7; color: #16a34a; }
.search-row-icon-purple { background: #ede9fe; color: #7c3aed; }
.search-row-icon-pink   { background: #fce7f3; color: #db2777; }

.search-row-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-row-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}

.search-row-desc {
    font-size: 13px;
    color: var(--text-muted-6);
}

.search-row-chevron {
    color: var(--text-muted-6);
    font-size: 13px;
    flex-shrink: 0;
}

.search-row-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted-6);
    background: var(--bg-page);
    border: 1px solid var(--border-1);
    padding: 5px 10px;
    border-radius: 9999px;
}

.search-empty {
    text-align: center;
    color: var(--text-muted-6);
    padding: 40px 0;
}

@media (max-width: 640px) {
    .search-row { padding: 14px; gap: 12px; }
    .search-row-icon { width: 38px; height: 38px; font-size: 15px; }
}
