/* Klasyczne strony procesu zakupowego WooCommerce w stylistyce Single Party. */

.sp-commerce-body {
  --sp-commerce-ink: #101522;
  --sp-commerce-navy: #273f5b;
  --sp-commerce-gold: #d6b477;
  --sp-commerce-coral: #e83e62;
  --sp-commerce-cream: #f7f4ef;
  --sp-commerce-border: #e6ddd1;
  --sp-commerce-muted: #69646d;
  --sp-commerce-admin-offset: 0px;
  overflow-x: clip;
  color: var(--sp-commerce-ink);
  background: var(--sp-commerce-cream);
}

.sp-commerce-body *,
.sp-commerce-body *::before,
.sp-commerce-body *::after {
  box-sizing: border-box;
}

.sp-commerce-page {
  width: 100%;
  min-width: 0;
  padding-top: calc(var(--sp-shared-header-height, 100px) + var(--sp-commerce-admin-offset));
  overflow: clip;
  background:
    radial-gradient(circle at 8% 16%, rgb(214 180 119 / 18%), transparent 25rem),
    linear-gradient(180deg, #fff 0, var(--sp-commerce-cream) 31rem);
}

.sp-commerce-hero {
  padding: clamp(46px, 7vw, 86px) 20px clamp(34px, 5vw, 58px);
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgb(232 62 98 / 30%), transparent 27rem),
    radial-gradient(circle at 14% 100%, rgb(214 180 119 / 18%), transparent 25rem),
    linear-gradient(145deg, #101522, #1b2b40 72%, #273f5b);
}

.sp-commerce-hero__inner,
.sp-commerce-shell {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.sp-commerce-hero__eyebrow {
  margin: 0 0 13px;
  color: var(--sp-commerce-gold);
  font: 900 12px/1.2 Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sp-commerce-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
}

.sp-commerce-hero__lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #e7eaf0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.sp-commerce-steps {
  display: flex;
  max-width: 720px;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.sp-commerce-steps a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  color: #fff;
  background: rgb(255 255 255 / 8%);
  font: 800 12px/1.2 Arial, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .2s, background-color .2s, transform .2s;
}

.sp-commerce-steps a:hover,
.sp-commerce-steps a:focus-visible {
  border-color: var(--sp-commerce-gold);
  background: rgb(255 255 255 / 14%);
  transform: translateY(-2px);
}

.sp-commerce-steps a[aria-current] {
  border-color: var(--sp-commerce-coral);
  background: var(--sp-commerce-coral);
  box-shadow: 0 10px 28px rgb(232 62 98 / 28%);
}

.sp-commerce-steps span {
  display: grid;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: var(--sp-commerce-ink);
  background: #fff;
  font-size: 12px;
  place-items: center;
}

.sp-commerce-shell {
  padding: clamp(28px, 5vw, 58px) 20px clamp(64px, 8vw, 108px);
}

.sp-commerce-content {
  min-width: 0;
  min-height: 260px;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--sp-commerce-border);
  border-radius: 22px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 24px 70px rgb(39 63 91 / 12%);
}

.sp-commerce-content .woocommerce,
.sp-commerce-content .woocommerce-page,
.sp-commerce-content form,
.sp-commerce-content fieldset,
.sp-commerce-content table,
.sp-commerce-content .col2-set,
.sp-commerce-content .cart-collaterals,
.sp-commerce-content #order_review,
.sp-commerce-content #customer_details {
  min-width: 0;
  max-width: 100%;
}

.sp-commerce-content h2,
.sp-commerce-content h3 {
  color: var(--sp-commerce-ink);
  line-height: 1.15;
}

.sp-commerce-content h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.sp-commerce-content h3 {
  font-size: clamp(20px, 3vw, 27px);
}

.sp-commerce-content a {
  color: var(--sp-commerce-coral);
  text-underline-offset: 3px;
}

/* Komunikaty systemowe WooCommerce. */
.sp-commerce-content .woocommerce-message,
.sp-commerce-content .woocommerce-info,
.sp-commerce-content .woocommerce-error {
  width: 100%;
  margin: 0 0 24px;
  padding: 18px 20px 18px 52px;
  overflow-wrap: anywhere;
  border: 1px solid #eadfe5;
  border-top: 0;
  border-left: 5px solid var(--sp-commerce-coral);
  border-radius: 12px;
  color: var(--sp-commerce-ink);
  background: #fff7fa;
  box-shadow: 0 10px 24px rgb(39 63 91 / 7%);
  line-height: 1.55;
}

