.mriya-commerce-placeholder {
  width: min(var(--container), calc(100% - 48px));
  min-height: 60vh;
  margin: 48px auto;
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mriya-commerce-placeholder__status {
  display: flex;
  align-items: flex-start;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 12px 16px;
  border: 1px solid #e6b800;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.mriya-commerce-placeholder__status strong {
  flex: 0 0 auto;
  font-weight: 800;
}

.mriya-commerce-placeholder__status span {
  flex: 1 1 480px;
}

.header-buy {
  text-decoration: none;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.wc-block-components-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  background: var(--yellow);
  color: #000;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
  background: #ffd633;
  color: #000;
}

.woocommerce .button:active,
.woocommerce button.button:active,
.wc-block-components-button:active {
  transform: translateY(1px);
}

.woocommerce .button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce input.button:focus-visible,
.wc-block-components-button:focus-visible,
.mriya-commerce-placeholder a:focus-visible,
.mriya-commerce-placeholder input:focus-visible,
.mriya-commerce-placeholder select:focus-visible,
.mriya-commerce-placeholder textarea:focus-visible {
  outline: 3px solid var(--blue-100);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--blue-800);
}

.woocommerce .button:disabled,
.woocommerce button.button:disabled,
.wc-block-components-button:disabled,
.wc-block-components-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.woocommerce form.processing,
.wc-block-checkout.is-loading,
.wp-block-woocommerce-cart.is-loading {
  cursor: progress;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-select .wc-block-components-select__select,
.mriya-commerce-placeholder select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9dfe5;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.wc-block-components-text-input.has-error input {
  border-color: #b42318;
}

.woocommerce form .form-row label,
.wc-block-components-text-input label,
.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label {
  color: var(--ink);
  font-weight: 600;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.wc-block-components-notice-banner {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-700);
  border-radius: 8px;
  background: #f7fcfd;
  color: var(--ink);
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
  border-left-color: #b42318;
}

.woocommerce-message,
.wc-block-components-notice-banner.is-success {
  border-left-color: #28843f;
}

.mriya-commerce-placeholder div.product {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.mriya-commerce-placeholder div.product .woocommerce-product-gallery,
.mriya-commerce-placeholder div.product .summary {
  width: auto;
  margin: 0;
  float: none;
}

.woocommerce .mriya-commerce-placeholder div.product div.images,
.woocommerce .mriya-commerce-placeholder div.product div.summary {
  width: 100%;
  margin: 0;
  float: none;
}

.mriya-commerce-placeholder .woocommerce-product-gallery__wrapper {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-100);
}

.mriya-commerce-placeholder .woocommerce-product-gallery__image {
  display: grid;
  min-height: 460px;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
}

.mriya-commerce-placeholder .woocommerce-product-gallery__image img,
.mriya-commerce-placeholder .woocommerce-product-gallery__image--placeholder img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.mriya-commerce-placeholder .product_title {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-family: "Bona Nova", serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.mriya-commerce-placeholder .summary .price {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
}

.woocommerce .mriya-commerce-placeholder div.product .summary p.price,
.woocommerce .mriya-commerce-placeholder div.product .summary span.price {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
}

.mriya-commerce-placeholder .woocommerce-product-details__short-description {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fcfd;
  line-height: 1.55;
}

.woocommerce div.product form.cart .variations {
  margin-bottom: 18px;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.woocommerce div.product form.cart .variations label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.woocommerce div.product form.cart .variations select {
  margin: 0 0 8px;
}

.mriya-demo-product-page form.variations_form table.variations {
  height: 0;
  margin: 0;
}

.mriya-demo-product-page .mriya-variation-native-row {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mriya-variation-picker {
  margin: 0 0 18px;
}

.mriya-variation-picker__label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.mriya-variation-picker__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mriya-variation-tile {
  position: relative;
  display: grid;
  min-height: 100px;
  align-content: center;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: var(--mriya-radius-lg);
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mriya-variation-tile::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 4px var(--white);
}

.mriya-variation-tile:hover {
  border-color: var(--blue-700);
  background: #f7fcfd;
}

.mriya-variation-tile.is-selected {
  border-color: var(--mriya-color-border-strong);
  background: var(--mriya-color-bg-brand-subtle);
  box-shadow: 0 0 0 1px var(--mriya-color-border-strong);
}

.mriya-variation-tile.is-selected::after {
  border-color: var(--blue-800);
  background: var(--blue-800);
}

.mriya-variation-tile__title {
  color: var(--blue-900);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1;
}

.mriya-variation-tile__meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.mriya-variation-tile:focus-visible {
  outline: 0;
  box-shadow: var(--mriya-focus-ring);
}

.mriya-demo-product-page form.variations_form .single_variation_wrap .quantity {
  display: none !important;
}

.mriya-demo-product-page form.variations_form .single_add_to_cart_button[aria-busy="true"] {
  cursor: progress;
  opacity: 0.72;
}

.woocommerce div.product form.cart .reset_variations {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue-800);
}

.woocommerce-variation-description {
  color: var(--muted);
  font-size: 14px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  width: 100%;
  min-height: 54px;
}

.woocommerce .mriya-commerce-placeholder div.product form.cart .button.alt {
  background: var(--yellow);
  color: #000;
}

.woocommerce .mriya-commerce-placeholder div.product form.cart .button.alt:hover {
  background: #ffd633;
  color: #000;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
  grid-column: 1 / -1;
  width: 100%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #f7fcfd;
}

.woocommerce div.product .woocommerce-tabs .panel {
  line-height: 1.65;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  color: var(--ink);
}

.wc-block-cart__main,
.wc-block-cart__sidebar,
.wc-block-checkout__main,
.wc-block-checkout__sidebar {
  min-width: 0;
}

.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  padding-left: 0;
  padding-right: 0;
}

.wc-block-components-order-summary,
.wc-block-components-totals-wrapper,
.wc-block-checkout__payment-method,
.wc-block-checkout__order-fields,
.wc-block-checkout__additional-fields,
.wc-block-checkout__order-notes {
  border-color: var(--line);
}

.wc-block-components-product-name,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  color: var(--ink);
}

.wc-block-components-radio-control-accordion-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fcfd;
}

.wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option {
  margin-top: 10px;
}

.mriya-demo-gateway-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.woocommerce-order {
  line-height: 1.55;
}

.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 0;
}

.woocommerce-order-overview li {
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background: #f7fcfd;
}

/* Successful order confirmation: native order data, MRIYA presentation. */
body.mriya-order-received-page {
  background: var(--paper);
}

.mriya-order-received-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 56px auto 80px;
}

.mriya-order-received {
  max-width: 1100px;
  margin: 0 auto;
}

.mriya-order-received__hero {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 680px;
}

.mriya-order-received__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 1px solid var(--mriya-blue-300);
  border-radius: 50%;
  background: var(--mriya-blue-100);
  color: var(--mriya-blue-800);
  font-size: 30px;
  font-weight: 800;
}

.mriya-order-received h1 {
  margin: 0;
  color: var(--mriya-blue-900);
  font-family: var(--mriya-font-display, "Bona Nova", serif);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
}

.mriya-order-received__hero > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.mriya-order-received__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.mriya-order-received__card {
  padding: 24px;
  border: 1px solid var(--mriya-color-border-subtle);
  border-radius: var(--mriya-radius-xl, 16px);
  background: var(--paper);
  box-shadow: var(--mriya-shadow-card, 0 6px 18px rgba(10, 48, 80, 0.08));
}

.mriya-order-received__card h2 {
  margin: 0 0 20px;
  color: var(--mriya-blue-900);
  font-size: 24px;
  line-height: 1.2;
}

.mriya-order-received__card--delivery {
  align-self: stretch;
}

.mriya-order-received__facts,
.mriya-order-received__delivery {
  display: grid;
  gap: 0;
  margin: 0;
}

.mriya-order-received__facts > div,
.mriya-order-received__delivery > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--mriya-color-border-subtle);
}

.mriya-order-received__delivery .mriya-order-received__destination {
  display: block;
  padding: 16px;
  border: 1px solid var(--mriya-color-border-subtle);
  border-radius: var(--mriya-radius-md, 12px);
  background: var(--mriya-blue-100);
}

.mriya-order-received__destination dt {
  margin-bottom: 7px;
  color: var(--mriya-color-text-brand);
  font-size: 13px;
  font-weight: 800;
}

.mriya-order-received__delivery .mriya-order-received__destination dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: left;
}

.mriya-order-received__facts dt,
.mriya-order-received__delivery dt {
  color: var(--muted);
}

.mriya-order-received__facts dd,
.mriya-order-received__delivery dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.mriya-order-received__items {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--mriya-color-border-subtle);
  list-style: none;
}

.mriya-order-received__items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.mriya-order-received__items span {
  color: var(--ink);
}

.mriya-order-received__items small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.mriya-order-received__next-step {
  margin: 20px 0;
  border-left: 3px solid var(--mriya-blue-600);
  padding: 4px 0 4px 14px;
  color: var(--muted);
  line-height: 1.5;
}

.mriya-order-received__next-step strong {
  color: var(--mriya-blue-900);
}

.mriya-order-received__next-step p {
  margin: 5px 0 0;
}

.mriya-order-received__return {
  width: 100%;
  justify-content: center;
  border-color: var(--mriya-blue-700);
  background: transparent;
  color: var(--mriya-blue-800);
}

.mriya-order-received__return:hover {
  border-color: var(--mriya-blue-800);
  background: var(--mriya-blue-100);
  color: var(--mriya-blue-900);
}

.mriya-order-received__return:focus-visible {
  outline: 3px solid var(--mriya-blue-500);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .mriya-order-received-shell {
    width: min(var(--container), calc(100% - 32px));
    margin: 36px auto 56px;
  }

  .mriya-order-received__grid {
    grid-template-columns: 1fr;
  }

  .mriya-order-received__card {
    padding: 20px;
  }
}

body.mriya-cart-page {
  background: var(--paper);
}

.mriya-cart-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 44px auto 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mriya-cart-page__status {
  margin-bottom: 24px;
}

.mriya-cart-page__intro {
  margin-bottom: 32px;
}

