/* ============================================================
   CARPE DIEM v5
   HEADER CSS
============================================================ */

:root {
    --cd-purple: #3d2463;
    --cd-purple-light: #68458f;
    --cd-gold: #a77c3e;
    --cd-dark: #243128;
    --cd-gray: #6e746d;
    --cd-border: #e4e5dc;
    --cd-light: #faf9f5;
    --cd-white: #ffffff;
}

.material-symbols-rounded {
    font-family: "Material Symbols Rounded";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: "liga";
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}


/* ============================================================
   RESET
============================================================ */

.cd-header,
.cd-header *,
.cd-announcement,
.cd-announcement * {
    box-sizing: border-box;
}

.cd-header button,
.cd-announcement button {
    font: inherit;
}


/* ============================================================
   ANNOUNCEMENT
============================================================ */

.cd-announcement {
    background: var(--cd-purple);
    color: #fff;
    border-bottom: 1px solid rgba(224, 185, 75, 0.3);
}

.cd-announcement-inner {
    max-width: 1536px;
    min-height: 36px;
    margin: auto;
    padding: 7px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.cd-announcement-inner > .material-symbols-outlined {
    color: var(--cd-gold);
    font-size: 17px;
}

.cd-announcement-inner button {
    position: absolute;
    right: 18px;

    width: 28px;
    height: 28px;

    border: 0;
    background: transparent;
    color: rgba(255,255,255,.7);

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-announcement-inner button:hover {
    color: #fff;
}


/* ============================================================
   HEADER
============================================================ */

.cd-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(61,36,99,.1);
    box-shadow: 0 8px 24px rgba(28,48,36,.035);
}

.cd-tricolor {
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #ff9933 0%,
            #ff9933 33%,
            #eeeeee 33%,
            #eeeeee 66%,
            #138808 66%,
            #138808 100%
        );
}


/* ============================================================
   DESKTOP
============================================================ */

.cd-desktop-header {
    display: block;
}

.cd-header-main {
    max-width: 1536px;
    margin: auto;
    padding: 12px 24px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 24px;
}


/* ============================================================
   LEFT
============================================================ */

.cd-header-left {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.cd-location-button {
    display: flex;
    align-items: center;
    gap: 7px;

    flex-shrink: 0;

    min-height: 42px;
    padding: 6px 12px;

    border: 1px solid var(--cd-border);
    border-radius: 999px;

    background: #f8f8f8;

    cursor: pointer;

    transition: .2s ease;
}

.cd-location-button:hover {
    background: #fff;
    border-color: var(--cd-purple);
}

.cd-location-button > .material-symbols-outlined:first-child {
    color: var(--cd-purple);
    font-size: 19px;
}

.cd-location-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.cd-location-text small {
    color: #9ca3af;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .14em;
}

.cd-location-text strong {
    max-width: 95px;

    color: #27272a;

    font-size: 11px;
    line-height: 15px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cd-location-arrow {
    color: #9ca3af;
    font-size: 15px;
}


.cd-search {
    position: relative;
    flex: 1;

    min-width: 100px;
}

.cd-search > .material-symbols-outlined {
    position: absolute;
    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #9ca3af;
    font-size: 19px;

    pointer-events: none;
}

.cd-search input {
    width: 100%;
    height: 42px;

    padding: 0 16px 0 42px;

    border: 1px solid var(--cd-border);
    border-radius: 999px;

    background: #f8f8f8;

    outline: none;

    color: #222;
    font-size: 13px;

    transition: .2s ease;
}

.cd-search input:focus {
    background: #fff;
    border-color: var(--cd-purple);

    box-shadow:
        0 0 0 3px rgba(61,36,99,.08);
}


/* ============================================================
   LOGO
============================================================ */

.cd-logo-wrapper {
    display: flex;
    justify-content: center;
}

.cd-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--cd-purple);

    text-decoration: none;

    transition: transform .25s ease;
}

.cd-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cd-logo:hover {
    transform: scale(1.03);
}

.cd-logo img {
    width: auto;
    height: 48px;

    object-fit: contain;
}

