/* Consistent rounded rectangles for homepage CTAs */
:root {
    --cta-radius: 12px;
    --cta-line-height: 1.15;
    --cta-weight: 600;
    --cta-min-height: 42px;
}
body :is(
    button:not(.hero-slider-dot):not(.tp-modal__close):not(.tp-step):not(.tp-reviewline):not(.toggle-password),
    input[type="submit"],
    input[type="button"],
    .sc_button,
    .theme_button,
    .hero-slide-btn,
    .whats-fresh-cta,
    .top_panel_login_button_simple,
    .view-cart-button,
    .checkout-button
) {
    border-radius: var(--cta-radius);
    line-height: var(--cta-line-height);
    font-weight: var(--cta-weight);
    font-size: clamp(0.95rem, 0.92rem + 0.12vw, 1rem);
    padding: 0.68em 1.8em;
    min-height: var(--cta-min-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35em;
    white-space: normal;
    vertical-align: middle;
}
body :is(.hero-slide-btn, .sc_button_size_large, .whats-fresh-cta) {
    font-size: clamp(1.05rem, 1rem + 0.25vw, 1.3rem);
    padding: 0.9em 2.6em;
    min-height: 54px;
    font-weight: 700;
}
body :is(.sc_button_size_small, .theme_button, .top_panel_login_button_simple, .years-nav-btn) {
    font-size: clamp(0.85rem, 0.82rem + 0.1vw, 0.95rem);
    padding: 0.45em 1.4em;
    min-height: 34px;
}

/* Icon-only buttons, header login, and year tabs alignment */
.tp-quickadd-inline {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    border-radius: var(--cta-radius, 12px) !important;
}
.tp-quickadd-inline .contact_icon {
    width: 100% !important;
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    border-radius: inherit !important;
}
.top_panel_login_button_simple {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0.4em 1.5em !important;
    line-height: 1.15 !important;
    border-radius: var(--cta-radius, 12px) !important;
}
#sc_tabs_583 .sc_tabs_titles .theme_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0.32em 1.05em !important;
    line-height: 1.05 !important;
    border-radius: var(--cta-radius, 12px) !important;
}

/* Year bar styling (replicated from about-2.html) */
#sc_tabs_583 { position: relative; }
#sc_tabs_583 .years-bar { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:10px; }
#sc_tabs_583 .years-nav-btn { background:transparent; border:none; color:#333; font-size:22px; line-height:1; padding:6px 10px; cursor:pointer; }
#sc_tabs_583 .years-nav-btn.disabled,#sc_tabs_583 .years-nav-btn[disabled]{opacity:.35; cursor:default; }
#sc_tabs_583 .sc_tabs_titles.years-list { flex:1 1 auto; display:flex; justify-content:center; align-items:center; gap:8px; overflow:visible; padding:0 20px; margin:0; list-style:none; }
#sc_tabs_583 .sc_tabs_titles.years-list li.sc_tabs_title { display:none; }
@media (max-width:600px){
    #sc_tabs_583 .years-nav-btn { font-size:18px; padding:6px 8px; }
    #sc_tabs_583 .sc_tabs_titles.years-list { gap:6px; padding:0 14px; }
}

