/* Turbani Amore — classic checkout only. */
body.woocommerce-checkout:not(.woocommerce-order-received) {
  --amore-cream: #F3E8C8;
  --amore-ink: #292722;
  --amore-muted: #716d65;
  --amore-line: #e9e5dc;
  --amore-soft: #fbf9f4;
  --amore-focus: #c5a96b;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-title,
body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-post-title,
body.woocommerce-checkout:not(.woocommerce-order-received) h1.page-title {
  color: var(--amore-ink) !important;
  font-size: clamp(28px, 3.5vw, 43px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
  color: var(--amore-ink);
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size: 15px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce a { color: var(--amore-ink); text-decoration-color: #cdbb8e; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce a:hover { color: #8d7751; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-info,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-message,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-error {
  position: relative;
  background: var(--amore-soft) !important;
  border: 1px solid var(--amore-line) !important;
  border-left: 3px solid #cdbb8e !important;
  color: var(--amore-ink) !important;
  box-shadow: none !important;
  padding: 17px 20px !important;
  border-radius: 0 !important;
  margin: 0 0 28px !important;
  line-height: 1.55;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-info::before,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-message::before,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-error::before {
  display: none !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr);
  gap: 0 48px;
  align-items: start;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
  float: none;
  min-width: 0;
  clear: none !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #customer_details .col-1,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #customer_details .col-2 { float: none; width: 100%; padding: 0; max-width: none; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  padding: 26px 28px 0;
  background: var(--amore-soft);
  border: 1px solid var(--amore-line);
  border-bottom: 0;
  width: 100%;
  float: none;
  clear: none !important;
  align-self: start;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #order_review {
  grid-column: 2;
  grid-row: 2;
  background: var(--amore-soft);
  border: 1px solid var(--amore-line);
  border-top: 0;
  padding: 16px 28px 32px;
  width: 100%;
  float: none;
  min-width: 0;
  margin: 0 !important;
  clear: none !important;
  align-self: start;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout h3,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout h3#order_review_heading { color: var(--amore-ink) !important; font-size: 21px; line-height: 1.35; letter-spacing: -.02em; font-weight: 500; margin-bottom: 22px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout #order_review_heading { margin-bottom: 0 !important; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .form-row { margin-bottom: 15px; padding: 0; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .form-row label { font-weight: 500; font-size: 13px; margin-bottom: 7px; color: var(--amore-ink); }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .form-row .required { color: #ad685e; text-decoration: none; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout input.input-text,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout textarea,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout select,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .select2-container .select2-selection--single,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .select2-container .select2-selection--multiple,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .select2-container--default .select2-selection--single {
  width: 100%; min-height: 48px; border: 1px solid #e2dfd7 !important; background: #fff !important;
  border-radius: 0 !important; color: var(--amore-ink) !important; box-shadow: none !important;
  padding: 11px 13px; font-size: 14px; transition: border-color .18s, box-shadow .18s;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout textarea { min-height: 90px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .select2-container .select2-selection--single { padding: 0 12px; height: 48px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .select2-selection__rendered { line-height: 46px; padding-left: 0; color: var(--amore-ink); }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .select2-selection__arrow { top: 10px; right: 9px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout input.input-text:focus,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout textarea:focus,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout select:focus,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .select2-container--focus .select2-selection { outline: none; border-color: var(--amore-focus) !important; box-shadow: 0 0 0 2px rgba(197,169,107,.15) !important; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce table.shop_table { border: 0; border-collapse: collapse; width: 100%; font-size: 13px; background: transparent; margin: 0 0 26px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce table.shop_table th,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce table.shop_table td { border: 0; border-bottom: 1px solid var(--amore-line); padding: 13px 0; color: var(--amore-ink); background: transparent; vertical-align: middle; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce table.shop_table thead th { font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce table.shop_table .product-total,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce table.shop_table tfoot td { text-align: right; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce table.shop_table tfoot tr.order-total td { font-weight: 650; font-size: 17px; border-top: 1px solid #c4b9a7; }
body.woocommerce-checkout:not(.woocommerce-order-received) .amore-checkout-product { display: flex; gap: 11px; align-items: center; }
body.woocommerce-checkout:not(.woocommerce-order-received) .amore-checkout-product-image { flex: 0 0 51px; width: 51px; height: 61px; object-fit: cover; background: #f0ece5; }
body.woocommerce-checkout:not(.woocommerce-order-received) .amore-checkout-product-name { min-width: 0; line-height: 1.5; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment { background: transparent !important; border-radius: 0; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment ul.payment_methods {
  padding: 18px 0 20px !important;
  border-bottom: 1px solid var(--amore-line);
  margin-bottom: 0 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment .payment_box { background: #fff !important; color: var(--amore-muted) !important; font-size: 13px; border: 1px solid var(--amore-line); border-radius: 0 !important; padding: 16px !important; margin-top: 10px !important; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment .payment_box::before { border-bottom-color: #fff !important; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment div.form-row.place-order {
  padding: 30px 0 0;
  margin: 0;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment #place_order,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce button.button,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce a.button {
  background: var(--amore-cream) !important; color: var(--amore-ink) !important; border: 1px solid var(--amore-cream) !important; border-radius: 0 !important;
  min-height: 58px; padding: 16px 28px !important; font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600 !important; box-shadow: none !important; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment #place_order { width: 100%; float: none; margin-top: 8px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment #place_order:hover,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce button.button:hover,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce a.button:hover { background: #e6d7af !important; border-color: #e6d7af !important; transform: translateY(-1px); }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout #payment #place_order:disabled { opacity: .6; cursor: progress; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout_coupon { border: 1px solid var(--amore-line); border-radius: 0; margin-bottom: 30px; padding: 22px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout_coupon .form-row { margin: 0 0 8px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-privacy-policy-text { font-size: 12px; line-height: 1.65; color: var(--amore-muted); }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .woocommerce-terms-and-conditions-wrapper { font-size: 12px; line-height: 1.65; }
@media (max-width: 900px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #customer_details { grid-column: 1; grid-row: 1; margin-bottom: 30px; }
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #order_review_heading { grid-column: 1; grid-row: 2; }
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #order_review { grid-column: 1; grid-row: 3; }
}
@media (max-width: 480px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #order_review_heading { padding: 21px 18px 0; }
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > #order_review { padding: 12px 18px 24px; }
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .form-row-first,
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout .form-row-last { float: none; width: 100%; }
  body.woocommerce-checkout:not(.woocommerce-order-received) .amore-checkout-product-image { width: 43px; height: 53px; flex-basis: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce button.button,
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce a.button { transition: none; transform: none !important; }
}

/* v1.1.0 — heading and review belong to one actual grid card, no empty grid track */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > .amore-order-panel {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  align-self: start;
  box-sizing: border-box;
  background: var(--amore-soft);
  border: 1px solid var(--amore-line);
  padding: 0 28px 34px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > .amore-order-panel > #order_review_heading {
  float: none !important;
  clear: none !important;
  position: static !important;
  display: block !important;
  width: auto !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 26px 0 18px !important;
  box-sizing: border-box;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > .amore-order-panel > #order_review {
  float: none !important;
  clear: none !important;
  position: static !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .amore-order-panel #payment div.form-row.place-order {
  padding: 24px 0 0 !important;
  margin: 0 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .amore-order-panel #payment #place_order {
  display: block;
  margin: 12px 0 0 !important;
  width: 100%;
  box-sizing: border-box;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .amore-order-panel #payment {
  margin: 0 !important;
}
@media(max-width:900px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > .amore-order-panel {
    grid-column: 1;
    grid-row: 2;
  }
}
@media(max-width:480px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce form.checkout > .amore-order-panel {
    padding: 0 18px 26px;
  }
}

/* CART — styling for the classic [woocommerce_cart] shortcode only */
body.woocommerce-cart {
  --amore-cream: #F3E8C8;
  --amore-ink: #292722;
  --amore-muted: #716d65;
  --amore-line: #e9e5dc;
  --amore-soft: #fbf9f4;
  --amore-focus: #c5a96b;
}
body.woocommerce-cart .woocommerce {
  color: var(--amore-ink);
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size: 15px;
}
body.woocommerce-cart .entry-title,
body.woocommerce-cart .wp-block-post-title,
body.woocommerce-cart h1.page-title {
  color: var(--amore-ink) !important;
  font-size: clamp(28px,3.5vw,43px);
  font-weight: 500;
}
body.woocommerce-cart .woocommerce a:not(.button) {
  color: var(--amore-ink);
  text-decoration-color: #cdbb8e;
}
body.woocommerce-cart .woocommerce a:not(.button):hover { color: #8d7751; }
body.woocommerce-cart .woocommerce table.shop_table {
  border: 1px solid var(--amore-line) !important;
  border-radius: 0 !important;
  border-collapse: collapse;
  background: #fff;
  width: 100%;
  font-size: 14px;
}
body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-cart .woocommerce table.shop_table td {
  border: 0;
  border-bottom: 1px solid var(--amore-line);
  padding: 18px 16px;
  color: var(--amore-ink);
  vertical-align: middle;
}
body.woocommerce-cart .woocommerce table.shop_table thead th {
  background: var(--amore-soft) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.woocommerce-cart .woocommerce table.shop_table img {
  width: 76px;
  height: 94px;
  object-fit: cover;
}
body.woocommerce-cart .woocommerce table.shop_table td.product-name a { font-weight: 500; }
body.woocommerce-cart .woocommerce a.remove {
  border: 1px solid #d5d1c9;
  color: var(--amore-muted) !important;
  font-size: 17px;
  height: 24px;
  width: 24px;
  line-height: 21px;
  text-align: center;
}
body.woocommerce-cart .woocommerce a.remove:hover {
  color: var(--amore-ink) !important;
  background: var(--amore-cream) !important;
  border-color: var(--amore-cream);
}
body.woocommerce-cart .woocommerce .quantity .qty,
body.woocommerce-cart .woocommerce .coupon input.input-text {
  background: #fff !important;
  color: var(--amore-ink) !important;
  border: 1px solid #ddd8ce !important;
  border-radius: 0 !important;
  min-height: 46px;
  box-shadow: none !important;
  padding: 9px 12px;
}
body.woocommerce-cart .woocommerce .quantity .qty { width: 75px; text-align: center; }
body.woocommerce-cart .woocommerce .coupon input.input-text {
  width: clamp(145px,16vw,220px) !important;
  max-width: 100%;
  margin-right: 10px !important;
}
body.woocommerce-cart .woocommerce .coupon input.input-text:focus,
body.woocommerce-cart .woocommerce .quantity .qty:focus { outline: 2px solid rgba(197,169,107,.3); outline-offset: 1px; }
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button {
  background: var(--amore-cream) !important;
  border: 1px solid var(--amore-cream) !important;
  color: var(--amore-ink) !important;
  border-radius: 0 !important;
  padding: 14px 23px !important;
  min-height: 46px;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .035em;
  box-shadow: none !important;
  transition: background .18s ease;
  text-align: center;
}
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: #e6d7af !important;
  border-color: #e6d7af !important;
}
body.woocommerce-cart .woocommerce button.button:disabled { opacity: .5; }
body.woocommerce-cart .woocommerce .cart-collaterals { margin-top: 34px; }
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
  width: min(100%, 480px);
  float: right;
  background: var(--amore-soft);
  border: 1px solid var(--amore-line);
  padding: 26px 28px 32px;
  box-sizing: border-box;
}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals > h2 {
  color: var(--amore-ink) !important;
  font-size: 23px !important;
  font-weight: 500 !important;
  line-height: 1.35;
  margin: 0 0 18px !important;
}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table {
  background: transparent;
  border: 0 !important;
  margin: 0 0 18px;
}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table th,
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table td {
  background: transparent !important;
  padding: 15px 8px;
  font-weight: 400;
}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total th,
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total td {
  font-weight: 650;
  font-size: 17px;
}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout {
  padding: 15px 0 0;
}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  padding: 18px 18px !important;
  min-height: 56px;
  margin: 0 !important;
  box-sizing: border-box;
  font-size: 14px !important;
}
body.woocommerce-cart .woocommerce .woocommerce-info,
body.woocommerce-cart .woocommerce .woocommerce-message,
body.woocommerce-cart .woocommerce .woocommerce-error {
  background: var(--amore-soft) !important;
  border: 1px solid var(--amore-line) !important;
  border-left: 3px solid #cdbb8e !important;
  color: var(--amore-ink) !important;
  padding: 18px 20px !important;
  border-radius: 0 !important;
}
body.woocommerce-cart .woocommerce .woocommerce-info:before,
body.woocommerce-cart .woocommerce .woocommerce-message:before { display: none !important; }
@media (max-width:767px) {
  body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; padding: 22px 18px 26px; }
  body.woocommerce-cart .woocommerce table.shop_table_responsive tr td { padding: 14px 12px; }
  body.woocommerce-cart .woocommerce table.shop_table img { width: 64px; height: 80px; }
  body.woocommerce-cart .woocommerce .coupon input.input-text { margin-bottom: 10px !important; }
  body.woocommerce-cart .woocommerce table.shop_table td.actions { padding: 15px !important; }
  body.woocommerce-cart .woocommerce table.shop_table td.actions > button[name="update_cart"] { margin-top: 10px; }
}
@media (prefers-reduced-motion:reduce) {
  body.woocommerce-cart .woocommerce button.button,
  body.woocommerce-cart .woocommerce a.button { transition: none !important; }
}


/* AMORE v1.2.0 — WooCommerce order received / thank-you page.
   Deliberately scoped to this endpoint: checkout and cart remain unchanged. */
body.woocommerce-order-received {
  --amore-cream: #F3E8C8;
  --amore-ink: #292722;
  --amore-muted: #716d65;
  --amore-line: #e9e5dc;
  --amore-soft: #fbf9f4;
}
body.woocommerce-order-received .woocommerce {
  color: var(--amore-ink);
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size: 15px;
  line-height: 1.65;
}
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received .wp-block-post-title,
body.woocommerce-order-received h1.page-title {
  color: var(--amore-ink) !important;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
}
body.woocommerce-order-received .woocommerce a {
  color: var(--amore-ink) !important;
  text-decoration-color: #c8b88d;
  text-underline-offset: 3px;
}
body.woocommerce-order-received .woocommerce a:hover { color: #8c754b !important; }
/* Success notice is a distinct first-row card, but leave error/failure notices meaningful. */
body.woocommerce-order-received .woocommerce .woocommerce-thankyou-order-received {
  position: relative;
  background: var(--amore-soft) !important;
  color: var(--amore-ink) !important;
  border: 1px solid var(--amore-line);
  border-left: 4px solid #cdbb8e;
  padding: 26px 30px 26px 68px !important;
  margin: 0 0 28px !important;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.5;
}
body.woocommerce-order-received .woocommerce .woocommerce-thankyou-order-received::before {
  content: '✓';
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 500;
  color: #76664b;
}
/* Order number, date, total and payment method — flexible neutral info tiles. */
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none !important;
  margin: 0 0 30px !important;
  padding: 0 !important;
  clear: both;
}
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview li {
  display: flex;
  flex-direction: column;
  gap: 7px;
  float: none !important;
  width: auto !important;
  min-width: 0;
  border: 1px solid var(--amore-line) !important;
  background: #fff;
  border-radius: 0;
  padding: 19px 17px !important;
  margin: 0 !important;
  color: var(--amore-muted);
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview li strong {
  display: block;
  color: var(--amore-ink);
  font-size: 15px !important;
  line-height: 1.4;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce .woocommerce-order > p:not(.woocommerce-thankyou-order-received),
body.woocommerce-order-received .woocommerce .woocommerce-order > .woocommerce-bacs-bank-details,
body.woocommerce-order-received .woocommerce .woocommerce-order > .woocommerce-order-details + p {
  color: var(--amore-muted);
  margin: 0 0 26px;
}
/* Neutral detail cards; don't alter how WooCommerce renders line items or totals. */
body.woocommerce-order-received .woocommerce .woocommerce-order-details {
  margin: 30px 0 !important;
  padding: 28px 30px 20px;
  border: 1px solid var(--amore-line);
  background: var(--amore-soft);
}
body.woocommerce-order-received .woocommerce .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce .woocommerce-column__title,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details h2,
body.woocommerce-order-received .woocommerce .woocommerce-bacs-bank-details h2 {
  color: var(--amore-ink) !important;
  font-size: clamp(18px, 2vw, 23px) !important;
  font-weight: 500 !important;
  line-height: 1.4;
  margin: 0 0 19px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
body.woocommerce-order-received .woocommerce table.woocommerce-table--order-details,
body.woocommerce-order-received .woocommerce table.shop_table {
  background: transparent !important;
  border: 0 !important;
  border-collapse: collapse;
  width: 100%;
  margin: 0 !important;
  font-size: 14px;
}
body.woocommerce-order-received .woocommerce table.shop_table th,
body.woocommerce-order-received .woocommerce table.shop_table td {
  color: var(--amore-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--amore-line) !important;
  padding: 14px 10px !important;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce table.shop_table thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .065em;
}
body.woocommerce-order-received .woocommerce table.shop_table th:last-child,
body.woocommerce-order-received .woocommerce table.shop_table td:last-child { text-align: right; }
body.woocommerce-order-received .woocommerce table.shop_table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce table.shop_table tfoot tr:last-child td {
  font-weight: 650;
  font-size: 16px;
  border-bottom: 0 !important;
}
/* Address section retains WooCommerce columns, with matching independent cards. */
body.woocommerce-order-received .woocommerce .woocommerce-customer-details {
  margin: 0 0 30px !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns {
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-column {
  float: none !important;
  flex: 1 1 300px;
  width: auto !important;
  min-width: 0;
  background: var(--amore-soft);
  border: 1px solid var(--amore-line);
  padding: 25px 28px;
  box-sizing: border-box;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.85;
  color: var(--amore-ink);
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-customer-details--email {
  margin: 5px 0 0 !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
  color: var(--amore-ink);
}
@media (max-width: 900px) {
  body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  body.woocommerce-order-received .woocommerce .woocommerce-thankyou-order-received {
    padding: 19px 17px 19px 48px !important;
    font-size: 18px;
  }
  body.woocommerce-order-received .woocommerce .woocommerce-thankyou-order-received::before { left: 15px; }
  body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
  }
  body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview li { padding: 14px 12px !important; }
  body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview li strong { font-size: 13px !important; }
  body.woocommerce-order-received .woocommerce .woocommerce-order-details { padding: 19px 14px; }
  body.woocommerce-order-received .woocommerce table.shop_table th,
  body.woocommerce-order-received .woocommerce table.shop_table td { padding: 11px 6px !important; font-size: 12px; }
  body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-column {
    flex-basis: 100%; padding: 20px 18px;
  }
}


/* AMORE v1.2.1 — enforce four aligned order overview tiles.
   Woo themes sometimes apply fixed widths/clear rules to each <li>. */
body.woocommerce-order-received .woocommerce .woocommerce-order ul.woocommerce-order-overview,
body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-thankyou-order-details {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 14px !important;
  row-gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 0 30px !important;
  padding: 0 !important;
  list-style: none !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-order ul.woocommerce-order-overview > li,
body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-thankyou-order-details > li {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  grid-column: auto !important;
  grid-row: auto !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
@media (max-width: 1024px) {
  body.woocommerce-order-received .woocommerce .woocommerce-order ul.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-thankyou-order-details {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  body.woocommerce-order-received .woocommerce .woocommerce-order ul.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-thankyou-order-details {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* AMORE v1.2.2 — aligned billing / delivery address cards */
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  margin: 0 !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-column {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 30px 32px !important;
  border: 1px solid var(--amore-line) !important;
  background: var(--amore-soft) !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-column__title,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-column h2 {
  margin: 0 0 24px !important;
  padding: 0 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-column address {
  display: block !important;
  font-style: normal !important;
  line-height: 1.7 !important;
  font-size: 15px !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  overflow-wrap: anywhere;
}
/* WooCommerce and some themes draw phone/mail icons with offset pseudo-elements. */
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-customer-details--email {
  display: block !important;
  position: static !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
  font: inherit !important;
  line-height: 1.6 !important;
  text-align: left !important;
  overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before {
  display: none !important;
  content: none !important;
}
@media (max-width: 767px) {
  body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 15px !important;
  }
  body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-column {
    padding: 23px 20px !important;
  }
}

/* AMORE v1.2.3 — remove WooCommerce clearfix pseudo-elements from
   the two CSS Grid containers. These were occupying actual grid cells,
   moving the first overview tile to column 2 and addresses off-row. */
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview::after,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-thankyou-order-details::before,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-thankyou-order-details::after,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns::before,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns::after {
  content: none !important;
  display: none !important;
}
/* Anchor real children to natural grid tracks; theme floats/clears are not used. */
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview > li,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-thankyou-order-details > li,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns > .woocommerce-column {
  float: none !important;
  clear: none !important;
  position: static !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns > .woocommerce-column {
  grid-column: auto !important;
  grid-row: auto !important;
}
