/* ==========================================================================
   USBoxesCo — FAQ page (quote.css ke upar load hoti hai)
   ========================================================================== */

/* Hero search */
.ubfq-hero { padding-bottom: 56px; }
.ubfq-search {
    position: relative; max-width: 620px; margin-top: 26px;
}
.ubfq-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ubq-muted); pointer-events: none; }
.ubfq-search input {
    width: 100%; height: 58px; margin: 0; padding: 0 20px 0 52px; border-radius: 14px; border: 0 !important;
    background: #fff; color: var(--ubq-ink); font: 400 15px 'Poppins', sans-serif; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.ubfq-search input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255, 102, 0, .35), 0 12px 30px rgba(0, 0, 0, .25); }
.ubfq-search input::placeholder { color: #9ca3af; }

/* Layout */
.ubfq-main { padding: 56px 0 80px; }
.ubfq-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }

/* Sidebar */
.ubfq-side { position: sticky; top: 80px; }
.ubfq-side__title { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ubq-muted); }
.ubfq-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ubfq-cats a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px;
    font-size: 14.5px; font-weight: 500; color: var(--ubq-text) !important; text-decoration: none !important; transition: background .2s, color .2s;
}
.ubfq-cats a span { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--ubq-soft); color: var(--ubq-muted); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.ubfq-cats a:hover { background: var(--ubq-soft); color: var(--ubq-ink) !important; }
.ubfq-cats a.is-active { background: var(--ubq-orange-soft); color: var(--ubq-orange) !important; font-weight: 600; }
.ubfq-cats a.is-active span { background: var(--ubq-orange); color: #fff; }
.ubfq-side__help { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--ubq-navy); color: #94a3b8; }
.ubfq-side__help strong { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.ubfq-side__help p { margin: 0 0 14px; font-size: 13.5px; }
.ubfq-side__help .ubq-btn { min-height: 46px; font-size: 13px; }

/* Groups */
.ubfq-group { scroll-margin-top: 90px; }
.ubfq-group + .ubfq-group { margin-top: 40px; }
.ubfq-group[hidden] { display: none; }
.ubfq-group__title { margin: 0 0 16px; font-size: 22px; font-weight: 700; color: var(--ubq-ink); letter-spacing: -.01em; }
.ubfq-items { display: grid; gap: 12px; }
.ubfq-items .ubq-faq__item[hidden] { display: none; }
.ubfq .ubq-faq__answer a { color: var(--ubq-orange) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.ubfq-empty { margin: 0 0 24px; padding: 18px 20px; border-radius: 12px; background: var(--ubq-soft); color: var(--ubq-text); }
.ubfq-empty a { color: var(--ubq-orange) !important; font-weight: 600; }

/* Bottom CTA */
.ubfq-cta {
    margin-top: 48px; padding: 28px 32px; border-radius: 20px; background: var(--ubq-orange-soft); border: 1px solid var(--ubq-orange-line);
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.ubfq-cta strong { display: block; font-size: 20px; color: var(--ubq-ink); margin-bottom: 4px; }
.ubfq-cta p { margin: 0; color: var(--ubq-text); }
.ubfq-cta__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ubfq-cta__link { font-weight: 600; color: var(--ubq-ink) !important; text-decoration: none !important; }
.ubfq-cta__link:hover { color: var(--ubq-orange) !important; }

/* Responsive */
@media (max-width: 991px) {
    .ubfq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ubfq-side, .ubfq-list { min-width: 0; }
    .ubfq-side { position: sticky; top: 0; z-index: 5; margin: 0 -20px; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--ubq-line); }
    .ubfq-side__title, .ubfq-side__help { display: none; }
    .ubfq-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
    .ubfq-cats::-webkit-scrollbar { display: none; }
    .ubfq-cats a { white-space: nowrap; padding: 8px 14px; border: 1px solid var(--ubq-line); border-radius: 999px; font-size: 13.5px; }
    .ubfq-cats a span { display: none; }
    .ubfq-cats a.is-active { border-color: var(--ubq-orange); }
}

@media (max-width: 767px) {
    .ubfq-hero { padding-bottom: 40px; }
    .ubfq-search input { height: 52px; font-size: 14px; }
    .ubfq-main { padding: 0 0 56px; }
    .ubfq-side { margin: 0 -16px; padding: 10px 16px; }
    .ubfq-group__title { font-size: 19px; }
    .ubfq-group + .ubfq-group { margin-top: 32px; }
    .ubfq-cta { padding: 22px; }
    .ubfq-cta__actions { width: 100%; }
    .ubfq-cta .ubq-btn { width: 100%; }
}
