/* Theatreworks Live WooCommerce refresh
   - aligns archives/cards with TWL class/camp/show styling
   - improves cart, checkout, login, and My Account views
   - keeps product imagery at the top of each card
*/

.twl-main--commerce {
  --twl-commerce-bg: rgba(0, 0, 0, 0.86);
  --twl-commerce-bg-soft: rgba(255, 253, 248, 0.04);
  --twl-commerce-bg-strong: rgba(255, 253, 248, 0.08);
  --twl-commerce-bg-elevated: rgba(17, 17, 17, 0.94);
  --twl-commerce-border: var(--twl-border-subtle, 1px solid rgba(255, 255, 255, 0.15));
  --twl-commerce-border-strong: 1px solid rgba(201, 172, 140, 0.45);
  --twl-commerce-text: rgba(255, 255, 255, 1);
  --twl-commerce-muted: rgba(255, 255, 255, 0.72);
  --twl-commerce-muted-strong: rgba(255, 255, 255, 0.88);
  --twl-commerce-accent: rgba(201, 172, 140, 1);
  --twl-commerce-accent-hover: rgb(181, 152, 120);
  --twl-commerce-accent-soft: rgba(201, 172, 140, 0.16);
  --twl-commerce-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --twl-commerce-radius: var(--twl-radius-lg, 1.4rem);
  --twl-commerce-radius-sm: var(--twl-radius-md, 0.95rem);
  --twl-commerce-pill: var(--twl-radius-pill, 999px);
  --twl-commerce-gap: var(--twl-space-lg, 1.5rem);
  --twl-commerce-gap-lg: var(--twl-space-xl, 2rem);
  --twl-commerce-pad: var(--twl-content-inline-pad, clamp(1rem, 2vw + 0.5rem, 4.3125rem));
}

.twl-main--commerce,
.twl-main--commerce .woocommerce,
.twl-main--commerce .woocommerce-page {
  color: var(--twl-commerce-text);
}

.twl-main--commerce a,
.woocommerce a,
.woocommerce-page a {
  color: rgba(204, 204, 204, 1);
}

.twl-main--commerce a:hover,
.woocommerce a:hover,
.woocommerce-page a:hover {
  color: var(--twl-commerce-accent);
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order,
.woocommerce .return-to-shop .button {
  border-radius: var(--twl-commerce-pill);
  border: 1px solid var(--twl-commerce-accent);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(201, 172, 140, 0.42),
    0 0 18px rgba(201, 172, 140, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.28);
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 2.875rem;
  padding: 0.8rem 1.3rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce .return-to-shop .button:hover {
  background: rgb(var(--twl-accent-rgb) / 0.18);
  border-color: var(--twl-commerce-accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(201, 172, 140, 0.55),
    0 0 24px rgba(201, 172, 140, 0.26),
    0 18px 34px rgba(0, 0, 0, 0.34);
}

.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
}

.woocommerce .button:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce input.button:focus-visible,
.woocommerce a:focus-visible,
.woocommerce button:focus-visible,
.woocommerce input:focus-visible,
.woocommerce select:focus-visible,
.woocommerce textarea:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(201, 172, 140, 0.72),
    0 0 24px rgba(201, 172, 140, 0.24);
}

.twl-main--commerce > .woocommerce-notices-wrapper,
.twl-main--commerce > .woocommerce,
.twl-main--commerce > .woocommerce-page {
  padding-inline: var(--twl-commerce-pad);
  box-sizing: border-box;
}

.twl-main--commerce > .woocommerce-breadcrumb,
.twl-main--commerce > .woocommerce-result-count,
.twl-main--commerce > .woocommerce-ordering,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering {
  display: none !important;
}

.twl-main--commerce > .woocommerce-products-header {
  display: none !important;
}

.twl-main--commerce > .woocommerce-products-header .page-title,
.twl-main--commerce > .woocommerce-products-header h1,
.woocommerce-products-header .page-title,
.woocommerce-products-header h1 {
  margin: 0;
  color: rgba(255, 255, 255, 1);
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(2.55rem, 5vw, 4.125rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-transform: none;
}

.twl-main--commerce > .woocommerce-products-header .page-title::before,
.twl-main--commerce > .woocommerce-products-header h1::before,
.woocommerce-products-header .page-title::before,
.woocommerce-products-header h1::before {
  content: "";
  display: block;
  width: 4.25rem;
  margin: 0 0 0.9rem;
  border-top: 2px solid var(--twl-commerce-accent);
}

.woocommerce a.added_to_cart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0 0;
  font-weight: 700;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  padding: 1rem 1rem 1rem 3.25rem;
  margin: 0 0 1.5rem;
  position: relative;
  background-color: rgba(33, 33, 33, 0.96);
  color: var(--twl-commerce-accent);
  border-top: 3px solid var(--twl-commerce-accent);
  border-radius: var(--twl-commerce-radius-sm);
  list-style: none;
  width: auto;
  word-wrap: break-word;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
  color: var(--twl-commerce-muted-strong);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.woocommerce form .form-row,
.woocommerce-page form .form-row,
.woocommerce #customer_login .u-column1,
.woocommerce #customer_login .u-column2,
.woocommerce-account .woocommerce-MyAccount-content > *,
.woocommerce-cart .cart-collaterals,
.woocommerce-cart-form {
  min-width: 0;
}

.woocommerce input[type="text"],
.woocommerce input[type="search"],
.woocommerce input[type="password"],
.woocommerce input[type="email"],
.woocommerce input[type="number"],
.woocommerce input[type="url"],
.woocommerce input[type="date"],
.woocommerce input[type="tel"],
.woocommerce select,
.woocommerce textarea,
.woocommerce .select2-container--default .select2-selection--single,
.select2-dropdown {
  border-radius: var(--twl-commerce-radius-sm);
  border: var(--twl-form-border);
  background-color: var(--twl-form-surface);
  color: var(--twl-commerce-text);
}

.select2-container--default .select2-selection--single {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding-inline: 0.35rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--twl-commerce-text);
  line-height: 1.3;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus,
.form-control:focus,
.woocommerce .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce .select2-container--default.select2-container--focus .select2-selection--single {
  background-color: var(--twl-form-surface-focus);
  border-color: rgb(var(--twl-accent-rgb) / 0.85);
}

.woocommerce select,
.woocommerce-page select {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
}

.woocommerce select:focus,
.woocommerce-page select:focus {
  background-color: var(--twl-form-surface);
}

.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.checkout_coupon,
.woocommerce form.lost_reset_password,
.woocommerce .login,
.woocommerce .register,
.woocommerce form.track_order,
.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register {
  padding: clamp(1rem, 2vw, 2rem);
  border: var(--twl-commerce-border);
  border-radius: var(--twl-commerce-radius);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.04));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--twl-commerce-shadow);
}

.woocommerce-account .woocommerce form.lost_reset_password,
.woocommerce-account .woocommerce-page form.lost_reset_password {
  width: fit-content;
  max-width: min(100%, 34rem);
  margin-left: auto;
  margin-right: auto;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  --twl-commerce-archive-min: 14.5rem;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--twl-commerce-archive-min)), 1fr));
  gap: clamp(0.9rem, 1.7vw, 1.35rem);
  margin: 0;
  padding: 0;
  width: 100%;
  align-items: stretch;
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: var(--twl-commerce-border);
  border-radius: var(--twl-commerce-radius);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.06), rgba(255, 253, 248, 0.03));
  box-shadow: var(--twl-commerce-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 172, 140, 0.42);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.42);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(201, 172, 140, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  padding: 1.15rem 1.15rem 0;
  color: rgba(255, 255, 255, 1);
  font-size: 1.25rem;
  line-height: 1.25;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  display: block;
  padding: 0.6rem 1.15rem 0;
  color: var(--twl-commerce-accent);
  font-size: 1.05rem;
  font-weight: 600;
}

.woocommerce ul.products li.product .star-rating,
.woocommerce-page ul.products li.product .star-rating {
  margin: 0.85rem 1.15rem 0;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .button,
.woocommerce-page ul.products li.product .added_to_cart {
  margin: 1rem 1.15rem 1.15rem;
  width: calc(100% - 2.3rem);
  text-align: center;
}

.woocommerce span.onsale {
  min-height: auto;
  min-width: auto;
  padding: 0.45rem 0.8rem;
  border-radius: var(--twl-commerce-pill);
  background: var(--twl-commerce-accent);
  color: #000;
  line-height: 1.2;
  font-weight: 700;
  font-size: 0.8rem;
  top: 0.9rem;
  left: 0.9rem;
}

.woocommerce nav.woocommerce-pagination {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem;
  border: 0;
  border-radius: var(--twl-commerce-pill);
  background: rgba(255, 253, 248, 0.06);
  box-shadow: var(--twl-commerce-shadow);
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  float: none;
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--twl-commerce-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.45);
  color: var(--twl-commerce-text);
  font-weight: 600;
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li .page-numbers:focus-visible {
  border-color: var(--twl-commerce-accent);
  color: var(--twl-commerce-accent);
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers.current {
  border-color: var(--twl-commerce-accent);
  background: var(--twl-commerce-accent);
  color: #000;
}

.woocommerce nav.woocommerce-pagination ul li .prev,
.woocommerce nav.woocommerce-pagination ul li .next {
  min-width: 4.25rem;
}

.woocommerce div.product {
  display: grid;
  gap: var(--twl-commerce-gap-lg);
}

@media (min-width: 992px) {
  .woocommerce div.product:not(.twl-product-shell--override) {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
  }
}

.woocommerce div.product:not(.twl-product-shell--override) .images,
.woocommerce div.product:not(.twl-product-shell--override) .summary {
  float: none;
  width: 100%;
  margin: 0;
}

.woocommerce div.product:not(.twl-product-shell--override) .images,
.woocommerce div.product:not(.twl-product-shell--override) .summary,
.woocommerce form.checkout,
.woocommerce .woocommerce-customer-details,
.woocommerce .woocommerce-order,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-cart-form,
.woocommerce-checkout-review-order,
.woocommerce-order-details,
.woocommerce-order-downloads,
.woocommerce .addresses .woocommerce-Address,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  padding: clamp(1rem, 2vw, 1.6rem);
  border: var(--twl-commerce-border);
  border-radius: var(--twl-commerce-radius);
  background: var(--twl-commerce-bg-soft);
  box-shadow: var(--twl-commerce-shadow);
}

.woocommerce div.product:not(.twl-product-shell--override) .woocommerce-product-gallery__wrapper,
.woocommerce div.product:not(.twl-product-shell--override) .flex-control-thumbs {
  border-radius: calc(var(--twl-commerce-radius) - 0.1rem);
  overflow: hidden;
}

.woocommerce div.product:not(.twl-product-shell--override) .woocommerce-product-gallery__image img {
  border-radius: calc(var(--twl-commerce-radius) - 0.1rem);
}

.woocommerce div.product:not(.twl-product-shell--override) .product_title {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 1);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.woocommerce div.product:not(.twl-product-shell--override) p.price,
.woocommerce div.product:not(.twl-product-shell--override) span.price {
  color: var(--twl-commerce-accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.woocommerce div.product:not(.twl-product-shell--override) .woocommerce-product-details__short-description,
.woocommerce div.product:not(.twl-product-shell--override) .woocommerce-product-details__short-description p {
  color: var(--twl-commerce-muted-strong);
}

.woocommerce div.product:not(.twl-product-shell--override) form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.woocommerce .quantity .qty {
  min-height: 2.875rem;
  min-width: 4.75rem;
  border-radius: var(--twl-commerce-pill);
  text-align: center;
}

.woocommerce div.product:not(.twl-product-shell--override) form.cart .variations {
  width: 100%;
  margin-bottom: 0.85rem;
}

.woocommerce div.product:not(.twl-product-shell--override) form.cart .variations th,
.woocommerce div.product:not(.twl-product-shell--override) form.cart .variations td {
  padding-bottom: 0.85rem;
}

.woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 1.5rem 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.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: 0;
  background: transparent;
  margin: 0 0.4rem 0.6rem 0;
  padding: 0;
  border-radius: var(--twl-commerce-pill);
}

.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: inline-flex;
  padding: 0.7rem 1rem;
  border-radius: var(--twl-commerce-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--twl-commerce-text);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  background: var(--twl-commerce-accent);
  color: #000;
}

.woocommerce table.shop_table {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--twl-commerce-radius-sm);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--twl-commerce-text);
}

