/**
 * storefront.css
 * BuyUSAFirst Bootstrap 5 storefront theme.
 * Prefix: sf-*  (storefront)
 * Replaces the Bootstrap 4 / bu-* class system for public pages.
 *
 * Color palette:
 *   Primary blue  #0075B2 / dark #005A8B
 *   Accent red    #E21F26 / dark #C51B20
 *   Background    #EEF2F6
 *   Footer        #111827
 */

/* ═══════════════════════════════════════════════════════════════
   CSS Variables
   ═══════════════════════════════════════════════════════════════ */
:root {
    --sf-primary: #0075B2;
    --sf-primary-dark: #005A8B;
    --sf-accent: #D03946;
    --sf-accent-dark: #BB303C;
    --sf-bg: #EEF2F6;
    --sf-card: #FFFFFF;
    --sf-border: #DCE1E7;
    --sf-text: #3F4B59;
    --sf-muted: #8B94A3;
    --sf-footer-bg: #111827;
    --sf-radius: 6px;
    --sf-hero-radius: 12px;
    --sf-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* ═══════════════════════════════════════════════════════════════
   Base / Body
   ═══════════════════════════════════════════════════════════════ */
body.storefront {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--sf-text);
    background-color: var(--sf-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════════
   Utility Bar — thin dark-blue strip at very top
   ═══════════════════════════════════════════════════════════════ */
.sf-utility-bar {
    background-color: var(--sf-primary-dark);
    height: 30px;
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.85);
}

.sf-utility-link {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-size: 0.775rem;
    transition: color 0.15s;
}

.sf-utility-link:hover,
.sf-utility-link:focus {
    color: #ffffff !important;
}

/* User dropdown inside utility bar */
.sf-user-dropdown {
    font-size: 0.85rem;
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    min-width: 220px;
}

.sf-user-dropdown .dropdown-item {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    color: var(--sf-text);
}

.sf-user-dropdown .dropdown-item:hover {
    background-color: var(--sf-bg);
    color: var(--sf-primary);
}

.sf-user-dropdown .dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--sf-muted);
}

/* ═══════════════════════════════════════════════════════════════
   Main Header / Navigation
   ═══════════════════════════════════════════════════════════════ */
.sf-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--sf-border);
}

.sf-main-nav {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.sf-main-nav .navbar-brand img {
    height: 44px;
    width: auto;
}

.sf-nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--sf-text) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--sf-radius);
    transition: color 0.15s, background-color 0.15s;
}

.sf-nav-link:hover,
.sf-nav-link:focus {
    color: var(--sf-primary) !important;
    background-color: rgba(0, 117, 178, 0.06);
}

.sf-nav-link.active {
    color: var(--sf-primary) !important;
    background-color: rgba(0, 117, 178, 0.08);
}

/* Navbar expand fallback — ensure side-by-side on lg+ */
@media (min-width: 992px) {
    .sf-main-nav.navbar-expand-lg {
        flex-wrap: nowrap;
    }
    .sf-main-nav.navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .sf-main-nav.navbar-expand-lg .navbar-toggler {
        display: none;
    }
    .sf-main-nav.navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
}

/* Mobile toggler — light grey rounded square (matches home mockups) */
.sf-main-nav .navbar-toggler {
    border-color: var(--sf-border);
    border-radius: 10px;
    padding: 0.4rem 0.55rem;
}

.sf-main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233F4B59' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ═══════════════════════════════════════════════════════════════
   Search Bar — blue background strip below header
   ═══════════════════════════════════════════════════════════════ */
.sf-search-bar {
    background-color: var(--sf-primary);
    padding: 0.65rem 0;
}

@media (max-width: 575.98px) {
    .sf-search-bar {
        padding: 0.85rem 0;
    }
}

.sf-search-form .form-control,
.sf-search-form .form-select {
    border: none;
    border-radius: var(--sf-radius);
    height: 40px;
    font-size: 0.9rem;
}

.sf-search-form .form-control:focus,
.sf-search-form .form-select:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   Buttons — accent (red), primary (blue), outline-light
   ═══════════════════════════════════════════════════════════════ */
.btn-sf-accent {
    background-color: var(--sf-accent);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: var(--sf-radius);
    transition: background-color 0.15s, box-shadow 0.15s;
}

