/* WooCommerce skin + layout for marincamaj (dark / yellow brand) */

/* ========== Shell / Astra overrides ========== */
body.mc-woocommerce,
body.woocommerce,
body.woocommerce-page {
  background: #000 !important;
  color: #fff;
}

body.mc-woocommerce .site-content,
body.mc-woocommerce #content,
body.mc-woocommerce .content-area,
body.mc-woocommerce .site-main,
body.mc-woocommerce .ast-woocommerce-container,
body.mc-woocommerce .ast-container,
body.single-product .site-content,
body.single-product .ast-woocommerce-container {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  color: #fff !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.mc-woocommerce .ast-woocommerce-container {
  width: min(100% - 2rem, 1140px);
  margin: 0 auto;
  padding: 2.5rem 0 4rem !important;
}

/* ========== Notices ========== */
.woocommerce-notices-wrapper {
  margin-bottom: 1.25rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background: #131313 !important;
  color: #fff !important;
  border-top: 3px solid #ffc501 !important;
  border-radius: 8px;
  padding: 1rem 1.15rem !important;
  list-style: none;
}

.woocommerce-error {
  border-top-color: #e11d48 !important;
}

.woocommerce-message a,
.woocommerce-info a {
  color: #ffc501 !important;
}

/* ========== Buttons ========== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.single_add_to_cart_button,
.checkout-button,
.woocommerce-Button,
.woocommerce button.single_add_to_cart_button,
body.mc-woocommerce .button,
body.mc-woocommerce button.button,
body.mc-woocommerce a.button {
  background: #ffc501 !important;
  background-color: #ffc501 !important;
  color: #000 !important;
  border: 0 !important;
  border-radius: 30px !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  padding: 12px 28px !important;
  min-height: 48px;
  box-shadow: none !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover,
body.mc-woocommerce .button:hover,
body.mc-woocommerce button.button:hover,
body.mc-woocommerce a.button:hover {
  background: #ffc501 !important;
  color: #000 !important;
  filter: brightness(1.05);
}

.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce a.button.disabled,
.woocommerce button.button.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ========== Product loop / shop ========== */
/* Shop / category header title */
.woocommerce .woocommerce-products-header__title,
.woocommerce-products-header .woocommerce-products-header__title,
.woocommerce-products-header .page-title,
.tax-product_cat h1.page-title,
.tax-product_tag h1.page-title,
.post-type-archive-product h1.page-title {
  color: #ffc501 !important;
  font-family: "Oswald", "Poppins", system-ui, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  font-size: clamp(2rem, 4vw, 2.6rem) !important;
  line-height: 1.15 !important;
  margin: 0 0 1.25rem !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-breadcrumb {
  color: #9c9c9c !important;
  font-size: 14px;
  margin-bottom: 1rem;
}

.woocommerce .woocommerce-breadcrumb a {
  color: #ffc501 !important;
  text-decoration: none;
}

.woocommerce .woocommerce-ordering select {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 10px;
  min-height: 42px;
  padding: 0.45rem 0.75rem;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  background: #0f0f0f !important;
  border: 1px solid #222 !important;
  border-radius: 10px;
  overflow: hidden;
  padding: 0 0 1.1rem !important;
  text-align: left;
  position: relative;
}

.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: auto;
  margin: 0 0 0.9rem !important;
  display: block;
  border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 0 1rem !important;
  margin: 0 0 0.45rem !important;
  color: #fff !important;
  line-height: 1.35 !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  text-transform: none !important;
}

.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 1rem !important;
  margin: 0 0 0.85rem !important;
  color: #ffc501 !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
}

.woocommerce ul.products li.product .price del {
  color: #777 !important;
  opacity: 1;
  margin-right: 0.35rem;
}

