/**
 * Header Redesign Styles
 * Laluce - modern responsive header
 */

/* ==========================================================================
   Base & Resets for Header
   ========================================================================== */
.site-header-redesign {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    z-index: 999;
    font-family: 'Stolzl', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;

    padding: 0 !important;
    gap: 0 !important;
}

#masthead.site-header-redesign {
    gap: 0 !important;
}

.site-header-redesign * {
    box-sizing: border-box;
}

/* Transparent Header Variant */
.site-header-redesign--transparent {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent !important;
}

/* Sticky Header Variant (Product Category Archive & Shop) */
:root {
    --header-topbar-height: 34px;
    --header-main-height: 100px;
    --header-hide-offset: 134px;
}

@media screen and (max-width: 1024px) {
    :root {
        --header-topbar-height: 0px;
        --header-main-height: 68px;
        --header-hide-offset: 68px;
    }
}

#masthead.site-header-redesign--sticky,
.site-header-redesign--sticky,
.tax-product_cat #masthead,
.post-type-archive-product #masthead,
.woocommerce.archive #masthead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 51, 59, 0.08);
    gap: 0 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform;
}

/* Scroll DOWN: Hide topbar and main bar, keep ONLY secondary row sticky */
#masthead.site-header-redesign--sticky.sticky-scroll-down,
.site-header-redesign--sticky.sticky-scroll-down,
.tax-product_cat #masthead.sticky-scroll-down,
.post-type-archive-product #masthead.sticky-scroll-down,
.woocommerce.archive #masthead.sticky-scroll-down {
    transform: translateY(calc(-1 * var(--header-hide-offset, 134px)));
}

/* Scroll UP: Show main bar as well above secondary row (keep topbar hidden on desktop) */
#masthead.site-header-redesign--sticky.sticky-scroll-up,
.site-header-redesign--sticky.sticky-scroll-up,
.tax-product_cat #masthead.sticky-scroll-up,
.post-type-archive-product #masthead.sticky-scroll-up,
.woocommerce.archive #masthead.sticky-scroll-up {
    transform: translateY(calc(-1 * var(--header-topbar-height, 34px)));
}

#masthead.site-header-redesign--sticky .header-category-menu,
.site-header-redesign--sticky .header-category-menu,
.tax-product_cat .header-category-menu,
.post-type-archive-product .header-category-menu,
.woocommerce.archive .header-category-menu {
    min-height: 70px !important;
}

.admin-bar.tax-product_cat .site-header-redesign,
.admin-bar.post-type-archive-product .site-header-redesign,
.admin-bar.woocommerce.archive .site-header-redesign,
.admin-bar .site-header-redesign--sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {

    .admin-bar.tax-product_cat .site-header-redesign,
    .admin-bar.post-type-archive-product .site-header-redesign,
    .admin-bar.woocommerce.archive .site-header-redesign,
    .admin-bar .site-header-redesign--sticky {
        top: 46px;
    }
}

/* ==========================================================================
   1. Topbar (Desktop Only)
   ========================================================================== */
.header-topbar-desktop {
    background-color: #e65306;
    width: 100%;
    max-height: 40px;
    height: 34px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.header-topbar-desktop .topbar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2em;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-topbar-desktop .topbar-container.topbar-right-only {
    justify-content: flex-end;
}

/* Notice on the left */
.topbar-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff7ed;
    font-family: 'Stolzl', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 2.42px;
    text-transform: uppercase;
    white-space: nowrap;
}

.topbar-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.topbar-notice-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.topbar-notice-text {
    letter-spacing: 2.42px;
}

/* "Від творців" and Brand Logos on the right */
.topbar-creators {
    display: flex;
    align-items: center;
    gap: 28px;
}