.woocommerce table.shop_table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--twl-commerce-accent);
  font-weight: 600;
}

.woocommerce table.shop_table tbody td,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  background: transparent;
}

.woocommerce-cart .woocommerce {
  display: grid;
  gap: var(--twl-commerce-gap-lg);
}

@media (min-width: 1080px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.95fr);
    align-items: start;
  }

  .woocommerce-cart .cart-collaterals,
  .woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
  }
}

.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
  width: 100%;
  float: none;
}

.woocommerce-cart .cart_item img {
  width: 74px;
  border-radius: 0.75rem;
}

.woocommerce-cart .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

#twl_gc_code,
#coupon_code {
  width: min(100%, 14rem);
  min-height: 2.875rem;
  border-radius: var(--twl-commerce-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.woocommerce-cart .coupon .twl-gc-inline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: auto;
  flex-wrap: wrap;
}

.woocommerce-cart .coupon .twl-gc-inline input[type="text"] {
  min-width: min(100%, 10rem);
}

.woocommerce-cart-form .twl-gc-inline button,
.woocommerce-cart-form .coupon button {
  font-size: 0.92rem;
}

.woocommerce-cart .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.woocommerce-cart .actions > .button,
.woocommerce-cart .actions > button,
.woocommerce-cart .actions > input {
  margin: 0;
}

.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-account .woocommerce-Address-title h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  color: rgba(255, 255, 255, 1);
}

.woocommerce-cart .cart_totals table td,
.woocommerce-cart .cart_totals table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
  padding-block: 0.9rem;
}

.woocommerce-checkout form.checkout {
  display: grid;
  gap: var(--twl-commerce-gap-lg);
}

@media (min-width: 1080px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    align-items: start;
  }
}

.woocommerce .col2-set,
.woocommerce-page .col2-set {
  margin-top: 0;
}

.woocommerce #customer_login.u-columns,
.woocommerce-account #customer_login.u-columns,
.woocommerce .u-columns.col2-set {
  display: grid;
  gap: var(--twl-commerce-gap);
  width: 100%;
}

@media (min-width: 860px) {
  .woocommerce #customer_login.u-columns,
  .woocommerce-account #customer_login.u-columns,
  .woocommerce .u-columns.col2-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
  margin: 0 0 1rem;
}

.woocommerce-checkout #payment {
  display: block;
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--twl-commerce-radius-sm);
}

.woocommerce-checkout #payment div.payment_box {
  margin-top: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  color: var(--twl-commerce-muted-strong);
  border-radius: var(--twl-commerce-radius-sm);
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li label {
  color: var(--twl-commerce-text);
}

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-order-notes {
  margin: 0;
}

.woocommerce-order ul.order_details {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding: 0;
  margin: 0 0 1.5rem;
}

.woocommerce-order ul.order_details li {
  margin: 0;
  padding: 0.95rem 1rem;
  border: var(--twl-commerce-border);
  border-radius: var(--twl-commerce-radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.woocommerce .woocommerce-customer-details address,
.woocommerce-account .woocommerce-Address address {
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--twl-commerce-muted-strong);
}

.woocommerce-account .woocommerce {
  display: grid;
  gap: var(--twl-commerce-gap-lg);
  align-items: start;
}

.woocommerce-account .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) {
  grid-column: 1 / -1;
}

@media (min-width: 981px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: minmax(250px, 280px) minmax(0, 1fr);
  }
}

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

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

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li::before {
  display: none !important;
  content: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
  margin-top: 0.55rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--twl-commerce-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--twl-commerce-text);
  text-decoration: none;
  font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
  border-color: var(--twl-commerce-accent);
  background: var(--twl-commerce-accent-soft);
  color: var(--twl-commerce-accent);
}

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

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content li,
.woocommerce-account .woocommerce-MyAccount-content address {
  color: var(--twl-commerce-muted-strong);
}

.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .addresses {
  display: grid;
  gap: var(--twl-commerce-gap);
}

@media (min-width: 768px) {
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce-account .addresses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.woocommerce-account .u-columns {
  display: grid;
  gap: var(--twl-commerce-gap-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .woocommerce-account .u-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.woocommerce-account #customer_login.u-columns::before,
.woocommerce-account #customer_login.u-columns::after {
  display: none !important;
}

.woocommerce-account #customer_login.u-columns .u-column1,
.woocommerce-account #customer_login.u-columns .u-column2 {
  width: 100%;
  max-width: 100%;
  float: none;
}

.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  color: rgba(255, 255, 255, 1);
}

.woocommerce-account .woocommerce-table--order-downloads,
.woocommerce-account .woocommerce-table--order-details,
.woocommerce-account .woocommerce-table--order-downloads th,
.woocommerce-account .woocommerce-table--order-details th,
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-orders-table td {
  color: var(--twl-commerce-text);
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-Address-title .edit,
.woocommerce-account .woocommerce-orders-table .button,
.woocommerce-account .woocommerce-button {
  margin-top: 0.5rem;
}

.woocommerce-form-login .woocommerce-form-login__rememberme,
.woocommerce-account .lost_password,
.woocommerce-account .woocommerce-LostPassword {
  display: block;
  margin-top: 0.85rem;
}

.woocommerce form .password-input,
.woocommerce-page form .password-input {
  position: relative;
  display: block;
  width: 100%;
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--twl-commerce-accent);
  opacity: 0.88;
}

.woocommerce form .show-password-input::after,
.woocommerce-page form .show-password-input::after {
  line-height: 1.25rem;
}

.woocommerce-page .search-form,
.woocommerce-page .wp-block-search,
.woocommerce-page .woocommerce-product-search,
.woocommerce-page .widget_search,
.woocommerce-page .widget_product_search,
.woocommerce-page .wc-block-product-search,
.woocommerce-page .widget_pages,
.woocommerce-page .wp-block-page-list,
.woocommerce-page .widget_nav_menu {
  display: none;
}

.ppc-button-wrapper {
  max-width: 350px;
}

#billing_country_field,
#shipping_country_field {
  display: none;
}

@media (max-width: 980px) {
  .twl-main--commerce > .woocommerce-notices-wrapper,
  .twl-main--commerce > .woocommerce,
  .twl-main--commerce > .woocommerce-page {
    padding-inline: 1rem;
  }

  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    padding: 0.8rem;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
  }

  .woocommerce nav.woocommerce-pagination ul {
    width: 100%;
    border-radius: 1.2rem;
  }

  .woocommerce nav.woocommerce-pagination ul li {
    flex: 1 1 auto;
  }

  .woocommerce nav.woocommerce-pagination ul li .page-numbers {
    width: 100%;
    min-width: 0;
  }

  .woocommerce-cart .coupon .twl-gc-inline {
    width: 100%;
  }

  .woocommerce-cart .twl-gc-inline {
    padding-left: 0;
  }

  #twl_gc_code,
  #coupon_code {
    width: 100%;
  }

  .woocommerce-cart .actions,
  .woocommerce div.product form.cart {
    align-items: stretch;
  }

  .woocommerce-cart .actions .button,
  .woocommerce-cart .actions button,
  .woocommerce-cart .actions input,
  .woocommerce div.product form.cart .button,
  .woocommerce div.product form.cart button,
  .woocommerce div.product form.cart input.button {
    width: 100%;
  }

  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before {
    color: var(--twl-commerce-accent);
    font-weight: 600;
  }

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

/* v4 polish: inherit TWL calendar/show hover glow, keep archive/ticket cards from oversizing,
   tighten archive card height, force 2-up mobile grids, and finish single-product layout */

.twl-main--commerce {
  --twl-commerce-card-min: clamp(14.5rem, 15.5vw, 16.75rem);
  --twl-commerce-card-gap: clamp(0.85rem, 1.5vw, 1.35rem);
  --twl-commerce-card-shadow: var(--twl-shadow-card, 0 16px 34px rgba(0, 0, 0, 0.28));
  --twl-commerce-card-hover-shadow:
    0 20px 44px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(201, 172, 140, 0.18);
}

