/* =========================================================
   RAJAN OVERSEAS — RESPONSIVE SYSTEM
   One mobile/tablet stylesheet for touch browsers,
   Android Chrome, iOS Safari and tablets.
   ========================================================= */

:root {
    --mobile-header: 78px;
}

/* Large desktop / laptop */
@media (max-width: 1400px) {
    :root { --header-height: 88px; }

    .container {
        width: min(1180px, calc(100% - 48px));
    }

    .navbar {
        grid-template-columns: minmax(320px, 1fr) auto minmax(190px, 1fr);
        column-gap: 22px;
    }

    nav ul { gap: 30px; }
    .logo-text h2 { font-size: 24px; }
}

/* Laptop */
@media (max-width: 1200px) {
    .container {
        width: min(1100px, calc(100% - 40px));
    }

    .about-grid,
    .manufacturing-grid,
    .global-grid,
    .contact-grid,
    .factory-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content,
    .manufacturing-content {
        padding-right: 0;
    }

    .collection-grid,
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .header .container {
        width: min(1140px, calc(100% - 32px));
    }
}

/* =========================================================
   TABLET + TOUCH
   ========================================================= */
@media (max-width: 992px) {
    :root {
        --header-height: 78px;
    }

    html {
        scroll-padding-top: calc(var(--header-height) + 14px);
    }

    body {
        padding: 0;
    }

    .site-wrapper {
        border-width: 4px;
        border-radius: 0;
        padding-top: var(--header-height);
        min-height: 100vh;
    }

    /* Fixed header: no gap at the top. */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 4px !important;
        right: 4px !important;
        width: auto !important;
        height: var(--header-height) !important;
        min-height: var(--header-height) !important;
        max-height: var(--header-height) !important;
        border-top: 4px solid var(--site-border, #a0c1e2) !important;
        border-radius: 0 0 14px 14px;
    }

    .header .container {
        width: calc(100% - 24px) !important;
        max-width: none !important;
        height: 100%;
    }

    .navbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        height: 100% !important;
        min-height: 0 !important;
    }

    .logo {
        gap: 8px !important;
        min-width: 0;
        max-width: calc(100% - 54px);
    }

    .site-logo {
        width: 64px !important;
        height: 54px !important;
        max-width: 64px !important;
        max-height: 54px !important;
        flex: 0 0 64px !important;
    }

    .logo-text {
        min-width: 0 !important;
        overflow: hidden;
    }

    .logo-text h2 {
        font-size: clamp(17px, 2.5vw, 22px) !important;
        letter-spacing: .07em !important;
        white-space: nowrap;
    }

    .logo-text p {
        font-size: 8px !important;
        letter-spacing: .22em !important;
        white-space: nowrap;
    }

    /* Mobile menu is injected by main.js. */
    .mobile-menu-toggle {
        display: inline-flex !important;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        border: 1px solid #d9e3eb;
        border-radius: 50%;
        background: #fff;
        color: var(--navy);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        margin: 3px 0;
        background: currentColor;
        border-radius: 2px;
        transition: transform .2s ease, opacity .2s ease;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    nav {
        display: none !important;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px;
        background: rgba(255,255,255,.98);
        border: 1px solid #e4ebf1;
        border-radius: 16px;
        box-shadow: 0 18px 45px rgba(27,54,93,.14);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    nav.mobile-open {
        display: block !important;
    }

    nav ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 3px !important;
        margin: 0;
    }

    nav a {
        display: block !important;
        padding: 13px 14px !important;
        border-radius: 10px;
        text-align: left;
        font-size: 12px !important;
        letter-spacing: .16em !important;
    }

    nav a:hover,
    nav a.active {
        background: #eef4f8;
    }

    /* Hide desktop CTA; mobile users get it in the menu via Contact. */
    .header-buttons {
        display: none !important;
    }

    .container {
        width: calc(100% - 28px);
        max-width: 100%;
    }

    /* Internal-page hero */
    .page-hero {
        height: 480px;
        min-height: 0;
    }

    .page-hero .hero-image img {
        object-position: center;
    }

    .page-hero-content {
        width: calc(100% - 28px);
    }

    /* Homepage hero */
    .hero {
        min-height: 0;
        height: auto;
        padding: 28px 0 42px;
    }

    .hero-image {
        position: relative;
        height: clamp(330px, 55vw, 520px);
        border-radius: 18px;
        overflow: hidden;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-card {
        width: calc(100% - 28px);
        max-width: 680px;
        margin: -42px auto 0;
        padding: 38px 32px;
        border-radius: 20px;
    }

    .hero-card h1 {
        font-size: clamp(40px, 6vw, 54px);
    }

    /* Sections */
    .about,
    .collections,
    .why-us,
    .manufacturing,
    .global,
    .lookbook,
    .newsletter,
    .cta,
    .testimonial,
    .why-collections,
    .download-catalogue,
    .catalog,
    .contact-cards,
    .contact-intro,
    .contact-section,
    .visit-factory,
    .certifications-strip,
    .faq-section,
    .contact-cta {
        padding: 82px 0;
    }

    .about-image img,
    .manufacturing-image img {
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .collection-card img {
        height: 340px;
    }

    .contact-card {
        min-width: 0;
    }

    .cards-grid,
    .certification-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid,
    .factory-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-group.full {
        grid-column: 1 / -1;
    }

    .catalogue-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 42px 34px;
    }

    .newsletter-form {
        flex-direction: row;
    }

    .newsletter-form input {
        min-width: 0;
    }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Touch-friendly controls */
    .btn-primary,
    .btn-outline,
    .filter-btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Don't run the desktop parallax effect on touch-sized layouts. */
    .hero-image img {
        transform: none !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .site-wrapper {
        border-width: 3px;
        padding-top: var(--header-height);
    }

    .header {
        left: 3px !important;
        right: 3px !important;
        height: var(--header-height) !important;
        min-height: var(--header-height) !important;
        max-height: var(--header-height) !important;
        border-top-width: 3px !important;
        border-radius: 0 0 12px 12px;
    }

    .header .container {
        width: calc(100% - 16px) !important;
    }

    .site-logo {
        width: 55px !important;
        height: 47px !important;
        max-width: 55px !important;
        max-height: 47px !important;
        flex-basis: 55px !important;
    }

    .logo {
        gap: 6px !important;
    }

    .logo-text h2 {
        font-size: 16px !important;
        letter-spacing: .055em !important;
    }

    .logo-text p {
        margin-top: 4px !important;
        font-size: 7px !important;
        letter-spacing: .17em !important;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .page-hero {
        height: 390px;
    }

    .page-hero .hero-image img {
        object-position: 42% center;
    }

    .hero {
        padding: 18px 0 30px;
    }

    .hero-image {
        height: clamp(260px, 72vw, 390px);
        border-radius: 14px;
    }

    .hero-card {
        width: calc(100% - 16px);
        margin-top: -28px;
        padding: 28px 22px;
        border-radius: 16px;
    }

    .hero-card h1 {
        font-size: clamp(34px, 9vw, 42px);
    }

    .hero-card p {
        font-size: 14px;
        line-height: 1.65;
    }

    h1 { font-size: 42px; }
    h2 { font-size: 36px; }
    h3 { font-size: 25px; }
    p { font-size: 15px; }

    .about,
    .collections,
    .why-us,
    .manufacturing,
    .global,
    .lookbook,
    .newsletter,
    .cta,
    .testimonial,
    .why-collections,
    .download-catalogue,
    .catalog,
    .contact-cards,
    .contact-intro,
    .contact-section,
    .visit-factory,
    .certifications-strip,
    .faq-section,
    .contact-cta {
        padding: 64px 0;
    }

    .collection-grid,
    .featured-grid,
    .product-grid,
    .features-grid,
    .why-grid,
    .cards-grid,
    .certification-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .collection-card img {
        height: 280px;
    }

    .featured-card {
        aspect-ratio: 1.15 / 1;
    }

    .product-card .product-image {
        aspect-ratio: 1 / .92;
    }

    .product-card .product-info {
        padding: 18px;
    }

    .product-card h3 {
        font-size: 24px;
    }

    .filters-wrapper {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 4px 2px 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .filters-wrapper::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
        padding: 12px 18px;
    }

    .search-section {
        padding: 12px 0 34px;
    }

    .search-box {
        min-height: 50px;
        padding: 0 15px;
    }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 28px;
    }

    .catalogue-card,
    .enquiry-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group.full {
        grid-column: auto;
    }

    .cta-box {
        padding: 52px 24px;
        border-radius: 20px;
    }

    .cta-box h2 {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons a {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .footer {
        padding: 64px 0 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        right: 16px;
        bottom: 16px;
    }

    .testimonials-banner {
        padding: 58px 0 64px;
    }

    .testimonials-heading h2 {
        font-size: 36px;
    }

    .testimonial-item {
        flex-basis: 84vw;
        min-height: 180px;
        padding: 24px 20px;
    }

    .testimonial-item p {
        font-size: 21px;
    }
}

/* Small phones */
@media (max-width: 420px) {
    .site-logo {
        width: 50px !important;
        height: 44px !important;
        max-width: 50px !important;
        max-height: 44px !important;
        flex-basis: 50px !important;
    }

    .logo-text h2 {
        font-size: 14px !important;
    }

    .logo-text p {
        font-size: 6px !important;
        letter-spacing: .13em !important;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .page-hero {
        height: 350px;
    }

    .hero-image {
        min-height: 240px;
    }

    .hero-card {
        padding: 24px 18px;
    }

    .hero-card h1 {
        font-size: 31px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        padding: 14px 18px;
    }
}

/* Reduce motion for users who request it. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   FINAL MOBILE NAVIGATION
   Static hamburger button + closed-by-default menu.
   ========================================================= */
.mobile-menu-toggle {
    display: none;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
}

@media (max-width: 992px) {
    .header .navbar {
        position: relative !important;
    }

    .header .mobile-menu-toggle {
        display: inline-flex !important;
        position: relative !important;
        z-index: 10003 !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        border: 1px solid #d5e0e9 !important;
        border-radius: 50% !important;
        background: #fff !important;
        color: #17395f !important;
        cursor: pointer !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .header .mobile-menu-toggle span {
        display: block !important;
        width: 18px !important;
        height: 2px !important;
        margin: 2.5px 0 !important;
        background: currentColor !important;
        border-radius: 2px !important;
        transition: transform .22s ease, opacity .22s ease !important;
    }

    .header nav {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 10002 !important;
    }

    .header nav.mobile-open {
        display: block !important;
    }

    .header nav ul {
        display: flex !important;
        flex-direction: column !important;
    }

    .header .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(5px) rotate(45deg) !important;
    }

    .header .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0 !important;
    }

    .header .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg) !important;
    }
}

@media (min-width: 993px) {
    .header .mobile-menu-toggle {
        display: none !important;
    }

    .header nav {
        display: flex !important;
        position: static !important;
    }
}\n\n/* FINAL MOBILE HEADER FIT - KEEP BURGER INSIDE VIEWPORT */
@media (max-width: 992px) {
    .header {
        left: 4px !important;
        right: 4px !important;
        width: calc(100% - 8px) !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .header .container {
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .header .navbar {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .header .logo {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 52px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        overflow: hidden !important;
    }

    .header .site-logo {
        flex: 0 0 58px !important;
        width: 58px !important;
        height: 52px !important;
        max-width: 58px !important;
        max-height: 52px !important;
    }

    .header .logo-text {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .header .logo-text h2 {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: clamp(15px, 4.4vw, 20px) !important;
        letter-spacing: .05em !important;
    }

    .header .logo-text p {
        font-size: 7px !important;
        letter-spacing: .18em !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .header .mobile-menu-toggle {
        position: relative !important;
        inset: auto !important;
        flex: 0 0 42px !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .header .header-buttons {
        display: none !important;
    }

    .header nav {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 420px) {
    .header .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .header .site-logo {
        flex-basis: 50px !important;
        width: 50px !important;
        max-width: 50px !important;
        height: 46px !important;
        max-height: 46px !important;
    }

    .header .mobile-menu-toggle {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
    }
}



/* FINAL MOBILE BURGER - ABSOLUTE VIEWPORT-SAFE */
@media screen and (max-width: 992px) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 5px !important;
        right: 5px !important;
        width: auto !important;
        overflow: visible !important;
        z-index: 10000 !important;
    }

    .header .container {
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .header .navbar {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .header .logo {
        display: flex !important;
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 58px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        overflow: hidden !important;
    }

    .header .header-buttons {
        display: none !important;
    }

    /* Always-visible hamburger button on phones/tablets */
    .header .mobile-menu-toggle {
        display: flex !important;
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        inset-inline-start: auto !important;
        inset-inline-end: 8px !important;
        z-index: 10020 !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        flex: 0 0 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #cbd9e5 !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        color: #17395f !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-sizing: border-box !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        cursor: pointer !important;
    }

    .header .mobile-menu-toggle span {
        display: block !important;
        position: relative !important;
        width: 18px !important;
        height: 2px !important;
        margin: 2.5px 0 !important;
        padding: 0 !important;
        background: #17395f !important;
        border-radius: 2px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .header .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(5px) rotate(45deg) !important;
    }
    .header .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0 !important;
    }
    .header .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg) !important;
    }

    .header nav {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 6px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        z-index: 10010 !important;
        background: rgba(255,255,255,.98) !important;
        border: 1px solid #e4ebf1 !important;
        border-radius: 14px !important;
        box-shadow: 0 18px 45px rgba(27,54,93,.14) !important;
    }

    .header nav.mobile-open {
        display: block !important;
    }

    .header nav ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header nav li {
        width: 100% !important;
    }

    .header nav a {
        display: block !important;
        width: 100% !important;
        padding: 15px 12px !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }
}

@media screen and (max-width: 420px) {
    .header .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .header .mobile-menu-toggle {
        right: 6px !important;
        inset-inline-end: 6px !important;
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }
}

@media screen and (min-width: 993px) {
    .header .mobile-menu-toggle {
        display: none !important;
    }
}


/* =========================================================
   FINAL MOBILE HEADER - CTA HIDDEN, BURGER KEPT VISIBLE
   Collections has a direct .btn-primary; other pages use
   .header-buttons. Hide both on mobile so the logo never
   competes with the hamburger.
   ========================================================= */
@media (max-width: 992px) {
    .header .header-buttons,
    .header .navbar > .btn-primary {
        display: none !important;
    }

    .header .navbar {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        column-gap: 10px !important;
    }

    .header .logo {
        min-width: 0 !important;
        max-width: calc(100% - 52px) !important;
        overflow: hidden !important;
    }

    .header .logo-text {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .header .logo-text h2,
    .header .logo-text p {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .header .mobile-menu-toggle {
        display: inline-flex !important;
        position: relative !important;
        flex: 0 0 42px !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 10003 !important;
    }
}

@media (max-width: 420px) {
    .header .navbar {
        column-gap: 8px !important;
    }

    .header .mobile-menu-toggle {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    .header .logo-text h2 {
        font-size: 15px !important;
    }
}

@media (min-width: 993px) {
    .header .header-buttons,
    .header .navbar > .btn-primary {
        display: flex !important;
    }
}

/* =========================================================
   TOP SOCIAL BAR — responsive override
   ========================================================= */
@media (min-width: 993px) {
    :root { --header-height: 122px; }

    .site-wrapper {
        padding-top: var(--header-height);
    }

    .header {
        height: var(--header-height) !important;
        min-height: var(--header-height) !important;
        max-height: var(--header-height) !important;
    }

    .header .container {
        height: calc(100% - 30px) !important;
    }

    .header .navbar {
        height: 100% !important;
    }
}

@media (max-width: 992px) {
    .header-socialbar {
        display: none;
    }
}
