/* ==========================================================================
   MarginMints — WooCommerce layer.
   Styles WooCommerce's own markup to match the approved black/white minimal
   design (gold #C9A227 accent only). The theme dequeues WooCommerce's
   default stylesheets and relies on this file + style.css.
   No product data, prices or images are hardcoded anywhere in the theme.
   ========================================================================== */

/* ---- Sale badge -------------------------------------------------------- */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 6px 11px;
  background: var(--gold);
  color: #111111;
  border-radius: 999px;
  font: 800 .68rem/1.2 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---- Notices ----------------------------------------------------------- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notice {
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  background: #FFFDF8;
  color: var(--deep);
  border-radius: 0 10px 10px 0;
  padding: 15px 19px;
  margin: 0 0 25px;
  font-size: .88rem;
  list-style: none;
}
.woocommerce-error { border-left-color: #9B2C2C; background: #FDF6F6; }
.woocommerce-message a,
.woocommerce-info a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before { display: none; }

/* ---- Buttons (WooCommerce markup, MarginMints look) -------------------- */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.added_to_cart {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 49px;
  padding: 13px 22px;
  background: var(--deep);
  color: #FFFEF8;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 750 .88rem/1.2 var(--sans);
  letter-spacing: .015em;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #5A5A5A;
  box-shadow: 0 8px 20px rgba(66, 66, 66, .17);
  transform: translateY(-2px);
  color: #FFFEF8;
}
.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce a.button.disabled {
  background: #D2D2D2;
  color: #6A6A6A;
  transform: none;
  box-shadow: none;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--deep);
  color: #FFFEF8;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: #5A5A5A; color: #FFFEF8; }

/* ---- Prices ------------------------------------------------------------ */
.woocommerce .price,
.woocommerce ul.products li.product .price {
  color: var(--deep);
  font-weight: 850;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  line-height: 1.3;
}
.woocommerce .price del,
.woocommerce ul.products li.product .price del {
  font-size: .89rem;
  font-weight: 500;
  color: #707070;
  opacity: 1;
}
.woocommerce .price ins,
.woocommerce ul.products li.product .price ins {
  font-weight: 850;
  color: #404040;
  font-size: 1.28rem;
  text-decoration: none;
  background: transparent;
}
.woocommerce .price .woocommerce-Price-currencySymbol { font-size: .85em; }

/* ---- Product grid (shop / archives / related) -------------------------- */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  clear: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -.012em;
  line-height: 1.38;
  color: var(--deep);
  padding: 0;
  margin: 0 0 8px;
}
.woocommerce ul.products li.product a img {
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.woocommerce ul.products li.product .button { margin-top: 0; }

/* ---- Product card (shared with the static .product-card design) -------- */
.mm-product-card > a.woocommerce-LoopProduct-link { display: block; }
.mm-product-card .product-art { position: relative; aspect-ratio: 4 / 3; padding: 0; }
.mm-product-card .product-art a { display: block; height: 100%; }
.mm-product-card .product-art img { width: 100%; height: 100%; object-fit: cover; }
.mm-product-card .product-category {
  font-size: .68rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .12em;
  color: #868686;
  margin: 0 0 7px;
}
.mm-product-card .product-meta {
  color: #757575;
  font-size: .78rem;
  margin-bottom: 11px;
  line-height: 1.48;
}
.mm-product-card .licence-line {
  font-size: .7rem;
  line-height: 1.35;
  color: #5C5C5C;
  margin: 12px 0 13px;
}
.mm-product-card .star-rating { display: none; }

/* ---- Breadcrumb / result count / ordering ------------------------------ */
.woocommerce .woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  font-size: .78rem;
  color: #7A7A7A;
  margin: 0 0 30px;
}
.woocommerce .woocommerce-breadcrumb a:hover { color: #8F712B; text-decoration: underline; }
.woocommerce .woocommerce-result-count {
  margin: 0;
  font-size: .84rem;
  color: #6E6E6E;
  float: none;
}
.woocommerce .woocommerce-ordering {
  float: none;
  margin: 0;
}
.woocommerce .woocommerce-ordering select {
  min-height: 46px;
  padding: 10px 33px 10px 12px;
  background: #FFFDF9;
  border: 1px solid #BABABA;
  color: var(--deep);
  border-radius: 8px;
  font-size: .85rem;
}
.woocommerce nav.woocommerce-pagination { margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce nav.woocommerce-pagination ul li { border: 0; overflow: visible; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #D6D6D6;
  border-radius: 8px;
  color: var(--deep);
  font-weight: 750;
  font-size: .88rem;
  background: #FFFFFF;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--deep);
  color: #FFFFFF;
  border-color: var(--deep);
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--sage-light);
  color: var(--deep);
}

/* ---- Forms ------------------------------------------------------------- */
.woocommerce form .form-row { padding: 0; margin-bottom: 16px; }
.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  color: #4C4C4C;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.4;
}
.woocommerce form .form-row label .required { color: #9B2C2C; text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection {
  width: 100%;
  background: #FFFEFC;
  border: 1px solid #CCCCCC;
  border-radius: 7px;
  color: var(--ink);
  padding: 13px 15px;
  min-height: 49px;
  font: inherit;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: #808080;
  outline: 2px solid #BBBBBB;
  outline-offset: 1px;
}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
  border-color: #9B2C2C;
}
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: #6E8B5E; }
.woocommerce form .form-row-first,
.woocommerce form .form-row-last { width: 48%; }
.woocommerce form .form-row-wide { clear: both; }
.woocommerce form .form-row .select2-container { width: 100% !important; }
.woocommerce form .form-row .select2-container .select2-selection { height: 49px; display: flex; align-items: center; }
.woocommerce form .form-row .select2-container .select2-selection__arrow { height: 47px; }

