/**
 * The 3 Closets — WooCommerce Brand Overrides v3.0
 *
 * Matches the homepage SPA CI exactly:
 * - GRAYSCALE image filter (not sepia)
 * - Homepage color palette (HSL values from SPA)
 * - Cormorant Garamond font throughout
 *
 * @package Astra_Child_The3Closets
 * @version 3.0.0
 */


/* ══════════════════════════════════════════════════════════════════════
   Shop Page — Product Grid
   ══════════════════════════════════════════════════════════════════════ */

body.woocommerce-shop .t3c-page-intro,
body.single-product .t3c-page-intro,
body.woocommerce-cart .t3c-page-intro,
body.woocommerce-account .t3c-page-intro,
body.woocommerce-checkout .t3c-page-intro {
  min-height: auto !important;
  padding: clamp(64px, 7vw, 96px) var(--t3c-px-lg) clamp(44px, 5vw, 64px) !important;
  align-content: center;
}

body.woocommerce-shop .t3c-page-intro > h1,
body.single-product .t3c-page-intro > h1,
body.woocommerce-cart .t3c-page-intro > h1,
body.woocommerce-account .t3c-page-intro > h1,
body.woocommerce-checkout .t3c-page-intro > h1 {
  margin-bottom: 18px;
}

body.woocommerce-shop .t3c-page-intro__copy p,
body.single-product .t3c-page-intro__copy p,
body.woocommerce-cart .t3c-page-intro__copy p,
body.woocommerce-account .t3c-page-intro__copy p,
body.woocommerce-checkout .t3c-page-intro__copy p {
  margin-bottom: 0;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (min-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
  }
}

@media (min-width: 1025px) {
  .woocommerce ul.products[class*="columns-4"],
  .woocommerce-page ul.products[class*="columns-4"] {
    grid-template-columns: repeat(4, 1fr);
  }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
  text-align: center;
  transition: transform var(--t3c-duration) var(--t3c-ease);
}

body.woocommerce-shop .woocommerce ul.products li.product,
body.woocommerce-shop.woocommerce-page ul.products li.product {
  border-bottom: 0 !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
}

/* Product image — GRAYSCALE (EXACT SPA) */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
  filter: grayscale(0.85) contrast(1.08) brightness(1.02);
  border-radius: 0;
  margin-bottom: 16px;
  background-color: var(--t3c-card);
  transition: filter var(--t3c-duration-md) var(--t3c-ease);
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover .attachment-woocommerce_thumbnail {
  filter: grayscale(0.5) contrast(1.04) brightness(1.01);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--t3c-fg);
  padding: 0;
  margin-bottom: 8px;
  letter-spacing: var(--t3c-ls-tight);
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--t3c-muted);
}

.woocommerce ul.products li.product .price del {
  opacity: 0.5;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  font-weight: 400;
}

/* Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.product_type_variable {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--t3c-fg) !important;
  background: transparent !important;
  border: 1px solid var(--t3c-fg) !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
  margin-top: 16px !important;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    color var(--t3c-duration) var(--t3c-ease) !important;
  line-height: 1.4 !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.product_type_simple:hover,
.woocommerce ul.products li.product a.product_type_variable:hover {
  background: var(--t3c-fg) !important;
  color: var(--t3c-bg) !important;
}

.woocommerce-result-count,
.woocommerce-ordering select {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
}

.woocommerce-ordering select {
  background: transparent;
  border: 1px solid var(--t3c-border);
  padding: 8px 12px;
  border-radius: 0;
}

body.woocommerce-shop .woocommerce-notices-wrapper,
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering {
  margin-top: 0;
}

body.woocommerce-shop .woocommerce-notices-wrapper:not(:empty),
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering {
  margin-top: var(--t3c-space-lg) !important;
}

body.woocommerce-shop .woocommerce-result-count {
  margin-left: max(var(--t3c-px-lg), calc((100vw - var(--t3c-content-max)) / 2 + var(--t3c-px-lg)));
}

body.woocommerce-shop .woocommerce-ordering {
  margin-right: max(var(--t3c-px-lg), calc((100vw - var(--t3c-content-max)) / 2 + var(--t3c-px-lg)));
}

body.woocommerce-shop .woocommerce-message,
body.woocommerce-shop .woocommerce-info,
body.woocommerce-shop .woocommerce-error {
  margin-right: max(var(--t3c-px-lg), calc((100vw - var(--t3c-content-max)) / 2 + var(--t3c-px-lg))) !important;
  margin-left: max(var(--t3c-px-lg), calc((100vw - var(--t3c-content-max)) / 2 + var(--t3c-px-lg))) !important;
}

body.woocommerce-shop .woocommerce-ordering + hr.t3c-functional-divider {
  display: none !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper + hr.t3c-functional-divider,
body.woocommerce-checkout .woocommerce-notices-wrapper + hr.t3c-functional-divider {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-top: var(--t3c-space-lg) !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
  width: min(100%, 1200px);
  max-width: 1200px;
  margin-right: auto !important;
  margin-left: auto !important;
}


/* ══════════════════════════════════════════════════════════════════════
   Single Product
   ══════════════════════════════════════════════════════════════════════ */