.sp-commerce-content .woocommerce-message::before,
.sp-commerce-content .woocommerce-info::before,
.sp-commerce-content .woocommerce-error::before {
  top: 18px;
  left: 20px;
  color: var(--sp-commerce-coral);
}

.sp-commerce-content .woocommerce-error {
  border-left-color: #b3263e;
  background: #fff1f3;
}

/* Pola i przyciski wspólne. */
.sp-commerce-content label {
  color: #2d3340;
  font-weight: 800;
  line-height: 1.4;
}

.sp-commerce-content .required {
  color: var(--sp-commerce-coral);
}

.sp-commerce-content input.input-text,
.sp-commerce-content input[type='email'],
.sp-commerce-content input[type='password'],
.sp-commerce-content input[type='tel'],
.sp-commerce-content input[type='text'],
.sp-commerce-content textarea,
.sp-commerce-content select,
.sp-commerce-content .select2-container .select2-selection--single {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d8cfc4;
  border-radius: 9px;
  color: var(--sp-commerce-ink);
  background: #fff;
  font: inherit;
  line-height: 1.35;
  box-shadow: inset 0 1px 2px rgb(16 21 34 / 3%);
  transition: border-color .2s, box-shadow .2s;
}

.sp-commerce-content textarea {
  min-height: 120px;
  resize: vertical;
}

.sp-commerce-content input:focus,
.sp-commerce-content textarea:focus,
.sp-commerce-content select:focus,
.sp-commerce-content .select2-container--focus .select2-selection--single {
  border-color: var(--sp-commerce-coral);
  outline: 0;
  box-shadow: 0 0 0 4px rgb(232 62 98 / 12%);
}

.sp-commerce-content .select2-container .select2-selection--single {
  padding: 0 40px 0 14px;
}

.sp-commerce-content .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 50px;
}

.sp-commerce-content .select2-container .select2-selection--single .select2-selection__arrow {
  top: 13px;
  right: 10px;
}

.sp-commerce-content .button,
.sp-commerce-content button.button,
.sp-commerce-content input.button,
.sp-commerce-content a.button,
.sp-commerce-content #place_order {
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid var(--sp-commerce-coral);
  border-radius: 6px;
  color: #fff;
  background: var(--sp-commerce-coral);
  font: 900 12px/1.2 Arial, sans-serif;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgb(232 62 98 / 23%);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}

.sp-commerce-content .button:hover,
.sp-commerce-content .button:focus-visible,
.sp-commerce-content button.button:hover,
.sp-commerce-content button.button:focus-visible,
.sp-commerce-content #place_order:hover,
.sp-commerce-content #place_order:focus-visible {
  border-color: #f04a6d;
  color: #fff;
  background: #f04a6d;
  transform: translateY(-2px);
}

.sp-commerce-content button.button:disabled,
.sp-commerce-content button.button:disabled[disabled] {
  color: #777;
  background: #e9e6e2;
  border-color: #e9e6e2;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Klasyczny koszyk. */
.woocommerce-cart .sp-commerce-content > .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .68fr);
  gap: 28px;
  align-items: start;
}

.woocommerce-cart .sp-commerce-content > .woocommerce > * {
  grid-column: 1 / -1;
}

.woocommerce-cart .sp-commerce-content > .woocommerce > .woocommerce-cart-form {
  grid-column: 1;
}

.woocommerce-cart .sp-commerce-content > .woocommerce > .cart-collaterals {
  grid-column: 2;
}

.sp-commerce-content table.shop_table {
  width: 100%;
  margin: 0;
  border: 1px solid var(--sp-commerce-border);
  border-spacing: 0;
  border-collapse: separate;
  border-radius: 14px;
  background: #fff;
}

.sp-commerce-content table.shop_table th,
.sp-commerce-content table.shop_table td {
  padding: 16px 14px;
  border-right: 0;
  border-bottom-color: #eee7df;
}

