.drm-menu-app {
    --drm-page: #f2f3f1;
    --drm-bg: #f7f7f5;
    --drm-surface: #ffffff;
    --drm-surface-soft: #f0f0ec;
    --drm-text: #171612;
    --drm-muted: #6f6a60;
    --drm-border: #e5e5df;
    --drm-danger: #d63f34;
    --drm-shadow: 0 10px 30px rgba(23, 22, 18, 0.07);
    --drm-radius: 8px;

    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 18px;
    border-radius: 8px;
    background: var(--drm-bg);
    color: var(--drm-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Sticky candy stage */
@keyframes drmCandyGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.drm-menu-app {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 214, 234, 0.82) 0 18%, transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(238, 45, 74, 0.2) 0 16%, transparent 34%),
        linear-gradient(135deg, #fff6fb 0%, #ffd3e7 28%, #ff6f93 58%, #ee2d4a 100%);
    background-size: 160% 160%;
    animation: drmCandyGradient 16s ease-in-out infinite;
    border: 0;
    box-shadow: none;
}

.drm-hero {
    position: sticky;
    top: 0;
    z-index: 80;
    height: clamp(112px, 16vw, 168px);
    margin: 0 -14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    pointer-events: none;
}

.admin-bar .drm-hero {
    top: 32px;
}

.drm-hero-image {
    object-fit: cover;
    object-position: center top;
    filter: drop-shadow(0 10px 16px rgba(111, 33, 72, 0.12));
}

.drm-toolbar {
    position: sticky;
    top: clamp(112px, 16vw, 168px);
    z-index: 70;
    margin: 0 -14px;
    padding: 14px 14px 12px;
    background: transparent;
}

.admin-bar .drm-toolbar {
    top: calc(32px + clamp(112px, 16vw, 168px));
}

.drm-search {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
}

.drm-category,
.drm-subcategory {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
}

.drm-category.is-active,
.drm-category:hover,
.drm-subcategory.is-active,
.drm-subcategory:hover {
    box-shadow: 0 10px 22px rgba(238, 45, 74, 0.18);
}

.drm-card,
.drm-empty,
.drm-empty-static {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
    .drm-menu-app {
        animation: none;
    }
}

@media (max-width: 640px) {
    .drm-hero {
        height: 112px;
        margin-right: -10px;
        margin-left: -10px;
    }

    .admin-bar .drm-hero {
        top: 46px;
    }

    .drm-toolbar {
        top: 112px;
        margin-right: -10px;
        margin-left: -10px;
        padding: 14px 10px 12px;
    }

    .admin-bar .drm-toolbar {
        top: 158px;
    }
}

/* Hans & Gretel candy theme */
.drm-menu-app {
    --drm-page: #fff4fb;
    --drm-bg: #fff7fc;
    --drm-surface: #ffffff;
    --drm-surface-soft: #ffeaf4;
    --drm-text: #3f1831;
    --drm-muted: #8b5f78;
    --drm-border: #ffd0e5;
    --drm-danger: #df3354;
    --drm-shadow: 0 12px 30px rgba(238, 45, 111, 0.12);

    width: min(1080px, 100%);
    padding: 0 10px 118px;
    background:
        linear-gradient(180deg, #fff0f8 0%, #fff9fd 42%, #ffffff 100%);
    border: 1px solid rgba(255, 180, 216, 0.7);
    box-shadow: 0 18px 50px rgba(238, 45, 111, 0.1);
}

.drm-hero {
    position: sticky;
    top: 0;
    z-index: 45;
    min-height: 0;
    height: clamp(112px, 16vw, 168px);
    display: block;
    padding: 0;
    margin: 0 -14px 10px;
    border: 0;
    border-radius: 0 0 22px 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(111, 33, 72, 0.15);
    overflow: hidden;
}

.admin-bar .drm-hero {
    top: 32px;
}

.drm-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.drm-toolbar {
    top: clamp(112px, 16vw, 168px);
    gap: 9px;
    padding: 8px 0 12px;
    background: linear-gradient(to bottom, rgba(255, 247, 252, 0.98) 0%, rgba(255, 247, 252, 0.96) 86%, rgba(255, 247, 252, 0));
}

.admin-bar .drm-toolbar {
    top: calc(32px + clamp(112px, 16vw, 168px));
}

.drm-search {
    height: 46px;
    border-color: #ffc2dc;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 22px rgba(238, 45, 111, 0.09);
}

.drm-search span {
    border-color: #ee4772;
}

.drm-search span::after {
    background: #ee4772;
}

.drm-search input {
    color: #4a1837;
    font-weight: 850;
}

.drm-search input::placeholder {
    color: #ba789c;
}

.drm-categories {
    gap: 9px;
    padding: 0 2px 3px;
}

.drm-category,
.drm-subcategory {
    border-color: #ffc3df;
    border-radius: 999px;
    background: #fff;
    color: #6f214a;
    box-shadow: 0 7px 16px rgba(238, 45, 111, 0.09);
}

.drm-category:hover,
.drm-category.is-active {
    background: var(--drm-primary);
    border-color: var(--drm-primary);
    color: #fff;
}

.drm-subcategory {
    background: #fff0f7;
    color: #8a2d5b;
}

.drm-subcategory.is-active,
.drm-subcategory:hover {
    background: var(--drm-button);
    border-color: var(--drm-button);
    color: #fff;
}

.drm-grid {
    gap: 14px;
    border: 0;
    background: transparent;
}

.drm-card {
    grid-template-columns: 132px 1fr;
    gap: 14px;
    min-height: 158px;
    border: 1px solid #ffd2e6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(238, 45, 111, 0.09);
    overflow: hidden;
}

.drm-card:hover {
    background: #fffafd;
    box-shadow: 0 14px 34px rgba(238, 45, 111, 0.13);
}

.drm-card-media {
    width: 132px;
    height: 132px;
    border-radius: 16px;
    background: #ffeaf4;
}

.drm-placeholder {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 224, 240, 0.9)),
        linear-gradient(135deg, #ffd0e7, #fff3bd);
    color: #c94977;
}

.drm-badge {
    background: #ee2d4a;
    box-shadow: 0 5px 14px rgba(238, 45, 74, 0.22);
}

.drm-card-body {
    gap: 8px;
    padding-right: 46px;
}

.drm-card-heading h2 {
    color: #42142f;
    font-size: 16px;
    font-weight: 950;
}

.drm-price {
    color: #ee2d4a;
    font-size: 13.5px;
    font-weight: 950;
}

.drm-description {
    color: #80556e;
    font-size: 12.8px;
}

.drm-meta-row > span,
.drm-product-meta > span {
    border-color: #ffd4e6;
    background: #fff0f7;
    color: #7b2a53;
}

.drm-allergens {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}

.drm-allergens strong {
    color: #9b5d7c;
    font-size: 10.5px;
    font-weight: 950;
    line-height: 1;
}

.drm-allergen-chip {
    border-color: #ffc7df;
    background: #fff4fa;
    color: #8a2d5b;
}

.drm-action,
.drm-selection-float,
.drm-cart-float,
.drm-clear-selection {
    background: var(--drm-button);
}

.drm-action.is-selected,
.drm-send-whatsapp,
.drm-checkout-button,
.drm-product-cta {
    background: var(--drm-primary);
}

.drm-product-sheet,
.drm-drawer,
.drm-cart-drawer {
    border-color: #ffc9e1;
    box-shadow: 0 30px 90px rgba(111, 33, 72, 0.26);
}

.drm-product-head h2,
.drm-drawer-head h3,
.drm-total-row strong,
.drm-selection-top strong,
.drm-cart-top strong {
    color: #42142f;
}

.drm-product-head strong,
.drm-selection-top span,
.drm-cart-top span {
    color: #ee2d4a;
}

.drm-selection-count,
.drm-cart-count {
    background: #ffd64f;
    color: #4a1837;
}

.drm-footnote,
.drm-search,
.drm-selection-float {
    display: none;
}

.drm-empty,
.drm-empty-static {
    border-color: rgba(255, 255, 255, 0.54);
    background: rgba(255, 255, 255, 0.84);
    color: #7d124d;
}

@media (max-width: 640px) {
    .drm-menu-app {
        padding: 0 10px 112px;
        border-right: 0;
        border-left: 0;
    }

    .drm-hero {
        height: 112px;
        margin-right: -10px;
        margin-left: -10px;
        border-radius: 0;
    }

    .admin-bar .drm-hero {
        top: 46px;
    }

    .drm-toolbar {
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        left: max(8px, env(safe-area-inset-left));
        padding: 9px;
        border-radius: 20px;
    }

    .admin-bar .drm-toolbar {
        top: auto;
    }

    .drm-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 140px;
        gap: 12px;
        padding: 11px;
        border-radius: 24px;
    }

    .drm-card-media {
        width: 112px;
        height: 118px;
        border-radius: 20px;
    }

    .drm-card-heading h2 {
        font-size: 15.5px;
    }

    .drm-description {
        font-size: 12px;
    }

    .drm-allergens {
        display: flex;
    }

    .drm-allergens strong {
        display: none;
    }

    .drm-allergen-chip {
        min-width: 23px;
        min-height: 23px;
        padding: 0 7px;
        font-size: 10px;
    }
}

