.marrigold-shell-header,
.marrigold-shell-footer {
    --shell-cream: #fbf5ed;
    --shell-cocoa: #966b54;
    --shell-deep: #3d281f;
    --shell-gold: #eaa73e;
    --shell-ink: #3c332e;
    box-sizing: border-box;
    font-family: "Wix Madefor Text", Arial, sans-serif;
}

.marrigold-shell-header *,
.marrigold-shell-header *::before,
.marrigold-shell-header *::after,
.marrigold-shell-footer *,
.marrigold-shell-footer *::before,
.marrigold-shell-footer *::after {
    box-sizing: border-box;
}

.marrigold-shell-header {
    position: sticky;
    z-index: 9998;
    top: 0;
    width: 100%;
    color: var(--shell-ink);
    background: rgb(251 245 237 / 97%);
    border-bottom: 1px solid rgb(150 107 84 / 14%);
    box-shadow: 0 10px 30px rgb(61 40 31 / 4%);
    backdrop-filter: blur(14px);
}

.marrigold-shell-header__inner {
    position: relative;
    width: min(100%, 1920px);
    height: 100px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-inline: clamp(16px, 2.3vw, 44px);
    margin-inline: auto;
}

.marrigold-shell-brand {
    position: relative;
    grid-column: 2;
    width: 215px;
    height: 88px;
    display: block;
    overflow: hidden;
}

.marrigold-shell-brand img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 372px;
    max-width: none;
    height: auto;
    margin: 0;
    transform: translate(-50%, -44.6%);
}

.marrigold-shell-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marrigold-shell-cart,
.marrigold-shell-menu-button {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--shell-cocoa);
    background: #fff;
    border: 1px solid rgb(150 107 84 / 10%);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgb(75 43 29 / 8%);
    cursor: pointer;
}

.marrigold-shell-cart:hover,
.marrigold-shell-menu-button:hover,
.marrigold-shell-cart:focus-visible,
.marrigold-shell-menu-button:focus-visible {
    color: var(--shell-gold);
    border-color: rgb(234 167 62 / 36%);
    outline: none;
}

.marrigold-shell-cart svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.marrigold-shell-cart > span {
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding-inline: 4px;
    color: #fff;
    background: var(--shell-gold);
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.marrigold-shell-menu-button {
    align-content: center;
    gap: 4px;
}

.marrigold-shell-menu-button > span:not(.marrigold-shell-sr-only) {
    width: 21px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.marrigold-shell-menu-button.is-open > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.marrigold-shell-menu-button.is-open > span:nth-child(2) { opacity: 0; }
.marrigold-shell-menu-button.is-open > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.marrigold-shell-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.marrigold-shell-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: clamp(16px, 2.3vw, 44px);
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    padding: 18px 26px 24px;
    color: var(--shell-ink);
    background: var(--shell-cream);
    border: 1px solid rgb(150 107 84 / 15%);
    box-shadow: 0 28px 70px rgb(61 40 31 / 17%);
}

.marrigold-shell-navigation[hidden] { display: none !important; }
.marrigold-shell-navigation.is-open { display: block; }

.marrigold-shell-navigation > a,
.marrigold-shell-dropdown > button {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 2px;
    margin: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgb(150 107 84 / 10%);
    font: 600 14px/1.4 "Wix Madefor Text", Arial, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, padding-left .2s ease;
}

.marrigold-shell-navigation > a:hover,
.marrigold-shell-navigation > a:focus-visible,
.marrigold-shell-navigation > a[aria-current="page"],
.marrigold-shell-dropdown > button:hover,
.marrigold-shell-dropdown > button:focus-visible {
    padding-left: 7px;
    color: var(--shell-gold);
    outline: none;
}

.marrigold-shell-dropdown > button > span:last-child {
    color: var(--shell-gold);
    font-size: 20px;
    font-weight: 400;
    transition: transform .2s ease;
}

.marrigold-shell-dropdown > button > span:first-child {
    letter-spacing: .025em;
    text-transform: uppercase;
}

.marrigold-shell-dropdown.is-expanded > button > span:last-child { transform: rotate(45deg); }
.marrigold-shell-dropdown__panel[hidden] { display: none !important; }
.marrigold-shell-dropdown__panel { padding: 4px 0 10px 17px; }
.marrigold-shell-dropdown__panel a {
    display: block;
    padding: 8px 2px;
    color: #6d5a50;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}
.marrigold-shell-dropdown__panel a:hover,
.marrigold-shell-dropdown__panel a:focus-visible { color: var(--shell-gold); outline: none; }

.marrigold-shell-footer {
    width: 100%;
    color: #fff8f1;
    background: var(--shell-cocoa);
}

.marrigold-shell-footer__grid {
    width: min(1180px, calc(100% - 40px));
    display: grid;
    grid-template-columns: 1.45fr .75fr 1fr .65fr;
    gap: clamp(32px, 5vw, 72px);
    padding-block: 68px 58px;
    margin-inline: auto;
}

.marrigold-shell-footer h2 {
    padding: 0;
    margin: 0 0 18px;
    color: #fff;
    font: 500 29px/1.1 "Frank Ruhl Libre", Georgia, serif;
}

.marrigold-shell-footer p,
.marrigold-shell-footer a {
    padding: 0;
    margin: 0;
    color: #fff8f1;
    font: 400 14px/1.7 "Wix Madefor Text", Arial, sans-serif;
    text-decoration: none;
}

.marrigold-shell-footer a:hover,
.marrigold-shell-footer a:focus-visible { color: #ffd898; outline: none; }
.marrigold-shell-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.marrigold-shell-footer__brand { display: grid; align-content: start; gap: 7px; }
.marrigold-shell-footer__logo { position: relative; width: 270px; height: 108px; overflow: hidden; margin-bottom: 8px; }
.marrigold-shell-footer__logo img { position: absolute; top: 50%; left: 50%; width: 465px; max-width: none; height: auto; margin: 0; transform: translate(-50%, -44.6%); }
.marrigold-shell-footer__bottom { padding: 18px 20px; border-top: 1px solid rgb(255 255 255 / 16%); text-align: center; font-size: 13px; }

.marrigold-shell-scroll-top {
    position: fixed;
    z-index: 9997;
    right: 22px;
    bottom: 74px;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--shell-cocoa);
    background: #fff;
    border: 1px solid #ead9cb;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgb(48 31 21 / 15%);
    font-size: 22px;
    cursor: pointer;
}

.marrigold-shell-scroll-top[hidden] { display: none; }
body.marrigold-app-site main { padding-top: 0; }

@media (max-width: 900px) {
    .marrigold-shell-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .marrigold-shell-header__inner { height: 92px; padding-inline: 12px; }
    .marrigold-shell-brand { width: 176px; height: 76px; }
    .marrigold-shell-brand img { width: 307px; }
    .marrigold-shell-actions { gap: 6px; }
    .marrigold-shell-cart, .marrigold-shell-menu-button { width: 39px; height: 39px; }
    .marrigold-shell-navigation { right: 10px; width: calc(100vw - 20px); max-height: calc(100vh - 106px); padding-inline: 21px; }
    .marrigold-shell-footer__grid { grid-template-columns: 1fr; padding-block: 52px 45px; }
    .marrigold-shell-footer__logo { width: 235px; height: 98px; }
    .marrigold-shell-footer__logo img { width: 410px; }
}