/* ---- Single product ---------------------------------------------------- */
.woocommerce div.product { position: relative; }
.woocommerce div.product .product_title {
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  margin-bottom: 13px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--serif);
  font-size: 2.15rem;
  color: var(--deep);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del { font: 400 1.12rem var(--sans); }
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins { font-size: 2.25rem; }
.woocommerce div.product .woocommerce-product-details__short-description p {
  font-size: 1.025rem;
  color: #5A5A5A;
  line-height: 1.8;
}
.woocommerce div.product form.cart { margin: 24px 0 29px; display: flex; gap: 12px; flex-wrap: wrap; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 220px; }
.woocommerce div.product form.cart div.quantity { display: none; } /* virtual products are sold individually (see functions.php) */
.woocommerce div.product .product_meta {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 24px;
  font-size: .85rem;
  color: #6D6D6D;
}
.woocommerce div.product .product_meta > span { display: block; margin: 4px 0; }
.woocommerce div.product .product_meta a { font-weight: 700; color: var(--deep); }
.woocommerce div.product .stock { color: #6E8B5E; font-weight: 700; }
.woocommerce div.product .woocommerce-product-gallery { position: relative; }
.woocommerce div.product div.images img { border-radius: 19px; }
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 13px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 100%; float: none; margin: 0; }
.woocommerce div.product div.images .flex-control-thumbs li img {
  border: 1px solid #DBDBDB;
  border-radius: 10px;
  opacity: .75;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
  opacity: 1;
  outline: 2px solid var(--sage);
  border-color: transparent;
}
.woocommerce div.product .woocommerce-tabs { clear: both; margin-top: 60px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid #D6D6D6;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 0;
  margin: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 9px 18px;
  font-size: .82rem;
  font-weight: 750;
  color: #525252;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--deep);
  border-color: var(--deep);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #FFFFFF; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 1.8rem; }
.woocommerce div.product .woocommerce-tabs table.shop_attributes {
  border: 1px solid #DADADA;
  border-radius: 13px;
  overflow: hidden;
}
.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
  border-top: 1px solid #E5E5E5;
  padding: 11px 15px;
  font-size: .9rem;
}
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:first-child th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:first-child td { border-top: 0; }
.woocommerce div.product .woocommerce-tabs table.shop_attributes th { color: #686868; font-weight: 700; width: 30%; }
.woocommerce div.product .woocommerce-tabs table.shop_attributes td p { margin: 0; color: var(--deep); }
.woocommerce .related.products,
.woocommerce .upsells.products { clear: both; margin-top: 70px; }
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 { font-size: 2rem; margin-bottom: 25px; }

/* Digital-download trust strip on single products */
.mm-digital-note {
  background: #EEEEEE;
  border-left: 3px solid #787878;
  padding: 16px 19px;
  border-radius: 0 8px 8px 0;
  margin: 25px 0;
  color: #444444;
  font-size: .86rem;
  font-weight: 690;
}
.mm-digital-note strong { color: var(--deep); }
.mm-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: .82rem;
  font-weight: 750;
  color: var(--deep);
}
.mm-trust-badges li { display: flex; align-items: center; gap: 8px; }
.mm-trust-badges li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ---- Cart -------------------------------------------------------------- */
.woocommerce table.shop_table {
  border: 1px solid #E0E0E0;
  border-radius: 15px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #FFFFFF;
  margin: 0 0 25px;
}
.woocommerce table.shop_table th {
  background: #F6F6F6;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5D5D5D;
  padding: 14px 18px;
  border-bottom: 1px solid #E5E5E5;
}
.woocommerce table.shop_table td {
  border-top: 1px solid #E5E5E5;
  padding: 22px 18px;
  vertical-align: middle;
}
.woocommerce table.shop_table tr:first-child td { border-top: 0; }
.woocommerce table.shop_table td.product-remove a.remove {
  color: #656565 !important;
  font-size: 1.4rem;
  font-weight: 400;
  width: 28px;
  height: 28px;
  line-height: 26px;
  border-radius: 50%;
}
.woocommerce table.shop_table td.product-remove a.remove:hover { background: #EFEFEF; color: #9B2C2C !important; }
.woocommerce table.shop_table td.product-thumbnail img { width: 85px; border-radius: 6px; border: 1px solid #D6D6D6; }
.woocommerce table.shop_table td.product-name a { font-weight: 750; color: var(--deep); line-height: 1.35; }
.woocommerce table.shop_table td.product-name a:hover { text-decoration: underline; }
.woocommerce table.shop_table td.product-name .variation { font-size: .78rem; color: #6E6E6E; }
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal { font-weight: 800; color: var(--deep); white-space: nowrap; }
/* The static design's .product-price is display:flex (product-card price row);
   inside a table it must stay a table cell or the header cell stops stretching. */
.woocommerce table.shop_table th.product-price,
.woocommerce table.shop_table td.product-price { display: table-cell; }
.woocommerce table.shop_table td.actions { padding: 18px; background: #FCFBF6; }
.woocommerce table.shop_table td.actions .coupon { display: flex; gap: 9px; flex-wrap: wrap; }
.woocommerce table.shop_table td.actions .coupon .input-text {
  min-width: 180px;
  min-height: 49px;
  padding: 13px 15px;
  border: 1px solid #CCCCCC;
  border-radius: 7px;
  background: #FFFEFC;
}
.woocommerce table.shop_table td.actions .button { min-height: 49px; }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  background: var(--cream);
  border: 1px solid #D9D9D9;
  border-radius: 17px;
  padding: 29px;
}
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 2rem; margin-bottom: 22px; }
.woocommerce .cart-collaterals .cart_totals table { border: 0; margin: 0; }
.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
  border-top: 1px solid #E5E5E5;
  padding: 14px 0;
  font-size: .92rem;
  background: transparent;
}
.woocommerce .cart-collaterals .cart_totals table tr:first-child th,
.woocommerce .cart-collaterals .cart_totals table tr:first-child td { border-top: 0; }
.woocommerce .cart-collaterals .cart_totals table td { text-align: right; font-weight: 800; color: var(--deep); }
.woocommerce .cart-collaterals .cart_totals .order-total th,
.woocommerce .cart-collaterals .cart_totals .order-total td {
  font-size: 1.13rem;
  font-weight: 800;
  border-top: 1px solid #D3D3D3;
}
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout { padding: 25px 0 0; }
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  width: 100%;
  margin: 0;
  font-size: .95rem;
}
.woocommerce .cart-collaterals .cross-sells { margin-top: 40px; }
.woocommerce .cart-collaterals .cross-sells > h2 { font-size: 1.8rem; margin-bottom: 20px; }
.woocommerce .cart-empty,
.woocommerce .return-to-shop { text-align: center; }
.woocommerce .cart-empty { font-size: 1.05rem; }
.woocommerce .woocommerce-shipping-totals td { font-size: .9rem; }