/* Archive/shop/tickets grids: auto-fill prevents 3-card ticket pages from stretching huge */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce div.product .related ul.products,
.woocommerce div.product .upsells ul.products {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--twl-commerce-card-min)), 1fr));
  gap: var(--twl-commerce-card-gap);
  align-items: start;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: linear-gradient(180deg, rgba(68, 68, 68, 0.98), rgba(35, 35, 35, 0.98));
  box-shadow: var(--twl-commerce-card-shadow);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within,
.woocommerce-page ul.products li.product:hover,
.woocommerce-page ul.products li.product:focus-within {
  border-color: rgba(201, 172, 140, 0.96);
  background: linear-gradient(180deg, rgba(201, 172, 140, 0.98), rgba(189, 161, 129, 0.98));
  transform: translateY(-3px);
  box-shadow: var(--twl-commerce-card-hover-shadow);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
  gap: 0;
}

.woocommerce ul.products li.product p.event-date,
.woocommerce-page ul.products li.product p.event-date {
  display: none !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(201, 172, 140, 0.24);
  border-radius: calc(var(--twl-commerce-radius) - 0.1rem) calc(var(--twl-commerce-radius) - 0.1rem) 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
  padding: 0.8rem 0.95rem 0;
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  line-height: 1.18;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  margin: 0;
  padding: 0.28rem 0.95rem 0;
  font-size: 0.98rem;
  line-height: 1.22;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .button,
.woocommerce-page ul.products li.product .added_to_cart {
  margin: 0.8rem 0.95rem 0.95rem;
  width: calc(100% - 1.9rem);
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:hover .price,
.woocommerce ul.products li.product:hover .price * ,
.woocommerce ul.products li.product:focus-within .woocommerce-loop-product__title,
.woocommerce ul.products li.product:focus-within .price,
.woocommerce ul.products li.product:focus-within .price *,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .price,
.woocommerce-page ul.products li.product:hover .price *,
.woocommerce-page ul.products li.product:focus-within .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:focus-within .price,
.woocommerce-page ul.products li.product:focus-within .price * {
  color: var(--twl-color-ink, #111111);
}

.woocommerce ul.products li.product:hover .button,
.woocommerce ul.products li.product:hover .added_to_cart,
.woocommerce ul.products li.product:focus-within .button,
.woocommerce ul.products li.product:focus-within .added_to_cart,
.woocommerce-page ul.products li.product:hover .button,
.woocommerce-page ul.products li.product:hover .added_to_cart,
.woocommerce-page ul.products li.product:focus-within .button,
.woocommerce-page ul.products li.product:focus-within .added_to_cart {
  border-color: rgba(17, 17, 17, 0.96);
  background: rgba(17, 17, 17, 0.96);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.22);
}

/* Single product page: make gallery + summary feel intentionally designed, not split/disjointed */
.single-product .twl-main--commerce > .woocommerce {
  padding-inline: var(--twl-commerce-pad);
  box-sizing: border-box;
}

.single-product .woocommerce div.product {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}

@media (min-width: 980px) {
  .single-product .woocommerce div.product {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 30rem);
  }
}

.single-product .woocommerce div.product > .woocommerce-product-gallery,
.single-product .woocommerce div.product > .summary.entry-summary {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: var(--twl-commerce-radius);
  background: linear-gradient(180deg, rgba(68, 68, 68, 0.9), rgba(24, 24, 24, 0.98));
  box-shadow: var(--twl-commerce-shadow);
}

.single-product .woocommerce div.product > .summary.entry-summary {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.single-product .woocommerce div.product .product_title {
  margin: 0;
  line-height: 0.96;
}

.single-product .woocommerce div.product p.price,
.single-product .woocommerce div.product span.price {
  margin: 0;
}

.single-product .woocommerce div.product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce div.product .woocommerce-product-gallery__image,
.single-product .woocommerce div.product .woocommerce-product-gallery__image a {
  border-radius: calc(var(--twl-commerce-radius) - 0.1rem);
}

.single-product .woocommerce div.product .woocommerce-product-gallery__image img,
.single-product .woocommerce div.product .woocommerce-product-gallery__wrapper img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.single-product .woocommerce div.product .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}

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

.single-product .woocommerce div.product .flex-control-thumbs img {
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.single-product .woocommerce div.product .woocommerce-product-details__short-description,
.single-product .woocommerce div.product .woocommerce-product-details__short-description p {
  margin: 0;
}

.single-product .woocommerce div.product form.cart,
.single-product .woocommerce div.product form.variations_form.cart {
  display: grid;
  gap: 0.85rem;
  align-items: start;
}

.single-product .woocommerce div.product form.cart table.variations {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 0.7rem;
}

.single-product .woocommerce div.product form.cart table.variations tr {
  display: grid;
  grid-template-columns: minmax(6rem, 7.5rem) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.single-product .woocommerce div.product form.cart table.variations th,
.single-product .woocommerce div.product form.cart table.variations td {
  padding: 0;
}

.single-product .woocommerce div.product form.cart table.variations td.value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.single-product .woocommerce div.product form.cart table.variations select {
  flex: 1 1 12rem;
  width: 100%;
}

.single-product .woocommerce div.product form.cart .reset_variations {
  margin-left: auto;
  font-size: 0.85rem;
}

.single-product .woocommerce div.product .single_variation_wrap,
.single-product .woocommerce div.product .variations_button {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.single-product .woocommerce div.product .single_add_to_cart_button,
.single-product .woocommerce div.product .single_variation_wrap .single_add_to_cart_button {
  min-width: 12rem;
}

.single-product .woocommerce div.product .ppcp-messages,
.single-product .woocommerce div.product .ppc-button-wrapper,
.single-product .woocommerce div.product .woocommerce-message,
.single-product .woocommerce div.product .woocommerce-info {
  margin-top: 0.15rem;
}

.single-product .woocommerce div.product .product_meta {
  display: none !important;
}

.single-product .woocommerce div.product > .woocommerce-tabs,
.single-product .woocommerce div.product > .related.products,
.single-product .woocommerce div.product > .upsells.products {
  grid-column: 1 / -1;
}

.single-product .woocommerce div.product > .woocommerce-tabs {
  margin-top: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: var(--twl-commerce-radius);
  background: linear-gradient(180deg, rgba(68, 68, 68, 0.9), rgba(24, 24, 24, 0.98));
  box-shadow: var(--twl-commerce-shadow);
}

.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  margin-top: 0;
  margin-bottom: 1rem;
}

.single-product .woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  padding: 0;
}

.single-product .woocommerce div.product .woocommerce-tabs .panel > h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  margin: 0 0 0.8rem;
}

.single-product .woocommerce div.product .related.products > h2,
.single-product .woocommerce div.product .upsells.products > h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 2.2vw, 2.35rem);
}

.single-product .woocommerce div.product .related.products,
.single-product .woocommerce div.product .upsells.products {
  margin-top: 0.25rem;
}

.single-product .woocommerce div.product .related ul.products,
.single-product .woocommerce div.product .upsells ul.products {
  margin-top: 0;
}