.btn-sf-accent:hover,
.btn-sf-accent:focus {
    background-color: var(--sf-accent-dark);
    color: #ffffff;
}

.sf-search-form .btn-sf-accent {
    background-color: #ffffff;
    color: var(--sf-primary);
    border: 1px solid #c8d4e3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.sf-search-form .btn-sf-accent:hover,
.sf-search-form .btn-sf-accent:focus {
    background-color: #f4f7fb;
    color: var(--sf-primary-dark);
    border-color: #9fb9d6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.btn-sf-primary {
    background-color: var(--sf-primary);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: var(--sf-radius);
    transition: background-color 0.15s, box-shadow 0.15s;
}

.btn-sf-primary:hover,
.btn-sf-primary:focus {
    background-color: var(--sf-primary-dark);
    color: #ffffff;
}

.btn-sf-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-weight: 600;
    border-radius: var(--sf-radius);
    transition: background-color 0.15s, border-color 0.15s;
}

.btn-sf-outline-light:hover,
.btn-sf-outline-light:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   Beta Notice — yellow dismissible bar
   ═══════════════════════════════════════════════════════════════ */
.sf-beta-notice {
    background-color: #FFF3CD;
    color: #856404;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #FFECB5;
}

.sf-beta-notice .js-dismiss-notice-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: #856404;
    opacity: 0.65;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 0.25rem;
}

.sf-beta-notice .js-dismiss-notice-btn:hover {
    opacity: 1;
}

/* Locale domain context banner (homepage) */
.sf-locale-banner {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
    background: #e8f4fb;
    border: 1px solid #b6d9eb;
    border-left: 4px solid var(--sf-primary);
    color: #1f3f58;
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
}

.sf-locale-banner .sf-locale-chip {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--sf-primary);
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    font-weight: 700;
}

.sf-locale-banner .sf-locale-copy {
    color: #46667d;
}

/* ═══════════════════════════════════════════════════════════════
   Hero Section — two-panel layout on homepage
   Force side-by-side with explicit flexbox (not relying on BS grid)
   ═══════════════════════════════════════════════════════════════ */
.sf-hero {
    padding: 0;
    margin-bottom: 0;
}

