/* The order page separates the offer, pickup information and product selection. */
.kk-page-intro--orders {
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
}
.kk-page-intro--orders h1 { font-size: 3.25rem; line-height: 1.1; }
.kk-page-intro--orders .kk-page-intro__lead { font-size: 1.25rem; }
.kk-rzut--current { padding: 40px 0 64px; }
.kk-rzut--current .kk-rzut__header {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.kk-rzut--current .kk-rzut__photo {
    margin: 0;
    width: 100%;
    padding: 8px;
    box-shadow: none;
}
.kk-rzut--current .kk-rzut__copy h2 {
    margin: 12px 0 18px;
    font-size: 3rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.kk-rzut--current .kk-prose { max-width: 65ch; }
.kk-rzut--current .kk-prose p:last-child { margin-bottom: 0; }
.kk-rzut__menu-link {
    min-height: 48px;
    max-width: 100%;
    gap: 12px;
    font-family: var(--font-hand-readable);
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 600;
}
#current-rzut-menu-title { scroll-margin-top: 100px; }
.kk-rzut--current .kk-order-essentials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: none;
    margin: 28px 0 0;
    padding: 22px 24px;
    background: var(--paper-2);
}
.kk-rzut--current .kk-order-essentials > div + div {
    border-left: 1px solid var(--rule);
    padding-left: 24px;
}
.kk-rzut--current .kk-order-essentials dt {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.kk-rzut--current .kk-order-essentials dd {
    margin: 8px 0 0;
    font-size: 1.25rem;
    color: var(--ink);
}
.kk-order-essentials dd span { display: block; margin-top: 4px; }
.kk-rzut--current .kk-order-products--current { margin-top: 40px; }
.kk-rzut--current .kk-order-products__intro {
    padding: 0 0 22px;
    border-bottom: 1px solid var(--rule);
}
.kk-rzut--current .kk-rzut__shop-title { margin: 0; font-size: 2rem; line-height: 1.15; }
.kk-rzut--current .kk-order-products__hint { margin: 8px 0 0; }
.kk-order-products .kk-order-product {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid var(--rule);
}
.kk-order-products .kk-order-product__image { width: 100%; }
.kk-order-products .kk-order-product__image img { aspect-ratio: 4 / 3; }
.kk-order-products .kk-order-product__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 28px;
    align-items: start;
}
.kk-order-products .kk-order-product__heading h3 {
    font-size: 1.875rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.kk-order-products .kk-order-product__price { font-size: 1.625rem; line-height: 1.4; }
.kk-order-products .kk-order-product__body > p { max-width: 65ch; }
.kk-order-products .kk-order-product__action { margin-top: 18px; }
.kk-order-products .kk-product-composition { margin-top: 18px; }

/* Preserve the handwritten voice with clearer, upright letterforms. */
.kk-order-product__price,
.kk-order-product .btn,
.kk-order-product__action-note,
.kk-order-product__details-link .kk-link-arrow,
.kk-order-product .kk-product-composition summary,
.kk-order-product .kk-product-details dt,
.kk-order-products__cart-link,
.kk-rzut-terms summary {
    font-family: var(--font-hand-readable);
    font-style: normal;
    font-weight: 500;
}
.kk-order-product__price {
    font-weight: 500;
    font-variant-numeric: lining-nums tabular-nums;
}
.kk-order-product .btn,
.kk-order-products__cart-link {
    max-width: 100%;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}
.kk-order-product__action-note {
    font-size: 1.0625rem;
    line-height: 1.5;
}
.kk-order-product__details-link .kk-link-arrow,
.kk-order-product .kk-product-composition summary,
.kk-rzut-terms summary {
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.4;
}
.kk-order-product .kk-product-details dt {
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.5;
}

.kk-rzut--item .kk-order-product__heading h1 { font-size: 2.5rem; line-height: 1.15; }
.kk-rzut--item .kk-order-product__image { margin: 0; }
.kk-rzut--item .kk-order-product--text-only { grid-template-columns: minmax(0, 920px); }
.kk-rzut--item .kk-product-details { margin-top: 24px; }

/* The cart follows the menu on wide screens and becomes a bottom bar below. */
.kk-menu-cart,
.kk-mobile-cart { display: none; }
.kk-menu-cart {
    position: sticky;
    top: 110px;
    align-self: start;
    max-height: calc(100dvh - 134px);
    overflow-y: auto;
    padding: 24px;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--rule) var(--paper-2);
}
.kk-menu-cart__heading,
.kk-menu-cart__total,
.kk-menu-cart__discount > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}
.kk-menu-cart__heading h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1.2;
}
.kk-menu-cart__count,
.kk-menu-cart__quantity { color: var(--ink-soft); white-space: nowrap; }
.kk-menu-cart__lines { list-style: none; margin: 24px 0 0; padding: 0; }
.kk-menu-cart__lines li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--rule);
    font-size: 1.0625rem;
    line-height: 1.4;
}
.kk-menu-cart__lines li > span { overflow-wrap: anywhere; }
.kk-menu-cart__product { grid-column: 1 / -1; }
.kk-menu-cart__lines strong { font-weight: 500; white-space: nowrap; }
.kk-menu-cart__quantity-form { display: inline-flex; align-items: center; gap: 0; margin: 0; }
.kk-menu-cart__quantity-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 1.5rem;
    cursor: pointer;
}
.kk-menu-cart__quantity-btn:hover:not(:disabled) { border-color: var(--ink-soft); }
.kk-menu-cart__quantity-btn:disabled { opacity: .45; cursor: not-allowed; }
.kk-menu-cart__quantity-value { min-width: 32px; text-align: center; font-size: 1.125rem; }
.kk-menu-cart__feedback { margin: 16px 0 0; font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }
.kk-menu-cart__feedback:empty { display: none; }
.kk-menu-cart__feedback.is-error { color: var(--accent-2); }
.kk-menu-cart__discount { margin: 16px 0 0; font-size: 1rem; color: var(--ink-soft); }
.kk-menu-cart__discount > div + div { margin-top: 6px; }
.kk-menu-cart__discount dd { margin: 0; white-space: nowrap; }
.kk-menu-cart__total { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }
.kk-menu-cart__total > span { font-size: 1.1875rem; }
.kk-menu-cart__total strong { font-size: 1.75rem; line-height: 1.2; white-space: nowrap; }
.kk-menu-cart__link {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    min-height: 48px;
    padding: 10px 16px;
    font-family: var(--font-hand-readable);
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 600;
}
.kk-menu-cart__pickup { margin: 24px 0 0; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.kk-menu-cart__pickup strong { color: var(--ink); font-weight: 600; }
.kk-menu-cart__note { margin: 12px 0 0; font-size: .9375rem; line-height: 1.45; color: var(--ink-soft); }
.kk-menu-cart__empty { margin: 24px 0 0; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.5; }
.kk-menu-cart__notice { margin: 16px 0 0; color: var(--accent-2); font-size: 1rem; }
.kk-menu-cart,
.kk-mobile-cart { font-variant-numeric: lining-nums tabular-nums; }

@media (min-width: 1100px) {
    .kk-order-selection {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
        gap: 40px;
        margin-top: 40px;
    }
    .kk-order-selection .kk-order-products--current { min-width: 0; margin-top: 0; }
    .kk-order-selection .kk-order-product { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
    .kk-order-selection .kk-order-product__heading { gap: 12px; }
    .kk-order-selection .kk-order-product__heading h3 { font-size: 1.625rem; }
    .kk-order-selection .kk-order-product__price { font-size: 1.375rem; }
    .kk-menu-cart { display: block; }
}

@media (max-width: 1099px) {
    .kk-mobile-cart:not([hidden]) {
        display: block;
        position: fixed;
        inset: auto 0 0;
        z-index: 45;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: var(--paper-2);
        border-top: 1px solid var(--rule);
    }
    .kk-mobile-cart__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        max-width: 900px;
        margin: 0 auto;
        padding: 10px 20px;
    }
    .kk-mobile-cart__amount { display: grid; gap: 2px; min-width: 0; }
    .kk-mobile-cart__amount > span { font-size: .9375rem; line-height: 1.2; color: var(--ink-soft); }
    .kk-mobile-cart__amount > strong { font-size: 1.5rem; line-height: 1.2; white-space: nowrap; }
    .kk-mobile-cart__disclosure { flex: 1; min-width: 0; }
    .kk-mobile-cart__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 48px;
        color: var(--ink);
        list-style: none;
        cursor: pointer;
    }
    .kk-mobile-cart__toggle::-webkit-details-marker { display: none; }
    .kk-mobile-cart__expand { display: flex; align-items: center; gap: 6px; font-size: .9375rem; color: var(--ink-soft); }
    .kk-mobile-cart__expand svg { flex-shrink: 0; }
    .kk-mobile-cart__disclosure[open] .kk-mobile-cart__expand svg { transform: rotate(180deg); }
    .kk-mobile-cart__panel {
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        max-width: 900px;
        max-height: min(65dvh, 560px);
        margin: 0 auto;
        overflow-y: auto;
        padding: 24px 20px;
        border-top: 1px solid var(--rule);
        border-radius: 16px 16px 0 0;
        background: var(--paper-2);
        scrollbar-width: thin;
        scrollbar-color: var(--rule) var(--paper-2);
    }
    .kk-mobile-cart__panel .kk-menu-cart__link,
    .kk-mobile-cart__panel .kk-menu-cart__pickup { display: none; }
    .kk-mobile-cart .btn {
        flex-shrink: 0;
        min-height: 44px;
        gap: 16px;
        padding: 8px 20px;
        font-family: var(--font-hand-readable);
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 600;
    }
    body:has(.kk-mobile-cart:not([hidden])) { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
    html:has(.kk-mobile-cart:not([hidden])) { scroll-padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
    .kk-mobile-cart__expand-label { display: none; }
}

@media (max-width: 900px) {
    .kk-rzut--current .kk-rzut__header { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
    .kk-rzut--current .kk-rzut__copy h2 { font-size: 2.5rem; }
    .kk-order-products .kk-order-product { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 720px) {
    .kk-page-intro--orders { padding: 24px 0; }
    .kk-page-intro--orders h1 { font-size: 2.5rem; }
    .kk-page-intro--orders .kk-page-intro__grid { gap: 14px; }
    .kk-page-intro--orders .kk-page-intro__lead { font-size: 1.125rem; }
    .kk-page-intro--orders-active { padding: 16px 0; }
    .kk-page-intro--orders-active h1 { font-size: 2rem; }
    .kk-page-intro--orders-active .kk-page-intro__grid { gap: 6px; }
    .kk-page-intro--orders-active .kk-page-intro__lead { margin: 0; font-size: 1rem; }
    .kk-rzut--current { padding-top: 20px; }
    .kk-rzut--current .kk-rzut__header { grid-template-columns: 1fr; gap: 0; }
    .kk-rzut--current .kk-rzut__copy h2 { margin: 8px 0 16px; font-size: 2rem; }
    .kk-rzut--current .kk-order-essentials { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; padding: 14px 16px; }
    .kk-rzut--current .kk-order-essentials > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; align-items: baseline; }
    .kk-rzut--current .kk-order-essentials > div + div { border: 0; padding: 0; }
    .kk-rzut--current .kk-order-essentials dt { font-size: .9375rem; }
    .kk-rzut--current .kk-order-essentials dd { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; font-size: 1rem; }
    .kk-rzut--current .kk-order-essentials dd span { margin: 0; }
    .kk-rzut--current .kk-order-products--current { margin-top: 24px; }
    .kk-rzut--current .kk-order-products__intro { gap: 18px; }
    .kk-order-products .kk-order-product { grid-template-columns: 1fr; gap: 18px; }
    .kk-order-products .kk-order-product__image { max-width: 360px; }
    .kk-order-products .kk-order-product__heading { gap: 12px; }
    .kk-order-products .kk-order-product__heading h3 { font-size: 1.625rem; }
    .kk-order-products .kk-order-product__price { font-size: 1.5rem; }
    .kk-rzut--item .kk-order-product__heading h1 { font-size: 2rem; }
}

@media (max-width: 520px) {
    .kk-order-products .kk-order-product__heading { grid-template-columns: 1fr; gap: 8px; }
    .kk-order-products .kk-order-product__price { margin: 0; }
}
