/* Savinay UI Refresh v1.1.7
   Clean retail presentation: compact typography, visible navigation,
   refined buttons, stronger carousel legibility, and responsive polish. */

:root {
    --sav-ui-heading: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sav-ui-radius-sm: 10px;
    --sav-ui-radius-md: 14px;
    --sav-ui-radius-lg: 20px;
    --sav-ui-shadow-sm: 0 8px 22px rgba(20, 15, 12, .08);
    --sav-ui-shadow-md: 0 18px 46px rgba(20, 15, 12, .12);
    --sav-ui-ease: cubic-bezier(.2, .7, .2, 1);
}

body {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.display-heading,
.image-stack-badge strong,
.stat-row strong,
.captcha-box strong,
.brand-monogram,
.brand-logo-fallback {
    font-family: var(--sav-ui-heading);
    font-weight: 800;
    letter-spacing: -.035em;
}

h1 { font-size: clamp(2rem, 4vw, 3.65rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }

.section-space { padding: clamp(64px, 7vw, 88px) 0; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2,
.display-heading {
    max-width: 850px;
    font-size: clamp(1.75rem, 3vw, 2.8rem);
    line-height: 1.15;
    text-wrap: balance;
}
.section-heading.text-center h2 { margin-inline: auto; }
.section-heading p { margin-top: .7rem; font-size: .96rem; }

.eyebrow {
    margin-bottom: .75rem;
    font-size: .7rem;
    letter-spacing: .14em;
}

/* Refined buttons: compact, confident, not overly rounded. */
.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .72rem 1.18rem;
    border-radius: var(--sav-ui-radius-sm);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.2;
    transition: transform .2s var(--sav-ui-ease), box-shadow .2s var(--sav-ui-ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-lg { min-height: 48px; padding: .82rem 1.35rem; font-size: .9rem; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sav-ui-shadow-sm); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(143, 29, 44, .2); outline-offset: 3px; }
.btn-luxury { box-shadow: 0 10px 24px rgba(143, 29, 44, .22); }
.btn-luxury:hover,
.btn-luxury:focus { box-shadow: 0 14px 30px rgba(143, 29, 44, .28); }

/* Header and supplied logo. */
.site-header {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 6px 24px rgba(20, 15, 12, .05);
}
.header-main {
    min-height: 78px;
    gap: 1rem;
}
.brand-mark,
.brand-mark-primary {
    display: inline-flex;
    width: min(245px, 25vw);
    min-width: 205px;
    align-items: center;
    flex: 0 0 auto;
}
.brand-mark img,
.brand-mark-primary img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
}
.brand-mark.compact {
    width: 210px;
    min-width: 0;
}
.brand-mark.compact img { width: 100%; height: auto; max-height: 48px; }

.desktop-nav { gap: 1.15rem; }
.desktop-nav > a,
.nav-mega > .nav-mega-trigger {
    position: relative;
    padding: 1.75rem 0;
    font-size: .84rem;
    letter-spacing: .01em;
}
.desktop-nav > a::after,
.nav-mega > .nav-mega-trigger::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--sav-accent);
    transition: transform .2s var(--sav-ui-ease);
}
.desktop-nav > a:hover::after,
.desktop-nav > a:focus-visible::after,
.nav-mega > .nav-mega-trigger:hover::after,
.nav-mega > .nav-mega-trigger:focus-visible::after { transform: scaleX(1); }
.nav-chevron { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-mega:hover .nav-chevron,
.nav-mega:focus-within .nav-chevron { transform: rotate(180deg); }

.header-actions { margin-left: .4rem; }
.header-actions .btn { min-height: 42px; padding-inline: 1.05rem; }
.mobile-menu-toggle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    place-content: center;
    color: #fff;
    background: var(--sav-accent);
    border: 1px solid var(--sav-accent);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(143, 29, 44, .2);
}
.mobile-menu-toggle svg { display: block; width: 24px; height: 24px; }
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible { color: #fff; background: #711521; border-color: #711521; }
.mobile-menu-panel { width: min(92vw, 380px); }
.mobile-menu-panel .offcanvas-header { padding: 1rem 1.15rem; border-bottom: 1px solid var(--sav-border); }
.mobile-menu-panel .offcanvas-body { padding: 1rem 1.15rem 1.5rem; }
.mobile-links a { padding: .88rem 0; font-size: .94rem; }
.mobile-menu-heading {
    margin: 1.45rem 0 .8rem;
    color: var(--sav-muted);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.mobile-segments { grid-template-columns: 1fr; gap: .55rem; }
.mobile-segments a {
    padding: .78rem .9rem;
    border-radius: 10px;
    text-align: left;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.mobile-segments a:hover { color: var(--sav-accent); background: #fff8f8; border-color: rgba(143, 29, 44, .32); }
.mobile-contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1.25rem; }

.mega-panel { border-top: 2px solid var(--sav-accent); }
.mega-brand-name { transition: color .18s ease, transform .18s ease; }
.mega-brand-name:hover { color: var(--sav-accent); transform: translateX(2px); }

/* Carousel: improved readability without hiding the photography. */
.hero-section .carousel-item { height: min(74vh, 760px); min-height: 520px; }
.hero-section .carousel-item img {
    filter: saturate(.92) contrast(1.03);
    transform: scale(1.001);
}
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, calc(var(--overlay) + .16)) 0%, rgba(0, 0, 0, calc(var(--overlay) * .74)) 46%, rgba(0, 0, 0, .12) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .22) 0%, transparent 40%);
}
.hero-copy {
    max-width: 690px;
    padding: 1.1rem 0 1.1rem 1.25rem;
    border-left: 4px solid rgba(255, 255, 255, .9);
}
.hero-copy h1,
.hero-copy .hero-title {
    max-width: 690px;
    margin-bottom: 0;
    font-size: clamp(2.05rem, 4.2vw, 3.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
    color: #fff;
    -webkit-text-stroke: .25px rgba(0, 0, 0, .28);
    text-shadow: 0 3px 18px rgba(0, 0, 0, .72), 0 1px 2px rgba(0, 0, 0, .85);
}
.hero-copy p {
    max-width: 610px;
    margin: 1rem 0 1.45rem;
    color: rgba(255, 255, 255, .96);
    font-size: clamp(.95rem, 1.2vw, 1.1rem);
    font-weight: 600;
    line-height: 1.65;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .72);
}
.hero-copy .eyebrow { text-shadow: 0 2px 8px rgba(0, 0, 0, .65); }
.carousel-control-prev,
.carousel-control-next { width: 8%; opacity: .8; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 42px;
    height: 42px;
    padding: 9px;
    background-size: 55%;
    background-color: rgba(0, 0, 0, .32);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}
.carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 999px; }

/* Cards, tabs and hover refinement. */
.segment-tabs .nav-link {
    min-height: 42px;
    padding: .66rem 1.15rem;
    border-radius: 10px;
    font-size: .82rem;
    transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.segment-tabs .nav-link:hover { transform: translateY(-2px); box-shadow: var(--sav-ui-shadow-sm); }
.brand-card {
    min-height: 145px;
    padding: 1.1rem;
    border-radius: var(--sav-ui-radius-md);
}
.brand-card img { width: 100%; max-width: 150px; max-height: 78px; object-fit: contain; }
.brand-card strong,
.brand-card small { display: none !important; }
.brand-card:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 29, 44, .28);
    box-shadow: 0 16px 34px rgba(25, 17, 11, .09);
}
.brand-card-static:hover { transform: translateY(-3px); border-color: rgba(143, 29, 44, .24); box-shadow: 0 14px 30px rgba(25, 17, 11, .07); }
.stat-row div,
.why-card,
.testimonial-card,
.contact-form-card {
    border-radius: var(--sav-ui-radius-md);
    transition: transform .22s var(--sav-ui-ease), box-shadow .22s var(--sav-ui-ease), border-color .22s ease;
}
.stat-row div:hover,
.why-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sav-ui-shadow-sm);
    border-color: rgba(143, 29, 44, .2);
}

.visit-panel { border-radius: var(--sav-ui-radius-lg); }
.visit-panel h2 { max-width: 720px; font-size: clamp(1.65rem, 2.7vw, 2.55rem); line-height: 1.18; }