/* ---- Checkout ---------------------------------------------------------- */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details { margin-bottom: 30px; }
.woocommerce-checkout h3 { font-size: 1.8rem; margin-bottom: 18px; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { margin-bottom: 10px; }
.woocommerce-checkout .woocommerce-account-fields,
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 20px; }
.woocommerce-checkout #order_review_heading { font-size: 1.8rem; margin: 30px 0 18px; }
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
  border: 1px solid #D9D9D9;
  border-radius: 13px;
}
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table td { padding: 14px 18px; }
.woocommerce-checkout #payment {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 15px;
}
.woocommerce-checkout #payment ul.payment_methods {
  border: 0;
  padding: 22px 24px 0;
  list-style: none;
  margin: 0;
}
.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.6; list-style: none; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 750; color: var(--deep); }
.woocommerce-checkout #payment div.payment_box {
  background: #F3F3F3;
  border: 1px dashed #B6B6B6;
  border-radius: 12px;
  color: #555555;
  font-size: .88rem;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #B6B6B6; }
.woocommerce-checkout #payment div.form-row { padding: 22px 24px; }
.woocommerce-checkout #payment #place_order { width: 100%; font-size: .95rem; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 20px 0; }
.mm-waiver-box {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 24px 0 10px;
  padding: 17px 18px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--deep);
  font-size: .9rem;
}
.mm-waiver-box input { width: 18px; height: 18px; accent-color: var(--deep); flex: 0 0 auto; margin: 2px 0 0; }
.mm-waiver-box label { cursor: pointer; }

