/* Műhely: native PlantaEvo controls in the private customer webshop. */
body.is-shop-design .content { padding: clamp(12px, 2vw, 28px); background: var(--bg); }
body.is-shop-design .shop-page { max-width: 1440px; margin-inline: auto; }
body.is-shop-design.is-shop-design-preview .shop-design-banner { padding-bottom: 22px; }
body.is-shop-design-preview .shop-public-header-main { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
body.is-shop-design-preview .shop-public-brand { flex: 1 1 240px; }
body.is-shop-design-preview .shop-public-brand-copy > small { display: none; }
body.is-shop-design-preview .shop-public-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
body.is-shop-design-preview .shop-public-actions > .pill { color: var(--primary-strong); background: var(--surface); }
body.is-shop-design-preview .shop-preview-mode-tabs { margin: 0; }
body.is-shop-design-preview .shop-preview-mode-tabs button { color: var(--color-button-text); background: transparent; border-color: transparent; }
body.is-shop-design-preview .shop-preview-mode-tabs button.is-active { color: var(--primary-strong); background: var(--surface); }
body.is-shop-design-preview .shop-catalog-card { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.is-shop-design .shop-page button { touch-action: manipulation; }
body.is-shop-design .shop-page .primary-button { background: var(--primary); color: var(--color-button-text); box-shadow: none; }
body.is-shop-design .shop-page .primary-button:hover { background: var(--primary-strong); }
body.is-shop-design .shop-page .ghost-button { box-shadow: none; }
body.is-shop-design .shop-page input { caret-color: var(--primary); }
body.is-shop-design .shop-page input::placeholder,
body.is-shop-design .shop-page textarea::placeholder { color: var(--muted); opacity: 1; }
body.is-shop-design .shop-page ::selection { background: var(--primary); color: var(--color-button-text); }
body.is-shop-design .shop-design-banner { position: relative; isolation: isolate; margin: 0 0 24px; padding: 22px 24px 0; border: 1px solid var(--primary-strong); border-radius: 14px; background: var(--primary-strong); color: var(--color-button-text); box-shadow: none; }
body.is-shop-design .shop-public-header { position: relative; z-index: 1; display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.is-shop-design .shop-public-header-main { flex: 1 1 240px; min-width: 0; width: auto; }
body.is-shop-design .shop-public-brand { gap: 12px; min-width: 0; }
body.is-shop-design .shop-public-brand-copy { min-width: 0; }
body.is-shop-design .shop-public-brand-logo { width: 80px; height: 80px; flex: 0 0 80px; border-radius: 12px; background: var(--surface); box-shadow: none; }
body.is-shop-design .shop-public-brand-copy h1 { margin: 0; color: inherit; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; overflow-wrap: anywhere; }
body.is-shop-design .shop-brand-week-inline { margin-top: 6px; color: inherit; font-size: 12px; }
body.is-shop-design .shop-customer-toolbar { display: flex; flex: 0 1 auto; align-items: center; flex-wrap: wrap; gap: 6px; width: auto; max-width: 100%; margin: 0; padding: 0; overflow: visible; }
body.is-shop-design .shop-design-banner .shop-customer-toolbar button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: auto; min-height: 42px; margin: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: var(--layout-input-radius); color: inherit; background: transparent; font-size: 13px; box-shadow: none; }
body.is-shop-design .shop-design-banner .shop-customer-toolbar button:hover { border-color: var(--color-button-text); background: var(--primary); }
body.is-shop-design .shop-profile-initials { background: var(--surface); color: var(--primary-strong); }
body.is-shop-design .shop-design-banner .shop-toolbar-logout { flex: 0 0 auto; white-space: nowrap; }
body.is-shop-design .shop-design-banner .shop-help-button > span { color: var(--primary-strong); background: var(--surface); }
body.is-shop-design .shop-toolbar-logout svg { width: 16px; height: 16px; }
body.is-shop-design .shop-tabs { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; width: 100%; margin: 18px 0 0; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--color-button-text) 25%, transparent); border-bottom: 0; }
body.is-shop-design .shop-tabs button { min-height: 42px; padding: 9px 14px; border-radius: var(--layout-input-radius); color: inherit; background: transparent; font-size: 13px; font-weight: 650; box-shadow: none; }
body.is-shop-design .shop-tabs button:hover { color: inherit; background: var(--primary); }
body.is-shop-design .shop-tabs button.is-active { color: var(--primary-strong); background: var(--surface); }
body.is-shop-design .shop-tabs .shop-design-cart-jump { margin-left: auto; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
body.is-shop-design .shop-design-banner :focus-visible { outline: 2px solid var(--color-button-text); outline-offset: 3px; }
body.is-shop-design .shop-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 300px); gap: 22px; align-items: start; }
body.is-shop-design .shop-design-catalog-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
body.is-shop-design .shop-design-catalog-heading .billing-card-head { flex: 1 1 150px; margin: 0; }
body.is-shop-design .shop-design-catalog-heading h3 { margin: 0; font-size: 21px; line-height: 1.3; letter-spacing: -0.02em; }
body.is-shop-design .shop-catalog-toolbar { flex: 1 1 270px; align-items: end; max-width: 360px; gap: 8px; margin: 0; }
body.is-shop-design .shop-catalog-search { min-width: 0; flex: 1; }
body.is-shop-design .shop-catalog-search input { min-height: 44px; }
body.is-shop-design #shopCatalogSearchCount { padding: 8px; font-size: 12px; white-space: nowrap; }
body.is-shop-design .shop-product-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
body.is-shop-design .shop-product-card { position: relative; display: grid; grid-template-columns: clamp(110px, 16vw, 220px) minmax(0, 1fr); align-items: stretch; gap: 16px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: none; overflow: visible; }
body.is-shop-design .shop-product-card:focus-within { border-color: var(--primary); }
.shop-order-edit-action { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.shop-order-edit-countdown { margin: 0; font-variant-numeric: tabular-nums; }
body.is-shop-design .shop-product-card.is-variant-required { border-color: var(--danger, #b42318); animation: shop-variant-required-pulse 450ms ease-in-out 2; }
body.is-shop-design .shop-variant-error { flex-basis: 100%; grid-column: 1 / -1; color: var(--danger, #b42318); font-size: 13px; line-height: 1.4; font-weight: 600; }
@keyframes shop-variant-required-pulse { 50% { border-color: transparent; } }
@media (prefers-reduced-motion: reduce) { body.is-shop-design .shop-product-card.is-variant-required { animation: none; } }
body.is-shop-design [data-shop-variant-media] { min-width: 0; border-radius: 10px; overflow: hidden; background: var(--surface-strong); }
body.is-shop-design .shop-product-image { width: 100%; height: 100%; min-height: 145px; aspect-ratio: auto; background: var(--surface-strong); }
body.is-shop-design .shop-product-image img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
body.is-shop-design .shop-product-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; }
body.is-shop-design .shop-product-gallery .shop-product-image { height: auto; min-height: 160px; aspect-ratio: 1; }
body.is-shop-design .shop-product-gallery:has(> :only-child) { height: 100%; }
body.is-shop-design .shop-design-image-placeholder { display: grid; place-items: center; color: var(--muted); background: var(--surface-strong); }
body.is-shop-design .shop-design-image-placeholder svg { width: 56px; height: 56px; }
body.is-shop-design .shop-product-body { display: grid; grid-template-columns: minmax(0, 1fr) 175px; gap: 10px 14px; padding: 0; min-width: 0; }
body.is-shop-design .shop-product-title { display: grid; grid-column: 1; align-self: start; gap: 4px; min-width: 0; margin: 0; color: var(--ink); font-size: 17px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; }
body.is-shop-design .shop-product-title > span { overflow-wrap: anywhere; }
body.is-shop-design .shop-product-title small { color: var(--primary-strong); font-size: 16px; font-weight: 700; }
body.is-shop-design .shop-design-availability { position: static; grid-column: 2; grid-row: 1; justify-self: end; align-self: start; width: fit-content; max-width: 100%; padding: 5px 9px; font-size: 12px; font-weight: 650; white-space: normal; box-shadow: none; }
body.is-shop-design .shop-design-availability.is-available { color: #166534; background: #dcfce7; }
body.is-shop-design .shop-design-availability.is-out { color: #991b1b; background: #fee2e2; }
body.is-shop-design .shop-product-description { grid-column: 1 / -1; padding: 0; color: var(--muted); background: transparent; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
body.is-shop-design .shop-variant-field { position: relative; grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
body.is-shop-design .shop-variant-field > .form-note { margin: 0; font-size: 12px; }
body.is-shop-design .shop-variant-picker { min-width: 0; max-width: 100%; }
body.is-shop-design .shop-variant-summary { min-height: 40px; padding: 8px 11px; font-size: 13px; }
body.is-shop-design .shop-variant-choice { min-width: 0; }
body.is-shop-design .shop-variant-option span { overflow-wrap: anywhere; }
body.is-shop-design .shop-design-variant-buttons { position: absolute; visibility: hidden; pointer-events: none; display: flex; flex-wrap: nowrap; gap: 6px; width: 0; overflow: hidden; }
body.is-shop-design .shop-design-variant-buttons button,
body.is-shop-design .shop-variant-reset { display: inline-flex; flex: 0 0 auto; width: auto; min-height: 40px; padding: 8px 12px; white-space: nowrap; }
body.is-shop-design .shop-design-variant-buttons button[aria-pressed="true"],
body.is-shop-design .shop-variant-reset { color: var(--color-button-text); border-color: var(--primary); background: var(--primary); }
body.is-shop-design .has-inline-variants > .shop-design-variant-buttons { position: static; visibility: visible; pointer-events: auto; width: max-content; overflow: visible; }
body.is-shop-design .has-inline-variants > .shop-variant-picker { display: none; }
body.is-shop-design .shop-product-meta { grid-column: 1; display: block; align-self: end; min-width: 0; }
body.is-shop-design .shop-product-price-pair { display: grid; gap: 3px; width: 100%; }
body.is-shop-design .shop-product-price-pair strong { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
body.is-shop-design .shop-product-price-pair strong small { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
body.is-shop-design .shop-product-price-pair > span { color: var(--muted); font-size: 12px; font-weight: 400; }
body.is-shop-design .shop-product-price-pair .shop-design-pack-price { margin-top: 4px; color: var(--ink); font-size: 12px; font-weight: 500; }
body.is-shop-design .shop-product-card.is-unavailable { opacity: 1; filter: none; }
body.is-shop-design .shop-product-card.is-unavailable [data-shop-variant-media] { opacity: 0.6; }
body.is-shop-design .shop-product-actions { display: block; grid-column: 2; align-self: end; min-width: 0; }
body.is-shop-design .shop-design-quantity-field { width: 100%; gap: 5px; }
body.is-shop-design .shop-design-quantity-field > span:first-child { font-size: 12px; }
body.is-shop-design .shop-design-quantity { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 4px; }
body.is-shop-design .shop-design-quantity button { min-width: 0; min-height: 44px; padding: 0; border-radius: var(--layout-input-radius); font-size: 20px; box-shadow: none; }
body.is-shop-design .shop-design-quantity button:disabled { opacity: 0.45; }
body.is-shop-design .shop-design-quantity-input { min-width: 0; width: 100%; }
body.is-shop-design .shop-design-quantity input { min-width: 0; width: 100%; min-height: 44px; padding-left: 10px; padding-right: 43px; border-radius: var(--layout-input-radius); text-align: left; font-weight: 650; font-variant-numeric: tabular-nums; }
body.is-shop-design .shop-design-quantity .foil-control-automation-inline-unit { text-transform: none; font-size: 12px; font-weight: 500; }
body.is-shop-design .shop-design-product-note { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; }
body.is-shop-design .shop-design-product-note > span { color: var(--muted); font-size: 12px; }
body.is-shop-design .shop-cart-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: none; }
body.is-shop-design .shop-cart-card .billing-card-head { flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 16px; }
body.is-shop-design .shop-cart-card .billing-card-head h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 700; }
body.is-shop-design .shop-cart-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-block: 12px; align-items: start; }
body.is-shop-design .shop-cart-row > span { grid-column: 1 / -1; font-weight: 650; overflow-wrap: anywhere; }
body.is-shop-design .shop-cart-row > span small { display: block; margin-top: 4px; font-weight: 400; }
body.is-shop-design .shop-cart-row > strong { font-size: 12px; }
body.is-shop-design .shop-cart-row > em { font-style: normal; font-weight: 700; text-align: right; }
body.is-shop-design .shop-cart-row > button { justify-self: start; min-height: 32px; padding: 4px 8px; font-size: 12px; }
body.is-shop-design .shop-cart-row > .shop-cart-item-note { grid-column: 1 / -1; text-align: left; overflow-wrap: anywhere; font-weight: 400; }
body.is-shop-design .shop-cart-card .form-grid { gap: 14px; }
body.is-shop-design .shop-cart-card .form-actions { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
body.is-shop-design .shop-cart-total { display: grid; gap: 3px; }
body.is-shop-design .shop-cart-total strong { font-size: 23px; font-weight: 700; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
body.is-shop-design .shop-cart-total small { color: var(--muted); font-weight: 500; }
body.is-shop-design .shop-cart-card .form-actions > button { width: 100%; min-height: 46px; }
body.is-shop-design .shop-catalog-deadline:empty { display: none; }
body.is-shop-design .shop-catalog-deadline:not(:empty) { margin-bottom: 18px; }
body.is-shop-design #shopLabNativeNav { padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
body.is-shop-design .market-product-row { border-radius: 14px; box-shadow: none; }
body.is-shop-design .market-product-price strong { font-size: 17px; }
body.is-shop-design .shop-orders-section,
body.is-shop-design .shop-invoices-section { min-width: 0; }
body.is-shop-design .shop-cart-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
body.is-shop-design .shop-help-dialog { width: min(680px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); }
body.is-shop-design .shop-help-head { margin: 0; padding: 20px 24px; background: var(--primary-strong); color: var(--color-button-text); }
body.is-shop-design .shop-help-head h3 { color: inherit; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
body.is-shop-design .shop-help-head .eyebrow { color: inherit; font-size: 12px; font-weight: 500; }
body.is-shop-design .shop-help-head button { min-width: 44px; min-height: 44px; color: inherit; background: transparent; border-color: transparent; border-radius: var(--layout-input-radius); font-size: 22px; }
body.is-shop-design .shop-help-head button:hover { border-color: var(--color-button-text); background: var(--primary); }
body.is-shop-design .shop-help-head button:focus-visible { outline: 2px solid var(--color-button-text); outline-offset: 2px; }
body.is-shop-design .shop-help-body { padding: 22px 24px; gap: 22px; scrollbar-color: var(--primary) var(--surface-strong); }
body.is-shop-design .shop-help-body ::selection { color: var(--color-button-text); background: var(--primary); }
body.is-shop-design .shop-help-lead { padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); line-height: 1.6; }
body.is-shop-design .shop-help-steps li { gap: 12px; padding: 12px 0; }
body.is-shop-design .shop-help-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
body.is-shop-design .shop-help-step-number { border-radius: 10px; color: var(--primary-strong); background: var(--surface-strong); font-weight: 650; font-variant-numeric: tabular-nums; }
body.is-shop-design .shop-help-steps li > div > span { color: var(--ink); line-height: 1.6; }
body.is-shop-design .shop-help-important { gap: 12px; }
body.is-shop-design .shop-help-important > strong { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
#shopLabRoot .shop-design-cart-shortcut { display: none; }

@media (max-width: 1000px) {
  body.is-shop-design .shop-layout { grid-template-columns: minmax(0, 1fr); }
  body.is-shop-design .shop-side { margin-top: 8px; }
  body.is-shop-design .shop-cart-card { max-width: none; }
  body.is-shop-design .shop-cart-card .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #shopLabRoot.has-shop-cart { padding-bottom: 80px; }
  #shopLabRoot .shop-design-cart-shortcut:not([hidden]) { position: fixed; z-index: 70; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; justify-content: space-between; align-items: center; gap: 20px; width: min(480px, calc(100vw - 32px)); min-height: 54px; padding: 13px 20px; border-radius: 14px; box-shadow: var(--shadow-soft); }
}
@media (max-width: 600px) {
  body.is-shop-design .shop-design-banner { padding: 16px 16px 0; margin-bottom: 20px; }
  body.is-shop-design .shop-public-header { gap: 12px; }
  body.is-shop-design .shop-public-brand-copy h1 { font-size: 24px; }
  body.is-shop-design .shop-public-brand-logo { width: 64px; height: 64px; flex-basis: 64px; }
  body.is-shop-design .shop-customer-toolbar { width: 100%; flex: 1 1 100%; justify-content: space-between; gap: 3px; }
  body.is-shop-design .shop-design-banner .shop-customer-toolbar button { min-height: 44px; padding-inline: 7px; font-size: 12px; }
  body.is-shop-design .shop-tabs { margin-top: 12px; gap: 3px; }
  body.is-shop-design .shop-tabs button { flex: 1 1 auto; min-width: 0; min-height: 44px; padding-inline: 9px; font-size: 12px; }
  body.is-shop-design .shop-tabs .shop-design-cart-jump { width: 100%; margin: 5px 0 0; }
  body.is-shop-design .shop-design-catalog-heading { gap: 10px; }
  body.is-shop-design .shop-catalog-toolbar { max-width: none; flex-basis: 100%; }
  body.is-shop-design .shop-product-card { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 14px; }
  body.is-shop-design [data-shop-variant-media] { align-self: start; }
  body.is-shop-design .shop-product-gallery { height: auto; gap: 0; }
  body.is-shop-design .shop-product-gallery .shop-product-image { height: clamp(180px, 55vw, 240px); min-height: 0; aspect-ratio: auto; }
  body.is-shop-design .shop-product-gallery .shop-image-navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 8px; }
  body.is-shop-design .shop-product-gallery .shop-image-navigation .ghost-button { flex: 0 0 44px; width: 44px; min-height: 44px; }
  body.is-shop-design .shop-product-gallery [data-shop-image-count] { white-space: nowrap; }
  body.is-shop-design .shop-design-image-placeholder { height: 128px; min-height: 0; }
  body.is-shop-design .shop-product-body { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  body.is-shop-design .shop-product-title { font-size: 18px; }
  body.is-shop-design .shop-design-availability { grid-column: 1; grid-row: auto; justify-self: start; }
  body.is-shop-design .shop-product-actions { grid-column: 1; }
  body.is-shop-design .shop-variant-field { gap: 5px; }
  body.is-shop-design .shop-variant-picker { flex: 1 1 100%; width: 100%; }
  body.is-shop-design .shop-design-variant-buttons button,
  body.is-shop-design .shop-variant-reset { min-height: 44px; }
  body.is-shop-design .shop-help-head { padding: 16px; }
  body.is-shop-design .shop-help-body { padding: 18px 16px; }
  body.is-shop-design .shop-cart-card { padding: 18px; }
  body.is-shop-design .shop-cart-card .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The top-level customer account uses the same compact natural dialog rows. */
body.is-shop-design:not(.is-shop-lab-frame) .profile-settings-backdrop { padding: 12px; box-sizing: border-box; place-items: center; }
body.is-shop-design:not(.is-shop-lab-frame) .profile-settings-dialog { align-self: center; align-content: start; grid-auto-rows: max-content; height: auto; min-height: 0; max-height: calc(100dvh - 24px); }
body.is-shop-design:not(.is-shop-lab-frame) .customer-profile-dialog { width: min(600px, 100%); border-radius: 14px; }
body.is-shop-design .shop-design-cart-shortcut { display: none; }
body.is-shop-design .shop-design-availability.is-low, .shop-lab-stock.is-low { color: #854d0e; background: #fef9c3; }
.shop-lab-stock.is-available { color: #166534; background: #dcfce7; }
.shop-lab-stock.is-out { color: #991b1b; background: #fee2e2; }
#labNativeChannels .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.market-settings-grid .market-shop-channels-card { grid-column: 1 / -1; }
#labNativeChannels .form-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.market-settings-grid [data-shop-settings-section][hidden],
#labNativeChannels [data-shop-stock-channel][hidden] { display: none !important; }
#labNativeDeadline { margin-block: 10px; }
/* Settings use the requested two-column card arrangement and one footer. */
.market-admin-page.market-settings-page {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-areas: "channels deadline" "delivery days" "branding invites" "save save";
  gap: 16px; align-items: stretch;
}
#labNativeChannels.market-settings-form,
#labNativeChannels.market-settings-form .market-settings-grid { display: contents; }
body:not(.shop-public-mode) #tableView #labNativeChannels.market-settings-form .market-card,
.market-settings-page > [data-lab-native-invites] {
  min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--surface); box-shadow: none;
}
#labNativeChannels [data-shop-settings-section="channels"] { grid-area: channels; }
#labNativeChannels [data-shop-settings-section="deadline"] { grid-area: deadline; }
#labNativeChannels [data-shop-settings-section="delivery"] { grid-area: delivery; }
#labNativeChannels .market-special-days-card { grid-area: days; }
#labNativeChannels .market-branding-card { grid-area: branding; }
.market-settings-page > [data-lab-native-invites] { grid-area: invites; }
.market-settings-page .billing-card-head { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.market-settings-page .billing-card-head > div:first-of-type { flex: 1; min-width: 0; width: auto; }
.market-settings-page .billing-card-head h3 { margin: 0 0 5px; font-size: 18px; }
.market-settings-page .billing-card-head small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.market-settings-icon { flex: 0 0 26px; color: var(--primary-strong); }
.market-settings-icon svg { width: 26px; height: 26px; color: inherit; }
#labNativeChannels [data-shop-settings-section="deadline"] .billing-card-head > .pill,
#labNativeChannels [data-shop-settings-section="delivery"] .billing-card-head > .pill { display: none; }
#labNativeChannels .market-branding-preview { display: flex; align-items: center; gap: 18px; margin-block: 0 16px; padding: 0; border: 0; box-shadow: none; background: transparent; }
#labNativeChannels .market-branding-preview .market-branding-logo { width: 90px; height: 90px; flex: 0 0 90px; }
#labNativeChannels .market-branding-actions { flex: 1 1 auto; min-width: 0; margin: 0; }
#labNativeChannels .market-branding-actions small { flex-basis: 100%; }
#labNativeChannels .market-order-cutoff-card #marketOrderCutoffForm { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
#labNativeChannels #marketOrderCutoffForm .form-grid { flex: 1; min-width: 140px; grid-template-columns: minmax(0, 1fr); }
#labNativeChannels #marketOrderCutoffForm .field { display: grid; grid-template-columns: auto minmax(100px, 150px); gap: 16px; align-items: center; }
#labNativeChannels #marketOrderCutoffForm .field > span { margin: 0; grid-column: 1; }
#labNativeChannels #marketOrderCutoffForm .select-combo { min-width: 0; width: 100%; grid-column: 2; }
#labNativeChannels .market-shop-settings-card .field { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
#labNativeChannels #marketSpecialDayForm .form-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
#labNativeChannels #marketSpecialDayForm .shop-date-field { grid-column: 1; }
#labNativeChannels #marketSpecialDayForm .inline-check { grid-column: 2; align-self: center; }
#labNativeChannels .market-settings-savebar {
  grid-area: save; display: flex; flex-wrap: wrap; position: sticky; bottom: 0; z-index: 5;
  align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
#labNativeChannels .market-settings-savebar p { flex: 1 1 240px; margin: 0; }
#labNativeChannels .market-settings-savebar button { flex: 0 0 auto; }
@media (max-width: 1050px) {
  .market-admin-page.market-settings-page { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "channels" "deadline" "delivery" "days" "branding" "invites" "save"; }
}
@media (max-width: 600px) {
  body:not(.shop-public-mode) #tableView #labNativeChannels.market-settings-form .market-card, .market-settings-page > [data-lab-native-invites] { padding: 16px; }
  #labNativeChannels .market-settings-savebar button { width: 100%; }
  #labNativeChannels #marketOrderCutoffForm .field { grid-template-columns: minmax(0, 1fr); }
  #labNativeChannels #marketOrderCutoffForm .select-combo { grid-column: 1; }
  #labNativeChannels .market-branding-preview { align-items: flex-start; flex-wrap: wrap; }
  .market-settings-page > [data-lab-native-invites] .billing-card-head { flex-wrap: wrap; }
  .market-settings-page > [data-lab-native-invites] .market-card-actions { flex: 1 1 100%; margin-left: 40px; justify-content: flex-start; }
  #labNativeChannels #marketSpecialDayForm .form-grid { grid-template-columns: minmax(0, 1fr); }
  #labNativeChannels #marketSpecialDayForm .inline-check { grid-column: 1; }
  #labNativeChannels .market-shop-settings-card .field, #labNativeChannels .market-special-days-card .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
 body.is-shop-design.has-shop-cart:not(.is-shop-lab-frame) .content { padding-bottom: 90px; }
 body.is-shop-design .shop-design-cart-shortcut:not([hidden]) { position: fixed; z-index: 70; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; justify-content: space-between; align-items: center; gap: 20px; width: min(480px, calc(100vw - 32px)); min-height: 54px; padding: 13px 20px; border-radius: 14px; box-shadow: var(--shadow-soft); }
}