.topbar-creators-label {
    color: #ffffff;
    font-family: 'Stolzl', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.topbar-creators-label span.bold {
    font-weight: 400;
}

.topbar-creators-label img {
    height: 11px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.topbar-creators-logos {
    display: flex;
    align-items: center;
    gap: 28px;
}

.topbar-brand-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.topbar-brand-item:hover {
    opacity: 0.8;
}

.topbar-brand-item img,
.topbar-brand-item svg {
    display: block;
    height: auto;
    max-height: 18px;
    width: auto;
}

/* Specific default brand sizes in topbar */
.brand-80ka svg,
.brand-80ka img {
    height: 18px;
    width: 31px;
}

.brand-zwin svg,
.brand-zwin img {
    height: 12px;
    width: 56px;
}

.brand-daily-dose svg,
.brand-daily-dose img {
    height: 20px;
    width: 20px;
}

.brand-laluce svg,
.brand-laluce img {
    height: 15px;
    width: 64px;
}

/* ==========================================================================
   2. Main Header Bar
   ========================================================================== */
.header-main-bar {
    width: 100%;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
}

.header-main-bar .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2em;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.header-redesign-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 2;
}

.header-redesign-logo img,
.header-redesign-logo svg {
    display: block;
    width: 110px;
    height: 44px;
    object-fit: contain;
}

/* Main Navigation Menu (Desktop) */
.header-redesign-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.header-redesign-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-redesign-menu>li {
    position: relative;
    display: flex;
    align-items: center;
}

.header-redesign-menu>li>a {
    font-family: 'Stolzl', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #00333b;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.header-redesign-menu>li>a:hover {
    color: #e65306;
}

/* Active Menu Item with Orange Rhombus/Dot Indicator */
.header-redesign-menu>li.current-menu-item>a,
.header-redesign-menu>li.current-menu-parent>a,
.header-redesign-menu>li.active>a {
    color: #00333b;
}

.header-redesign-menu>li.current-menu-item>a::before,
.header-redesign-menu>li.current-menu-parent>a::before,
.header-redesign-menu>li.active>a::before {
    content: '';
    position: absolute;
    left: -7px;
    top: -2px;
    width: 7px;
    height: 7px;
    background-color: #e65306;
    border-radius: 50%;
    transform: rotate(45deg);
}

/* Dropdown styling if submenus exist */
.header-redesign-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 51, 59, 0.08);
    border-radius: 4px;
    min-width: 180px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.header-redesign-menu>li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-redesign-menu .sub-menu li a {
    display: block;
    padding: 8px 16px;
    color: #00333b;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.header-redesign-menu .sub-menu li a:hover {
    background: #f8eee6;
    color: #e65306;
}

/* Actions Right (Socials, Lang, Cart, Book Button) */
.header-redesign-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

/* Social Icons */
.header-redesign-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #00333b;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.header-social-item:hover {
    color: #e65306;
    transform: translateY(-1px);
}

.header-social-item svg {
    width: 20px;
    height: 20px;
    display: block;
}

.header-social-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

/* Language Switcher */
.header-redesign-lang {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Stolzl', sans-serif;
    font-size: 11px;
    line-height: 16px;
    color: #00333b;
}

.header-redesign-lang a {
    color: #00333b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-redesign-lang a:hover {
    color: #e65306;
}

.header-redesign-lang .current-language,
.header-redesign-lang .lang-active {
    color: #e65306;
    font-weight: 500;
}

.header-redesign-lang .lang-divider {
    display: inline-block;
    width: 1px;
    height: 8px;
    background-color: #00333b;
}

/* WooCommerce Cart Icon & Badge */
.header-redesign-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #00333b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-redesign-cart:hover {
    color: #e65306;
}

.header-redesign-cart svg {
    width: 20px;
    height: 20px;
    display: block;
}

.header-redesign-cart .cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 13px;
    height: 13px;
    background-color: #e65306;
    border-radius: 13px;
    color: #ffffff;
    font-family: 'Stolzl', sans-serif;
    font-size: 7px;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Booking Button */
.header-redesign-booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid #e65306;
    color: #00333b;
    font-family: 'Stolzl', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.header-redesign-booking-btn:hover {
    background-color: #e65306;
    color: #ffffff;
}

/* Mobile Burger Menu Button (Hidden on Desktop) */
.header-burger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #e65306;
    z-index: 2;
}

.header-burger-btn svg {
    width: 32px;
    height: 32px;
    display: block;
}

/* ==========================================================================
   3. Transparent Header Styles (Desktop)
   ========================================================================== */
.site-header-redesign--transparent .header-redesign-menu>li>a {
    color: #ffffff;
}

.site-header-redesign--transparent .header-redesign-menu>li>a:hover {
    color: #e65306;
}

.site-header-redesign--transparent .header-redesign-menu>li.current-menu-item>a,
.site-header-redesign--transparent .header-redesign-menu>li.current-menu-parent>a,
.site-header-redesign--transparent .header-redesign-menu>li.active>a {
    color: #ffffff;
}