/* Left-anchored bottom category rail */
.drm-toolbar {
    width: min(396px, calc(100vw - 28px));
    justify-content: flex-start;
    padding: 9px 12px;
}

.drm-main-categories {
    gap: 10px;
    padding: 0;
    scroll-padding-inline: 0 24px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}

.drm-category.is-active {
    position: sticky;
    left: 0;
    z-index: 2;
    width: min(198px, 50vw);
    min-width: min(198px, 50vw);
    scroll-snap-align: none;
}

@media (max-width: 640px) {
    .drm-toolbar {
        width: min(372px, calc(100vw - 18px));
        padding: 8px 10px;
    }

    .drm-main-categories {
        padding: 0;
        scroll-padding-inline: 0 20px;
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 20px), transparent 100%);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 20px), transparent 100%);
    }

    .drm-category.is-active {
        width: min(178px, 48vw);
        min-width: min(178px, 48vw);
    }
}

/* Left-anchored bottom category rail */
.drm-toolbar {
    width: min(396px, calc(100vw - 28px));
    justify-content: flex-start;
    padding: 9px 12px;
}

.drm-main-categories {
    gap: 10px;
    padding: 0;
    scroll-padding-inline: 0 24px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}

.drm-category.is-active {
    position: sticky;
    left: 0;
    z-index: 2;
    width: min(198px, 50vw);
    min-width: min(198px, 50vw);
    scroll-snap-align: none;
}

@media (max-width: 640px) {
    .drm-toolbar {
        width: min(372px, calc(100vw - 18px));
        padding: 8px 10px;
    }

    .drm-main-categories {
        padding: 0;
        scroll-padding-inline: 0 20px;
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 20px), transparent 100%);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 20px), transparent 100%);
    }

    .drm-category.is-active {
        width: min(178px, 48vw);
        min-width: min(178px, 48vw);
    }
}