/* Mobile: 2 cards per row instead of 1, smaller paddings/buttons, and stack single product cleanly */
@media (max-width: 767px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    border-radius: 1.1rem;
  }

  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    aspect-ratio: 1 / 1;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    padding: 0.65rem 0.7rem 0;
    font-size: 0.94rem;
    line-height: 1.14;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    padding: 0.2rem 0.7rem 0;
    font-size: 0.86rem;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .added_to_cart,
  .woocommerce-page ul.products li.product .button,
  .woocommerce-page ul.products li.product .added_to_cart {
    min-height: 2.45rem;
    margin: 0.65rem 0.7rem 0.7rem;
    width: calc(100% - 1.4rem);
    padding: 0.65rem 0.8rem;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .single-product .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .single-product .woocommerce div.product > .woocommerce-product-gallery,
  .single-product .woocommerce div.product > .summary.entry-summary,
  .single-product .woocommerce div.product > .woocommerce-tabs {
    padding: 1rem;
  }

  .single-product .woocommerce div.product form.cart table.variations tr {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .single-product .woocommerce div.product .single_variation_wrap,
  .single-product .woocommerce div.product .variations_button,
  .single-product .woocommerce div.product form.cart {
    align-items: stretch;
  }

  .single-product .woocommerce div.product .single_add_to_cart_button,
  .single-product .woocommerce div.product .single_variation_wrap .single_add_to_cart_button,
  .single-product .woocommerce div.product .quantity,
  .single-product .woocommerce div.product .quantity .qty {
    width: 100%;
  }

  .single-product .woocommerce div.product .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .twl-main--commerce {
    --twl-commerce-card-min: 0;
  }

  .twl-main--commerce > .woocommerce-notices-wrapper,
  .twl-main--commerce > .woocommerce,
  .twl-main--commerce > .woocommerce-page,
  .single-product .twl-main--commerce > .woocommerce {
    padding-inline: 0.8rem;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    gap: 0.65rem;
  }
}

/* v5 mobile/equal-height card correction: keep 2-up mobile without shrinking too far,
   equalize card heights, and push buttons to the bottom consistently */

.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce div.product .related ul.products,
.woocommerce div.product .upsells ul.products {
  align-items: stretch;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce div.product .related ul.products li.product,
.woocommerce div.product .upsells ul.products li.product {
  height: 100%;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce div.product .related ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce div.product .upsells ul.products li.product .woocommerce-LoopProduct-link {
  flex: 1 1 auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .upsells ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(2 * 1.18em);
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.woocommerce div.product .related ul.products li.product .price,
.woocommerce div.product .upsells ul.products li.product .price {
  min-height: 2.5em;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .button,
.woocommerce-page ul.products li.product .added_to_cart,
.woocommerce div.product .related ul.products li.product .button,
.woocommerce div.product .related ul.products li.product .added_to_cart,
.woocommerce div.product .upsells ul.products li.product .button,
.woocommerce div.product .upsells ul.products li.product .added_to_cart {
  margin-top: auto;
  text-wrap: balance;
}

.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce ul.products li.product .button.product_type_grouped,
.woocommerce-page ul.products li.product .button.product_type_variable,
.woocommerce-page ul.products li.product .button.product_type_grouped,
.woocommerce div.product .related ul.products li.product .button.product_type_variable,
.woocommerce div.product .related ul.products li.product .button.product_type_grouped,
.woocommerce div.product .upsells ul.products li.product .button.product_type_variable,
.woocommerce div.product .upsells ul.products li.product .button.product_type_grouped {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .twl-main--commerce {
    --twl-commerce-card-gap: 0.9rem;
  }

  .twl-main--commerce > .woocommerce-notices-wrapper,
  .twl-main--commerce > .woocommerce,
  .twl-main--commerce > .woocommerce-page,
  .single-product .twl-main--commerce > .woocommerce {
    padding-inline: 0.9rem;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img,
  .woocommerce div.product .related ul.products li.product a img,
  .woocommerce div.product .upsells ul.products li.product a img {
    aspect-ratio: 1 / 1;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
  .woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,
  .woocommerce div.product .upsells ul.products li.product .woocommerce-loop-product__title {
    padding: 0.72rem 0.78rem 0;
    font-size: clamp(0.98rem, 2.7vw, 1.08rem);
    line-height: 1.12;
    min-height: calc(2 * 1.12em);
  }

  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price,
  .woocommerce div.product .related ul.products li.product .price,
  .woocommerce div.product .upsells ul.products li.product .price {
    padding: 0.22rem 0.78rem 0;
    font-size: clamp(0.88rem, 2.5vw, 0.98rem);
    min-height: 2.4em;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .added_to_cart,
  .woocommerce-page ul.products li.product .button,
  .woocommerce-page ul.products li.product .added_to_cart,
  .woocommerce div.product .related ul.products li.product .button,
  .woocommerce div.product .related ul.products li.product .added_to_cart,
  .woocommerce div.product .upsells ul.products li.product .button,
  .woocommerce div.product .upsells ul.products li.product .added_to_cart {
    min-height: 2.9rem;
    margin: auto 0.78rem 0.78rem;
    width: calc(100% - 1.56rem);
    padding: 0.78rem 0.7rem;
    font-size: 0.9rem;
    line-height: 1.05;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 480px) {
  .twl-main--commerce > .woocommerce-notices-wrapper,
  .twl-main--commerce > .woocommerce,
  .twl-main--commerce > .woocommerce-page,
  .single-product .twl-main--commerce > .woocommerce {
    padding-inline: 0.75rem;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
  .woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,
  .woocommerce div.product .upsells ul.products li.product .woocommerce-loop-product__title {
    padding: 0.7rem 0.72rem 0;
    font-size: 0.94rem;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price,
  .woocommerce div.product .related ul.products li.product .price,
  .woocommerce div.product .upsells ul.products li.product .price {
    padding: 0.2rem 0.72rem 0;
    font-size: 0.92rem;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .added_to_cart,
  .woocommerce-page ul.products li.product .button,
  .woocommerce-page ul.products li.product .added_to_cart,
  .woocommerce div.product .related ul.products li.product .button,
  .woocommerce div.product .related ul.products li.product .added_to_cart,
  .woocommerce div.product .upsells ul.products li.product .button,
  .woocommerce div.product .upsells ul.products li.product .added_to_cart {
    min-height: 2.8rem;
    margin: auto 0.72rem 0.72rem;
    width: calc(100% - 1.44rem);
    padding: 0.72rem 0.6rem;
    font-size: 0.88rem;
  }
}

/* Wave 3 foundation alignment: order-received, account, and checkout spacing should
   match the shared page system and remain printable/mobile-friendly. */

.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-order-received .woocommerce-notice,
.woocommerce-order-received .woocommerce-order,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-account .woocommerce-MyAccount-content > :first-child {
  margin-top: 0;
}

.woocommerce-order-received .woocommerce-notice--success.woocommerce-thankyou-order-received {
  margin-bottom: 1rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.98);
}

.woocommerce-account .woocommerce-MyAccount-content > * + * {
  margin-top: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-content legend {
  padding-inline: 0.4rem;
  color: var(--twl-commerce-accent);
}

.woocommerce-account .addresses,
.woocommerce-account .woocommerce-Addresses,
.woocommerce-order-received .woocommerce-columns--addresses {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .woocommerce-account .addresses,
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce-order-received .woocommerce-columns--addresses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.woocommerce-order-received .woocommerce-table--order-details,
.woocommerce-account .woocommerce-MyAccount-content table {
  margin-bottom: 0;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.78);
}

@media (max-width: 767px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  .woocommerce table.shop_table_responsive tr td::before {
    color: var(--twl-commerce-accent);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .woocommerce-order-received .woocommerce-order-overview {
    gap: 0.7rem;
  }

  .woocommerce-order-received .woocommerce-order-overview li {
    padding: 0.8rem 0.9rem;
  }
}

/* Wave 3 stabilization pass: make the final Woo layout rules authoritative so
   account, cart, checkout, tickets, and single-product pages stop inheriting
   conflicting intermediate grid decisions. */

.twl-main--commerce,
.twl-main--commerce > .woocommerce,
.woocommerce ul.products,
.woocommerce-page ul.products {
  min-width: 0;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--twl-commerce-card-min)), 1fr));
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  min-width: 0;
  overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  overflow-wrap: anywhere;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--twl-commerce-gap-lg);
  align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
  align-self: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  grid-column: 1;
}

.woocommerce-account .woocommerce-MyAccount-content {
  grid-column: 1;
}

@media (min-width: 981px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    grid-column: 1;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 2;
  }
}

.woocommerce #customer_login.u-columns,
.woocommerce-account #customer_login.u-columns,
.woocommerce .u-columns.col2-set {
  width: 100%;
  margin: 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.woocommerce #customer_login.u-columns .u-column1,
.woocommerce #customer_login.u-columns .u-column2,
.woocommerce-account #customer_login.u-columns .u-column1,
.woocommerce-account #customer_login.u-columns .u-column2 {
  width: 100%;
  min-width: 0;
}

@media (min-width: 900px) {
  .woocommerce #customer_login.u-columns,
  .woocommerce-account #customer_login.u-columns,
  .woocommerce .u-columns.col2-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--twl-commerce-gap-lg);
  align-items: start;
}

.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.woocommerce-cart .cart-collaterals {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: min(100%, 24rem);
  margin-left: auto;
}

@media (min-width: 1080px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-cart .cart-collaterals {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 24rem);
  }

  .woocommerce-cart .cart-collaterals .cart_totals {
    grid-column: 2;
  }
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--twl-commerce-gap-lg);
  align-items: start;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment,
.woocommerce-checkout #order_review_heading {
  align-self: start;
}

@media (min-width: 1080px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 24rem);
  }

  .woocommerce-checkout #customer_details {
    grid-column: 1;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout #payment {
    grid-column: 2;
  }
}

.single-product .twl-main--commerce > .woocommerce {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.single-product .woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.25rem);
  max-width: min(100%, 1200px);
  margin-inline: auto;
  overflow: hidden;
}

@media (min-width: 980px) {
  .single-product .woocommerce div.product {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  }
}

.single-product .woocommerce div.product > .woocommerce-product-gallery,
.single-product .woocommerce div.product > .summary.entry-summary {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.single-product .woocommerce div.product .woocommerce-product-gallery__trigger,
.single-product .woocommerce div.product .sku_wrapper,
.single-product .woocommerce div.product .posted_in,
.single-product .woocommerce div.product .product_meta {
  display: none !important;
}

.single-product .woocommerce div.product > .woocommerce-tabs,
.single-product .woocommerce div.product > .related.products,
.single-product .woocommerce div.product > .upsells.products {
  grid-column: 1 / -1;
}

.single-product .woocommerce div.product .related ul.products,
.single-product .woocommerce div.product .upsells ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1rem);
}

.single-product .woocommerce div.product .related ul.products li.product,
.single-product .woocommerce div.product .upsells ul.products li.product {
  min-width: 0;
}

@media (max-width: 900px) {
  .single-product .woocommerce div.product .related ul.products,
  .single-product .woocommerce div.product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Wave 3 correction pass: tighten single-product layout, remove SKU noise,
   make the content flow feel intentional, and keep related items in a smaller horizontal run. */

.single-product .woocommerce div.product {
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--twl-commerce-radius) + 0.2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(12, 12, 12, 0.94), rgba(5, 5, 5, 0.9));
  box-shadow: var(--twl-commerce-shadow);
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

@media (min-width: 980px) {
  .single-product .woocommerce div.product {
    grid-template-columns: minmax(18rem, 35rem) minmax(18rem, 30rem);
    justify-content: center;
  }
}

.single-product .woocommerce div.product > .summary.entry-summary {
  max-width: 30rem;
}

