/* =========================================
   DAILYDRAPE HEADER
========================================= */


/* =========================================
   LOGO FONT
========================================= */

@font-face {
    font-family: 'DailyDrapeLogo';
    src: url('../fonts/dailydrape-logo.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* =========================================
   HEADER CONTAINER
========================================= */

:root {
    --dd-mobile-bottom-nav-height: calc(61px + env(safe-area-inset-bottom, 0px));
}

.dd-header-container {
    width: min(1450px, calc(100% - 48px));
    margin-inline: auto;
}

.dd-header {
    position: relative;
    z-index: 50;
    background: var(--dd-surface);
}


/* =========================================
   ANNOUNCEMENT BAR
========================================= */

.dd-announcement-bar {
    --dd-announcement-height: 34px;
    --dd-announcement-speed: 32s;

    width: 100%;
    height: var(--dd-announcement-height);
    overflow: hidden;
    background: var(--dd-primary-dark);
    color: var(--dd-white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.dd-announcement-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: dd-announcement-scroll var(--dd-announcement-speed) linear infinite;
    will-change: transform;
}

.dd-announcement-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-around;
    min-width: 100vw;
    height: 100%;
}

.dd-announcement-item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 28px;
    white-space: nowrap;
    text-transform: uppercase;
}

.dd-announcement-separator {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 10px;
}

@keyframes dd-announcement-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dd-announcement-track {
        animation: none;
    }

    .dd-announcement-group[aria-hidden="true"] {
        display: none;
    }

    .dd-announcement-bar {
        height: auto;
        min-height: var(--dd-announcement-height);
    }

    .dd-announcement-group:not([aria-hidden="true"]) {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 12px;
    }

    .dd-announcement-item {
        padding: 5px 10px;
        white-space: normal;
        text-align: center;
    }
}


/* =========================================
   MAIN HEADER LAYOUT
========================================= */

.dd-header-main {
    display: grid;
    grid-template-columns: 335px minmax(0, 1fr) 190px;
    align-items: center;
    gap: 24px;
    min-height: 103px;
}


/* =========================================
   BRAND / LOGO
========================================= */

.dd-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    text-decoration: none;
}

.dd-logo-mark {
    display: grid;
    flex: 0 0 52px;
    place-items: center;
    width: 52px;
    height: 53px;
    border: 1px solid #ffc2d9;
    border-radius: 16px;
    background: #fff2f7;
    color: var(--dd-primary-dark);
    font-size: 17px;
    font-weight: 600;
}

.dd-logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dd-logo-text strong {
    color: var(--dd-primary-dark);
    font-family: 'DailyDrapeLogo', sans-serif;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: normal;
    white-space: nowrap;
}

.dd-logo-text small {
    margin-top: 5px;
    color: var(--dd-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.dd-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.dd-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}


/* =========================================
   PRODUCT SEARCH
========================================= */

.dd-header-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    height: 57px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e9e5e9;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
}

.dd-header-search input[type="search"] {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 17px;
    border: 0;
    border-radius: 0;
    outline: none;
    background: #fff;
    box-shadow: none;
    color: var(--dd-text);
    font-family: inherit;
    font-size: 16px;
}

.dd-header-search input[type="search"]::placeholder {
    color: #777783;
    opacity: 1;
}

.dd-header-search input[type="search"]:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px #f5b5ce;
}

.dd-header-search button {
    display: grid;
    flex: 0 0 63px;
    place-items: center;
    width: 63px;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--dd-primary);
    color: #fff;
    cursor: pointer;
    transition: background 160ms ease;
}

.dd-header-search button:hover {
    background: var(--dd-primary-dark);
}

.dd-header-search button svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   HEADER ACTIONS
   Account is desktop-only.
========================================= */

.dd-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.dd-header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    color: var(--dd-text);
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.dd-header-action svg {
    display: block;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--dd-primary-dark);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms ease;
}

.dd-header-action:hover svg {
    transform: translateY(-2px);
}

/* =========================================
   DESKTOP PRIMARY NAVIGATION
========================================= */

.dd-navigation {
    min-height: 59px;
    border-top: 1px solid var(--dd-border);
    border-bottom: 1px solid var(--dd-border);
    background: #fff;
}

.dd-navigation-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(1450px, calc(100% - 48px));
    min-height: 58px;
    margin-inline: auto;
    padding: 0;
}

/* Main navigation */

.dd-primary-navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.dd-menu,
.dd-menu ul,
.dd-social-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dd-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.1vw, 39px);
}

.dd-menu > li {
    position: relative;
    flex-shrink: 0;
}

