/* page-hero stili style.css'te */

.hero-search {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.hero-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 16px;
}

.hero-search input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: 'Exo', sans-serif;
    font-size: 15px;
    outline: none;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-search input::placeholder {
    color: var(--gray-light);
}

.hero-search input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* ===== SSS LAYOUT ===== */
.sss-section {
    padding: 50px 0 80px;
    background: var(--light);
}

.sss-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* ===== SIDEBAR ===== */
.sss-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--light-2);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.sidebar-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card h4 i {
    color: var(--primary);
}

.cat-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    transition: var(--transition);
    text-decoration: none;
}

.cat-item i {
    font-size: 14px;
    color: var(--gray-light);
    width: 18px;
    text-align: center;
    transition: var(--transition);
}

.cat-count {
    margin-left: auto;
    padding: 2px 8px;
    background: var(--light);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
}

.cat-item:hover {
    background: var(--light);
    color: var(--primary);
}

.cat-item:hover i {
    color: var(--primary);
}

.cat-item.active {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}

.cat-item.active i {
    color: var(--white);
}

.cat-item.active .cat-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Sidebar CTA */
.sidebar-cta {
    text-align: center;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    border-color: rgba(0, 102, 255, 0.1);
}

.sidebar-cta > i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.sidebar-cta h4 {
    justify-content: center;
    margin-bottom: 6px;
}

.sidebar-cta p {
    font-size: 13px;
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.5;
}

.sidebar-cta .btn {
    margin-bottom: 8px;
    font-size: 12px;
    padding: 10px 16px;
}

.sidebar-cta .btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border: none;
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ===== SSS CONTENT ===== */
.sss-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sss-group {
    background: var(--white);
    border: 1px solid var(--light-2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.sss-group.hidden {
    display: none;
}

.sg-header {
    padding: 16px 22px;
    background: var(--light);
    border-bottom: 1px solid var(--light-2);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sg-header i {
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.sss-item {
    border-bottom: 1px solid var(--light-2);
}

.sss-item:last-child {
    border-bottom: none;
}

.sss-item.search-hidden {
    display: none;
}

.sss-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Exo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.sss-q:hover {
    background: rgba(0, 102, 255, 0.02);
}

.sss-q i {
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}

.sss-item.active .sss-q {
    background: rgba(0, 102, 255, 0.03);
}

.sss-item.active .sss-q i {
    transform: rotate(45deg);
    color: var(--secondary);
}

.sss-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.sss-item.active .sss-a {
    max-height: 300px;
}

.sss-a p {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
}

.sss-a a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sss-layout {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .sss-layout {
        grid-template-columns: 1fr;
    }

    .sss-sidebar {
        position: static;
        flex-direction: column;
        gap: 12px;
    }

    .sidebar-card {
        min-width: auto;
    }

    .sidebar-cta {
        min-width: auto;
    }

    .cat-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .cat-item {
        padding: 8px 12px;
        font-size: 12px;
        border: 1px solid var(--light-2);
        border-radius: 8px;
        background: var(--light);
    }

    .cat-item.active {
        border-color: transparent;
    }

    .sss-q {
        font-size: 13px;
        padding: 14px 16px;
    }

    .sss-a p {
        padding: 0 16px 16px;
        font-size: 13px;
    }

    .sg-header {
        padding: 14px 16px;
        font-size: 13px;
    }
}
