/**
 * Cart, checkout, order received and account - the theme's type, colours and
 * pill buttons on WooCommerce's stock blocks and classic templates.
 * Loaded on those pages only (inc/cart.php).
 */

.mm-shop-page {
  --mm-ink: var(--wp--preset--color--mm-hero, #3a3e35);
  --mm-body: #57544c;
  --mm-label: #a5a096;
  --mm-line: var(--wp--preset--color--mm-line, #e1dfd9);
  --mm-field: #c9c6bd;
  --mm-rail: clamp(58px, 7vw, 84px);
  margin-right: var(--mm-rail);
  padding: clamp(104px, 15vh, 150px) 0 clamp(64px, 9vh, 110px);
  color: var(--mm-ink);
}
.mm-shop-page .mm-container { max-width: none; padding-inline: clamp(24px, 4vw, 56px); }   /* lines up with the logo (same inset as .mm-chrome) */
@media (max-width: 767px) { .mm-shop-page { margin-right: 0; } }

/* --- Head: script + title (as on the listing and product pages) ------ */
.mm-shop-head { margin-bottom: clamp(28px, 4vh, 44px); }
.mm-shop-head__script {
  font-family: "Mistgak Signature", var(--mm-font);
  font-size: max(30px, var(--wp--preset--font-size--large, 1.5rem));
  line-height: 1;
  color: var(--wp--preset--color--mm-clay, #bc8c78);
}
.mm-shop-head__title {
  margin: 8px 0 0;
  font-size: 48px;
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--mm-ink);
  text-wrap: balance;
}
@media (max-width: 767px) { .mm-shop-head__title { font-size: clamp(32px, 9vw, 40px); } }

/* --- Shared: buttons, inputs, labels ---------------------------------- */
.mm-shop-page .wc-block-components-button,
.mm-shop-page .wp-block-button__link,
.mm-shop-page .woocommerce-button,
.mm-shop-page .button,
.mm-shop-page button[type="submit"]:not(.wc-block-components-quantity-selector__button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--wp--preset--color--mm-sage, #8c9082);   /* the theme's button colour */
  color: #fff;
  font-family: var(--mm-font);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mm-shop-page .wc-block-components-button:hover,
.mm-shop-page .wc-block-components-button:focus-visible,
.mm-shop-page .wp-block-button__link:hover,
.mm-shop-page .woocommerce-button:hover,
.mm-shop-page .button:hover,
.mm-shop-page button[type="submit"]:not(.wc-block-components-quantity-selector__button):hover { background: var(--wp--preset--color--mm-clay, #bc8c78); color: #fff; }
.mm-shop-page .wc-block-components-button:disabled,
.mm-shop-page .wc-block-components-totals-coupon__button:disabled,
.mm-shop-page .wc-block-components-button[aria-disabled="true"],
.mm-shop-page .woocommerce .button:disabled { opacity: 1 !important; background: #d8d3cc !important; color: var(--wp--preset--color--mm-ink, #26251d) !important; cursor: default; }
.mm-shop-page .wc-block-components-button .wc-block-components-button__text { font: inherit; letter-spacing: inherit; color: inherit; }
.mm-shop-page .wc-block-components-button.outlined,
.mm-shop-page .wc-block-components-button.contained.outlined { background: transparent; color: var(--mm-ink); box-shadow: inset 0 0 0 1px var(--mm-ink); }
.mm-shop-page .wc-block-components-button.outlined:hover { background: var(--wp--preset--color--mm-sage, #8c9082); color: #fff; box-shadow: none; }

/* Woo's own form variables (checkout/cart fields) */
.mm-shop-page .wc-block-components-form,
.mm-shop-page .wp-block-woocommerce-cart,
.mm-shop-page .wp-block-woocommerce-checkout {
  --wc-form-border-color: var(--mm-field);
  --wc-form-border-radius: 0;
  --wc-form-border-width: 1px;
  --wc-form-color-text: var(--wp--preset--color--mm-ink, #26251d);
}
.mm-shop-page .wc-block-components-text-input input[type="text"],
.mm-shop-page .wc-block-components-text-input input[type="email"],
.mm-shop-page .wc-block-components-text-input input[type="tel"],
.mm-shop-page .wc-block-components-text-input input[type="url"],
.mm-shop-page .wc-block-components-text-input input[type="number"],
.mm-shop-page .wc-block-components-combobox-control input,
.mm-shop-page .wc-block-components-select .components-custom-select-control__button,
.mm-shop-page .wc-block-components-totals-coupon__input input,
.mm-shop-page .wc-block-components-textarea,
.mm-shop-page .woocommerce-Input,
.mm-shop-page .woocommerce-form input[type="text"],
.mm-shop-page .woocommerce-form input[type="email"],
.mm-shop-page .woocommerce-form input[type="password"],
.mm-shop-page select {
  border: 1px solid var(--mm-field);
  border-radius: 0;
  background: #fff;
  min-height: 50px;
  font-family: var(--mm-font);
  font-size: 14px;
  font-weight: 300;
  color: var(--wp--preset--color--mm-ink, #26251d);
  box-shadow: none;
}
.mm-shop-page .wc-block-components-text-input.is-active input,
.mm-shop-page .wc-block-components-text-input input:focus,
.mm-shop-page .woocommerce-Input:focus,
.mm-shop-page select:focus { border-color: var(--mm-ink); outline: none; box-shadow: none; }
.mm-shop-page .wc-block-components-text-input label,
.mm-shop-page .wc-block-components-combobox-control label,
.mm-shop-page .wc-block-components-select label,
.mm-shop-page .woocommerce-form-row label {
  font-family: var(--mm-font);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--mm-body);
}
.mm-shop-page .wc-block-components-text-input.is-active label { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.mm-shop-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-radius: 0; border-color: var(--mm-field); width: 16px; height: 16px; min-width: 16px; min-height: 16px; }
.mm-shop-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--mm-ink); border-color: var(--mm-ink); }
/* the tick: white, sized and centred for the 16px box (Woo draws a 15px black one offset for its 24px box) */
.mm-shop-page .wc-block-components-checkbox .wc-block-components-checkbox__mark { width: 12px; height: 10px; left: 2px; top: 3px; margin: 0; fill: #fff; }
.mm-shop-page .wc-block-components-checkbox__label { font-size: 13px; color: var(--mm-ink); }
.mm-shop-page a { color: var(--wp--preset--color--mm-clay, #bc8c78); }
.mm-shop-page a:hover { color: var(--mm-ink); }

/* Small-caps labels (section titles in the sidebars, table heads) */
.mm-shop-page .wc-block-cart__totals-title,
.mm-shop-page .wc-block-cart-items__header,
.mm-shop-page .wc-block-components-checkout-order-summary__title,
.mm-shop-page .woocommerce-table thead th,
.mm-shop-page .wc-block-components-order-summary-item__quantity {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mm-body);
}

/* --- Cart block ------------------------------------------------------ */
.mm-cart-page .wc-block-components-sidebar-layout { gap: 0; }
.mm-cart-page .wc-block-components-main { width: calc(100% - 380px - 64px) !important; padding-right: 0 !important; }   /* 65/35 + a gap would wrap the sidebar under the main column */
.mm-cart-page .wc-block-components-sidebar { width: 380px !important; margin-left: 64px; padding: 28px 28px 32px !important; }
.mm-cart-page .wc-block-cart-items { width: 100%; }
.mm-cart-page .wc-block-cart-items__header { border-bottom: 1px solid var(--mm-line); }
.mm-cart-page .wc-block-cart-items__header th { padding: 0 0 12px; font-size: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.mm-cart-page .wc-block-cart-items__header-image { width: 144px; font-size: 0; }     /* keeps the columns aligned; nothing to say */
.mm-cart-page .wc-block-cart-items__row { border-bottom: 1px solid var(--mm-line); }
.mm-cart-page .wc-block-cart-item__image { width: 120px; padding: 24px 24px 24px 0; }
.mm-cart-page .wc-block-cart-item__image img { width: 120px; aspect-ratio: 1; object-fit: cover; }
.mm-cart-page .wc-block-cart-item__product { padding: 24px 0; vertical-align: top; }
.mm-cart-page .wc-block-cart-item__total { padding: 24px 0; vertical-align: top; font-size: 16px; font-weight: 400; color: var(--mm-ink); }
.mm-cart-page .wc-block-components-product-name { font-size: 20px; font-weight: 300; line-height: 1.25; color: var(--mm-ink); text-decoration: none; }
.mm-cart-page .wc-block-components-product-name:hover { color: var(--wp--preset--color--mm-clay, #bc8c78); }
.mm-cart-page .wc-block-cart-item__prices { display: none; }                 /* the line total on the right says it */
.mm-cart-page .wc-block-components-product-metadata { margin-top: 4px; }
.mm-cart-page .wc-block-components-product-metadata__description,
.mm-cart-page .wc-block-components-product-metadata__description p { font-size: 14px; color: var(--mm-body); line-height: 1.5; }
.mm-cart-page .wc-block-cart-item__product::after {
  content: "PDF template · instant download";
  display: block;
  margin-top: 12px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mm-label);
}
.mm-cart-page .wc-block-cart-item__quantity { margin-top: 10px; }
.mm-cart-page .wc-block-cart-item__quantity .wc-block-cart-item__remove-link { margin: 0; }
.mm-cart-page .wc-block-cart-item__remove-link {
  font-size: 12px;
  color: var(--mm-body);
  text-decoration: none;
  border-bottom: 1px solid var(--mm-label);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.mm-cart-page .wc-block-cart-item__remove-link:hover { color: var(--wp--preset--color--mm-clay, #bc8c78); border-color: currentColor; }
.mm-cart-page .wc-block-components-quantity-selector { margin: 0 0 10px; }
/* Totals card */
.mm-cart-page .wc-block-cart__sidebar { background: var(--wp--preset--color--mm-surface, #fff); }
.mm-cart-page .wc-block-cart__totals-title { padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--mm-line); text-align: left; background: none; }
/* one hairline per row: Woo draws a top border and a shadow line - drop them */
.mm-cart-page .wc-block-components-totals-wrapper,
.mm-checkout-page .wc-block-components-totals-wrapper { padding: 16px 0; border-top: 0 !important; border-bottom: 1px solid var(--mm-line); box-shadow: none; }
.mm-cart-page .wc-block-components-totals-wrapper:last-child,
.mm-checkout-page .wc-block-components-totals-wrapper:last-child { border-bottom: 0; }
.mm-cart-page .wc-block-components-totals-coupon,
.mm-cart-page .wc-block-components-panel { padding: 0; }
.mm-cart-page .wc-block-components-totals-footer-item { padding: 18px 0 6px; }
.mm-cart-page .wc-block-cart__submit { margin-top: 18px; }
.mm-cart-page .wc-block-components-totals-item { font-size: 14px; color: var(--mm-ink); }
.mm-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 15px; font-weight: 300; }
.mm-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 22px; font-weight: 400; }
.mm-cart-page .wc-block-components-panel__button { font-size: 13px; color: var(--mm-ink); padding: 0; }
.mm-cart-page .wc-block-cart__submit-container { padding: 0; background: none; border: 0; box-shadow: none; }
.mm-cart-page .wc-block-cart__submit-button { width: 100%; min-height: 56px; }
.mm-cart-page .wc-block-cart__payment-options { display: none; }

/* --- Checkout block -------------------------------------------------- */
.mm-checkout-page .wc-block-components-sidebar-layout { gap: 0; }
.mm-checkout-page .wc-block-components-main { width: calc(100% - 400px - 64px) !important; padding-right: 0 !important; }
.mm-checkout-page .wc-block-components-sidebar { width: 400px !important; margin-left: 64px; padding: 28px 28px 32px !important; }
.mm-checkout-page .wc-block-checkout__form { max-width: none; }
.mm-checkout-page .wc-block-components-checkout-step { padding-left: 0; margin-bottom: 44px; }
.mm-checkout-page .wc-block-components-checkout-step__title { font-size: 22px; font-weight: 300; color: var(--mm-ink); margin: 0 0 16px; }
.mm-checkout-page .wc-block-components-checkout-step__heading { margin: 0; }
.mm-checkout-page .wc-block-components-checkout-step__description,
.mm-checkout-page .wc-block-checkout__guest-checkout-notice,
.mm-checkout-page .wc-block-components-checkout-step__heading-content { font-size: 13px; color: var(--mm-body); }
.mm-checkout-page .wc-block-components-checkout-step::before { display: none; }   /* no step numbers */
.mm-checkout-page .wc-block-components-checkout-step__container::after { display: none; }
.mm-checkout-page .wc-block-components-address-card { border: 1px solid var(--mm-field); border-radius: 0; background: #fff; }
.mm-checkout-page .wc-block-components-radio-control__option { border-color: var(--mm-field); }
.mm-checkout-page .wc-block-components-radio-control-accordion-option,
.mm-checkout-page .wc-block-components-radio-control { border-radius: 0; }
.mm-checkout-page .wc-block-components-radio-control__input { border-color: var(--mm-ink); }
.mm-checkout-page .wc-block-components-radio-control__input:checked { border-color: var(--mm-ink); background: var(--mm-ink); }
.mm-checkout-page .wc-block-components-radio-control__input:checked::before { background: #fff; } /* Woo's dot is black - invisible on the ink circle */
.mm-checkout-page .wc-block-checkout__actions_row { padding-top: 28px; border-top: 1px solid var(--mm-line); margin-top: 0; }
.mm-checkout-page .wc-block-components-checkout-return-to-cart-button { font-size: 13px; color: var(--mm-ink); text-decoration: none; }
.mm-checkout-page .wc-block-components-checkout-place-order-button,
.mm-checkout-page .wc-block-components-checkout-place-order-button--full-width { min-height: 58px; padding: 0 56px; width: auto !important; margin-left: auto; }
.mm-checkout-page .wc-block-checkout__actions_row { justify-content: flex-end; }
.mm-checkout-page .wc-block-checkout__terms { font-size: 12px; color: var(--mm-body); }
/* Order summary card: white, sticky */
.mm-checkout-page .wc-block-checkout__sidebar { background: var(--wp--preset--color--mm-surface, #fff); position: sticky; top: 24px; }
.mm-checkout-page .wp-block-woocommerce-checkout-order-summary-block,
.mm-checkout-page .wc-block-components-order-summary { border: 0 !important; border-radius: 0; padding: 0; }   /* no box inside the white card */
.mm-checkout-page .wp-block-woocommerce-checkout-order-summary-totals-block { border-top: 0 !important; }   /* the coupon row above already draws the line */
.mm-shop-page .wc-block-components-totals-wrapper:not(:has(*)) { display: none; }   /* empty discount / fee rows would draw stray lines */
/* Payment options: quiet bordered box, no heavy highlight */
.mm-checkout-page .wc-block-components-radio-control-accordion-option,
.mm-checkout-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.mm-checkout-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted {
  border: 1px solid var(--mm-field) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: #fff;
}
.mm-checkout-page .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option { border-top: 0 !important; }
.mm-checkout-page .wc-block-components-radio-control__option { padding: 18px 18px 18px 48px; font-size: 14px; color: var(--mm-ink); }
.mm-checkout-page .wc-block-components-radio-control__input { width: 18px; height: 18px; min-width: 18px; min-height: 18px; left: 18px; }
.mm-checkout-page .wc-block-components-radio-control__input:checked::before { width: 8px; height: 8px; min-width: 8px; min-height: 8px; }
.mm-checkout-page .wc-block-components-radio-control-accordion-content { padding: 0 18px 18px 48px; font-size: 13px; color: var(--mm-body); }
.mm-checkout-page .wc-block-components-radio-control-accordion-content p { margin: 0 0 6px; }
.mm-checkout-page .ppcp-place-order-description { text-align: left !important; margin: 4px 0 0; }
.mm-checkout-page .wc-block-components-checkout-order-summary__title { padding: 0 0 14px; border-bottom: 1px solid var(--mm-line); }
.mm-checkout-page .wc-block-components-checkout-order-summary__title-text { font-size: inherit; letter-spacing: inherit; text-transform: inherit; }
.mm-checkout-page .wc-block-components-checkout-order-summary__title-price { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--mm-ink); }
.mm-checkout-page .wc-block-components-order-summary-item { padding: 16px 0; border-bottom: 1px solid var(--mm-line); }
.mm-checkout-page .wc-block-components-order-summary-item__image { width: 56px; }
.mm-checkout-page .wc-block-components-order-summary-item__image img { width: 56px; aspect-ratio: 1; object-fit: cover; }
.mm-checkout-page .wc-block-components-order-summary-item__quantity { display: none; }
.mm-checkout-page .wc-block-components-order-summary-item__individual-prices,
.mm-checkout-page .wc-block-components-product-metadata { display: none; }
.mm-checkout-page .wc-block-components-order-summary-item .wc-block-components-product-name { font-size: 14px; color: var(--mm-ink); line-height: 1.3; }
.mm-checkout-page .wc-block-components-order-summary-item__description::after { content: "PDF template"; display: block; font-size: 12px; color: var(--mm-label); margin-top: 2px; }
.mm-checkout-page .wc-block-components-order-summary-item__total-price { font-size: 14px; font-weight: 300; color: var(--mm-ink); }
.mm-checkout-page .wc-block-components-totals-wrapper { padding: 16px 0; border-color: var(--mm-line); }
.mm-checkout-page .wc-block-components-totals-item { font-size: 14px; color: var(--mm-ink); }
.mm-checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 15px; font-weight: 300; }
.mm-checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 22px; font-weight: 400; }
.mm-checkout-page .wc-block-components-panel__button { font-size: 13px; color: var(--mm-ink); padding: 0; }
/* Notices: quiet */
.mm-shop-page .wc-block-components-notice-banner { border-radius: 0; border-width: 1px; background: #fff; font-size: 13px; }
.mm-shop-page .wc-block-components-notice-banner.is-error { border-color: #a3533c; color: #a3533c; }

/* --- Order received (classic template) ------------------------------ */
.mm-order-received-page .woocommerce-thankyou-order-received { display: none; }    /* the page head says it */
/* Woo's classic button colours (purple) lose to the theme's */
.mm-shop-page .woocommerce .button,
.mm-shop-page .woocommerce .button.alt,
.mm-shop-page .woocommerce-MyAccount-downloads-file,
.mm-shop-page .woocommerce a.button { background: var(--wp--preset--color--mm-sage, #8c9082) !important; color: #fff !important; border-radius: 999px !important; }
.mm-shop-page .woocommerce .button:hover,
.mm-shop-page .woocommerce .button.alt:hover,
.mm-shop-page .woocommerce-MyAccount-downloads-file:hover,
.mm-shop-page .woocommerce a.button:hover { background: var(--wp--preset--color--mm-clay, #bc8c78) !important; color: #fff !important; }
/* Woo's clearfix pseudo-elements would become grid cells */
.mm-shop-page .woocommerce ul.order_details::before,
.mm-shop-page .woocommerce ul.order_details::after { display: none !important; content: none !important; }
.mm-order-received-page .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0 0 56px;
  padding: 0;
  border-top: 1px solid var(--mm-ink);
  border-bottom: 1px solid var(--mm-line);
  list-style: none;
}
.mm-order-received-page .woocommerce-order-overview li { float: none; padding: 18px 0; margin: 0; border: 0; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mm-body); }
.mm-order-received-page .woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--mm-ink); }
.mm-order-received-page .woocommerce-order-details__title,
.mm-order-received-page .woocommerce-order-downloads__title,
.mm-order-received-page .woocommerce-column__title { font-size: 22px; font-weight: 300; color: var(--mm-ink); margin: 0 0 16px; }
.mm-order-received-page .woocommerce-order-downloads { margin-bottom: 16px; }
.mm-order-received-page .woocommerce-table { width: 100%; border-collapse: collapse; background: var(--wp--preset--color--mm-surface, #fff); border: 0; font-size: 14px; color: var(--mm-ink); }
.mm-order-received-page .woocommerce-table th,
.mm-order-received-page .woocommerce-table td { padding: 16px 24px; border: 0; border-bottom: 1px solid var(--mm-line); text-align: left; vertical-align: middle; }
.mm-order-received-page .woocommerce-table thead th { padding: 14px 24px; }
.mm-order-received-page .woocommerce-table tfoot th,
.mm-order-received-page .woocommerce table.shop_table tfoot th,
.mm-order-received-page .woocommerce table.shop_table tfoot td { font-weight: 300; } /* Woo's own table style bolds the totals rows */
.mm-order-received-page .woocommerce table.shop_table tfoot tr.order-total th,
.mm-order-received-page .woocommerce table.shop_table tfoot tr.order-total td { font-weight: 400; }

/* "Additional information" (block-checkout extra fields, e.g. the newsletter box): same look as the address / order tables */
.mm-order-received-page .wc-block-order-confirmation-additional-fields-wrapper { margin: 40px 0 0; }
.mm-order-received-page .wc-block-order-confirmation-additional-fields-wrapper h2 { font-size: 22px; font-weight: 300; color: var(--mm-ink); margin: 0 0 16px; }
.mm-order-received-page .wc-block-components-additional-fields-list { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; background: var(--wp--preset--color--mm-surface, #fff); border: 0; font-size: 14px; }
.mm-order-received-page .wc-block-components-additional-fields-list dt,
.mm-order-received-page .wc-block-components-additional-fields-list dd { margin: 0; padding: 16px 24px; border: 0; border-bottom: 1px solid var(--mm-line); font-weight: 300; color: var(--mm-ink); }
.mm-order-received-page .wc-block-components-additional-fields-list dd { text-align: right; color: var(--mm-body); }
.mm-order-received-page .woocommerce-table .download-file .woocommerce-MyAccount-downloads-file { min-height: 44px; padding: 0 22px; font-size: 10.5px; letter-spacing: 0.2em; white-space: nowrap; }
.mm-order-received-page .woocommerce-table .download-file { text-align: right; width: 1%; white-space: nowrap; }
.mm-order-received-page .woocommerce-table .download-product a { color: var(--mm-ink); text-decoration: none; }
.mm-order-received-page .woocommerce-table .download-product a:hover { color: var(--wp--preset--color--mm-clay, #bc8c78); }
.mm-order-received-page .mm-order-note { margin: 0 0 56px; font-size: 13px; color: var(--mm-body); }
.mm-order-received-page .woocommerce-order-details { margin-bottom: 48px; }
.mm-order-received-page .woocommerce-customer-details address { border: 0; padding: 0; font-style: normal; font-size: 14px; color: var(--mm-body); line-height: 1.7; }

/* --- Account (classic shortcode) ------------------------------------- */
.mm-account-page .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mm-account-page .woocommerce-MyAccount-navigation a { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mm-label); text-decoration: none; }
.mm-account-page .woocommerce-MyAccount-navigation .is-active a,
.mm-account-page .woocommerce-MyAccount-navigation a:hover { color: var(--mm-ink); }
.mm-account-page .woocommerce-MyAccount-content { font-size: 14px; color: var(--mm-body); }
.mm-account-page .woocommerce-MyAccount-content a:not(.woocommerce-button) { color: var(--mm-ink); }
.mm-account-page .woocommerce-table { width: 100%; border-collapse: collapse; background: var(--wp--preset--color--mm-surface, #fff); border: 0; font-size: 14px; color: var(--mm-ink); }
.mm-account-page .woocommerce-table th,
.mm-account-page .woocommerce-table td { padding: 16px 20px; border: 0; border-bottom: 1px solid var(--mm-line); text-align: left; }
.mm-account-page form.woocommerce-form-login,
.mm-account-page form.woocommerce-form-register { max-width: 460px; border: 0 !important; padding: 0 !important; margin: 0; border-radius: 0; }
.mm-account-page .woocommerce-form-login__submit { margin-top: 8px; }
.mm-account-page .woocommerce-form-row { margin-bottom: 16px; }
.mm-account-page .woocommerce-form-row label { display: block; margin-bottom: 6px; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mm-body); }
.mm-account-page .woocommerce-Input { width: 100%; padding: 0 14px; }
.mm-account-page .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mm-ink); margin-bottom: 16px; }
.mm-account-page .lost_password { font-size: 13px; }

/* --- Tablet / phone -------------------------------------------------- */
@media (max-width: 1023px) {
  .mm-cart-page .wc-block-components-main,
  .mm-checkout-page .wc-block-components-main { width: 100% !important; }
  .mm-cart-page .wc-block-components-sidebar,
  .mm-checkout-page .wc-block-components-sidebar { width: 100% !important; margin-left: 0; position: static; margin-top: 32px; }
  .mm-shop-page .wc-block-components-sidebar-layout { flex-direction: column; }
}
@media (max-width: 767px) { .mm-order-received-page .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .mm-cart-page .wc-block-cart-item__image { width: 80px; padding-right: 14px; }
  .mm-cart-page .wc-block-cart-item__image img { width: 80px; }
  .mm-cart-page .wc-block-components-product-name { font-size: 17px; }
  .mm-checkout-page .wc-block-components-checkout-place-order-button { width: 100%; }
}
