/*
 * Every WooCommerce transactional page: Cart, Checkout, order-received
 * (thank-you), and the whole My Account area — dashboard, Orders (list +
 * single order view), Downloads, Addresses, Edit account, and the
 * login/register forms shown on the My Account page when logged out.
 * Enqueued on all of them (see mshop_enqueue_conditional_styles() in
 * functions.php, is_account_page() covers every My Account endpoint) to
 * keep the CSS payload smaller on the rest of the site.
 *
 * Loads after main.css, so it can safely build on the shared base styles —
 * button, form-row input, shop_table and notice styling already come from
 * main.css's generic WooCommerce rules; this file only adds the layout and
 * card treatment specific to these pages.
 *
 * These are all regular WordPress pages rendered through page.php (the
 * classic [woocommerce_cart] / [woocommerce_checkout] / [woocommerce_my_account]
 * shortcodes print their markup into page.php's .mshop-entry-content), so
 * everything here is scoped with the body classes and template classes
 * WooCommerce itself adds — woocommerce-cart, woocommerce-checkout,
 * woocommerce-account, woocommerce-MyAccount-navigation, etc. — rather than
 * a template-specific mshop- page class. No WooCommerce template file is
 * overridden: every page keeps rendering WooCommerce's own native markup,
 * this file only restyles it.
 */

/* ---------------------------------------------------------------------- */
/* Cart page                                                              */
/* ---------------------------------------------------------------------- */

body.woocommerce-cart .mshop-entry-title {
  margin-bottom: 22px;
}

.woocommerce-cart-form table.cart {
  border-color: #e4e7ec;
}

.woocommerce-cart-form table.cart th {
  padding: 14px 16px;
  background: #f8f9fb;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.woocommerce-cart-form table.cart td {
  padding: 14px 16px;
  vertical-align: middle;
}

.woocommerce-cart-form .product-thumbnail img {
  width: 72px;
  border-radius: 12px;
  background: #f6f7f9;
}

.woocommerce-cart-form .product-name a {
  color: #222a3a;
  font-weight: 800;
}

.woocommerce-cart-form td.product-price,
.woocommerce-cart-form td.product-subtotal {
  color: #222a3a;
  font-weight: 850;
}

.woocommerce-cart-form .product-remove a.remove {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fdf2f4;
  color: var(--mshop-accent) !important;
  font-size: 18px;
  line-height: 1;
}

.woocommerce-cart-form .product-remove a.remove:hover {
  background: var(--mshop-accent);
  color: #fff !important;
}

.woocommerce-cart-form .actions {
  padding: 16px;
}

.woocommerce-cart-form .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.woocommerce-cart-form .coupon #coupon_code {
  min-width: 200px;
  flex: 1 1 220px;
}

.woocommerce-cart-form .actions > button[name="update_cart"] {
  margin-inline-start: auto;
}

.cart-collaterals {
  display: grid;
  grid-template-columns: 1fr min(360px, 40%);
  gap: 24px;
  margin-top: 28px;
}

.cart-collaterals .cross-sells {
  grid-column: 1 / -1;
  order: 2;
}

.cart-collaterals .cart_totals {
  grid-column: 2;
  order: 1;
  padding: 20px;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  background: #fcfcfd;
}

.cart_totals h2 {
  margin: 0 0 14px;
  color: #222a3a;
  font-size: 16px;
  font-weight: 900;
}

.cart_totals table.shop_table {
  border: 0;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
  padding: 10px 0;
  border-top: 1px solid #eef0f4;
  font-size: 12.5px;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
  color: #222a3a;
  font-size: 15px;
  font-weight: 900;
}

.cart_totals .woocommerce-shipping-calculator .shipping-calculator-form {
  margin-top: 10px;
}

.cart_totals .woocommerce-shipping-calculator .shipping-calculator-form p {
  margin-bottom: 10px;
}

.wc-proceed-to-checkout {
  margin-top: 16px;
}

.wc-proceed-to-checkout a.checkout-button {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ---------------------------------------------------------------------- */
/* Checkout page                                                         */
/* ---------------------------------------------------------------------- */

body.woocommerce-checkout .mshop-entry-title {
  margin-bottom: 18px;
}

.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-bottom: 18px;
}

.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .woocommerce-form-coupon {
  padding: 18px;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  background: #fcfcfd;
}

form.checkout {
  display: grid;
  grid-template-columns: 1fr min(400px, 38%);
  align-items: start;
  gap: 28px;
}

#customer_details {
  grid-column: 1;
}

#order_review_heading,
#order_review {
  grid-column: 2;
  grid-row: 1 / span 2;
}