.single-product .woocommerce div.product > .woocommerce-product-gallery,
.single-product .woocommerce div.product > .summary.entry-summary {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.single-product .woocommerce div.product .summary.entry-summary > * {
  margin-bottom: 0;
}

.single-product .woocommerce div.product .summary.entry-summary > * + * {
  margin-top: 0.95rem;
}

.single-product .woocommerce div.product .summary.entry-summary .woocommerce-product-details__short-description {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .woocommerce div.product .summary.entry-summary .woocommerce-product-details__short-description + form.cart {
  padding-top: 0.15rem;
}

.single-product .woocommerce div.product .sku_wrapper {
  display: none !important;
}

.single-product .woocommerce div.product .posted_in,
.single-product .woocommerce div.product .product_meta {
  display: none !important;
}

.single-product .woocommerce div.product .woocommerce-message {
  display: none;
}

.single-product .woocommerce div.product .woocommerce-product-gallery__trigger {
  display: none !important;
}

.single-product .woocommerce div.product > .woocommerce-tabs {
  display: grid;
  gap: 1rem;
  grid-column: 1 / -1;
  margin-top: 0.45rem;
}

.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0;
  border-bottom: 0;
}

.single-product .woocommerce div.product .woocommerce-tabs .panel {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.single-product .woocommerce div.product .related.products,
.single-product .woocommerce div.product .upsells.products {
  overflow: hidden;
  grid-column: 1 / -1;
}

.single-product .woocommerce div.product .related ul.products,
.single-product .woocommerce div.product .upsells ul.products {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12rem, 15rem);
  grid-template-columns: none;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.single-product .woocommerce div.product .related ul.products li.product,
.single-product .woocommerce div.product .upsells ul.products li.product {
  min-width: 0;
  width: auto;
}

.single-product .woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,
.single-product .woocommerce div.product .upsells ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
}

.single-product .woocommerce div.product .related ul.products li.product .button,
.single-product .woocommerce div.product .upsells ul.products li.product .button,
.single-product .woocommerce div.product .related ul.products li.product .added_to_cart,
.single-product .woocommerce div.product .upsells ul.products li.product .added_to_cart {
  min-height: 2.45rem;
  padding: 0.65rem 0.7rem;
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .single-product .woocommerce div.product .related ul.products,
  .single-product .woocommerce div.product .upsells ul.products {
    grid-auto-columns: minmax(10.5rem, 12.5rem);
  }
}

.woocommerce-cart .woocommerce {
  grid-template-columns: 1fr;
  align-items: start;
}

.woocommerce-cart table.shop_table,
.woocommerce-account .woocommerce-table,
.woocommerce-order-received .shop_table {
  width: 100%;
}

.woocommerce-cart-form {
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.woocommerce-cart table.shop_table {
  border-radius: 1.15rem;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  padding: 1rem 0.75rem;
}

.woocommerce-cart .woocommerce-cart-form__contents td.product-name {
  width: 38%;
}

.woocommerce-cart .product-name a {
  font-weight: 600;
}

.woocommerce-cart .product-thumbnail img {
  width: 88px;
  border-radius: 0.9rem;
}

.woocommerce-cart .actions {
  justify-content: space-between;
}

.woocommerce-cart .actions .coupon {
  flex: 1 1 24rem;
}

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

.woocommerce-cart .cart-collaterals .cart_totals {
  position: static;
}

@media (min-width: 1080px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 24rem);
  }

  .woocommerce-cart .cart-collaterals .cart_totals {
    position: sticky;
    top: calc(var(--twl-header-height, 4.8rem) + 1rem);
  }
}

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

  .woocommerce-cart .cart-collaterals .cart_totals {
    position: static;
  }
}

/* Wave 3 run-8 stabilization: make Woo account/cart/checkout/product/archive
   layout final and authoritative so older module layers stop leaking through. */

.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--twl-commerce-gap-lg);
  align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  align-self: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  grid-column: 1;
}

.woocommerce-account .woocommerce-MyAccount-content {
  grid-column: 1;
}

@media (min-width: 981px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: minmax(250px, 290px) minmax(0, 1fr) !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    grid-column: 1;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 2;
  }
}

.woocommerce #customer_login.u-columns,
.woocommerce-account #customer_login.u-columns,
.woocommerce .u-columns.col2-set {
  width: 100% !important;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--twl-commerce-gap-lg);
  align-items: start;
}

.woocommerce #customer_login.u-columns .u-column1,
.woocommerce #customer_login.u-columns .u-column2,
.woocommerce-account #customer_login.u-columns .u-column1,
.woocommerce-account #customer_login.u-columns .u-column2 {
  width: 100% !important;
  min-width: 0;
}

@media (min-width: 900px) {
  .woocommerce #customer_login.u-columns,
  .woocommerce-account #customer_login.u-columns,
  .woocommerce .u-columns.col2-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.woocommerce-cart .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--twl-commerce-gap-lg);
  align-items: start;
  float: none !important;
}

.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1 / -1;
  order: 1;
  float: none !important;
  width: 100% !important;
}

.woocommerce-cart .cart-collaterals {
  grid-column: 1 / -1;
  order: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  float: none !important;
  width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: min(100%, 24rem);
  margin-left: auto;
  position: static;
}

@media (min-width: 1080px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-cart .cart-collaterals {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem) !important;
  }

  .woocommerce-cart .cart-collaterals .cart_totals {
    grid-column: 2;
    position: sticky;
    top: calc(var(--twl-header-height, 4.8rem) + 1rem);
  }
}

.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--twl-commerce-gap-lg);
  align-items: start;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment,
.woocommerce-checkout #order_review_heading {
  align-self: start !important;
}

@media (min-width: 1080px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 24rem);
  }

  .woocommerce-checkout #customer_details {
    grid-column: 1;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout #payment {
    grid-column: 2;
  }
}

.single-product .twl-main--commerce > .woocommerce {
  width: min(100%, 1320px);
  margin-inline: auto;
}

.single-product .woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--twl-commerce-radius) + 0.2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(12, 12, 12, 0.94), rgba(5, 5, 5, 0.9));
  box-shadow: var(--twl-commerce-shadow);
  align-items: start;
  overflow: hidden;
}

@media (min-width: 980px) {
  .single-product .woocommerce div.product {
    grid-template-columns: minmax(24rem, 1.08fr) minmax(20rem, 0.92fr);
  }
}

.single-product .woocommerce div.product > .woocommerce-product-gallery,
.single-product .woocommerce div.product > .summary.entry-summary {
  width: 100%;
  min-width: 0;
  margin: 0;
  box-shadow: none;
}

.single-product .woocommerce div.product > .summary.entry-summary {
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.single-product .woocommerce div.product > .woocommerce-product-gallery {
  grid-column: 1;
  grid-row: 1;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem) 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 1.35rem 1.35rem 0 0;
  background: linear-gradient(180deg, rgba(68, 68, 68, 0.96), rgba(35, 35, 35, 0.96));
}

.single-product .woocommerce div.product > .summary.entry-summary {
  grid-column: 1;
  grid-row: 2;
  padding: 0 clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  border-radius: 0 0 1.35rem 1.35rem;
  background: linear-gradient(180deg, rgba(68, 68, 68, 0.96), rgba(35, 35, 35, 0.96));
}

.single-product .woocommerce div.product .woocommerce-product-gallery__trigger,
.single-product .woocommerce div.product .sku_wrapper,
.single-product .woocommerce div.product .posted_in,
.single-product .woocommerce div.product .product_meta,
.single-product .woocommerce div.product .woocommerce-message,
.single-product .woocommerce div.product > .woocommerce-tabs {
  display: none !important;
}

.single-product .woocommerce div.product .product_title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.94;
}

.single-product .woocommerce div.product .price {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.single-product .woocommerce div.product .summary.entry-summary > * {
  margin-bottom: 0;
}

.single-product .woocommerce div.product .summary.entry-summary > * + * {
  margin-top: 0.95rem;
}

.single-product .woocommerce div.product .summary.entry-summary .woocommerce-product-details__short-description {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.98rem;
  line-height: 1.65;
}

.single-product .woocommerce div.product form.cart {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.single-product .woocommerce div.product .variations_form table.variations {
  margin-bottom: 0.9rem;
}

.single-product .woocommerce div.product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
  border-radius: 1.1rem;
  overflow: hidden;
}

.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
  margin-top: 0.75rem;
}

.single-product .woocommerce div.product .group_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.65rem;
}

.single-product .woocommerce div.product .group_table tr {
  background: rgba(255, 255, 255, 0.03);
}

.single-product .woocommerce div.product .group_table td {
  padding: 0.85rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .woocommerce div.product .group_table td:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem 0 0 1rem;
}

.single-product .woocommerce div.product .group_table td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 1rem 1rem 0;
}

.single-product .woocommerce div.product .group_table .qty {
  width: 5.4rem;
}

.single-product .woocommerce div.product .group_table .woocommerce-grouped-product-list-item__price {
  white-space: nowrap;
  color: var(--twl-commerce-accent);
  font-weight: 700;
}

.single-product .woocommerce div.product .twl-product-details-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(68, 68, 68, 0.96), rgba(35, 35, 35, 0.96));
  overflow: hidden;
  align-self: start;
}

.single-product .woocommerce div.product .twl-product-details-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.single-product .woocommerce div.product .twl-product-details-panel summary::-webkit-details-marker {
  display: none;
}

.single-product .woocommerce div.product .twl-product-details-panel summary::after {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
  color: var(--twl-commerce-accent);
}

.single-product .woocommerce div.product .twl-product-details-panel[open] summary::after {
  content: "−";
}

.single-product .woocommerce div.product .twl-product-details-panel__body {
  display: grid;
  gap: 1rem;
  padding: 0 1.1rem 1.15rem;
  color: var(--twl-commerce-muted-strong);
  line-height: 1.72;
}

.single-product .woocommerce div.product .twl-product-details-panel__section {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.single-product .woocommerce div.product .twl-product-details-panel__section > h2,
.single-product .woocommerce div.product .twl-product-details-panel__section > h3 {
  margin-top: 0;
}

.single-product .woocommerce div.product .twl-product-details-panel__body > :first-child {
  margin-top: 0;
}

.single-product .woocommerce div.product .twl-product-details-panel__body > :last-child {
  margin-bottom: 0;
}

.single-product .woocommerce div.product > .related.products,
.single-product .woocommerce div.product > .upsells.products {
  grid-column: 1 / -1;
  overflow: hidden;
}

.single-product .woocommerce div.product .related ul.products,
.single-product .woocommerce div.product .upsells ul.products {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8.5rem, 9.5rem);
  grid-template-columns: none;
  gap: 0.7rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.single-product .woocommerce div.product .related ul.products li.product,
.single-product .woocommerce div.product .upsells ul.products li.product {
  min-width: 0;
  width: auto;
}

.single-product .woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,
.single-product .woocommerce div.product .upsells ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.92rem;
  min-height: 0;
}

.single-product .woocommerce div.product .related ul.products li.product .button,
.single-product .woocommerce div.product .upsells ul.products li.product .button,
.single-product .woocommerce div.product .related ul.products li.product .added_to_cart,
.single-product .woocommerce div.product .upsells ul.products li.product .added_to_cart {
  min-height: 2.1rem;
  padding: 0.55rem 0.6rem;
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .single-product .woocommerce div.product > .woocommerce-product-gallery,
  .single-product .woocommerce div.product > .summary.entry-summary,
  .single-product .woocommerce div.product .twl-product-details-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .single-product .woocommerce div.product .related ul.products,
  .single-product .woocommerce div.product .upsells ul.products {
    grid-auto-columns: minmax(8.5rem, 9.5rem);
  }
}

.tax-product_cat.term-tickets .twl-main--commerce,
.tax-product_cat.term-twl .twl-main--commerce {
  --twl-commerce-archive-min: 10.5rem;
}