.sp-commerce-content table.shop_table th {
  color: #464c57;
  background: #faf7f3;
  font: 900 11px/1.25 Arial, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sp-commerce-content table.shop_table td {
  overflow-wrap: anywhere;
  color: var(--sp-commerce-ink);
  vertical-align: middle;
}

.sp-commerce-content table.shop_table tr:last-child td {
  border-bottom: 0;
}

.sp-commerce-content .woocommerce-cart-form__cart-item .product-thumbnail img {
  width: 82px;
  border-radius: 9px;
}

.sp-commerce-content .product-name a {
  color: var(--sp-commerce-ink);
  font-weight: 900;
  text-decoration: none;
}

.sp-commerce-content .product-remove a.remove {
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid #f0ccd5;
  border-radius: 50%;
  color: var(--sp-commerce-coral) !important;
  background: #fff7fa;
  font-size: 20px;
  line-height: 1;
  place-items: center;
}

.sp-commerce-content .product-remove a.remove:hover {
  color: #fff !important;
  background: var(--sp-commerce-coral);
}

.sp-commerce-content .quantity .qty {
  width: 82px;
  min-height: 48px;
  padding: 8px;
  border: 1px solid #d8cfc4;
  border-radius: 8px;
  color: var(--sp-commerce-ink);
  background: #fff;
  font-weight: 900;
  text-align: center;
}

.sp-commerce-content td.actions {
  padding: 18px !important;
  background: #faf7f3;
}

.sp-commerce-content td.actions .coupon {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sp-commerce-content td.actions .coupon .input-text {
  width: min(240px, 100%);
  min-height: 50px;
  margin: 0;
}

.sp-commerce-content .cart-collaterals,
.sp-commerce-content .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
}

.sp-commerce-content .cart_totals {
  padding: 24px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgb(232 62 98 / 26%), transparent 16rem),
    var(--sp-commerce-ink);
  box-shadow: 0 18px 44px rgb(16 21 34 / 19%);
}

.sp-commerce-content .cart_totals h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 28px;
}

.sp-commerce-content .cart_totals table.shop_table {
  border-color: rgb(255 255 255 / 14%);
  color: #fff;
  background: transparent;
}

.sp-commerce-content .cart_totals table.shop_table th,
.sp-commerce-content .cart_totals table.shop_table td {
  color: #fff;
  background: transparent;
  border-bottom-color: rgb(255 255 255 / 13%);
}

.sp-commerce-content .wc-proceed-to-checkout {
  padding: 20px 0 0;
}

.sp-commerce-content .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 13px;
}

.sp-commerce-content .cart-empty,
.sp-commerce-content .return-to-shop,
.sp-commerce-content .woocommerce-notices-wrapper:empty + .cart-empty {
  text-align: center;
}

.sp-commerce-content .cart-empty {
  margin: 28px auto 22px;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
}

.sp-commerce-content .return-to-shop .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Klasyczny checkout. */
.sp-commerce-content .woocommerce-form-coupon-toggle,
.sp-commerce-content .woocommerce-form-login-toggle {
  margin-bottom: 18px;
}

.sp-commerce-content form.checkout_coupon,
.sp-commerce-content form.login,
.sp-commerce-content form.register {
  margin: 0 0 26px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--sp-commerce-border);
  border-radius: 14px;
  background: #faf7f3;
}

.woocommerce-checkout .sp-commerce-content form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 0 30px;
  align-items: start;
}

.woocommerce-checkout .sp-commerce-content #customer_details {
  grid-column: 1;
  grid-row: 1;
}

.woocommerce-checkout .sp-commerce-content #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0 0 15px;
}

.woocommerce-checkout .sp-commerce-content #order_review {
  position: sticky;
  top: calc(var(--sp-shared-header-height, 100px) + var(--sp-commerce-admin-offset) + 20px);
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin-top: 54px;
  padding: 22px;
  border: 1px solid var(--sp-commerce-border);
  border-radius: 16px;
  background: #faf7f3;
  box-shadow: 0 16px 38px rgb(39 63 91 / 10%);
}

.sp-commerce-content .col2-set .col-1,
.sp-commerce-content .col2-set .col-2 {
  float: none;
  width: 100%;
}

.sp-commerce-content .woocommerce-billing-fields,
.sp-commerce-content .woocommerce-additional-fields {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--sp-commerce-border);
  border-radius: 16px;
  background: #fff;
}

.sp-commerce-content .woocommerce-additional-fields {
  margin-top: 22px;
}

.sp-commerce-content .woocommerce-billing-fields > h3,
.sp-commerce-content .woocommerce-additional-fields > h3 {
  margin-top: 0;
}

.sp-commerce-content form .form-row {
  margin: 0 0 17px;
  padding: 0;
}