#order_review {
  padding: 20px;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  background: #fcfcfd;
}

#order_review_heading {
  margin: 0 0 14px;
  color: #222a3a;
  font-size: 16px;
  font-weight: 900;
}

.woocommerce-checkout h3#ship-to-different-address {
  margin: 26px 0 12px;
  font-size: 14px;
  font-weight: 850;
}

.woocommerce-checkout .form-row label {
  margin-bottom: 6px;
  color: #343b4b;
  font-size: 12.5px;
  font-weight: 750;
}

.woocommerce-checkout .form-row .required {
  color: var(--mshop-accent);
  text-decoration: none;
}

#order_review table.shop_table {
  border: 0;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
  padding: 10px 0;
  border-top: 1px solid #eef0f4;
  font-size: 12.5px;
}

#order_review .order-total th,
#order_review .order-total td {
  color: #222a3a;
  font-size: 15px;
  font-weight: 900;
}

#payment {
  margin-top: 18px;
  border-radius: 14px;
  background: #fff;
}

#payment ul.payment_methods {
  padding: 0;
  border: 1px solid #eef0f4;
  border-radius: 14px;
}

#payment ul.payment_methods li {
  padding: 13px 14px;
  border-bottom: 1px solid #eef0f4;
  font-size: 13px;
  font-weight: 750;
}

#payment ul.payment_methods li:last-child {
  border-bottom: 0;
}

#payment .payment_box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #f8f9fb;
  font-size: 12px;
}

.woocommerce-terms-and-conditions-wrapper {
  margin: 18px 0;
  font-size: 12.5px;
}

#order_review .form-row.place-order {
  margin-top: 18px;
}

#order_review .form-row.place-order .button {
  width: 100%;
}

/* Checkout trust badges, printed via mshop_checkout_trust_badges() right
 * before the place-order button — same markup/classes as the single
 * WooCommerce product page (see product.css), duplicated here so this file
 * stays self-contained the way the other conditionally-loaded stylesheets
 * already do. */
#order_review .mshop-product-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

#order_review .mshop-product-trust-grid > div {
  display: flex;
  min-width: 0;
  padding: 11px 9px;
  flex-direction: column;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  background: #fff;
}

#order_review .mshop-product-trust-grid span {
  display: grid;
  width: 27px;
  height: 27px;
  margin-bottom: 7px;
  place-items: center;
  border-radius: 8px;
  background: #fff0f3;
  color: var(--mshop-accent);
}

#order_review .mshop-product-trust-grid .mshop-icon {
  width: 15px;
  height: 15px;
}

#order_review .mshop-product-trust-grid strong {
  overflow: hidden;
  color: #4b5363;
  font-size: 9px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#order_review .mshop-product-trust-grid small {
  margin-top: 2px;
  overflow: hidden;
  color: #a0a5b0;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------- */
/* Order received (thank-you)                                            */
/* ---------------------------------------------------------------------- */

.woocommerce-order {
  padding: 26px;
  border: 1px solid #eef0f4;
  border-radius: 18px;
  background: #fcfcfd;
}

.woocommerce-order > .woocommerce-notice,
.woocommerce-order > p:first-child {
  margin-bottom: 18px;
  color: #222a3a;
  font-size: 15px;
  font-weight: 800;
}

ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  gap: 14px;
}

ul.woocommerce-order-overview li {
  padding: 14px;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  background: #fff;
  font-size: 11px;
  color: #858c9b;
}

ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  color: #222a3a;
  font-size: 13px;
}

.woocommerce-order-details,
.woocommerce-order-downloads,
.woocommerce-customer-details {
  margin-top: 26px;
}

.woocommerce-order-details h2,
.woocommerce-order-downloads h2,
.woocommerce-customer-details h2 {
  margin-bottom: 12px;
  color: #222a3a;
  font-size: 15px;
  font-weight: 900;
}

.woocommerce-order-details table.shop_table,
.woocommerce-order-downloads table.shop_table {
  border-color: #eef0f4;
}

.woocommerce-customer-details address {
  padding: 16px;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.9;
}

/* ---------------------------------------------------------------------- */
/* My Account — dashboard shell (nav + content)                          */
/* ---------------------------------------------------------------------- */