.tax-product_cat.term-tickets .woocommerce ul.products,
.tax-product_cat.term-twl .woocommerce ul.products {
  justify-content: center;
  gap: clamp(0.7rem, 1.2vw, 0.95rem);
}

@media (min-width: 980px) {
  .tax-product_cat.term-tickets .woocommerce ul.products,
  .tax-product_cat.term-twl .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tax-product_cat.term-tickets .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat.term-twl .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem;
    padding: 0.9rem 0.9rem 0;
  }

  .tax-product_cat.term-tickets .woocommerce ul.products li.product .price,
  .tax-product_cat.term-twl .woocommerce ul.products li.product .price {
    padding: 0.45rem 0.9rem 0;
    font-size: 0.95rem;
  }

  .tax-product_cat.term-tickets .woocommerce ul.products li.product .button,
  .tax-product_cat.term-twl .woocommerce ul.products li.product .button,
  .tax-product_cat.term-tickets .woocommerce ul.products li.product .added_to_cart,
  .tax-product_cat.term-twl .woocommerce ul.products li.product .added_to_cart {
    margin: 0.85rem 0.9rem 0.95rem;
    width: calc(100% - 1.8rem);
    min-height: 2.45rem;
    font-size: 0.72rem;
  }
}

.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products {
  width: 100%;
  max-width: none;
}

@media (max-width: 767px) {
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.72rem;
  }

  .tax-product_cat.term-tickets .woocommerce ul.products,
  .tax-product_cat.term-twl .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product,
  .tax-product_cat .woocommerce ul.products li.product {
    width: 100% !important;
    min-width: 0;
  }

  .post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0.85rem 0.85rem 0;
    font-size: 1rem;
  }

  .post-type-archive-product .woocommerce ul.products li.product .price,
  .tax-product_cat .woocommerce ul.products li.product .price {
    padding: 0.4rem 0.85rem 0;
    font-size: 0.94rem;
  }

  .post-type-archive-product .woocommerce ul.products li.product .button,
  .post-type-archive-product .woocommerce ul.products li.product .added_to_cart,
  .tax-product_cat .woocommerce ul.products li.product .button,
  .tax-product_cat .woocommerce ul.products li.product .added_to_cart {
    margin: 0.8rem 0.85rem 0.9rem;
    width: calc(100% - 1.7rem);
    min-height: 2.45rem;
    padding: 0.65rem 0.55rem;
    font-size: 0.74rem;
  }
}

.woocommerce-cart .actions {
  align-items: center;
}

.woocommerce-cart .actions .coupon {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
}

.woocommerce-cart .actions .coupon > * {
  margin: 0 !important;
}

#coupon_code,
#twl_gc_code {
  width: min(100%, 8.5rem);
  min-height: 2.65rem;
}

.woocommerce-cart-form .coupon button,
.woocommerce-cart .actions > .button[name="update_cart"] {
  min-height: 2.65rem;
  padding-inline: 1rem;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout .woocommerce-billing-fields {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.woocommerce-checkout #order_review_heading {
  order: -3;
  margin-top: 0;
}

.woocommerce-checkout #order_review {
  order: -2;
}

.woocommerce-checkout #payment {
  order: -1;
}

.woocommerce form .form-row.twl-wc-sms-consent-field .optional {
  display: none;
}

/* Wave 3 run-10 authoritative cleanup: archive sizing, cart structure, and
   checkout structure. Keep this block at the end so it wins over earlier
   stabilization layers. */

.post-type-archive-product .twl-main--commerce,
.tax-product_cat .twl-main--commerce {
  padding-inline: 0;
}

.post-type-archive-product .woocommerce,
.tax-product_cat .woocommerce {
  width: 100%;
  max-width: none;
}

.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products {
  width: 100% !important;
  max-width: none !important;
  justify-content: stretch !important;
  justify-items: stretch;
}

.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  justify-self: stretch;
}

@media (min-width: 980px) {
  .tax-product_cat.term-tickets .woocommerce ul.products,
  .tax-product_cat.term-twl .woocommerce ul.products {
    grid-template-columns: repeat(auto-fit, minmax(11.6rem, 11.6rem)) !important;
    justify-content: center !important;
    justify-items: stretch;
    gap: 0.8rem !important;
  }

  .tax-product_cat.term-tickets .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat.term-twl .woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0.78rem 0.78rem 0;
    font-size: 0.96rem;
  }

  .tax-product_cat.term-tickets .woocommerce ul.products li.product .price,
  .tax-product_cat.term-twl .woocommerce ul.products li.product .price {
    padding: 0.34rem 0.78rem 0;
    font-size: 0.88rem;
  }

  .tax-product_cat.term-tickets .woocommerce ul.products li.product .button,
  .tax-product_cat.term-twl .woocommerce ul.products li.product .button,
  .tax-product_cat.term-tickets .woocommerce ul.products li.product .added_to_cart,
  .tax-product_cat.term-twl .woocommerce ul.products li.product .added_to_cart {
    margin: 0.68rem 0.78rem 0.82rem;
    width: calc(100% - 1.56rem);
    min-height: 2.15rem;
    padding: 0.52rem 0.5rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 767px) {
  .post-type-archive-product .twl-main--commerce,
  .tax-product_cat .twl-main--commerce {
    padding-inline: clamp(0.45rem, 2.1vw, 0.75rem);
  }

  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.68rem !important;
    justify-content: stretch !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product,
  .tax-product_cat .woocommerce ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0.72rem 0.72rem 0;
    font-size: 0.86rem;
    line-height: 1.08;
  }

  .post-type-archive-product .woocommerce ul.products li.product .price,
  .tax-product_cat .woocommerce ul.products li.product .price {
    padding: 0.32rem 0.72rem 0;
    font-size: 0.82rem;
  }

  .post-type-archive-product .woocommerce ul.products li.product .button,
  .post-type-archive-product .woocommerce ul.products li.product .added_to_cart,
  .tax-product_cat .woocommerce ul.products li.product .button,
  .tax-product_cat .woocommerce ul.products li.product .added_to_cart {
    margin: 0.62rem 0.72rem 0.82rem;
    width: calc(100% - 1.44rem);
    min-height: 2.18rem;
    padding: 0.52rem 0.4rem;
    font-size: 0.66rem;
    line-height: 1.08;
    letter-spacing: 0.03em;
  }
}

.woocommerce-cart .woocommerce {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.7rem;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.96), rgba(16, 16, 16, 0.97));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.32);
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals .cart_totals {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce-cart .woocommerce-cart-form {
  padding: 0 0 0.4rem;
}

.woocommerce-cart .woocommerce-cart-form__contents {
  margin: 0;
}

.woocommerce-cart .woocommerce-cart-form__contents thead th,
.woocommerce-cart .woocommerce-cart-form__contents tbody td,
.woocommerce-cart .woocommerce-cart-form__contents tfoot td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.woocommerce-cart .woocommerce-cart-form__contents tbody tr.cart_item:nth-of-type(odd) td {
  background: rgba(255, 255, 255, 0.018);
}

.woocommerce-cart .woocommerce-cart-form__contents tbody tr.cart_item:nth-of-type(even) td {
  background: rgba(255, 255, 255, 0.038);
}

.woocommerce-cart .woocommerce-cart-form__contents td,
.woocommerce-cart .woocommerce-cart-form__contents th {
  vertical-align: middle;
}

.woocommerce-cart .woocommerce-cart-form__contents td.product-remove,
.woocommerce-cart .woocommerce-cart-form__contents th.product-remove {
  width: 3.1rem;
  padding-right: 0;
}

.woocommerce-cart .woocommerce-cart-form__contents td.product-thumbnail,
.woocommerce-cart .woocommerce-cart-form__contents th.product-thumbnail {
  width: 5.1rem;
  padding-left: 0;
  padding-right: 0.65rem;
}

.woocommerce-cart .woocommerce-cart-form__contents td.product-name,
.woocommerce-cart .woocommerce-cart-form__contents th.product-name {
  padding-left: 0.35rem;
  text-align: left;
}

.woocommerce-cart .woocommerce-cart-form__contents td.product-price,
.woocommerce-cart .woocommerce-cart-form__contents td.product-quantity,
.woocommerce-cart .woocommerce-cart-form__contents td.product-subtotal,
.woocommerce-cart .woocommerce-cart-form__contents th.product-price,
.woocommerce-cart .woocommerce-cart-form__contents th.product-quantity,
.woocommerce-cart .woocommerce-cart-form__contents th.product-subtotal {
  white-space: nowrap;
}

.woocommerce-cart .product-thumbnail img {
  width: 3rem;
  max-width: 3rem;
  border-radius: 0.5rem;
}

.woocommerce-cart .actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding-top: 0.95rem;
}

.woocommerce-cart .actions .coupon {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

.woocommerce-cart .actions .coupon > *,
.woocommerce-cart .actions .twl-giftcard-coupon > * {
  margin: 0 !important;
}

.woocommerce-cart .actions .twl-giftcard-coupon,
.woocommerce-cart .actions .coupon .twl-gc-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.woocommerce-cart .actions input[type="text"],
.woocommerce-cart .actions input[type="search"],
.woocommerce-cart .actions input[type="email"] {
  min-height: 2.45rem;
}

.woocommerce-cart .actions #coupon_code,
.woocommerce-cart .actions #twl_gc_code {
  width: min(100%, 8rem);
}

.woocommerce-cart .actions .button,
.woocommerce-cart .actions button,
.woocommerce-cart .actions input[type="submit"] {
  min-height: 2.45rem;
  padding-inline: 0.95rem;
  font-size: 0.78rem;
}

.woocommerce-cart .actions .button[name="update_cart"] {
  margin-left: auto;
}

.woocommerce-cart .cart-collaterals {
  display: grid;
  justify-items: end;
  padding: 1.1rem 1.3rem 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: min(100%, 30rem);
  padding: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td {
  padding-block: 0.82rem;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
  width: 1%;
  white-space: nowrap;
  text-align: right;
  padding-right: 0.85rem;
}

.woocommerce-cart .cart-collaterals .cart_totals table td {
  text-align: right;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  column-gap: clamp(1rem, 2.2vw, 1.6rem);
  row-gap: 1rem;
  align-items: start;
}

.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1.45rem;
  background: rgba(229, 229, 229, 0.12) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.woocommerce-checkout #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0 0 0.15rem;
}

.woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
}

.woocommerce-checkout #payment {
  margin-top: 0.9rem;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper textarea,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper input.input-text,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  background: rgba(235, 235, 235, 0.82) !important;
  color: #171717 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
  background-image: none !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  padding-block: 0.82rem;
  text-align: right;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  width: 1%;
  white-space: nowrap;
  padding-right: 0.85rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.fee,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total {
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 980px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  .woocommerce-cart .actions {
    align-items: stretch;
  }

  .woocommerce-cart .actions .coupon,
  .woocommerce-cart .actions .twl-giftcard-coupon,
  .woocommerce-cart .actions .coupon .twl-gc-inline {
    width: 100%;
  }

  .woocommerce-cart .actions .twl-giftcard-coupon,
  .woocommerce-cart .actions .coupon .twl-gc-inline {
    flex-wrap: wrap;
  }

  .woocommerce-cart .actions .button[name="update_cart"] {
    margin-left: 0;
  }

  .woocommerce-cart .cart-collaterals {
    justify-items: stretch;
  }

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

/* Wave 3 structural authority pass: keep Woo content padding separate from the
   full-bleed hero, stop archive cards from stretching past the intended TWL
   card width, and restore real table-cell behavior for cart actions. */

.twl-main--commerce > .twl-commerce-content > .woocommerce-notices-wrapper,
.twl-main--commerce > .twl-commerce-content > .woocommerce,
.twl-main--commerce > .twl-commerce-content > .woocommerce-page {
  width: 100%;
  max-width: none;
  padding-inline: var(--twl-content-inline-pad);
  box-sizing: border-box;
}

.post-type-archive-product .twl-main--commerce,
.tax-product_cat .twl-main--commerce {
  --twl-shop-card-width: 16.076rem;
}

.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products {
  grid-template-columns: repeat(auto-fit, minmax(var(--twl-shop-card-width), var(--twl-shop-card-width))) !important;
  justify-content: center !important;
  justify-items: stretch !important;
  gap: clamp(0.75rem, 1.2vw, 0.95rem) !important;
}

.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product {
  width: var(--twl-shop-card-width) !important;
  max-width: var(--twl-shop-card-width) !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}

@media (max-width: 767px) and (min-width: 560px) {
  .post-type-archive-product .twl-main--commerce > .twl-commerce-content,
  .tax-product_cat .twl-main--commerce > .twl-commerce-content {
    padding-inline: clamp(0.45rem, 1.6vw, 0.7rem);
  }

  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(var(--twl-shop-card-width), var(--twl-shop-card-width))) !important;
    justify-content: center !important;
    gap: 0.8rem !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product,
  .tax-product_cat .woocommerce ul.products li.product {
    width: var(--twl-shop-card-width) !important;
    max-width: var(--twl-shop-card-width) !important;
  }
}

@media (max-width: 559px) {
  .post-type-archive-product .twl-main--commerce > .twl-commerce-content,
  .tax-product_cat .twl-main--commerce > .twl-commerce-content {
    padding-inline: 0.45rem;
  }

  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 0.65rem !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product,
  .tax-product_cat .woocommerce ul.products li.product {
    width: auto !important;
    max-width: none !important;
  }
}

.woocommerce-cart .woocommerce {
  gap: 0;
}

.woocommerce-cart .woocommerce-cart-form {
  padding: 0;
}

.woocommerce-cart .woocommerce-cart-form__contents {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.woocommerce-cart .woocommerce-cart-form__contents thead th,
.woocommerce-cart .woocommerce-cart-form__contents tbody td,
.woocommerce-cart .woocommerce-cart-form__contents tfoot td {
  padding-block: 1rem;
}

.woocommerce-cart .woocommerce-cart-form__contents thead th:first-child,
.woocommerce-cart .woocommerce-cart-form__contents tbody td:first-child,
.woocommerce-cart .woocommerce-cart-form__contents tfoot td:first-child {
  padding-left: var(--twl-content-inline-pad, 69px);
}

.woocommerce-cart .woocommerce-cart-form__contents thead th:last-child,
.woocommerce-cart .woocommerce-cart-form__contents tbody td:last-child,
.woocommerce-cart .woocommerce-cart-form__contents tfoot td:last-child {
  padding-right: var(--twl-content-inline-pad, 69px);
}

.woocommerce-cart .woocommerce-cart-form__contents td.product-remove,
.woocommerce-cart .woocommerce-cart-form__contents th.product-remove {
  width: 2.55rem;
  padding-right: 0.35rem;
}

.woocommerce-cart .woocommerce-cart-form__contents td.product-thumbnail,
.woocommerce-cart .woocommerce-cart-form__contents th.product-thumbnail {
  width: 3.7rem;
  padding-left: 0;
  padding-right: 0.55rem;
}

.woocommerce-cart .woocommerce-cart-form__contents td.product-name,
.woocommerce-cart .woocommerce-cart-form__contents th.product-name {
  padding-left: 0;
  text-align: left;
}

.woocommerce-cart .woocommerce-cart-form__contents td.actions {
  display: table-cell !important;
  width: auto !important;
  padding-top: 1.05rem !important;
  padding-bottom: 1.05rem !important;
  text-align: left;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.02);
}

.woocommerce-cart .woocommerce-cart-form__contents td.actions > .coupon {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
  width: auto;
  max-width: calc(100% - 11rem);
  min-width: 0;
  margin: 0;
}

.woocommerce-cart .woocommerce-cart-form__contents td.actions > .coupon .input-text {
  width: 11.25rem;
  max-width: 11.25rem;
  min-height: 2.4rem;
}

.woocommerce-cart .woocommerce-cart-form__contents td.actions > .coupon > .twl-giftcard-coupon {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: auto;
  min-width: 0;
  margin-left: 0.45rem;
}

.woocommerce-cart .woocommerce-cart-form__contents .twl-giftcard-coupon__label {
  color: var(--twl-commerce-muted-strong);
  font-weight: 600;
}

.woocommerce-cart .woocommerce-cart-form__contents .twl-giftcard-coupon__input {
  width: 11.25rem;
  max-width: 11.25rem;
  min-height: 2.4rem;
}

.woocommerce-cart .woocommerce-cart-form__contents td.actions .button,
.woocommerce-cart .woocommerce-cart-form__contents td.actions button,
.woocommerce-cart .woocommerce-cart-form__contents td.actions input[type="submit"] {
  min-height: 2.4rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
  line-height: 1.1;
}

.woocommerce-cart .woocommerce-cart-form__contents td.actions > .button[name="update_cart"] {
  float: right;
  margin: 0;
}

.woocommerce-cart .cart-collaterals {
  border-top: 0 !important;
  padding-top: 0.55rem;
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
  width: auto;
  padding-right: 0.55rem;
}

.woocommerce-cart .cart-collaterals .cart_totals table td {
  width: 1%;
  white-space: nowrap;
}

.woocommerce-checkout #customer_details {
  background: rgba(214, 214, 214, 0.16) !important;
}

.woocommerce-checkout #order_review_heading {
  align-self: start !important;
  margin: 0 0 0.55rem !important;
}

.woocommerce-checkout #order_review {
  align-self: start !important;
  margin-top: 0 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  width: auto;
  padding-right: 0.55rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  width: 1%;
  white-space: nowrap;
}

.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  background: rgba(228, 228, 228, 0.78) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single::before,
.woocommerce-checkout .select2-container--default .select2-selection--single::after {
  display: none !important;
}

@media (max-width: 980px) {
  .woocommerce-cart .woocommerce-cart-form__contents thead th:first-child,
  .woocommerce-cart .woocommerce-cart-form__contents tbody td:first-child,
  .woocommerce-cart .woocommerce-cart-form__contents tfoot td:first-child {
    padding-left: 1rem;
  }

  .woocommerce-cart .woocommerce-cart-form__contents thead th:last-child,
  .woocommerce-cart .woocommerce-cart-form__contents tbody td:last-child,
  .woocommerce-cart .woocommerce-cart-form__contents tfoot td:last-child {
    padding-right: 1rem;
  }

  .woocommerce-cart .woocommerce-cart-form__contents td.actions > .coupon {
    flex-wrap: wrap;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .woocommerce-cart .woocommerce-cart-form__contents td.actions {
    display: block !important;
    padding-top: 0.95rem !important;
  }

  .woocommerce-cart .woocommerce-cart-form__contents td.actions > .coupon,
  .woocommerce-cart .woocommerce-cart-form__contents td.actions > .coupon > .twl-giftcard-coupon {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .woocommerce-cart .woocommerce-cart-form__contents td.actions > .coupon .input-text,
  .woocommerce-cart .woocommerce-cart-form__contents .twl-giftcard-coupon__input {
    width: 100%;
    max-width: none;
  }

  .woocommerce-cart .woocommerce-cart-form__contents td.actions > .button[name="update_cart"] {
    float: none;
    display: block;
    width: 100%;
    margin-top: 0.75rem;
  }
}

/* Wave 3 final Woo foundation pass: use exact archive card widths, keep cart
   spacing inside the theme padding system, tighten checkout's sticky order
   column, and power the local single-product template override. */

.post-type-archive-product .twl-main--commerce,
.tax-product_cat .twl-main--commerce {
  --twl-shop-card-width: 257.219px;
}

.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products {
  grid-template-columns: repeat(auto-fit, minmax(var(--twl-shop-card-width), var(--twl-shop-card-width))) !important;
  justify-content: center !important;
  justify-items: stretch !important;
  gap: 0.95rem !important;
}

.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product {
  width: var(--twl-shop-card-width) !important;
  max-width: var(--twl-shop-card-width) !important;
  min-width: 0 !important;
}

@media (max-width: 980px) and (min-width: 560px) {
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(var(--twl-shop-card-width), var(--twl-shop-card-width))) !important;
    justify-content: center !important;
    gap: 0.8rem !important;
  }
}

@media (max-width: 559px) {
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 0.65rem !important;
  }

  .post-type-archive-product .woocommerce ul.products li.product,
  .tax-product_cat .woocommerce ul.products li.product {
    width: auto !important;
    max-width: none !important;
  }
}