.sp-commerce-content .woocommerce-checkout-review-order-table {
  margin-bottom: 20px !important;
}

.sp-commerce-content #payment {
  border-radius: 12px;
  color: #fff;
  background: var(--sp-commerce-ink);
}

.sp-commerce-content #payment ul.payment_methods {
  padding: 20px;
  border-bottom-color: rgb(255 255 255 / 14%);
}

.sp-commerce-content #payment div.payment_box {
  color: var(--sp-commerce-ink);
  background: #fff;
}

.sp-commerce-content #payment div.payment_box::before {
  border-bottom-color: #fff;
}

.sp-commerce-content #payment .place-order {
  padding: 20px;
}

.sp-commerce-content #payment .woocommerce-privacy-policy-text,
.sp-commerce-content #payment .woocommerce-terms-and-conditions-wrapper {
  color: #d8dce3;
  line-height: 1.6;
}

.sp-commerce-content #payment #place_order {
  float: none;
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
}

/* Klasyczne Moje konto. */
.woocommerce-account .sp-commerce-content .woocommerce::after {
  display: table;
  clear: both;
  content: '';
}

.sp-commerce-content .woocommerce-MyAccount-navigation {
  float: left;
  width: 26%;
  padding: 14px;
  border-radius: 15px;
  background: var(--sp-commerce-ink);
  box-shadow: 0 16px 38px rgb(16 21 34 / 16%);
}

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

.sp-commerce-content .woocommerce-MyAccount-navigation li + li {
  margin-top: 4px;
}

.sp-commerce-content .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.sp-commerce-content .woocommerce-MyAccount-navigation a:hover,
.sp-commerce-content .woocommerce-MyAccount-navigation a:focus-visible,
.sp-commerce-content .woocommerce-MyAccount-navigation .is-active a {
  color: #fff;
  background: var(--sp-commerce-coral);
}

.sp-commerce-content .woocommerce-MyAccount-content {
  float: right;
  width: 70%;
  line-height: 1.7;
}

.sp-commerce-content .woocommerce-MyAccount-content > :first-child {
  margin-top: 0;
}

.sp-commerce-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sp-commerce-content .woocommerce-Addresses .col-1,
.sp-commerce-content .woocommerce-Addresses .col-2 {
  float: none;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--sp-commerce-border);
  border-radius: 12px;
}

.sp-commerce-content .woocommerce-form-login,
.sp-commerce-content .woocommerce-form-register,
.sp-commerce-content .lost_reset_password {
  width: min(620px, 100%);
  margin-inline: auto;
}

.sp-commerce-content .woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.sp-commerce-content .woocommerce-form-login input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--sp-commerce-coral);
}

.sp-commerce-content .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
}

.sp-commerce-content .woocommerce-order-overview li {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--sp-commerce-border);
  border-radius: 10px;
  overflow-wrap: anywhere;
}

@media (min-width: 783px) {
  .sp-commerce-body.admin-bar {
    --sp-commerce-admin-offset: 32px;
  }

  .sp-commerce-body.admin-bar header > nav {
    top: 32px;
  }
}

@media (max-width: 900px) {
  .woocommerce-cart .sp-commerce-content > .woocommerce,
  .woocommerce-checkout .sp-commerce-content form.checkout {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-cart .sp-commerce-content > .woocommerce > .woocommerce-cart-form,
  .woocommerce-cart .sp-commerce-content > .woocommerce > .cart-collaterals,
  .woocommerce-checkout .sp-commerce-content #customer_details,
  .woocommerce-checkout .sp-commerce-content #order_review_heading,
  .woocommerce-checkout .sp-commerce-content #order_review {
    grid-column: 1;
  }

  .woocommerce-checkout .sp-commerce-content #customer_details {
    grid-row: auto;
  }

  .woocommerce-checkout .sp-commerce-content #order_review_heading {
    grid-row: auto;
    margin-top: 28px;
  }

  .woocommerce-checkout .sp-commerce-content #order_review {
    position: static;
    grid-row: auto;
    margin-top: 0;
  }
}