/* Product images — GRAYSCALE */
.woocommerce div.product div.images img {
  filter: grayscale(0.85) contrast(1.08) brightness(1.02);
  border-radius: 0;
  background-color: var(--t3c-card);
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  border: 1px solid var(--t3c-border);
  background: var(--t3c-bg);
  border-radius: 0;
}

.woocommerce div.product .product_title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 300;
  color: var(--t3c-fg);
  letter-spacing: var(--t3c-ls-tight);
  margin-bottom: 16px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--t3c-fg);
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  opacity: 0.5;
  font-size: 18px;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--t3c-muted);
  margin-bottom: 40px;
}

/* Single product add to cart */
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--t3c-bg) !important;
  background: var(--t3c-fg) !important;
  border: 1px solid var(--t3c-fg) !important;
  border-radius: 0 !important;
  padding: 16px 40px !important;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    color var(--t3c-duration) var(--t3c-ease) !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover {
  background: transparent !important;
  color: var(--t3c-fg) !important;
}

/* Quantity input */
.woocommerce .quantity .qty {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 300;
  border: 1px solid var(--t3c-border);
  border-radius: 0;
  padding: 10px;
  width: 60px;
  text-align: center;
  background: transparent;
  color: var(--t3c-fg);
}

.woocommerce .quantity .qty:focus {
  border-color: var(--t3c-fg);
  outline: none;
}

/* Variation form */
.woocommerce div.product form.cart .variations {
  margin-bottom: 24px;
  background: transparent !important;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  padding: 8px 0;
  border: none;
}

.woocommerce div.product form.cart .variations label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
}

.woocommerce div.product form.cart .variations select {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  border: 1px solid var(--t3c-border);
  border-radius: 0;
  padding: 10px 14px;
  background: transparent;
  color: var(--t3c-fg);
}

/* Product meta */
.woocommerce div.product .product_meta {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--t3c-border);
}

.woocommerce div.product .product_meta a {
  color: var(--t3c-muted);
  text-decoration: none;
}

.woocommerce div.product .product_meta a:hover {
  color: var(--t3c-fg);
  opacity: 1;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 64px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--t3c-border);
  list-style: none;
}

.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 {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t3c-muted);
  padding: 16px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--t3c-duration) var(--t3c-ease);
  text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--t3c-fg);
  opacity: 1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--t3c-fg);
  border-bottom-color: var(--t3c-fg);
}

.woocommerce div.product .woocommerce-tabs .panel {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  line-height: 1.85;
  color: var(--t3c-muted);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 24px;
}

/* Related products */
.woocommerce div.product .related h2,
.woocommerce div.product .upsells h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: var(--t3c-ls-tight);
  margin-bottom: 40px;
}


/* ══════════════════════════════════════════════════════════════════════
   Cart Page
   ══════════════════════════════════════════════════════════════════════ */

.woocommerce-cart .woocommerce h2,
.woocommerce-cart .cart_totals h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: var(--t3c-ls-tight);
  margin-bottom: 24px;
  background: transparent !important;
}

.woocommerce table.shop_table {
  border: none;
  border-collapse: collapse;
  background: transparent !important;
}

.woocommerce table.shop_table thead,
.woocommerce table.shop_table tbody,
.woocommerce table.shop_table tfoot,
.woocommerce table.shop_table tr {
  background: transparent !important;
}

.woocommerce table.shop_table th {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t3c-muted);
  border-bottom: 1px solid var(--t3c-fg);
  padding: 16px 24px;
  background: transparent;
}

