/* Native WordPress / WooCommerce pages. No form state or payment visibility changes. */
.lo-storefront.lo-native-pages .woocommerce-notices-wrapper:empty { display: none; }
.lo-storefront.lo-native-pages {
  --lo-page-mint: #eef8f4;
  --lo-page-edge: #d9e5dd;
  --lo-page-green: #235c49;
  --lo-page-error: #9b302a;
  --lo-page-radius: 20px;
}

.lo-storefront.lo-native-pages .lo-page-content {
  min-height: 55vh;
  padding-block: 32px 72px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.lo-storefront.lo-native-pages .lo-page-content > .page-title {
  padding-block: 8px 32px;
}

.lo-storefront.lo-native-pages .lo-page-content > .lo-page-heading { padding-block: 8px 24px; }
.lo-storefront.lo-native-pages .lo-page-content > .lo-native-article,
.lo-storefront.lo-native-pages .lo-page-content > .lo-page-heading:has(+ .lo-native-article) {
  max-width: 76ch;
  margin-inline: auto;
}
.lo-storefront.lo-native-pages .lo-native-article table { width: 100%; max-width: 100%; table-layout: fixed; }
.lo-storefront.lo-native-pages .lo-native-article :is(th, td) { overflow-wrap: anywhere; }
.lo-storefront.lo-native-pages .lo-page-content .lo-checkout-progress {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.4;
}
.lo-storefront.lo-native-pages .lo-page-content .lo-checkout-progress a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 99px;
  color: #4f5d56;
  text-decoration: none;
}
.lo-storefront.lo-native-pages .lo-page-content .lo-checkout-progress a[aria-current='step'] { background: #c9eee6; color: #253a33; font-weight: 700; }
.lo-storefront.lo-native-pages .lo-page-content .lo-checkout-progress a:hover { background: #eef8f4; text-decoration: underline; }
.lo-storefront.lo-native-pages .lo-page-content .lo-checkout-progress > span { display: inline-flex; align-items: center; color: #69776f; }
.lo-storefront.lo-native-pages .lo-page-content .lo-checkout-progress .icon { width: 18px; height: 18px; }

.lo-storefront.lo-native-pages .lo-page-content :is(h1, h2, h3, h4, h5, h6) {
  color: var(--brand-ink, #253a33);
  overflow-wrap: break-word;
}

.lo-storefront.lo-native-pages .lo-page-content h1 {
  font: 600 clamp(32px, 4vw, 50px)/1.12 'Fredoka', sans-serif;
  letter-spacing: -.025em;
  margin-block: 0 24px;
}

.lo-storefront.lo-native-pages .lo-page-content h2 {
  font: 600 clamp(26px, 3vw, 34px)/1.2 'Fredoka', sans-serif;
  letter-spacing: -.02em;
  margin-block: 28px 16px;
}

.lo-storefront.lo-native-pages .lo-page-content :is(h3, h4, h5, h6) {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.4;
  margin-block: 24px 12px;
}

.lo-storefront.lo-native-pages .lo-page-content :is(p, ul, ol, dl, blockquote) {
  margin-block: 0 18px;
}

.lo-storefront.lo-native-pages .lo-page-content :is(ul, ol) {
  padding-inline-start: 24px;
}

.lo-storefront.lo-native-pages .lo-page-content li + li { margin-top: 6px; }
.lo-storefront.lo-native-pages .lo-page-content :is(img, video, iframe) { max-width: 100%; }
.lo-storefront.lo-native-pages .lo-page-content img { height: auto; }
.lo-storefront.lo-native-pages .lo-page-content a:not(.button):not(.btn):not(.remove) {
  color: var(--lo-page-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Content keeps its original media and column structure, with restrained type / spacing. */
.lo-storefront.lo-native-pages .lo-page-content > :is(.lo-page-body, .entry-content) {
  max-width: 1080px;
  margin-inline: auto;
}

.lo-storefront.lo-native-pages .lo-page-content :is(.wp-block-group, .wp-block-columns) {
  max-width: 100%;
}

.lo-storefront.lo-native-pages .lo-page-content :is(.wp-block-image, figure) {
  margin-block: 24px;
  max-width: 100%;
}

.lo-storefront.lo-native-pages .lo-page-content figcaption {
  color: var(--muted, #4f5d56);
  font-size: 14px;
  margin-top: 8px;
}

.lo-storefront.lo-native-pages .lo-page-content blockquote {
  padding: 20px 24px;
  border-inline-start: 4px solid #aadace;
  border-radius: 0 12px 12px 0;
  background: var(--lo-page-mint);
}

.lo-storefront.lo-native-pages .lo-page-content .elementor {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink, #2e3a35);
  --e-global-color-primary: #253a33;
  --e-global-color-secondary: #235c49;
  --e-global-color-text: #4f5d56;
  --e-global-color-accent: #ffd13d;
}

.lo-storefront.lo-native-pages .lo-page-content .elementor > :is(.e-con, .elementor-section),
.lo-storefront.lo-native-pages .lo-page-content .elementor > .elementor-section-wrap > .elementor-section {
  --min-height: 0px;
  --padding-top: 24px;
  --padding-bottom: 24px;
  --padding-left: 0px;
  --padding-right: 0px;
  min-height: 0;
  margin-block: 0 24px;
  padding-block: 24px;
  background-color: transparent;
}

.lo-storefront.lo-native-pages .lo-page-content .elementor .elementor-widget-heading .elementor-heading-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--brand-ink, #253a33);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.lo-storefront.lo-native-pages .lo-page-content .elementor .elementor-widget-heading h1.elementor-heading-title {
  font-size: clamp(32px, 4vw, 50px);
}

.lo-storefront.lo-native-pages .lo-page-content .elementor .elementor-widget-heading h2.elementor-heading-title {
  font-size: clamp(26px, 3vw, 34px);
}

.lo-storefront.lo-native-pages .lo-page-content .elementor .elementor-widget-heading :is(h3, h4, h5, h6).elementor-heading-title {
  font-size: clamp(21px, 2.5vw, 26px);
}

.lo-storefront.lo-native-pages .lo-page-content .elementor .elementor-widget-text-editor {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted, #4f5d56);
}

.lo-storefront.lo-native-pages .lo-page-content .elementor :is(.elementor-widget, .e-con, .elementor-column) { min-width: 0; }
.lo-storefront.lo-native-pages .lo-page-content .elementor .elementor-widget-image img { border-radius: 16px; }

/* Native controls: exclude hidden fields, radios, checkboxes, and provider iframes. */
.lo-storefront.lo-native-pages .lo-page-content :is(input.input-text, input[type='text'], input[type='email'], input[type='tel'], input[type='password'], input[type='search'], input[type='number'], input[type='url'], select, textarea) {
  max-width: 100%;
  min-height: 48px;
  border: 1px solid #bdcdc2;
  border-radius: 12px;
  background: #fff;
  color: var(--ink, #2e3a35);
  padding: 12px 14px;
  font: 400 16px/1.5 'DM Sans', sans-serif;
  box-shadow: none;
}

.lo-storefront.lo-native-pages .lo-page-content textarea { min-height: 128px; resize: vertical; }
.lo-storefront.lo-native-pages .lo-page-content input::placeholder { color: #69776f; opacity: 1; }
.lo-storefront.lo-native-pages .lo-page-content :is(input[type='checkbox'], input[type='radio']) {
  accent-color: var(--lo-page-green);
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0 8px 0 0;
  vertical-align: middle;
  flex-shrink: 0;
}

.lo-storefront.lo-native-pages .lo-page-content :is(label.checkbox, .woocommerce-form__label-for-checkbox, .wc_payment_method > label, .woocommerce-shipping-methods label) {
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
  line-height: 1.5;
  cursor: pointer;
}

.lo-storefront.lo-native-pages .lo-page-content :is(button, a, input, textarea, select, summary, .select2-selection):focus-visible {
  outline: 3px solid var(--lo-page-green);
  outline-offset: 3px;
}

.lo-storefront.lo-native-pages .lo-page-content :is(.button, .elementor-button, .wp-block-button__link, button[type='submit'], input[type='submit']) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: #ffd13d;
  color: #253a33;
  font: 700 15px/1.5 'DM Sans', sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: none;
  cursor: pointer;
}

.lo-storefront.lo-native-pages .lo-page-content :is(.button, .elementor-button, .wp-block-button__link, button[type='submit'], input[type='submit']):hover {
  background: #ffda58;
  color: #253a33;
}

.lo-storefront.lo-native-pages .lo-page-content :is(.button, button, input[type='submit']):disabled {
  opacity: .55;
  cursor: not-allowed;
}

.lo-storefront.lo-native-pages .lo-page-content :is(.checkout-button, #place_order) {
  width: 100%;
  background: #253a33;
  color: white;
}

.lo-storefront.lo-native-pages .lo-page-content :is(.checkout-button, #place_order):hover { background: #235c49; color: white; }

/* Keep Woo notices in the reading flow, including all links and error lists. */
.lo-storefront.lo-native-pages .lo-page-content :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  position: relative;
  width: 100%;
  margin: 0 0 24px;
  padding: 18px 20px 18px 48px;
  border: 1px solid #aadace;
  border-radius: 14px;
  background: var(--lo-page-mint);
  color: #253a33;
  font-size: 15px;
  list-style: none;
}

.lo-storefront.lo-native-pages .lo-page-content :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
  top: 18px;
  left: 18px;
  color: var(--lo-page-green);
}

.lo-storefront.lo-native-pages .lo-page-content .woocommerce-error {
  border-color: #d4a49e;
  background: #fff5f1;
  color: #742d28;
}

.lo-storefront.lo-native-pages .lo-page-content .woocommerce-error::before { color: var(--lo-page-error); }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce-error li { margin: 0; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce-notices-wrapper:empty { margin: 0; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce-NoticeGroup { width: 100%; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce-message .button { margin: 0 0 8px 12px; }

/* Tables retain native headings, totals, tax rows, shipping controls, and captions. */
.lo-storefront.lo-native-pages .lo-page-content table.shop_table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--lo-page-edge);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  background: white;
  font-size: 15px;
  line-height: 1.5;
}

.lo-storefront.lo-native-pages .lo-page-content table.shop_table :is(th, td) {
  padding: 16px;
  border: 0;
  border-bottom: 1px solid var(--lo-page-edge);
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.lo-storefront.lo-native-pages .lo-page-content table.shop_table thead th {
  background: var(--lo-page-mint);
  color: #253a33;
  font-weight: 700;
}

.lo-storefront.lo-native-pages .lo-page-content table.shop_table thead th:first-child { border-start-start-radius: 15px; }
.lo-storefront.lo-native-pages .lo-page-content table.shop_table thead th:last-child { border-start-end-radius: 15px; }
.lo-storefront.lo-native-pages .lo-page-content table.shop_table tr:last-child > :is(td, th) { border-bottom: 0; }
.lo-storefront.lo-native-pages .lo-page-content table.shop_table :is(tfoot, .order-total) { font-weight: 700; }
.lo-storefront.lo-native-pages .lo-page-content table.shop_table .order-total :is(td, th) { background: var(--lo-page-mint); }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce-shipping-methods { padding: 0; margin: 0; list-style: none; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce-shipping-methods li { margin-block: 0 8px; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce-shipping-destination { font-size: 13px; margin-top: 12px; }

/* Classic cart: table at left, native totals at right. Extra plugin rows stay in flow. */
.lo-storefront.lo-native-pages .lo-page-cart > .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 24px 32px;
  align-items: start;
}

.lo-storefront.lo-native-pages .lo-page-cart > .woocommerce > * { min-width: 0; grid-column: 1 / -1; }
.lo-storefront.lo-native-pages .lo-page-cart > .woocommerce > .woocommerce-cart-form { grid-column: 1; margin: 0; }
.lo-storefront.lo-native-pages .lo-page-cart > .woocommerce > .cart-collaterals { grid-column: 2; }
.lo-storefront.lo-native-pages .lo-page-cart .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--lo-page-edge);
  border-radius: var(--lo-page-radius);
  background: #fff;
}

.lo-storefront.lo-native-pages .lo-page-cart .cart-collaterals .cart_totals > h2 { margin: 0 0 20px; padding: 0; border: 0; background: transparent; font-size: 28px; line-height: 1.2; }
.lo-storefront.lo-native-pages .lo-page-cart .cart_totals table.shop_table { border: 0; border-radius: 0; }
.lo-storefront.lo-native-pages .lo-page-cart .wc-proceed-to-checkout { padding: 12px 0 0; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart { table-layout: fixed; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-remove { width: 64px; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-thumbnail { width: 88px; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-price { width: 88px; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-quantity { width: 172px; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-subtotal { width: 96px; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart :is(.product-price, .product-quantity, .product-subtotal) { overflow-wrap: normal; word-break: normal; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart :is(.product-price, .product-subtotal) { white-space: nowrap; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce-Price-amount { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-thumbnail img {
  width: 64px;
  max-width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #f7f7f2;
}

.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-name { width: auto; font-weight: 600; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-name dl { font-weight: 400; font-size: 13px; margin-bottom: 0; }
.lo-storefront.lo-native-pages .lo-page-cart .quantity { height: auto; display: inline-flex; border: 0; overflow: visible; }
.lo-storefront.lo-native-pages .lo-page-cart .quantity input.qty { width: 76px; min-height: 48px; padding: 10px; }
/* Astra's existing live plus/minus controls must fit inside the native quantity cell. */
.lo-storefront.lo-native-pages .lo-page-cart .quantity.buttons_added { width: 132px; min-width: 132px; max-width: 132px; gap: 0; align-items: stretch; }
.lo-storefront.lo-native-pages .lo-page-cart .quantity.buttons_added input.qty { flex: 0 0 44px; width: 44px; min-width: 44px; max-width: 44px; margin: 0 !important; padding: 4px; border-radius: 0; text-align: center; }
.lo-storefront.lo-native-pages .lo-page-cart .quantity.buttons_added :is(a.plus, a.minus) { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; min-width: 44px; max-width: 44px; min-height: 48px; margin: 0; padding: 0; border: 1px solid var(--lo-page-edge); background: #f4faf6; color: var(--lo-page-green); text-decoration: none; }
.lo-storefront.lo-native-pages .lo-page-cart .quantity.buttons_added a.minus { border-radius: 10px 0 0 10px; }
.lo-storefront.lo-native-pages .lo-page-cart .quantity.buttons_added a.plus { border-radius: 0 10px 10px 0; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  color: #9b302a;
  border-radius: 50%;
  background: #fff5f1;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
}

.lo-storefront.lo-native-pages .lo-page-cart table.cart a.remove:hover { background: #f7ded8; color: #742d28; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart td.actions { padding: 20px 16px; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; max-width: 100%; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart td.actions .coupon input.input-text { width: 160px; min-width: 0; margin: 0; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart td.actions > .button { margin-top: 12px; }
.lo-storefront.lo-native-pages .lo-page-cart .cross-sells { float: none; width: 100%; margin-top: 28px; }

/* Checkout: only layout and surfaces; native conditional fields keep Woo visibility. */
.lo-storefront.lo-native-pages .lo-page-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  /* An empty first track reserves native validation notices without adding a gap. */
  grid-template-rows: max-content max-content max-content 1fr;
  gap: 0 32px;
  align-items: start;
}

.lo-storefront.lo-native-pages .lo-page-checkout form.checkout > * { min-width: 0; grid-column: 1 / -1; }
.lo-storefront.lo-native-pages .lo-page-checkout form.checkout :is(#customer_details, #order_review_heading, #order_review) { float: none; width: 100%; margin-inline: 0; }
.lo-storefront.lo-native-pages .lo-page-checkout form.checkout :is(#order_review_heading, #order_review) { padding: 0; border: 0; background: transparent; }
.lo-storefront.lo-native-pages .lo-page-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
.lo-storefront.lo-native-pages .lo-page-checkout form.checkout #customer_details { grid-area: 2 / 1 / 5 / 2; }
.lo-storefront.lo-native-pages .lo-page-checkout form.checkout #order_review_heading { grid-area: 2 / 2 / 3 / 3; align-self: start; margin: 0 0 20px; padding: 0; border: 0; }
.lo-storefront.lo-native-pages .lo-page-checkout form.checkout #order_review { grid-area: 3 / 2 / 4 / 3; align-self: start; padding: 0; border: 0; }
.lo-storefront.lo-native-pages .lo-page-checkout #customer_details :is(.col-1, .col-2) { float: none; width: 100%; }
.lo-storefront.lo-native-pages .lo-page-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--lo-page-edge);
  border-radius: var(--lo-page-radius);
  background: #fff;
}

.lo-storefront.lo-native-pages .lo-page-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) > :is(h3, h2) { margin-top: 0; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce form .form-row { padding: 0; margin: 0 0 20px; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce form .form-row label { display: block; margin-bottom: 6px; color: #253a33; font-size: 14px; font-weight: 600; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce form .form-row .input-text { width: 100%; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce form .form-row .required { color: #9b302a; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce form .form-row .optional { color: #69776f; font-weight: 400; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce form .form-row.woocommerce-invalid :is(.input-text, select, .select2-selection) { border-color: var(--lo-page-error); border-width: 2px; }
.lo-storefront.lo-native-pages .lo-page-content .woocommerce form .form-row.woocommerce-validated :is(.input-text, select, .select2-selection) { border-color: #4d8267; }
.lo-storefront.lo-native-pages .lo-page-content .select2-container { max-width: 100%; }
.lo-storefront.lo-native-pages .lo-page-content .select2-container .select2-selection--single { height: 48px; border: 1px solid #bdcdc2; border-radius: 12px; background: white; }
.lo-storefront.lo-native-pages .lo-page-content .select2-container .select2-selection--single .select2-selection__rendered { padding: 10px 36px 10px 14px; line-height: 26px; color: #2e3a35; }
.lo-storefront.lo-native-pages .lo-page-content .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 12px; }
.lo-storefront.lo-native-pages .lo-page-checkout #payment {
  padding: 24px;
  border: 1px solid var(--lo-page-edge);
  border-radius: var(--lo-page-radius);
  background: #fff;
}

.lo-storefront.lo-native-pages .lo-page-checkout #payment ul.payment_methods { padding: 0 0 16px; margin: 0 0 20px; list-style: none; border-bottom: 1px solid var(--lo-page-edge); }
.lo-storefront.lo-native-pages .lo-page-checkout #payment ul.payment_methods li { margin: 0 0 12px; text-align: start; }
.lo-storefront.lo-native-pages .lo-page-checkout #payment ul.payment_methods li > label { display: inline-block; max-width: calc(100% - 36px); vertical-align: middle; color: #253a33; font-weight: 600; }
.lo-storefront.lo-native-pages .lo-page-checkout #payment ul.payment_methods li img { display: inline-block; max-width: 140px; max-height: 32px; width: auto; vertical-align: middle; margin: 4px 8px; object-fit: contain; }
.lo-storefront.lo-native-pages .lo-page-checkout #payment div.payment_box { width: 100%; margin: 12px 0; padding: 16px; border-radius: 12px; background: var(--lo-page-mint); color: #2e3a35; }
.lo-storefront.lo-native-pages .lo-page-checkout #payment div.payment_box::before { border-bottom-color: var(--lo-page-mint); }
.lo-storefront.lo-native-pages .lo-page-checkout #payment div.form-row { padding: 0; margin-bottom: 0; }
.lo-storefront.lo-native-pages .lo-page-checkout #payment :is(.woocommerce-terms-and-conditions-wrapper, .woocommerce-privacy-policy-text) { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.lo-storefront.lo-native-pages .lo-page-checkout #payment .woocommerce-terms-and-conditions { border: 1px solid var(--lo-page-edge); border-radius: 12px; padding: 16px; }
.lo-storefront.lo-native-pages .lo-page-checkout #payment #place_order { float: none; margin: 12px 0 0; }
.lo-storefront.lo-native-pages .lo-page-checkout .woocommerce-checkout-review-order-table .product-name { width: 65%; }
/* Keep checkout product names as real cells despite Astra's flex rule. */
.lo-storefront.lo-native-pages .lo-page-checkout #order_review .woocommerce-checkout-review-order-table tbody td.product-name { display: table-cell; vertical-align: middle; }
.lo-storefront.lo-native-pages .lo-page-checkout .woocommerce-checkout-review-order-table .product-total { text-align: end; }

/* Login, account navigation, addresses and order screens use the same surfaces. */
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-navigation { float: left; width: 25%; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-navigation ul { padding: 12px; margin: 0; border: 1px solid var(--lo-page-edge); border-radius: 16px; background: var(--lo-page-mint); list-style: none; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-navigation li { margin: 0; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-navigation li a { display: block; min-height: 48px; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-navigation .is-active a { background: #253a33; color: white; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-content { float: right; width: 71%; min-width: 0; padding: 28px; border: 1px solid var(--lo-page-edge); border-radius: var(--lo-page-radius); background: white; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce::after { content: ''; display: table; clear: both; }
.lo-storefront.lo-native-pages .lo-page-content :is(form.woocommerce-form-login, form.woocommerce-form-register, form.lost_reset_password) { padding: 28px; border: 1px solid var(--lo-page-edge); border-radius: var(--lo-page-radius); background: white; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-Address { min-width: 0; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-Address address { padding: 20px; border-radius: 12px; background: var(--lo-page-mint); font-style: normal; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-Address-title h2 { font-size: 26px; }
.lo-storefront.lo-native-pages .lo-page-account fieldset { min-width: 0; margin: 24px 0; padding: 20px; border: 1px solid var(--lo-page-edge); border-radius: 12px; }
.lo-storefront.lo-native-pages .lo-page-account fieldset legend { padding-inline: 8px; font-weight: 700; }
.lo-storefront.lo-native-pages .lo-page-account .woocommerce-orders-table .button { padding: 10px 16px; margin: 4px; font-size: 13px; }
.lo-storefront.lo-native-pages .lo-page-blog :is(article, .lo-post-card) { padding-block: 24px; border-bottom: 1px solid var(--lo-page-edge); }
.lo-storefront.lo-native-pages .lo-page-blog :is(article, .lo-post-card) h2 { margin-top: 0; }
.lo-storefront.lo-native-pages .lo-page-blog .navigation.pagination { margin-top: 32px; }
.lo-storefront.lo-native-pages .lo-page-blog .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--lo-page-edge); border-radius: 12px; }
.lo-storefront.lo-native-pages .lo-page-blog .page-numbers.current { background: #c9eee6; color: #253a33; }

@media (max-width: 1050px) {
  .lo-storefront.lo-native-pages .lo-page-cart > .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lo-storefront.lo-native-pages .lo-page-cart > .woocommerce > :is(.woocommerce-cart-form, .cart-collaterals) { grid-column: 1; }
  .lo-storefront.lo-native-pages .lo-page-cart .cart-collaterals .cart_totals { padding: 20px; }
  .lo-storefront.lo-native-pages .lo-page-cart table.shop_table :is(th, td) { padding: 12px; }
  .lo-storefront.lo-native-pages .lo-page-checkout form.checkout { gap: 0 24px; }
}

@media (max-width: 800px) {
  .lo-storefront.lo-native-pages .lo-page-content { padding-block: 24px 48px; }
  .lo-storefront.lo-native-pages .lo-page-content > .page-title { padding-block: 0 20px; }
  .lo-storefront.lo-native-pages .lo-page-cart > .woocommerce,
  .lo-storefront.lo-native-pages .lo-page-checkout form.checkout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lo-storefront.lo-native-pages .lo-page-checkout form.checkout { grid-template-rows: none; }
  .lo-storefront.lo-native-pages .lo-page-cart > .woocommerce > *,
  .lo-storefront.lo-native-pages .lo-page-checkout form.checkout > .woocommerce-NoticeGroup,
  .lo-storefront.lo-native-pages .lo-page-checkout form.checkout > #customer_details,
  .lo-storefront.lo-native-pages .lo-page-checkout form.checkout > #order_review_heading,
  .lo-storefront.lo-native-pages .lo-page-checkout form.checkout > #order_review { grid-column: 1; grid-row: auto; }
  .lo-storefront.lo-native-pages .lo-page-checkout form.checkout #order_review_heading { margin-bottom: -12px; }
  .lo-storefront.lo-native-pages .lo-page-cart .cart-collaterals .cart_totals { padding: 24px; }
  .lo-storefront.lo-native-pages .lo-page-account :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) { float: none; width: 100%; }
  .lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-navigation { margin-bottom: 24px; }
  .lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
}

@media (max-width: 767px) {
  /* Woo's responsive table hides thumbnails; restore the native image explicitly. */
  .lo-storefront.lo-native-pages .lo-page-cart table.cart thead { display: table-header-group; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart,
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tbody { display: block; width: 100%; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr.cart_item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 8px 12px; padding: 20px 16px; border-bottom: 1px solid var(--lo-page-edge); }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr.cart_item td { display: block; width: auto; padding: 0; border: 0; background: transparent; text-align: start; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr.cart_item td.product-thumbnail { display: block; grid-area: 1 / 1 / 5 / 2; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.product-remove { grid-area: 1 / 3 / 2 / 4; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.product-name { grid-area: 1 / 2 / 2 / 3; align-self: center; padding-bottom: 8px; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.product-price { grid-area: 2 / 2 / 3 / 4; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.product-quantity { grid-area: 3 / 2 / 4 / 4; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.product-subtotal { grid-area: 4 / 2 / 5 / 4; font-weight: 700; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr.cart_item td::before { float: none; margin-inline-end: 8px; font-weight: 600; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr.cart_item :is(.product-name, .product-thumbnail, .product-remove)::before { content: none; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr.cart_item td.product-quantity { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr:not(.cart_item) { display: block; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.actions { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 20px 16px; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.actions .coupon { float: none; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; padding: 0; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.actions .coupon input.input-text,
  .lo-storefront.lo-native-pages .lo-page-cart table.cart td.actions .button { width: 100%; margin: 0; }
  .lo-storefront.lo-native-pages .lo-page-content .woocommerce form :is(.form-row-first, .form-row-last) { float: none; width: 100%; }
  .lo-storefront.lo-native-pages .lo-page-content .woocommerce-message .button { float: none; display: flex; margin: 0 0 12px; }
  .lo-storefront.lo-native-pages .lo-page-content .elementor > :is(.e-con, .elementor-section) { --padding-left: 0px; --padding-right: 0px; padding-inline: 0; }
}

@media (max-width: 480px) {
  .lo-storefront.lo-native-pages .lo-page-content { font-size: 15px; }
  .lo-storefront.lo-native-pages .lo-page-cart .cart-collaterals .cart_totals,
  .lo-storefront.lo-native-pages .lo-page-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields),
  .lo-storefront.lo-native-pages .lo-page-checkout #payment,
  .lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-content,
  .lo-storefront.lo-native-pages .lo-page-content :is(form.woocommerce-form-login, form.woocommerce-form-register, form.lost_reset_password) { padding: 20px 16px; }
  .lo-storefront.lo-native-pages .lo-page-content table.shop_table :is(th, td) { padding: 12px 10px; font-size: 14px; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr.cart_item { grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 8px; padding-inline: 12px; }
  .lo-storefront.lo-native-pages .lo-page-cart table.cart .product-thumbnail img { width: 56px; max-width: 56px; height: 56px; }
  .lo-storefront.lo-native-pages .lo-page-account .woocommerce-MyAccount-navigation ul { grid-template-columns: minmax(0, 1fr); }
  .lo-storefront.lo-native-pages .lo-page-content .woocommerce form .form-row label { font-size: 14px; }
}

/* Woo 11.2 uses a semantic row-header for the product name. Older versions use td. */
@media (max-width: 767px) {
  .lo-storefront.lo-native-pages .lo-page-cart table.cart tr.cart_item th.product-name {
    display: block; grid-area: 1 / 2 / 2 / 3; width: auto; align-self: center;
    padding: 0 0 8px; border: 0; background: transparent; text-align: start;
    font-size: 14px; font-weight: 600;
  }
}

/* Discovery uses the same mint/cream surfaces as the approved storefront. */
.lo-storefront.lo-native-pages .lo-page-content .lo-finder fieldset { border: 1px solid #d9e5dd; border-radius: 20px; padding: 24px; background: #eef8f4; }
.lo-storefront.lo-native-pages .lo-page-content .lo-finder-worlds { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.lo-storefront.lo-native-pages .lo-page-content .lo-finder-worlds a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #aadace; border-radius: 99px; background: #fffdf9; text-decoration: none; font-weight: 600; }
.lo-storefront.lo-native-pages .lo-page-content .lo-finder-worlds a:hover { background: #c9eee6; }
.lo-storefront.lo-native-pages .lo-page-content .lo-wishlist :is(button[data-lo-load-wishlist],button[data-lo-clear-wishlist]) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid #d9e5dd; border-radius: 99px; background: #ffd13d; color: #253a33; font: 700 15px/1.5 'DM Sans',sans-serif; }
.lo-storefront.lo-native-pages .lo-page-content .lo-wishlist button[data-lo-clear-wishlist] { background: #fffdf9; }

/* Prices remain native; emphasize item amounts and the payable total. */
.lo-storefront.lo-native-pages .lo-page-cart table.cart :is(.product-price,.product-subtotal) .amount { color: #253a33; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lo-storefront.lo-native-pages .lo-page-content table.shop_table .order-total > td > strong .amount { color: #253a33; font-size: clamp(24px,3vw,30px); font-weight: 800; font-variant-numeric: tabular-nums; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-price { width: 104px; }
.lo-storefront.lo-native-pages .lo-page-cart table.cart .product-subtotal { width: 112px; }
@media(max-width:767px) { .lo-storefront.lo-native-pages .lo-page-cart table.cart :is(.product-price,.product-subtotal) { width: auto; } }

/* Give native shipping choices readable room on a phone; keep the table and controls intact. */
@media(max-width:600px) {
 .lo-storefront.lo-native-pages .lo-page-checkout .woocommerce-checkout-review-order-table { table-layout: fixed; }
 .lo-storefront.lo-native-pages .lo-page-checkout .woocommerce-checkout-review-order-table :is(th,td) { padding: 12px 8px; }
 .lo-storefront.lo-native-pages .lo-page-checkout .woocommerce-checkout-review-order-table .product-name { width: 55%; }
 .lo-storefront.lo-native-pages .lo-page-checkout .woocommerce-shipping-totals > td { padding-inline: 8px; text-align: start; }
 .lo-storefront.lo-native-pages .lo-page-checkout .woocommerce-shipping-methods { text-align: start; }
 .lo-storefront.lo-native-pages .lo-page-checkout .woocommerce-shipping-methods label { font-size: 13px; overflow-wrap: normal; word-break: normal; }
}