.woocommerce ul.products li.product .price ins {
  background: none !important;
  color: #ffc501 !important;
  text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  margin: 0 1rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* Remove Astra shop-card chrome we don't want. */
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce ul.products .ast-woo-product-category,
.ast-woo-product-category {
  display: none !important;
}

.woocommerce ul.products li.product .ast-on-card-button,
.woocommerce ul.products li.product .ast-card-action-tooltip,
.astra-shop-thumbnail-wrap .ast-on-card-button,
.astra-shop-thumbnail-wrap .ast-card-action-tooltip {
  display: none !important;
}

.woocommerce span.onsale {
  background: #ffc501 !important;
  color: #000 !important;
  border-radius: 999px !important;
  min-height: 2.4em;
  min-width: 2.4em;
  line-height: 2.4em;
  font-weight: 600 !important;
  padding: 0 0.55em !important;
  top: 0.75rem !important;
  left: 0.75rem !important;
  right: auto !important;
}

/* ========== Single product layout ========== */
.woocommerce div.product,
.woocommerce-page div.product {
  background: transparent !important;
  color: #fff !important;
  position: relative;
}

.woocommerce div.product::after,
.woocommerce-page div.product::after {
  content: "";
  display: table;
  clear: both;
}

/* Two-column product: gallery | summary */
.woocommerce div.product div.images,
.woocommerce #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce div.product .woocommerce-product-gallery {
  float: left;
  width: 48%;
  margin: 0 0 2rem !important;
}

.woocommerce div.product div.summary,
.woocommerce #content div.product div.summary,
.woocommerce-page div.product div.summary,
.woocommerce-page #content div.product div.summary {
  float: right;
  width: 48%;
  margin: 0 0 2rem !important;
  clear: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.woocommerce div.product .woocommerce-product-gallery {
  position: relative;
  opacity: 1 !important;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce div.product .woocommerce-product-gallery__image {
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  border: 1px solid #222;
}

.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  box-shadow: none !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
  margin: 0;
  float: none;
  width: auto;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img {
  border: 1px solid #333;
  border-radius: 6px;
  opacity: 0.7;
  cursor: pointer;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: #ffc501;
}

.woocommerce div.product .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Summary content */
.woocommerce div.product .product_title,
.woocommerce div.product h1.product_title,
.woocommerce div.product .entry-title,
body.single-product h1.product_title {
  color: #fff !important;
  font-family: "Oswald", "Poppins", system-ui, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  line-height: 1.15 !important;
  margin: 0 0 0.85rem !important;
  background: transparent !important;
}

.woocommerce div.product .single-product-category,
.woocommerce div.product .single-product-category a {
  color: #ffc501 !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  display: inline-block;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .summary .price {
  color: #ffc501 !important;
  font-size: 1.7rem !important;
  font-weight: 700 !important;
  margin: 0 0 1.25rem !important;
  font-family: "Poppins", system-ui, sans-serif !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: #777 !important;
  opacity: 1;
  font-size: 0.85em;
  margin-right: 0.35rem;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  background: none !important;
  color: #ffc501 !important;
  text-decoration: none;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .summary .woocommerce-product-details__short-description {
  color: #d0d0d0 !important;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem !important;
}

.woocommerce div.product form.cart .quantity {
  float: none !important;
  margin: 0 !important;
}

.woocommerce div.product form.cart div.quantity {
  display: inline-flex;
  align-items: center;
}

.woocommerce .quantity .qty,
.woocommerce div.product form.cart .qty {
  width: 72px !important;
  height: 48px !important;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 12px !important;
  text-align: center;
  font-size: 16px !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 0 0 auto;
  min-width: 180px;
}

.woocommerce div.product .product_meta {
  color: #9c9c9c !important;
  font-size: 14px;
  border-top: 1px solid #222;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.woocommerce div.product .product_meta a {
  color: #ffc501 !important;
  text-decoration: none;
}

.woocommerce div.product .product_meta > span {
  display: block;
  margin-bottom: 0.35rem;
}

/* Tabs / description */
.woocommerce div.product .woocommerce-tabs {
  clear: both;
  margin: 2.5rem 0 0;
  padding-top: 0.5rem;
  float: none;
  width: 100%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #111 !important;
  border: 1px solid #333 !important;
  border-radius: 999px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #cfcfcf !important;
  font-weight: 500 !important;
  padding: 0.55rem 1rem !important;
  display: block;
  text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #ffc501 !important;
  border-color: #ffc501 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #000 !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: transparent !important;
  color: #d0d0d0 !important;
  margin: 0;
  padding: 0;
  border: 0 !important;
  box-shadow: none !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  color: #fff !important;
  font-family: "Oswald", "Poppins", sans-serif;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin: 0 0 0.85rem;
}

/* Related products */
.woocommerce .related.products,
.woocommerce .upsells.products {
  clear: both;
  float: none !important;
  width: 100% !important;
  margin: 3rem 0 0 !important;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
  color: #fff !important;
  font-family: "Oswald", "Poppins", sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  margin: 0 0 1.25rem !important;
}

/* ========== Cart ========== */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  color: #fff;
}

.woocommerce table.shop_table {
  background: #0f0f0f !important;
  border: 1px solid #222 !important;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  color: #fff !important;
  margin: 0 0 1.5rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: #222 !important;
  color: #fff !important;
  background: transparent !important;
  padding: 0.9rem 1rem !important;
}

.woocommerce table.shop_table thead th {
  background: #131313 !important;
  color: #ffc501 !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.woocommerce table.shop_table a {
  color: #fff !important;
  text-decoration: none;
}

.woocommerce table.shop_table a:hover {
  color: #ffc501 !important;
}

.woocommerce table.shop_table .product-remove a {
  color: #ff5d5d !important;
  font-size: 1.2rem;
}

.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
  width: 100%;
}