.dd-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 0;
    color: var(--dd-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

.dd-menu > li:first-child > a,
.dd-menu > li.current-menu-item > a,
.dd-menu > li.current-menu-ancestor > a,
.dd-menu > li > a:hover {
    color: var(--dd-primary);
}

/* Dropdown arrow */

.dd-menu > li.menu-item-has-children > a::after {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transition: transform 180ms ease;
}

.dd-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(225deg);
}

/* Dropdown panel */

.dd-menu .sub-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: -18px;
    z-index: 1000;

    display: block;
    min-width: 230px;
    margin: 0;
    padding: 8px;

    border: 1px solid #f0e5eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(32, 20, 36, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);

    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease;
}

/* Open submenu on hover and keyboard focus */

.dd-menu li:hover > .sub-menu,
.dd-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Dropdown items */

.dd-menu .sub-menu li {
    position: relative;
    width: 100%;
}

.dd-menu .sub-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 13px;

    border-radius: 7px;
    color: var(--dd-text);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;

    transition:
        background 160ms ease,
        color 160ms ease;
}

.dd-menu .sub-menu a:hover,
.dd-menu .sub-menu li.current-menu-item > a,
.dd-menu .sub-menu li.current-menu-ancestor > a {
    background: var(--dd-soft-pink);
    color: var(--dd-primary);
}

/* Nested dropdown */

.dd-menu .sub-menu .sub-menu {
    top: -9px;
    left: calc(100% + 5px);
}

/* Nested submenu arrow */

.dd-menu .sub-menu li.menu-item-has-children > a::after {
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg);
}

/* =========================================
   DESKTOP SOCIAL LINKS
========================================= */

.dd-mobile-menu-footer {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.dd-social-navigation {
    width: auto;
}

.dd-social-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.dd-social-menu li {
    display: block;
    margin: 0;
    padding: 0;
}

.dd-social-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    color: var(--dd-muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

.dd-social-menu a:hover {
    color: var(--dd-primary);
}

/* =========================================
   MOBILE MENU TOGGLE
========================================= */

.dd-mobile-menu-toggle {
    display: none;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #f3cbd9;
    border-radius: 10px;
    background: #fff2f7;
    color: var(--dd-primary);
    cursor: pointer;
}

.dd-menu-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 20px;
}

.dd-menu-lines span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.dd-mobile-menu-toggle[aria-expanded="true"] .dd-menu-lines span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.dd-mobile-menu-toggle[aria-expanded="true"] .dd-menu-lines span:nth-child(2) {
    opacity: 0;
}

.dd-mobile-menu-toggle[aria-expanded="true"] .dd-menu-lines span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================
   RESPONSIVE HEADER
========================================= */

@media (max-width: 1250px) {
    .dd-header-container {
        width: calc(100% - 36px);
    }

    .dd-header-main {
        grid-template-columns: 280px minmax(0, 1fr) 180px;
        gap: 16px;
    }

    .dd-logo-text strong {
        font-size: 26px;
    }

    .dd-logo-text small {
        font-size: 10px;
    }

    .dd-header-search input[type="search"] {
        font-size: 14px;
    }

    .dd-menu {
        gap: 22px;
    }
}

@media (max-width: 900px) {
    .dd-header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding-block: 14px;
    }

    .dd-header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 49px;
    }

    .dd-header-actions {
        width: auto;
        gap: 0;
    }
}


/* =========================================
   MOBILE MENU OVERLAY
========================================= */

.dd-mobile-menu-close,
.dd-submenu-open,
.dd-submenu-back {
    display: none;
}