/*
 * Excludes body.mshop-auth-page and body.mshop-dashboard-page: WooCommerce
 * adds the woocommerce-account body class to every My Account view, logged
 * in or out, but this nav+content flex layout is only meant for the
 * generic logged-in endpoints that actually keep the nav sidebar (Orders,
 * Addresses, Downloads, Edit account, …). Two screens replace that shell
 * entirely and must never pick up this rule:
 *   - the logged-out login/register screen (mshop-auth-page) has no nav
 *     sidebar at all — letting this rule fire there turned
 *     ".mshop-entry-content" into a flex row whose only child (WooCommerce's
 *     ".woocommerce" shortcode wrapper) shrank to fit its content and, in
 *     this RTL layout, ended up pinned to the right edge instead of
 *     centered. See "Login / Register — redesigned screen" below.
 *   - the logged-in dashboard tab (mshop-dashboard-page, see dashboard.css)
 *     hides the nav sidebar on purpose and needs its content full-width —
 *     the same shrink-to-content bug would otherwise squeeze its stat
 *     cards/charts into a sliver on the wrong side.
 * This guard has to win by exclusion (:not(...)), not by a later, lower-
 * specificity override in dashboard.css/account.css — a plain
 * "body.mshop-dashboard-page .mshop-entry-content" rule is one class
 * lighter than this selector and would silently lose the cascade to it.
 */
body.woocommerce-account:not(.mshop-auth-page):not(.mshop-dashboard-page) .mshop-entry-content {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.woocommerce-MyAccount-navigation {
  flex: 0 0 230px;
  padding: 10px;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  background: #fcfcfd;
}

.woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 3px;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: #4a5164;
  font-size: 12.5px;
  font-weight: 750;
  transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce-MyAccount-navigation li a:hover {
  background: #f1f2f5;
  color: #222a3a;
}

.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--mshop-accent);
  color: #fff;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #b32d2e;
}

.woocommerce-MyAccount-content {
  min-width: 0;
  flex: 1 1 auto;
}

.woocommerce-MyAccount-content > p:first-child {
  margin-top: 0;
  color: #667085;
  font-size: 13px;
  line-height: 2;
}

.woocommerce-MyAccount-content mark {
  background: none;
  color: #222a3a;
  font-weight: 850;
}

.woocommerce-MyAccount-content a:not(.button) {
  color: var(--mshop-accent);
}

/* Edit account / edit address forms: a plain form-row list, wrapped in the
 * same card treatment used for #order_review / .cart_totals. */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
  max-width: 560px;
  padding: 22px;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  background: #fcfcfd;
}

.woocommerce-EditAccountForm fieldset {
  margin-top: 22px;
  padding: 0;
  border: 0;
}

.woocommerce-EditAccountForm legend {
  margin-bottom: 10px;
  padding: 0;
  color: #222a3a;
  font-size: 14px;
  font-weight: 850;
}

.woocommerce-EditAccountForm .form-row button[type="submit"],
.woocommerce-address-fields .form-row button[type="submit"] {
  margin-top: 6px;
}

/* ---------------------------------------------------------------------- */
/* My Account — Orders (list) & a single order view                      */
/* ---------------------------------------------------------------------- */

.woocommerce-orders-table__cell-order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.woocommerce-orders-table__cell-order-actions .button {
  padding: 8px 13px;
  font-size: 10.5px;
}

.woocommerce-orders-table__cell-order-status {
  font-weight: 800;
}

.woocommerce-pagination {
  margin-top: 18px;
  text-align: center;
}

.woocommerce-pagination .woocommerce-button {
  padding: 9px 16px;
  border: 1px solid #eef0f4;
  border-radius: 999px;
  font-size: 11.5px;
}

/* ---------------------------------------------------------------------- */
/* My Account — Addresses                                                */
/* ---------------------------------------------------------------------- */

.woocommerce-Addresses.col2-set,
.col2-set#customer_login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0;
  list-style: none;
}

.woocommerce-Address,
.col2-set .u-column1,
.col2-set .u-column2 {
  min-width: 0;
  padding: 20px;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  background: #fcfcfd;
}

.woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.woocommerce-Address-title h2,
.col2-set h2 {
  margin: 0;
  color: #222a3a;
  font-size: 15px;
  font-weight: 900;
}

.woocommerce-Address-title a {
  color: var(--mshop-accent);
  font-size: 11.5px;
  font-weight: 800;
}

.woocommerce-Address address {
  color: #5f6676;
  font-size: 12.5px;
  line-height: 2;
}

.woocommerce-Addresses .woocommerce-Address:only-child {
  grid-column: 1 / -1;
}

/* ---------------------------------------------------------------------- */
/* Login / Register — shown on the My Account page for logged-out users  */
/* ---------------------------------------------------------------------- */

.col2-set#customer_login .u-column1,
.col2-set#customer_login .u-column2 {
  display: flex;
  flex-direction: column;
}

