:root {
    --sage: #6b9478;
    --sage-mid: #8cb49a;
    --sage-light: #c4daca;
    --sage-extra-light: #e8f2eb;
    --cream: #f8f4ee;
    --parchment: #ede8df;
    --linen: #e6dfd3;
    --ink: #1a1a18;
    --ink-70: rgba(26, 26, 24, 0.70);
    --ink-45: rgba(26, 26, 24, 0.45);
    --ink-20: rgba(26, 26, 24, 0.20);
    --gold: #a8845a;
    --gold-light: #c9a87a;
}

/* Inter */

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-v20-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Cormorant Garamond */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/cormorant-garamond-v21-latin-300italic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Playfair Display */

@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/playfair-display-v40-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/playfair-display-v40-latin-600italic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

html.storefront-shell {
    max-width: 100%;
    overflow-x: clip;
    scrollbar-color: var(--sage) var(--cream);
    scrollbar-width: thin;
}

html.storefront-shell::-webkit-scrollbar {
    height: 0.85rem;
    width: 0.85rem;
}

html.storefront-shell::-webkit-scrollbar-track {
    background:
        linear-gradient(180deg, rgba(248, 244, 238, 0.96), rgba(232, 242, 235, 0.7));
}

html.storefront-shell::-webkit-scrollbar-thumb {
    background:
        linear-gradient(180deg, var(--sage), var(--gold));
    border: 3px solid var(--cream);
    border-radius: 999px;
}

html.storefront-shell::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, var(--sage-mid), var(--gold-light));
}

html.admin-shell,
html.admin-shell * {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html.admin-shell::-webkit-scrollbar,
html.admin-shell *::-webkit-scrollbar,
.scrollbarDisplayNone::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

body.storefront-body {
    max-width: 100%;
    overflow-x: clip;
}

a {
    text-decoration: none;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
}

picture {
    display: contents;
}

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgba(107, 148, 120, 0.42);
    outline-offset: 3px;
}

::selection {
    background: var(--sage-light);
    color: var(--ink);
}

.font-serif-display {
    font-family: "Playfair Display", Georgia, serif;
}

.font-serif-body {
    font-family: "Cormorant Garamond", Georgia, serif;
}

.error-shell,
.error-shell * {
    box-sizing: border-box;
}

.error-shell {
    background: var(--cream);
    color: var(--ink);
    margin: 0;
    min-height: 100vh;
}

.error-page {
    align-items: center;
    display: grid;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(1rem, 3vw, 2.5rem);
    position: relative;
}

.error-backdrop {
    inset: 0;
    position: absolute;
    z-index: -2;
}

.error-backdrop::after {
    background:
        linear-gradient(105deg, rgba(248, 244, 238, 0.98) 0%, rgba(248, 244, 238, 0.94) 46%, rgba(248, 244, 238, 0.68) 100%),
        radial-gradient(circle at 12% 14%, rgba(107, 148, 120, 0.16), transparent 25rem),
        radial-gradient(circle at 84% 76%, rgba(168, 132, 90, 0.14), transparent 23rem);
    content: "";
    inset: 0;
    position: absolute;
}

.error-backdrop img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7;
    width: 100%;
}

.error-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(26, 26, 24, 0.13);
    margin: 0 auto;
    max-width: 72rem;
    overflow: hidden;
    width: 100%;
}

.error-topbar {
    align-items: center;
    border-bottom: 1px solid rgba(26, 26, 24, 0.09);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: clamp(1rem, 2.4vw, 1.45rem) clamp(1rem, 3vw, 2rem);
}

.error-brand {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
    font-style: italic;
    gap: 0.75rem;
    line-height: 1;
}

.error-brand img {
    height: 2rem;
    object-fit: contain;
    width: auto;
}

.error-code-pill,
.error-eyebrow {
    border: 1px solid rgba(107, 148, 120, 0.24);
    border-radius: 999px;
    color: var(--sage);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.error-code-pill {
    background: rgba(232, 242, 235, 0.72);
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
}

.error-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    padding: clamp(1.35rem, 5vw, 4rem);
}

.error-copy {
    align-self: center;
}

.error-eyebrow {
    background: rgba(255, 255, 255, 0.68);
    display: inline-flex;
    margin: 0 0 1.15rem;
    padding: 0.52rem 0.82rem;
}

.error-copy h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0;
    max-width: 12ch;
}

.error-message,
.error-detail,
.error-panel-message,
.error-support-list {
    color: var(--ink-70);
    font-size: 0.96rem;
    line-height: 1.75;
}

.error-message {
    margin: 1.35rem 0 0;
    max-width: 42rem;
}

.error-detail {
    background: rgba(248, 244, 238, 0.74);
    border-left: 3px solid var(--sage-light);
    border-radius: 8px;
    margin: 1.15rem 0 0;
    max-width: 40rem;
    padding: 0.9rem 1rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.85rem;
}