.woocommerce-cart .woocommerce {
  padding: 0 var(--twl-content-inline-pad) 1.25rem;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
  padding-inline: 0;
}

.woocommerce-cart .woocommerce-cart-form__contents thead th:first-child,
.woocommerce-cart .woocommerce-cart-form__contents tbody td:first-child,
.woocommerce-cart .woocommerce-cart-form__contents tfoot td:first-child,
.woocommerce-cart .woocommerce-cart-form__contents thead th:last-child,
.woocommerce-cart .woocommerce-cart-form__contents tbody td:last-child,
.woocommerce-cart .woocommerce-cart-form__contents tfoot td:last-child {
  padding-left: 1rem;
  padding-right: 1rem;
}

.woocommerce-cart .woocommerce-cart-form__contents td.actions {
  padding-top: 0.9rem !important;
  padding-bottom: 0.95rem !important;
}

.woocommerce-cart .cart-collaterals {
  padding-top: 0.4rem;
  border-top: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: min(100%, 34rem);
}

@media (max-width: 980px) {
  .woocommerce-cart .woocommerce {
    padding-inline: 1rem;
  }
}

.woocommerce-checkout #customer_details {
  background:
    linear-gradient(180deg, rgba(190, 190, 190, 0.18), rgba(120, 120, 120, 0.12)) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper textarea,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper input.input-text,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  background: rgba(176, 176, 176, 0.72) !important;
  color: #121212 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #121212 !important;
}

.woocommerce-checkout .select2-dropdown,
.woocommerce-checkout .select2-results,
.woocommerce-checkout .select2-results__options {
  background: rgba(60, 60, 60, 0.98) !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

.woocommerce-checkout .select2-results__option {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

.woocommerce-checkout .select2-results__option--highlighted.select2-results__option--selectable,
.woocommerce-checkout .select2-results__option--selected {
  background: rgba(201, 172, 140, 0.26) !important;
  color: rgba(255, 255, 255, 1) !important;
}

@media (min-width: 1080px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 27rem) !important;
  }

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

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 1;
  }

  .woocommerce-checkout #order_review_heading {
    position: sticky;
    top: calc(var(--twl-header-height, 4.8rem) + 1rem);
    z-index: 2;
    margin: 0 0 0.85rem !important;
  }

  .woocommerce-checkout #order_review {
    position: sticky;
    top: calc(var(--twl-header-height, 4.8rem) + 4.9rem);
    margin: 0 !important;
  }
}

/*
 * Single-product authority
 */
.single-product .twl-product-shell.twl-product-shell--override {
  width: 100% !important;
  margin: 0 !important;
  display: grid !important;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.single-product .woocommerce div.product.twl-product-shell.twl-product-shell--override,
.single-product .woocommerce-page div.product.twl-product-shell.twl-product-shell--override {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-layout {
  display: grid !important;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .single-product .twl-product-shell.twl-product-shell--override .twl-product-layout--with-details {
    grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.9fr);
  }
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card,
.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: #2b2f33;
  box-shadow: var(--twl-commerce-shadow);
  overflow: hidden;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__inner {
  display: grid !important;
  grid-template-columns: clamp(280px, 34vw, 420px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 100%;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__media,
.single-product .twl-product-shell.twl-product-shell--override .summary.entry-summary.twl-product-primary-card__summary {
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin: 0 !important;
  position: static !important;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__media {
  min-width: 0;
  padding: 0;
  background: #000;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__summary {
  display: block !important;
  min-width: 0;
  padding: 1.25rem 1.3rem;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__copy {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  min-height: 100%;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__meta {
  display: grid;
  gap: 0.85rem;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__purchase {
  margin-top: auto;
  padding-top: 0.25rem;
}

.single-product .twl-product-shell.twl-product-shell--override .product_title {
  margin: 0 !important;
  font-size: clamp(1.95rem, 2.8vw, 3.2rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.single-product .twl-product-shell.twl-product-shell--override .price {
  margin: 0 !important;
  font-size: clamp(1.2rem, 1.6vw, 1.7rem);
  color: var(--twl-color-gold);
}

.single-product .twl-product-shell.twl-product-shell--override .woocommerce-product-gallery,
.single-product .twl-product-shell.twl-product-shell--override .woocommerce-product-gallery__wrapper,
.single-product .twl-product-shell.twl-product-shell--override .images {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.single-product .twl-product-shell.twl-product-shell--override .woocommerce-product-gallery__wrapper,
.single-product .twl-product-shell.twl-product-shell--override .flex-control-thumbs {
  overflow: hidden;
  border-radius: 0;
}

.single-product .twl-product-shell.twl-product-shell--override .woocommerce-product-gallery__wrapper {
  background: #000;
}

.single-product .twl-product-shell.twl-product-shell--override .woocommerce-product-gallery__image img,
.single-product .twl-product-shell.twl-product-shell--override .woocommerce-product-gallery__wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.single-product .twl-product-shell.twl-product-shell--override .woocommerce-product-gallery__trigger,
.single-product .twl-product-shell.twl-product-shell--override .product_meta,
.single-product .twl-product-shell.twl-product-shell--override .sku_wrapper,
.single-product .twl-product-shell.twl-product-shell--override .posted_in,
.single-product .twl-product-shell.twl-product-shell--override .tagged_as,
.single-product .twl-product-shell.twl-product-shell--override .woocommerce-tabs {
  display: none !important;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__summary form.cart,
.single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__summary .variations_form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.single-product .twl-product-shell.twl-product-shell--override form.cart:not(.grouped_form):not(.variations_form) {
  display: grid;
  grid-template-columns: 5.5rem minmax(13rem, max-content);
  gap: 0.85rem;
  align-items: center;
  justify-content: start;
}

.single-product .twl-product-shell.twl-product-shell--override form.cart:not(.grouped_form):not(.variations_form) .quantity {
  width: 5.4rem;
}

.single-product .twl-product-shell.twl-product-shell--override form.cart:not(.grouped_form):not(.variations_form) .single_add_to_cart_button {
  width: 100%;
  min-width: 12rem;
  justify-self: start;
}

.single-product .twl-product-shell.twl-product-shell--override .variations_form table.variations,
.single-product .twl-product-shell.twl-product-shell--override .variations_form table.variations tbody,
.single-product .twl-product-shell.twl-product-shell--override .variations_form table.variations tr,
.single-product .twl-product-shell.twl-product-shell--override .variations_form table.variations td {
  display: block !important;
  width: 100% !important;
}

.single-product .twl-product-shell.twl-product-shell--override .variations_form table.variations td {
  padding: 0 !important;
}

.single-product .twl-product-shell.twl-product-shell--override .variations_form table.variations tr {
  margin-bottom: 0.9rem;
}

.single-product .twl-product-shell.twl-product-shell--override .grouped_form {
  display: grid;
  gap: 0.9rem;
}

.single-product .twl-product-shell.twl-product-shell--override .grouped_form .group_table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.single-product .twl-product-shell.twl-product-shell--override .grouped_form .group_table tbody,
.single-product .twl-product-shell.twl-product-shell--override .grouped_form .group_table tr,
.single-product .twl-product-shell.twl-product-shell--override .grouped_form .group_table td,
.single-product .twl-product-shell.twl-product-shell--override .grouped_form .group_table th {
  background: transparent !important;
}

.single-product .twl-product-shell.twl-product-shell--override .grouped_form .group_table tr {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .twl-product-shell.twl-product-shell--override .grouped_form .group_table tr:first-child {
  border-top: 0;
  padding-top: 0;
}

.single-product .twl-product-shell.twl-product-shell--override .grouped_form .group_table td {
  padding: 0 !important;
  border: 0 !important;
}

.single-product .twl-product-shell.twl-product-shell--override .grouped_form .woocommerce-grouped-product-list-item__label a {
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-weight: 600;
}

.single-product .twl-product-shell.twl-product-shell--override .grouped_form .woocommerce-grouped-product-list-item__price {
  text-align: right;
  color: var(--twl-color-gold);
  white-space: nowrap;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card {
  padding: 1.15rem 1.2rem;
  align-self: stretch;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card__inner {
  display: grid;
  gap: 0.9rem;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card__title {
  margin: 0;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.05;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card__section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card__section + .twl-product-details-card__section {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card__section h3 {
  display: none;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card__content {
  color: rgba(255, 253, 248, 0.9);
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card__content > :first-child {
  margin-top: 0;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-details-card__content > :last-child {
  margin-bottom: 0;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-detail-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-detail-list__row {
  display: grid;
  grid-template-columns: minmax(6.5rem, auto) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-detail-list__row dt,
.single-product .twl-product-shell.twl-product-shell--override .twl-product-detail-list__row dd {
  margin: 0;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-detail-list__row dt {
  color: rgba(255, 253, 248, 0.66);
  font-weight: 700;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-detail-list__row dd {
  color: rgba(255, 253, 248, 0.96);
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row {
  grid-column: 1 / -1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row .related.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row .related.products > h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.15;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row .products {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  overflow: hidden !important;
  justify-content: flex-start !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row .products li.product {
  flex: 0 0 200px !important;
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  margin: 0 !important;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row .products li.product:nth-child(n + 5) {
  display: none !important;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row .products li.product a img {
  aspect-ratio: 1 / 1;
}

.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row .products li.product .button,
.single-product .twl-product-shell.twl-product-shell--override .twl-product-related-row .products li.product .added_to_cart {
  width: calc(100% - 1.7rem);
  margin: 0.7rem 0.85rem 0.85rem;
  min-height: 2.2rem;
  font-size: 0.68rem;
  padding: 0.5rem 0.45rem;
}

@media (max-width: 959px) {
  .single-product .twl-product-shell.twl-product-shell--override .twl-product-layout--with-details {
    grid-template-columns: 1fr;
  }

  .single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__inner {
    grid-template-columns: 1fr;
  }

  .single-product .twl-product-shell.twl-product-shell--override .twl-product-primary-card__media {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .single-product .twl-product-shell.twl-product-shell--override form.cart:not(.grouped_form):not(.variations_form) {
    grid-template-columns: 1fr;
  }

  .single-product .twl-product-shell.twl-product-shell--override form.cart:not(.grouped_form):not(.variations_form) .single_add_to_cart_button {
    min-width: 0;
  }
}