.woocommerce .cart-collaterals .cart_totals {
  background: #0f0f0f !important;
  border: 1px solid #222 !important;
  border-radius: 10px;
  padding: 1.25rem;
  float: none;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  color: #fff !important;
  font-family: "Oswald", "Poppins", sans-serif;
  text-transform: uppercase;
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.woocommerce .cart_totals .shop_table {
  border: 0 !important;
  background: transparent !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block;
  text-align: center;
  width: 100%;
}

/* Cart actions row: coupon + update */
.woocommerce-cart table.cart td.actions,
.woocommerce table.shop_table td.actions {
  padding: 1rem !important;
}

.woocommerce-cart table.cart td.actions .coupon,
.woocommerce table.shop_table td.actions .coupon {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  float: left;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce table.shop_table td.actions .coupon .input-text,
.woocommerce-cart #coupon_code {
  width: 200px !important;
  min-width: 180px;
  max-width: 100%;
  margin: 0 !important;
  flex: 0 0 auto;
}

.woocommerce-cart table.cart td.actions .coupon .button,
.woocommerce table.shop_table td.actions .coupon .button {
  margin: 0 0 0 0.35rem !important;
  flex: 0 0 auto;
  white-space: nowrap;
}

.woocommerce-cart table.cart td.actions .button[name="update_cart"],
.woocommerce table.shop_table td.actions > .button {
  float: right;
  margin: 0 !important;
}

/* Hide leftover Continue shopping control if a notice still renders it. */
.woocommerce-message a.button.wc-forward,
.woocommerce-message a.wc-forward {
  display: none !important;
}

/* ========== Checkout ========== */
body.woocommerce-cart .mc-commerce,
body.woocommerce-checkout .mc-commerce,
.mc-commerce .woocommerce {
  color: #fff !important;
  text-transform: none !important;
  max-width: none !important;
  width: 100% !important;
}

body.woocommerce-checkout .mc-commerce,
body.woocommerce-cart .mc-commerce {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 1rem;
  width: 100%;
  max-width: none;
  align-items: start;
}

/* Design feedback: drop the redundant "Your order" label above the order card. */
body.woocommerce-checkout form.checkout #order_review_heading {
  display: none !important;
}