/* ---- My account -------------------------------------------------------- */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 26%; }
.woocommerce-account .woocommerce-MyAccount-content { width: 70%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  background: #FFFFFF;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active {
  background: var(--deep);
  border-color: var(--deep);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 16px;
  font-weight: 750;
  font-size: .88rem;
  color: var(--deep);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { color: #FFFFFF; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address { width: 100%; }
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 32px;
  margin: 0;
}
.woocommerce-account .woocommerce-form-login h2,
.woocommerce-account .woocommerce-form-register h2 { font-size: 1.8rem; }

/* ---- Misc WooCommerce -------------------------------------------------- */
.woocommerce .woocommerce-order { margin-bottom: 30px; }
.woocommerce ul.order_details {
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 20px 24px;
  margin: 0 0 30px;
}
.woocommerce ul.order_details li {
  border-right: 1px dashed #D6D6D6;
  margin-right: 2em;
  padding-right: 2em;
}
.woocommerce ul.order_details li:last-child { border-right: 0; }
.woocommerce .woocommerce-order-downloads table.shop_table { margin-top: 15px; }
.woocommerce .star-rating { color: var(--gold); }
.woocommerce .woocommerce-product-rating { display: none; } /* no real reviews yet — never show fake stars */
.woocommerce .comment-form-rating { display: none; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border: 1px solid var(--border); border-radius: 12px; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background: var(--deep); }
.woocommerce .widget_price_filter .price_slider_amount .button { min-height: 40px; padding: 10px 13px; font-size: .8rem; }

/* ---- Responsive: WooCommerce ------------------------------------------- */
@media (max-width: 1080px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last { width: 100%; float: none; }
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tbody tr {
    display: block;
    border-bottom: 1px solid #E5E5E5;
    padding: 10px 0;
  }
  .woocommerce table.shop_table_responsive tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 0;
    padding: 10px 16px;
    text-align: right;
  }
  .woocommerce table.shop_table_responsive tbody td::before {
    content: attr(data-title) ": ";
    font-weight: 750;
    color: var(--deep);
    text-align: left;
  }
  .woocommerce table.shop_table_responsive tbody td.product-remove { justify-content: flex-end; }
  .woocommerce table.shop_table_responsive tbody td.product-remove::before { display: none; }
  .woocommerce table.shop_table_responsive tbody td.product-thumbnail { justify-content: center; }
  .woocommerce table.shop_table_responsive tbody td.product-thumbnail::before { display: none; }
  /* Product cell holds a link + a detail line: keep them grouped on the right,
     stacked, instead of spread across the row by space-between. */
  .woocommerce table.shop_table_responsive tbody td.product-name { flex-wrap: wrap; align-items: flex-start; }
  .woocommerce table.shop_table_responsive tbody td.product-name a { margin-left: auto; text-align: right; }
  .woocommerce table.shop_table_responsive tbody td.product-name .cart-item-detail { flex-basis: 100%; text-align: right; margin: 2px 0 0; }
  .woocommerce table.shop_table_responsive tbody td.actions { display: block; }
  .woocommerce table.shop_table_responsive tbody td.actions::before { display: none; }
  .woocommerce table.shop_table_responsive tbody td.actions .coupon { flex-direction: column; }
  .woocommerce table.shop_table_responsive tbody td.actions .coupon .button { width: 100%; }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 25px; }
  .woocommerce ul.order_details li { border-right: 0; margin: 0 0 12px; padding: 0; display: block; }
}
@media (max-width: 450px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .woocommerce div.product form.cart .button { min-width: 0; width: 100%; }
  .woocommerce .cart-collaterals .cart_totals { padding: 22px 18px; }
  .woocommerce-account .woocommerce-form-login,
  .woocommerce-account .woocommerce-form-register { padding: 22px 18px; }
}