.woocommerce-form-login,
.woocommerce-form-register {
  margin-top: 4px;
}

.woocommerce-form-login .form-row label,
.woocommerce-form-register .form-row label {
  display: block;
  margin-bottom: 6px;
  color: #343b4b;
  font-size: 12.5px;
  font-weight: 750;
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 600;
}

.woocommerce-form-login .form-row.woocommerce-form-login__submit,
.woocommerce-form-register .form-row:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.woocommerce-form-login .lost_password a {
  color: #667085;
  font-size: 11.5px;
}

.woocommerce-form-login .lost_password a:hover {
  color: var(--mshop-accent);
}

/* Lost/reset password form re-uses the same plain-form card treatment. */
.woocommerce-ResetPassword,
.woocommerce-lost-password {
  max-width: 460px;
  padding: 22px;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  background: #fcfcfd;
}

/* ---------------------------------------------------------------------- */
/* Empty cart state — markup/classes come from mshop_cart_empty_message()  */
/* (functions.php), reusing the same .mshop-empty-state look already used  */
/* on search.php / archive.php / 404.php.                                  */
/* ---------------------------------------------------------------------- */

.mshop-empty-state .mshop-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------------------------------------------------------------------- */
/* Login / Register — redesigned tabbed screen                            */
/* (woocommerce/myaccount/form-login.php). Fully independent of the       */
/* .col2-set#customer_login rules above, which keep styling WooCommerce's */
/* own inline checkout "already have an account?" login panel.            */
/* ---------------------------------------------------------------------- */

/*
 * ROOT CAUSE of the "not centered on desktop" bug: the My Account page is a
 * plain WordPress Page with a shortcode in its content (Cart/Checkout work
 * the same way) — WooCommerce only prints its own ".shop-main"/".shop-content"
 * wrapper (mshop_woocommerce_wrapper_start(), hooked to
 * woocommerce_before_main_content/after_main_content) around the shop
 * archive and single-product templates, which call those hooks themselves.
 * My Account instead renders through page.php, so the real wrapper here is
 * "main.mshop-content-main" > ".mshop-container.mshop-entry-shell" >
 * "article" > ".mshop-entry-content" — the rules below target THOSE actual
 * classes (the previous ".shop-main"/".shop-content" rules never matched
 * anything on this screen, which is why centering never visibly changed).
 */
body.mshop-auth-page .mshop-entry-title {
  display: none;
}

body.mshop-auth-page .mshop-content-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

body.mshop-auth-page .mshop-entry-shell {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.mshop-auth-page .mshop-entry-content {
  display: block;
  width: 100%;
}

@media (max-width: 600px) {
  body.mshop-auth-page .mshop-content-main {
    min-height: 0;
    padding: 20px 0 40px;
  }
}

.mshop-auth {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 8px 0;
}

.mshop-auth__card {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.06);
  padding: 8px;
  overflow: hidden;
}

.mshop-auth__panel {
  display: none;
  padding: 28px 26px 30px;
}

.mshop-auth__panel.is-active {
  display: block;
}

.mshop-auth__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mshop-auth__col {
  min-width: 0;
  padding: 24px;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  background: #fcfcfd;
}

.mshop-auth__col--register {
  background: var(--mshop-canvas);
}

.mshop-auth__phone-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.mshop-auth__heading {
  margin: 0 0 6px;
  color: var(--mshop-ink);
  font-size: 17px;
  font-weight: 900;
}

.mshop-auth__subtitle {
  margin: 0 0 18px;
  color: #5f6676;
  font-size: 12.5px;
  line-height: 1.9;
}

.mshop-auth__form .mshop-form-row {
  margin: 0 0 14px;
}

.mshop-auth .mshop-form-row label {
  display: block;
  margin-bottom: 6px;
  color: #343b4b;
  font-size: 12.5px;
  font-weight: 750;
}

