@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,700;1,500&family=Jost:wght@300..700&display=swap");

.mag-header {
    --mag-bg: #f8f6f5;
    --mag-ink: #000;
    --mag-muted: #6b6a6a;
    --mag-icon: #625e5b;
    --mag-line: #e4e0da;
    --mag-pad: clamp(20px, 5.2vw, 100px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--mag-bg);
    color: var(--mag-ink);
}

body.admin-bar .mag-header {
    top: 32px;
}

.mag-header button {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    color: inherit;
    cursor: pointer;
    appearance: none;
    box-shadow: none;
}

.mag-header a {
    color: inherit;
    text-decoration: none;
}

.mag-header ul {
    list-style: none;
    margin: 0;
    margin-right: 0 !important;
    padding: 0;
}

.mag-bar {
    border-bottom: 1px solid var(--mag-line);
}

.mag-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(12px, 0.81vw, 15.5px) var(--mag-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mag-logo {
    display: inline-flex;
    line-height: 0;
    margin-left: -0.21vw;
    flex: 0 0 auto;
}

.mag-logo img {
    display: block;
    width: clamp(200px, 16.25vw, 312px);
    height: auto;
}

.mag-right {
    display: flex;
    align-items: center;
    gap: clamp(32px, 9vw, 175px);
}

.mag-nav {
    display: flex;
    align-items: center;
    gap: clamp(28px, 5.94vw, 114px);
}

.mag-nav a {
    display: inline-block;
    text-transform: uppercase;
    font-family: Jost, system-ui, sans-serif;
    font-weight: 500;
    font-size: clamp(15px, 1.05vw, 20px);
    letter-spacing: clamp(1.6px, 0.17vw, 3.2px);
    line-height: 1.45;
    white-space: nowrap;
}

.mag-nav a.is-current {
    font-weight: 700;
    font-size: clamp(16px, 1.1vw, 21px);
    letter-spacing: clamp(2px, 0.23vw, 4.41px);
}

.mag-nav a:hover,
.mag-sub a:hover,
.mag-drawer a:hover {
    opacity: 0.6;
}

.mag-icons {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.72vw, 33px);
}

.mag-icon {
    display: inline-flex;
    align-items: center;
    position: relative;
    line-height: 0;
    color: var(--mag-icon);
}

.mag-icon svg {
    display: block;
    height: 18px;
    width: auto;
}

.mag-icon svg path {
    fill: var(--mag-icon);
}

.mag-cart-count {
    position: absolute;
    top: -8px;
    right: -9px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--mag-ink);
    color: #fff;
    font-family: Jost, system-ui, sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 15px;
    text-align: center;
}

.mag-sub {
    display: none;
    background: var(--mag-bg);
}

@media (min-width: 990px) {
    .mag-header[data-sub-open="true"] .mag-sub {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 2;
    }
}

.mag-header .mag-sub2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(56px, 8vw, 140px);
    min-height: 72px;
    padding: 0 var(--mag-pad);
    border-bottom: 1px solid var(--mag-line);
}

.mag-sub2 a {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    font-size: clamp(18px, 1.25vw, 24px);
    letter-spacing: 0.12em;
    line-height: 1.45;
    text-transform: uppercase;
    color: var(--mag-muted);
    white-space: nowrap;
}