@media (min-width: 1024px) {
  /*
   * WooCommerce still renders 3 direct form children:
   * #customer_details, #order_review_heading (hidden), #order_review.
   * Pin both visible columns to row 1 so the order card aligns with billing.
   */
  body.woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

  body.woocommerce-checkout form.checkout #customer_details {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
  }

  body.woocommerce-checkout form.checkout #order_review {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  color: #fff;
}

/* Address-free virtual checkout: tighter form. */
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .shipping_address,
.woocommerce-checkout .woocommerce-additional-fields {
  display: none !important;
}

.woocommerce-checkout #customer_details {
  width: 100%;
  margin: 0 0 1.75rem;
}

.woocommerce-checkout #customer_details::before,
.woocommerce-checkout #customer_details::after,
.woocommerce-checkout form.checkout::before,
.woocommerce-checkout form.checkout::after {
  display: none !important;
  content: none !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout #order_review {
  background: #0f0f0f !important;
  border: 1px solid #222 !important;
  border-radius: 14px !important;
  padding: 1.25rem 1.2rem 1.35rem !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  color: #fff !important;
  font-family: "Oswald", "Poppins", sans-serif !important;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1.35rem !important;
  margin: 0 0 1rem !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
  width: 100%;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce form .form-row {
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  clear: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide.address-field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_phone_field {
  grid-column: 1 / -1;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last {
  width: 100% !important;
}

@media (max-width: 640px) {
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}

.woocommerce form .form-row label,
.woocommerce-checkout form .form-row label {
  display: block !important;
  color: #d0d0d0 !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  margin: 0 0 0.4rem !important;
  text-transform: none !important;
}

.woocommerce form .form-row .required,
.woocommerce-checkout form .form-row .required {
  color: #ff5d5d !important;
  text-decoration: none !important;
  border: 0 !important;
}

.woocommerce form .form-row .woocommerce-input-wrapper,
.woocommerce-checkout form .form-row .woocommerce-input-wrapper,
body.woocommerce-checkout .woocommerce-billing-fields .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

/* Kill classic Woo/Astra grid+float half-widths that leave inputs ~half width. */
body.woocommerce-checkout .woocommerce form .form-row-first,
body.woocommerce-checkout .woocommerce form .form-row-last,
body.woocommerce-checkout .woocommerce form .form-row-wide,
body.woocommerce-checkout .woocommerce form .form-row,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
  display: block !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row > label,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row > .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  grid-column: auto !important;
}

/* Keep first/last on one row; force wide fields full width after the float kill above. */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last {
  grid-column: auto !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_phone_field {
  grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .woocommerce form .form-row-first .input-text,
body.woocommerce-checkout .woocommerce form .form-row-last .input-text,
body.woocommerce-checkout .woocommerce form .form-row-wide .input-text,
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select:not(.select2-hidden-accessible),
body.woocommerce-checkout .woocommerce form .input-text,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
  display: block !important;
  float: none !important;
  background: #111 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
  border-radius: 12px !important;
  min-height: 48px !important;
  height: 48px !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0.75rem 0.9rem !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  box-sizing: border-box !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select:not(.select2-hidden-accessible),
.woocommerce form .input-text,
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select:not(.select2-hidden-accessible),
.select2-container--default .select2-selection--single {
  background: #111 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
  border-radius: 12px !important;
  min-height: 48px !important;
  height: auto !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0.75rem 0.9rem !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  display: block !important;
  box-sizing: border-box !important;
}

.woocommerce form .form-row textarea {
  min-height: 110px !important;
}

/* Keep Select2 chrome lean; border lives only on the visible selection. */
body.woocommerce-checkout .select2-container,
.woocommerce-checkout .select2-container {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  box-shadow: none !important;
}

/* Select2 hides the real <select>, but our input rules were making it 1200px wide. */
body.woocommerce-checkout select.select2-hidden-accessible,
.woocommerce-checkout select.select2-hidden-accessible,
body.woocommerce-checkout .select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  max-width: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  background: transparent !important;
  box-shadow: none !important;
}

.select2-container--default .select2-selection--single {
  display: flex !important;
  align-items: center !important;
  padding: 0 0.9rem !important;
  height: 48px !important;
  min-height: 48px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  line-height: 46px !important;
  padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  right: 10px !important;
}

.select2-dropdown {
  background: #111 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
}

.select2-container--default .select2-results__option {
  color: #fff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: #ffc501 !important;
  color: #000 !important;
}

.woocommerce-checkout #payment {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.35rem 0 0 !important;
  margin-top: 1rem !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #222 !important;
  padding: 0 0 1rem !important;
  margin: 0 0 1rem !important;
  list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0 0 0.85rem !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
  margin-bottom: 0 !important;
}

.woocommerce-checkout #payment div.payment_box {
  background: #111 !important;
  color: #f0f0f0 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 12px !important;
  padding: 0.95rem 1rem !important;
  margin: 0.65rem 0 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #111 !important;
}

/* Host shell for Stripe Payment Element (labels live inside iframe). */
.woocommerce-checkout #payment .wc-stripe-gateway-container,
.woocommerce-checkout #payment .wc-payment-form,
.woocommerce-checkout #payment .StripeElement,
.woocommerce-checkout #payment #wc-stripe-card-element {
  color: #f5f5f5 !important;
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce-checkout #payment .payment_box iframe {
  filter: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce-checkout #payment .payment_method_name,
.woocommerce-checkout #payment label {
  color: #fff !important;
}