.mshop-auth .mshop-form-row__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e3e6ed;
  border-radius: 10px;
  background: #fff;
  color: var(--mshop-ink);
  font-family: inherit;
  font-size: 13.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mshop-auth .mshop-form-row__input:focus {
  outline: none;
  border-color: var(--mshop-accent);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

/* Show/hide toggle button sitting inside a password field. */
.mshop-password-field {
  position: relative;
  display: block;
}

.mshop-password-field .mshop-form-row__input {
  padding-inline-end: 42px;
}

.mshop-password-field__toggle {
  position: absolute;
  top: 50%;
  inset-inline-end: 6px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #98a1b3;
  cursor: pointer;
}

.mshop-password-field__toggle:hover {
  color: var(--mshop-accent);
  background: rgba(225, 29, 72, 0.06);
}

.mshop-password-field__icon {
  width: 18px;
  height: 18px;
}

.mshop-password-field__icon--hide {
  display: none;
}

.mshop-password-field__toggle.is-visible .mshop-password-field__icon--show {
  display: none;
}

.mshop-password-field__toggle.is-visible .mshop-password-field__icon--hide {
  display: block;
}

.mshop-auth__row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.mshop-auth__remember {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #5f6676;
  font-size: 12px;
  font-weight: 600;
}

.mshop-auth__lost-link {
  color: #5f6676;
  font-size: 11.5px;
}

.mshop-auth__lost-link:hover {
  color: var(--mshop-accent);
}

.mshop-auth .mshop-auth__submit.button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 12px;
  background: var(--mshop-accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mshop-auth .mshop-auth__submit.button:hover {
  background: var(--mshop-accent-dark);
  color: #fff;
}

.mshop-auth .mshop-auth__submit.button.mshop-auth__submit--ghost {
  background: #fff;
  color: var(--mshop-accent);
  border: 1.5px solid var(--mshop-accent);
}

.mshop-auth .mshop-auth__submit.button.mshop-auth__submit--ghost:hover {
  background: rgba(225, 29, 72, 0.06);
  color: var(--mshop-accent-dark);
}

.mshop-auth .mshop-auth__submit.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.mshop-auth__notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--mshop-canvas);
  color: #5f6676;
  font-size: 12px;
  line-height: 1.9;
}

.mshop-otp__error {
  margin: -6px 0 14px;
  color: #b32d2e;
  font-size: 12px;
  font-weight: 700;
}

.mshop-otp__sent-to {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--mshop-canvas);
  color: #343b4b;
  font-size: 12.5px;
}

.mshop-otp__code-input {
  letter-spacing: 6px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.mshop-otp__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 0;
}

.mshop-otp__link {
  border: 0;
  background: transparent;
  padding: 4px;
  color: var(--mshop-accent);
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.mshop-otp__link:disabled {
  color: #98a1b3;
  cursor: not-allowed;
}

.mshop-otp__link[data-otp-edit-phone] {
  color: #5f6676;
}

@media (max-width: 900px) {
  .cart-collaterals {
    grid-template-columns: 1fr;
  }

  .cart-collaterals .cart_totals {
    grid-column: 1;
  }

  form.checkout {
    grid-template-columns: 1fr;
  }

  #order_review_heading,
  #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  body.woocommerce-account .mshop-entry-content {
    flex-direction: column;
  }

  .woocommerce-MyAccount-navigation {
    flex-basis: auto;
    width: 100%;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .woocommerce-MyAccount-navigation li {
    margin-bottom: 0;
  }

  .woocommerce-Addresses.col2-set,
  .col2-set#customer_login {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .woocommerce-cart-form table.cart thead {
    display: none;
  }

  .woocommerce-cart-form table.cart,
  .woocommerce-cart-form table.cart tbody,
  .woocommerce-cart-form table.cart tr,
  .woocommerce-cart-form table.cart td {
    display: block;
    width: 100%;
  }

  .woocommerce-cart-form table.cart tr {
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f4;
  }

  .woocommerce-cart-form table.cart td {
    padding: 6px 0;
  }

  .woocommerce-cart-form .coupon #coupon_code {
    flex-basis: 100%;
  }

  .woocommerce-cart-form .actions > button[name="update_cart"] {
    margin-inline-start: 0;
  }

  #order_review .mshop-product-trust-grid {
    grid-template-columns: 1fr;
  }

  ul.woocommerce-order-overview {
    grid-template-columns: 1fr;
  }

  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table,
  .woocommerce-orders-table tbody,
  .woocommerce-orders-table tr,
  .woocommerce-orders-table td {
    display: block;
    width: 100%;
  }

  .woocommerce-orders-table tr {
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f4;
  }

  .woocommerce-orders-table td {
    padding: 6px 0;
  }

  .woocommerce-orders-table__cell-order-actions {
    justify-content: flex-start;
  }

  .woocommerce-EditAccountForm,
  .woocommerce-address-fields,
  .woocommerce-ResetPassword,
  .woocommerce-lost-password {
    padding: 18px;
  }

  .mshop-auth__card {
    border-radius: 16px;
  }

  .mshop-auth__panel {
    padding: 20px 16px 22px;
  }

  .mshop-auth__cols {
    grid-template-columns: 1fr;
  }

  .mshop-otp__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