/* Bottom category slider - true final layer */
.drm-toolbar {
    width: min(396px, calc(100vw - 28px));
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 9px 12px;
    border: 2px solid rgba(255, 95, 132, 0.72);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(128, 14, 55, 0.92), rgba(88, 12, 45, 0.94));
    box-shadow:
        0 20px 48px rgba(87, 0, 44, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.drm-main-categories {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: visible;
    touch-action: pan-y;
    user-select: none;
}

.drm-main-categories.is-dragging .drm-category {
    transition-duration: 0.08s;
}

.drm-main-categories.is-switching-next .drm-category.is-active {
    animation: drmCategoryInNext 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-main-categories.is-switching-prev .drm-category.is-active {
    animation: drmCategoryInPrev 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-category {
    position: relative;
    order: 2;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 173, 196, 0.62);
    text-shadow: none;
    box-shadow: none;
    opacity: 0.78;
    transition:
        width 0.32s cubic-bezier(0.2, 0.9, 0.22, 1),
        min-width 0.32s cubic-bezier(0.2, 0.9, 0.22, 1),
        background 0.24s ease,
        color 0.24s ease,
        opacity 0.24s ease,
        transform 0.24s ease;
}

.drm-category:not(.is-active) + .drm-category:not(.is-active)::before {
    content: "";
    position: absolute;
    left: -7px;
    width: 1px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.drm-category:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffd5e0;
    opacity: 1;
    transform: translateY(-1px);
}

.drm-category.is-active {
    order: 1;
    width: min(216px, 50vw);
    min-width: min(216px, 50vw);
    justify-content: flex-start;
    gap: 10px;
    padding: 0 20px;
    background: #fffaf4;
    color: #ee2d4a;
    box-shadow:
        0 12px 26px rgba(40, 0, 20, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.drm-main-categories.is-dragging .drm-category {
    transition-duration: 0.08s;
}

.drm-main-categories.is-switching-next .drm-category.is-active {
    animation: drmCategoryInNext 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-main-categories.is-switching-prev .drm-category.is-active {
    animation: drmCategoryInPrev 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-category-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-grid;
    place-items: center;
}

.drm-category-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drm-category-label {
    max-width: 0;
    display: inline-block;
    overflow: hidden;
    color: currentColor;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    transition:
        max-width 0.3s cubic-bezier(0.2, 0.9, 0.22, 1),
        opacity 0.22s ease,
        transform 0.22s ease;
}

.drm-category.is-active .drm-category-label {
    max-width: 150px;
    opacity: 1;
    transform: translateX(0);
}

.drm-category-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-grid;
    place-items: center;
}

.drm-category-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drm-category-label {
    max-width: 0;
    display: inline-block;
    overflow: hidden;
    color: currentColor;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    transition:
        max-width 0.3s cubic-bezier(0.2, 0.9, 0.22, 1),
        opacity 0.22s ease,
        transform 0.22s ease;
}

.drm-category.is-active .drm-category-label {
    max-width: 150px;
    opacity: 1;
    transform: translateX(0);
}

.drm-sub-categories {
    display: none !important;
}

@media (max-width: 640px) {
    .drm-toolbar {
        width: min(476px, calc(100vw - 28px));
        min-height: 70px;
        padding: 8px 12px;
    }

    .drm-main-categories {
        gap: 10px;
    }

    .drm-category {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
    }

    .drm-category.is-active {
        width: min(202px, 51vw);
        min-width: min(202px, 51vw);
        padding: 0 17px;
    }

    .drm-category-icon,
    .drm-category-icon svg {
        width: 23px;
        height: 23px;
    }

    .drm-category-label {
        font-size: 14.5px;
    }
}

/* Bottom category slider - final layer */
.drm-toolbar {
    width: min(396px, calc(100vw - 28px));
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 9px 12px;
    border: 2px solid rgba(255, 95, 132, 0.72);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(128, 14, 55, 0.92), rgba(88, 12, 45, 0.94));
    box-shadow:
        0 20px 48px rgba(87, 0, 44, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.drm-main-categories {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: visible;
    touch-action: pan-y;
    user-select: none;
}

.drm-main-categories.is-dragging .drm-category {
    transition-duration: 0.08s;
}

.drm-main-categories.is-switching-next .drm-category.is-active {
    animation: drmCategoryInNext 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-main-categories.is-switching-prev .drm-category.is-active {
    animation: drmCategoryInPrev 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-category {
    position: relative;
    order: 2;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 173, 196, 0.62);
    text-shadow: none;
    box-shadow: none;
    opacity: 0.78;
    transition:
        width 0.32s cubic-bezier(0.2, 0.9, 0.22, 1),
        min-width 0.32s cubic-bezier(0.2, 0.9, 0.22, 1),
        background 0.24s ease,
        color 0.24s ease,
        opacity 0.24s ease,
        transform 0.24s ease;
}

.drm-category:not(.is-active) + .drm-category:not(.is-active)::before {
    content: "";
    position: absolute;
    left: -7px;
    width: 1px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.drm-category:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffd5e0;
    opacity: 1;
    transform: translateY(-1px);
}

.drm-category.is-active {
    order: 1;
    width: min(216px, 50vw);
    min-width: min(216px, 50vw);
    justify-content: flex-start;
    gap: 10px;
    padding: 0 20px;
    background: #fffaf4;
    color: #ee2d4a;
    box-shadow:
        0 12px 26px rgba(40, 0, 20, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.drm-category-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-grid;
    place-items: center;
}

.drm-category-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drm-category-label {
    max-width: 0;
    display: inline-block;
    overflow: hidden;
    color: currentColor;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    transition:
        max-width 0.3s cubic-bezier(0.2, 0.9, 0.22, 1),
        opacity 0.22s ease,
        transform 0.22s ease;
}

.drm-category.is-active .drm-category-label {
    max-width: 150px;
    opacity: 1;
    transform: translateX(0);
}

.drm-sub-categories {
    display: none !important;
}

@media (max-width: 640px) {
    .drm-toolbar {
        width: min(476px, calc(100vw - 28px));
        min-height: 70px;
        padding: 8px 12px;
    }

    .drm-main-categories {
        gap: 10px;
    }

    .drm-category {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
    }

    .drm-category.is-active {
        width: min(202px, 51vw);
        min-width: min(202px, 51vw);
        padding: 0 17px;
    }

    .drm-category-icon,
    .drm-category-icon svg {
        width: 23px;
        height: 23px;
    }

    .drm-category-label {
        font-size: 14.5px;
    }
}

/* Bottom category slider */
@keyframes drmCategoryInNext {
    from {
        opacity: 0;
        transform: translateX(28px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes drmCategoryInPrev {
    from {
        opacity: 0;
        transform: translateX(-28px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.drm-toolbar {
    width: min(476px, calc(100vw - 32px));
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 2px solid rgba(255, 95, 132, 0.72);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(128, 14, 55, 0.92), rgba(88, 12, 45, 0.94));
    box-shadow:
        0 20px 48px rgba(87, 0, 44, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.drm-main-categories {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: visible;
    touch-action: pan-y;
    user-select: none;
}

.drm-main-categories.is-dragging .drm-category {
    transition-duration: 0.08s;
}

.drm-main-categories.is-switching-next .drm-category.is-active {
    animation: drmCategoryInNext 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-main-categories.is-switching-prev .drm-category.is-active {
    animation: drmCategoryInPrev 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-category {
    position: relative;
    order: 2;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 173, 196, 0.62);
    text-shadow: none;
    box-shadow: none;
    opacity: 0.78;
    transition:
        width 0.32s cubic-bezier(0.2, 0.9, 0.22, 1),
        min-width 0.32s cubic-bezier(0.2, 0.9, 0.22, 1),
        background 0.24s ease,
        color 0.24s ease,
        opacity 0.24s ease,
        transform 0.24s ease;
}

.drm-category:not(.is-active) + .drm-category:not(.is-active)::before {
    content: "";
    position: absolute;
    left: -7px;
    width: 1px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.drm-category:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffd5e0;
    opacity: 1;
    transform: translateY(-1px);
}

.drm-category.is-active {
    order: 1;
    width: min(216px, 50vw);
    min-width: min(216px, 50vw);
    justify-content: flex-start;
    gap: 10px;
    padding: 0 20px;
    background: #fffaf4;
    color: #ee2d4a;
    box-shadow:
        0 12px 26px rgba(40, 0, 20, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.drm-category-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-grid;
    place-items: center;
}

.drm-category-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drm-category-label {
    max-width: 0;
    display: inline-block;
    overflow: hidden;
    color: currentColor;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    transition:
        max-width 0.3s cubic-bezier(0.2, 0.9, 0.22, 1),
        opacity 0.22s ease,
        transform 0.22s ease;
}

.drm-category.is-active .drm-category-label {
    max-width: 150px;
    opacity: 1;
    transform: translateX(0);
}

.drm-sub-categories {
    display: none !important;
}

@media (max-width: 640px) {
    .drm-toolbar {
        width: min(476px, calc(100vw - 28px));
        min-height: 70px;
        padding: 8px 12px;
    }

    .drm-main-categories {
        gap: 10px;
    }

    .drm-category {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
    }

    .drm-category.is-active {
        width: min(202px, 51vw);
        min-width: min(202px, 51vw);
        padding: 0 17px;
    }

    .drm-category-icon,
    .drm-category-icon svg {
        width: 23px;
        height: 23px;
    }

    .drm-category-label {
        font-size: 14.5px;
    }
}

/* Hans menu redesign v2 */
.drm-menu-app {
    min-height: 100vh;
    padding: 0 10px 118px;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 197, 32, 0.32) 0 12%, transparent 30%),
        radial-gradient(circle at 88% 20%, rgba(139, 0, 92, 0.42) 0 14%, transparent 32%),
        radial-gradient(circle at 46% 74%, rgba(255, 43, 108, 0.56) 0 18%, transparent 44%),
        linear-gradient(135deg, #ff2f77 0%, #ff4d62 32%, #d6006f 68%, #7d124d 100%);
    background-size: 180% 180%;
    animation: drmCandyGradient 12s ease-in-out infinite;
}

.drm-hero {
    z-index: 90;
}

.drm-toolbar {
    position: fixed;
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    z-index: 85;
    width: min(476px, calc(100vw - 32px));
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto;
    padding: 9px 14px;
    border: 2px solid rgba(255, 95, 132, 0.72);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(128, 14, 55, 0.92), rgba(88, 12, 45, 0.94));
    box-shadow:
        0 20px 48px rgba(87, 0, 44, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.admin-bar .drm-toolbar {
    top: auto;
}

.drm-categories {
    gap: 12px;
    padding: 0;
}

.drm-main-categories {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding: 0;
    scroll-padding-inline: 0 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
    user-select: none;
}

.drm-main-categories::-webkit-scrollbar {
    display: none;
}

.drm-sub-categories {
    order: 1;
    padding-top: 0;
}

.drm-category,
.drm-subcategory {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: none;
    backdrop-filter: none;
    text-shadow: 0 1px 6px rgba(72, 0, 44, 0.28);
}

.drm-subcategory {
    min-height: 34px;
    padding: 0 13px;
    color: #ffe4f0;
    font-size: 11px;
}

.drm-category:hover,
.drm-category.is-active,
.drm-subcategory:hover,
.drm-subcategory.is-active {
    border-color: #fff;
    background: #fff;
    color: #d6006f;
    text-shadow: none;
}

.drm-grid {
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 22px;
}

.drm-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    min-height: 148px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 232, 244, 0.9));
    box-shadow: 0 18px 42px rgba(109, 0, 60, 0.18);
}

.drm-card:hover {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 226, 241, 0.94));
    box-shadow: 0 20px 48px rgba(109, 0, 60, 0.22);
}

.drm-card[data-detail-enabled="1"]::after {
    content: "+";
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ee2d4a;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(238, 45, 74, 0.28);
}

.drm-card-media {
    width: 118px;
    height: 124px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 20%, #fff 0 18%, transparent 42%),
        linear-gradient(135deg, #ffe1ef, #fff2bd);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.drm-card-media img {
    object-fit: contain;
    padding: 9px;
}

.drm-card-body {
    gap: 8px;
    padding: 3px 42px 2px 0;
}

.drm-card-heading {
    grid-template-columns: 1fr;
    gap: 7px;
}

.drm-card-heading h2 {
    color: #4a1232;
    font-size: 16.5px;
    line-height: 1.08;
}

.drm-price {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    color: #d6006f;
    box-shadow: 0 8px 18px rgba(214, 0, 111, 0.12);
    font-size: 12.5px;
}

.drm-description {
    color: #89526e;
    font-size: 12.5px;
}

.drm-meta-row > span,
.drm-allergen-chip {
    border-color: rgba(238, 45, 74, 0.28);
    background: rgba(255, 255, 255, 0.72);
    color: #c91861;
}

.drm-allergens strong {
    color: #8a2d5b;
}

.drm-footnote,
.drm-search,
.drm-selection-float {
    display: none;
}

.drm-empty,
.drm-empty-static {
    border-color: rgba(255, 255, 255, 0.54);
    background: rgba(255, 255, 255, 0.84);
    color: #7d124d;
}

@media (max-width: 640px) {
    .drm-menu-app {
        padding: 0 10px 112px;
    }

    .drm-toolbar {
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        left: max(8px, env(safe-area-inset-left));
        padding: 9px;
        border-radius: 20px;
    }

    .drm-grid {
        gap: 14px;
        padding-top: 14px;
    }

    .drm-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 140px;
        padding: 11px;
        border-radius: 24px;
    }

    .drm-card-media {
        width: 112px;
        height: 118px;
        border-radius: 20px;
    }

    .drm-card-heading h2 {
        font-size: 15.5px;
    }
}

/* Sticky candy stage - final winning layer */
@keyframes drmCandyGradientFinal {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.drm-menu-app {
    min-height: 100vh;
    border: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 197, 32, 0.32) 0 12%, transparent 30%),
        radial-gradient(circle at 88% 20%, rgba(139, 0, 92, 0.42) 0 14%, transparent 32%),
        radial-gradient(circle at 46% 74%, rgba(255, 43, 108, 0.56) 0 18%, transparent 44%),
        linear-gradient(135deg, #ff2f77 0%, #ff4d62 32%, #d6006f 68%, #7d124d 100%);
    background-size: 180% 180%;
    box-shadow: none;
    animation: drmCandyGradientFinal 16s ease-in-out infinite;
}

.drm-hero {
    position: sticky;
    top: 0;
    z-index: 80;
    height: clamp(112px, 16vw, 168px);
    min-height: 0;
    display: block;
    margin: 0 -14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    pointer-events: none;
}

.admin-bar .drm-hero {
    top: 32px;
}

.drm-hero-image {
    object-fit: cover;
    object-position: center top;
    filter: drop-shadow(0 10px 16px rgba(111, 33, 72, 0.12));
}

.drm-toolbar {
    position: sticky;
    top: clamp(112px, 16vw, 168px);
    z-index: 70;
    margin: 0 -14px;
    padding: 14px 14px 12px;
    background: transparent;
}

.admin-bar .drm-toolbar {
    top: calc(32px + clamp(112px, 16vw, 168px));
}

.drm-search,
.drm-category,
.drm-subcategory,
.drm-card,
.drm-empty,
.drm-empty-static {
    backdrop-filter: blur(12px);
}

.drm-search {
    background: rgba(255, 255, 255, 0.82);
}

.drm-category,
.drm-subcategory {
    background: rgba(255, 255, 255, 0.86);
}

.drm-card,
.drm-empty,
.drm-empty-static {
    background: rgba(255, 255, 255, 0.9);
}

.drm-category.is-active,
.drm-category:hover,
.drm-subcategory.is-active,
.drm-subcategory:hover {
    box-shadow: 0 10px 22px rgba(238, 45, 74, 0.18);
}

@media (prefers-reduced-motion: reduce) {
    .drm-menu-app {
        animation: none;
    }
}

@media (max-width: 640px) {
    .drm-hero {
        height: 112px;
        margin-right: -10px;
        margin-left: -10px;
        border-radius: 0;
    }

    .admin-bar .drm-hero {
        top: 46px;
    }

    .drm-toolbar {
        top: 112px;
        margin-right: -10px;
        margin-left: -10px;
        padding: 14px 10px 12px;
    }

    .admin-bar .drm-toolbar {
        top: 158px;
    }
}

.drm-menu-app *,
.drm-menu-app *::before,
.drm-menu-app *::after {
    box-sizing: border-box;
}

.drm-menu-app button,
.drm-menu-app input {
    font: inherit;
}

.drm-hero {
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(23, 22, 18, 0.06);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 22, 18, 0.055);
}

.drm-hero-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    width: 100%;
}

.drm-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f6f3;
    color: #fff;
    border: 1px solid var(--drm-border);
    box-shadow: none;
}

.drm-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 5px;
}

.drm-logo span {
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
}

.drm-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--drm-primary);
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.drm-hero h1 {
    margin: 0;
    color: #111;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: 0;
}

.drm-hero p {
    flex: 0 1 430px;
    margin: 0;
    color: #5d574d;
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.45;
}

.drm-toolbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    gap: 10px;
    padding: 12px 0 12px;
    background: linear-gradient(to bottom, var(--drm-bg) 0%, var(--drm-bg) 88%, rgba(247, 247, 245, 0));
}

.admin-bar .drm-toolbar {
    top: 32px;
}

.drm-search {
    position: relative;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid var(--drm-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(23, 22, 18, 0.04);
}

.drm-search span {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 2px solid #8a8377;
    border-radius: 999px;
    position: relative;
}

.drm-search span::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    right: -6px;
    bottom: -4px;
    border-radius: 999px;
    background: #8a8377;
    transform: rotate(45deg);
}

.drm-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--drm-text);
    font-size: 15px;
    font-weight: 750;
}

.drm-search input::placeholder {
    color: #9b958b;
}

.drm-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 2px 1px;
    scrollbar-width: none;
}

.drm-categories::-webkit-scrollbar {
    display: none;
}

.drm-sub-categories {
    display: none;
    padding-top: 8px;
}

.drm-sub-categories.is-visible {
    display: flex;
}

.drm-category,
.drm-subcategory {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 0 14px;
    border: 1px solid var(--drm-border);
    border-radius: 999px;
    background: #fff;
    color: #332f28;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(23, 22, 18, 0.04);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.drm-category:focus,
.drm-subcategory:focus,
.drm-action:focus,
.drm-selection-float:focus,
.drm-product-close:focus,
.drm-product-cta:focus,
.drm-product-qty button:focus {
    outline: 0;
}

.drm-category:focus-visible,
.drm-subcategory:focus-visible,
.drm-action:focus-visible,
.drm-selection-float:focus-visible,
.drm-product-close:focus-visible,
.drm-product-cta:focus-visible,
.drm-product-qty button:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--drm-primary) 28%, transparent);
}