/* Hero slider: horizontal translateX sliding, left-aligned content card */
.hero-slider {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    background-color: #111;
}
.hero-slider-track {
    position: relative;
    width: 100%;
    min-height: inherit;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    min-height: inherit;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-70px);
    transition: none;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 3;
}
/* Ken Burns zoom effect on background */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-slide.is-entering {
    animation: heroSlideEnterRight 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide.is-leaving {
    animation: heroSlideExitRight 1s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}
@keyframes heroSlideEnterRight {
    0% { opacity: 0; transform: translateX(-90px); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideExitRight {
    0% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(110px); }
}
.hero-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 90px 60px;
    padding-left: clamp(30px, 9vw, 200px);
    display: flex;
    justify-content: flex-start;
}
.hero-slide-content {
    width: clamp(480px, 58vw, 980px);
    min-height: clamp(280px, 36vh, 440px);
    padding: clamp(44px, 6vw, 92px);
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide-content > * {
    position: relative;
    z-index: 1;
}
.hero-slide.active .hero-slide-content {
    opacity: 1;
    transform: translateX(0);
}
.hero-slide-content .hero-slide-title,
.hero-slide-content .accent-line,
.hero-slide-content .hero-slide-subtitle,
.hero-slide-content .hero-slide-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide.active .hero-slide-content .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}
.hero-slide.active .hero-slide-content .accent-line {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.49s;
}
.hero-slide.active .hero-slide-content .hero-slide-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.63s;
}
.hero-slide.active .hero-slide-content .hero-slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.77s;
}
.hero-slide-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(46px, 6.2vw, 72px);
    line-height: 1.04;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    color: #FFFFFF !important;
    text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.hero-slide-content .accent-line {
    height: 5px;
    width: 120px;
    background: #FEC321;
    margin: 12px 0 16px;
    border-radius: 999px;
}
.hero-slide-subtitle {
    font-size: clamp(15px, 1.4vw, 18px);
    margin: 0 0 24px;
    opacity: 0.95;
    letter-spacing: 0.04em;
    line-height: 1.7;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.94);
}
.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}
.hero-slide-btn.sc_button.sc_button_style_filled {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 16px;
    padding: 18px 48px;
    border-radius: 999px;
    background: linear-gradient(150deg, #040f24 0%, #0f2f55 75%);
    color: #f5f7ff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 48px rgba(4, 15, 36, 0.58), 0 8px 22px rgba(0, 0, 0, 0.38);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.hero-slide-btn.sc_button.sc_button_style_filled:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(150deg, #071a35 0%, #173f74 80%);
    box-shadow: 0 24px 58px rgba(4, 15, 36, 0.62), 0 10px 26px rgba(0, 0, 0, 0.38);
    border-color: rgba(254, 195, 33, 0.75);
}

/* Slider dots - small and minimal */
.hero-slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.15);
}
.hero-slider-dot.is-active {
    width: 24px;
    background: rgba(254, 195, 33, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 12px rgba(254, 195, 33, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide-content,
    .hero-slide-content .hero-slide-title,
    .hero-slide-content .accent-line,
    .hero-slide-content .hero-slide-subtitle,
    .hero-slide-content .hero-slide-actions {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 1024px) {
    .hero-slide {
        min-height: 650px;
    }
    .hero-slide-inner {
        padding: 70px 40px;
        padding-left: 60px;
    }
    .hero-slide-content {
        width: min(100%, 600px);
        padding: 48px 40px;
    }
    .hero-slide-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 550px;
    }
    .hero-slide::before {
        background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
    }
    .hero-slide-inner {
        justify-content: center;
        text-align: center;
        padding: 48px 24px;
    }
    .hero-slide-content {
        width: 100%;
        padding: 32px 28px;
    }
    .hero-slide-content .accent-line {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slide-actions {
        justify-content: center;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        min-height: 340px;
    }
    .hero-slide-inner {
        padding: 28px 16px;
    }
    .hero-slide-content {
        padding: 24px 20px;
    }
    .hero-slide-title {
        font-size: 26px;
    }
    .hero-slide-subtitle {
        font-size: 15px;
    }
}

/* Home3 Lionsgate-style overlay hero layout (index only) */

/* 1) Header/menu overlays hero on home3 */
body.home3 .body_wrap,
body.home3 .page_wrap {
    position: relative;
}

body.home3 .top_panel_wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    pointer-events: auto;
}

body.home3 .top_panel_wrap_inner,
body.home3 .top_panel_middle,
body.home3 .top_panel_bottom,
body.home3 .menu_main_nav_area {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Do not reserve fixed-header spacer on this layout */
body.home3 .top_panel_fixed_wrap {
    display: none !important;
}

/* Ensure page content is not pushed down by header on home3 */
body.home3 .page_wrap,
body.home3 .page_content_wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 2) Full-height hero behind overlay header */
body.home3 .hero-slider {
    position: relative;
    min-height: 85vh;
    margin: 0;
}

body.home3 .hero-slider-track,
body.home3 .hero-slide {
    min-height: 100vh;
}

@media (max-width: 768px) {
    body.home3 .hero-slider,
    body.home3 .hero-slider-track,
    body.home3 .hero-slide {
        min-height: 70vh;
    }
}

/* Remove previous side gradient overlay from slide; use top gradient instead */
body.home3 .hero-slide::before {
    background: none !important;
}

/* Single subtle top gradient overlay for readability (behind header only) */
body.home3 .hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.48) 0px,
        rgba(0, 0, 0, 0.28) 120px,
        rgba(0, 0, 0, 0.0) 200px
    );
    pointer-events: none;
    z-index: 1;
}