@media (max-width: 1199.98px) {
    .brand-mark,
    .brand-mark-primary { width: 220px; min-width: 190px; }
    .desktop-nav { gap: .9rem; }
    .desktop-nav > a,
    .nav-mega > .nav-mega-trigger { font-size: .8rem; }
}

@media (max-width: 991.98px) {
    .header-main { min-height: 72px; }
    .brand-mark,
    .brand-mark-primary { width: min(230px, 56vw); min-width: 0; }
    .brand-mark img,
    .brand-mark-primary img { max-height: 48px; }
    .hero-section .carousel-item { height: 68vh; min-height: 520px; }
    .hero-copy { max-width: 620px; }
}

@media (max-width: 767.98px) {
    body { font-size: 14.5px; }
    .section-space { padding: 58px 0; }
    .section-heading { margin-bottom: 1.6rem; }
    .section-heading h2,
    .display-heading { font-size: clamp(1.55rem, 7vw, 2.1rem); }

    .header-main { min-height: 68px; gap: .7rem; }
    .brand-mark,
    .brand-mark-primary { width: min(205px, 62vw); }
    .brand-mark img,
    .brand-mark-primary img { max-height: 43px; }
    .mobile-menu-toggle { width: 42px; height: 42px; border-radius: 11px; }

    .hero-section .carousel-item { height: 66vh; min-height: 500px; }
    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .5) 70%, rgba(0, 0, 0, .32) 100%),
            linear-gradient(0deg, rgba(0, 0, 0, .28) 0%, transparent 45%);
    }
    .hero-content { align-items: flex-end; padding-bottom: 72px; }
    .hero-copy {
        max-width: 94%;
        padding: .8rem 0 .8rem .9rem;
        border-left-width: 3px;
    }
    .hero-copy h1,
.hero-copy .hero-title {
        font-size: clamp(1.85rem, 9vw, 2.65rem);
        line-height: 1.1;
    }
    .hero-copy p { margin: .75rem 0 1.1rem; font-size: .92rem; line-height: 1.55; }
    .hero-copy .btn { min-height: 42px; padding: .68rem 1rem; }
    .carousel-control-prev,
    .carousel-control-next { display: none; }
    .carousel-indicators { bottom: 18px; }

    .segment-tabs { flex-wrap: nowrap; justify-content: flex-start !important; overflow-x: auto; padding: 0 0 .35rem; scrollbar-width: none; }
    .segment-tabs::-webkit-scrollbar { display: none; }
    .segment-tabs .nav-link { white-space: nowrap; }

    .brand-card { min-height: 122px; padding: .85rem; }
    .brand-card img { max-width: 130px; max-height: 68px; }
    .visit-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
    .brand-mark,
    .brand-mark-primary { width: min(180px, 59vw); }
    .brand-mark img,
    .brand-mark-primary img { max-height: 39px; }
    .mobile-menu-toggle { width: 40px; height: 40px; }
    .mobile-menu-toggle svg { width: 22px; height: 22px; }
    .brand-grid,
    .brand-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .brand-card { min-height: 112px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* v1.1.9 fallback overrides.
   Kept inside the already-loaded v1.1.7 filename so the fixes still work
   even before the Blade layout cache is refreshed. */
@media (max-width: 991.98px) {
    .site-header .container.header-main {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        width: 100% !important;
        max-width: none !important;
        align-items: center !important;
        gap: 12px !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .site-header .brand-mark-primary {
        width: min(245px, calc(100vw - 92px)) !important;
        max-width: calc(100vw - 92px) !important;
        min-width: 0 !important;
        justify-self: start !important;
    }

    .site-header .header-actions {
        display: flex !important;
        width: auto !important;
        margin: 0 !important;
        justify-self: end !important;
    }

    .site-header .mobile-menu-toggle {
        display: grid !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        justify-self: end !important;
        flex: none !important;
    }
}

.image-stack-badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    padding: 16px !important;
}
.image-stack-badge strong {
    display: block !important;
    margin: 0 !important;
    font-family: var(--sav-ui-heading) !important;
    font-weight: 800 !important;
    line-height: .95 !important;
    white-space: nowrap !important;
}
.image-stack-badge span {
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    margin: 10px 0 0 !important;
    font-family: var(--sav-ui-heading) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .035em !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.page-hero.compact-hero {
    min-height: 310px !important;
    padding: 64px 0 !important;
    align-items: center !important;
}
.page-hero.compact-hero h1 {
    max-width: 760px !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--sav-ui-heading) !important;
    font-size: clamp(2rem, 4.2vw, 3.55rem) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
    text-wrap: balance !important;
    -webkit-text-stroke: .2px rgba(0, 0, 0, .22) !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .76) !important;
}
.page-hero.compact-hero p {
    max-width: 680px !important;
    margin-top: 14px !important;
    font-size: 1rem !important;
    font-weight: 550 !important;
    line-height: 1.6 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45) !important;
}