.site-header-redesign--transparent .header-social-item {
    color: #ffffff;
}

.site-header-redesign--transparent .header-social-item:hover {
    color: #e65306;
}

.site-header-redesign--transparent .header-redesign-lang {
    color: #ffffff;
}

.site-header-redesign--transparent .header-redesign-lang a {
    color: #ffffff;
}

.site-header-redesign--transparent .header-redesign-lang .lang-divider {
    background-color: #ffffff;
}

.site-header-redesign--transparent .header-redesign-lang .current-language {
    color: #e65306;
}

.site-header-redesign--transparent .header-redesign-cart {
    color: #ffffff;
}

.site-header-redesign--transparent .header-redesign-cart:hover {
    color: #e65306;
}

.site-header-redesign--transparent .header-burger-btn {
    color: #ffffff;
}

/* ==========================================================================
   4. Mobile Sidebar (Drawer)
   ========================================================================== */
.sidenav-overlay-redesign {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    touch-action: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sidenav-overlay-redesign.active {
    opacity: 1;
    visibility: visible;
}

.sidenav-redesign {
    position: fixed;
    top: 0;
    right: 0;
    width: 375px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 999999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.sidenav-redesign.open {
    transform: translateX(0);
}

html.sidebar-redesign-open,
body.sidebar-redesign-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none;
    -webkit-overflow-scrolling: auto;
}

/* Drawer Header */
.sidenav-redesign-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    min-height: 68px;
    background-color: #ffffff;
    flex-shrink: 0;
    z-index: 10;
}

.sidenav-redesign-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidenav-redesign-logo img,
.sidenav-redesign-logo svg {
    width: 89px;
    height: 36px;
    object-fit: contain;
}

.sidenav-redesign .sidebar-close-btn {
    position: absolute;
    right: 16px;
    top: 18px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e65306;
}

.sidenav-redesign .sidebar-close-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

.sidenav-redesign .sidebar-back-btn {
    position: absolute;
    left: 16px;
    top: 18px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    color: #e65306;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.sidenav-redesign .sidebar-back-btn:hover {
    opacity: 0.75;
}

.sidenav-redesign .sidebar-back-btn svg {
    width: 10px;
    height: 16px;
    display: block;
}

/* Drawer Body */
.sidenav-redesign-body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px 24px;
    width: 100%;
}

/* Drawer Nav Container */
.sidenav-nav {
    width: 100%;
}

/* Breadcrumb / Current Submenu Title */
.sidenav-nav .breadcrumb {
    text-align: center;
    font-family: 'Stolzl', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #00333b;
    padding: 0 10px 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f8eee6;
    width: 100%;
    display: none;
}

.sidenav-nav .breadcrumb span {
    display: inline-block;
}

/* Drawer Nav Menu & Sub-Menus */
.sidenav-menu,
.sidenav-nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sidenav-nav .sub-menu {
    display: none;
}

.sidenav-menu li,
.sidenav-nav .sub-menu li {
    width: 100%;
    text-align: center;
    list-style: none;
    position: relative;
}

.sidenav-menu li a,
.sidenav-nav .sub-menu li a {
    font-family: 'Stolzl', sans-serif;
    font-size: 12px;
    line-height: 32px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #00333b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    cursor: pointer;
}

.sidenav-menu li a:hover,
.sidenav-nav .sub-menu li a:hover,
.sidenav-menu li.current-menu-item>a,
.sidenav-nav .sub-menu li.current-menu-item>a,
.sidenav-menu li.current-menu-parent>a,
.sidenav-nav .sub-menu li.current-menu-parent>a,
.sidenav-menu li.active>a,
.sidenav-nav .sub-menu li.active>a {
    color: #e65306;
}

/* Menu Item With Submenu: Arrow to the right */
.sidenav-nav li.menu-item-has-children>a {
    position: relative;
    padding-right: 18px;
}

.sidenav-nav li.menu-item-has-children>a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 8px;
    height: 13px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='13' viewBox='0 0 8 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.8 0.807678L7 2.24999L3.4 6.57691L7 10.9038L5.8 12.3461L1 6.57691L5.8 0.807678Z' fill='%23E65306' stroke='white' stroke-width='0.3'/%3E%3C/svg%3E");
    pointer-events: none;
    transition: transform 0.2s ease;
}