/* Keep hero slide content above gradient */
body.home3 .hero-slide-inner,
body.home3 .hero-slide-content {
    position: relative;
    z-index: 2;
    height: 40vh;
}

/* 3) Padding so hero text clears overlay header */
body.home3 .hero-slide-inner {
    padding-top: 170px;
}

@media (max-width: 768px) {
    body.home3 .hero-slide-inner {
        padding-top: 130px;
    }
}

/* 4) Header overlay container + grid alignment (home3 only) */
body.home3 .top_panel_wrap_inner {
    padding-top: 0;
    padding-bottom: 8px;
}

body.home3 .top_panel_middle .content_wrap,
body.home3 .top_panel_bottom .content_wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px 8px;
}

@media (min-width: 769px) {
    /* Three-column grid: [spacer] [brand] [actions] */
    body.home3 .top_panel_middle .columns_wrap {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 10px;
    }

    body.home3 .top_panel_middle .columns_wrap::before {
        content: "";
        display: block;
    }

    body.home3 .top_panel_middle .contact_logo,
    body.home3 .top_panel_middle .contact_field.contact_cart {
        float: none;
    }

    /* Center brand (logo + site name) */
    body.home3 .top_panel_middle .contact_logo {
        justify-self: center;
        text-align: center;
    }

    /* Right-align actions (cart + login) */
    body.home3 .top_panel_middle .contact_field.contact_cart {
        justify-self: end;
    }
}

/* Nav row below brand: menu_main centered */
body.home3 .top_panel_bottom .content_wrap.home3-nav-row {
    padding: 0;
}

body.home3 .home3-nav-row-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 10px 24px;
    gap: 18px;
}

body.home3 .home3-nav-row-inner nav.menu_main_nav_area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
}

body.home3 .home3-nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

body.home3 .home3-nav-actions .header_actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

body.home3 .home3-nav-actions .widget_area {
    margin: 0;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
}

body.home3 .home3-nav-row a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

body.home3 .menu_main_nav_area .menu_main_nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    body.home3 .menu_main_nav_area .menu_main_nav {
        gap: 26px;
    }
}

@media (max-width: 768px) {
    body.home3 .home3-nav-row-inner {
        padding: 10px 16px;
    }
    body.home3 .menu_main_nav_area .menu_main_nav {
        gap: 18px;
    }
}

body.home3 .top_panel_cart_button_simple .contact_icon {
    width: 20px;
    height: 20px;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 5) White branding, menu, and header actions on home3 */
body.home3 .top_panel_wrap .logo-text-box,
body.home3 .top_panel_wrap .logo-text-box span {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.home3 .menu_main_nav > li > a span {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.home3 .menu_main_nav > li > a:hover span,
body.home3 .menu_main_nav > li.current-menu-item > a span,
body.home3 .menu_main_nav > li.current-menu-ancestor > a span {
    color: #fec321 !important;
}

/* Login link + cart icon in white with subtle shadow */
body.home3 .top_panel_login_button_simple,
body.home3 .top_panel_cart_button_simple {
    color: #ffffff !important;
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.home3 .top_panel_cart_button_simple .contact_icon:before {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
