/* Nely's public bakery theme. Photography, canvas composition and commerce rules
   are deliberately left to their existing components. The admin is excluded. */
body:is(.nely-store, .nely-editor):not(.nely-admin) {
  --cream: #fff8f3;
  --ink: #2e1a10;
  --wine: #c2266b;
  --wine-dark: #a51d5a;
  --rose: #e8709f;
  --sand: #fce6ef;
  --gold: #8e5631;
  --muted: #594034;
  --line: #edcfc0;
  --serif: "Lilita One", "Fredoka", sans-serif;
  --blue: #c2266b;
  --shadow: 0 10px 30px rgb(94 49 25 / 7%);
  --bakery-chocolate: #5e3119;
  --bakery-pink-light: #f8d3e2;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body:is(.nely-store, .nely-editor):not(.nely-admin) :is(h1, h2, h3, h4) {
  font-family: "Lilita One", "Fredoka", sans-serif;
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.12;
  color: var(--bakery-chocolate);
}
body:is(.nely-store, .nely-editor):not(.nely-admin) :is(button, input, textarea, select) {
  font-family: "Nunito", Arial, sans-serif;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) ::selection {
  background: var(--bakery-pink-light);
  color: var(--bakery-chocolate);
}
body:is(.nely-store, .nely-editor):not(.nely-admin) :is(button, a, input, textarea, select):focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 4px;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .skip-link {
  background: #fff;
  color: var(--wine);
  border-radius: 12px;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .button {
  border-radius: 999px;
  min-height: 50px;
  padding: 13px 22px;
  font-family: "Nunito", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .button-primary {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  box-shadow: 0 6px 16px rgb(194 38 107 / 16%);
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .button-primary:hover:not(:disabled) {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  box-shadow: 0 8px 20px rgb(194 38 107 / 22%);
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .button-outline {
  background: #fff;
  border: 2px solid var(--bakery-pink-light);
  color: var(--wine);
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .button-outline:hover:not(:disabled) {
  background: var(--sand);
  border-color: var(--rose);
  color: var(--wine-dark);
}
body:is(.nely-store, .nely-editor):not(.nely-admin) :is(.text-link, .plain-action, .back-link, .product-custom-link) {
  color: var(--wine);
  font-weight: 800;
  text-underline-offset: 4px;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: 14px;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .field {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) :is(.field input, .field textarea, .field select, .catalog-search input) {
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 14px;
  border: 1px solid #d8b7a5;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) :is(.field input, .field textarea, .field select, .catalog-search input):focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgb(232 112 159 / 13%);
}
body:is(.nely-store, .nely-editor):not(.nely-admin) :is(.field input, .field textarea, .catalog-search input)::placeholder {
  color: #866d60;
  opacity: 1;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) :is(.paper-panel, .order-card) {
  border: 1px solid #f0ddd0;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
body:is(.nely-store, .nely-editor):not(.nely-admin) :is(.form-note, .product-asset-note, .catalog-note) {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .notice {
  background: #fff3e9;
  border-color: #ecd1b5;
  border-radius: 16px;
  color: #51331b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .form-error {
  border: 1px solid #edc1cb;
  border-radius: 14px;
  color: #9f244a;
  background: #fff0f4;
  font-size: 15px;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .badge:not(.success) {
  border-radius: 999px;
  background: var(--sand);
  color: #7d2351;
  font-size: 11px;
  font-weight: 800;
}
body:is(.nely-store, .nely-editor):not(.nely-admin) .toast {
  color: #fff;
  background: var(--bakery-chocolate);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Catalog and fulfillment selection. */
body.nely-store .catalog-intro {
  max-width: 760px;
  margin-block: 18px 28px;
}
body.nely-store .catalog-intro h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  margin-bottom: 15px;
}
body.nely-store :is(.catalog-intro .eyebrow, .product-detail .eyebrow, .page-heading .eyebrow) {
  color: var(--wine);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}
body.nely-store .catalog-search {
  width: min(100%, 470px);
  font-size: 14px;
  font-weight: 800;
  color: var(--bakery-chocolate);
}
body.nely-store .catalog-filters button {
  border: 1px solid var(--bakery-pink-light);
  border-radius: 999px;
  background: #fff;
  color: var(--wine);
  font-family: "Nunito", Arial, sans-serif;
  font-weight: 800;
  min-height: 46px;
}
body.nely-store .catalog-filters button[aria-pressed="true"] {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
body.nely-store .nely-product-grid {
  gap: 28px;
}
body.nely-store .nely-product {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 18px;
  border: 1px solid #f0ddd0;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, border-color .2s ease;
}
body.nely-store .nely-product:hover {
  border-color: var(--bakery-pink-light);
  box-shadow: 0 12px 30px rgb(94 49 25 / 11%);
}
body.nely-store .nely-product .product-photo {
  background: var(--cream);
  border-radius: 16px;
}
body.nely-store .nely-product h2 {
  font-size: 25px;
  line-height: 1.15;
  margin: 18px 5px 10px;
}
body.nely-store .nely-product .product-price {
  color: var(--bakery-chocolate);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 23px;
  font-weight: 600;
  margin-inline: 5px;
}
body.nely-store .nely-product .product-stock {
  margin-inline: 5px;
}
body.nely-store .nely-product .button {
  margin-top: auto;
}
body.nely-store .nely-product .product-label {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff8f3f2;
  color: var(--muted);
}
body.nely-store .product-stock.is-available {
  color: #2e573b;
  font-weight: 800;
}
body.nely-store .product-stock { font-size: 15px; font-weight: 700; }
body.nely-store .product-detail .product-stock { font-size: 16px; }
body.nely-store .product-description { font-size: 17px; line-height: 1.65; color: var(--ink); font-weight: 600; }
body.nely-store .product-detail-photo {
  border-radius: 24px;
  box-shadow: var(--shadow);
}
body.nely-store .product-detail h1 {
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.12;
}
body.nely-store :is(.product-detail-price, .product-order-summary strong, .checkout-action-total strong) {
  color: var(--bakery-chocolate);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
}
body.nely-store .product-order {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
body.nely-store :is(.order-mode-choices .choice, .checkout-layout .choice) {
  background: #fff;
  border: 1px solid #e3c9b8;
  border-radius: 16px;
  font-size: 14px;
}
body.nely-store :is(.order-mode-choices .choice, .checkout-layout .choice):has(input:checked) {
  background: #fce6ef;
  border-color: var(--wine);
  box-shadow: 0 0 0 1px var(--wine);
}
body.nely-store :is(.order-mode-choices .choice, .checkout-layout .choice) strong {
  color: var(--bakery-chocolate);
  font-weight: 800;
  font-size: 17px;
}
body.nely-store :is(.order-mode-choices .choice, .checkout-layout .choice) small { font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--muted); }
body.nely-store .order-mode-choices .choice:has(input:checked) strong {
  color: var(--wine);
}
body.nely-store .order-mode-choices .choice-unavailable {
  background: #f4ede6;
  border-color: #e1d5ca;
}
body.nely-store .order-mode-choices .choice-unavailable strong {
  color: var(--muted);
}
body.nely-store .choice input {
  accent-color: var(--wine);
}

/* Checkout and customer order pages share the same warm, quiet panels. */
body.nely-store .page-heading h1 {
  font-size: clamp(36px, 4.5vw, 56px);
}
body.nely-store .page-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}
body.nely-store .checkout-progress {
  align-items: stretch;
  gap: 5px;
}
body.nely-store .checkout-progress button {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  border-radius: 12px;
  padding: 7px 4px;
}
body.nely-store .checkout-progress b {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: #f3e5db;
  color: var(--muted);
  font-size: 12px;
}
body.nely-store .checkout-progress .active {
  color: var(--wine);
}
body.nely-store .checkout-progress .active b {
  color: #fff;
  background: var(--wine);
}
body.nely-store .summary-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: #7d2351;
  font-size: 12px;
  font-weight: 800;
}
body.nely-store .summary-photo {
  border-radius: 16px;
  background: var(--cream);
}
body.nely-store .summary-line strong {
  color: var(--ink);
  font-weight: 800;
}
body.nely-store .summary-line.total :is(span, strong) {
  color: var(--wine);
}
body.nely-store .delivery-mode-label {
  display: inline-flex;
  border-radius: 999px;
  background: var(--sand);
  color: #7d2351;
  padding: 8px 14px;
}
body.nely-store :is(.timeline li, .order-card small) {
  font-size: 13px;
}
body.nely-store .timeline small {
  font-size: 12px;
}
body.nely-store .timeline li::before {
  background: var(--wine);
  box-shadow: 0 0 0 3px var(--sand);
}
body.nely-store .auth-card {
  padding: clamp(22px, 4vw, 36px);
}
body.nely-store .account-content {
  padding-bottom: 50px;
}
body.nely-store :is(.checkout-layout, .checkout-main, .checkout-progress, .order-summary) {
  min-width: 0;
}
/* One focused step at a time; the complete order appears on confirmation. */
body.nely-store .checkout-layout.checkout-simplified {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  gap: 0;
  margin-top: 4px;
}
body.nely-store .checkout-heading {
  padding-bottom: 6px;
}
body.nely-store .checkout-heading > p:last-child {
  margin-bottom: 0;
}
body.nely-store .checkout-final-summary {
  margin-block: 18px 22px;
}
body.nely-store .checkout-final-summary .summary-photo {
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto 18px;
}
body.nely-store .checkout-final-summary .summary-details {
  margin-bottom: 0;
}

/* Keep the selected fulfillment visible while moving through the purchase. */
body.nely-store .purchase-mode { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 16px; background: #a51d5a; color: #fff; border: 2px solid #8d174c; box-shadow: 0 5px 14px #a51d5a24; margin-bottom: 18px; }
body.nely-store .purchase-mode > div { min-width: 0; }
body.nely-store .purchase-mode-icon { display: grid; place-items: center; flex: 0 0 30px; }
body.nely-store .purchase-mode-icon svg { width: 30px; height: 30px; }
body.nely-store .purchase-mode-label { display: block; font-size: 21px; line-height: 1.25; font-weight: 900; }
body.nely-store .purchase-mode-detail { display: block; font-size: 14px; line-height: 1.45; font-weight: 600; margin-top: 3px; }
body.nely-store .purchase-mode--compact { padding: 12px 14px; }
body.nely-store .purchase-mode--compact .purchase-mode-label { font-size: 19px; }
body.nely-store .checkout-step-bar { position: sticky; top: 0; z-index: 15; padding: 8px 0 12px; background: #fff8f3; }
body.nely-store .checkout-step-bar .purchase-mode { margin-bottom: 10px; }
body.nely-store .checkout-step-bar .checkout-progress { margin: 0; }
body.nely-store .checkout-layout :is(.summary-line, .checkout-action-total, .summary-details) { font-size: 16px; }
body.nely-store .checkout-layout .summary-line small { font-size: 16px; line-height: 1.6; color: var(--muted); }
body.nely-store .checkout-item-name { font-size: 18px; font-weight: 800; line-height: 1.4; }
body.nely-store .checkout-item-description { display: block; font-size: 16px; line-height: 1.6; color: var(--muted); font-weight: 600; margin-top: 6px; }
body.nely-store .checkout-step-lead { font-size: 18px; font-weight: 600; line-height: 1.6; color: var(--ink); }
body.nely-store .checkout-layout h2 { font-size: clamp(28px, 3vw, 34px); }
body.nely-store .checkout-layout .form-note { font-size: 16px; }
body.nely-store .checkout-layout .field { font-size: 16px; }
body.nely-store .checkout-layout .notice { font-size: 16px; }
body.nely-store .checkout-layout .summary-line.total { font-size: 24px; }
body.nely-store #checkout-content .summary-line:has(.checkout-item-name) > strong,
body.nely-store .order-summary .summary-line > strong { white-space: nowrap; flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  body.nely-store .purchase-mode { animation: purchase-emphasis 2s ease-in-out 2; }
}
@keyframes purchase-emphasis { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); box-shadow: 0 5px 22px #a51d5a45; } }

/* A slow invitation on forward actions, without flashing or moving the layout. */
@media (prefers-reduced-motion: no-preference) {
  body:is(.nely-store, .nely-editor):not(.nely-admin) :is(
    #product-order-continue,
    #checkout-app .forward-action,
    #checkout-form > .form-actions > .button-primary,
    #checkout-auth #auth-form > .button-primary,
    #continue-verified,
    #photo-continue,
    #approve-design
  ):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):not(.is-loading):not(:hover):not(:focus-visible):not(:active) {
    animation: forward-invitation 3s ease-in-out 3;
  }
}
@keyframes forward-invitation {
  0%, 65%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgb(194 38 107 / 16%), 0 0 0 0 rgb(194 38 107 / 0%);
  }
  32% {
    transform: scale(1.018);
    box-shadow: 0 8px 20px rgb(194 38 107 / 24%), 0 0 0 6px rgb(194 38 107 / 10%);
  }
}

/* Editor: preserve the exact canvas size and fitted image coordinates. */
body.nely-editor:not(.nely-admin) .editor-header {
  background: #fff8f3;
  border-color: var(--bakery-pink-light);
}
body.nely-editor:not(.nely-admin) .editor-heading {
  gap: 16px;
}
body.nely-editor:not(.nely-admin) .editor-heading > a {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--bakery-pink-light);
  color: var(--wine);
}
body.nely-editor:not(.nely-admin) .editor-heading h1 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0;
}
body.nely-editor:not(.nely-admin) .cake-stage {
  background: #f4e9df;
}
body.nely-editor:not(.nely-admin) .preview-caption {
  color: var(--bakery-chocolate);
  background: var(--cream);
}
body.nely-editor:not(.nely-admin) .editor-controls {
  background: var(--cream);
}
body.nely-editor:not(.nely-admin) .editor-tabs {
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bakery-pink-light);
}
body.nely-editor:not(.nely-admin) .editor-tabs button {
  min-height: 48px;
  padding: 12px 6px;
  border-radius: 14px;
  color: var(--bakery-chocolate);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
body.nely-editor:not(.nely-admin) .editor-tabs button[aria-selected="true"] {
  color: var(--wine);
  background: var(--sand);
}
body.nely-editor:not(.nely-admin) .editor-tabs button[aria-selected="true"]::after {
  height: 3px;
  left: 18px;
  right: 18px;
  bottom: 2px;
  border-radius: 999px;
  background: var(--wine);
}
body.nely-editor:not(.nely-admin) .decoration-name {
  color: var(--bakery-chocolate);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
}
body.nely-editor:not(.nely-admin) .decoration-name small {
  font-family: "Nunito", Arial, sans-serif;
}
body.nely-editor:not(.nely-admin) .decoration-row img {
  background: #fff;
  border-radius: 14px;
}
body.nely-editor:not(.nely-admin) .decoration-row button {
  min-height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--wine);
  background: #fff;
  color: var(--wine);
  font-size: 16px;
  font-weight: 800;
}
body.nely-editor:not(.nely-admin) .decoration-row button:hover {
  background: var(--sand);
}
body.nely-editor:not(.nely-admin) .decoration-feedback {
  background: var(--sand);
  color: #7d2351;
}
body.nely-editor:not(.nely-admin) .decoration-feedback button {
  min-height: 44px;
  color: var(--wine);
  font-weight: 900;
}
body.nely-editor:not(.nely-admin) .editor-total {
  border-color: var(--bakery-pink-light);
}
body.nely-editor:not(.nely-admin) .editor-total strong {
  color: var(--bakery-chocolate);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.02em;
}
body.nely-editor:not(.nely-admin) .editor-total .button {
  font-size: 21px;
}
body.nely-editor:not(.nely-admin) .editor-colors button {
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d8c4b9;
}
body.nely-editor:not(.nely-admin) .editor-colors button[aria-pressed="true"] {
  outline-color: var(--wine);
}
body.nely-editor:not(.nely-admin) .photo-upload-button {
  border-radius: 18px;
  background: #fff;
  border-color: var(--wine);
  color: var(--wine);
  font-weight: 800;
}
body.nely-editor:not(.nely-admin) .photo-upload-button:hover {
  background: var(--sand);
}
body.nely-editor:not(.nely-admin) .photo-crop-controls input {
  min-height: 44px;
  accent-color: var(--wine);
}
body.nely-editor:not(.nely-admin) .photo-source-preview {
  border-radius: 14px;
}
body.nely-editor:not(.nely-admin) .message-colors {
  flex-wrap: wrap;
}
body.nely-editor:not(.nely-admin) .message-color {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}
body.nely-editor:not(.nely-admin) .crop-controls input {
  min-height: 44px;
  accent-color: var(--wine);
}
body.nely-editor:not(.nely-admin) .editor-panel .text-link {
  min-height: 44px;
}
body.nely-editor:not(.nely-admin) .approval-dialog {
  border-radius: 20px;
  background: var(--cream);
  box-shadow: 0 18px 60px rgb(94 49 25 / 20%);
}
body.nely-editor:not(.nely-admin) .editor-panel:not([hidden]) {
  animation: nely-panel-in .22s ease both;
}
@keyframes nely-panel-in {
  from { opacity: .6; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  body.nely-store .nely-product-grid { gap: 20px; }
  body.nely-store .checkout-progress button { font-size: 11px; }
  body.nely-store .checkout-layout .order-summary { grid-row: auto; }
}
@media (max-width: 600px) {
  body:is(.nely-store, .nely-editor):not(.nely-admin) { font-size: 16px; }
  body.nely-store .catalog-intro h1 { font-size: 40px; }
  body.nely-store .catalog-intro p { font-size: 15px; }
  body.nely-store .catalog-filters { gap: 7px; }
  body.nely-store .catalog-filters button { padding: 10px 12px; font-size: 13px; }
  body.nely-store .nely-product-grid { gap: 16px 12px; }
  body.nely-store .nely-product { padding: 8px 8px 12px; border-radius: 19px; }
  body.nely-store .nely-product .product-photo { border-radius: 12px; }
  body.nely-store .nely-product h2 { font-size: 21px; margin: 12px 2px 9px; }
  body.nely-store .nely-product .product-price { font-size: 20px; margin-inline: 2px; }
  body.nely-store .nely-product .product-stock { font-size: 14px; margin-inline: 2px; }
  body.nely-store .nely-product .button { padding: 10px 8px; min-height: 54px; font-size: 13px; gap: 5px; }
  body.nely-store .nely-product .product-label { font-size: 12px; padding: 3px 6px; }
  body.nely-store .product-detail-photo { border-radius: 20px; }
  body.nely-store .product-detail h1 { font-size: 36px; }
  body.nely-store .page-heading h1 { font-size: 36px; }
  body.nely-store .checkout-progress { overflow-x: auto; padding-bottom: 5px; }
  body.nely-store .checkout-progress button { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 5px; padding-inline: 2px; font-size: 11px; }
  body.nely-store .checkout-layout .paper-panel { border-radius: 20px; padding: 20px; }
  body.nely-store .checkout-layout .form-actions .button { font-size: 15px; }
  body.nely-store .page-heading.checkout-heading { padding-top: 20px; padding-bottom: 4px; }
  body.nely-store .checkout-heading .eyebrow { margin-bottom: 10px; }
  body.nely-store .checkout-heading h1 { margin-bottom: 8px; }
  body.nely-store .checkout-heading > p:last-child { line-height: 1.45; }
  body.nely-store .checkout-layout.checkout-simplified { margin-top: 4px; margin-bottom: 28px; }
  body.nely-store .checkout-simplified .checkout-step-bar { padding-block: 6px 8px; }
  body.nely-store .checkout-simplified .checkout-step-bar .purchase-mode { margin-bottom: 4px; }
  body.nely-store .checkout-simplified .checkout-progress { padding-bottom: 0; }
  body.nely-store .checkout-simplified .paper-panel { padding: 18px; }
  body.nely-store .checkout-simplified h2 { margin-bottom: 10px; }
  body.nely-store .checkout-simplified .form-note { margin-bottom: 12px; line-height: 1.5; }
  body.nely-store .checkout-simplified .checkout-step-lead { margin-bottom: 14px; line-height: 1.5; }
  body.nely-store .checkout-simplified .choice-row { margin-block: 12px; }
  body.nely-store .checkout-simplified .choice { padding: 12px; }
  body.nely-store .checkout-simplified .choice small { margin-top: 4px; }
  body.nely-store .checkout-simplified .field { gap: 6px; margin-bottom: 14px; }
  body.nely-store .checkout-simplified .form-grid { gap: 14px; }
  body.nely-store .checkout-simplified .form-grid .field { margin-bottom: 0; }
  body.nely-store .checkout-simplified .form-actions { margin-top: 16px; }
  body.nely-store .checkout-simplified .checkout-action-total { padding-top: 14px; margin-top: 16px; }
  body.nely-store .checkout-simplified #auth-form > .button { margin-bottom: 8px; }
  body.nely-store .purchase-mode { padding: 12px 14px; gap: 10px; }
  body.nely-store .purchase-mode-label { font-size: 20px; }
  body.nely-store .checkout-layout .summary-line { gap: 12px; }
  body.nely-store .order-card { border-radius: 20px; flex-wrap: wrap; padding: 20px; }
  body.nely-store .account-bar { gap: 12px; flex-wrap: wrap; }
  body.nely-editor:not(.nely-admin) .editor-heading { gap: 10px; }
  body.nely-editor:not(.nely-admin) .editor-heading h1 { font-size: 26px; }
  body.nely-editor:not(.nely-admin) .editor-tabs { padding-top: 8px; padding-bottom: 8px; }
  body.nely-editor:not(.nely-admin) .editor-tabs button { font-size: 19px; padding: 10px 4px; }
  body.nely-editor:not(.nely-admin) .decoration-name { font-size: 20px; }
  body.nely-editor:not(.nely-admin) .decoration-name small { font-size: 11px; }
  body.nely-editor:not(.nely-admin) .decoration-row button { font-size: 15px; padding: 9px 12px; }
  body.nely-editor:not(.nely-admin) .decoration-feedback { padding-block: 4px; }
  body.nely-editor:not(.nely-admin) .photo-editor-grid { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
  body.nely-editor:not(.nely-admin) .editor-total {
    background: #fff8f3;
    box-shadow: 0 -5px 24px rgb(94 49 25 / 9%);
    border-radius: 20px 20px 0 0;
    gap: 18px;
  }
  body.nely-editor:not(.nely-admin) .editor-total strong { font-size: 31px; }
  body.nely-editor:not(.nely-admin) .editor-total .button { font-size: 20px; min-height: 54px; }
}
@media (max-width: 360px) {
  body.nely-store .nely-product h2 { font-size: 19px; }
  body.nely-editor:not(.nely-admin) .editor-heading h1 { font-size: 23px; }
  body.nely-editor:not(.nely-admin) .decoration-name { font-size: 18px; }
  body.nely-editor:not(.nely-admin) .decoration-row { gap: 10px; }
  body.nely-editor:not(.nely-admin) .decoration-row button { font-size: 14px; padding-inline: 10px; }
  body.nely-editor:not(.nely-admin) .editor-total { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body:is(.nely-store, .nely-editor):not(.nely-admin) :is(.button, .nely-product, .editor-panel) {
    transition: none;
    animation: none;
  }
}