.drm-subcategory {
    min-height: 34px;
    padding: 0 12px;
    background: var(--drm-surface-soft);
    font-size: 12px;
}

.drm-category:hover,
.drm-category.is-active,
.drm-subcategory:hover {
    background: var(--drm-button);
    border-color: var(--drm-button);
    color: #fff;
}

.drm-subcategory.is-active {
    background: var(--drm-primary);
    border-color: var(--drm-primary);
    color: #fff;
}

.drm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding-top: 4px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--drm-border);
    overflow: hidden;
}

.drm-card {
    position: relative;
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--drm-border);
    background: #fff;
    cursor: default;
    box-shadow: none;
    transition: background 0.18s ease;
}

.drm-card[data-detail-enabled="1"] {
    cursor: pointer;
}

.drm-card:hover {
    background: #fafaf8;
    transform: none;
    box-shadow: none;
}

.drm-card[hidden] {
    display: none;
}

.drm-card-media {
    position: relative;
    width: 118px;
    height: 118px;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: var(--drm-surface-soft);
    color: inherit;
    text-decoration: none;
}

.drm-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drm-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 237, 231, 0.9)),
        linear-gradient(135deg, color-mix(in srgb, var(--drm-primary) 18%, transparent), color-mix(in srgb, var(--drm-accent) 24%, transparent));
    color: #9b958b;
    font-size: 11px;
    font-weight: 950;
}

.drm-badge {
    position: absolute;
    left: 7px;
    bottom: 7px;
    max-width: calc(100% - 14px);
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.86);
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drm-card-body {
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: 6px;
    padding: 1px 48px 1px 0;
}

.drm-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.drm-card-heading h2 {
    min-width: 0;
    margin: 0;
    color: #14120e;
    font-size: 15.5px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0;
}

.drm-price {
    padding-top: 1px;
    color: #111;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
}

.drm-price del {
    display: block;
    color: #938d82;
    font-size: 11px;
    font-weight: 800;
}

.drm-price ins {
    text-decoration: none;
}

.drm-description {
    margin: 0;
    color: #6b665f;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.drm-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

.drm-meta-row > span {
    max-width: 100%;
    padding: 5px 7px;
    border: 1px solid #ebe8df;
    border-radius: 999px;
    background: #f5f3ee;
    color: #675f54;
    font-size: 10.5px;
    font-weight: 850;
    line-height: 1;
    overflow-wrap: anywhere;
}

.drm-allergen-chip {
    position: relative;
    min-width: 25px;
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid #e3dfd6;
    border-radius: 999px;
    background: #f5f3ee;
    color: #4f493f;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.drm-allergen-chip > span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 8;
    width: max-content;
    max-width: min(260px, 72vw);
    padding: 9px 11px;
    border: 0;
    border-radius: 8px;
    background: #171717;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.drm-allergen-chip > span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 8px;
    height: 8px;
    background: #171717;
    transform: translate(-50%, -4px) rotate(45deg);
}

.drm-allergen-chip.is-open > span,
.drm-allergen-chip:focus-visible > span {
    opacity: 1;
    transform: translate(-50%, 0);
}

.drm-allergens {
    color: #81796d;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.25;
}

.drm-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    justify-content: flex-end;
}

.drm-action {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #202020;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.drm-action:not(.is-selected),
.drm-action:not(.is-selected):active,
.drm-action:not(.is-selected):focus {
    background: #202020;
    color: #fff;
    transform: none;
}

.drm-action.is-selected {
    background: var(--drm-primary);
    color: #fff;
    transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
    .drm-action:not(.is-selected):hover,
    .drm-action.is-selected:hover {
        background: var(--drm-primary);
        color: #fff;
        transform: translateY(-1px);
    }
}

.drm-action:disabled {
    cursor: wait;
    opacity: 0.75;
}

.drm-action span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    font-size: 16px;
    line-height: 1;
}

.drm-action em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.drm-empty,
.drm-empty-static {
    display: none;
    grid-column: 1 / -1;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--drm-border);
    border-radius: 8px;
    background: #fff;
    color: var(--drm-muted);
    text-align: center;
    font-weight: 800;
}

.drm-empty-static {
    display: block;
}

.drm-footnote {
    padding: 18px 2px 2px;
    color: var(--drm-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.drm-lock-scroll {
    overflow: hidden;
}

.drm-product-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(18, 18, 18, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.drm-product-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 100001;
    width: min(720px, 100vw);
    max-height: min(94vh, 880px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #fff;
    color: var(--drm-text);
    box-shadow: 0 -22px 70px rgba(0, 0, 0, 0.24);
    transform: translate(-50%, calc(100% + 28px));
    transition: transform 0.28s ease;
}

.drm-menu-app.is-product-open .drm-product-overlay {
    opacity: 1;
    pointer-events: auto;
}

.drm-menu-app.is-product-open .drm-product-sheet {
    transform: translate(-50%, 0);
}

.drm-product-close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #191919;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.drm-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1.2 / 1;
    max-height: 430px;
    overflow: hidden;
    background: #f0f0ec;
}

.drm-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.drm-product-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #928b82;
    font-size: 18px;
    font-weight: 950;
}

.drm-product-content {
    display: grid;
    gap: 14px;
    padding: 22px 24px 20px;
    overflow-y: auto;
}

.drm-product-head {
    display: grid;
    gap: 8px;
}

.drm-product-head h2 {
    margin: 0;
    color: #111;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.drm-product-head strong {
    color: #111;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.1;
}

.drm-product-description {
    margin: 0;
    color: #68635d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.44;
}

.drm-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.drm-allergen-label {
    color: #555047;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
}

.drm-product-meta > span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f3f1ec;
    color: #686057;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
}

.drm-product-meta .drm-allergen-chip {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
}

.drm-product-footer {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding-top: 8px;
    background: #fff;
}

.drm-product-qty {
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    border-radius: 999px;
    background: #f1f0ec;
}

.drm-product-qty button {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    font-size: 28px;
    font-weight: 350;
    line-height: 1;
}

.drm-product-qty span {
    min-width: 18px;
    color: #111;
    font-size: 16px;
    font-weight: 850;
    text-align: center;
}

.drm-product-cta {
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--drm-primary);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.15;
}

.drm-selection-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--drm-button);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transition: background 0.18s ease, transform 0.18s ease;
}

.drm-cart-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--drm-button);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transition: background 0.18s ease, transform 0.18s ease;
}

.drm-cart-float:hover {
    background: var(--drm-primary);
    color: #fff;
    transform: translateY(-2px);
}

.drm-cart-icon {
    font-size: 23px;
    line-height: 1;
}

.drm-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--drm-accent);
    color: #111;
    font-size: 11px;
    font-weight: 950;
}

.drm-selection-float:hover {
    background: var(--drm-primary);
    transform: translateY(-2px);
}

.drm-selection-icon {
    font-size: 27px;
    line-height: 1;
}

.drm-selection-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--drm-accent);
    color: #111;
    font-size: 11px;
    font-weight: 950;
}