.sf-hero-grid {
    display: flex;
    flex-wrap: wrap;
    border-radius: var(--sf-hero-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.sf-hero-container {
    max-width: 1220px;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}

@media (min-width: 992px) {
    .sf-hero-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Force each panel to take 50% on large screens */
.sf-hero-grid > .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
}

@media (max-width: 991.98px) {
    .sf-hero-grid {
        margin-top: 1rem;
    }
    .sf-hero-grid > .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Left panel — blue solid with CTAs */
.sf-hero-primary {
    background-color: var(--sf-primary);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 340px;
    height: 100%;
    width: 100%;
}

.sf-hero-kicker {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.sf-hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.sf-hero-subtitle {
    font-size: 1rem;
    opacity: 0.88;
    margin-bottom: 1.5rem;
    max-width: 480px;
    line-height: 1.55;
}

/* Primary CTA row — full-width buttons on small screens */
.sf-hero-cta .btn {
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .sf-hero-cta .btn {
        width: 100%;
    }
}

/* Right panel — white with feature points */
.sf-hero-light {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 340px;
    height: 100%;
    width: 100%;
}

/* Aside title: centered on mobile like design comps, left on desktop */
.sf-hero-aside-title,
.sf-hero-aside-lead {
    text-align: center;
}

@media (min-width: 992px) {
    .sf-hero-aside-title,
    .sf-hero-aside-lead {
        text-align: left;
    }
}

@media (max-width: 991.98px) {
    .sf-hero-light {
        border-top: 1px solid var(--sf-border);
    }
}

/* Red circular icon badges (verified + flag) */
.sf-hero-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--sf-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 2px;
}

.sf-hero-feature-icon .fa-flag {
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .sf-hero-feature {
        align-items: flex-start !important;
    }
}

.sf-hero-mail-btn {
    border-radius: 10px;
}

@media (max-width: 991.98px) {
    .sf-hero-mail-btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Text Utilities
   ═══════════════════════════════════════════════════════════════ */
.text-sf-primary {
    color: var(--sf-primary) !important;
}

.text-sf-accent {
    color: var(--sf-accent) !important;
}

/* Container — let Bootstrap 5 handle this natively.
   No overrides needed; BS5 CDN is always loaded before this file. */

/* ═══════════════════════════════════════════════════════════════
   Main Content Area
   ═══════════════════════════════════════════════════════════════ */
.sf-main {
    min-height: 50vh;
}

/* ═══════════════════════════════════════════════════════════════
   Sort Controls — above product grid
   ═══════════════════════════════════════════════════════════════ */
.sf-sort-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
}

.sf-sort-form {
    flex: 0 0 auto;
}

.sf-sort-select {
    min-width: 200px;
    max-width: 100%;
    border-radius: var(--sf-radius);
    border-color: var(--sf-border);
}

.sf-results-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sf-muted);
}

.sf-marketplace-header .text-sf-primary {
    letter-spacing: -0.02em;
}

.sf-marketplace-desc {
    max-width: 640px;
}

@media (max-width: 575.98px) {
    .sf-sort-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .sf-sort-form {
        margin-left: 0;
        width: 100%;
    }

    .sf-sort-select {
        width: 100%;
        min-width: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Product Grid — CSS grid for consistent card layout
   ═══════════════════════════════════════════════════════════════ */
.sf-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 991.98px) {
    .sf-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .sf-product-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Product Card — works in BOTH bu-* and sf-* contexts
   ═══════════════════════════════════════════════════════════════ */
.sf-product-card {
    background: var(--sf-card);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sf-product-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Out-of-stock state */
.sf-product-card.is-out {
    opacity: 0.65;
}

/* Image area */
.sf-product-card .bu-product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #f8f9fa;
}

.sf-product-card .bu-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s;
}

.sf-product-card:hover .bu-product-image {
    transform: scale(1.03);
}

/* USA badge inside card */
.sf-product-card .bu-usa-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--sf-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Out-of-stock overlay */
.sf-product-card .bu-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.sf-product-card .bu-out-badge {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Card body */
.sf-product-card .bu-product-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sf-product-card .bu-product-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.sf-product-card .bu-product-title a {
    color: var(--sf-text);
    text-decoration: none;
}

.sf-product-card .bu-product-title a:hover {
    color: var(--sf-primary);
}

.sf-product-card .bu-product-meta {
    font-size: 0.8rem;
    color: var(--sf-muted);
}

.sf-product-card .bu-product-divider {
    border-color: var(--sf-border);
    margin: 0.5rem 0;
}

.sf-product-card .bu-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sf-accent);
    margin-top: auto;
}

.sf-product-card .bu-product-price a {
    color: var(--sf-accent);
    text-decoration: none;
}

/* CakePHP Form helper wraps controls in <div class="input select">
   which is block-level and breaks flex/grid layouts. Flatten it. */
body.storefront .input {
    display: contents;
}

/* ═══════════════════════════════════════════════════════════════
   Featured Categories Section (homepage)
   ═══════════════════════════════════════════════════════════════ */
.sf-categories-section {
    padding: 2rem 0;
}

.sf-section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sf-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sf-text);
}

.sf-section-subtitle {
    color: var(--sf-muted);
    font-size: 0.95rem;
}

/* Category cards */
.sf-category-card,
.bu-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--sf-card);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: var(--sf-text);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}

.sf-category-card:hover,
.bu-category-card:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    color: var(--sf-primary);
    text-decoration: none;
}

/* Category icon circle */
.bu-category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 117, 178, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--sf-primary);
    margin-bottom: 0.75rem;
}

.bu-category-card:hover .bu-category-icon {
    background: var(--sf-primary);
    color: #fff;
}

/* Category label */
.bu-category-label {
    font-weight: 700;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════
   "Why Shop USA" section (homepage)
   ═══════════════════════════════════════════════════════════════ */
.sf-why-section,
.bu-why-section {
    padding: 2.5rem 0;
}

.sf-why-card,
.bu-why-card {
    background: var(--sf-card);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.2s;
}

.sf-why-card:hover,
.bu-why-card:hover {
    box-shadow: var(--sf-shadow);
}

/* Why section icon circles */
.bu-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.bu-why-icon-blue {
    background: rgba(0, 117, 178, 0.1);
    color: var(--sf-primary);
}

.bu-why-icon-red {
    background: rgba(226, 31, 38, 0.1);
    color: var(--sf-accent);
}

.bu-why-icon-green {
    background: rgba(46, 204, 113, 0.1);
    color: #2ECC71;
}

.bu-why-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sf-text);
    margin-bottom: 0.5rem;
}

