body:has(.mash-store) #slime-skip-link,
body:has(.mash-store) > a.skip-link {
  display: none;
}

.mash-store {
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.mash-store .woocommerce,
.mash-store #mash-cart,
.mash-store #mash-checkout {
  min-width: 0;
}

.mash-store .mash-buy .variations {
  width: 100%;
  margin: 0 0 12px;
}

.mash-store .mash-buy input.qty,
.mash-store .woocommerce input.input-text,
.mash-store .woocommerce select,
.mash-store .woocommerce textarea,
.mash-store .select2-selection {
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid var(--hair);
  border-radius: 0;
  background: var(--warm);
  color: var(--ink);
}

.mash-store .mash-buy input.qty {
  width: 72px;
}

.mash-store .mash-buy .quantity {
  display: inline-block;
  margin-right: 8px;
}

.mash-store .mash-buy .button,
.mash-store .woocommerce a.button,
.mash-store .woocommerce button.button,
.mash-store .woocommerce input.button,
.mash-store #payment button.button {
  background: var(--pine);
  color: var(--warm);
  border: 1px solid var(--pine);
  border-radius: 0;
  min-height: 44px;
  font-weight: 700;
}

.mash-store .mash-buy .button:hover,
.mash-store .woocommerce .button:hover {
  background: var(--ink);
  color: var(--warm);
}

.mash-store .mash-variation-ready .variations {
  margin: 4px 0 13px;
}

.mash-store .mash-variation-ready .variations th,
.mash-store .mash-variation-ready .variations select {
  display: none;
}

.mash-store .woocommerce-variation-price {
  display: block;
  font-weight: 700;
  margin: 0 0 8px;
}

.mash-store :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
  background: var(--pane);
  border: 0;
  border-left: 3px solid var(--pine);
  padding: 10px 12px;
  margin: 0 0 14px;
  color: var(--ink);
}

.mash-store :is(.woocommerce-error, .woocommerce-info, .woocommerce-message)::before {
  display: none;
}

.mash-store .woocommerce .cart_totals,
.mash-store #order_review,
.mash-store #order_review_heading,
.mash-store .woocommerce-checkout #payment {
  background: var(--pane);
  color: var(--ink);
}

.mash-store :is(.woocommerce .cart_totals, #order_review, #order_review_heading) {
  padding: 14px;
}

.mash-store #mash-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .53fr);
  column-gap: clamp(15px, 4.7vw, 65px);
  align-items: start;
}

.mash-store #mash-checkout #customer_details {
  grid-area: 1 / 1 / span 3;
  float: none;
  width: auto;
}

.mash-store #mash-checkout #customer_details > div {
  width: 100%;
  float: none;
}

.mash-store #mash-checkout #order_review_heading {
  grid-column: 2;
  margin: 0;
}

.mash-store #mash-checkout #order_review {
  grid-column: 2;
}

.mash-store .woocommerce form label {
  font-weight: 700;
}

.mash-store .woocommerce table.shop_table {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mash-store .woocommerce table.shop_table td {
  border-top: 1px solid var(--hair);
}

.mash-store .woocommerce .cart-empty {
  font: 700 clamp(38px, 5vw, 70px)/.96 var(--title);
  margin-top: 12px;
}

.mash-store #mash-account .woocommerce form {
  border: 0;
  padding: 0;
}

@media (max-width: 720px) {
  .mash-store #mash-checkout form.checkout {
    display: block;
  }

  .mash-store #mash-account .woocommerce-MyAccount-navigation,
  .mash-store #mash-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }
}

.mash-store .mash-buy .length-picker {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 5px;
}

.mash-store .mash-length-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 67px;
  min-height: 44px;
  border: 1px solid var(--hair);
  padding: 4px 10px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.mash-store .mash-length-choice:hover {
  border-color: var(--pine);
}

.mash-store .mash-length-choice[aria-pressed="true"] {
  border-color: var(--pine);
  background: var(--pine);
  color: var(--warm);
}

.mash-store #mash-cart .woocommerce:has(.woocommerce-cart-form) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .48fr);
  align-items: start;
  column-gap: clamp(15px, 4.7vw, 65px);
}

.mash-store #mash-cart .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

.mash-store #mash-cart .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  border-top: 3px solid var(--pine);
  padding: clamp(13px, 3vw, 29px);
}

.mash-store #mash-cart .cart_totals h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 9px;
}

.mash-store #mash-cart .shop_table .product-price {
  font-family: inherit;
  font-size: inherit;
  margin: 0;
}

.mash-store #mash-cart .product-thumbnail img {
  width: 78px;
  max-width: none;
  height: 78px;
  object-fit: contain;
  background: var(--pane);
  mix-blend-mode: multiply;
}

.mash-store #mash-cart .coupon #coupon_code {
  min-height: 44px;
  width: 125px;
}

.mash-store #mash-checkout .mobile-order-link {
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 760px) {
  .mash-store #mash-cart .woocommerce:has(.woocommerce-cart-form) {
    display: block;
  }

  .mash-store #mash-cart .shop_table_responsive tr td.product-thumbnail {
    display: block;
    padding: 7px 12px;
    text-align: left !important;
  }

  .mash-store #mash-cart .shop_table_responsive td.product-thumbnail::before {
    display: none;
  }

  .mash-store #mash-cart .product-thumbnail img {
    width: 70px;
    height: 80px;
  }

  .mash-store #mash-cart .cart-collaterals .cart_totals {
    margin-top: 16px;
  }

  .mash-store #mash-account .woocommerce-MyAccount-navigation {
    margin-bottom: 12px;
  }

  .mash-store #mash-account .woocommerce-MyAccount-navigation ul {
    margin-block: 0;
  }

  .mash-store #mash-account .woocommerce :is(.form-row, p:not(.woocommerce-info)) {
    margin-block: 0 8px;
  }

  .mash-store #mash-checkout .mobile-order-link {
    margin-bottom: 12px;
  }

  .mash-store #mash-checkout :is(.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info) {
    margin-bottom: 12px;
  }

  .mash-store #mash-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) h3 {
    margin-block: 0 8px;
  }

  .mash-store #mash-checkout form.checkout .form-row {
    margin-block: 0 8px;
    padding: 0;
  }
}