.drm-drawer-overlay,
.drm-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 99997;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(7px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.drm-drawer,
.drm-cart-drawer {
    position: fixed;
    top: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 99998;
    width: min(420px, calc(100vw - 28px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(23, 22, 18, 0.08);
    border-radius: 8px;
    background: #fff;
    color: var(--drm-text);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
    transform: translateX(calc(100% + 42px));
    transition: transform 0.26s ease;
}

.drm-menu-app.is-drawer-open .drm-drawer-overlay,
.drm-menu-app.is-cart-open .drm-cart-overlay {
    opacity: 1;
    pointer-events: auto;
}

.drm-menu-app.is-drawer-open .drm-drawer,
.drm-menu-app.is-cart-open .drm-cart-drawer {
    transform: translateX(0);
}

.drm-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 19px;
    border-bottom: 1px solid var(--drm-border);
    background: #fff;
}

.drm-drawer-head span {
    display: block;
    margin-bottom: 5px;
    color: var(--drm-primary);
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.drm-drawer-head h3 {
    margin: 0;
    color: #111;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
}

.drm-drawer-close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--drm-border);
    border-radius: 999px;
    background: #f7f6f2;
    color: #111;
    cursor: pointer;
    font-size: 0;
    line-height: 1;
}

.drm-drawer-close::before {
    content: "×";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.drm-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: var(--drm-bg);
}

.drm-selection-empty,
.drm-cart-empty {
    padding: 20px;
    border: 1px dashed #d8d2c6;
    border-radius: 8px;
    background: #fff;
    color: var(--drm-muted);
    text-align: center;
    font-size: 14px;
    font-weight: 750;
}

.drm-selection-items,
.drm-cart-items {
    display: grid;
    gap: 10px;
}

.drm-selection-item,
.drm-cart-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--drm-border);
    border-radius: 8px;
    background: #fff;
}

.drm-selection-thumb,
.drm-cart-thumb {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: var(--drm-surface-soft);
    color: #9b958b;
    font-size: 10px;
    font-weight: 950;
}

.drm-selection-thumb img,
.drm-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drm-selection-info,
.drm-cart-info {
    min-width: 0;
}

.drm-selection-top,
.drm-cart-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.drm-selection-top strong,
.drm-cart-top strong {
    color: #111;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.2;
}

.drm-selection-top span,
.drm-cart-top span {
    flex: 0 0 auto;
    color: #111;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.2;
}

.drm-selection-sub {
    margin-bottom: 9px;
    color: var(--drm-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
}

.drm-selection-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.drm-qty {
    height: 37px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid #e9e5dc;
    border-radius: 999px;
    background: #f2f0ea;
}

.drm-qty button {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(23, 22, 18, 0.05);
}

.drm-qty span {
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 13px;
    font-weight: 950;
}

.drm-remove {
    border: 0;
    background: transparent;
    color: #8a8377;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
}

.drm-remove:hover {
    color: var(--drm-danger);
}

.drm-drawer-footer {
    padding: 16px;
    border-top: 1px solid var(--drm-border);
    background: #fff;
}

.drm-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    color: var(--drm-muted);
    font-size: 14px;
    font-weight: 850;
}

.drm-total-row strong {
    color: #111;
    font-size: 22px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
}

.drm-send-whatsapp,
.drm-clear-selection {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
}

.drm-send-whatsapp {
    margin-bottom: 8px;
    background: var(--drm-primary);
    color: #fff;
}

.drm-clear-selection {
    background: var(--drm-button);
    color: #fff;
}

.drm-clear-selection:hover {
    background: var(--drm-danger);
}

.drm-checkout-button {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--drm-primary);
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
}

.drm-checkout-button:hover {
    color: #fff;
    filter: brightness(0.96);
}

.drm-cart-remove {
    border: 0;
    background: transparent;
    color: #8a8377;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
}

.drm-cart-remove:hover {
    color: var(--drm-danger);
}

.drm-menu-message {
    padding: 16px;
    border: 1px solid #e4e0d6;
    border-radius: 8px;
    background: #fff8dd;
    color: #3b3426;
    font-weight: 750;
}

@media (max-width: 1080px) {
    .drm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .drm-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .drm-hero p {
        flex-basis: auto;
        max-width: 680px;
    }
}

@media (max-width: 640px) {
    .drm-menu-app {
        width: 100%;
        padding: 10px;
        border-radius: 0;
        margin-right: auto;
        margin-left: auto;
    }

    .drm-hero {
        min-height: auto;
        padding: 12px;
        gap: 10px;
    }

    .drm-logo {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .drm-kicker {
        font-size: 9.5px;
        margin-bottom: 4px;
    }

    .drm-hero h1 {
        font-size: 24px;
        line-height: 1.04;
    }

    .drm-hero p {
        font-size: 12.5px;
        line-height: 1.35;
    }

    .drm-toolbar {
        padding: 10px 0 10px;
        gap: 8px;
    }

    .admin-bar .drm-toolbar {
        top: 46px;
    }

    .drm-search {
        height: 46px;
        padding-right: 13px;
        padding-left: 13px;
    }

    .drm-search input {
        font-size: 14px;
    }

    .drm-categories {
        gap: 7px;
        padding-top: 0;
    }

    .drm-category {
        min-height: 35px;
        padding: 0 12px;
        font-size: 12px;
    }

    .drm-subcategory {
        min-height: 32px;
        padding: 0 11px;
        font-size: 11.5px;
    }

    .drm-grid {
        gap: 0;
        padding-top: 0;
    }

    .drm-card {
        grid-template-columns: 104px 1fr;
        min-height: 0;
        gap: 12px;
        padding: 13px 10px;
    }

    .drm-card-media {
        width: 104px;
        height: 104px;
    }

    .drm-card-body {
        gap: 5px;
        padding: 0 40px 0 0;
    }

    .drm-card-heading {
        gap: 10px;
    }

    .drm-card-heading h2 {
        font-size: 14.5px;
        line-height: 1.18;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .drm-price {
        font-size: 12.5px;
        padding-top: 1px;
    }

    .drm-description {
        font-size: 12px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .drm-meta-row {
        gap: 4px;
    }

    .drm-meta-row > span {
        padding: 4px 6px;
        font-size: 10px;
    }

    .drm-allergens {
        display: none;
    }

    .drm-action {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .drm-action span {
        font-size: 16px;
    }

    .drm-actions {
        right: 10px;
        bottom: 13px;
    }

    .drm-badge {
        font-size: 9px;
        padding: 4px 6px;
    }

    .drm-selection-float {
        width: 56px;
        height: 56px;
        right: 14px;
        bottom: 14px;
    }

    .drm-cart-float {
        width: 56px;
        height: 56px;
        right: 14px;
        bottom: 14px;
    }

    .drm-drawer,
    .drm-cart-drawer {
        top: auto;
        right: 8px;
        bottom: 8px;
        left: 8px;
        width: auto;
        height: min(78vh, 690px);
        transform: translateY(calc(100% + 42px));
    }

    .drm-menu-app.is-drawer-open .drm-drawer,
    .drm-menu-app.is-cart-open .drm-cart-drawer {
        transform: translateY(0);
    }

    .drm-drawer-head {
        padding: 17px;
    }

    .drm-drawer-head h3 {
        font-size: 28px;
    }

    .drm-drawer-body {
        padding: 10px;
    }

    .drm-drawer-footer {
        padding: 14px;
    }

    .drm-product-sheet {
        width: 100vw;
        max-height: calc(100dvh - max(34px, env(safe-area-inset-top)));
        border-radius: 18px 18px 0 0;
    }

    .drm-product-close {
        top: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
    }

    .drm-product-image {
        aspect-ratio: 1 / 0.92;
        max-height: min(360px, 42dvh);
    }

    .drm-product-content {
        gap: 13px;
        padding: 20px 18px 18px;
    }

    .drm-product-head h2 {
        font-size: 24px;
        line-height: 1.1;
    }

    .drm-product-head strong {
        font-size: 17px;
    }

    .drm-product-description {
        font-size: 14.5px;
        line-height: 1.42;
    }

    .drm-product-footer {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .drm-product-qty {
        width: min(260px, 100%);
        justify-self: center;
    }

    .drm-product-cta {
        width: 100%;
    }
}

/* Final Hans & Gretel theme overrides. Kept last so the brand layer wins. */
.drm-menu-app {
    --drm-page: #fff4fb;
    --drm-bg: #fff7fc;
    --drm-surface: #ffffff;
    --drm-surface-soft: #ffeaf4;
    --drm-text: #3f1831;
    --drm-muted: #8b5f78;
    --drm-border: #ffd0e5;
    --drm-danger: #df3354;
    --drm-shadow: 0 12px 30px rgba(238, 45, 111, 0.12);
    width: min(1080px, 100%);
    min-height: 100vh;
    padding: 0 10px 118px;
    border: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 197, 32, 0.32) 0 12%, transparent 30%),
        radial-gradient(circle at 88% 20%, rgba(139, 0, 92, 0.42) 0 14%, transparent 32%),
        radial-gradient(circle at 46% 74%, rgba(255, 43, 108, 0.56) 0 18%, transparent 44%),
        linear-gradient(135deg, #ff2f77 0%, #ff4d62 32%, #d6006f 68%, #7d124d 100%);
    background-size: 180% 180%;
    box-shadow: none;
    animation: drmCandyGradient 12s ease-in-out infinite;
}

.drm-hero {
    position: sticky;
    top: 0;
    z-index: 80;
    height: clamp(112px, 16vw, 168px);
    min-height: 0;
    display: block;
    padding: 0;
    margin: 0 -14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
    pointer-events: none;
}

.admin-bar .drm-hero {
    top: 32px;
}

.drm-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    filter: drop-shadow(0 10px 16px rgba(111, 33, 72, 0.12));
}

.drm-toolbar {
    position: fixed;
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    z-index: 85;
    width: min(476px, calc(100vw - 32px));
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto;
    padding: 9px 14px;
    border: 2px solid rgba(255, 95, 132, 0.72);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(128, 14, 55, 0.92), rgba(88, 12, 45, 0.94));
    box-shadow:
        0 20px 48px rgba(87, 0, 44, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.admin-bar .drm-toolbar {
    top: auto;
}

.drm-search {
    height: 46px;
    border-color: #ffc2dc;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 22px rgba(238, 45, 111, 0.09);
    backdrop-filter: blur(12px);
}

.drm-search span {
    border-color: #ee4772;
}

.drm-search span::after {
    background: #ee4772;
}

.drm-search input {
    color: #4a1837;
    font-weight: 850;
}

.drm-search input::placeholder {
    color: #ba789c;
}

.drm-categories {
    gap: 12px;
    padding: 0;
}

.drm-main-categories {
    width: 100%;
    min-width: 0;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    scroll-padding-inline: 0 24px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x;
    user-select: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}

.drm-main-categories::-webkit-scrollbar {
    display: none;
}

.drm-sub-categories {
    order: 1;
    padding-top: 0;
    display: none !important;
}

.drm-category,
.drm-subcategory {
    position: relative;
    order: 0;
    flex: 0 0 auto;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 173, 196, 0.62);
    box-shadow: none;
    backdrop-filter: none;
    text-shadow: none;
    opacity: 0.78;
    scroll-snap-align: center;
    transition:
        width 0.32s cubic-bezier(0.2, 0.9, 0.22, 1),
        min-width 0.32s cubic-bezier(0.2, 0.9, 0.22, 1),
        background 0.24s ease,
        color 0.24s ease,
        opacity 0.24s ease,
        transform 0.24s ease;
}

.drm-category:not(.is-active) + .drm-category:not(.is-active)::before {
    content: "";
    position: absolute;
    left: -7px;
    width: 1px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.drm-category:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffd5e0;
    opacity: 1;
    transform: translateY(-1px);
}

.drm-category:focus-visible,
.drm-subcategory:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.drm-category.is-active {
    position: sticky;
    left: 0;
    z-index: 2;
    width: min(198px, 50vw);
    min-width: min(198px, 50vw);
    justify-content: flex-start;
    gap: 10px;
    padding: 0 18px;
    background: #fffaf4;
    color: #ee2d4a;
    box-shadow:
        0 12px 26px rgba(40, 0, 20, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 1;
    scroll-snap-align: none;
}

.drm-main-categories.is-dragging .drm-category {
    transition-duration: 0.08s;
}

.drm-main-categories.is-switching-next .drm-category.is-active {
    animation: drmCategoryInNext 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-main-categories.is-switching-prev .drm-category.is-active {
    animation: drmCategoryInPrev 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.18);
}

.drm-category-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-grid;
    place-items: center;
}

.drm-category-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drm-category-label {
    max-width: 0;
    display: inline-block;
    overflow: hidden;
    color: currentColor;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    transition:
        max-width 0.3s cubic-bezier(0.2, 0.9, 0.22, 1),
        opacity 0.22s ease,
        transform 0.22s ease;
}

.drm-category.is-active .drm-category-label {
    max-width: 132px;
    opacity: 1;
    transform: translateX(0);
}

.drm-grid {
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 22px;
    border: 0;
    background: transparent;
}

.drm-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    min-height: 148px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 232, 244, 0.9));
    box-shadow: 0 18px 42px rgba(109, 0, 60, 0.18);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.drm-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 226, 241, 0.94));
    box-shadow: 0 20px 48px rgba(109, 0, 60, 0.22);
}