.sidenav-nav li.menu-item-has-children>a:hover::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Subtle fade-in animation for drilldown */
@keyframes sidenavMenuFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidenav-nav .sub-menu.active-menu,
.sidenav-nav .sidenav-menu.active-menu {
    animation: sidenavMenuFadeIn 0.22s ease-out forwards;
}

.sidenav-nav .breadcrumb.active-breadcrumb {
    animation: sidenavMenuFadeIn 0.2s ease-out forwards;
}

/* Drawer Divider */
.sidenav-divider {
    width: 100%;
    max-width: 343px;
    height: 1px;
    background-color: #f8eee6;
    margin: 16px 0;
}

/* Drawer Booking Button */
.sidenav-booking-btn {
    width: 160px;
    height: 40px;
    border: 1px solid #e65306;
    background-color: #ffffff;
    color: #00333b;
    font-family: 'Stolzl', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s, color 0.25s;
}

.sidenav-booking-btn:hover {
    background-color: #e65306;
    color: #ffffff;
}

/* Drawer Socials */
.sidenav-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.sidenav-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #00333b;
    transition: color 0.2s ease;
}

.sidenav-socials a:hover {
    color: #e65306;
}

.sidenav-socials svg {
    width: 24px;
    height: 24px;
    display: block;
}

.sidenav-socials img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Drawer Language Switcher */
.sidenav-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Stolzl', sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: #00333b;
}

.sidenav-lang a {
    color: #00333b;
    text-decoration: none;
}

.sidenav-lang .current-language,
.sidenav-lang .lang-active {
    color: #e65306;
    font-weight: 500;
}

.sidenav-lang .lang-divider {
    width: 1px;
    height: 10px;
    background-color: #00333b;
}