.woocommerce table.shop_table td {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  color: var(--t3c-muted);
  border-bottom: 1px solid var(--t3c-border);
  padding: 24px;
  background: transparent;
  vertical-align: middle;
}

.woocommerce table.shop_table .product-name a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--t3c-fg);
  text-decoration: none;
}

.woocommerce table.shop_table .product-name a:hover {
  opacity: 0.7;
}

/* Cart images — GRAYSCALE */
.woocommerce table.shop_table img {
  width: 60px;
  filter: grayscale(0.85) contrast(1.08) brightness(1.02);
  border-radius: 0;
}

.woocommerce a.remove {
  color: var(--t3c-muted) !important;
  font-size: 18px;
  font-weight: 300;
  transition: color var(--t3c-duration) var(--t3c-ease);
}

.woocommerce a.remove:hover {
  background: transparent !important;
  color: var(--t3c-error) !important;
}

.woocommerce .cart-collaterals {
  background: transparent;
  border: 0 !important;
  padding: var(--t3c-space-lg) var(--t3c-px-lg) 0 !important;
}

.woocommerce .cart_totals {
  background: transparent;
  border: 0 !important;
  border-top: 1px solid var(--t3c-fg) !important;
  padding: var(--t3c-space-sm) 0 0 !important;
}

.woocommerce .coupon .input-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  border: 1px solid var(--t3c-border);
  border-radius: 0;
  padding: 10px 14px;
  background: transparent;
}

.woocommerce .coupon .button,
.woocommerce .actions .button {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--t3c-fg) !important;
  background: transparent !important;
  border: 1px solid var(--t3c-fg) !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    color var(--t3c-duration) var(--t3c-ease) !important;
}

.woocommerce .coupon .button:hover,
.woocommerce .actions .button:hover {
  background: var(--t3c-fg) !important;
  color: var(--t3c-bg) !important;
}

/* Proceed to checkout */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--t3c-bg) !important;
  background: var(--t3c-fg) !important;
  border-radius: 0 !important;
  padding: 16px 32px !important;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    color var(--t3c-duration) var(--t3c-ease) !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: transparent !important;
  color: var(--t3c-fg) !important;
  border: 1px solid var(--t3c-fg);
}

.woocommerce .cart_totals table {
  border: none;
}

.woocommerce .cart_totals table th {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
  border-bottom: 1px solid var(--t3c-border);
  padding: 16px;
  background: transparent;
}

.woocommerce .cart_totals table td {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  color: var(--t3c-fg);
  border-bottom: 1px solid var(--t3c-border);
  padding: 16px;
  background: transparent;
}

.woocommerce .cart_totals .order-total td {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

body.woocommerce-cart .entry-content > .woocommerce,
body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .woocommerce {
  width: min(100%, 1200px);
  max-width: 1200px;
  margin-inline: auto !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-account .entry-content > .woocommerce,
body.single-product.woocommerce div.product,
body.woocommerce-checkout form.checkout.woocommerce-checkout {
  padding-block-start: var(--t3c-space-lg) !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .woocommerce-cart-form *,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-collaterals *,
body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account .entry-content > .woocommerce *,
body.woocommerce-checkout form.checkout.woocommerce-checkout,
body.woocommerce-checkout form.checkout.woocommerce-checkout * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


/* ══════════════════════════════════════════════════════════════════════
   Checkout Page
   ══════════════════════════════════════════════════════════════════════ */

.woocommerce-checkout h3,
.woocommerce-checkout h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  letter-spacing: var(--t3c-ls-tight);
  margin-bottom: 24px;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: 1px solid var(--t3c-border);
  border-radius: 0;
  padding: 40px;
  background: transparent;
}

.woocommerce-checkout .form-row label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--t3c-fg);
  background: transparent;
  border: 1px solid var(--t3c-border);
  border-radius: 0;
  padding: 12px 16px;
  transition: border-color var(--t3c-duration) var(--t3c-ease);
}

.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--t3c-fg);
  outline: none;
  box-shadow: none;
}

.woocommerce button.show-password-input,
.woocommerce button.show-password-input.display-password,
body.woocommerce-account button.show-password-input,
body.woocommerce-checkout button.show-password-input,
.woocommerce button.show-password-input:hover,
.woocommerce button.show-password-input:focus,
.woocommerce button.show-password-input:active,
body.woocommerce-account button.show-password-input:hover,
body.woocommerce-account button.show-password-input:focus,
body.woocommerce-account button.show-password-input:active,
body.woocommerce-checkout button.show-password-input:hover,
body.woocommerce-checkout button.show-password-input:focus,
body.woocommerce-checkout button.show-password-input:active {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  color: #000000 !important;
}

