:root {
    --ink: #051922;
    --muted: #4d6068;
    --paper: #ffffff;
    --cream: #fff6e8;
    --gold: #f9a61a;
    --gold-dark: #c77800;
    --line: #efefef;
    --field-line: #c8d0d4;
    --ok: #2e7d52;
    --warn: #c27803;
    --danger: #b42318;
    --white: #ffffff;
    --nav-safe-top: env(safe-area-inset-top, 0px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

input,
select,
textarea,
button {
    font: inherit;
}

body.public:not(.has-hero) {
    padding-top: calc(86px + var(--nav-safe-top));
}

body.public.has-closure-notice:not(.has-hero) {
    padding-top: calc(132px + var(--nav-safe-top));
}

.public-nav {
    position: fixed;
    top: var(--nav-safe-top);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 14px clamp(18px, 5vw, 72px);
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(5, 25, 34, .08);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.public.has-closure-notice .public-nav {
    top: calc(44px + var(--nav-safe-top));
}

.public-closure-banner {
    position: fixed;
    top: var(--nav-safe-top);
    left: 0;
    right: 0;
    z-index: 21;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px clamp(18px, 5vw, 72px);
    color: var(--ink);
    background: #fff2d8;
    border-bottom: 1px solid rgba(199, 120, 0, .22);
    box-shadow: 0 12px 24px rgba(5, 25, 34, .08);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

.public-closure-banner strong {
    color: var(--gold-dark);
    text-transform: uppercase;
}

.has-hero .public-nav:not(.is-scrolled) {
    color: var(--white);
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.public-nav-logo img {
    width: 86px;
}

.public-nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.public-nav-links > a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-nav-link {
    position: relative;
}

.cart-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-badge {
    position: absolute;
    top: 1px;
    right: 0;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.hero {
    min-height: 94vh;
    position: relative;
    overflow: hidden;
    background: url('/images/fejlec.jpg') center / cover no-repeat;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 25, 34, .86), rgba(5, 25, 34, .34) 58%, rgba(5, 25, 34, .06));
}

.topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(18px, 5vw, 72px);
}

.topline img {
    width: 94px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topline a,
.primary-cta,
.primary-button,
.secondary-button,
.danger-button,
.state-button {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.primary-cta,
.primary-button {
    color: var(--white);
    background: var(--gold);
}

.topline a {
    min-height: auto;
    padding: 8px 0;
    color: var(--white);
    background: transparent;
    border-radius: 0;
    font-size: 18px;
}

.secondary-button {
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
}

.danger-button {
    color: var(--white);
    background: var(--danger);
}

.text-button {
    border: 0;
    padding: 0;
    color: var(--gold-dark);
    background: transparent;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 36px));
    padding: 22vh clamp(18px, 5vw, 72px) 16vh;
}

.hero h1 {
    margin: 0;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: clamp(58px, 9vw, 132px);
    font-weight: 600;
    line-height: .86;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero p {
    max-width: 560px;
    font-size: 20px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 10px;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 1;
    font-family: "Teko", "Roboto Condensed", sans-serif;
}

.intro-band,
.owner-band,
.ingredients-band,
.order-section,
.promise-grid,
.occasion-section,
.retail-band,
.site-footer {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.intro-band {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 440px);
    gap: 34px;
    align-items: center;
    padding: 64px 0 36px;
}

.intro-band h2,
.section-heading h2,
.owner-band h2,
.ingredients-band h2,
.retail-band h2 {
    margin: 0 0 12px;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.intro-band p,
.section-heading p,
.owner-band p,
.ingredients-band p {
    color: var(--muted);
    font-size: 18px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
}

.text-link::after {
    content: ">";
    margin-left: 8px;
}

.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.occasion-section {
    padding: 52px 0 20px;
}

.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.occasion-grid article {
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(0deg, rgba(5, 25, 34, .82), rgba(5, 25, 34, .08)), var(--occasion-image) center / cover no-repeat;
    color: var(--white);
}

.occasion-grid article div {
    padding: 18px;
}

.occasion-grid h3,
.promise-grid h3 {
    margin: 0 0 8px;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.occasion-grid p {
    margin: 0;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 22px 0 54px;
}

.promise-grid article,
.order-card,
.summary-card,
.login-panel,
.detail-panel,
.bulk-panel,
.product-admin-card,
.edit-form,
.health-grid article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.promise-grid article {
    padding: 22px;
}

.owner-band,
.ingredients-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 42px;
    align-items: center;
    padding: 54px 0;
}

.owner-band {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(240px, 320px) minmax(0, 720px);
    justify-content: center;
    padding-top: 54px;
    padding-bottom: 0;
    padding-left: 18px;
    padding-right: 18px;
    background: #f3f3f3;
}

.owner-band img {
    align-self: end;
    margin-bottom: 0;
}

.owner-band blockquote {
    margin: 12px 0;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 300;
}

.order-section {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.product-pick-section {
    background: #fff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 22px;
}

.order-card {
    padding: clamp(18px, 4vw, 34px);
}

.product-options {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.variant-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.variant-option input {
    width: 22px;
    height: 22px;
}

.variant-option span {
    display: grid;
}

.variant-option em {
    color: var(--gold-dark);
    font-style: normal;
    font-weight: 800;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--field-line);
    border-radius: 8px;
    min-height: 46px;
    padding: 10px 12px;
    background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    outline: 3px solid rgba(249, 166, 26, .18);
}

textarea {
    min-height: 92px;
}

.order-card > label {
    margin: 14px 0;
}

.ingredients-band {
    border-top: 1px solid var(--line);
    padding-bottom: 80px;
}

.product-page .ingredients-band {
    width: 100%;
    margin-top: 42px;
}

.nutrition-table-wrap {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.nutrition-table-wrap h3 {
    margin: 0 0 12px;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 34px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table th,
.nutrition-table td {
    padding: 10px 0;
    border-top: 1px solid var(--line);
    font-size: 18px;
}

.nutrition-table th {
    padding-right: 14px;
    text-align: left;
    font-weight: 900;
}

.nutrition-table td {
    text-align: right;
    color: var(--muted);
    font-weight: 900;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.shop-grid.compact {
    grid-template-columns: repeat(4, 1fr);
}

.centered-shop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.centered-shop-grid .shop-card {
    flex: 0 1 calc((100% - 48px) / 4);
}

.shop-card,
.cart-item,
.cart-summary,
.product-detail {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.shop-card {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.shop-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.product-title {
    display: inline-block;
    color: var(--ink);
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.shop-card p,
.cart-item p {
    margin: 0;
    color: var(--muted);
}

.layout-version-heading {
    margin: 34px 0 14px;
}

.layout-version-heading:first-of-type {
    margin-top: 0;
}

.add-cart-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
}

.add-cart-form label {
    font-size: 14px;
}

.add-cart-form input {
    min-height: 42px;
}

.product-family-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-family-card,
.product-menu-row {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.product-family-card {
    display: grid;
    overflow: hidden;
}

.product-family-card > a img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-family-content {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.product-family-content p,
.product-menu-copy p {
    margin: 0;
    color: var(--muted);
}

.family-variant-list {
    display: grid;
    gap: 10px;
}

.family-variant-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px auto;
    gap: 10px;
    align-items: end;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfc;
}

.family-variant-row div {
    display: grid;
}

.family-variant-row span,
.menu-variant-row span {
    color: var(--gold-dark);
    font-weight: 900;
}

.family-variant-row input,
.menu-variant-row input {
    min-height: 40px;
}

.family-variant-row .primary-button,
.menu-variant-row .secondary-button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 14px;
}

.product-menu-list {
    display: grid;
    gap: 12px;
}

.visual-family-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.visual-family-card {
    display: grid;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.visual-variant-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.visual-variant-images figure {
    position: relative;
    margin: 0;
    background: var(--white);
}

.visual-variant-images img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.visual-variant-images figcaption {
    position: absolute;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 8px;
    border-radius: 6px;
    color: var(--ink);
    background: rgba(255, 255, 255, .9);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-menu-row {
    display: grid;
    grid-template-columns: 150px minmax(190px, .8fr) minmax(360px, 1.4fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
}

.product-menu-image img {
    width: 150px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.product-menu-copy {
    display: grid;
    gap: 8px;
}

.product-menu-variants {
    display: grid;
    gap: 8px;
}

.menu-variant-row {
    display: grid;
    grid-template-columns: minmax(90px, .7fr) minmax(110px, 1fr) 72px auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfc;
}

.product-page,
.cart-page,
.checkout-page,
.account-page {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 36px 0 72px;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(280px, 440px) 1fr;
    gap: 34px;
    align-items: center;
    padding: clamp(18px, 4vw, 34px);
    margin-top: 20px;
}

.product-detail > img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.product-detail h1,
.cart-page h1,
.checkout-page h1,
.cart-summary h2 {
    margin: 0 0 12px;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: clamp(44px, 6vw, 78px);
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.product-options-detail {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.detail-buy-row {
    display: grid;
    grid-template-columns: 1fr 88px auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.detail-buy-row span {
    display: block;
    color: var(--gold-dark);
    font-weight: 800;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 18px;
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 110px 1fr 180px;
    gap: 16px;
    align-items: center;
    padding: 14px;
}

.cart-item form {
    display: grid;
    gap: 14px;
}

.cart-item img {
    width: 110px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.cart-summary {
    position: sticky;
    top: 88px;
    padding: 20px;
}

.checkout-summary {
    top: calc(112px + var(--nav-safe-top));
}

.cart-summary h2 {
    font-size: 42px;
}

.checkout-account {
    margin: 0 0 18px;
}

.account-strip,
.login-drawer,
.conditional-panel,
.payment-panel,
.gls-widget-shell,
.selected-point {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.conditional-panel[hidden],
.billing-panel[hidden] {
    display: none !important;
}

.account-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.account-strip div {
    display: grid;
    margin-right: auto;
}

.account-strip span,
.help-text,
.shipping-card small,
.payment-card small {
    color: var(--muted);
}

.login-drawer {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.login-drawer summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--ink);
    font-weight: 900;
    text-transform: uppercase;
}

.login-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 18px 18px;
}

.account-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.account-auth-grid h2 {
    margin: 0;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.account-login-panel {
    width: min(430px, 100%);
    display: grid;
    gap: 14px;
    margin: 4vh auto 8vh;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.account-login-panel img {
    width: 110px;
    margin: 0 auto 6px;
}

.account-login-panel .section-kicker,
.account-login-panel h1 {
    text-align: center;
}

.account-login-panel h1,
.account-hero h1,
.account-orders h2,
.account-address-section h2,
.account-dialog h2 {
    margin: 0;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.account-register-link {
    justify-self: center;
}

.account-dialog {
    width: min(460px, calc(100% - 28px));
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 24px 70px rgba(5, 25, 34, .24);
}

.account-dialog::backdrop {
    background: rgba(5, 25, 34, .58);
}

.dialog-close-form {
    display: flex;
    justify-content: flex-end;
}

.dialog-close-form button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: var(--cream);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.account-dashboard {
    display: grid;
    gap: 28px;
}

.account-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    border-radius: 8px;
    background: var(--cream);
}

.account-hero p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-weight: 800;
}

.account-order-list {
    display: grid;
    gap: 14px;
}

.account-order-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-left: 8px solid var(--warn);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.account-order-card.status-new {
    border-left-color: var(--danger);
}

.account-order-card.status-delivered,
.account-order-card.is-closed {
    border-left-color: var(--ok);
}

.account-order-card header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.account-order-card header > div {
    display: grid;
    gap: 2px;
}

.account-order-card header > div:last-child {
    text-align: right;
}

.account-order-items {
    display: grid;
    gap: 10px;
}

.account-order-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.account-order-item img {
    width: 72px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.account-order-item div {
    display: grid;
}

.account-order-item span {
    color: var(--muted);
    font-weight: 800;
}

.empty-account-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.account-tabs {
    display: grid;
    gap: 22px;
}

.account-tabs > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-tab-nav {
    display: inline-flex;
    width: fit-content;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.account-tab-nav label {
    min-width: 132px;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-weight: 900;
}

#account-tab-orders:checked ~ .account-tab-nav label[for="account-tab-orders"],
#account-tab-addresses:checked ~ .account-tab-nav label[for="account-tab-addresses"] {
    color: var(--ink);
    background: var(--gold);
}

.account-tab-panel {
    display: none;
}

#account-tab-orders:checked ~ .account-orders-panel,
#account-tab-addresses:checked ~ .account-address-section {
    display: block;
}

.account-address-section {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.mini-form,
.checkout-form {
    display: grid;
    gap: 16px;
}

.checkout-step {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.checkout-step + .checkout-step {
    margin-top: 10px;
}

.checkout-step-header {
    width: 100%;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 66px;
    padding: 12px 14px;
    border: 0;
    color: var(--ink);
    background: var(--white);
    cursor: pointer;
    text-align: left;
}

.checkout-step-header span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--ink);
    font-weight: 900;
}

.checkout-step-header strong {
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.checkout-step-header small {
    color: var(--muted);
    font-weight: 800;
}

.checkout-step-header[aria-current="step"] {
    background: var(--cream);
}

.checkout-step-header[aria-current="step"] span,
.checkout-step-header.is-complete span {
    background: var(--gold);
}

.checkout-step-body {
    display: grid;
    gap: 16px;
    padding: 16px;
    border-top: 1px solid var(--line);
}

.checkout-step-body[hidden] {
    display: none;
}

.checkout-login-panel {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 280px);
    gap: 18px;
    align-items: stretch;
}

.register-prompt {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
}

.small-button {
    width: fit-content;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 14px;
}

.checkout-heading {
    display: grid;
    gap: 8px;
}

.checkout-login {
    width: min(520px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.checkout-login summary {
    cursor: pointer;
    padding: 10px 14px;
    color: var(--gold-dark);
    font-weight: 900;
    text-transform: uppercase;
}

.checkout-login-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
    padding: 0 14px 14px;
}

.streamlined-checkout {
    gap: 18px;
}

.checkout-block {
    display: grid;
    gap: 16px;
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(5, 25, 34, .06);
}

.checkout-block-heading {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
}

.checkout-block-heading span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--gold);
    font-weight: 900;
}

.checkout-block-heading h2 {
    margin: 0;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 38px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.checkout-block-heading p {
    margin: 4px 0 0;
    color: var(--muted);
}

.inline-panel {
    box-shadow: none;
}

.point-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.point-summary {
    display: grid;
    gap: 4px;
}

.point-summary span {
    color: var(--muted);
}

.shipping-estimate {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #d6d0c4;
    border-radius: 8px;
    background: #fffaf0;
}

.shipping-estimate[hidden] {
    display: none;
}

.shipping-estimate strong {
    color: var(--ink);
}

.shipping-estimate span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.checkout-submit {
    width: 100%;
}

.checkout-summary .summary-total {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 18px;
}

.gls-map-dialog {
    width: min(980px, calc(100% - 28px));
    height: min(760px, calc(100vh - 28px));
    border: 0;
    border-radius: 8px;
    padding: 0;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 24px 80px rgba(5, 25, 34, .28);
}

.gls-map-dialog::backdrop {
    background: rgba(5, 25, 34, .55);
}

.gls-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.gls-map-header h2 {
    margin: 0;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.map-modal-shell {
    height: calc(100% - 87px);
    min-height: 0;
    border: 0;
    border-radius: 0;
}

.map-modal-shell .gls-widget {
    height: 100%;
    min-height: 100%;
}

.mini-form h2,
.checkout-form h2,
.address-form h2 {
    margin: 0;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 34px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.shipping-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.shipping-card,
.payment-card {
    min-height: 154px;
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.shipping-card input,
.payment-card input {
    width: 20px;
    min-height: 20px;
}

.shipping-card:has(input:checked),
.payment-card:has(input:checked) {
    border-color: var(--gold);
    box-shadow: inset 0 0 0 2px rgba(249, 166, 26, .28);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.payment-logo-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
}

.stripe-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.stripe-logo-badge {
    color: #fff;
    background: #635bff;
    font-size: 15px;
    font-style: italic;
}

.settings-panel {
    display: grid;
    gap: 16px;
}

.integration-panel {
    gap: 0;
    overflow: hidden;
    border: 1px solid #d7d1c8;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(44, 35, 26, .06);
}

.integration-panel + .integration-panel {
    margin-top: 22px;
}

.integration-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 22px;
    border-bottom: 1px solid #e4ded5;
    background: #fffaf1;
}

.integration-header h2 {
    margin-top: 4px;
}

.integration-header p {
    max-width: 660px;
    margin-top: 6px;
    color: var(--muted);
}

.integration-badge,
.status-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.integration-badge {
    color: var(--ink);
    background: #f9a61a;
}

.integration-state {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.status-green {
    color: #165f39;
    background: #ddf5e8;
}

.status-muted {
    color: #6f675f;
    background: #ece7df;
}

.integration-body {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.integration-group {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e4ded5;
    border-radius: 8px;
    background: #fff;
}

.integration-group h3 {
    margin: 0;
    font-size: 1rem;
}

.settings-panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.settings-panel-heading p {
    margin-top: 4px;
    color: var(--muted);
}

.settings-subtitle {
    margin: 6px 0 0;
    font-size: 1rem;
}

.settings-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.compact-check {
    width: fit-content;
    white-space: nowrap;
}

.gls-logo,
.pickup-logo,
.card-logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 900;
    letter-spacing: 0;
}

.gls-logo {
    width: 82px;
    min-height: 32px;
    padding: 0;
    border-radius: 0;
    object-fit: contain;
}

.pickup-logo,
.card-logo {
    color: var(--white);
    background: var(--ink);
}

.conditional-panel,
.payment-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.payment-note {
    display: grid;
    gap: 3px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
}

.payment-note span {
    color: var(--muted);
}

.form-grid .full-field {
    grid-column: 1 / -1;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-row input {
    width: 20px;
    min-height: 20px;
}

.gls-widget-shell {
    min-height: 420px;
    overflow: hidden;
}

.gls-widget {
    width: 100%;
    height: 420px;
    min-height: 420px;
    display: block;
}

.selected-point {
    padding: 12px;
    color: var(--muted);
    font-weight: 800;
}

.stripe-card-element {
    min-height: 48px;
    padding: 14px;
    border: 1px dashed var(--gold);
    border-radius: 8px;
    background: var(--cream);
}

.payment-status-message {
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f6f7f5;
    color: var(--ink);
    font-weight: 800;
}

.payment-status-message[data-tone="error"] {
    border-color: #c2410c;
    background: #fff7ed;
    color: #9a3412;
}

.payment-status-message[data-tone="success"] {
    border-color: #15803d;
    background: #f0fdf4;
    color: #166534;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.step-actions [hidden] {
    display: none;
}

.register-dialog {
    width: min(440px, calc(100% - 32px));
    border: 0;
    border-radius: 8px;
    padding: 24px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 24px 80px rgba(5, 25, 34, .28);
}

.register-dialog::backdrop {
    background: rgba(5, 25, 34, .55);
}

.dialog-close {
    justify-self: end;
    width: 38px;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.address-manager {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 18px;
    align-items: start;
}

.address-form {
    display: grid;
    gap: 14px;
}

.address-list {
    display: grid;
    gap: 14px;
}

.text-delete {
    border: 0;
    padding: 8px 0 0;
    color: var(--danger);
    background: transparent;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
}

.upsell-section {
    margin-top: 46px;
}

.retail-band {
    padding: 40px 0 64px;
}

.retail-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.retail-random-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.retail-card {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 16px;
}

.retail-card span {
    color: var(--gold-dark);
    font-weight: 900;
    text-transform: uppercase;
}

.retail-card h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
}

.retail-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.site-footer {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 30px;
    padding: 44px max(18px, calc((100vw - 1120px) / 2)) 34px;
    color: var(--white);
    background: var(--ink);
}

.site-footer img {
    width: 90px;
    margin-bottom: 14px;
}

.site-footer h4 {
    margin: 0 0 12px;
    color: var(--gold);
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.site-footer a,
.site-footer p {
    display: block;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .86);
}

.legal-page {
    width: min(940px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 64px;
}

.legal-header {
    margin: 24px 0 30px;
}

.legal-header h1 {
    margin: 0 0 10px;
    font-size: clamp(42px, 8vw, 76px);
}

.legal-content,
.legal-document {
    display: grid;
    gap: 18px;
}

.legal-content article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.legal-content h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 34px;
}

.legal-content p {
    margin: 0 0 10px;
}

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.legal-document object {
    width: 100%;
    min-height: 760px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.thanks-page {
    min-height: 100vh;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    padding: 24px;
    text-align: center;
}

.thanks-page img {
    width: 130px;
}

.thanks-page h1 {
    margin: 0;
    text-align: center;
}

.thanks-page > p {
    margin: 6px 0 14px;
    font-size: clamp(18px, 2.3vw, 24px);
    font-weight: 800;
}

.thanks-summary {
    width: min(620px, calc(100vw - 44px));
    display: grid;
    gap: 14px;
    padding: clamp(20px, 4vw, 32px);
    text-align: center;
}

.thanks-summary p {
    max-width: 100%;
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(18px, 2.2vw, 23px);
    font-weight: 800;
    line-height: 1.3;
}

.thanks-items {
    display: grid;
    gap: 8px;
}

.thanks-summary strong {
    font-weight: 900;
}

.form-errors,
.notice,
.error {
    padding: 14px 16px;
    border-radius: 8px;
    margin: 14px 0;
}

.form-errors,
.error {
    background: #fff1f0;
    color: var(--danger);
}

.notice {
    background: #eef8f1;
    color: var(--ok);
}

.admin {
    background: #f7f4ee;
}

.admin-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: 32px 18px;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 16px;
    color: var(--white);
    background: var(--ink);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-brand img {
    width: 44px;
}

.admin-nav {
    display: grid;
    gap: 5px;
}

.admin-nav a,
.admin-nav .link-button {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    color: var(--white);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
}

.admin-nav a:hover,
.admin-nav .link-button:hover {
    background: rgba(249, 166, 26, .18);
}

.admin-health-dots {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.admin-health-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .55);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
}

.admin-health-dot.is-ok {
    background: #30b46b;
}

.admin-health-dot.is-warn {
    background: #f9a61a;
}

.admin-health-dot.is-error {
    background: #e0483e;
}

.link-button {
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font-weight: 800;
}

.admin-shell {
    width: min(1280px, calc(100% - 270px));
    margin-left: 250px;
    padding: 26px 20px 70px;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-heading h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
}

.new-counter {
    background: var(--gold);
    color: var(--white);
    border-radius: 8px;
    padding: 14px 18px;
    font-weight: 900;
    font-size: 22px;
}

.order-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.admin-metric-grid article {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.admin-metric-grid span {
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
}

.admin-metric-grid strong {
    font-size: 34px;
}

.admin-sort-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px);
    align-items: start;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.admin-sort-panel label {
    width: 100%;
}

.admin-order-search {
    display: grid;
    gap: 6px;
}

.admin-order-search span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-order-sort {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.admin-order-sort label {
    display: grid;
    gap: 6px;
}

.bulk-panel {
    padding: 18px;
}

.compact-bulk-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.bulk-panel > div:first-child {
    display: grid;
    margin-bottom: 14px;
}

.label-position {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.label-position label {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--cream);
}

.orders-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.order-row {
    display: grid;
    grid-template-columns: 36px 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-left: 8px solid var(--muted);
    border-radius: 8px;
    background: var(--white);
}

.order-row[hidden],
.delivered-order-row[hidden] {
    display: none;
}

.admin-order-row {
    grid-template-columns: 34px minmax(260px, 1.2fr) minmax(160px, .6fr) minmax(420px, 1fr);
    align-items: stretch;
}

.order-admin-meta {
    display: grid;
    align-content: center;
    gap: 4px;
}

.order-admin-meta span {
    color: var(--muted);
    font-weight: 800;
}

.order-inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-end;
    gap: 8px;
}

.order-inline-actions form {
    display: contents;
}

.order-inline-actions .state-button,
.order-inline-actions .secondary-button {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 14px;
}

.order-row.status-new {
    border-left-color: var(--danger);
    background: #fff8f2;
}

.order-row.status-seen,
.order-row.status-preparing {
    border-left-color: var(--warn);
}

.order-row.status-ready,
.order-row.status-shipped,
.order-row.status-delivered {
    border-left-color: var(--ok);
}

.order-main {
    display: grid;
}

.order-number,
.pill {
    font-weight: 900;
    color: var(--gold-dark);
}

.money {
    font-weight: 900;
}

.delivered-orders-panel {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.delivered-orders-panel h2 {
    margin: 0;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.delivered-orders-list {
    display: grid;
    gap: 8px;
}

.delivered-order-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-left: 6px solid var(--ok);
    border-radius: 8px;
    background: var(--white);
}

.delivered-order-row a {
    display: grid;
}

.delivered-order-row span {
    color: var(--muted);
    font-weight: 800;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-weight: 900;
}

.pagination .active span {
    color: var(--white);
    background: var(--gold);
    border-color: var(--gold);
}

.pagination .disabled span {
    color: var(--muted);
    background: var(--cream);
}

.detail-grid,
.health-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-panel {
    padding: 20px;
}

.detail-panel h2 {
    margin-top: 0;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.state-button {
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.label-form {
    display: grid;
    gap: 16px;
}

.label-sheet {
    width: min(620px, 100%);
    aspect-ratio: 1.414 / 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    padding: 14px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.label-sheet label {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: center;
    gap: 2px;
    min-width: 0;
    padding: 16px 10px 12px;
    border: 2px dashed var(--gold);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.label-sheet label:has(input:checked) {
    border-style: solid;
    border-color: var(--gold-dark);
    background: #fff9ed;
    box-shadow: inset 0 0 0 2px rgba(249, 166, 26, .22);
}

.label-sheet span {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 900;
    line-height: 1;
}

.label-sheet small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.label-sheet input {
    position: absolute;
    top: 10px;
    left: 10px;
}

.calendar-year-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-year-switcher strong {
    min-width: 72px;
    text-align: center;
    font-size: 22px;
}

.calendar-help-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
}

.calendar-help-panel span {
    color: var(--muted);
    font-weight: 800;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: -4px 0 18px;
    font-weight: 900;
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.legend-dot.is-green {
    background: #2e7d52;
}

.legend-dot.is-yellow {
    background: #f9a61a;
}

.legend-dot.is-red {
    background: var(--danger);
}

.year-calendar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.month-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.month-card h2 {
    margin: 0;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.month-weekdays,
.month-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.month-weekdays span {
    min-height: 26px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--cream);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.calendar-day {
    display: grid;
    place-items: center;
    min-width: 0;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--white);
    background: #2e7d52;
    cursor: pointer;
    font-weight: 900;
    position: relative;
}

.calendar-day:hover {
    border-color: var(--gold);
}

.calendar-day.is-green {
    color: var(--white);
    background: #2e7d52;
    border-color: #2e7d52;
}

.calendar-day.is-yellow {
    color: var(--ink);
    background: #f9d678;
    border-color: #e0aa2b;
}

.calendar-day.is-red {
    color: var(--white);
    background: var(--danger);
    border-color: var(--danger);
}

.calendar-day.is-manual::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: .85;
}

.calendar-day.is-empty {
    border: 0;
    background: transparent;
}

.calendar-day:disabled {
    cursor: progress;
    opacity: .72;
}

.admin-dialog {
    width: min(520px, calc(100% - 28px));
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 24px 70px rgba(5, 25, 34, .24);
}

.admin-dialog::backdrop {
    background: rgba(5, 25, 34, .58);
}

.admin-dialog h2 {
    margin: 0 0 8px;
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 46px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.login-panel {
    width: min(420px, 100%);
    margin: 8vh auto;
    padding: 28px;
}

.login-panel img {
    width: 110px;
    margin: 0 auto 12px;
}

.product-admin-list {
    display: grid;
    gap: 14px;
}

.product-admin-card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
}

.product-admin-card img {
    width: 120px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.product-admin-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 10px;
}

.product-variant-summary {
    display: grid;
    gap: 6px;
}

.retailer-admin-list {
    display: grid;
    gap: 16px;
}

.retailer-city-panel {
    display: grid;
    gap: 14px;
}

.retailer-city-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.retailer-city-panel h2,
.retailer-admin-card h3 {
    margin: 0;
}

.retailer-city-panel header span {
    color: var(--muted);
    font-weight: 900;
}

.retailer-admin-grid {
    display: grid;
    gap: 10px;
}

.retailer-admin-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfc;
}

.retailer-admin-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-weight: 800;
}

.retailer-admin-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.retailer-admin-actions form {
    display: contents;
}

.email-template-list {
    display: grid;
    gap: 10px;
}

.email-template-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.email-template-row h2 {
    margin: 0;
    font-size: 24px;
}

.email-template-row p {
    margin: 4px 0 0;
    color: var(--muted);
    font-weight: 800;
}

.email-template-meta,
.email-template-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.email-template-actions form {
    display: contents;
}

.email-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    gap: 18px;
    align-items: start;
}

.email-editor-panel {
    display: grid;
    gap: 16px;
}

.email-variable-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.email-variable-palette .small-button {
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: 0;
}

.email-variable-panel {
    position: sticky;
    top: 16px;
    z-index: 4;
    box-shadow: 0 12px 30px rgba(5, 25, 34, .08);
}

.email-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.email-editor-toolbar button {
    min-width: 38px;
    min-height: 34px;
    border: 1px solid var(--field-line);
    border-radius: 7px;
    color: var(--ink);
    background: #fbfcfc;
    cursor: pointer;
    font-weight: 900;
}

.email-rich-editor {
    min-height: 170px;
    padding: 12px;
    border: 1px solid var(--field-line);
    border-radius: 8px;
    background: var(--white);
    outline: none;
}

.email-rich-editor:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(249, 166, 26, .18);
}

.email-rich-editor p:first-child,
.email-rich-editor h2:first-child,
.email-rich-editor h3:first-child {
    margin-top: 0;
}

.email-preview-panel {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfc;
}

.email-preview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.email-preview-heading h2 {
    margin: 0;
}

.email-preview-subject {
    min-height: 34px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--white);
    font-weight: 900;
}

.email-preview-frame {
    width: 100%;
    min-height: 680px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.product-variant-summary p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.product-variant-summary span,
.product-variant-summary em {
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
}

.edit-form {
    display: grid;
    gap: 18px;
}

.product-edit-form {
    padding: 0;
}

.admin-form-panel {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.product-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 18px;
    align-items: start;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.panel-heading h2,
.variant-card h3,
.variant-field-group h4 {
    margin: 0;
}

.panel-heading h2 {
    font-family: "Teko", "Roboto Condensed", sans-serif;
    font-size: 34px;
    font-weight: 500;
    line-height: .95;
    text-transform: uppercase;
}

.panel-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-weight: 700;
}

.step-badge {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--gold);
    font-weight: 900;
}

.field-block {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.compact-field {
    max-width: 150px;
}

.variant-preview,
.variant-empty-preview {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.toggle-card,
.check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-card {
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--field-line);
    border-radius: 8px;
    background: #fbfcfc;
}

.toggle-card span {
    display: grid;
    gap: 1px;
    line-height: 1.25;
}

.toggle-card small {
    color: var(--muted);
    font-weight: 700;
}

.toggle-card input,
.check input,
.label-position input,
.label-sheet input {
    width: 20px;
    min-height: 20px;
    flex: 0 0 20px;
}

.variants-panel {
    gap: 20px;
}

.variants-heading {
    align-items: center;
}

.variant-card-list {
    display: grid;
    gap: 16px;
}

.add-variant-button {
    justify-self: start;
}

.variant-dialog {
    display: none;
    gap: 16px;
}

.variant-dialog[open] {
    display: grid;
}

.variant-card {
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.variant-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.variant-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-card h3 {
    font-size: 22px;
    line-height: 1.15;
}

.variant-kicker {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.status-pill.is-live {
    color: #165636;
    background: #e8f5ee;
}

.status-pill.is-muted {
    color: var(--muted);
    background: #eef2f3;
}

.status-pill.is-warn,
.health-card.is-warn {
    color: #6f4700;
    background: #fff4d8;
}

.health-card {
    position: relative;
}

.health-card-action {
    position: absolute;
    top: 14px;
    right: 14px;
}

.health-card-action button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: inherit;
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(8, 25, 31, .12);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(8, 25, 31, .08);
}

.health-card-action button:hover {
    background: var(--white);
    transform: translateY(-1px);
}

.health-card-action svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.health-card.is-ok {
    color: #165636;
    background: #e8f5ee;
}

.health-card.is-error {
    color: #8f1f17;
    background: #fde9e7;
}

.health-card span small {
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    color: inherit;
    background: rgba(255, 255, 255, .58);
    font-size: .72rem;
    font-weight: 900;
}

.push-panel {
    margin-top: 18px;
}

.panel-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.panel-heading-row p {
    margin: 4px 0 0;
    color: var(--muted);
    font-weight: 800;
}

.push-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.push-actions .primary-button,
.push-actions .secondary-button {
    min-height: 40px;
    padding: 10px 14px;
}

.push-status {
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #f8faf9;
    font-weight: 800;
}

.push-status[data-tone="ok"] {
    color: #165636;
    background: #e8f5ee;
}

.push-status[data-tone="error"] {
    color: #8f1f17;
    background: #fde9e7;
}

.push-device-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.push-device-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.push-device-list span {
    color: var(--muted);
    font-weight: 800;
}

.maintenance-form {
    display: grid;
    gap: 16px;
}

.maintenance-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--ink);
    background: #f7f4ee;
}

.maintenance-shell {
    width: min(100%, 620px);
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.maintenance-shell img {
    width: min(220px, 62vw);
}

.maintenance-shell h1 {
    margin: 0;
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: .86;
}

.maintenance-shell p {
    max-width: 460px;
    margin: 0;
    color: var(--muted);
    font-size: 1.18rem;
}

.loyalty-settings-panel p {
    margin: 8px 0 0;
    color: var(--muted);
}

.loyalty-discount-form {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.loyalty-discount-form label {
    display: grid;
    gap: 6px;
    font-weight: 900;
}

.loyalty-discount-form input {
    width: 120px;
}

.percent-input {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid var(--field-line);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.percent-input input {
    width: 82px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.percent-input span {
    padding: 0 12px 0 2px;
    color: var(--muted);
    font-weight: 900;
}

.loyalty-table {
    min-width: 860px;
    display: grid;
    gap: 8px;
}

.loyalty-panel {
    overflow-x: auto;
}

.loyalty-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--muted);
    font-weight: 900;
}

.loyalty-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.loyalty-legend i {
    width: 22px;
    height: 14px;
    display: block;
    border-radius: 999px;
}

.loyalty-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.1fr) minmax(190px, 1.2fr) minmax(220px, 1.4fr) 100px 140px;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.loyalty-head {
    color: var(--muted);
    background: transparent;
    border: 0;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.loyalty-months {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
    align-items: center;
}

.loyalty-months i,
.loyalty-months em {
    width: 18px;
    height: 14px;
    display: block;
    border-radius: 999px;
    justify-self: center;
}

.loyalty-months i {
    background: #d9dee0;
}

.loyalty-months i.is-active,
.loyalty-legend i.is-active {
    background: #30b46b;
}

.loyalty-months i.is-legacy,
.loyalty-legend i.is-legacy {
    background: var(--gold);
}

.loyalty-months i.is-mixed,
.loyalty-legend i.is-mixed {
    background: linear-gradient(90deg, #30b46b 0 50%, var(--gold) 50% 100%);
}

.loyalty-months em {
    width: 18px;
    height: 18px;
    color: var(--muted);
    font-style: normal;
    font-size: .68rem;
    line-height: 18px;
    text-align: center;
}

.loyalty-row small {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
}

.variant-card-body {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.variant-fields {
    display: grid;
    gap: 14px;
}

.variant-field-group {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfc;
}

.variant-field-group h4 {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.ingredients-editor-panel {
    gap: 16px;
}

.ingredient-admin-table {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(140px, .7fr);
    gap: 8px;
    align-items: center;
}

.ingredient-admin-table > strong {
    padding: 0 2px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

.variant-two-col,
.variant-three-col,
.variant-toggle-row {
    display: grid;
    gap: 12px;
}

.variant-two-col {
    grid-template-columns: minmax(0, 1fr) minmax(140px, .45fr);
}

.variant-three-col {
    grid-template-columns: minmax(150px, .7fr) minmax(0, 1fr) minmax(120px, .45fr);
}

.variant-toggle-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.variant-preview img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.variant-preview .small-button {
    justify-self: start;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
}

.variant-empty-preview {
    place-items: center;
    min-height: 140px;
    border: 1px dashed var(--field-line);
    border-radius: 8px;
    background: #fbfcfc;
}

.variant-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.variant-image-tile {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.variant-image-tile img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.variant-image-tile span {
    color: var(--muted);
    font-weight: 900;
}

.new-variant-edit {
    background: #fffaf1;
}

.form-save-bar {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 0 0;
    background: linear-gradient(180deg, rgba(255,255,255,0), var(--white) 28%);
}

.account-orders {
    margin-top: 34px;
}

.account-orders .order-row {
    grid-template-columns: auto 1fr auto auto;
}

.health-grid article {
    display: grid;
    gap: 6px;
    padding: 20px;
}

.health-grid strong {
    font-size: 26px;
}

.health-grid p {
    margin: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 820px) {
    .intro-band,
    .owner-band,
    .ingredients-band,
    .promise-grid,
    .occasion-grid,
    .shop-grid,
    .shop-grid.compact,
    .product-family-grid,
    .visual-family-grid,
    .form-grid,
    .account-auth-grid,
    .login-grid,
    .checkout-login-row,
    .checkout-login-panel,
    .point-panel,
    .shipping-methods,
    .payment-methods,
    .settings-check-grid,
    .address-manager,
    .retail-random-grid,
    .product-detail,
    .cart-layout,
    .checkout-layout,
    .detail-grid,
    .health-grid,
    .admin-metric-grid,
    .product-editor-grid,
    .variant-card-body,
    .variant-two-col,
    .variant-three-col,
    .variant-toggle-row,
    .ingredient-admin-table,
    .year-calendar,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 86vh;
    }

    .order-row,
    .admin-order-row,
    .delivered-order-row,
    .product-admin-card,
    .retailer-admin-card,
    .email-template-row,
    .email-editor-layout,
    .product-menu-row,
    .family-variant-row,
    .menu-variant-row {
        grid-template-columns: 1fr;
    }

    .product-menu-image img {
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .centered-shop-grid .shop-card {
        flex-basis: 100%;
    }

    .admin-heading,
    .email-preview-heading,
    .integration-header,
    .settings-panel-heading,
    .compact-bulk-panel,
    .admin-sort-panel,
    .calendar-help-panel,
    .account-hero,
    .account-order-card header,
    .empty-account-state {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-sort-panel {
        grid-template-columns: 1fr;
    }

    .integration-state {
        justify-items: start;
    }

    body.public:not(.has-hero) {
        padding-top: calc(76px + var(--nav-safe-top));
    }

    .public-nav {
        min-height: 68px;
        padding: 10px 16px;
    }

    body.public.has-closure-notice:not(.has-hero) {
        padding-top: calc(150px + var(--nav-safe-top));
    }

    body.public.has-closure-notice .public-nav {
        top: calc(82px + var(--nav-safe-top));
    }

    .public-closure-banner {
        min-height: 82px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 9px 16px;
        font-size: 14px;
        text-align: left;
    }

    .public-nav-logo img {
        width: 66px;
    }

    .public-nav-links {
        gap: 4px;
    }

    .public-nav-links > a {
        min-height: 36px;
        padding: 6px;
        font-size: 14px;
    }

    .cart-icon {
        width: 30px;
        height: 30px;
    }

    .account-order-card header > div:last-child {
        text-align: left;
    }

    .account-order-item {
        grid-template-columns: 64px 1fr;
    }

    .account-order-item > span {
        grid-column: 2;
    }

    .admin-sidebar {
        position: static;
        width: auto;
        margin: 0;
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-health-dots {
        margin-top: 0;
    }

    .admin-shell {
        width: min(100% - 24px, 1180px);
        margin: 0 auto;
        padding: 20px 0 64px;
    }

    .order-inline-actions {
        justify-content: flex-start;
    }

    .topline {
        align-items: flex-start;
    }

    .top-links {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }

    .detail-buy-row,
    .cart-item,
    .add-cart-form {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}
