:root {
    --paper: #f1f4f2;
    --surface-soft: #f6f8f7;
    --line: #d5ded9;
    --line-strong: #aebdb6;
    --ink: #15201c;
    --muted: #5c6964;
    --touch: 52px;
    --shadow: 0 8px 24px rgba(21, 32, 28, .08);
    --shadow-strong: 0 20px 48px rgba(21, 32, 28, .2);
    --mode-color: #087f68;
    --mode-soft: #e1f4ee;
}

body.business-tienda { --mode-color: #2564c8; --mode-soft: #e8f0ff; }
body.business-restaurante { --mode-color: #087f68; --mode-soft: #e1f4ee; }
body.business-buffet { --mode-color: #c54a2f; --mode-soft: #fff0ea; }

body {
    background: var(--paper);
    font-size: 16px;
}

body::before {
    height: 4px;
    position: fixed;
    inset: 0 0 auto;
    z-index: 110;
    background: var(--mode-color);
    content: "";
}

button,
a,
input,
select,
textarea,
summary {
    touch-action: manipulation;
}

.button,
.input,
.select select,
.textarea,
.file-input-control {
    min-height: 52px;
    border-radius: 6px;
}

.button {
    padding-inline: 1.05rem;
    font-size: .93rem;
    font-weight: 800;
}

.button .app-icon {
    width: 20px;
    height: 20px;
}

.button.is-primary,
.button.is-link {
    box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 22%, transparent);
}

.button:active:not(:disabled),
.icon-button:active:not(:disabled),
.product-button:active,
.store-product:active {
    transform: translateY(1px);
}

.app-sidebar {
    width: 252px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 8px 0 28px rgba(12, 24, 20, .08);
}

.app-workspace {
    margin-left: 252px;
}

.sidebar-brand {
    min-height: 88px;
    padding: 18px 16px;
}

.sidebar-brand img,
.sidebar-brand .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 7px;
}

.sidebar-brand strong {
    font-size: 1.02rem;
}

.sidebar-brand small {
    font-size: .72rem;
}

.sidebar-nav {
    padding: 18px 12px;
}

.nav-group > p {
    margin: 0 0 7px 11px;
    font-size: .63rem;
}

.sidebar-link {
    min-height: 52px;
    margin-bottom: 4px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: .91rem;
    font-weight: 750;
}

.sidebar-link .app-icon {
    width: 21px;
    height: 21px;
}

.sidebar-link.is-active {
    background: var(--primary);
    color: var(--primary-contrast);
    box-shadow: none;
}

.sidebar-link:hover:not(.is-active) {
    background: rgba(255, 255, 255, .12);
}

.sidebar-footer {
    padding: 10px 12px 14px;
}

.sidebar-user {
    margin-top: 7px;
    padding: 10px 6px 0;
}

.user-avatar {
    border-radius: 7px;
}

.app-main {
    padding: 24px;
}

.app-content {
    width: min(100%, 1500px);
}

.page-header {
    min-height: 72px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--line);
}

.page-header .title.is-3,
.store-header h1 {
    font-size: 2rem;
    line-height: 1.05;
}

.page-kicker {
    color: var(--mode-color);
    font-size: .72rem;
}

.page-header .subtitle {
    font-size: .9rem;
}

.page-actions {
    gap: 8px;
}

.section-heading {
    margin-bottom: 12px;
}

.section-heading h2,
.panel-heading-row h2 {
    font-size: 1.15rem !important;
}