.drm-card[data-detail-enabled="1"]::after {
    content: "+";
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ee2d4a;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(238, 45, 74, 0.28);
}

.drm-card-media {
    width: 118px;
    height: 124px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 20%, #fff 0 18%, transparent 42%),
        linear-gradient(135deg, #ffe1ef, #fff2bd);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.drm-card-media img {
    object-fit: contain;
    padding: 9px;
}

.drm-placeholder {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 224, 240, 0.9)),
        linear-gradient(135deg, #ffd0e7, #fff3bd);
    color: #c94977;
}

.drm-badge {
    background: #ee2d4a;
    box-shadow: 0 5px 14px rgba(238, 45, 74, 0.22);
}

.drm-card-body {
    gap: 8px;
    padding: 3px 42px 2px 0;
}

.drm-card-heading {
    grid-template-columns: 1fr;
    gap: 7px;
}

.drm-card-heading h2 {
    color: #4a1232;
    font-size: 16.5px;
    line-height: 1.08;
    font-weight: 950;
}

.drm-price {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    color: #d6006f;
    box-shadow: 0 8px 18px rgba(214, 0, 111, 0.12);
    font-size: 12.5px;
    font-weight: 950;
}

.drm-description {
    color: #89526e;
    font-size: 12.5px;
}

.drm-meta-row > span,
.drm-product-meta > span {
    border-color: rgba(238, 45, 74, 0.28);
    background: rgba(255, 255, 255, 0.72);
    color: #c91861;
}

.drm-allergens {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}

.drm-allergens strong {
    color: #9b5d7c;
    font-size: 10.5px;
    font-weight: 950;
    line-height: 1;
}

.drm-allergen-chip {
    border-color: rgba(238, 45, 74, 0.28);
    background: rgba(255, 255, 255, 0.72);
    color: #c91861;
}

.drm-action,
.drm-selection-float,
.drm-cart-float,
.drm-clear-selection {
    background: var(--drm-button);
}

.drm-action.is-selected,
.drm-send-whatsapp,
.drm-checkout-button,
.drm-product-cta {
    background: var(--drm-primary);
}

.drm-product-sheet,
.drm-drawer,
.drm-cart-drawer {
    border-color: #ffc9e1;
    box-shadow: 0 30px 90px rgba(111, 33, 72, 0.26);
}

.drm-product-head h2,
.drm-drawer-head h3,
.drm-total-row strong,
.drm-selection-top strong,
.drm-cart-top strong {
    color: #42142f;
}

.drm-product-head strong,
.drm-selection-top span,
.drm-cart-top span {
    color: #ee2d4a;
}

.drm-selection-count,
.drm-cart-count {
    background: #ffd64f;
    color: #4a1837;
}

.drm-footnote,
.drm-search,
.drm-selection-float {
    display: none;
}

.drm-empty,
.drm-empty-static {
    border-color: rgba(255, 255, 255, 0.54);
    background: rgba(255, 255, 255, 0.84);
    color: #7d124d;
}

@media (max-width: 640px) {
    .drm-menu-app {
        padding: 0 10px 112px;
        border-right: 0;
        border-left: 0;
    }

    .drm-hero {
        height: 112px;
        margin-right: -10px;
        margin-left: -10px;
        border-radius: 0;
    }

    .admin-bar .drm-hero {
        top: 46px;
    }

    .drm-toolbar {
        top: auto;
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        left: max(8px, env(safe-area-inset-left));
        width: min(372px, calc(100vw - 18px));
        min-height: 70px;
        margin: 0 auto;
        padding: 8px 10px;
        border-radius: 999px;
    }

    .admin-bar .drm-toolbar {
        top: auto;
    }

    .drm-main-categories {
        gap: 10px;
        padding: 0;
        scroll-padding-inline: 0 20px;
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 20px), transparent 100%);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 20px), transparent 100%);
    }

    .drm-category {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
    }

    .drm-category.is-active {
        width: min(178px, 48vw);
        min-width: min(178px, 48vw);
        padding: 0 17px;
    }

    .drm-category-icon,
    .drm-category-icon svg {
        width: 23px;
        height: 23px;
    }

    .drm-category-label {
        font-size: 14.5px;
    }

    .drm-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 140px;
        gap: 12px;
        padding: 11px;
        border-radius: 24px;
    }

    .drm-card-media {
        width: 112px;
        height: 118px;
        border-radius: 20px;
    }

    .drm-card-heading h2 {
        font-size: 15.5px;
    }

    .drm-description {
        font-size: 12px;
    }

    .drm-allergens {
        display: flex;
    }

    .drm-allergens strong {
        display: none;
    }

    .drm-allergen-chip {
        min-width: 23px;
        min-height: 23px;
        padding: 0 7px;
        font-size: 10px;
    }
}

/* Brutal Premium Category Slider - Final Layer */
.drm-menu-app {
    padding-bottom: calc(152px + env(safe-area-inset-bottom));
}

