/* Corner018. Only cart/checkout pages receive these two body classes. */
body.corner018-cart-page,
body.corner018-checkout-page {
  --corner018-ink: var(--corner-ink, #242424);
  --corner018-muted: #69645e;
  --corner018-line: #e8dfd5;
  --corner018-paper: var(--corner-paper, #f5f0e9);
  --corner018-accent: var(--corner-primary, #8f6843);
  --corner018-hover: var(--corner-hover, #65452a);
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .site > p:empty { display: none; }
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce {
  margin: 0 0 36px !important;
  color: var(--corner018-ink);
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header {
  margin: 8px 0 24px !important;
  padding: 14px 0 !important;
  background: var(--corner018-paper);
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_wrapper {
  max-width: 1280px;
  padding-inline: 24px;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_breadcrumb {
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_breadcrumb-item a,
:is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_breadcrumb-item span {
  font-size: 14px !important;
  line-height: 1.5;
  white-space: normal !important;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_breadcrumb-item {
  min-width: 0;
  max-width: 100%;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-notices-wrapper,
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-NoticeGroup-checkout,
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-message-alert {
  position: static !important;
  z-index: auto !important;
  width: auto !important;
  max-width: 1232px;
  margin: 0 auto 16px;
  border: 0 !important;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-notices-wrapper:empty {
  display: none;
  margin: 0;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-error,
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-info,
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-message,
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-message-alert-wrapper {
  max-width: none;
  margin: 0 0 12px;
  padding: 14px 16px 14px 42px;
  border-radius: 10px;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.55;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-error {
  display: block;
  background: #fff3f1;
  border-top: 3px solid #ae3226 !important;
  color: #79271f;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-error::before,
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-info::before,
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-message::before {
  top: 16px;
  left: 16px;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-error a {
  color: inherit;
  text-decoration: underline;
}
:is(body.corner018-cart-page, body.corner018-checkout-page) a:focus-visible,
:is(body.corner018-cart-page, body.corner018-checkout-page) button:focus-visible {
  outline: 2px solid var(--corner018-accent);
  outline-offset: 3px;
}
/* Cart: give product names the available width; SKU and unit price sit below the name. */
body.corner018-cart-page .woocommerce-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  max-width: 1280px;
  padding: 0 24px;
  align-items: start;
}
body.corner018-cart-page .woocommerce-cart-form,
body.corner018-cart-page .cart-collaterals {
  width: 100% !important;
  min-width: 0;
  padding: 0 !important;
  float: none !important;
}
body.corner018-cart-page .woocommerce-cart-form table.shop_table {
  display: block;
  width: 100%;
  border: 0 !important;
  margin: 0;
}
body.corner018-cart-page .woocommerce-cart-form thead,
body.corner018-cart-page .woocommerce-cart-form tbody {
  display: block;
}
body.corner018-cart-page .woocommerce-cart-form thead tr,
body.corner018-cart-page .woocommerce-cart-form tr.woocommerce-cart-form__cart-item {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) 104px 110px 32px;
  gap: 6px 14px;
  padding: 18px 0;
  min-height: 0;
  background: transparent !important;
}
body.corner018-cart-page .woocommerce-cart-form thead tr { padding: 8px 0 12px; }
body.corner018-cart-page .woocommerce-cart-form thead th {
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.4;
  text-align: left !important;
  align-self: center;
}
body.corner018-cart-page .woocommerce-cart-form thead .product-name { grid-column: 2; grid-row: 1; }
body.corner018-cart-page .woocommerce-cart-form thead .product-quantity { grid-column: 3; grid-row: 1; text-align: center !important; }
body.corner018-cart-page .woocommerce-cart-form thead .product-subtotal { grid-column: 4; grid-row: 1; text-align: right !important; }
body.corner018-cart-page .woocommerce-cart-form thead :is(.product-remove, .product-thumbnail, .product-sku, .product-price) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
body.corner018-cart-page .woocommerce-cart-form tr.woocommerce-cart-form__cart-item > td {
  display: block !important;
  position: static;
  min-width: 0;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  font-size: 14px !important;
  line-height: 1.5;
  float: none;
}
body.corner018-cart-page .woocommerce-cart-form tr.woocommerce-cart-form__cart-item > td::before { display: none; }
body.corner018-cart-page .woocommerce-cart-form .product-thumbnail {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: start;
  max-height: none;
}
body.corner018-cart-page .woocommerce-cart-form .product-thumbnail img {
  display: block;
  width: 72px;
  height: 80px;
  max-width: 72px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 8px;
}
body.corner018-cart-page .woocommerce-cart-form td.product-name { grid-column: 2; grid-row: 1; }
body.corner018-cart-page .woocommerce-cart-form td.product-name > a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body.corner018-cart-page .woocommerce-cart-form td.product-sku {
  grid-column: 2;
  grid-row: 2;
  color: var(--corner018-muted);
  overflow-wrap: anywhere;
  font-size: 12px !important;
}
body.corner018-cart-page .woocommerce-cart-form td.product-price { grid-column: 2; grid-row: 3; }
body.corner018-cart-page .woocommerce-cart-form td:is(.product-price, .product-sku)::before {
  content: attr(data-title) ": ";
  display: inline !important;
  float: none;
  font-weight: 400;
  color: var(--corner018-muted);
}
body.corner018-cart-page .woocommerce-cart-form td.product-quantity { grid-column: 3; grid-row: 1 / 4; align-self: center; }
body.corner018-cart-page .woocommerce-cart-form td.product-subtotal {
  grid-column: 4;
  grid-row: 1 / 4;
  align-self: center;
  text-align: right !important;
  font-weight: 600;
  white-space: nowrap;
}
body.corner018-cart-page .woocommerce-cart-form td.product-remove { grid-column: 5; grid-row: 1 / 4; align-self: center; }
body.corner018-cart-page .woocommerce-cart-form td.product-remove a.remove {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 40px;
  line-height: 1;
}
body.corner018-cart-page .woocommerce-cart-form .product-card__counter,
body.corner018-checkout-page .corner018-checkout .product-card__counter {
  display: block;
  position: static;
  inset: auto;
  width: auto;
  margin: 0;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
body.corner018-cart-page .woocommerce-cart-form .counter,
body.corner018-checkout-page .corner018-checkout .counter {
  display: inline-flex;
  width: 104px;
  min-height: 40px;
  gap: 2px;
  padding: 0;
  justify-content: space-between;
  align-items: center;
}
body.corner018-cart-page .woocommerce-cart-form .counter__button,
body.corner018-checkout-page .corner018-checkout .counter__button {
  width: 32px;
  height: 36px;
  flex: 0 0 32px;
  background-size: 16px;
}
body.corner018-cart-page .woocommerce-cart-form .counter__input,
body.corner018-checkout-page .corner018-checkout .counter__input {
  width: 32px !important;
  min-width: 0;
  height: 36px !important;
  padding: 0 !important;
  text-align: center;
  border: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
}
body.corner018-cart-page .cart_totals {
  width: 100% !important;
  padding: 22px;
  border: 1px solid var(--corner018-line);
  border-radius: 14px;
  background: var(--corner018-paper);
}
body.corner018-cart-page .cart_totals h2 { margin: 0 0 16px; font-size: 21px; line-height: 1.35; }
body.corner018-cart-page .cart_totals table { width: 100%; margin: 0; }
body.corner018-cart-page .cart_totals th,
body.corner018-cart-page .cart_totals td { padding: 12px 0 !important; font-size: 14px !important; }
body.corner018-cart-page .cart_totals th { text-align: left; }
body.corner018-cart-page .cart_totals td { text-align: right; }
body.corner018-cart-page .cart_totals .order-total th,
body.corner018-cart-page .cart_totals .order-total td { font-size: 18px !important; }
body.corner018-cart-page .cart_totals .wc-proceed-to-checkout { padding: 16px 0 0; }
body.corner018-cart-page .checkout-button,
body.corner018-cart-page .cart__empty__page > a {
  min-height: 46px;
  margin: 0 !important;
  padding: 12px 18px !important;
  background: var(--corner018-accent) !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  text-transform: none;
}
body.corner018-cart-page .checkout-button:hover,
body.corner018-cart-page .cart__empty__page > a:hover { background: var(--corner018-hover) !important; }
body.corner018-cart-page .cart__empty__page {
  margin: 24px auto 32px;
  padding: 16px 24px;
  max-width: 640px;
}
body.corner018-cart-page .cart__empty__page-img img { max-width: 140px; max-height: 140px; margin: 0 auto 16px; object-fit: contain; }
body.corner018-cart-page .cart__empty__page h1 { font-size: 28px; line-height: 1.3; margin: 0 0 10px; }
body.corner018-cart-page .cart__empty__page p { margin: 0 0 20px; font-size: 15px; }
/* Checkout: native field types and WooCommerce validation remain intact. */
body.corner018-checkout-page .corner018-checkout { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
body.corner018-checkout-page .corner018-checkout .cart__header { margin-inline: -24px !important; }
body.corner018-checkout-page .corner018-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px 32px;
  align-items: start;
  max-width: none;
  margin: 0 !important;
}
body.corner018-checkout-page .corner018-checkout .checkout-column {
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
}
body.corner018-checkout-page .corner018-checkout .checkout-column-payment {
  position: static;
  width: auto !important;
  padding: 22px !important;
  border: 1px solid var(--corner018-line);
  border-radius: 14px !important;
  background: var(--corner018-paper) !important;
}
body.corner018-checkout-page .corner018-checkout h3,
body.corner018-checkout-page .corner018-checkout #order_review_heading {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}
body.corner018-checkout-page .corner018-checkout #customer_details,
body.corner018-checkout-page .corner018-checkout #customer_details > :is(.col-1, .col-2) {
  float: none;
  width: 100%;
  padding: 0;
  margin: 0;
}
body.corner018-checkout-page .corner018-checkout .woocommerce-billing-fields__field-wrapper,
body.corner018-checkout-page .corner018-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
body.corner018-checkout-page .corner018-checkout .form-row {
  float: none !important;
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
}
body.corner018-checkout-page .corner018-checkout .form-row-wide { grid-column: 1 / -1; }
body.corner018-checkout-page .corner018-checkout :is(#billing_city_field, #billing_state_field, #billing_postcode_field, #billing_phone_field, #shipping_city_field, #shipping_state_field, #shipping_postcode_field, #shipping_phone_field) {
  grid-column: auto;
}
body.corner018-checkout-page .corner018-checkout .form-row label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--corner018-ink);
}
body.corner018-checkout-page .corner018-checkout .form-row label .optional { color: var(--corner018-muted); font-size: 12px; }
body.corner018-checkout-page .corner018-checkout .woocommerce-input-wrapper { display: block; width: 100%; }
body.corner018-checkout-page .corner018-checkout .form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.corner018-checkout-page .corner018-checkout .form-row select,
body.corner018-checkout-page .corner018-checkout .form-row textarea,
body.corner018-checkout-page .corner018-checkout #coupon_code {
  box-sizing: border-box;
  width: 100% !important;
  height: 44px !important;
  min-width: 0;
  padding: 10px 12px !important;
  border: 1px solid #cfc5b9 !important;
  border-radius: 8px !important;
  box-shadow: none;
  background: #fff !important;
  color: var(--corner018-ink) !important;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
body.corner018-checkout-page .corner018-checkout .form-row textarea {
  height: auto !important;
  min-height: 96px;
  max-height: 320px;
  resize: vertical;
}
body.corner018-checkout-page .corner018-checkout .form-row input:focus,
body.corner018-checkout-page .corner018-checkout .form-row textarea:focus,
body.corner018-checkout-page .corner018-checkout .form-row select:focus {
  outline: 2px solid var(--corner018-accent);
  outline-offset: 2px;
}
body.corner018-checkout-page .corner018-checkout .form-row input:is([type="checkbox"], [type="radio"]) {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  padding: 0 !important;
  margin: 3px 8px 0 0 !important;
  border-radius: 3px;
  appearance: auto;
  accent-color: var(--corner018-accent);
  vertical-align: top;
}
body.corner018-checkout-page .corner018-checkout .form-row label.checkbox,
body.corner018-checkout-page .corner018-checkout .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; }
body.corner018-checkout-page .corner018-checkout .woocommerce-invalid input,
body.corner018-checkout-page .corner018-checkout .woocommerce-invalid select,
body.corner018-checkout-page .corner018-checkout .woocommerce-invalid .select2-selection { border-color: #ae3226 !important; }
body.corner018-checkout-page .corner018-checkout .woocommerce-shipping-fields,
body.corner018-checkout-page .corner018-checkout .woocommerce-additional-fields { margin-top: 24px; }
body.corner018-checkout-page .corner018-checkout .woocommerce-shipping-fields:empty { display: none; }
body.corner018-checkout-page .corner018-checkout #ship-to-different-address { font-size: 16px; }
body.corner018-checkout-page .corner018-checkout .select2-container { width: 100% !important; }
body.corner018-checkout-page .corner018-checkout .select2-container .select2-selection--single {
  height: 44px;
  border: 1px solid #cfc5b9;
  border-radius: 8px;
  background: #fff;
}
body.corner018-checkout-page .corner018-checkout .select2-container .select2-selection__rendered { padding-left: 12px; line-height: 42px; font-size: 16px; }
body.corner018-checkout-page .corner018-checkout .select2-container .select2-selection__arrow { height: 42px; right: 8px; }
body.corner018-checkout-page .select2-dropdown { border-color: #cfc5b9; font-size: 15px; }
body.corner018-checkout-page .select2-results__option--highlighted[aria-selected] { background: var(--corner018-accent); }
body.corner018-checkout-page .corner018-checkout .woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; width: 100% !important; margin: 0; }
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  border: 0;
  background: transparent;
  margin: 0;
}
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table th,
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table td {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--corner018-line);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.45;
  background: transparent;
}
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table th { font-weight: 600; text-align: left; }
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table th.product-total,
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table td.product-total,
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; padding-left: 12px; }
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table tbody .product-name { width: 100%; }
body.corner018-checkout-page .corner018-review-item {
  display: grid;
  grid-template-columns: 24px 48px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  align-items: start;
}
body.corner018-checkout-page .corner018-review-item .product-remove a.remove {
  display: flex;
  width: 24px;
  height: 32px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  background: transparent;
  color: var(--corner018-muted) !important;
}
body.corner018-checkout-page .corner018-review-item .product-thumbnail img {
  display: block;
  width: 48px;
  height: 58px;
  object-fit: contain;
  border-radius: 5px;
}
body.corner018-checkout-page .corner018-review-item .product-name-col { min-width: 0; overflow-wrap: anywhere; }
body.corner018-checkout-page .corner018-review-item .product-name-col > a { display: block; font-size: 13px; line-height: 1.45; }
body.corner018-checkout-page .corner018-review-item .product-card__counter { margin-top: 8px; }
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table .order-total th,
body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table .order-total td { font-size: 18px; font-weight: 600; }
body.corner018-checkout-page .corner018-checkout #payment,
body.corner018-checkout-page .corner018-checkout #payment .payment-wrapper {
  padding: 0 !important;
  margin: 24px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
}
body.corner018-checkout-page .corner018-checkout #payment .payment-wrapper { margin: 0; }
body.corner018-checkout-page .corner018-checkout #payment h3 { font-size: 18px; margin: 0 0 12px; }
body.corner018-checkout-page .corner018-checkout #payment ul.payment_methods { padding: 0 0 16px; border-color: var(--corner018-line); }
body.corner018-checkout-page .corner018-checkout #payment ul.payment_methods li { padding: 8px 0; line-height: 1.5; }
body.corner018-checkout-page .corner018-checkout #payment div.payment_box { width: auto; padding: 12px; margin: 10px 0; font-size: 14px; }
body.corner018-checkout-page .corner018-checkout #payment .place-order { padding: 16px 0 0 !important; margin: 0 !important; }
body.corner018-checkout-page .corner018-checkout .woocommerce-privacy-policy-text,
body.corner018-checkout-page .corner018-checkout .woocommerce-terms-and-conditions-wrapper { margin: 0 0 14px; font-size: 13px; line-height: 1.6; }
body.corner018-checkout-page .corner018-checkout .woocommerce-privacy-policy-text p { margin: 0 0 12px; }
body.corner018-checkout-page .corner018-checkout .corner018-ordering-status,
body.corner018-checkout-page .corner018-checkout .corner018-payment-unavailable {
  padding: 14px;
  border: 1px solid var(--corner018-line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
}
body.corner018-checkout-page .corner018-checkout .corner018-ordering-status p,
body.corner018-checkout-page .corner018-checkout .corner018-payment-unavailable p { margin: 0 0 8px; }
body.corner018-checkout-page .corner018-checkout .corner018-ordering-status p:last-child,
body.corner018-checkout-page .corner018-checkout .corner018-payment-unavailable p:last-child { margin-bottom: 0; }
body.corner018-checkout-page .corner018-checkout .corner018-ordering-status a,
body.corner018-checkout-page .corner018-checkout .corner018-payment-unavailable a { color: var(--corner018-hover); text-decoration: underline; overflow-wrap: anywhere; }
body.corner018-checkout-page .corner018-checkout #place_order,
body.corner018-checkout-page .corner018-checkout button[name="apply_coupon"] {
  min-height: 46px;
  padding: 12px 16px !important;
  border: 0;
  border-radius: 10px;
  background: var(--corner018-accent);
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-transform: none;
}
body.corner018-checkout-page .corner018-checkout #place_order { width: 100%; margin: 0; float: none; }
body.corner018-checkout-page .corner018-checkout #place_order:disabled {
  opacity: 1;
  background: #ded4c7;
  color: #574a3d;
  cursor: not-allowed;
}
body.corner018-checkout-page .corner018-checkout .checkout_coupon { padding: 16px; margin: 0 0 20px; border: 1px solid var(--corner018-line); border-radius: 10px; }
body.corner018-checkout-page .corner018-checkout .checkout_coupon > p:first-child { margin: 0 0 12px; font-size: 14px; }
body.corner018-checkout-page .corner018-checkout .checkout_coupon .form-row { display: inline-block; vertical-align: top; max-width: 100%; margin: 0 8px 8px 0 !important; }
@media (max-width: 1050px) {
  body.corner018-cart-page .woocommerce-wrapper { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.corner018-cart-page .cart-collaterals { max-width: 440px; justify-self: end; }
  body.corner018-checkout-page .corner018-checkout form.checkout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.corner018-checkout-page .corner018-checkout .checkout-column-payment { margin: 0; }
  body.corner018-checkout-page .corner018-review-item { grid-template-columns: 24px 64px minmax(0, 1fr); gap: 12px; }
  body.corner018-checkout-page .corner018-review-item .product-thumbnail img { width: 64px; height: 72px; }
}
@media (max-width: 600px) {
  :is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce { margin-bottom: 24px !important; }
  :is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header { margin-bottom: 18px !important; padding: 12px 0 !important; }
  :is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_wrapper { padding-inline: 16px; }
  :is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_breadcrumb { gap: 6px 8px !important; }
  :is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_breadcrumb-item a,
  :is(body.corner018-cart-page, body.corner018-checkout-page) .cart__header_breadcrumb-item span { font-size: 12px !important; }
  :is(body.corner018-cart-page, body.corner018-checkout-page) .woocommerce-notices-wrapper { margin-inline: 16px; }
  body.corner018-cart-page .woocommerce-wrapper { padding-inline: 16px; gap: 20px; }
  body.corner018-cart-page .woocommerce-cart-form thead { display: none; }
  body.corner018-cart-page .woocommerce-cart-form tr.woocommerce-cart-form__cart-item {
    position: relative;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 5px 12px;
    padding: 16px 0;
  }
  body.corner018-cart-page .woocommerce-cart-form .product-thumbnail { grid-row: 1 / 4; }
  body.corner018-cart-page .woocommerce-cart-form .product-thumbnail img { width: 64px; height: 76px; max-width: 64px; }
  body.corner018-cart-page .woocommerce-cart-form td.product-name { padding-right: 30px !important; }
  body.corner018-cart-page .woocommerce-cart-form td.product-name > a { font-size: 14px; }
  body.corner018-cart-page .woocommerce-cart-form td.product-remove { position: absolute; top: 10px; right: -4px; }
  body.corner018-cart-page .woocommerce-cart-form td.product-quantity { grid-column: 2; grid-row: 4; justify-self: start; padding-top: 5px !important; }
  body.corner018-cart-page .woocommerce-cart-form td.product-subtotal { grid-column: 2; grid-row: 5; justify-self: start; text-align: left !important; }
  body.corner018-cart-page .woocommerce-cart-form td.product-subtotal::before { content: attr(data-title) ": "; display: inline; font-weight: 400; }
  body.corner018-cart-page .cart-collaterals { max-width: none; }
  body.corner018-cart-page .cart_totals { padding: 18px; }
  body.corner018-checkout-page .corner018-checkout { padding-inline: 16px; }
  body.corner018-checkout-page .corner018-checkout .cart__header { margin-inline: -16px !important; }
  body.corner018-checkout-page .corner018-checkout .checkout-column-payment { padding: 18px !important; }
  body.corner018-checkout-page .corner018-checkout h3 { font-size: 20px; margin-bottom: 16px; }
  body.corner018-checkout-page .corner018-checkout .woocommerce-billing-fields__field-wrapper,
  body.corner018-checkout-page .corner018-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.corner018-checkout-page .corner018-checkout .form-row { grid-column: 1 / -1; }
  body.corner018-checkout-page .corner018-review-item { grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
  body.corner018-checkout-page .corner018-review-item .product-thumbnail { grid-column: 2; }
  body.corner018-checkout-page .corner018-review-item .product-thumbnail img { width: 48px; height: 54px; }
  body.corner018-checkout-page .corner018-review-item .product-name-col { grid-column: 2; }
  body.corner018-checkout-page .corner018-review-item .product-remove { grid-column: 1; grid-row: 1 / 3; }
  body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table td.product-total { white-space: normal; padding-left: 8px; }
  body.corner018-checkout-page .corner018-checkout .woocommerce-checkout-review-order-table tfoot td { padding-left: 8px; }
}

/* Keep native hidden action fields from creating a blank table row. */
body.corner018-cart-page .woocommerce-cart-form td.actions { padding: 0 !important; border: 0 !important; }
body.corner018-checkout-page .corner018-checkout input.woocommerce-form__input-checkbox,
body.corner018-checkout-page .corner018-checkout #payment input[type="radio"] {
  width: 18px !important; height: 18px !important; padding: 0 !important;
  margin: 3px 8px 0 0 !important; appearance: auto;
  accent-color: var(--corner018-accent); vertical-align: top;
}
body.corner018-checkout-page .corner018-checkout .corner018-ordering-disabled {
  display: block; width: 100%; min-height: 46px; padding: 12px 16px;
  margin-top: 14px; border: 0; border-radius: 10px;
  background: #ded4c7; color: #574a3d; opacity: 1;
  font-size: 15px; line-height: 1.4; cursor: not-allowed;
}
body.corner018-checkout-page .corner018-checkout .corner018-policy-links {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px;
  font-size: 13px; line-height: 1.5;
}
body.corner018-checkout-page .corner018-checkout .corner018-policy-links a {
  color: var(--corner018-hover); text-decoration: underline;
}

/* The old cart template hides the drawer even when the header opens it. */
body.corner018-cart-page .cart__aside { display: flex !important; }

/* Corner019: native order confirmation, details and addresses only. */
.corner019-order {
  --corner018-ink: var(--corner-ink, #242424);
  --corner018-muted: #69645e;
  --corner018-line: #e8dfd5;
  --corner018-paper: var(--corner-paper, #f5f0e9);
  --corner018-accent: var(--corner-primary, #8f6843);
  --corner018-hover: var(--corner-hover, #65452a);
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto 36px;
  padding: 0 24px;
  color: var(--corner018-ink);
  font-size: 15px;
  line-height: 1.6;
}
.corner019-order *, .corner019-order *::before, .corner019-order *::after { box-sizing: border-box; }
.corner019-order .cart__header {
  margin: 8px -24px 24px !important;
  padding: 14px 0 !important;
  background: var(--corner018-paper);
}
.corner019-order .cart__header_wrapper { max-width: 1280px; padding-inline: 24px; }
.corner019-order .cart__header_breadcrumb { flex-wrap: wrap; gap: 8px 12px; }
.corner019-order .cart__header_breadcrumb-item { min-width: 0; max-width: 100%; }
.corner019-order .cart__header_breadcrumb-item :is(a, span) { font-size: 14px; line-height: 1.5; white-space: normal; }
.corner019-order .woocommerce-order { width: 100%; min-width: 0; }
.corner019-order .woocommerce-order > p { margin: 0 0 16px; }
.corner019-order .woocommerce-notice { padding: 16px 20px; border-radius: 12px; }
.corner019-order .woocommerce-thankyou-order-received {
  background: var(--corner018-paper);
  border-left: 3px solid var(--corner018-accent);
  font-size: 17px;
  font-weight: 600;
}
.corner019-order .woocommerce-notice--error { background: #fff3f1; color: #79271f; border-left: 3px solid #ae3226; }
.corner019-order a { color: var(--corner018-hover); text-decoration: underline; text-underline-offset: 3px; }
.corner019-order :is(a, button):focus-visible { outline: 2px solid var(--corner018-accent); outline-offset: 3px; }
.corner019-order ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.corner019-order ul.woocommerce-order-overview::before,
.corner019-order ul.woocommerce-order-overview::after { display: none; }
.corner019-order ul.woocommerce-order-overview li {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--corner018-line);
  border-radius: 12px;
  background: #fff;
  color: var(--corner018-muted);
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
  overflow-wrap: anywhere;
}
.corner019-order ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 6px;
  color: var(--corner018-ink);
  font-size: 17px;
  line-height: 1.45;
}
.corner019-order :is(.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-order-downloads) {
  min-width: 0;
  margin: 24px 0 0;
  padding: 24px;
  border: 1px solid var(--corner018-line);
  border-radius: 14px;
  background: #fff;
}
.corner019-order :is(h2, h3) { margin: 0 0 16px; color: var(--corner018-ink); font-size: 21px; font-weight: 600; line-height: 1.4; }
.corner019-order table.shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-spacing: 0; table-layout: auto; }
.corner019-order table.shop_table :is(th, td) {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--corner018-line);
  background: transparent;
  color: var(--corner018-ink);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.corner019-order table.shop_table th { font-weight: 600; }
.corner019-order table.shop_table .product-name { width: 68%; padding-right: 18px; }
.corner019-order table.shop_table .product-total,
.corner019-order table.shop_table tfoot td { padding-left: 18px; text-align: right; }
.corner019-order table.shop_table .amount { white-space: nowrap; }
.corner019-order table.shop_table tfoot tr:last-child :is(th, td) { padding-bottom: 0; border-bottom: 0; font-size: 16px; font-weight: 600; }
.corner019-order .wc-item-meta { margin: 8px 0 0; padding: 0; list-style: none; color: var(--corner018-muted); font-size: 13px; }
.corner019-order .wc-item-meta li { margin: 0 0 4px; }
.corner019-order .wc-item-meta p { display: inline; margin: 0; }
.corner019-order .woocommerce-customer-details .addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 0;
}
.corner019-order .woocommerce-customer-details .addresses::before,
.corner019-order .woocommerce-customer-details .addresses::after { display: none; }
.corner019-order .woocommerce-customer-details .addresses :is(.col-1, .col-2) { float: none; width: auto; min-width: 0; margin: 0; }
.corner019-order .woocommerce-customer-details address {
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  background: var(--corner018-paper);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.corner019-order .woocommerce-customer-details address p { margin: 8px 0 0; }
.corner019-order .order-again { margin: 20px 0 0; }
.corner019-order .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--corner018-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.corner019-order .button:hover { background: var(--corner018-hover); color: #fff; }
@media (max-width: 600px) {
  .corner019-order { margin-bottom: 24px; padding-inline: 16px; font-size: 14px; }
  .corner019-order .cart__header { margin: 8px -16px 18px !important; padding: 12px 0 !important; }
  .corner019-order .cart__header_wrapper { padding-inline: 16px; }
  .corner019-order .cart__header_breadcrumb { gap: 6px 8px; }
  .corner019-order .cart__header_breadcrumb-item :is(a, span) { font-size: 12px; }
  .corner019-order ul.woocommerce-order-overview { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 20px; }
  .corner019-order ul.woocommerce-order-overview li { padding: 12px 16px; }
  .corner019-order ul.woocommerce-order-overview li strong { margin-top: 4px; font-size: 16px; }
  .corner019-order :is(.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-order-downloads) { margin-top: 20px; padding: 18px; }
  .corner019-order :is(h2, h3) { margin-bottom: 14px; font-size: 19px; }
  .corner019-order .woocommerce-customer-details .addresses { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .corner019-order table.shop_table :is(th, td) { padding-block: 10px; font-size: 13px; }
  .corner019-order table.shop_table .product-name { width: auto; padding-right: 12px; }
  .corner019-order table.shop_table .product-total,
  .corner019-order table.shop_table tfoot td { padding-left: 12px; }
  .corner019-order table.shop_table tfoot tr:last-child :is(th, td) { font-size: 15px; }
  .corner019-order .woocommerce-notice { padding: 14px 16px; }
  .corner019-order .woocommerce-thankyou-order-received { font-size: 16px; }
}