.woocommerce-checkout #payment .payment_methods img {
  max-height: 24px !important;
  width: auto !important;
}

.woocommerce-checkout #payment .place-order {
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 0.85rem !important;
  color: #cfcfcf !important;
}

.woocommerce-checkout #place_order {
  width: 100% !important;
  margin-top: 0.35rem !important;
  min-height: 52px !important;
}

/* ========== Account ========== */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  background: #0f0f0f !important;
  border: 1px solid #222 !important;
  border-radius: 10px;
  color: #fff !important;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.woocommerce-MyAccount-navigation a {
  color: #cfcfcf !important;
  text-decoration: none;
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
  color: #000 !important;
  background: #ffc501 !important;
}

.woocommerce-MyAccount-content {
  padding: 1.25rem;
}

.woocommerce-account .woocommerce-MyAccount-content a {
  color: #ffc501;
}

/* ========== Pagination ========== */
.woocommerce nav.woocommerce-pagination ul {
  border: 0 !important;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0 !important;
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 999px !important;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  border-color: #ffc501 !important;
  color: #ffc501 !important;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  body.mc-woocommerce .ast-woocommerce-container {
    width: min(100% - 1.5rem, 1140px);
    padding: 1.5rem 0 3rem !important;
  }

  .woocommerce div.product div.images,
  .woocommerce #content div.product div.images,
  .woocommerce-page div.product div.images,
  .woocommerce-page #content div.product div.images,
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product div.summary,
  .woocommerce #content div.product div.summary,
  .woocommerce-page div.product div.summary,
  .woocommerce-page #content div.product div.summary {
    float: none !important;
    width: 100% !important;
  }

  .woocommerce div.product form.cart {
    flex-direction: column;
    align-items: stretch;
  }

  .woocommerce div.product form.cart .single_add_to_cart_button,
  .woocommerce .quantity .qty {
    width: 100% !important;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem;
  }

  .woocommerce .cart-collaterals .cart_totals {
    max-width: none;
  }
}

@media (min-width: 900px) {
  .woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: auto !important;
    float: none !important;
  }
}