.bu-why-desc {
    font-size: 0.88rem;
    color: var(--sf-muted);
    line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   Seller CTA Section (homepage)
   ═══════════════════════════════════════════════════════════════ */
.sf-seller-cta,
.bu-seller-cta {
    background-color: var(--sf-primary);
    color: #ffffff;
    text-align: center;
    padding: 3rem 1rem;
    border-radius: var(--sf-radius);
    margin-bottom: 2rem;
}

.sf-seller-cta h2,
.bu-seller-cta-title {
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.sf-seller-cta p,
.bu-seller-cta-desc {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1.25rem;
}

/* Red button used in seller CTA (bu- legacy compat) */
.bu-btn-red {
    background-color: var(--sf-accent);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: var(--sf-radius);
}

.bu-btn-red:hover {
    background-color: var(--sf-accent-dark);
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   Footer — dark background, 3 columns
   ═══════════════════════════════════════════════════════════════ */
.sf-footer {
    background-color: var(--sf-footer-bg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.sf-footer-heading {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sf-footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.6;
}

.sf-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sf-footer-links li {
    margin-bottom: 0.5rem;
}

.sf-footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s;
}

.sf-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Copyright bar at very bottom */
.sf-footer-copyright {
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════════
   Flash Messages — style CakePHP flash within storefront
   ═══════════════════════════════════════════════════════════════ */
body.storefront .message {
    border-radius: var(--sf-radius);
}

/* ═══════════════════════════════════════════════════════════════
   Breadcrumbs
   ═══════════════════════════════════════════════════════════════ */
body.storefront .breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}

body.storefront .breadcrumb-item + .breadcrumb-item::before {
    color: var(--sf-muted);
}

/* ═══════════════════════════════════════════════════════════════
   Pagination
   ═══════════════════════════════════════════════════════════════ */
body.storefront .pagination .page-link {
    color: var(--sf-primary);
    border-color: var(--sf-border);
    border-radius: var(--sf-radius);
    font-size: 0.85rem;
}

body.storefront .pagination .page-item.active .page-link {
    background-color: var(--sf-primary);
    border-color: var(--sf-primary);
    color: #ffffff;
}

body.storefront .pagination .page-link:hover {
    background-color: rgba(0, 117, 178, 0.08);
    color: var(--sf-primary-dark);
}

/* ═══════════════════════════════════════════════════════════════
   Modal overrides for storefront
   ═══════════════════════════════════════════════════════════════ */
body.storefront .modal-header {
    border-bottom-color: var(--sf-border);
}

body.storefront .modal-content {
    border-radius: var(--sf-radius);
}

/* ═══════════════════════════════════════════════════════════════
   Responsive adjustments
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .sf-hero-primary,
    .sf-hero-light {
        min-height: auto;
    }

    .sf-hero-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .sf-utility-bar {
        font-size: 0.7rem;
        height: 26px;
    }

    .sf-hero-title {
        font-size: 1.4rem;
    }

    .sf-hero-subtitle {
        font-size: 0.9rem;
    }

    .sf-main-nav .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .sf-search-form .row {
        flex-direction: column !important;
        row-gap: 0.5rem;
    }

    .sf-search-form .col,
    .sf-search-form .col-auto {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .sf-search-form .btn-sf-accent {
        width: 100%;
        border-radius: 10px;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .sf-search-form .form-control,
    .sf-search-form .form-select {
        border-radius: 10px;
    }
}

/* ── Google Sign-In Button ── */
.google-signin-wrap {
    text-align: center;
    margin: 10px 0;
}

.btn-google-signin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 0 12px;
    height: 40px;
    font-family: 'Google Sans', Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.25px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    cursor: pointer;
    white-space: nowrap;
}

.btn-google-signin:hover {
    background: #f7f8f8;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
    text-decoration: none;
    color: #3c4043;
}

.google-signin-divider {
    text-align: center;
    margin: 6px 0;
    color: #666;
    font-size: 13px;
}

/* ── My Dashboard Title Bar (header-level, slim) ── */
.sf-dashboard-titlebar {
    background: #0075B2;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sf-dashboard-titlebar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
}