.drm-toolbar {
    position: fixed;
    top: auto;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    z-index: 95;
    width: min(680px, calc(100vw - 28px));
    min-height: 82px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    grid-template-rows: minmax(52px, auto) 5px;
    align-items: center;
    gap: 8px 10px;
    margin: 0 auto;
    padding: 12px 14px 10px;
    border: 1px solid rgba(255, 224, 240, 0.58);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 196, 224, 0.16)),
        linear-gradient(135deg, rgba(92, 11, 58, 0.86), rgba(143, 19, 82, 0.78) 46%, rgba(238, 45, 74, 0.72));
    box-shadow:
        0 24px 70px rgba(87, 0, 44, 0.38),
        0 8px 22px rgba(255, 88, 137, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

.drm-main-categories {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px;
    scroll-padding-inline: calc(50% - 98px);
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x;
    user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.drm-main-categories::-webkit-scrollbar {
    display: none;
}

.drm-category,
.drm-subcategory {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    min-width: 58px;
    height: 50px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 229, 239, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: 1;
    scroll-snap-align: center;
    transform: translateZ(0);
    transition:
        min-width 0.28s cubic-bezier(0.2, 0.9, 0.22, 1),
        padding 0.28s ease,
        background 0.24s ease,
        border-color 0.24s ease,
        color 0.24s ease,
        box-shadow 0.24s ease,
        transform 0.24s ease;
}

.drm-category:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-1px);
}

.drm-category.is-active {
    position: relative;
    order: 0;
    left: auto;
    z-index: 1;
    min-width: min(198px, 46vw);
    height: 54px;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 16px 0 17px;
    border-color: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 238, 247, 0.92)),
        linear-gradient(135deg, #fff, #ffd8e8);
    color: #e72f62;
    box-shadow:
        0 14px 28px rgba(45, 0, 25, 0.24),
        0 4px 16px rgba(255, 220, 96, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    scroll-snap-align: center;
}

.drm-category:not(.is-active) + .drm-category:not(.is-active)::before {
    display: none;
}

.drm-category-icon {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
}

.drm-category-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.9;
}

.drm-category-label {
    max-width: 84px;
    overflow: hidden;
    color: currentColor;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 0.78;
    transform: none;
}

.drm-category.is-active .drm-category-label {
    max-width: 118px;
    font-size: 14px;
    opacity: 1;
}

.drm-category-count {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 242, 247, 0.92);
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
}

.drm-category.is-active .drm-category-count {
    background: #ffd84f;
    color: #6d123e;
    box-shadow: 0 5px 12px rgba(255, 216, 79, 0.26);
}

.drm-category-arrow {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff6fb;
    font-size: 24px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.drm-category-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.drm-category-arrow:disabled {
    opacity: 0.26;
    cursor: default;
}

.drm-category-arrow.is-prev {
    grid-column: 1;
    grid-row: 1;
}

.drm-category-arrow.is-next {
    grid-column: 3;
    grid-row: 1;
}

.drm-category-progress {
    grid-column: 2;
    grid-row: 2;
    width: min(178px, 54%);
    height: 4px;
    justify-self: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
}

.drm-category-progress span {
    width: 16%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #fff, #ffd84f, #ff9cc2);
    transform: translateX(0);
    transition: transform 0.18s ease;
}

.drm-category:focus-visible,
.drm-subcategory:focus-visible,
.drm-category-arrow:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.92);
    outline-offset: 3px;
}

.drm-category.is-popping {
    animation: drmCategoryPremiumPop 0.34s cubic-bezier(0.2, 0.9, 0.22, 1.22);
}

@keyframes drmCategoryPremiumPop {
    0% {
        transform: scale(0.98);
    }

    58% {
        transform: scale(1.045);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 640px) {
    .drm-menu-app {
        padding-bottom: calc(142px + env(safe-area-inset-bottom));
    }

    .drm-toolbar {
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        left: max(8px, env(safe-area-inset-left));
        width: calc(100vw - 16px);
        min-height: 78px;
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 7px;
        padding: 10px 10px 9px;
    }

    .drm-category-arrow {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }

    .drm-main-categories {
        gap: 8px;
        padding: 1px 2px;
        scroll-padding-inline: calc(50% - 86px);
    }

    .drm-category {
        min-width: 50px;
        height: 48px;
        min-height: 48px;
        padding: 0 11px;
    }

    .drm-category.is-active {
        min-width: min(176px, 48vw);
        height: 52px;
        padding: 0 14px;
    }

    .drm-category-label {
        max-width: 72px;
        font-size: 12px;
    }

    .drm-category.is-active .drm-category-label {
        max-width: 98px;
        font-size: 13.5px;
    }

    .drm-category-count {
        min-width: 17px;
        height: 17px;
        font-size: 9.5px;
    }
}

/* Premium Compact Category Bar - Final */
.drm-menu-app {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.drm-toolbar {
    position: fixed;
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    z-index: 70;
    width: min(620px, calc(100vw - 20px));
    min-height: 66px;
    display: block;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid rgba(255, 198, 224, 0.78);
    border-radius: 24px;
    background: rgba(255, 250, 253, 0.92);
    box-shadow:
        0 14px 34px rgba(103, 18, 62, 0.16),
        0 3px 10px rgba(238, 45, 111, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.drm-category-arrow,
.drm-category-progress {
    display: none;
}

.drm-main-categories {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px;
    scroll-padding-inline: 24px;
    scroll-snap-type: none;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x;
    user-select: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent 100%);
}

.drm-main-categories::-webkit-scrollbar {
    display: none;
}

.drm-category,
.drm-subcategory {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    min-width: 118px;
    max-width: 138px;
    height: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(238, 45, 111, 0.12);
    border-radius: 18px;
    background: rgba(255, 238, 247, 0.72);
    color: #7d264f;
    box-shadow: none;
    text-shadow: none;
    opacity: 1;
    scroll-snap-align: none;
    transform: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.drm-category:not(.is-active) + .drm-category:not(.is-active)::before {
    display: none;
}

.drm-category:hover {
    background: rgba(255, 226, 240, 0.94);
    border-color: rgba(238, 45, 111, 0.22);
    color: #5f173b;
    transform: translateY(-1px);
}

.drm-category.is-active {
    position: relative;
    left: auto;
    z-index: 1;
    min-width: 118px;
    max-width: 138px;
    height: 48px;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border-color: rgba(238, 45, 111, 0.9);
    background: #ee2d6f;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(238, 45, 111, 0.22);
    scroll-snap-align: none;
}

.drm-category-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-grid;
    place-items: center;
}

.drm-category-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.9;
}

.drm-category-label {
    max-width: 82px;
    display: inline-block;
    overflow: hidden;
    color: currentColor;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 1;
    transform: none;
}

.drm-category.is-active .drm-category-label {
    max-width: 82px;
    font-size: 13px;
    opacity: 1;
    transform: none;
}

.drm-category-count,
.drm-category.is-active .drm-category-count {
    display: none;
}

.drm-category.is-popping {
    animation: none;
}

.drm-main-categories.is-dragging .drm-category {
    transition-duration: 0.08s;
}

.drm-main-categories.is-switching-next .drm-category.is-active,
.drm-main-categories.is-switching-prev .drm-category.is-active {
    animation: none;
}

.drm-category:focus-visible,
.drm-subcategory:focus-visible {
    outline: 2px solid rgba(238, 45, 111, 0.38);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .drm-menu-app {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .drm-toolbar {
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        left: max(8px, env(safe-area-inset-left));
        width: calc(100vw - 16px);
        min-height: 64px;
        padding: 7px;
        border-radius: 22px;
    }

    .drm-main-categories {
        gap: 6px;
        padding: 0 1px;
        scroll-padding-inline: 18px;
    }

    .drm-category,
    .drm-subcategory {
        order: 0;
        height: 46px;
        min-height: 46px;
        min-width: 108px;
        max-width: 128px;
        padding: 0 11px;
        border-radius: 17px;
    }

    .drm-category.is-active {
        order: 0;
        height: 46px;
        min-width: 108px;
        max-width: 128px;
        padding: 0 12px;
    }

    .drm-category-icon,
    .drm-category-icon svg {
        width: 19px;
        height: 19px;
    }

    .drm-category-label,
    .drm-category.is-active .drm-category-label {
        max-width: 74px;
        font-size: 12.5px;
    }
}

/* Preserve natural category order */
.drm-category,
.drm-subcategory,
.drm-category.is-active {
    order: 0;
}

/* Clean Product List - Final */
.drm-grid {
    display: grid;
    gap: 0;
    padding: 10px 4px 18px;
    border: 0;
    background: transparent;
}

.drm-card {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    min-height: 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 214, 233, 0.72);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
}

.drm-card[hidden] {
    display: none;
}

.drm-card:hover {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.drm-card[data-detail-enabled="1"]::after {
    content: none;
    display: none;
}

.drm-card-media {
    width: 104px;
    height: 104px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 246, 251, 0.88);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.72),
        0 10px 24px rgba(126, 0, 70, 0.12);
}

.drm-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    padding: 0;
}

.drm-placeholder {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.drm-badge {
    top: 7px;
    left: 7px;
    right: auto;
    bottom: auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(238, 45, 111, 0.92);
    color: #fff;
    box-shadow: 0 6px 14px rgba(238, 45, 111, 0.18);
    font-size: 9.5px;
}

.drm-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 1px 0 0;
}

.drm-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
}

.drm-card-heading h2 {
    margin: 0;
    color: #3f1230;
    font-size: 17px;
    font-weight: 950;
    line-height: 1.14;
    letter-spacing: 0;
}

.drm-price {
    width: auto;
    min-width: max-content;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #d6006f;
    box-shadow: none;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.15;
    text-align: right;
}

.drm-description {
    display: none;
}