.app-panel,
.box.app-box,
.app-box {
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(21, 32, 28, .055);
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.metric {
    min-height: 164px;
    padding: 18px;
    border: 0;
    border-top: 5px solid var(--mode-color);
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.metric-todaySales { border-top-color: #2869c7; }
.metric-cashOpen { border-top-color: #e2a62a; }
.metric-lowStock { border-top-color: #d55b3f; }

.metric-icon {
    width: 46px;
    height: 46px;
    border-radius: 7px;
}

.metric-icon .app-icon {
    width: 24px;
    height: 24px;
}

.metric strong {
    margin-top: 6px;
    font-size: 2.2rem;
}

.metric > span:not(.metric-icon) {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.metric small {
    font-size: .8rem;
}

.page-section {
    margin-top: 28px;
}

.quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quick-actions > a {
    min-height: 108px;
    padding: 16px;
    border: 0;
    border-left: 5px solid var(--mode-color);
    border-radius: 7px;
    grid-template-columns: 58px minmax(0, 1fr) 24px;
    background: var(--surface);
    box-shadow: 0 3px 12px rgba(21, 32, 28, .06);
}

.quick-actions > a:hover {
    border-color: var(--mode-color);
    box-shadow: 0 10px 24px rgba(21, 32, 28, .12);
    transform: translateY(-1px);
}

.quick-action-icon {
    width: 58px;
    height: 58px;
    border-radius: 7px;
    background: var(--mode-soft);
    color: var(--mode-color);
}

.quick-action-icon .app-icon {
    width: 28px;
    height: 28px;
}

.quick-actions strong {
    font-size: 1.05rem;
}

.quick-actions small {
    font-size: .82rem;
}

.quick-action-cash { border-left-color: #e2a62a !important; }
.quick-action-inventory { border-left-color: #2869c7 !important; }
.quick-action-production { border-left-color: #d55b3f !important; }

.branch-shell {
    width: min(1260px, 100%);
    max-width: 1260px;
}

.branch-kind {
    margin: 24px 0 34px;
}

.branch-kind > h2 {
    padding: 0 0 10px 12px;
    border-bottom: 2px solid var(--line);
    border-left: 5px solid var(--mode-color);
}

.branch-kind-tienda > h2 { border-left-color: #2564c8; }
.branch-kind-restaurante > h2 { border-left-color: #087f68; }
.branch-kind-buffet > h2 { border-left-color: #c54a2f; }

.branch-kind .branch-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

.branch-kind .branch-card {
    min-height: 130px;
    border: 2px solid transparent;
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.branch-kind .branch-card:hover {
    border-color: var(--branch-primary);
    transform: translateY(-1px);
}

.business-badge {
    border-radius: 3px;
}

.management-sections {
    gap: 18px;
}

.management-sections h2 {
    padding-left: 8px;
    border-left: 4px solid var(--mode-color);
    color: var(--ink);
    font-weight: 900;
}

.management-links {
    border: 0;
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.management-links a {
    min-height: 68px;
    padding: 12px 16px;
}

.management-links a > .app-icon:first-child {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 6px;
    background: var(--mode-soft);
    color: var(--mode-color);
}

.management-links a:hover {
    padding-left: 19px;
}

.pos-shell {
    grid-template-columns: minmax(330px, .82fr) minmax(480px, 1.35fr) minmax(360px, 410px);
    gap: 12px;
}

.pos-left > .panel-heading-row,
.pos-menu > .panel-heading-row {
    min-height: 52px;
}

.floor-wrap,
.designer-canvas-wrap {
    border-width: 2px;
    border-radius: 7px;
}

.table-quick-list {
    gap: 8px;
}

.table-quick-list button {
    min-height: 58px;
    border: 2px solid var(--line);
    background: var(--surface);
    font-size: .92rem;
    font-weight: 850;
}

.open-orders-panel {
    border-top: 5px solid var(--mode-color);
}

.open-orders {
    gap: 8px;
}

.open-order {
    min-height: 76px;
    border-width: 2px;
    border-radius: 7px;
}

.open-order.is-active {
    border-color: var(--mode-color);
    background: var(--mode-soft);
}

.pos-menu,
.pos-ticket,
.designer-tools {
    padding: 14px;
    border-radius: 7px;
}

.pos-menu {
    border-top: 5px solid #2869c7;
}

.pos-ticket {
    top: 20px;
    border-top: 5px solid #e2a62a;
}

.search-field,
.store-search {
    min-height: 58px;
    border-width: 2px;
    border-radius: 7px;
}

.search-field input,
.store-search input {
    font-size: 1rem;
}

.app-tabs button,
.store-category-tabs button {
    min-height: 46px;
    padding-inline: 16px;
    border-width: 2px;
    border-radius: 6px;
    font-size: .84rem;
}

.product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.product-button {
    min-height: 108px;
    padding: 10px;
    border-width: 2px;
    border-radius: 7px;
    grid-template-columns: 72px minmax(0, 1fr) 32px;
}

.product-button img,
.product-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 6px;
}

.product-copy strong {
    font-size: .96rem;
}

.product-copy small {
    color: var(--primary-strong);
    font-size: .84rem;
    font-weight: 850;
}

.product-add {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.ticket-items {
    max-height: 36vh;
}

.ticket-item {
    min-height: 48px;
    padding: 8px 0;
}

.ticket-total,
.store-total {
    margin: 12px -14px;
    padding: 15px 16px;
    border: 0;
    background: #17231f;
    color: #fff;
}

.ticket-total strong,
.store-total strong {
    color: inherit;
    font-size: 1.8rem;
}

.payment-panel,
.store-payment {
    border-radius: 7px;
    background: #f4f7f5;
}

.ticket-actions-grid {
    gap: 8px;
}

.ticket-actions-grid .action-send,
.ticket-actions-grid .action-pay {
    min-height: 58px;
    font-size: .96rem;
}

.buffet-admission {
    margin: -4px 0 18px;
    padding: 14px 18px;
    border: 0;
    border-left: 6px solid #c54a2f;
    background: #fff;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(140px, 190px));
    gap: 14px;
    align-items: end;
}

.buffet-admission > div,
.buffet-admission label {
    display: grid;
    gap: 4px;
}

.buffet-admission small,
.buffet-admission label span {
    color: var(--muted);
    font-size: .76rem;
}

.buffet-admission label {
    font-weight: 850;
}

.store-header {
    min-height: 72px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--line);
}

.store-header .button {
    min-height: 58px;
}

.store-workspace {
    grid-template-columns: minmax(0, 1.45fr) minmax(390px, .72fr);
    gap: 14px;
}

.store-category-tabs {
    padding: 12px 0;
}

.store-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.store-product {
    min-height: 104px;
    padding: 12px;
    border-width: 2px;
    grid-template-columns: 64px minmax(0, 1fr) 24px;
}

.store-product img,
.store-product-icon {
    width: 64px;
    height: 64px;
}

.store-product strong {
    font-size: .95rem;
}

.store-product small {
    font-size: 1rem;
}

.store-sale {
    top: 20px;
    border: 0;
    border-top: 5px solid #e2a62a;
    box-shadow: var(--shadow-strong);
}

.store-sale > header {
    min-height: 74px;
    align-items: center;
}

.store-items {
    min-height: 220px;
}

.store-total {
    margin-inline: 0;
}

.store-actions .button {
    min-height: 58px;
}

.production-board {
    gap: 14px;
}

.production-station {
    border: 0;
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.station-header {
    min-height: 78px;
    padding: 14px;
    border-bottom: 0;
    color: #fff;
}

.station-kitchen .station-header { background: #b8482f; }
.station-bar .station-header { background: #2869c7; }
.station-other .station-header { background: #087f68; }

.station-header h2,
.station-header p {
    color: #fff;
}

.station-icon,
.station-bar .station-icon,
.station-other .station-icon {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.station-orders {
    padding: 10px;
}

.production-order {
    padding: 12px;
    border: 0;
    border-left: 5px solid #e2a62a;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(21, 32, 28, .1);
}

.production-order-title strong {
    font-size: 1.05rem;
}

.age-pill {
    border-radius: 4px;
    background: #fff1c9;
    color: #785100;
    font-weight: 900;
}

.quantity-badge {
    min-width: 32px;
    height: 32px;
    border-radius: 5px;
    font-size: .9rem;
}

.production-item-actions .button,
.production-order footer .button {
    min-height: 48px;
    padding-inline: 12px;
    font-size: .8rem;
}

.cash-summary-band {
    gap: 12px;
}

.cash-summary-band > div {
    min-height: 142px;
    padding: 18px;
    border: 0;
    border-top: 5px solid #2869c7;
    border-radius: 7px;
}

.cash-summary-band > div:nth-child(2) { border-top-color: #e2a62a; }
.cash-summary-band > div:nth-child(3) { border-top-color: #087f68; }

.cash-summary-band strong {
    font-size: 2.15rem;
}

.cash-breakdown .total {
    border: 0;
    border-left: 5px solid var(--primary);
    border-radius: 5px;
}

.summary-strip,
.supplier-summary {
    border: 0;
    border-top: 5px solid var(--mode-color);
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.table-container,
.responsive-table {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    overflow: auto;
}

.table {
    margin-bottom: 0 !important;
}

.table th {
    padding: 12px !important;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #edf2ef !important;
    color: #34423c !important;
    font-weight: 900;
}

.table td {
    padding: 12px !important;
}

.table tbody tr:hover td {
    background: #f7faf8;
}

.segmented-tabs,
.operation-type-control {
    border-width: 2px;
    border-radius: 7px;
}

.segmented-tabs button,
.operation-type-control span {
    min-height: 50px;
}

.operation-destination-name {
    width: min(520px, 100%);
    margin: 0 0 24px;
}

.operation-destination-name > label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 850;
}

.operation-destination-name > div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    border: 2px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    overflow: hidden;
}

.operation-destination-name > div > span {
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--mode-soft);
    color: var(--mode-color);
}

.operation-destination-name .input {
    border: 0;
    border-radius: 0;
}

.operation-destination-name > p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.operation-destination-name > div:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-focus);
}

.buffet-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin: 20px 0 24px;
    padding: 18px;
    border-left: 5px solid #c54a2f;
    background: #fff7f3;
}

.buffet-form label,
.buffet-rate-form > label {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 850;
}

.buffet-form .input,
.buffet-rate-form .input {
    margin-top: 7px;
}

.buffet-rates {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 2px solid var(--line);
}

.current-rate {
    min-width: 230px;
    padding: 12px 14px;
    border-left: 4px solid #c54a2f;
    background: #fff7f3;
    display: grid;
    gap: 2px;
}

.current-rate span,
.current-rate small {
    color: var(--muted);
    font-size: .76rem;
}

.buffet-rate-form {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(120px, .7fr));
    gap: 12px;
    align-items: end;
    margin: 18px 0;
    padding: 18px;
    background: #f4f7f5;
}

.rate-days {
    grid-column: 1 / -2;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rate-days legend {
    width: 100%;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 850;
}

.rate-days label input {
    position: absolute;
    opacity: 0;
}

.rate-days label span {
    min-width: 46px;
    min-height: 42px;
    padding: 9px 11px;
    border: 2px solid var(--line);
    border-radius: 6px;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-weight: 800;
}

.rate-days label input:checked + span {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.buffet-rate-list {
    display: grid;
    gap: 8px;
}

.buffet-rate-row {
    min-height: 74px;
    padding: 12px 14px;
    border: 2px solid var(--line);
    border-left: 5px solid #27946f;
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(230px, 1fr) auto;
    gap: 14px;
    align-items: center;
    background: #fff;
}

.buffet-rate-row.is-paused {
    border-left-color: #9aa49f;
    opacity: .76;
}

.buffet-rate-row > div:first-child,
.buffet-rate-prices {
    display: grid;
    gap: 3px;
}

.buffet-rate-row span {
    color: var(--muted);
    font-size: .82rem;
}

.buffet-rate-prices {
    grid-template-columns: repeat(2, 1fr);
}

.buffet-rate-prices strong {
    color: var(--text);
}

.coupon-layout {
    display: grid;
    grid-template-columns: minmax(340px, .72fr) minmax(440px, 1.28fr);
    gap: 18px;
    align-items: start;
}

.coupon-create {
    position: sticky;
    top: 86px;
}

.coupon-create form,
.coupon-catalog {
    display: grid;
    gap: 16px;
}

.coupon-scope {
    padding: 14px;
    border: 2px solid var(--line);
}

.coupon-scope legend {
    padding: 0 6px;
    font-weight: 900;
}

.coupon-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.coupon-options label {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f7faf8;
}

.coupon-card {
    padding: 16px;
    border: 2px solid var(--line);
    border-left: 5px solid #27946f;
    background: #fff;
}

.coupon-card.is-paused {
    border-left-color: #9aa49f;
}

.coupon-card header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.coupon-card h3 {
    margin: 8px 0 0;
    font-size: 1.25rem;
}

.coupon-card header > strong {
    color: var(--primary-dark);
    font-size: 1.35rem;
    text-align: right;
}

.coupon-scope-copy {
    margin: 14px 0;
    padding: 9px 10px;
    background: var(--primary-soft);
    font-weight: 750;
}

.coupon-card dl {
    display: grid;
    grid-template-columns: .7fr .7fr 1.6fr;
    gap: 10px;
    margin: 0 0 14px;
}

.coupon-card dl div {
    display: grid;
    gap: 3px;
}

.coupon-card dt {
    color: var(--muted);
    font-size: .73rem;
    font-weight: 800;
}

.coupon-card dd {
    margin: 0;
    font-weight: 750;
}

.ticket-summary,
.store-summary {
    margin: 12px 0;
}

.ticket-summary > div:not(.ticket-total),
.store-summary > div:not(.store-total) {
    padding: 5px 2px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
}

.coupon-entry {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.coupon-entry > div,
.store-coupon > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
}

.coupon-entry > div:has(#remove-coupon:not([hidden])),
.store-coupon > div:has(#store-remove-coupon:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) auto;
}

.coupon-entry p,
.store-coupon small {
    margin: 5px 0 0;
    color: var(--muted);
}

.coupon-entry .is-applied,
.store-coupon .is-applied {
    color: #157454;
    font-weight: 800;
}

.store-coupon {
    grid-column: 1 / -1;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.store-coupon > label {
    display: block;
    margin-bottom: 6px;
    font-weight: 850;
}

.store-coupon input {
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.admin-form-layout,
.inventory-layout,
.cash-workspace,
.reports-grid,
.supplier-layout {
    gap: 14px;
}

.theme-preset-option,
.toggle-control,
.branch-checks label {
    border-width: 2px;
    border-radius: 7px;
}

.login-shell {
    align-items: center;
}

.login-panel {
    width: min(460px, 100%);
    padding: 28px;
    border: 0;
    border-top: 6px solid var(--primary);
    border-radius: 7px;
    box-shadow: var(--shadow-strong);
}

.customer-product,
.customer-cart,
.qr-card,
.buffet-lot,
.supplier-card {
    border-radius: 7px;
}

.customer-product {
    border-width: 2px;
}

@media (max-width: 1320px) {
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pos-shell {
        grid-template-columns: minmax(330px, .9fr) minmax(430px, 1.2fr) minmax(350px, 390px);
    }
}

@media (max-width: 1180px) {
    .pos-view-switch,
    .store-mobile-tabs {
        top: .5rem;
        border-width: 2px;
        border-radius: 7px;
    }

    .pos-view-switch button,
    .store-mobile-tabs button {
        min-height: 52px;
    }
}

@media (max-width: 1023px) {
    .app-workspace {
        margin-left: 0;
    }

    .pos-view-switch,
    .store-mobile-tabs {
        top: 76px;
    }

    body::before {
        position: absolute;
    }

    .app-topbar {
        min-height: 68px;
        padding: 8px 12px;
        border-top: 4px solid var(--mode-color);
    }

    .app-main {
        padding: 16px 14px calc(88px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        min-height: calc(72px + env(safe-area-inset-bottom));
        border-top: 2px solid var(--line);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        min-height: 62px;
        font-size: .7rem;
    }

    .mobile-bottom-nav a.is-active {
        background: var(--mode-soft);
        color: var(--mode-color);
    }

    .page-header,
    .store-header {
        min-height: auto;
    }

    .coupon-layout {
        grid-template-columns: 1fr;
    }

    .coupon-create {
        position: static;
    }

    .buffet-rate-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rate-days {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .modal-card-head,
    .modal-card-body,
    .modal-card-foot {
        padding: 16px;
    }

    .metric-grid,
    .quick-actions,
    .cash-summary-band,
    .production-board {
        grid-template-columns: 1fr;
    }

    .metric {
        min-height: 126px;
    }

    .quick-actions > a {
        min-height: 88px;
        grid-template-columns: 48px minmax(0, 1fr) 20px;
    }

    .quick-action-icon {
        width: 48px;
        height: 48px;
    }

    .page-header .title.is-3,
    .store-header h1 {
        font-size: 1.72rem;
    }

    .product-grid,
    .store-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-button,
    .store-product {
        min-height: 118px;
        grid-template-columns: 46px minmax(0, 1fr);
        align-content: center;
    }

    .product-button img,
    .product-placeholder,
    .store-product img,
    .store-product-icon {
        width: 46px;
        height: 46px;
    }

    .product-add,
    .store-product > .app-icon:last-child {
        display: none;
    }

    .store-sale {
        box-shadow: var(--shadow);
    }

    .buffet-admission {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .buffet-admission > div {
        grid-column: 1 / -1;
    }

    .buffet-rate-row,
    .buffet-rate-form {
        grid-template-columns: 1fr;
    }

    .rate-days {
        grid-column: auto;
    }

    .coupon-card dl,
    .buffet-rate-prices {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .app-main {
        padding-inline: 10px;
    }

    .page-header {
        align-items: center;
    }

    .page-header .button span,
    .store-header .button span {
        display: none;
    }

    .product-button,
    .store-product {
        padding: 9px;
    }

    .product-copy strong,
    .store-product strong {
        font-size: .88rem;
    }
}

@media print {
    body::before {
        display: none;
    }
}