.mriya-cart-page__eyebrow {
  margin: 0 0 8px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mriya-cart-page__intro h1 {
  margin: 0;
  color: var(--blue-900);
  font-family: var(--mriya-font-ui);
  font-size: clamp(40px, 3vw, 48px);
  font-weight: 800;
  line-height: var(--mriya-line-heading);
}

.mriya-cart-page__intro > p:last-child {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.mriya-cart-shell .wp-block-woocommerce-cart {
  margin: 0;
  color: var(--ink);
}

.mriya-cart-shell .wc-block-components-sidebar-layout {
  align-items: flex-start;
  gap: 32px;
}

.mriya-cart-shell .wc-block-cart .wc-block-components-main,
.mriya-cart-shell .wc-block-cart__main {
  width: calc(65% - 16px);
  padding-right: 0;
}

.mriya-cart-shell .wc-block-cart .wc-block-components-sidebar,
.mriya-cart-shell .wc-block-cart__sidebar {
  width: calc(35% - 16px);
  margin-left: 0;
}

.mriya-cart-shell .wc-block-cart-items {
  margin: -12px 0 0;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.mriya-cart-shell .wc-block-cart-items thead th {
  border: 0;
  padding: 0 16px 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mriya-cart-shell .wc-block-cart-items__row td {
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  padding-top: 24px;
  padding-bottom: 24px;
  background: var(--white);
  vertical-align: top;
}

.mriya-cart-shell .wc-block-cart-items__row td:first-child {
  border-left: 1px solid var(--line) !important;
  border-radius: var(--radius) 0 0 var(--radius);
  padding-left: 22px;
}

.mriya-cart-shell .wc-block-cart-items__row td:last-child {
  border-right: 1px solid var(--line) !important;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding-right: 22px;
}

.mriya-cart-shell .wc-block-cart-item__image {
  width: 136px;
}

.mriya-cart-shell .wc-block-cart-item__image img {
  width: 112px;
  max-width: 112px;
  height: 112px;
  border-radius: 10px;
  padding: 10px;
  background: var(--blue-100);
  object-fit: contain;
}

.mriya-cart-shell .wc-block-cart-item__product {
  padding-right: 20px;
}

.mriya-cart-shell .wc-block-components-product-name {
  color: var(--blue-900);
  font-size: clamp(19px, 1.6vw, 24px) !important;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.mriya-cart-shell .wc-block-components-product-name:hover {
  color: var(--blue-700);
}

.mriya-cart-shell .wc-block-cart-item__prices {
  margin-top: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.mriya-cart-shell .wc-block-components-product-metadata {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.mriya-cart-shell .wc-block-components-product-metadata__description p {
  margin: 0 0 8px;
}

.mriya-cart-shell .wc-block-components-product-details {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 700;
}

.mriya-cart-item__tools {
  display: flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.mriya-cart-item__fixed-quantity {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 10px;
  background: #f7fcfd;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.mriya-cart-item__configure {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.mriya-cart-item__configure:hover {
  color: var(--blue-700);
}

.mriya-cart-shell .mriya-cart-item--gift td {
  border-color: var(--blue-200) !important;
  background: var(--blue-100);
}

.mriya-cart-shell .mriya-cart-item--gift .wc-block-cart-item__image img {
  background: var(--white);
}

.mriya-cart-shell .mriya-cart-item--gift .wc-block-components-product-name {
  color: var(--blue-900);
}

.mriya-cart-shell .mriya-cart-item--gift .wc-block-cart-item__quantity,
.mriya-cart-shell .mriya-cart-item--gift .wc-block-cart-item__remove-link {
  display: none !important;
}

.mriya-cart-shell .mriya-cart-item--gift .mriya-cart-item__fixed-quantity {
  border-color: var(--blue-200);
  background: var(--white);
  color: var(--blue-900);
}

.mriya-cart-item__choose-sieve {
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mriya-cart-item__choose-sieve:hover {
  color: var(--blue-700);
}

.mriya-cart-item__choose-sieve:focus-visible {
  outline: 3px solid var(--blue-100);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--blue-800);
}

.mriya-cart-shell .wc-block-cart-item__quantity {
  margin-top: 10px;
}

.mriya-cart-shell .wc-block-components-quantity-selector {
  min-height: 44px;
  border-color: var(--line);
  border-radius: 8px;
}

.mriya-cart-shell .wc-block-components-quantity-selector__button {
  min-width: 44px;
  min-height: 44px;
  color: var(--blue-900);
}

.mriya-cart-shell button.wc-block-cart-item__remove-link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-900);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.mriya-cart-shell button.wc-block-cart-item__remove-link:hover {
  border-color: var(--blue-700);
  background: var(--blue-100);
  color: var(--blue-900);
}

.mriya-cart-shell .wc-block-cart-item__total {
  min-width: 156px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-align: right;
}

.mriya-cart-item__total-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mriya-cart-shell .wc-block-cart-item__total-price-and-sale-badge-wrapper {
  display: flex;
  justify-content: flex-end;
}

.mriya-cart-summary {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border: 1px solid var(--mriya-color-border-subtle);
  border-radius: var(--mriya-radius-xl);
  padding: 26px;
  background: var(--mriya-color-bg-surface);
  box-shadow: var(--mriya-shadow-200);
}

.mriya-cart-summary .wc-block-cart__totals-title {
  margin: 0;
  border: 0;
  padding: 0 0 14px;
  color: var(--blue-900);
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
}

.mriya-cart-summary .wp-block-woocommerce-cart-order-summary-coupon-form-block,
.mriya-cart-summary .wc-block-components-totals-coupon,
.mriya-cart-summary .wp-block-woocommerce-cart-order-summary-totals-block {
  display: none !important;
}

.mriya-cart-summary .wc-block-components-totals-wrapper {
  border-color: var(--line);
  padding-right: 0;
  padding-left: 0;
}

.mriya-cart-summary .wp-block-woocommerce-cart-order-summary-shipping-block {
  display: none;
}

.mriya-cart-summary .wc-block-components-totals-footer-item {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.mriya-cart-summary .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.mriya-cart-summary .wc-block-cart__submit {
  margin: 0;
  padding-top: 14px;
}

.mriya-cart-summary__delivery {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f7fcfd;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.mriya-cart-summary__delivery::before {
  display: none;
  content: none;
}

.mriya-cart-summary__delivery img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.mriya-cart-summary .wc-block-cart__submit-button {
  width: 100%;
  min-height: var(--mriya-control-height-lg);
  border-radius: var(--mriya-radius-md);
  background: var(--mriya-color-action-primary);
  color: var(--mriya-color-action-primary-text);
  font-family: var(--mriya-font-ui);
  font-size: var(--mriya-font-size-300);
  font-weight: 800;
  line-height: 1.5;
}

.mriya-cart-summary .wc-block-cart__submit-button:hover {
  background: #ffd633;
  color: var(--ink);
}

.mriya-cart-summary__continue {
  display: inline-flex;
  width: 100%;
  min-height: var(--mriya-control-height-md);
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px solid var(--mriya-color-border-strong);
  border-radius: var(--mriya-radius-md);
  background: var(--mriya-color-bg-surface);
  color: var(--mriya-color-text-brand);
  font-family: var(--mriya-font-ui);
  font-size: var(--mriya-font-size-300);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

@media (min-width: 901px) {
  .mriya-cart-shell .mriya-cart-summary {
    padding: 24px !important;
  }

  .mriya-cart-summary .wp-block-woocommerce-cart-order-summary-block {
    margin: 0 0 2px;
  }

  .mriya-cart-summary > .wc-block-cart__payment-options {
    margin: 0;
  }

  .mriya-cart-summary .wc-block-components-totals-footer-item {
    gap: 16px;
  }

  .mriya-cart-summary .wc-block-cart__submit-button,
  .mriya-cart-summary__continue {
    width: 100%;
  }
}

.mriya-cart-summary__continue:hover {
  background: var(--blue-100);
  color: var(--blue-900);
}

.mriya-cart-summary__continue:active {
  transform: translateY(1px);
}

.mriya-cart-item__configure:focus-visible,
.mriya-cart-summary__continue:focus-visible,
.mriya-cart-empty__link:focus-visible,
.mriya-cart-shell .wc-block-cart-item__remove-link:focus-visible,
.mriya-cart-shell .wc-block-components-quantity-selector__button:focus-visible {
  outline: 3px solid var(--blue-100);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--blue-800);
}

.mriya-cart-block.is-loading {
  min-height: 360px;
  cursor: progress;
}

.mriya-cart-block.is-loading .wc-block-cart-items__row td {
  background: #f7fcfd;
}

.mriya-cart-shell .wc-block-components-notice-banner,
.mriya-cart-shell .wc-block-components-validation-error {
  border-radius: 8px;
  color: var(--ink);
}

.mriya-cart-shell .wp-block-woocommerce-empty-cart-block {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(44px, 8vw, 88px) 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.mriya-cart-shell .wc-block-cart__empty-cart__title {
  margin: 0;
  color: var(--blue-900);
  font-family: "Bona Nova", serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.mriya-cart-empty__copy {
  max-width: 480px;
  margin: 16px auto 22px;
  color: var(--muted);
  line-height: 1.6;
}

.mriya-cart-empty__link {
  display: inline-flex;
  width: auto !important;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.mriya-cart-empty__link:hover {
  background: #ffd633;
  color: var(--ink);
}

.mriya-cart-shell .wp-block-woocommerce-empty-cart-block > .wp-block-separator,
.mriya-cart-shell .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title),
.mriya-cart-shell .wp-block-woocommerce-empty-cart-block > .wc-block-grid {
  display: none;
}

@media (max-width: 1024px) {
  .mriya-commerce-placeholder {
    width: min(var(--container), calc(100% - 32px));
    margin: 32px auto;
  }

  .mriya-commerce-placeholder div.product {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
    gap: 32px;
  }

  .mriya-commerce-placeholder .woocommerce-product-gallery__image {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .mriya-commerce-placeholder {
    width: calc(100% - 24px);
    margin: 20px auto;
    padding: 20px;
  }

  .mriya-commerce-placeholder div.product {
    display: block;
  }

  .mriya-commerce-placeholder div.product .summary {
    margin-top: 28px;
  }

  .mriya-commerce-placeholder .woocommerce-product-gallery__image {
    min-height: 300px;
    padding: 24px;
  }

  .mriya-commerce-placeholder .product_title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .wc-block-components-sidebar-layout {
    display: block;
  }

  .wc-block-cart__sidebar,
  .wc-block-checkout__sidebar {
    margin-top: 28px;
  }

}

@media (max-width: 420px) {
  .mriya-commerce-placeholder {
    width: calc(100% - 16px);
    margin: 12px auto;
    padding: 16px;
    border-radius: 10px;
  }

  .mriya-commerce-placeholder__status {
    margin-bottom: 20px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .mriya-commerce-placeholder .woocommerce-product-gallery__image {
    min-height: 250px;
    padding: 18px;
  }

  .woocommerce .button,
  .woocommerce button.button,
  .woocommerce a.button,
  .wc-block-components-button {
    width: 100%;
  }

  .mriya-variation-picker__tiles {
    gap: 8px;
  }

  .mriya-variation-tile {
    min-height: 88px;
    padding: 14px;
  }

  .mriya-variation-tile::after {
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
  }

}

@media (max-width: 1024px) {
  .mriya-cart-shell .wc-block-components-sidebar-layout {
    gap: 22px;
  }

  .mriya-cart-shell .wc-block-cart .wc-block-components-main,
  .mriya-cart-shell .wc-block-cart__main {
    width: calc(62% - 11px);
  }

  .mriya-cart-shell .wc-block-cart .wc-block-components-sidebar,
  .mriya-cart-shell .wc-block-cart__sidebar {
    width: calc(38% - 11px);
  }

  .mriya-cart-shell .wc-block-cart-item__image {
    width: 112px;
  }

  .mriya-cart-shell .wc-block-cart-item__image img {
    width: 92px;
    height: 92px;
  }

  .mriya-cart-summary {
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .mriya-cart-shell .wc-block-components-sidebar-layout {
    display: block;
  }

  .mriya-cart-shell .wc-block-cart .wc-block-components-main,
  .mriya-cart-shell .wc-block-cart__main,
  .mriya-cart-shell .wc-block-cart .wc-block-components-sidebar,
  .mriya-cart-shell .wc-block-cart__sidebar {
    width: 100%;
  }

  .mriya-cart-summary {
    position: static;
    margin-top: 22px;
  }
}

@media (max-width: 768px) {
  .mriya-cart-shell {
    width: calc(100% - 24px);
    margin: 24px auto 48px;
  }

  .mriya-cart-page__intro {
    margin-bottom: 24px;
  }

  .mriya-cart-page__intro h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .mriya-cart-shell .wc-block-cart-items {
    border-spacing: 0 10px;
  }

  .mriya-cart-shell .wc-block-cart-items__row {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }

  .mriya-cart-shell .wc-block-cart-items__row td,
  .mriya-cart-shell .wc-block-cart-items__row td:first-child,
  .mriya-cart-shell .wc-block-cart-items__row td:last-child {
    border: 0 !important;
    border-radius: 0;
    background: transparent;
  }

  .mriya-cart-shell .wc-block-cart-item__image {
    width: 104px;
    padding: 18px 0 18px 16px !important;
  }

  .mriya-cart-shell .wc-block-cart-item__image img {
    width: 84px;
    height: 84px;
  }

  .mriya-cart-shell .wc-block-cart-item__product {
    padding: 18px 16px !important;
  }

  .mriya-cart-shell .wc-block-cart-item__total {
    min-width: 110px;
    padding: 18px 16px 18px 0 !important;
  }

  .mriya-cart-summary {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .mriya-cart-shell {
    width: calc(100% - 16px);
    margin-top: 16px;
  }

  .mriya-cart-page__status {
    margin-bottom: 18px;
  }

  .mriya-cart-shell .wc-block-cart-items .wc-block-cart-items__row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) !important;
    padding: 14px;
  }

  .mriya-cart-shell .wc-block-cart-items__row td,
  .mriya-cart-shell .wc-block-cart-items__row td:first-child,
  .mriya-cart-shell .wc-block-cart-items__row td:last-child {
    width: auto;
    padding: 0 !important;
  }

  .mriya-cart-shell .wc-block-cart-items__row .wc-block-cart-item__image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start;
  }

  .mriya-cart-shell .wc-block-cart-item__image img {
    width: 74px;
    height: 74px;
  }

  .mriya-cart-shell .wc-block-cart-items__row .wc-block-cart-item__product {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding-left: 12px !important;
  }

  .mriya-cart-shell .wc-block-cart-items__row .wc-block-cart-item__total {
    display: flex;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    border-top: 1px solid var(--line) !important;
    padding-top: 12px !important;
    text-align: right;
  }

  .mriya-cart-item__total-label {
    margin: 0 12px 0 0;
    font-size: 10px;
  }

  .mriya-cart-shell .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    margin-left: auto;
  }

  .mriya-cart-item__tools {
    display: grid;
    justify-items: start;
  }

  .mriya-cart-summary {
    margin-top: 16px;
    padding: 18px 16px;
  }

  .mriya-cart-summary .wc-block-cart__totals-title {
    font-size: 27px;
  }

  .mriya-cart-empty__link {
    width: 100% !important;
  }
}

/* Keep the primary cart action in the summary so it never covers line-item
   controls when several products are present on a small screen. */
@media (max-width: 640px) {
  .mriya-cart-shell .wc-block-cart__submit-container--sticky {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce .button,
  .woocommerce button.button,
  .woocommerce a.button,
  .wc-block-components-button {
    scroll-behavior: auto;
    transition: none;
  }

  .mriya-cart-summary__continue,
  .mriya-cart-shell .wc-block-cart-item__remove-link,
  .mriya-variation-tile,
  .mriya-delivery-choice__tile {
    transition: none;
  }
}

/* Purchase-flow cleanup: Woo remains functional, but catalog chrome is not shown. */
.mriya-demo-product-page .woocommerce-breadcrumb,
.mriya-demo-product-page .product_meta,
.mriya-demo-product-page .woocommerce-tabs,
.mriya-demo-product-page .reset_variations,
.mriya-cart-page .woocommerce-breadcrumb,
.mriya-checkout-page .woocommerce-breadcrumb,
.mriya-cart-shell .wc-block-components-product-metadata__description,
.mriya-checkout-shell .wc-block-components-product-metadata__description {
  display: none !important;
}

body.mriya-checkout-page {
  background: var(--paper);
}

.mriya-checkout-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 44px auto 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mriya-checkout-page__intro {
  max-width: 760px;
  margin-bottom: 32px;
}

.mriya-checkout-page__eyebrow {
  margin: 0 0 8px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mriya-checkout-page__intro h1 {
  margin: 0;
  color: var(--blue-900);
  font-family: var(--mriya-font-ui);
  font-size: clamp(40px, 3vw, 48px);
  font-weight: 800;
  line-height: var(--mriya-line-heading);
}

.mriya-checkout-page__intro > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.mriya-checkout-block {
  margin: 0;
  color: var(--ink);
}

.mriya-checkout-block .wc-block-components-sidebar-layout {
  align-items: flex-start;
  gap: 32px;
}

.mriya-checkout-block .wc-block-components-main,
.mriya-checkout-block .wc-block-checkout__main {
  width: calc(64% - 16px);
  padding-right: 0;
}

.mriya-checkout-block .wc-block-components-sidebar,
.mriya-checkout-block .wc-block-checkout__sidebar {
  position: sticky;
  top: 104px;
  width: calc(36% - 16px);
  margin-left: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mriya-checkout-block .wc-block-checkout__main > fieldset,
.mriya-checkout-block .wc-block-checkout__main > .wc-block-checkout__payment-method,
.mriya-checkout-block .wc-block-checkout__main > .wc-block-checkout__terms,
.mriya-checkout-block .wc-block-checkout__main > .wc-block-components-checkout-place-order-button {
  margin: 0 0 16px;
}

.mriya-checkout-block .wc-block-checkout__contact-fields,
.mriya-checkout-block .wc-block-checkout__shipping-fields,
.mriya-checkout-block .wc-block-checkout__order-fields,
.mriya-checkout-block .wc-block-checkout__additional-fields,
.mriya-checkout-block .wc-block-checkout__shipping-option,
.mriya-checkout-block .wc-block-checkout__payment-method {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  padding: 24px !important;
  background: var(--white);
}

.mriya-checkout-block .wc-block-components-checkout-step__heading {
  margin: 0 0 20px;
}

.mriya-checkout-block .wc-block-components-checkout-step__title {
  color: var(--blue-900);
  font-family: "Bona Nova", serif;
  font-size: clamp(25px, 2.5vw, 32px);
  line-height: 1.1;
}

.mriya-checkout-block .wc-block-components-checkout-step__container {
  padding: 0;
}

.mriya-checkout-block .wc-block-components-text-input,
.mriya-checkout-block .wc-block-components-combobox,
.mriya-checkout-block .wc-block-components-select {
  margin-top: 14px;
}

.mriya-checkout-block .wc-block-components-text-input input,
.mriya-checkout-block .wc-block-components-combobox input,
.mriya-checkout-block .wc-block-components-select select {
  min-height: 54px;
  border: 1px solid #bdd6dc;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
}

.mriya-checkout-block .wc-block-components-text-input input:focus,
.mriya-checkout-block .wc-block-components-combobox input:focus,
.mriya-checkout-block .wc-block-components-select select:focus {
  border-color: var(--blue-800);
  box-shadow: 0 0 0 2px var(--blue-100);
}

.mriya-checkout-block .mriya-phone-field {
  position: relative;
}

.mriya-checkout-block .mriya-phone-field__country {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding-right: 12px;
  border-right: 1px solid var(--mriya-color-border-subtle);
  color: var(--mriya-color-text-brand);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.mriya-checkout-block .mriya-phone-field input {
  padding-left: 88px !important;
}

.mriya-checkout-block .mriya-phone-field label {
  z-index: 2;
  top: 8px !important;
  left: 84px !important;
  padding: 0 4px;
  transform: none !important;
  background: var(--mriya-color-bg-surface-raised);
  color: var(--mriya-color-text-subdued);
  font-size: 12px !important;
  line-height: 1;
}

.mriya-checkout-block .mriya-phone-field input::placeholder {
  color: var(--mriya-neutral-500);
  opacity: 1;
}

.mriya-phone-field__note {
  display: block;
  margin: 6px 2px 0;
  color: var(--mriya-color-text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.mriya-checkout-block .mriya-sieve-gift-control {
  border: 1px solid var(--blue-200);
  border-radius: var(--mriya-radius-lg);
  padding: 16px;
  background: var(--blue-100);
}

.mriya-sieve-gift-control label {
  display: block;
  color: var(--blue-900);
  font-weight: 800;
}

.mriya-sieve-gift-control select {
  width: 100%;
  min-height: 56px;
  margin-top: 10px;
  border: 1px solid var(--blue-300);
  border-radius: var(--mriya-radius-md);
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.mriya-sieve-gift-control select:focus-visible {
  outline: 3px solid var(--blue-100);
  outline-offset: 2px;
  border-color: var(--blue-800);
}

.mriya-sieve-gift-choice__note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mriya-checkout-block .wc-block-components-radio-control-accordion-option,
.mriya-checkout-block .wc-block-components-radio-control__option {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fcfd;
}

.mriya-checkout-block .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option,
.mriya-checkout-block .wc-block-components-radio-control__option + .wc-block-components-radio-control__option {
  margin-top: 10px;
}

.mriya-checkout-field--hidden,
.mriya-checkout-block .wc-block-components-address-form__country,
.mriya-checkout-block .wc-block-checkout__use-address-for-billing,
.mriya-checkout-block .wc-block-checkout__order-notes {
  display: none !important;
}

.mriya-delivery-choice__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mriya-delivery-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}

.mriya-delivery-choice__tile {
  position: relative;
  display: grid;
  min-height: 116px;
  align-content: center;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: var(--mriya-radius-lg);
  padding: 18px 48px 18px 18px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.mriya-delivery-choice__tile::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 4px var(--white);
}

.mriya-delivery-choice__tile:hover {
  border-color: var(--blue-700);
  background: #f7fcfd;
}

.mriya-delivery-choice__tile.is-selected {
  border-color: var(--mriya-color-border-strong);
  background: var(--mriya-color-bg-brand-subtle);
  box-shadow: 0 0 0 1px var(--mriya-color-border-strong);
}

.mriya-delivery-choice__tile.is-selected::after {
  border-color: var(--blue-800);
  background: var(--blue-800);
}

.mriya-delivery-choice__tile:focus-visible {
  outline: 0;
  box-shadow: var(--mriya-focus-ring);
}

.mriya-delivery-choice__title {
  color: var(--blue-900);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.mriya-delivery-choice__description {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mriya-checkout-delivery-note {
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f7fcfd;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mriya-checkout-delivery-note[role="status"] {
  min-height: 45px;
}

.mriya-checkout-block .wc-block-components-checkout-place-order-button {
  width: 100%;
  min-height: 56px !important;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.mriya-checkout-block .wc-block-components-checkout-place-order-button:hover {
  background: #ffd633;
  color: var(--ink);
}

.mriya-checkout-block .wc-block-components-checkout-place-order-button:focus-visible {
  outline: 3px solid var(--blue-100);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--blue-800);
}

.mriya-checkout-block .wc-block-components-checkout-order-summary__title {
  color: var(--blue-900);
  font-family: "Bona Nova", serif;
  font-size: 30px;
  line-height: 1.1;
}

.mriya-checkout-block .wc-block-components-order-summary-item__image img {
  border-radius: 8px;
  padding: 5px;
  background: var(--blue-100);
  object-fit: contain;
}

.mriya-checkout-block .wc-block-components-product-name {
  color: var(--blue-900);
  font-weight: 800;
}

.mriya-checkout-block .wc-block-components-totals-footer-item {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.mriya-checkout-block .wc-block-components-validation-error,
.mriya-checkout-block .wc-block-components-notice-banner {
  border-radius: 8px;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .mriya-checkout-block .wc-block-components-sidebar-layout {
    gap: 22px;
  }

  .mriya-checkout-block .wc-block-components-main,
  .mriya-checkout-block .wc-block-checkout__main {
    width: calc(61% - 11px);
  }

  .mriya-checkout-block .wc-block-components-sidebar,
  .mriya-checkout-block .wc-block-checkout__sidebar {
    width: calc(39% - 11px);
    padding: 20px;
  }
}

@media (max-width: 900px) {
  .mriya-checkout-block .wc-block-components-sidebar-layout {
    display: block;
  }

  .mriya-checkout-block .wc-block-components-main,
  .mriya-checkout-block .wc-block-checkout__main,
  .mriya-checkout-block .wc-block-components-sidebar,
  .mriya-checkout-block .wc-block-checkout__sidebar {
    width: 100%;
  }

  .mriya-checkout-block .wc-block-components-sidebar,
  .mriya-checkout-block .wc-block-checkout__sidebar {
    position: static;
    margin-top: 22px;
  }
}

@media (max-width: 768px) {
  .mriya-checkout-shell {
    width: calc(100% - 24px);
    margin: 24px auto 48px;
  }

  .mriya-checkout-page__intro {
    margin-bottom: 24px;
  }

  .mriya-checkout-page__intro h1 {
    font-size: clamp(36px, 9vw, 48px);
  }

  .mriya-checkout-block .wc-block-checkout__contact-fields,
  .mriya-checkout-block .wc-block-checkout__shipping-fields,
  .mriya-checkout-block .wc-block-checkout__order-fields,
  .mriya-checkout-block .wc-block-checkout__additional-fields,
  .mriya-checkout-block .wc-block-checkout__shipping-option,
  .mriya-checkout-block .wc-block-checkout__payment-method {
    padding: 20px !important;
  }
}

@media (max-width: 480px) {
  .mriya-checkout-shell {
    width: calc(100% - 16px);
    margin-top: 16px;
  }

  .mriya-delivery-choice {
    grid-template-columns: 1fr;
  }

  .mriya-delivery-choice__tile {
    min-height: 96px;
  }

  .mriya-checkout-block .wc-block-checkout__contact-fields,
  .mriya-checkout-block .wc-block-checkout__shipping-fields,
  .mriya-checkout-block .wc-block-checkout__order-fields,
  .mriya-checkout-block .wc-block-checkout__additional-fields,
  .mriya-checkout-block .wc-block-checkout__shipping-option,
  .mriya-checkout-block .wc-block-checkout__payment-method,
  .mriya-checkout-block .wc-block-components-sidebar,
  .mriya-checkout-block .wc-block-checkout__sidebar {
    border-radius: 10px;
    padding: 17px 15px !important;
  }
}

@media (max-width: 415px) {
  .mriya-checkout-block .wc-block-checkout__actions > :has(.wc-block-components-order-summary) {
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 14px;
    background: var(--white);
  }

  .mriya-checkout-block .wc-block-checkout__sidebar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mriya-delivery-choice__tile {
    transition: none;
  }
}

/* Managed one-page order surface: native Cart and Checkout Blocks share Store API state. */
body.mriya-order-page {
  background: var(--paper);
}

.mriya-order-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 44px auto 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mriya-order-page__intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.mriya-order-page__content > .mriya-order-section {
  margin: 0;
}

.mriya-order-section__title {
  display: flex;
  align-items: center;
  gap: var(--mriya-space-100);
  margin: 0 0 var(--mriya-space-200);
  color: var(--blue-900);
  font-family: var(--mriya-font-ui);
  font-size: clamp(var(--mriya-font-size-600), 2vw, 28px);
  font-weight: 800;
  line-height: 1.25;
}

.mriya-order-section__title::before {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: var(--mriya-radius-pill);
  background: var(--mriya-color-bg-brand-subtle);
  color: var(--mriya-color-text-brand);
  content: "";
  box-shadow: inset 0 0 0 1px var(--mriya-color-border-subtle);
}

.mriya-order-section--review .mriya-order-section__title::before {
  content: "1";
}

.mriya-order-section--checkout .mriya-order-section__title::before {
  content: "2";
}

.mriya-order-section--checkout {
  scroll-margin-top: 104px;
  margin-top: 38px !important;
  border-top: 1px solid var(--mriya-color-border-subtle);
  padding-top: 40px;
  outline: 0;
}

.mriya-order-section--checkout[hidden] {
  display: none !important;
}

.mriya-order-section--checkout .wp-block-woocommerce-checkout-totals-block,
.mriya-order-section--checkout .wc-block-checkout__sidebar,
.mriya-order-section--checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
  display: none !important;
}

.mriya-order-section--checkout .wc-block-components-main,
.mriya-order-section--checkout .wc-block-checkout__main,
.mriya-order-section--checkout .wp-block-woocommerce-checkout-fields-block {
  width: 100% !important;
  max-width: none;
  margin: 0;
  padding-right: 0;
}

.mriya-order-section--checkout .wc-block-components-sidebar-layout {
  display: block;
}

.mriya-order-shell .wp-block-woocommerce-cart,
.mriya-order-shell .wp-block-woocommerce-checkout {
  margin: 0;
}

.mriya-order-page .mriya-cart-block .wc-block-components-sidebar-layout {
  gap: var(--mriya-commerce-column-gap);
}

.mriya-order-page .mriya-cart-block .wc-block-cart-items {
  margin-top: 0;
}

.mriya-order-page .mriya-cart-summary {
  border-color: var(--mriya-color-border-default);
  box-shadow: var(--mriya-shadow-200);
}

.mriya-order-page .mriya-cart-summary .wc-block-cart__totals-title {
  padding-bottom: var(--mriya-space-200);
  color: var(--mriya-color-text-brand);
  font-size: var(--mriya-font-size-600);
}

.mriya-order-page .mriya-cart-summary .wc-block-components-totals-footer-item {
  align-items: baseline;
  padding: var(--mriya-space-150) 0;
}

.mriya-order-page .mriya-cart-summary .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--mriya-color-text-primary);
  font-size: var(--mriya-font-size-500);
}

.mriya-order-page .mriya-cart-summary__delivery {
  margin: var(--mriya-space-100) 0 var(--mriya-space-200);
  border-color: var(--mriya-color-border-subtle);
  border-radius: var(--mriya-radius-md);
  background: var(--mriya-color-bg-surface-subtle);
  color: var(--mriya-color-text-secondary);
}

/*
 * Woo Blocks ship late, highly specific runtime styles. Keep the P0 control
 * contract scoped to the managed order/product surfaces so computed values
 * remain aligned with the MRIYA field tokens without changing block logic.
 */
body.mriya-order-page .mriya-order-shell .mriya-checkout-block,
body.mriya-order-page .mriya-order-shell .mriya-cart-block,
body.mriya-demo-product-page .mriya-commerce-placeholder {
  font-family: var(--mriya-font-ui);
}

body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-checkout-step__title,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-checkout-step__heading h2 {
  color: var(--mriya-color-text-brand);
  font-family: var(--mriya-font-ui);
  font-size: var(--mriya-font-size-600);
  font-weight: 800;
  line-height: var(--mriya-line-heading);
}

body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-text-input input,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-combobox .wc-block-components-combobox-control input,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-select .wc-block-components-select__select {
  min-height: var(--mriya-control-height-lg) !important;
  height: var(--mriya-control-height-lg) !important;
  border: 1px solid var(--mriya-color-border-default) !important;
  border-radius: var(--mriya-radius-md) !important;
  background: var(--mriya-color-bg-surface-raised) !important;
  color: var(--mriya-color-text-primary) !important;
  font-family: var(--mriya-font-ui) !important;
  font-size: var(--mriya-font-size-300) !important;
  line-height: 24px !important;
}

body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-text-input input:focus,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-select .wc-block-components-select__select:focus {
  border-color: var(--mriya-color-focus) !important;
  outline: 0 !important;
  box-shadow: var(--mriya-focus-ring) !important;
}

body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-text-input.has-error input,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-text-input input[aria-invalid="true"] {
  border-color: var(--mriya-color-danger) !important;
  box-shadow: 0 0 0 2px var(--mriya-color-danger-bg) !important;
}

body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-validation-error,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-validation-error p {
  color: var(--mriya-color-danger);
  font-family: var(--mriya-font-ui);
  font-size: var(--mriya-font-size-200);
  line-height: 20px;
}

/* One interaction family: product variation, delivery, and Woo payment
 * choices all share the same base-card / selected-card contract. */
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-radio-control-accordion-option,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-radio-control__option {
  border-color: var(--mriya-color-border-subtle);
  border-radius: var(--mriya-radius-lg);
  background: var(--mriya-color-bg-surface-raised);
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-radio-control-accordion-option:has(input:checked),
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-radio-control__option:has(input:checked) {
  border-color: var(--mriya-color-border-strong);
  background: var(--mriya-color-bg-brand-subtle);
  box-shadow: 0 0 0 1px var(--mriya-color-border-strong);
}

body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-radio-control-accordion-option:focus-within,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-radio-control__option:focus-within {
  box-shadow: var(--mriya-focus-ring);
}

body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-checkout__contact-fields,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-checkout__shipping-fields,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-checkout__order-fields,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-checkout__shipping-option,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-checkout__payment-method {
  border-color: var(--mriya-color-border-subtle) !important;
  border-radius: var(--mriya-radius-lg);
  background: var(--mriya-color-bg-surface-raised);
  box-shadow: var(--mriya-shadow-100);
}

.mriya-cart-shell .wc-block-cart-items__row td {
  border-color: var(--mriya-color-border-subtle) !important;
  box-shadow: var(--mriya-shadow-100);
}

.mriya-cart-shell .wc-block-cart-item__image img,
.mriya-checkout-block .wc-block-components-order-summary-item__image img {
  background: var(--mriya-color-bg-brand-subtle);
}

.mriya-checkout-error-summary {
  margin: 0 0 var(--mriya-space-300);
  border: 1px solid var(--mriya-color-danger);
  border-radius: var(--mriya-radius-lg);
  padding: var(--mriya-space-150) var(--mriya-space-200);
  background: var(--mriya-color-danger-bg);
  color: var(--mriya-color-danger);
  font-family: var(--mriya-font-ui);
  font-size: var(--mriya-font-size-200);
  line-height: 20px;
}

.mriya-checkout-error-summary__title {
  margin: 0 0 var(--mriya-space-050);
  color: var(--mriya-color-danger);
  font-size: var(--mriya-font-size-300);
  font-weight: 800;
}

.mriya-checkout-error-summary ul {
  margin: 0;
  padding-left: 20px;
}

body.mriya-order-page .mriya-order-shell .mriya-cart-summary .wc-block-cart__submit-button,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-checkout-place-order-button,
body.mriya-demo-product-page .mriya-commerce-placeholder div.product form.cart .single_add_to_cart_button {
  min-height: var(--mriya-control-height-lg) !important;
  border-radius: var(--mriya-radius-md) !important;
  background: var(--mriya-color-action-primary) !important;
  color: var(--mriya-color-action-primary-text) !important;
  font-family: var(--mriya-font-ui) !important;
  font-size: var(--mriya-font-size-300) !important;
  font-weight: 800 !important;
  line-height: 24px !important;
}

body.mriya-order-page .mriya-order-shell .mriya-cart-summary .wc-block-cart__submit-button:hover,
body.mriya-order-page .mriya-order-shell .mriya-checkout-block .wc-block-components-checkout-place-order-button:hover,
body.mriya-demo-product-page .mriya-commerce-placeholder div.product form.cart .single_add_to_cart_button:hover {
  background: var(--mriya-color-action-primary-hover) !important;
}

@media (min-width: 901px) {
  .mriya-order-shell .mriya-cart-summary {
    padding: 24px !important;
  }

  .mriya-order-section--checkout .wc-block-checkout__form {
    display: block;
  }

  .mriya-order-section--checkout .wc-block-checkout__form > * {
    min-width: 0;
    margin: 0 0 var(--mriya-space-300) !important;
  }

  .mriya-order-section--checkout .wc-block-checkout__form > div:empty,
  .mriya-order-section--checkout .wp-block-woocommerce-checkout-shipping-method-block,
  .mriya-order-section--checkout .wp-block-woocommerce-checkout-pickup-options-block,
  .mriya-order-section--checkout .wc-block-checkout__order-notes.mriya-checkout-field--hidden {
    display: none !important;
  }

  .mriya-order-section--checkout .wc-block-checkout__contact-fields {
    grid-column: auto;
    grid-row: auto;
  }

  .mriya-order-section--checkout .wc-block-checkout__shipping-fields {
    grid-column: auto;
    grid-row: auto;
  }

  .mriya-order-section--checkout .wc-block-checkout__order-fields {
    grid-column: auto;
    grid-row: auto;
  }

  .mriya-order-section--checkout .wc-block-checkout__shipping-option {
    grid-column: auto;
    grid-row: auto;
  }

  .mriya-order-section--checkout .wc-block-checkout__payment-method {
    grid-column: auto;
    grid-row: auto;
  }

  .mriya-order-section--checkout .wc-block-checkout__terms,
  .mriya-order-section--checkout .wc-block-checkout__actions {
    grid-column: auto;
  }

  .mriya-order-section--checkout .wc-block-checkout__contact-fields,
  .mriya-order-section--checkout .wc-block-checkout__shipping-fields,
  .mriya-order-section--checkout .wc-block-checkout__order-fields,
  .mriya-order-section--checkout .wc-block-checkout__shipping-option,
  .mriya-order-section--checkout .wc-block-checkout__payment-method {
    padding: var(--mriya-space-300) !important;
  }

  .mriya-order-section--checkout .wc-block-components-checkout-step__heading h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .mriya-order-shell {
    width: calc(100% - 24px);
    margin: 24px auto 48px;
  }

  .mriya-order-section--checkout {
    margin-top: 28px !important;
    padding-top: 28px;
  }
}