@media (max-width: 782px) {
  .sp-commerce-body.admin-bar {
    --sp-commerce-admin-offset: 46px;
  }

  .sp-commerce-body.admin-bar header > nav {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .sp-commerce-hero {
    padding-inline: 16px;
  }

  .sp-commerce-hero h1 {
    font-size: clamp(40px, 14vw, 62px);
  }

  .sp-commerce-steps {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sp-commerce-steps a {
    width: 100%;
  }

  .sp-commerce-shell {
    padding: 18px 12px 68px;
  }

  .sp-commerce-content {
    padding: 16px;
    border-radius: 14px;
  }

  .sp-commerce-content table.shop_table_responsive,
  .sp-commerce-content table.shop_table_responsive tbody,
  .sp-commerce-content table.shop_table_responsive tr {
    display: block;
    width: 100%;
  }

  .sp-commerce-content table.shop_table_responsive tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--sp-commerce-border);
    border-radius: 12px;
    background: #fff;
  }

  .sp-commerce-content table.shop_table_responsive thead {
    display: none;
  }

  .sp-commerce-content table.shop_table_responsive tr td {
    display: grid;
    width: 100%;
    min-height: 48px;
    grid-template-columns: minmax(90px, .75fr) minmax(0, 1.25fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px !important;
    border: 0;
    border-bottom: 1px solid #eee7df;
    text-align: right !important;
  }

  .sp-commerce-content table.shop_table_responsive tr td:last-child {
    border-bottom: 0;
  }

  .sp-commerce-content table.shop_table_responsive tr td::before {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #5e6169;
    font: 900 10px/1.3 Arial, sans-serif;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
  }

  .sp-commerce-content table.shop_table_responsive .product-thumbnail {
    display: none;
  }

  .sp-commerce-content table.shop_table_responsive .product-remove {
    display: flex;
    min-height: 0;
    justify-content: flex-end;
    padding: 10px 12px 0 !important;
    border-bottom: 0;
  }

  .sp-commerce-content table.shop_table_responsive .product-remove::before {
    display: none;
  }

  .sp-commerce-content table.shop_table_responsive .product-remove a.remove {
    margin-left: auto;
  }

  .sp-commerce-content table.shop_table_responsive .product-name {
    grid-template-columns: 1fr;
    text-align: left !important;
  }

  .sp-commerce-content table.shop_table_responsive .product-name::before {
    display: none;
  }

  .sp-commerce-content td.actions {
    display: block !important;
    padding: 14px !important;
  }

  .sp-commerce-content td.actions::before {
    display: none;
  }

  .sp-commerce-content td.actions .coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .sp-commerce-content td.actions .coupon .input-text,
  .sp-commerce-content td.actions .coupon .button,
  .sp-commerce-content td.actions > .button {
    width: 100%;
  }

  .sp-commerce-content td.actions > .button {
    margin-top: 10px;
  }

  .sp-commerce-content .cart_totals {
    padding: 18px;
  }

  .sp-commerce-content .cart_totals table.shop_table_responsive tr {
    border-color: rgb(255 255 255 / 14%);
    background: transparent;
  }

  .sp-commerce-content .cart_totals table.shop_table_responsive tr td::before {
    color: #d8dce3;
  }

  .sp-commerce-content .form-row-first,
  .sp-commerce-content .form-row-last {
    float: none;
    width: 100%;
  }

  .sp-commerce-content .woocommerce-billing-fields,
  .sp-commerce-content .woocommerce-additional-fields,
  .woocommerce-checkout .sp-commerce-content #order_review {
    padding: 16px;
  }

  .sp-commerce-content .woocommerce-MyAccount-navigation,
  .sp-commerce-content .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }

  .sp-commerce-content .woocommerce-MyAccount-navigation {
    margin-bottom: 22px;
    overflow-x: auto;
  }

  .sp-commerce-content .woocommerce-MyAccount-navigation ul {
    display: flex;
    width: max-content;
    gap: 4px;
  }

  .sp-commerce-content .woocommerce-MyAccount-navigation li + li {
    margin-top: 0;
  }

  .sp-commerce-content .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
  }

  .sp-commerce-content .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .sp-commerce-hero {
    padding-top: 38px;
  }

  .sp-commerce-content .woocommerce-message,
  .sp-commerce-content .woocommerce-info,
  .sp-commerce-content .woocommerce-error {
    padding: 46px 15px 15px;
  }

  .sp-commerce-content .woocommerce-message::before,
  .sp-commerce-content .woocommerce-info::before,
  .sp-commerce-content .woocommerce-error::before {
    top: 15px;
    left: 15px;
  }

  .sp-commerce-content table.shop_table th,
  .sp-commerce-content table.shop_table td {
    padding-inline: 10px;
  }
}