@media (max-width: 767px) {

    /* Mobile header */

    .dd-header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding-block: 14px;
    }

    .dd-header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        gap: 0;
    }

    .dd-account-action {
        display: none !important;
    }

    .dd-mobile-menu-toggle {
        display: inline-flex;
    }

    /* Overlay remains above page content and ends above bottom navigation */

    .dd-header .dd-navigation {
        display: none !important;
    }

    .dd-header .dd-navigation.is-open {
        position: fixed;
        top: 0;
        right: 0;
        bottom: var(--dd-mobile-bottom-nav-height);
        left: 0;
        z-index: 99999;
        display: block !important;
        width: 100%;
        min-height: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    /* White menu panel */

    .dd-header .dd-navigation-container {
        position: absolute;
        top: 30%;
        right: 14px;
        bottom: 0;
        z-index: 1;
        left: 14px;
        display: block;
        width: auto;
        min-height: 0;
        max-width: none;
        margin: 0;
        padding: 0;
        padding-bottom: 8px;
    }

    .dd-mobile-menu-panel {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 35px 30px 25px;
        overflow: hidden;
        border-radius: 17px;
        background: #fff;
    }

    /* Close button overlaps the top edge of the panel */

    .dd-mobile-menu-close {
        position: absolute;
        top: 30%;
        left: 50%;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 66px;
        height: 66px;
        padding: 0;
        border: 2px solid #f3b5ce;
        border-radius: 50%;
        background: #fff;
        color: var(--dd-primary-dark);
        box-shadow: 0 3px 12px rgba(216, 23, 112, 0.12);
        font-size: 38px;
        font-weight: 300;
        line-height: 1;
        transform: translate(-50%, -50%);
        cursor: pointer;
    }

    /* Scrollable menu content */

    .dd-header .dd-primary-navigation {
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .dd-header .dd-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .dd-header .dd-menu > li,
    .dd-header .dd-menu .sub-menu > li {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
    }

    .dd-header .dd-menu > li > a,
    .dd-header .dd-menu .sub-menu a {
        flex: 1 1 auto;
        min-height: 55px;
        padding: 9px 0;
        color: #182536;
        font-size: 21px;
        font-weight: 700;
        line-height: 1.35;
        text-decoration: none;
        white-space: normal;
    }

    .dd-header .dd-menu > li.current-menu-item > a,
    .dd-header .dd-menu > li.current-menu-ancestor > a {
        color: #182536;
    }

    /* Disable desktop dropdown arrow */

    .dd-header .dd-menu > li.menu-item-has-children > a::after {
        display: none;
    }

    /* Submenu arrow buttons */

    .dd-submenu-open {
        display: flex;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin-left: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #f0f1f2;
        color: #182536;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .dd-submenu-open::before {
        content: "›";
        transform: translateY(-1px);
    }

    /* Hide every submenu unless its parent is active */
    .dd-header .dd-menu .sub-menu {
        display: none !important;
        position: static;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }

    /* Show only the currently selected submenu */
    .dd-header .dd-menu li.is-active > .sub-menu {
        display: block !important;
    }

    /* Hide other categories at the current navigation level */
    .dd-header .dd-menu.has-active-submenu > li:not(.is-active),
    .dd-header .dd-menu .sub-menu.has-active-submenu > li:not(.is-active) {
        display: none !important;
    }

    /* Hide the selected category title and arrow */
    .dd-header .dd-menu li.is-active > a,
    .dd-header .dd-menu li.is-active > .dd-submenu-open {
        display: none !important;
    }

    /* Back button */
    .dd-header .dd-submenu-back {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 45px;
        margin: 0 0 12px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #626c76;
        font-size: 19px;
        font-weight: 700;
        line-height: 1.35;
        text-align: left;
        cursor: pointer;
    }

    .dd-header .dd-submenu-back::before {
        content: "‹";
        font-size: 30px;
        line-height: 1;
    }

    /* Social links */

    .dd-mobile-menu-footer {
        flex: 0 0 auto;
        width: 100%;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #e8e8e8;
    }

    .dd-social-menu {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 18px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .dd-social-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        overflow: hidden;
        font-size: 0;
        text-decoration: none;
    }

    .dd-social-menu a::before {
        display: block;
        flex: 0 0 27px;
        width: 27px;
        height: 27px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
    }

    .dd-social-instagram > a::before {
        background-image: url("../images/social/instagram.svg");
    }

    .dd-social-facebook > a::before {
        background-image: url("../images/social/facebook.svg");
    }

    .dd-social-youtube > a::before {
        background-image: url("../images/social/youtube.svg");
    }

    /* Prevent page scrolling behind the menu */

    body.dd-mobile-menu-active {
        overflow: hidden;
    }

    /* Opening animation */

    .dd-navigation.is-open .dd-mobile-menu-panel {
        animation: dd-mobile-panel-enter 250ms ease-out;
    }

    /* Closing animation */

    .dd-header .dd-navigation.is-closing {
        pointer-events: none;
        animation: dd-mobile-overlay-exit 250ms ease-in forwards;
    }

    .dd-header .dd-navigation.is-closing .dd-mobile-menu-panel {
        animation: dd-mobile-panel-exit 250ms ease-in forwards;
    }

    .dd-header .dd-navigation.is-closing .dd-mobile-menu-close {
        animation: dd-mobile-close-exit 180ms ease-in forwards;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 480px) {

    .dd-header-container {
        width: calc(100% - 28px);
    }

    .dd-header-main {
        gap: 10px;
    }

    .dd-logo {
        gap: 8px;
    }

    .dd-logo-mark {
        flex-basis: 42px;
        width: 42px;
        height: 44px;
        border-radius: 12px;
        font-size: 14px;
    }

    .dd-logo-text strong {
        font-size: 22px;
        letter-spacing: -0.7px;
    }

    .dd-logo-text small {
        max-width: 180px;
        font-size: 9px;
        white-space: normal;
    }

    .dd-logo .custom-logo {
        max-width: 150px;
        max-height: 48px;
    }

    .dd-header-search input[type="search"] {
        padding-inline: 12px;
        font-size: 13px;
    }

    .dd-header-search button {
        flex-basis: 48px;
        width: 48px;
    }

    .dd-mobile-menu-toggle {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .dd-mobile-menu-close {
        width: 66px;
        height: 66px;
        font-size: 38px;
    }

    .dd-mobile-menu-panel {
        padding: 25px 22px 20px;
    }

    .dd-header .dd-menu > li > a,
    .dd-header .dd-menu .sub-menu a {
        min-height: 51px;
        font-size: 19px;
    }
}


/* =========================================
   MOBILE ANNOUNCEMENT BAR
========================================= */

@media (max-width: 600px) {

    .dd-announcement-bar {
        --dd-announcement-height: 32px;
        --dd-announcement-speed: 25s;
        font-size: 10px;
    }

    .dd-announcement-item {
        padding-inline: 18px;
    }

    .dd-announcement-separator {
        padding-inline: 8px;
    }
}


/* =========================================
   DESKTOP NAVIGATION ROW LAYOUT
========================================= */

@media (min-width: 768px) {

    .dd-navigation-container {
        width: min(1450px, calc(100% - 48px));
        margin-inline: auto;
    }

    .dd-mobile-menu-panel {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        width: 100%;
    }

    .dd-primary-navigation {
        flex: 1 1 auto;
        min-width: 0;
    }

    .dd-menu {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .dd-mobile-menu-footer {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
    }

    .dd-social-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 20px;
    }
}



/* =========================================
   MENU ANIMATIONS
========================================= */

@keyframes dd-mobile-panel-enter {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dd-mobile-overlay-exit {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes dd-mobile-panel-exit {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(25px);
    }
}

@keyframes dd-mobile-close-exit {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .dd-announcement-track,
    .dd-mobile-menu-panel {
        animation: none !important;
    }

    .dd-menu-lines span,
    .dd-mobile-menu-close,
    .dd-header-action svg {
        transition: none;
    }
}


/* =========================================
   RESTORE ORIGINAL MOBILE MENU LAYOUT
========================================= */

@media (max-width: 767px) {

    .dd-header .dd-navigation-container {
        display: block;
    }

    .dd-header .dd-mobile-menu-panel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        padding: 35px 30px 25px;
        overflow: hidden;
        border-radius: 17px;
        background: #fff;
    }

    .dd-header .dd-primary-navigation {
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .dd-header .dd-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .dd-header .dd-mobile-menu-footer {
        display: block;
        flex: 0 0 auto;
        width: 100%;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #e8e8e8;
    }

    .dd-header .dd-social-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 18px;
    }

     /* Every menu item gets its own background and spacing */
     .dd-header .dd-menu > li,
     .dd-header .dd-menu .sub-menu > li {
         display: flex;
         flex-wrap: wrap;
         align-items: center;
         gap: 8px;
         width: 100%;
         margin-bottom: 9px;
         padding: 7px 12px;
         border-radius: 10px;
         background: #fff5f8;
     }
 
     /* Menu item links */
     .dd-header .dd-menu > li > a,
     .dd-header .dd-menu .sub-menu > li > a {
         flex: 1 1 0;
         min-width: 0;
         min-height: 48px;
         padding: 8px 0;
         border-radius: 7px;
         background: transparent;
         color: #182536;
         line-height: 1.35;
         white-space: normal;
     }
 
     /* Remove CSS-generated arrows */
     .dd-header .dd-menu > li.menu-item-has-children > a::after,
     .dd-header .dd-menu .sub-menu li.menu-item-has-children > a::after {
         display: none !important;
         content: none !important;
     }
 
     /* Keep the submenu arrow button at the far right */
     .dd-header .dd-submenu-open {
         flex: 0 0 42px;
         width: 42px;
         height: 42px;
         margin-left: auto;
     }
 
     /* Submenu occupies the next line */
     .dd-header .dd-menu .sub-menu {
         flex: 0 0 100%;
         width: 100%;
         margin: 0;
         padding: 0;
         background: transparent;
     }
 
     /* Slightly distinguish nested menu items */
     .dd-header .dd-menu .sub-menu > li {
         background: #fff9fb;
     }
}