.error-button {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.82rem 1.2rem;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.error-button:hover {
    transform: translateY(-1px);
}

.error-button-primary {
    background: var(--sage);
    border: 1px solid var(--sage);
    color: #fff;
}

.error-button-secondary {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(107, 148, 120, 0.45);
    color: var(--sage);
}

.error-button-secondary:hover {
    background: var(--sage-extra-light);
    border-color: var(--sage);
}

.error-side-panel {
    align-content: start;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 238, 0.86));
    border: 1px solid rgba(26, 26, 24, 0.09);
    border-radius: 8px;
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.1rem, 3vw, 1.6rem);
}

.error-status-mark {
    align-items: center;
    aspect-ratio: 1;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95), rgba(232, 242, 235, 0.92)),
        linear-gradient(135deg, rgba(107, 148, 120, 0.22), rgba(168, 132, 90, 0.18));
    border: 1px solid rgba(107, 148, 120, 0.24);
    border-radius: 999px;
    color: var(--sage);
    display: grid;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-style: italic;
    justify-content: center;
    line-height: 1;
    max-width: 11rem;
    width: 100%;
}

.error-panel-title {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.error-panel-message {
    margin: 0.55rem 0 0;
}

.error-support-list {
    border-top: 1px solid rgba(26, 26, 24, 0.09);
    display: grid;
    gap: 0.68rem;
    list-style: none;
    margin: 0;
    padding: 1.1rem 0 0;
}

.error-support-list li {
    align-items: baseline;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 0.45rem 1fr;
}

.error-support-list li::before {
    background: var(--sage);
    border-radius: 999px;
    content: "";
    height: 0.45rem;
    margin-top: 0.62rem;
    width: 0.45rem;
}

@media (max-width: 760px) {
    .error-page {
        min-height: 100svh;
        padding: 0;
    }

    .error-card {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
        min-height: 100svh;
    }

    .error-topbar {
        align-items: flex-start;
    }

    .error-code-pill {
        letter-spacing: 0.1em;
    }

    .error-grid {
        grid-template-columns: 1fr;
        padding: 1.35rem;
    }

    .error-copy h1 {
        max-width: 9ch;
    }

    .error-actions,
    .error-button {
        width: 100%;
    }

    .error-side-panel {
        margin-top: 0.25rem;
    }
}

.hero-grain::after {
    background-image:
        radial-gradient(circle at 25% 15%, rgba(107, 148, 120, 0.12), transparent 28rem),
        radial-gradient(circle at 78% 22%, rgba(168, 132, 90, 0.12), transparent 22rem),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.ornament-ring {
    aspect-ratio: 1;
    border: 1px solid rgba(107, 148, 120, 0.32);
    border-radius: 999px;
    height: min(72vw, 42rem);
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ornament-ring::before,
.ornament-ring::after {
    border: 1px solid rgba(168, 132, 90, 0.24);
    border-radius: inherit;
    content: "";
    inset: 12%;
    position: absolute;
}

.ornament-ring::after {
    inset: 28%;
}

.corner-frame {
    position: relative;
}

.corner-frame::before,
.corner-frame::after {
    border-color: var(--gold);
    content: "";
    height: 2.5rem;
    opacity: 0.8;
    position: absolute;
    width: 2.5rem;
    z-index: 1;
}

.corner-frame::before {
    border-left: 1px solid;
    border-top: 1px solid;
    left: 0.5rem;
    top: 0.5rem;
}

.corner-frame::after {
    border-bottom: 1px solid;
    border-right: 1px solid;
    bottom: 0.5rem;
    right: 0.5rem;
}

.attention-strip {
    position: relative;
    z-index: 30;
}

.attention-track {
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.attention-chip {
    box-shadow: 0 10px 24px rgba(107, 148, 120, 0.08);
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.attention-chip:hover {
    background-color: #fff;
    border-color: var(--sage);
    transform: translateY(-2px);
}

.floating-care-nudge {
    align-items: center;
    background: rgba(23, 27, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    bottom: 1.25rem;
    box-shadow: 0 22px 56px rgba(26, 26, 24, 0.24);
    color: #fff;
    gap: 0.75rem;
    padding: 0.78rem 1rem;
    position: fixed;
    right: 1.25rem;
    transition: transform 220ms ease, box-shadow 220ms ease;
    z-index: 45;
}

.floating-care-nudge:hover {
    box-shadow: 0 28px 70px rgba(26, 26, 24, 0.3);
    transform: translateY(-3px);
}

.floating-care-nudge strong,
.floating-care-nudge small {
    display: block;
    line-height: 1.15;
}

.floating-care-nudge strong {
    font-size: 0.82rem;
}

.floating-care-nudge small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    margin-top: 0.18rem;
}

.attention-pulse {
    background: var(--gold-light);
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(201, 168, 122, 0.65);
    display: inline-flex;
    height: 0.62rem;
    width: 0.62rem;
}

.attention-card {
    overflow: hidden;
    position: relative;
}

.attention-card::after {
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.58), transparent 80%);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-120%);
    transition: opacity 240ms ease, transform 700ms ease;
}

.attention-card:hover::after {
    opacity: 1;
    transform: translateX(120%);
}

.attention-cta {
    overflow: hidden;
    position: relative;
}

.attention-cta::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    content: "";
    inset: 0;
    position: absolute;
    transform: translateX(-130%);
    transition: transform 650ms ease;
}

.attention-cta:hover::before {
    transform: translateX(130%);
}

.micro-proof {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--ink-20);
    border-radius: 999px;
    color: var(--ink-70);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.4rem;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.72rem;
    text-transform: uppercase;
}