.mag-sub2 a.is-current {
    color: var(--mag-ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.mag-header[data-preview] .mag-sub2 a.is-current {
    color: var(--mag-muted);
    font-weight: 500;
    text-decoration: none;
}

.mag-header[data-preview="subscribe"] .mag-sub2 a[data-mag-section="subscribe"],
.mag-header[data-preview="art"] .mag-sub2 a[data-mag-section="art"],
.mag-header[data-preview="fashion"] .mag-sub2 a[data-mag-section="fashion"] {
    color: var(--mag-ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.mag-sub3 {
    display: none;
    border-bottom: 1px solid var(--mag-line);
}

.mag-sub3 ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(16px, 2.2vw, 42px);
    padding: 18px var(--mag-pad) 20px;
}

.mag-sub3 a {
    font-family: Jost, system-ui, sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.72px;
    line-height: 1.45;
    text-transform: capitalize;
    color: var(--mag-muted);
    white-space: nowrap;
}

.mag-sub3 a.is-current {
    color: var(--mag-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mag-header[data-section="art"]:not([data-preview]) .mag-sub3[data-panel="art"],
.mag-header[data-section="fashion"]:not([data-preview]) .mag-sub3[data-panel="fashion"],
.mag-header[data-preview="art"] .mag-sub3[data-panel="art"],
.mag-header[data-preview="fashion"] .mag-sub3[data-panel="fashion"] {
    display: block;
}

.mag-header[data-preview="art"] .mag-sub3[data-panel="fashion"],
.mag-header[data-preview="fashion"] .mag-sub3[data-panel="art"],
.mag-header[data-preview="subscribe"] .mag-sub3 {
    display: none;
}

.mag-mbar,
.mag-scrim,
.mag-drawer {
    display: none;
}

body.mag-has-php-header #masthead,
body.mag-has-php-header .elementor-location-header {
    display: none !important;
}

body.mag-has-php-header #site-search {
    background: var(--mag-bg);
    border-top: 1px solid var(--mag-line);
    border-bottom: 1px solid var(--mag-line);
    z-index: 90;
}

body.mag-has-php-header #site-search--content {
    height: auto;
    max-width: 760px;
    padding: 22px 24px 28px;
}

body.mag-has-php-header .search-form input[type="search"] {
    color: var(--mag-ink);
    border-bottom-color: var(--mag-ink);
    font-family: Jost, system-ui, sans-serif;
    font-size: 18px;
    letter-spacing: 0.06em;
    padding-left: 0;
}

@media (max-width: 782px) {
    body.admin-bar .mag-header {
        top: 46px;
    }
}

@media (max-width: 989px) {
    .mag-bar,
    .mag-sub,
    .mag-header[data-sub-open="true"] .mag-sub {
        display: none;
    }

    .mag-mbar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        height: 70px;
        padding: 0 24px;
        background: var(--mag-bg);
    }

    .mag-mleft,
    .mag-mright {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .mag-mright {
        justify-content: flex-end;
    }

    .mag-mbar button,
    .mag-mbar a {
        position: relative;
        color: var(--mag-icon);
        display: inline-flex;
        align-items: center;
        line-height: 0;
        background: transparent;
    }

    .mag-mbar button:hover,
    .mag-mbar button:focus {
        color: var(--mag-icon);
        background: transparent;
    }

    .mag-mbar .mag-mi-20 {
        display: block;
        width: 20px;
        height: 20px;
    }

    .mag-mbar .mag-cart-count {
        top: -6px;
        right: -8px;
        min-width: 14px;
        height: 14px;
        line-height: 14px;
    }

    .mag-mlogo {
        justify-self: center;
        line-height: 0;
    }

    .mag-mlogo img {
        display: block;
        width: 148px;
        height: auto;
    }

    .mag-scrim {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--mag-drawer-top, 70px);
        bottom: 0;
        background: rgba(49, 48, 48, 0.6);
        border-top: 1px solid #929191;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 110;
    }

    .mag-drawer {
        display: block;
        position: fixed;
        left: 0;
        top: var(--mag-drawer-top, 70px);
        bottom: 0;
        width: 84%;
        max-width: 400px;
        box-sizing: border-box;
        background: var(--mag-bg);
        border-top: 1px solid #929191;
        overflow-y: auto;
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
        z-index: 111;
    }

    .mag-header[data-nav-open="true"] .mag-scrim {
        opacity: 1;
        visibility: visible;
    }

    .mag-header[data-nav-open="true"] .mag-drawer {
        transform: translateX(0);
        visibility: visible;
    }

    .mag-drawer .mag-drawer-close {
        position: absolute;
        top: 21px;
        right: 32px;
        width: 23px;
        height: 23px;
        line-height: 0;
        color: var(--mag-icon);
        z-index: 1;
    }

    .mag-drawer-close svg {
        display: block;
        width: 23px;
        height: 23px;
    }

    html.mag-nav-lock {
        overflow: hidden;
    }

    .mag-drawer-inner {
        min-height: 100%;
        padding: 57px 0 48px;
        display: flex;
        flex-direction: column;
        gap: 46px;
    }

    .mag-mmenu > li {
        padding: 0 24px 35px 40px;
    }

    .mag-mmenu > li:last-child {
        padding-bottom: 15px;
    }

    .mag-drawer button,
    .mag-drawer a {
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 0;
        margin: 0;
        box-shadow: none;
        appearance: none;
        text-decoration: none;
    }

    .mag-drawer button.mag-l1,
    .mag-drawer a.mag-l1,
    .mag-drawer button.mag-l2,
    .mag-drawer a.mag-l2,
    .mag-drawer a.mag-l3 {
        display: block;
        width: 100%;
        text-align: left;
        cursor: pointer;
        color: #000;
        font-family: Jost, system-ui, sans-serif;
        font-style: normal;
        font-synthesis: none;
        text-transform: uppercase;
    }

    .mag-drawer button.mag-l1,
    .mag-drawer a.mag-l1 {
        font-weight: 500;
        font-size: 17px;
        letter-spacing: 3.78px;
        line-height: 26.86px;
    }

    .mag-collapse {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mag-collapse-in {
        overflow: hidden;
        min-height: 0;
    }

    .mag-drawer li[data-open="true"] > .mag-collapse {
        grid-template-rows: 1fr;
    }

    .mag-drawer .mag-l2-list {
        margin: 26px 0 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mag-drawer button.mag-l2,
    .mag-drawer a.mag-l2 {
        font-weight: 330;
        font-size: 14px;
        letter-spacing: 1.76px;
        line-height: 22.12px;
    }

    .mag-drawer button.mag-l2.is-current,
    .mag-drawer a.mag-l2.is-current {
        font-weight: 500;
    }

    .mag-drawer .mag-l3-list {
        margin: 20px 0 0;
        display: flex;
        flex-direction: column;
        gap: 13px;
    }

    .mag-drawer a.mag-l3 {
        width: auto;
        font-weight: 400;
        font-size: 12px;
        letter-spacing: 0.3px;
        line-height: 15px;
        text-transform: none;
    }

    .mag-l3.is-current {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .mag-drawer .mag-mutil {
        list-style: none;
        margin: 0;
        padding: 0 39px;
        display: flex;
        flex-direction: column;
        gap: 21px;
    }

    .mag-drawer .mag-mutil a,
    .mag-drawer .mag-mutil button {
        display: flex;
        align-items: center;
        gap: 18px;
        width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
        text-decoration: none;
        text-transform: none;
        cursor: pointer;
        color: #000;
        font-family: Jost, system-ui, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        font-synthesis: none;
        letter-spacing: 0.84px;
        line-height: 1.58;
    }

    .mag-mutil .mag-mi {
        flex: 0 0 15px;
        color: rgba(69, 57, 51, 0.66);
    }

    .mag-drawer .mag-cur-list {
        list-style: none;
        margin: 0;
        padding: 14px 0 0 33px;
        display: flex;
        flex-direction: column;
        gap: 13px;
    }

    .mag-drawer .mag-cur-list a {
        display: block;
        width: auto;
        gap: 0;
        font-weight: 400;
        font-size: 12px;
        letter-spacing: 0.3px;
        line-height: 15px;
    }

    .mag-drawer .mag-cur-list a[aria-current="page"] {
        font-weight: 500;
    }

    .mag-cur-sym {
        opacity: 0.6;
    }
}

@media (max-width: 749px) {
    .mag-mbar {
        padding: 0 6.47%;
    }

    .mag-mleft,
    .mag-mright {
        gap: 20px;
    }

    .mag-mbar .mag-mi-20 {
        width: 18px;
        height: 18px;
    }
}