@media (max-width: 767.98px) {
    .site-header .container.header-main {
        min-height: 72px !important;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .site-header .brand-mark-primary {
        width: min(225px, calc(100vw - 82px)) !important;
        max-width: calc(100vw - 82px) !important;
    }

    .site-header .brand-mark-primary img {
        max-height: 46px !important;
    }

    .site-header .mobile-menu-toggle {
        width: 42px !important;
        height: 42px !important;
    }

    .image-stack-badge {
        width: 148px !important;
        height: 148px !important;
        padding: 14px !important;
        border-width: 7px !important;
    }

    .image-stack-badge strong {
        font-size: 2.25rem !important;
    }

    .image-stack-badge span {
        margin-top: 9px !important;
        font-size: 9px !important;
        letter-spacing: .025em !important;
    }

    .page-hero.compact-hero {
        min-height: 260px !important;
        padding: 48px 0 !important;
    }

    .page-hero.compact-hero h1 {
        max-width: 100% !important;
        font-size: clamp(1.85rem, 8vw, 2.45rem) !important;
        line-height: 1.1 !important;
    }

    .page-hero.compact-hero p {
        margin-top: 12px !important;
        font-size: .92rem !important;
        line-height: 1.55 !important;
    }
}

@media (max-width: 359.98px) {
    .site-header .container.header-main {
        padding-right: 10px !important;
        padding-left: 10px !important;
        gap: 8px !important;
    }

    .site-header .brand-mark-primary {
        width: min(215px, calc(100vw - 70px)) !important;
        max-width: calc(100vw - 70px) !important;
    }

    .site-header .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        border-radius: 11px !important;
    }

    .image-stack-badge {
        width: 142px !important;
        height: 142px !important;
    }

    .image-stack-badge span {
        font-size: 8.6px !important;
    }

    .page-hero.compact-hero h1 {
        font-size: 1.82rem !important;
    }
}

/* ================================================================
   Savinay targeted UI correction v1.2.0
   1. Main page heading typography
   2. Home-page 43+ Fashion Brands badge label
   3. Mobile/tablet menu button aligned to the far-right
   ================================================================ */

/* Main page headings: smooth Manrope, moderately bold, compact spacing. */
h1,
.display-heading,
.page-hero h1 {
    font-family: var(--sav-ui-heading) !important;
    font-weight: 600 !important;
    letter-spacing: -.005em !important;
}

/* Home-page badge label: keep “FASHION BRANDS” clear and controlled. */
.image-stack-badge span {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    margin-top: .5rem !important;
    font-family: var(--sav-ui-heading) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: .06em !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

/* Mobile and tablet navbar: logo on the left, menu icon at far-right. */
@media (max-width: 991.98px) {
    .site-header .container.header-main {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .site-header .brand-mark-primary {
        width: min(225px, calc(100% - 58px)) !important;
        max-width: calc(100% - 58px) !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
        margin-right: 0 !important;
    }

    .site-header .header-actions {
        display: flex !important;
        width: auto !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        margin-right: 0 !important;
        margin-left: auto !important;
    }

    .site-header .mobile-menu-toggle {
        display: grid !important;
        position: relative !important;
        right: auto !important;
        left: auto !important;
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        margin: 0 0 0 auto !important;
        place-content: center !important;
    }
}

@media (max-width: 359.98px) {
    .site-header .container.header-main {
        gap: 8px !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .site-header .brand-mark-primary {
        width: min(212px, calc(100% - 50px)) !important;
        max-width: calc(100% - 50px) !important;
    }

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

    .image-stack-badge span {
        font-size: 8.5px !important;
        letter-spacing: .045em !important;
    }
}