.drm-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.drm-meta-row > span,
.drm-product-meta > span {
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid rgba(238, 45, 111, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: #9d255b;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
}

.drm-allergens {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.drm-allergens strong {
    display: none;
}

.drm-allergen-chip {
    position: relative;
    min-width: 26px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid rgba(238, 45, 111, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: #b91d5a;
    box-shadow: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.drm-allergen-chip > span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 40;
    width: max-content;
    max-width: min(240px, 72vw);
    padding: 8px 10px;
    border-radius: 9px;
    background: #3f1230;
    color: #fff;
    box-shadow: 0 12px 28px rgba(63, 18, 48, 0.2);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.drm-allergen-chip > span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 8px;
    height: 8px;
    background: #3f1230;
    transform: translate(-50%, -4px) rotate(45deg);
}

.drm-allergen-chip.is-open > span,
.drm-allergen-chip:focus-visible > span {
    opacity: 1;
    transform: translate(-50%, 0);
}

.drm-actions {
    margin-top: 2px;
}

.drm-action {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
}

@media (max-width: 640px) {
    .drm-grid {
        padding: 8px 2px 16px;
    }

    .drm-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
        padding: 13px 0;
    }

    .drm-card-media {
        width: 92px;
        height: 92px;
        border-radius: 16px;
    }

    .drm-card-heading {
        gap: 8px;
    }

    .drm-card-heading h2 {
        font-size: 16px;
    }

    .drm-price {
        font-size: 13px;
    }

    .drm-meta-row > span,
    .drm-allergen-chip {
        font-size: 10.5px;
    }
}

/* Product List Compact Tuning - Final */
.drm-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
}

.drm-card-media {
    width: 84px;
    height: 84px;
    border-radius: 15px;
}

.drm-card-heading {
    gap: 8px;
}

.drm-card-heading h2 {
    color: #ffffff;
    font-size: 15.5px;
    line-height: 1.12;
}

.drm-price {
    color: #ffffff;
    font-size: 12.5px;
    opacity: 0.92;
}

.drm-card-body {
    gap: 6px;
    padding-top: 0;
}

.drm-meta-row,
.drm-allergens {
    gap: 5px;
}

.drm-meta-row > span,
.drm-allergen-chip {
    min-height: 23px;
    padding: 0 8px;
    font-size: 10px;
}

@media (max-width: 640px) {
    .drm-card {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 11px;
        padding: 10px 0;
    }

    .drm-card-media {
        width: 76px;
        height: 76px;
        border-radius: 14px;
    }

    .drm-card-heading h2 {
        font-size: 15px;
    }

    .drm-price {
        font-size: 12px;
    }
}

/* Category Controlled Product Layouts - Final */
.drm-menu-app.drm-layout-list .drm-grid {
    display: grid;
}

.drm-menu-app.drm-layout-grid-2 .drm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-right: 0;
    padding-left: 0;
    overflow-x: hidden;
}

.drm-menu-app.drm-layout-grid-2 .drm-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(255, 214, 233, 0.58);
    overflow: visible;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-body {
    gap: 6px;
    padding: 0;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-heading h2 {
    display: -webkit-box;
    min-height: 2.24em;
    overflow: hidden;
    color: #ffffff;
    font-size: 13.5px;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.drm-menu-app.drm-layout-grid-2 .drm-price {
    width: fit-content;
    color: #ffffff;
    font-size: 12.5px;
    text-align: left;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row,
.drm-menu-app.drm-layout-grid-2 .drm-allergens {
    gap: 4px;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row > span,
.drm-menu-app.drm-layout-grid-2 .drm-allergen-chip {
    min-height: 21px;
    padding: 0 7px;
    font-size: 9.5px;
}

.drm-menu-app.drm-layout-grid-2 .drm-action {
    min-height: 30px;
    padding: 0 9px;
}

@media (max-width: 340px) {
    .drm-menu-app.drm-layout-grid-2 .drm-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .drm-menu-app.drm-layout-grid-2 .drm-card {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 11px;
        padding: 10px 0;
    }

    .drm-menu-app.drm-layout-grid-2 .drm-card-media {
        width: 76px;
        height: 76px;
        aspect-ratio: auto;
        border-radius: 14px;
    }
}

/* Grid Product Minimal Refinement - Final */
.drm-menu-app.drm-layout-grid-2 .drm-card-media {
    background: transparent;
    box-shadow: none;
    border: 0;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-media img {
    object-fit: contain;
    padding: 0;
}

.drm-menu-app.drm-layout-grid-2 .drm-placeholder {
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
}

.drm-menu-app.drm-layout-grid-2 .drm-card-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 8px;
    row-gap: 5px;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-heading {
    display: contents;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-heading h2 {
    grid-column: 1 / -1;
    min-height: 2.24em;
}

.drm-menu-app.drm-layout-grid-2 .drm-price {
    grid-column: 1;
    grid-row: 2;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row > span {
    display: none;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row > span:first-child {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
}

.drm-menu-app.drm-layout-grid-2 .drm-allergens {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.drm-menu-app.drm-layout-grid-2 .drm-allergens::before {
    content: "A:";
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.drm-menu-app.drm-layout-grid-2 .drm-allergen-chip {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    font-weight: 850;
}

.drm-menu-app.drm-layout-grid-2 .drm-allergen-chip + .drm-allergen-chip {
    margin-left: 2px;
}

@media (max-width: 340px) {
    .drm-menu-app.drm-layout-grid-2 .drm-card-body {
        display: grid;
    }
}

/* Grid Layout Polish - Final */
.drm-menu-app.drm-layout-grid-2 .drm-card,
.drm-menu-app.drm-layout-grid-2 .drm-card:hover,
.drm-menu-app.drm-layout-grid-2 .drm-card:active,
.drm-menu-app.drm-layout-grid-2 .drm-card:focus,
.drm-menu-app.drm-layout-grid-2 .drm-card:focus-within {
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-media {
    display: grid;
    place-items: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-media img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    object-position: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-body {
    justify-items: center;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-heading h2,
.drm-menu-app.drm-layout-grid-2 .drm-price,
.drm-menu-app.drm-layout-grid-2 .drm-meta-row,
.drm-menu-app.drm-layout-grid-2 .drm-allergens {
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-price,
.drm-menu-app.drm-layout-grid-2 .drm-meta-row > span:first-child {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.15;
}

.drm-menu-app.drm-layout-grid-2 .drm-price {
    justify-self: end;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row {
    justify-self: start;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row > span:first-child::before {
    content: "|";
    margin-right: 7px;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 700;
}

.drm-menu-app.drm-layout-grid-2 .drm-allergens {
    justify-content: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-allergens::before,
.drm-menu-app.drm-layout-grid-2 .drm-allergen-chip {
    color: rgba(255, 255, 255, 0.78);
    font-size: 10.5px;
}

/* Grid Layout Centered Product Meta - Final */
.drm-card-price-meta {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
}

.drm-menu-app.drm-layout-list .drm-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 10px;
    row-gap: 8px;
}

.drm-menu-app.drm-layout-list .drm-card-heading {
    grid-column: 1;
    grid-row: 1;
}

.drm-menu-app.drm-layout-list .drm-card-price-meta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.drm-menu-app.drm-layout-list .drm-description,
.drm-menu-app.drm-layout-list .drm-meta-row,
.drm-menu-app.drm-layout-list .drm-allergens,
.drm-menu-app.drm-layout-list .drm-actions {
    grid-column: 1 / -1;
}

.drm-card-grams {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.drm-card-grams::before {
    content: "|";
    margin-right: 7px;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 700;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: initial;
    gap: 5px;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-heading {
    display: block;
    width: 100%;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-heading h2 {
    width: 100%;
    grid-column: auto;
    min-height: 2.24em;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card-price-meta {
    justify-content: center;
    width: 100%;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-price,
.drm-menu-app.drm-layout-grid-2 .drm-card-grams {
    width: auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.15;
    justify-self: auto;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row {
    grid-column: auto;
    grid-row: auto;
    justify-content: center;
    justify-self: auto;
    width: 100%;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-meta-row > span:first-child::before {
    content: none;
    margin-right: 0;
}

.drm-menu-app.drm-layout-grid-2 .drm-allergens {
    grid-column: auto;
    justify-content: center;
    width: 100%;
    text-align: center;
}

@media (max-width: 340px) {
    .drm-menu-app.drm-layout-grid-2 .drm-card-body {
        display: flex;
    }
}

/* Grid Layout Text Alignment Lock - Final */
.drm-menu-app.drm-layout-grid-2 .drm-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card .drm-card-media {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    align-self: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card .drm-card-body {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    justify-content: flex-start;
    align-self: stretch;
    margin: 0;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card .drm-card-heading,
.drm-menu-app.drm-layout-grid-2 .drm-card .drm-card-heading h2 {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-right: auto;
    margin-left: auto;
    justify-self: center;
    align-self: center;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card .drm-card-price-meta {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    align-self: center;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card .drm-price,
.drm-menu-app.drm-layout-grid-2 .drm-card .drm-card-grams {
    width: auto;
    min-width: 0;
    justify-self: center;
    align-self: center;
    margin: 0;
    text-align: center;
}

.drm-menu-app.drm-layout-grid-2 .drm-card .drm-meta-row,
.drm-menu-app.drm-layout-grid-2 .drm-card .drm-allergens {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    align-self: center;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
}