@keyframes attentionPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 168, 122, 0.62);
    }

    70% {
        box-shadow: 0 0 0 0.72rem rgba(201, 168, 122, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 122, 0);
    }
}

.attention-pulse {
    animation: attentionPulse 2.1s ease-out infinite;
}

.site-header {
    max-width: 100%;
    overflow: visible;
    z-index: 70;
}

.site-header-inner {
    gap: clamp(0.5rem, 2vw, 1rem);
    max-width: min(80rem, 100%);
    min-width: 0;
    width: 100%;
}

.site-header-brand {
    flex: 0 1 auto;
    min-width: 0;
}

.site-header-brand img {
    display: block;
    max-width: clamp(6.4rem, 32vw, 11rem);
}

.site-header-actions {
    flex: 0 1 auto;
    justify-content: flex-end;
    min-width: 0;
}

.site-header-actions > * {
    flex-shrink: 0;
}

@media (max-width: 380px) {
    .site-header-inner {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .site-header-brand img {
        max-width: 6.2rem;
    }

    .site-header-actions {
        gap: 0.35rem;
    }

    .site-header-actions [data-search-open],
    .site-header-actions [data-cart-open] {
        padding-left: 0.62rem;
        padding-right: 0.62rem;
    }
}

.custom-burger {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ink-20);
    border-radius: 999px;
    flex-direction: column;
    gap: 0.23rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.custom-burger span {
    background: var(--ink);
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform 220ms ease, opacity 220ms ease;
    width: 1.05rem;
}

body.mobile-menu-open .custom-burger span:nth-child(1) {
    transform: translateY(0.32rem) rotate(45deg);
}

body.mobile-menu-open .custom-burger span:nth-child(2) {
    opacity: 0;
}

body.mobile-menu-open .custom-burger span:nth-child(3) {
    transform: translateY(-0.32rem) rotate(-45deg);
}

.mobile-menu-overlay {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 260ms ease;
    z-index: 40;
}

.mobile-menu-panel {
    background: var(--cream);
    box-shadow: 0 24px 70px rgba(26, 26, 24, 0.22);
    height: 100dvh;
    inset: 0;
    opacity: 0;
    overscroll-behavior: contain;
    pointer-events: none;
    position: fixed;
    transform: translateX(100%);
    transition:
        opacity 260ms ease,
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-overflow-scrolling: touch;
    width: 100vw;         /* ✅ constrain width */
    overflow-x: hidden;   /* ✅ clip inner content */
    left: 0;              /* ✅ anchor to viewport left edge */
    right: 0;             /* ✅ anchor to viewport right edge */
}

body.mobile-menu-open {
    overscroll-behavior: none;
    overflow: hidden;
    overflow-x: hidden;
}

.mobile-menu-panel {
    box-sizing: border-box;
    left: 0;
    max-height: 100dvh;
    max-width: 100dvw;
    overflow-x: clip;
    overflow-y: auto;
    right: 0;
    width: 100dvw;
    z-index: 50;
}

.mobile-menu-head,
.mobile-menu-body,
.mobile-menu-links,
.mobile-menu-link {
    max-width: 100%;
    min-width: 0;
}

.mobile-menu-body {
    min-height: calc(100dvh - 4.5rem);
}

.mobile-menu-link {
    overflow: hidden;
}

body.mobile-menu-open {
    width: 100%;
}

body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.mobile-menu-open .mobile-menu-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.mobile-menu-overlay {
    background: rgba(26, 26, 24, 0.42);
    z-index: 70;
}

.mobile-menu-panel {
    background: var(--cream);
    border-left: 1px solid rgba(26, 26, 24, 0.12);
    box-shadow: -24px 0 70px rgba(26, 26, 24, 0.22);
    box-sizing: border-box;
    inset: 0 0 0 auto;
    left: auto;
    max-height: 100dvh;
    max-width: min(88dvw, 24rem);
    overflow-x: clip;
    overflow-y: auto;
    right: 0;
    transform: translateX(calc(100% + 1px));
    width: min(88dvw, 24rem);
    z-index: 80;
}

body.mobile-menu-open .mobile-menu-panel {
    transform: translateX(0);
}

@media (max-width: 380px) {
    .mobile-menu-panel {
        max-width: min(92dvw, 23rem);
        width: min(92dvw, 23rem);
    }

    .mobile-menu-head,
    .mobile-menu-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 768px) {
    .mobile-menu-overlay,
    .mobile-menu-panel {
        display: none;
    }
}

.responsive-table {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.responsive-table table {
    min-width: 48rem;
}

.faq-panel {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 260ms ease, opacity 220ms ease;
}

.faq-panel.is-collapsed {
    grid-template-rows: 0fr;
    opacity: 0;
}

.faq-panel-inner {
    overflow: hidden;
}

[data-faq-trigger][aria-expanded="true"] [data-faq-icon] {
    transform: rotate(180deg);
}

.shop-filter-overlay,
.admin-sidebar-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
}

.shop-filter-panel,
.admin-sidebar {
    transform: translateX(-105%);
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        width 320ms cubic-bezier(0.22, 1, 0.36, 1),
        padding 320ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms ease;
    will-change: transform, width, padding;
}

.admin-sidebar-brand,
.admin-sidebar [data-admin-nav-link],
.admin-sidebar [data-admin-nav-link] > span:first-child {
    transition:
        gap 260ms ease,
        justify-content 260ms ease,
        width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-admin-brand-logo],
[data-admin-header-logo],
.admin-sidebar [data-admin-sidebar-label],
.admin-sidebar [data-admin-sidebar-meta] {
    max-width: 14rem;
    opacity: 1;
    overflow: hidden;
    transition:
        max-width 260ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 180ms ease,
        padding 220ms ease,
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

[data-admin-brand-logo],
[data-admin-header-logo] {
    display: block;
    transform: scale(1);
    transform-origin: left center;
}

[data-admin-brand-icon],
[data-admin-header-icon] {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: scale(0.84);
    transform-origin: center;
    transition:
        max-width 260ms cubic-bezier(0.22, 1, 0.36, 1),
        width 260ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 180ms ease,
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-admin-brand-icon] {
    display: grid;
    width: 0;
}

[data-admin-header-icon] {
    display: block;
    width: 0;
}

.admin-sidebar [data-admin-sidebar-copy] {
    max-height: 16rem;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transition:
        max-height 280ms cubic-bezier(0.22, 1, 0.36, 1),
        margin 280ms cubic-bezier(0.22, 1, 0.36, 1),
        padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 220ms ease,
        opacity 180ms ease,
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.filter-drawer-open .shop-filter-overlay,
body.admin-sidebar-open .admin-sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.filter-drawer-open .shop-filter-panel,
body.admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .admin-sidebar {
        transform: none;
    }

    .admin-sidebar-overlay {
        display: none;
    }

    body.admin-sidebar-collapsed .admin-sidebar {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        width: 5.5rem;
    }

    body.admin-sidebar-collapsed .admin-sidebar-brand {
        justify-content: center;
        width: 100%;
    }

    body.admin-sidebar-collapsed [data-admin-brand-logo],
    body.admin-sidebar-collapsed [data-admin-header-logo] {
        max-width: 0;
        opacity: 0;
        transform: scale(0.92);
    }

    body.admin-sidebar-collapsed [data-admin-brand-icon] {
        display: grid;
        max-width: 2.75rem;
        opacity: 1;
        transform: scale(1);
        width: 2.75rem;
    }

    body.admin-sidebar-collapsed [data-admin-header-icon] {
        display: block;
        max-width: 2.25rem;
        opacity: 1;
        transform: scale(1);
        width: 2.25rem;
    }

    body.admin-sidebar-collapsed [data-admin-sidebar-label],
    body.admin-sidebar-collapsed [data-admin-sidebar-meta] {
        max-width: 0;
        opacity: 0;
        padding-left: 0;
        padding-right: 0;
        transform: translateX(-0.35rem);
    }

    body.admin-sidebar-collapsed [data-admin-sidebar-copy] {
        border-color: transparent;
        margin-top: 0;
        max-height: 0;
        opacity: 0;
        padding-bottom: 0;
        padding-top: 0;
        transform: translateY(-0.35rem);
    }

    body.admin-sidebar-collapsed [data-admin-nav-link] {
        justify-content: center;
    }

    body.admin-sidebar-collapsed [data-admin-nav-link] > span:first-child {
        gap: 0;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .shop-filter-panel {
        transform: none;
    }

    .shop-filter-overlay {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