.cd-logo-name {
    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    font-weight: 600;

    line-height: 1;
    letter-spacing: -.04em;
}

.cd-logo-subtitle {
    display: block;

    margin-top: 5px;

    color: #777;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: .30em;
    text-align: center;
}


/* ============================================================
   RIGHT
============================================================ */

.cd-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;
}

.cd-icon-button {
    position: relative;

    width: 42px;
    height: 42px;

    border: 1px solid #e5e7eb;
    border-radius: 50%;

    background: #f5f5f5;
    color: #404040;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    transition: .2s ease;
}

.cd-icon-button:hover {
    color: #fff;
    background: var(--cd-purple);
    border-color: var(--cd-purple);
    transform: translateY(-1px);
}

.cd-icon-button .material-symbols-outlined {
    font-size: 20px;
}

.cd-cart-badge {
    position: absolute;

    top: -4px;
    right: -4px;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

    border: 2px solid #fff;
    border-radius: 999px;

    background: var(--cd-gold);
    color: #21150a;

    font-size: 9px;
    font-weight: 900;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ============================================================
   LOGIN
============================================================ */

.cd-login-button {
    height: 42px;

    padding: 0 17px;

    border-radius: 999px;

    background: var(--cd-purple);
    color: #fff;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;

    transition: .2s ease;
}

.cd-login-button:hover {
    background: var(--cd-purple-light);
    transform: translateY(-1px);
}

.cd-login-button .material-symbols-outlined {
    font-size: 16px;
}


/* ============================================================
   ACCOUNT
============================================================ */

.cd-account {
    position: relative;
}

.cd-account-button {
    height: 42px;

    padding: 4px 12px 4px 5px;

    border: 1px solid #e5e7eb;
    border-radius: 999px;

    background: #f5f5f5;

    display: flex;
    align-items: center;
    gap: 7px;

    cursor: pointer;
    color: #333;
    font: inherit;

    transition: .2s ease;
}

.cd-account-button:hover {
    border-color: var(--cd-purple);
    background: #f0eaf6;
}

.cd-avatar {
    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: var(--cd-purple);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 800;
}

.cd-account-name {
    max-width: 85px;

    color: #303030;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cd-account-button > .material-symbols-outlined {
    color: #999;
    font-size: 16px;
}

.cd-account-guest-button {
    width: 42px;
    height: 42px;
    padding: 0;
    background-color: #fff;
    color: var(--cd-purple);
    cursor: pointer;
}

.cd-account-guest-button:hover,
.cd-account-guest-button:focus-visible {
    color: #fff;
    background: var(--cd-purple);
}

.cd-account-guest-button .material-symbols-outlined {
    font-size: 22px;
}

.cd-account-dropdown {
    position: absolute;

    top: calc(100% + 9px);
    right: 0;

    width: 245px;

    padding: 7px;

    border: 1px solid #eee;
    border-radius: 17px;

    background-color: #fff;
    color: #252525;

    box-shadow:
        0 20px 60px rgba(25,47,37,.2);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition: .2s ease;

    overflow: hidden;
    z-index: 2100;
    pointer-events: none;
}

.cd-account:hover .cd-account-dropdown,
.cd-account:focus-within .cd-account-dropdown,
.cd-account.is-open .cd-account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cd-account-info {
    padding: 11px 12px;

    background: #f8f8f8;

    border-radius: 12px;
}

.cd-account-info strong {
    display: block;

    color: #222;

    font-size: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-account-info small {
    display: block;

    margin-top: 3px;

    color: #888;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .12em;
}

.cd-account-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 11px;

    border-radius: 10px;

    color: #444;

    text-decoration: none;

    font-size: 13px;

    transition: .15s ease;
}

.cd-account-dropdown a:hover {
    color: var(--cd-purple);
    background: #f0eaf6;
}

.cd-account-dropdown a .material-symbols-outlined {
    color: var(--cd-purple);
    font-size: 18px;
}

.cd-dropdown-divider {
    height: 1px;
    margin: 4px 7px;

    background: #eee;
}

.cd-account-dropdown .cd-account-guest-link {
    font-weight: 700;
}

.cd-account-dropdown .cd-logout {
    color: #dc2626;
}

.cd-account-dropdown .cd-logout .material-symbols-outlined {
    color: #dc2626;
}


/* ============================================================
   CATEGORY NAV
============================================================ */

.cd-category-nav {
    min-height: 58px;

    max-width: 1536px;
    margin: 0 auto;
    padding: 5px 20px;

    border-top: 1px solid #f0f0f0;
    background: linear-gradient(180deg, #fff 0%, #faf9f5 100%);

    display: flex;
    align-items: center;
    justify-content: safe center;

    gap: 7px;

    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.cd-category-nav::-webkit-scrollbar {
    display: none;
}

.cd-category-nav > a,
.cd-nav-dropdown > button {
    position: relative;

    min-height: 40px;
    padding: 0 10px;
    border-radius: 999px;

    border: 0;
    background: transparent;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #585451;

    text-decoration: none;

    font-size: 10px;
    font-weight: 750;

    letter-spacing: .075em;
    text-transform: uppercase;

    white-space: nowrap;

    cursor: pointer;

    transition: .2s ease;
}

.cd-category-nav > a,
.cd-category-nav > .cd-nav-dropdown {
    flex: 0 0 auto;
}

.cd-category-nav > a:hover,
.cd-nav-dropdown > button:hover,
.cd-category-nav > a.active,
.cd-nav-dropdown > button.active,
.cd-nav-dropdown.is-open > button {
    color: var(--cd-purple);
    background: #f0eaf6;
}

.cd-category-nav > a:focus-visible,
.cd-nav-dropdown > button:focus-visible {
    outline: 3px solid rgba(61,36,99,.22);
    outline-offset: 2px;
}

.cd-category-nav > a > .material-symbols-outlined:first-child,
.cd-nav-dropdown > button > .material-symbols-outlined:first-child {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(61, 36, 99, .1);
    border-radius: 8px;
    background: rgba(61, 36, 99, .045);
    font-size: 16px;
    font-variation-settings: "FILL" 0, "wght" 450;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.cd-category-nav > a:hover > .material-symbols-outlined:first-child,
.cd-category-nav > a.active > .material-symbols-outlined:first-child,
.cd-nav-dropdown > button:hover > .material-symbols-outlined:first-child,
.cd-nav-dropdown > button.active > .material-symbols-outlined:first-child,
.cd-nav-dropdown.is-open > button > .material-symbols-outlined:first-child {
    color: var(--cd-purple);
    border-color: rgba(61, 36, 99, .2);
    background: #f0eaf6;
    font-variation-settings: "FILL" 1, "wght" 500;
}

.cd-watch-link {
    color: #806332 !important;
}

.cd-watch-link.active,
.cd-watch-link:hover {
    color: var(--cd-purple) !important;
}

.cd-sell-link {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(61,36,99,.16);
    border-radius: 999px;
    color: var(--cd-purple) !important;
    background: #eff3ed;
    transition: .2s ease;
}

.cd-sell-link:hover {
    color: #fff !important;
    background: var(--cd-purple);
    border-color: var(--cd-purple);
}


/* ============================================================
   SUPPORT DROPDOWN
============================================================ */

.cd-nav-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.cd-nav-dropdown > button > .cd-nav-chevron {
    font-size: 16px;
    transition: transform .2s ease;
}

.cd-nav-dropdown:hover > button > .cd-nav-chevron,
.cd-nav-dropdown.is-open > button > .cd-nav-chevron {
    transform: rotate(180deg);
}

.cd-support-dropdown {
    position: fixed;
    top: var(--cd-support-top, 0);
    left: var(--cd-support-left, 0);

    width: 260px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;

    padding: 7px;

    transform: translateY(-5px);
    pointer-events: none;

    opacity: 0;
    visibility: hidden;

    background: #fff;

    border: 1px solid #eee;
    border-radius: 17px;

    box-shadow:
        0 20px 60px rgba(25,47,37,.2);

    transition: .2s ease;

    z-index: 2001;
}

.cd-support-dropdown.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cd-support-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px;

    border-radius: 10px;

    color: #444;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition: .15s ease;
}

.cd-support-dropdown a:hover {
    background: #faf7ff;
    color: var(--cd-purple);
}

.cd-support-dropdown a .material-symbols-outlined {
    color: var(--cd-purple);
    font-size: 18px;
}


/* ============================================================
   MOBILE
============================================================ */

.cd-mobile-header,
.cd-mobile-search,
.cd-mobile-location {
    display: none;
}


/* ============================================================
   LOCATION MODAL
============================================================ */

.cd-modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    padding: 20px;

    background: rgba(0,0,0,.50);
    backdrop-filter: blur(5px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-location-modal {
    width: min(100%, 430px);

    padding: 24px;

    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 30px 90px rgba(0,0,0,.25);
}

.cd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cd-modal-header > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.cd-modal-header .material-symbols-outlined {
    color: var(--cd-purple);
}

.cd-modal-header h3 {
    margin: 0;

    color: var(--cd-purple);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;
}

.cd-modal-header button {
    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    background: #f2f2f2;
    color: #777;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-modal-description {
    margin: 14px 0 18px;

    color: #777;

    font-size: 12px;
    line-height: 1.6;
}

.cd-detect-location {
    width: 100%;

    padding: 14px;

    border: 1px solid #e5e7eb;
    border-radius: 13px;

    background: #fff;

    display: flex;
    align-items: center;
    gap: 12px;

    text-align: left;

    cursor: pointer;

    transition: .2s ease;
}

.cd-detect-location:hover {
    border-color: var(--cd-purple);
    background: #faf7ff;
}

.cd-detect-location > .material-symbols-outlined {
    color: var(--cd-purple);
    font-size: 24px;
}

.cd-detect-location span:last-child {
    display: flex;
    flex-direction: column;
}

.cd-detect-location strong {
    color: #222;
    font-size: 13px;
}

.cd-detect-location small {
    margin-top: 3px;

    color: #777;

    font-size: 11px;
}

.cd-location-or {
    margin: 20px 0;

    display: flex;
    align-items: center;
    gap: 10px;

    color: #aaa;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.cd-location-or::before,
.cd-location-or::after {
    content: "";

    height: 1px;

    flex: 1;

    background: #eee;
}

.cd-pincode-label {
    display: block;

    margin-bottom: 7px;

    color: #666;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.cd-pincode {
    display: flex;
    gap: 8px;
}

.cd-pincode input {
    flex: 1;

    height: 44px;

    padding: 0 13px;

    border: 1px solid #ddd;
    border-radius: 11px;

    outline: none;

    font-size: 13px;
}

.cd-pincode input:focus {
    border-color: var(--cd-purple);
}

.cd-pincode button {
    padding: 0 20px;

    border: 0;
    border-radius: 11px;

    background: var(--cd-purple);
    color: #fff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;
}

.cd-pincode button:hover {
    background: var(--cd-purple-light);
}


/* ============================================================
   HELPERS
============================================================ */

.cd-hidden {
    display: none !important;
}

.cd-no-scroll {
    overflow: hidden !important;
}

.cd-spin {
    animation: cd-spin 1s linear infinite;
}

@keyframes cd-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1150px) {

    .cd-header-main {
        gap: 12px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .cd-category-nav {
        gap: 3px;
        justify-content: safe center;
        min-height: 52px;
        padding-inline: 12px;
    }

    .cd-category-nav > a,
    .cd-nav-dropdown > button { padding-inline: 8px; }

    .cd-category-nav > a,
    .cd-nav-dropdown > button {
        font-size: 10px;
    }

    .cd-account-name {
        display: none;
    }

    .cd-account-button {
        padding-right: 7px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .cd-desktop-header {
        display: none;
    }

    .cd-mobile-header {
        min-height: 58px;

        padding: 7px 10px;

        display: flex;
        align-items: center;
        gap: 5px;
    }

    .cd-mobile-button {
        position: relative;

        flex-shrink: 0;

        width: 40px;
        height: 40px;

        border: 0;
        border-radius: 11px;

        background: transparent;
        color: #444;

        display: flex;
        align-items: center;
        justify-content: center;

        text-decoration: none;

        cursor: pointer;
    }

    .cd-mobile-button:hover {
        background: #f4f4f4;
    }

    .cd-mobile-account-menu {
        position: fixed;
        z-index: 2100;
        top: calc(env(safe-area-inset-top) + 66px);
        right: 10px;
        display: flex;
        width: min(300px, calc(100vw - 20px));
        max-height: min(70vh, 560px);
        flex-direction: column;
        overflow-y: auto;
        padding: 8px;
        border: 1px solid #e8e3d9;
        border-radius: 16px;
        background-color: #fff;
        color: #252525;
        box-shadow: 0 18px 50px rgba(31, 38, 33, .22);
    }

    .cd-mobile-account-menu.cd-hidden {
        display: none !important;
    }

    .cd-mobile-account-heading {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 12px;
        border-radius: 10px;
        background: #f5f6f2;
    }

    .cd-mobile-account-heading strong {
        overflow: hidden;
        color: #24382f;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cd-mobile-account-heading small {
        color: #6b716d;
        font-size: 11px;
    }

    .cd-mobile-account-menu > a {
        display: flex;
        min-height: 44px;
        align-items: center;
        gap: 10px;
        padding: 9px 11px;
        border-radius: 9px;
        color: #343a36;
        font-size: 13px;
        text-decoration: none;
    }

    .cd-mobile-account-menu > a:hover,
    .cd-mobile-account-menu > a:focus-visible {
        background: #f0eaf6;
        color: var(--cd-purple);
    }

    .cd-mobile-account-menu > a .material-symbols-outlined {
        color: var(--cd-purple);
        font-size: 19px;
    }

    .cd-mobile-account-menu > .cd-mobile-account-logout {
        margin-top: 4px;
        border-top: 1px solid #ecece8;
        border-radius: 0 0 9px 9px;
        color: #b42318;
    }

    .cd-mobile-account-menu > .cd-mobile-account-logout .material-symbols-outlined {
        color: #b42318;
    }

    .cd-mobile-button .material-symbols-outlined {
        font-size: 23px;
    }

    .cd-notification-badge {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        border: 2px solid #fff;
        border-radius: 999px;
        background: #a64b3c;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        line-height: 13px;
        text-align: center;
    }

    .cd-notification-panel {
        position: fixed;
        z-index: 1800;
        top: calc(env(safe-area-inset-top) + 66px);
        left: 10px;
        display: flex;
        width: min(390px, calc(100vw - 20px));
        max-height: min(70vh, 560px);
        flex-direction: column;
        overflow: hidden;
        border: 1px solid #e8e3d9;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 50px rgba(31, 38, 33, .2);
    }

    .cd-notification-panel.cd-hidden {
        display: none !important;
    }

    .cd-notification-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 16px;
        border-bottom: 1px solid #eee9e0;
    }

    .cd-notification-heading > div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .cd-notification-heading strong {
        color: #26352e;
        font: 600 17px Georgia, "Times New Roman", serif;
    }

    .cd-notification-heading small {
        color: #7a786f;
        font-size: 11px;
    }

    .cd-notification-heading button {
        border: 0;
        background: transparent;
        color: #69552f;
        font: inherit;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
    }

    .cd-notification-list {
        overflow: auto;
        overscroll-behavior: contain;
    }

    .cd-notification-item {
        display: flex;
        align-items: flex-start;
        gap: 11px;
        padding: 13px 15px;
        border-bottom: 1px solid #f0ede7;
        color: #393a34;
        text-decoration: none;
    }

    .cd-notification-item:last-child {
        border-bottom: 0;
    }

    .cd-notification-item.is-unread {
        background: #faf8f2;
    }

    .cd-notification-item-icon {
        margin-top: 1px;
        color: #8b7040;
        font-size: 21px;
    }

    .cd-notification-copy {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
        gap: 4px;
    }

    .cd-notification-copy strong {
        color: #26352e;
        font-size: 13px;
    }

    .cd-notification-copy > span {
        color: #66675f;
        font-size: 12px;
        line-height: 1.45;
    }

    .cd-notification-copy time {
        color: #99968c;
        font-size: 10px;
    }

    .cd-notification-unread-dot {
        width: 8px;
        height: 8px;
        margin-top: 5px;
        border-radius: 50%;
        background: #a64b3c;
    }

    .cd-notification-empty {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 8px;
        padding: 24px 20px;
        color: #77776e;
        text-align: center;
    }

    .cd-notification-empty > .material-symbols-outlined {
        color: #8b7040;
        font-size: 27px;
    }

    .cd-notification-empty p {
        margin: 0;
        font-size: 13px;
        line-height: 1.5;
    }

    .cd-notification-empty a {
        color: #69552f;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .cd-mobile-logo {
        flex: 1;

        min-width: 0;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;

        color: var(--cd-purple);

        text-decoration: none;
    }

    .cd-mobile-logo img {
        width: auto;
        height: 34px;

        object-fit: contain;
    }

    .cd-mobile-logo span {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cd-mobile-logo strong {
        font-family:
            Georgia,
            "Times New Roman",
            serif;

        font-size: 16px;
        line-height: 1;
        white-space: nowrap;
    }

    .cd-mobile-logo small {
        margin-top: 3px;

        color: #777;

        font-size: 5.5px;
        font-weight: 900;

        letter-spacing: .28em;
        text-align: center;
    }

    .cd-mobile-cart .cd-cart-badge {
        top: 1px;
        right: 1px;

        min-width: 16px;
        height: 16px;

        font-size: 8px;
    }

    .cd-mobile-search {
        display: block;
        padding: 9px 12px;

        border-top: 1px solid #eee;

        background: #fff;
    }

    .cd-mobile-search form {
        position: relative;
    }

    .cd-mobile-search .material-symbols-outlined {
        position: absolute;

        left: 14px;
        top: 50%;

        transform: translateY(-50%);

        color: #999;

        font-size: 20px;
    }

    .cd-mobile-search input {
        width: 100%;
        height: 43px;

        padding: 0 14px 0 43px;

        border: 1px solid #ddd;
        border-radius: 999px;

        background: #f8f8f8;

        outline: none;

        font-size: 13px;
    }

    .cd-mobile-search input:focus {
        background: #fff;
        border-color: var(--cd-purple);
    }

    .cd-mobile-location {
        display: flex;

        padding: 7px 12px 9px;

        border-top: 1px solid #f0f0f0;
    }

    .cd-mobile-location button {
        display: flex;
        align-items: center;
        gap: 5px;

        max-width: 100%;

        padding: 6px 12px;

        border: 1px solid #e5e7eb;
        border-radius: 999px;

        background: #f8f8f8;

        color: #444;

        cursor: pointer;
    }

    .cd-mobile-location button .material-symbols-outlined {
        color: var(--cd-purple);
        font-size: 16px;
    }

    #cd-mobile-location-label {
        max-width: 180px;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        font-size: 11px;
        font-weight: 700;
    }

    .cd-tricolor {
        height: 4px;
    }

    .cd-announcement-inner {
        min-height: 32px;

        padding: 6px 40px 6px 15px;

        font-size: 10px;

        text-align: center;
    }

    .cd-announcement-inner button {
        right: 7px;
    }

    .cd-location-modal {
        padding: 20px;
    }

}

@media (min-width: 768px) {
    .cd-notification-panel {
        display: none !important;
    }
}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 380px) {

    .cd-mobile-header {
        padding-left: 5px;
        padding-right: 5px;
    }

    .cd-mobile-button {
        width: 37px;
        height: 37px;
    }

    .cd-mobile-logo img {
        height: 29px;
    }

    .cd-mobile-logo strong {
        font-size: 14px;
    }

    .cd-mobile-logo small {
        font-size: 5px;
    }

}