/* Select2 */
.select2-container--default .select2-selection--single {
  border: 1px solid var(--t3c-border) !important;
  border-radius: 0 !important;
  height: 44px !important;
  background: transparent !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--t3c-fg);
  line-height: 44px !important;
  padding-left: 16px;
}

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

.select2-dropdown {
  border: 1px solid var(--t3c-border) !important;
  border-radius: 0 !important;
  background: var(--t3c-bg) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--t3c-accent) !important;
  color: var(--t3c-fg) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  font-family: 'Cormorant Garamond', Georgia, serif;
  border: 1px solid var(--t3c-border);
  border-radius: 0;
}

/* Order review */
.woocommerce-checkout #order_review {
  border: 1px solid var(--t3c-border);
  padding: 40px;
  background: transparent;
}

.woocommerce-checkout #order_review_heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
}

.woocommerce-checkout-review-order-table {
  border: none !important;
}

.woocommerce-checkout-review-order-table th {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
  background: transparent;
  border-bottom: 1px solid var(--t3c-fg);
}

.woocommerce-checkout-review-order-table td {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  color: var(--t3c-muted);
  background: transparent;
  border-bottom: 1px solid var(--t3c-border);
}

.woocommerce-checkout-review-order-table .order-total td {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--t3c-fg);
}

/* Payment methods */
.woocommerce-checkout #payment {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--t3c-border) !important;
  border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid var(--t3c-border);
  margin: 0;
  padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  color: var(--t3c-fg);
  display: block;
  margin: 0;
  padding: var(--t3c-space-md) 0 !important;
  list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--t3c-fg);
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.45;
}

.woocommerce-checkout #payment div.payment_box {
  background: var(--t3c-card) !important;
  color: var(--t3c-muted);
  font-size: 14px;
  border-radius: 0;
  box-sizing: border-box;
  width: 100%;
  margin: var(--t3c-space-sm) 0 0 !important;
  padding: var(--t3c-space-sm) var(--t3c-space-md) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
  vertical-align: top;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
  padding: 0;
  text-align: right;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods input {
  margin-top: 0.35em;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods label {
  margin: 0;
  line-height: 1.5;
}

/* Place order */
.woocommerce-checkout #payment #place_order {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--t3c-bg) !important;
  background: var(--t3c-fg) !important;
  border: 1px solid var(--t3c-fg) !important;
  border-radius: 0 !important;
  padding: 16px 40px !important;
  width: 100%;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    color var(--t3c-duration) var(--t3c-ease) !important;
}

.woocommerce-checkout #payment #place_order:hover {
  background: transparent !important;
  color: var(--t3c-fg) !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  font-size: 14px;
  color: var(--t3c-muted);
  margin-top: var(--t3c-space-md);
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 0 var(--t3c-space-xl);
  align-items: start;
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-inline: 0 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout > hr.t3c-functional-divider {
  grid-column: 1 / -1;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout > hr.t3c-functional-divider:first-child {
  display: none !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout > #customer_details {
  grid-column: 1;
  grid-row: 2 / span 3;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout > #order_review_heading {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
  padding: var(--t3c-space-sm) 0 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  text-align: left;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout > #order_review_heading + hr.t3c-functional-divider {
  display: none;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout > #order_review {
  grid-column: 2;
  grid-row: 3;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: var(--t3c-space-md) 0 0 !important;
  border: 0 !important;
  background: transparent !important;
}


/* ══════════════════════════════════════════════════════════════════════
   My Account
   ══════════════════════════════════════════════════════════════════════ */

.woocommerce-MyAccount-navigation {
  border: 1px solid var(--t3c-border);
  padding: 0;
  background: transparent;
}

body.woocommerce-account .u-columns,
body.woocommerce-account .woocommerce .u-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--t3c-space-xl);
}

body.woocommerce-account .u-column1,
body.woocommerce-account .u-column2 {
  width: auto !important;
  float: none !important;
}

body.woocommerce-account .u-column1 {
  grid-column: 1;
  grid-row: 1;
}

body.woocommerce-account .u-column2 {
  grid-column: 2;
  grid-row: 1;
}

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

.woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
  border: 0 !important;
  list-style: none;
  padding: 0 !important;
  background: transparent;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    box-shadow var(--t3c-duration) var(--t3c-ease);
}

.woocommerce-MyAccount-navigation ul li + li {
  border-top: 1px solid var(--t3c-border) !important;
}

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

.woocommerce-MyAccount-navigation ul li a {
  position: relative;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--t3c-fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 18px clamp(24px, 5.5vw, 38px);
  border: 0 !important;
  outline: 0;
  background: transparent;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    color var(--t3c-duration) var(--t3c-ease),
    opacity var(--t3c-duration) var(--t3c-ease),
    padding-left var(--t3c-duration) var(--t3c-ease);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--t3c-fg);
  background-color: hsl(30, 15%, 92%) !important;
  padding-left: clamp(28px, 6vw, 44px);
  opacity: 1;
}

.woocommerce-MyAccount-navigation ul li:hover,
.woocommerce-MyAccount-navigation ul li.is-active {
  background: var(--t3c-card) !important;
  box-shadow: inset 3px 0 0 var(--t3c-fg);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--t3c-fg);
  background-color: var(--t3c-card) !important;
  font-weight: 300;
}

.woocommerce-MyAccount-navigation ul li a:focus-visible {
  background-color: hsl(30, 15%, 92%) !important;
  box-shadow: inset 0 0 0 1px var(--t3c-fg);
}

.woocommerce-MyAccount-content {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  line-height: 1.85;
  color: var(--t3c-muted);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
}

.woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table,
.woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details {
  width: 100%;
  margin: 0 0 var(--t3c-space-sm);
  border: 1px solid var(--t3c-border) !important;
  border-collapse: collapse;
  border-spacing: 0;
  background: transparent !important;
}

.woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table thead,
.woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody,
.woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tfoot,
.woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tr,
.woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details thead,
.woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details tbody,
.woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details tfoot,
.woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details tr {
  background: transparent !important;
}

.woocommerce-MyAccount-content table th {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t3c-muted);
  border: 1px solid var(--t3c-border) !important;
  background: transparent;
  padding: 18px clamp(18px, 3vw, 28px);
}

.woocommerce-MyAccount-content table td {
  font-size: 14px;
  color: var(--t3c-muted);
  border: 1px solid var(--t3c-border) !important;
  background: transparent;
  padding: 24px clamp(18px, 3vw, 28px);
}

.woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody th,
.woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details tfoot th {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--t3c-fg);
  padding: 24px clamp(18px, 3vw, 28px);
}

.woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody tr:hover,
.woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details tbody tr:hover,
.woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details tfoot tr:hover {
  background: hsl(30, 15%, 92%) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__header-order-actions {
  text-align: center !important;
}

.woocommerce-orders-table__cell-order-total,
.woocommerce-table--order-details .product-total,
.woocommerce-table--order-details tfoot td {
  white-space: nowrap;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button {
  min-width: 96px;
}

.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .button {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--t3c-fg) !important;
  background: transparent !important;
  border: 1px solid var(--t3c-fg) !important;
  border-radius: 0 !important;
  padding: 8px 18px !important;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    color var(--t3c-duration) var(--t3c-ease) !important;
}

.woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-MyAccount-content .button:hover {
  background: var(--t3c-fg) !important;
  color: var(--t3c-bg) !important;
}

/* Login / Register */
.woocommerce-form-login,
.woocommerce-form-register {
  border: 0 !important;
  border-top: 1px solid var(--t3c-fg) !important;
  padding: var(--t3c-space-sm) 0 0 !important;
  background: transparent;
  border-radius: 0;
}

.woocommerce-form-login h2,
.woocommerce-form-register h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 24px;
}

.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-form-register .woocommerce-form-register__submit {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--t3c-bg) !important;
  background: var(--t3c-fg) !important;
  border: 1px solid var(--t3c-fg) !important;
  border-radius: 0 !important;
  padding: 14px 32px !important;
  transition:
    background-color var(--t3c-duration) var(--t3c-ease),
    color var(--t3c-duration) var(--t3c-ease) !important;
}

.woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce-form-register .woocommerce-form-register__submit:hover {
  background: transparent !important;
  color: var(--t3c-fg) !important;
}