/* Drawer Bottom "Від творців" */
.sidenav-creators {
    margin-top: auto;
    padding: 24px 20px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.sidenav-creators-inner {
    width: 237px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.sidenav-creators-label {
    color: #e65306;
    font-family: 'Stolzl', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: left;
    display: flex;
    align-items: center;
}

.sidenav-creators-label img {
    height: 10px;
    width: auto;
    display: block;
}

.sidenav-creators-logos {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sidenav-creators-logos a,
.sidenav-creators-logos span.brand-item,
.sidenav-creators-logos span {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.sidenav-creators-logos svg,
.sidenav-creators-logos img {
    display: block;
    height: auto;
    max-height: 18px;
    width: auto;
}

/* Drawer Bottom Order Notice (Kyiv time conditional) */
.sidenav-order-notice {
    background-color: #e65306;
    padding: 16px 22px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.sidenav-order-notice .notice-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.sidenav-order-notice .notice-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.sidenav-order-notice .notice-text {
    font-family: 'Stolzl', sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff7ed;
    margin: 0;
}

/* ==========================================================================
   5. Secondary Row: Categories or Page Title
   ========================================================================== */
.header-secondary-row {
    width: 100%;
    background-color: #f8eee6;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.header-secondary-pattern {
    width: 100%;
    height: 22px;
    background-image: url('../assets/temp/Vector.svg');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    /* border-top: 2px solid #e6530680;
    border-bottom: 2px solid #e6530680; */
    border: unset;
    box-sizing: border-box;
    flex-shrink: 0;
}

.header-secondary-pattern-top {
    /* Uses default SVG orientation */
}

.header-secondary-pattern-bottom {
    /* Flips the pattern vertically */
    transform: scaleY(-1);
}

/* Category Menu Row */
.header-category-menu {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 2em;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
    transition: min-height 0.25s ease, padding 0.25s ease;
}

.product-category-list-redesign {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 8px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.product-category-list-redesign::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.product-category-list-redesign>li {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.product-category-list-redesign>li>a {
    font-family: 'Stolzl', sans-serif;
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    color: #00333b;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.product-category-list-redesign>li>a:hover {
    color: #e65306;
}

/* Active Category item */
.product-category-list-redesign>li.current>a,
.product-category-list-redesign>li.active>a {
    color: #e65306;
}

.product-category-list-redesign>li.current>a::before,
.product-category-list-redesign>li.active>a::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -2px;
    width: 8px;
    height: 8px;
    background-color: #e65306;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

/* Page Title Row (For Non-Category / Non-Product Pages) */
.header-page-title-banner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 2em;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
}

.header-page-title {
    font-family: 'Stolzl', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #00333b;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    margin: 0;
    word-break: break-word;
}

/* ==========================================================================
   6. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1640px) {
    .product-category-list-redesign {
        gap: 34px;
    }

    .archive-product-page-redesign .container {
        padding: 0 100px;
    }

    .header-main-bar .container {
        padding: 0 100px;
    }

    .header-category-menu {
        padding: 16px 100px;
    }
}

@media (max-width: 1280px) {
    .header-redesign-menu {
        gap: 32px;
    }

    .archive-product-page-redesign .container,
    .header-topbar-desktop .topbar-container {
        padding: 0 50px;
    }

    .header-main-bar .container {
        padding: 0 50px;
    }

    .header-category-menu {
        padding: 12px 24px;
        justify-content: flex-start;
        overflow-x: hidden;
    }

    .product-category-list-redesign {
        justify-content: flex-start;
        gap: 32px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 8px 20px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .product-category-list-redesign>li {
        flex-shrink: 0;
    }
}

@media (max-width: 1024px) {

    .header-redesign-cart {
        display: none;
    }

    /* Full screen mobile sidebar drawer */
    .sidenav-redesign {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        border-radius: 0 !important;
    }

    /* Hide desktop topbar */
    .header-topbar-desktop {
        display: none !important;
    }

    /* Mobile Header height */
    .header-main-bar {
        height: 68px;
    }

    .header-main-bar .container,
    .header-topbar-desktop .topbar-container {
        padding: 0 16px;
    }

    /* Mobile logo */
    .header-redesign-logo img,
    .header-redesign-logo svg {
        width: 89px;
        height: 36px;
    }

    /* Hide desktop navigation and action items */
    .header-redesign-nav {
        display: none !important;
    }

    .header-redesign-actions .header-redesign-socials,
    .header-redesign-actions .header-redesign-lang,
    .header-redesign-actions .header-redesign-booking-btn {
        display: none !important;
    }

    /* Show burger button */
    .header-burger-btn {
        display: flex;
    }

    /* Keep cart icon accessible on mobile next to burger */
    .header-redesign-actions {
        gap: 12px;
    }

    /* Secondary row mobile */
    .header-secondary-pattern {
        height: 14px;
        border-top-width: 1.5px;
        border-bottom-width: 1.5px;
    }

    .header-category-menu {
        padding: 12px 16px;
        min-height: 70px;
        justify-content: flex-start;
        overflow-x: hidden;
    }

    .product-category-list-redesign {
        justify-content: flex-start;
        gap: 24px;
        padding: 8px 16px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .product-category-list-redesign>li {
        flex-shrink: 0;
    }

    .product-category-list-redesign>li>a {
        font-size: 12px;
    }

    /* Page title mobile */
    .header-page-title-banner {
        padding: 16px 16px;
    }

    .header-page-title {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 768px) {
    .header-secondary-pattern {
        height: 10px;
        border-top-width: 1px;
        border-bottom-width: 1px;
    }

    .header-page-title-banner {
        padding: 14px 1em;
        min-height: 50px;
    }

    .header-page-title {
        font-size: 14px;
        letter-spacing: 0.05em;
        line-height: 100%;
    }

    .archive-product-page-redesign .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .sidenav-redesign {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

/* ==========================================================================
   Search Modal Input & Close Button Fixes (Desktop & Mobile)
   ========================================================================== */
.search-field .header_search_input {
    position: relative !important;
}

.search-field input[type="search"] {
    padding-right: 40px !important;
}

/* Hide browser native clear cross on search input */
.search-field input[type="search"]::-webkit-search-decoration,
.search-field input[type="search"]::-webkit-search-cancel-button,
.search-field input[type="search"]::-webkit-search-results-button,
.search-field input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: none !important;
}

.search-field input[type="search"]::-ms-clear,
.search-field input[type="search"]::-ms-reveal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Position search-close cross inside input field at right edge */
.search-field svg.search-close {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    cursor: pointer !important;
    display: block !important;
    z-index: 2 !important;
    transition: opacity 0.2s ease !important;
}

.search-field svg.search-close:hover {
    opacity: 0.75 !important;
}

.search-field svg.search-close path {
    fill: #E65306 !important;
}

@media (max-width: 575.98px) {
    .search-field svg.search-close {
        right: 15px !important;
        width: 18px !important;
        height: 18px !important;
    }
}