.woocommerce-LostPassword a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
  text-decoration: none;
}

.woocommerce-LostPassword a:hover {
  color: var(--t3c-fg);
  opacity: 1;
}


/* ══════════════════════════════════════════════════════════════════════
   Order Received
   ══════════════════════════════════════════════════════════════════════ */

.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  padding: 40px;
  border: 1px solid var(--t3c-border);
  margin-bottom: 40px;
}

.woocommerce-order-received .woocommerce-order-overview {
  list-style: none;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border: 1px solid var(--t3c-border);
}

.woocommerce-order-received .woocommerce-order-overview li {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  color: var(--t3c-muted);
}

.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block;
  color: var(--t3c-fg);
  font-weight: 400;
}


/* ══════════════════════════════════════════════════════════════════════
   Reviews
   ══════════════════════════════════════════════════════════════════════ */

.woocommerce #reviews .comment-reply-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
}

.woocommerce #reviews #comments .woocommerce-Reviews-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
}

.woocommerce #reviews .comment-text {
  border: 1px solid var(--t3c-border) !important;
  border-radius: 0 !important;
  padding: 24px !important;
}

.woocommerce #reviews .comment-text .description p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--t3c-muted);
}

.woocommerce #reviews .comment-text .woocommerce-review__author {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  color: var(--t3c-fg);
}

.woocommerce #reviews .comment-text .woocommerce-review__published-date {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
}

.woocommerce #review_form #respond label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3c-muted);
}

.woocommerce #review_form #respond textarea,
.woocommerce #review_form #respond input {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  border: 1px solid var(--t3c-border);
  border-radius: 0;
  padding: 12px 16px;
  background: transparent;
}

.woocommerce #review_form #respond textarea:focus,
.woocommerce #review_form #respond input:focus {
  border-color: var(--t3c-fg);
  outline: none;
}


/* ══════════════════════════════════════════════════════════════════════
   Mini Cart
   ══════════════════════════════════════════════════════════════════════ */

.widget_shopping_cart .cart_list li {
  border-bottom: 1px solid var(--t3c-border);
  padding: 16px 0;
}

.widget_shopping_cart .cart_list li a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--t3c-fg);
  text-decoration: none;
}

.widget_shopping_cart .total {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  border-top: 1px solid var(--t3c-fg);
  padding-top: 16px;
}

.widget_shopping_cart .buttons a {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}


/* ══════════════════════════════════════════════════════════════════════
   Responsive WooCommerce
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  body.woocommerce-shop .t3c-page-intro,
  body.single-product .t3c-page-intro,
  body.woocommerce-cart .t3c-page-intro,
  body.woocommerce-account .t3c-page-intro,
  body.woocommerce-checkout .t3c-page-intro {
    padding: 56px var(--t3c-px) 40px !important;
  }

  body.woocommerce-shop .woocommerce-result-count,
  body.woocommerce-shop .woocommerce-ordering,
  body.woocommerce-shop .woocommerce-message,
  body.woocommerce-shop .woocommerce-info,
  body.woocommerce-shop .woocommerce-error {
    float: none;
    width: auto;
    margin-right: var(--t3c-px) !important;
    margin-left: var(--t3c-px) !important;
  }

  body.woocommerce-shop .woocommerce-ordering {
    margin-top: var(--t3c-space-sm) !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .woocommerce table.shop_table {
    font-size: 13px;
  }

  .woocommerce table.shop_table img {
    width: 48px;
  }

  .woocommerce .cart-collaterals {
    padding-inline: var(--t3c-px) !important;
  }

  .woocommerce-cart .cart_totals,
  .woocommerce-checkout #order_review {
    padding: var(--t3c-space-sm) 0 0 !important;
  }

  .woocommerce-MyAccount-navigation {
    margin-bottom: 24px;
  }

  body.woocommerce-account .u-columns,
  body.woocommerce-account .woocommerce .u-columns,
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: block;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    box-sizing: border-box;
    padding-inline: var(--t3c-px) !important;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout > #order_review_heading {
    margin-top: var(--t3c-space-xl);
  }

  body.woocommerce-account .u-column1,
  body.woocommerce-account .u-column2 {
    grid-column: auto;
    grid-row: auto;
  }

  body.woocommerce-account .u-column2 {
    margin-top: var(--t3c-space-xl);
  }

  .woocommerce div.product .product_title {
    font-size: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}
