/*
 * Gamer Store theme: WooCommerce styles.
 * Uses the design tokens set by theme.css on :root.
 * Mobile-first. Sections: base, shop, cards, product page, notices, forms, cart, mini cart,
 * checkout, thank you, account, reviews/stars, blocks, pagination.
 */

/* ---------- Base helpers ---------- */
.gsx-wc, .woocommerce, .woocommerce-page .site-main { color: var(--text); }
.gsx-wc-wrap { max-width: 1240px; margin: 0 auto; padding: 20px 16px 0; box-sizing: border-box; }
.gsx-wc *, .gsx-wc *::before, .gsx-wc *::after { box-sizing: border-box; }
.gsx-wc a { color: inherit; }
.gsx-wc-h2, .gsx-wc-card h2, .woocommerce h2, .woocommerce h3.gsx-h, .woocommerce-Reviews-title, .related > h2, .upsells > h2, .cross-sells > h2, .cart_totals > h2 {
	font-family: 'Sora', 'Inter', sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--text);
}
.gsx-wc-h2, .related > h2, .upsells > h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 20px; }
.gsx-wc-lead { margin: -14px 0 20px; color: var(--muted); }
.gsx-wc-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link), .wp-block-button__link.wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
	border-radius: 999px; border: 2px solid var(--primary); background: var(--primary); color: var(--on-primary);
	font: 700 15px/1 'Inter', sans-serif; text-decoration: none; cursor: pointer; transition: transform .12s ease, opacity .12s ease;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { min-height: 54px; font-size: 16px; }
.gsx-wc-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover { opacity: .92; color: var(--on-primary); background: var(--primary); }
.woocommerce a.button:active, .woocommerce button.button:active, .gsx-wc-btn:active { transform: scale(.98); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce input.button:disabled {
	background: var(--surface2); border-color: var(--surface2); color: var(--muted); cursor: not-allowed; opacity: 1;
}
.woocommerce a.button.wc-backward, .woocommerce .button.wc-forward:not(.checkout-button), .woocommerce-message .button,
.woocommerce a.button.view, .woocommerce a.button.invoice, .woocommerce a.button.pay {
	background: transparent; color: var(--primary); border-color: var(--primary);
}
.woocommerce a.button:focus-visible, .woocommerce button:focus-visible, .woocommerce input:focus-visible, .woocommerce select:focus-visible,
.woocommerce textarea:focus-visible, .gsx-wc a:focus-visible, .gsx-wc-btn:focus-visible, .wc-block-components-button:focus-visible,
.woocommerce-MyAccount-navigation a:focus-visible, .woocommerce-pagination a:focus-visible, .gsx-wc [tabindex]:focus-visible {
	outline: 3px solid var(--primary); outline-offset: 2px;
}

/* ---------- Breadcrumb ---------- */
.gsx-wc-crumbs, .woocommerce-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; margin: 0 0 8px; }
.woocommerce-breadcrumb a { text-decoration: none; color: var(--muted); }
.woocommerce-breadcrumb a:hover { color: var(--primary); }

/* ---------- Shop archive ---------- */
.gsx-wc-head { margin: 12px 0 16px; }
.gsx-wc-title { margin: 0 0 8px; font: 700 clamp(28px, 5vw, 44px)/1.08 'Sora', sans-serif; letter-spacing: -.03em; }
.gsx-wc-head .term-description, .gsx-wc-head .page-description { color: var(--muted); max-width: 720px; line-height: 1.6; }
.gsx-wc-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; margin: 0 -16px 8px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gsx-wc-tabs::-webkit-scrollbar { display: none; }
.gsx-wc-tab { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.gsx-wc-tab:hover { border-color: var(--primary); }
.gsx-wc-tab.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.gsx-wc-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 8px 0 18px; }
.woocommerce-result-count { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 44px; padding: 0 40px 0 18px; }
.gsx-wc-empty { text-align: center; max-width: 520px; margin: 32px auto 0; padding: 36px 24px; background: var(--surface); border: 1px dashed var(--border); border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gsx-wc-empty h2 { margin: 0; font-size: 24px; }
.gsx-wc-empty p { margin: 0; color: var(--muted); line-height: 1.55; }
.gsx-wc-empty__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--surface2); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.gsx-wc-empty .woocommerce-product-search { width: 100%; }

/* ---------- Product grid + cards ---------- */
.woocommerce ul.products, .gsx-wc ul.products { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none; width: auto; margin: 0; padding: 0; min-width: 0; }
.related.products, .upsells.products { margin-top: 56px; }
.gsx-wc-card-fallback { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); height: 100%; }
.gsx-wc-card-fallback__img { display: block; aspect-ratio: 1 / 1; background: var(--surface2); }
.gsx-wc-card-fallback__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gsx-wc-card-fallback__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.gsx-wc-card-fallback__title { font: 600 16px/1.2 'Sora', sans-serif; }
.gsx-wc-card-fallback__price { color: var(--primary); font-weight: 700; }
@media (min-width: 640px) { .woocommerce ul.products, .gsx-wc ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .woocommerce ul.products, .gsx-wc ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .woocommerce ul.products, .gsx-wc ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Product page ---------- */
.gsx-wc-product__top { display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: flex-start; padding-top: 12px; }
.gsx-wc-gallery { position: relative; flex: 1 1 340px; min-width: 0; max-width: 640px; width: 100%; }
@media (min-width: 900px) { .gsx-wc-gallery { flex: 1 1 52%; } .gsx-wc-summary { flex: 1 1 40%; } }
/* WooCommerce core floats the gallery at 48% width; make it fill its column. */
.woocommerce div.product .gsx-wc-gallery div.images, .woocommerce #content div.product .gsx-wc-gallery div.images, .woocommerce div.product .gsx-wc-gallery .woocommerce-product-gallery { float: none !important; width: 100% !important; max-width: none; margin: 0; }
.gsx-wc-summary { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gsx-wc-summary > * { margin: 0; }
.gsx-wc-badges { position: absolute; z-index: 9; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; pointer-events: none; }
.gsx-wc .woocommerce-product-gallery { opacity: 1 !important; position: relative; margin: 0; width: 100%; filter: var(--sh-drop-lg); } /* the cover with its rounded corners and the sale ribbon */
.gsx-wc .woocommerce-product-gallery__wrapper { margin: 0; }
.gsx-wc .woocommerce-product-gallery__image { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--surface2); aspect-ratio: 1 / 1; }
.gsx-wc .woocommerce-product-gallery__image > a { display: block; height: 100%; }
.gsx-wc .woocommerce-product-gallery__image img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gsx-wc .woocommerce-product-gallery__trigger { position: absolute; z-index: 9; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-indent: 0; font-size: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.gsx-wc .woocommerce-product-gallery__trigger::before { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; display: block; }
.gsx-wc .flex-viewport { border-radius: 20px; overflow: hidden; }
.gsx-wc .flex-control-thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gsx-wc .flex-control-thumbs li { float: none; width: auto; margin: 0; }
.gsx-wc .flex-control-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; border: 2px solid var(--border); cursor: pointer; opacity: .8; display: block; transition: border-color .12s ease, opacity .12s ease; }
.gsx-wc .flex-control-thumbs img.flex-active, .gsx-wc .flex-control-thumbs img:hover { border-color: var(--primary); opacity: 1; }
.gsx-wc .flex-control-thumbs img:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.gsx-wc-ptitle { text-shadow: var(--sh-text); margin: 0 0 2px; font: 700 clamp(28px, 5vw, 44px)/1.08 'Sora', sans-serif; letter-spacing: -.03em; }
.gsx-wc-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gsx-wc-price { font: 700 clamp(22px, 3.4vw, 28px)/1.2 'Sora', sans-serif; letter-spacing: -.02em; color: var(--text); }
.gsx-wc-price__label, .gsx-wc-price .gsx-pbox-or { text-shadow: var(--sh-text); font: 600 14px 'Inter', sans-serif; color: var(--muted); letter-spacing: 0; text-transform: none; }
.gsx-wc-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.gsx-wc-price__label { margin: 0 0 8px; }
.gsx-wc-price__value { display: flex; align-items: center; }
.gsx-wc-price del { color: var(--muted); font-size: .7em; font-weight: 500; }
.gsx-wc-price ins { text-decoration: none; }
.woocommerce-product-details__short-description { color: var(--muted); line-height: 1.6; }
.woocommerce-product-details__short-description p { margin: 0 0 .6em; }
.gsx-wc-summary form.cart { margin: 0; }
.gsx-wc-details { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 56px; }
.gsx-wc-card { flex: 1 1 360px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--sh-box-sm); }
.gsx-wc-card h2 { margin: 0 0 12px; font-size: 22px; }
.gsx-wc-prose { color: var(--muted); line-height: 1.6; }
.gsx-wc-prose > :first-child { margin-top: 0; }
.gsx-wc-prose > :last-child { margin-bottom: 0; }
.gsx-wc-prose > ul { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; }
.gsx-wc-prose > ul li { position: relative; padding-left: 28px; }
.gsx-wc-prose > ul li::before { content: ''; position: absolute; left: 3px; top: .35em; width: 12px; height: 7px; border-left: 3px solid var(--mint); border-bottom: 3px solid var(--mint); transform: rotate(-45deg); }
.gsx-wc-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); line-height: 1.55; }
.gsx-wc-reviews-section { padding-top: 56px; }
.gsx-wc-reviews-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.gsx-wc-reviews-cta p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }
@media (min-width: 560px) { .gsx-wc-card { padding: 26px; } }

/* Make the Gamer Store plugin panel breathe inside the summary */
.gsx-wc-summary .gsx { width: 100%; }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper { margin: 0 0 16px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--border);
	background: var(--surface); color: var(--text); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; line-height: 1.5; font-weight: 500; box-shadow: var(--shadow);
	border-left-width: 6px;
}
.woocommerce-message { border-left-color: var(--mint); }
.woocommerce-info { border-left-color: var(--primary); }
.woocommerce-error { border-left-color: var(--coral); flex-direction: column; align-items: flex-start; gap: 6px; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 44px; }
.woocommerce-error li { list-style: none; }
.woocommerce-error a, .woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: var(--primary); font-weight: 700; }
.wc-block-components-notice-banner.is-error { border-left-color: var(--coral); }
.wc-block-components-notice-banner.is-success { border-left-color: var(--mint); }
.wc-block-components-notice-banner.is-info { border-left-color: var(--primary); }

/* ---------- Forms ---------- */
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--text); line-height: 1.4; }
.woocommerce form .form-row label.checkbox, .woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; }
.woocommerce form .form-row .required { color: var(--coral); text-decoration: none; }
.woocommerce form .form-row .optional { color: var(--muted); font-weight: 500; }
.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"],
.woocommerce input[type="number"], .woocommerce input[type="search"], .woocommerce input[type="url"], .woocommerce select, .woocommerce textarea,
.select2-container--default .select2-selection--single, .wc-block-components-text-input input, .wc-block-components-textarea,
.wc-block-components-combobox .components-combobox-control__input, .wc-blocks-components-select__select {
	width: 100%; min-height: 48px; padding: 0 16px; background: var(--field-bg); color: var(--text); border: 1px solid var(--field-border);
	border-radius: var(--field-radius); font: 400 16px/1.4 'Inter', sans-serif; box-shadow: none; box-sizing: border-box;
}
.woocommerce textarea { padding: 14px 16px; min-height: 110px; resize: vertical; }
/* The header search must look the same on every page (the rule above is for forms inside the shop). */
body .gs-header .gs-search input.gs-search__input[type="search"] { background: var(--surface2) !important; background-color: var(--surface2) !important; border: 1px solid var(--border); border-radius: 4px; padding: 0 20px 0 48px; min-height: 48px; font: inherit; font-size: 16px; }
.woocommerce .gs-search ::placeholder { opacity: 1; }
.woocommerce input[type="checkbox"], .woocommerce input[type="radio"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--primary); margin: 0; flex: 0 0 auto; }
.woocommerce ::placeholder { color: var(--muted); opacity: .8; }
.select2-container--default .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); padding: 0; line-height: 1.4; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.select2-dropdown { background: var(--surface); color: var(--text); border-color: var(--border); border-radius: 14px; overflow: hidden; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--primary); color: var(--on-primary); }
.select2-container--default .select2-search--dropdown .select2-search__field { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; min-height: 40px; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce form.lost_reset_password {
	background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; margin: 0 0 20px; box-shadow: var(--shadow);
}
.woocommerce form .show-password-input { top: 50%; transform: translateY(-50%); margin: 0; }
.woocommerce-form-login .lost_password { margin: 10px 0 0; }
.woocommerce-form-login .lost_password a { color: var(--primary); font-weight: 600; }
.woocommerce-form-login__rememberme { margin-right: 12px; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; }

/* Login / register (two columns on desktop) */
.woocommerce-account .u-columns.col2-set, .woocommerce-page .u-columns { display: grid; grid-template-columns: 1fr; gap: 20px; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { float: none; width: auto; }
.woocommerce-account .u-columns h2 { font-size: 24px; margin: 0 0 14px; }
@media (min-width: 800px) { .woocommerce-account .u-columns.col2-set { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Coupon */
.woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 12px; }
.woocommerce form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.woocommerce form.checkout_coupon p { margin: 0; float: none; width: auto; }
.woocommerce form.checkout_coupon .form-row-first { flex: 1 1 220px; }
.woocommerce form.checkout_coupon p:first-child { flex: 1 1 100%; color: var(--muted); }
.coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.coupon .input-text { flex: 1 1 160px; width: auto !important; }

/* Quantity */
.woocommerce .quantity { display: inline-flex; }
.woocommerce .quantity .qty { width: 84px; min-height: 48px; text-align: center; padding: 0 8px; border-radius: 999px; }

/* ---------- Tables ---------- */
.woocommerce table.shop_table, .woocommerce table.woocommerce-table, .woocommerce table.my_account_orders, .woocommerce table.shop_attributes {
	width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border);
	border-radius: 20px; overflow: hidden; margin: 0 0 20px; color: var(--text);
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td {
	padding: 14px 16px; border: 0; border-top: 1px solid var(--border); text-align: left; vertical-align: middle; background: transparent;
}
.woocommerce table.shop_table thead th { border-top: 0; background: var(--surface2); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
.woocommerce table.shop_table tfoot th, .woocommerce table.shop_table tfoot td { font-weight: 700; }
.woocommerce table.shop_table td a:not(.button) { color: var(--primary); font-weight: 600; }
.woocommerce table.shop_attributes th { width: 30%; color: var(--muted); }
.woocommerce .woocommerce-orders-table, .woocommerce-account .woocommerce-MyAccount-content table.shop_table { display: table; }
/* Wide tables scroll instead of breaking the page */
.woocommerce-MyAccount-content, .woocommerce-checkout-review-order, .woocommerce-order { min-width: 0; }
.woocommerce table.shop_table_responsive { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Cart page ---------- */
.woocommerce-cart .woocommerce { display: block; }
.woocommerce-cart-form { margin: 0 0 20px; }
.woocommerce table.shop_table.cart img { width: 72px; border-radius: 12px; display: block; }
.woocommerce a.remove { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 999px; background: var(--surface2); color: var(--coral) !important; font-size: 20px; line-height: 1; text-decoration: none; font-weight: 700; }
.woocommerce a.remove:hover { background: var(--coral); color: var(--on-coral) !important; }
.woocommerce td.product-name dl.variation, .woocommerce td.product-name .wc-item-meta { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.woocommerce td.product-name dl.variation dt, .woocommerce td.product-name dl.variation dd { display: inline; margin: 0; }
.woocommerce td.product-name dl.variation dd p { display: inline; margin: 0; }
.woocommerce td.product-name dl.variation dd::after { content: ''; display: block; }
.woocommerce td.actions { background: var(--surface2) !important; }
.woocommerce .cart-collaterals { display: block; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.woocommerce .cart_totals h2 { font-size: 22px; margin: 0 0 12px; }
.woocommerce .cart_totals table.shop_table { border: 0; border-radius: 0; margin: 0 0 14px; }
.woocommerce .cart_totals table.shop_table th, .woocommerce .cart_totals table.shop_table td { padding: 12px 0; }
.woocommerce .cart_totals .order-total .amount { font: 700 24px 'Sora', sans-serif; letter-spacing: -.02em; }
.woocommerce .wc-proceed-to-checkout { padding: 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: 56px; font-size: 17px; margin: 0; padding: 0 26px; }
.woocommerce .cross-sells { margin-top: 32px; }
.woocommerce-shipping-calculator .shipping-calculator-button { color: var(--primary); font-weight: 700; }
.cart-empty.woocommerce-info { justify-content: center; text-align: center; padding: 28px 18px; font-size: 18px; font-weight: 700; }
.return-to-shop { text-align: center; }
@media (max-width: 767px) {
	/* Cart + orders tables as cards */
	.woocommerce table.shop_table_responsive thead, .woocommerce-page table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive, .woocommerce table.shop_table_responsive tbody, .woocommerce table.shop_table_responsive tr, .woocommerce table.shop_table_responsive td { display: block; }
	.woocommerce table.shop_table_responsive { border: 0; background: transparent; overflow: visible; }
	.woocommerce table.shop_table_responsive tr { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; margin: 0 0 12px; overflow: hidden; }
	.woocommerce table.shop_table_responsive tr td { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: right !important; border-top: 1px solid var(--border); padding: 12px 16px; }
	.woocommerce table.shop_table_responsive tr td:first-child { border-top: 0; }
	.woocommerce table.shop_table_responsive tr td[data-title]::before { content: attr(data-title); float: none; font-weight: 700; color: var(--muted); font-size: 13px; text-align: left; flex: 0 0 auto; }
	.woocommerce table.shop_table_responsive tr td.product-remove, .woocommerce table.shop_table_responsive tr td.product-thumbnail { justify-content: flex-start; }
	.woocommerce table.shop_table_responsive tr td.product-remove::before, .woocommerce table.shop_table_responsive tr td.product-thumbnail::before { display: none; }
	.woocommerce table.shop_table_responsive tr td.actions { display: block; text-align: left !important; }
	.woocommerce table.shop_table_responsive tr td.actions .coupon { margin-bottom: 10px; }
	.woocommerce table.shop_table_responsive tr td.actions .button { width: 100%; }
	.woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions { flex-wrap: wrap; justify-content: flex-start; }
	.woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before { display: none; }
	.woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions .button { margin: 0 6px 6px 0; min-height: 44px; }
}
@media (min-width: 960px) {
	.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
	.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.woocommerce-cart .woocommerce-cart-form { margin: 0; }
	.woocommerce-cart .cart-collaterals { position: sticky; top: 90px; }
}

/* ---------- Mini cart ---------- */
.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow-y: auto; }
.woocommerce-mini-cart-item { display: grid; grid-template-columns: 56px 1fr 36px; grid-template-areas: 'img info rm'; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); position: relative; }
.woocommerce-mini-cart-item a.remove { grid-area: rm; justify-self: end; }
.woocommerce-mini-cart-item a:not(.remove) { grid-area: info; font-weight: 700; text-decoration: none; color: var(--text); line-height: 1.3; }
.woocommerce-mini-cart-item a:not(.remove) img { grid-area: img; width: 56px; border-radius: 10px; float: left; margin-right: 12px; }
.woocommerce-mini-cart-item .quantity { grid-column: 2 / 3; color: var(--muted); font-size: 14px; display: block; }
.woocommerce-mini-cart-item dl.variation { grid-column: 2 / 4; margin: 0; font-size: 12px; color: var(--muted); }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 14px 0; font-weight: 700; }
.woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__empty-message { color: var(--muted); text-align: center; padding: 20px 0; margin: 0; }

/* ---------- Checkout ---------- */
.woocommerce-checkout .woocommerce-checkout-review-order, .woocommerce-checkout #order_review {
	background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px;
}
.woocommerce-checkout #order_review_heading, .woocommerce-checkout h3 { font: 700 22px/1.2 'Sora', sans-serif; letter-spacing: -.02em; margin: 0 0 14px; color: var(--text); }
.woocommerce-checkout .col2-set { display: block; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: auto; margin-bottom: 20px; }
.woocommerce-checkout .col2-set > div { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper, .woocommerce-checkout .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last, .woocommerce-checkout .form-row-wide { float: none; width: 100%; }
.woocommerce-checkout .woocommerce-checkout-review-order-table { border: 0; border-radius: 0; margin: 0 0 14px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table th, .woocommerce-checkout .woocommerce-checkout-review-order-table td { padding: 12px 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount { font: 700 24px 'Sora', sans-serif; }
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 14px; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods > li { background: var(--bg); border: 2px solid var(--border); border-radius: 16px; padding: 12px 16px; margin: 0; }
.woocommerce-checkout #payment ul.payment_methods > li:has(input:checked) { border-color: var(--primary); background: var(--surface2); }
.woocommerce-checkout #payment ul.payment_methods > li > label { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-weight: 700; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods > li input[type="radio"] { margin-right: 4px; }
.woocommerce-checkout #payment ul.payment_methods > li img { max-height: 24px; width: auto; vertical-align: middle; }
.woocommerce-checkout #payment div.payment_box { background: transparent; color: var(--muted); padding: 10px 0 0; margin: 0; font-size: 14px; line-height: 1.55; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 0; }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px; font-size: 17px; float: none; }
.woocommerce-terms-and-conditions-wrapper { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.woocommerce-privacy-policy-text { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-wrapper a { color: var(--primary); font-weight: 600; }
.woocommerce-terms-and-conditions { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; max-height: 200px; overflow: auto; }
.woocommerce form.checkout .woocommerce-additional-fields h3 { font-size: 18px; }
.woocommerce-checkout .blockUI.blockOverlay { border-radius: 20px; }
@media (min-width: 960px) {
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: 'details heading' 'details review'; column-gap: 28px; align-items: start; }
	.woocommerce-checkout form.checkout #customer_details { grid-area: details; grid-row: 1 / span 3; }
	.woocommerce-checkout form.checkout #order_review_heading { grid-area: heading; margin-bottom: 14px; }
	.woocommerce-checkout form.checkout #order_review { grid-area: review; position: sticky; top: 90px; }
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr 1fr; }
	.woocommerce-checkout .form-row-wide { grid-column: 1 / -1; }
}

/* ---------- Thank you / order received ---------- */
.woocommerce-order .woocommerce-thankyou-order-received { font: 700 clamp(22px, 4vw, 30px)/1.2 'Sora', sans-serif; letter-spacing: -.02em; background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--mint); border-radius: 20px; padding: 22px; margin: 0 0 18px; }
.woocommerce-order ul.order_details { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.woocommerce-order ul.order_details li { float: none; margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.woocommerce-order ul.order_details li strong { display: block; margin-top: 4px; font: 700 16px 'Sora', sans-serif; text-transform: none; letter-spacing: 0; color: var(--text); overflow-wrap: anywhere; }
.woocommerce-order-details, .woocommerce-customer-details { margin-bottom: 24px; }
.woocommerce-customer-details address { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px; font-style: normal; line-height: 1.6; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr; gap: 14px; }
.woocommerce-columns--addresses .woocommerce-column { float: none; width: auto; }
@media (min-width: 700px) { .woocommerce-order ul.order_details { grid-template-columns: repeat(4, minmax(0, 1fr)); } .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }

/* ---------- My Account ---------- */
.woocommerce-account .woocommerce { display: block; }
/* WooCommerce's layout stylesheet floats the nav at 30% and the content at 68%; inside our grid those percentages shrink the content. */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; max-width: none; }
.woocommerce-account .gs-page .gs-prose, .woocommerce-cart .gs-page .gs-prose, .woocommerce-checkout .gs-page .gs-prose { max-width: none; }
.woocommerce-account .gs-page, .woocommerce-cart .gs-page, .woocommerce-checkout .gs-page { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.woocommerce-account .gs-page .gs-prose { width: 100%; }
/* WooCommerce adds clearfix pseudo-elements to .woocommerce. In a grid they become real cells and push the content to row 2. */
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { content: none; display: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 20px; padding: 4px 16px 10px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-left: -16px; margin-right: -16px; scroll-snap-type: x proximity; }
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-MyAccount-navigation li { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.woocommerce-MyAccount-navigation li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.woocommerce-MyAccount-navigation li a:hover { border-color: var(--primary); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--coral); }
.woocommerce-MyAccount-content { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); overflow-x: auto; overflow-y: hidden; }
.woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
/* Dashboard pages: the space above and below the content equals the space left and right (the panel padding, nothing extra). */
.woocommerce-MyAccount-content > :empty { display: none; }
/* The last thing that shows (scripts, styles and hidden bits after it do not count) has no bottom margin, on every account page. */
.woocommerce-MyAccount-content > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) { margin-bottom: 0; }
.woocommerce-MyAccount-content > .gsx-pf, .woocommerce-MyAccount-content > .gsx-pf > :first-child { margin-top: 0; }
.woocommerce-MyAccount-content > .gsx-pf,
.woocommerce-MyAccount-content > :last-child > :last-child,
.woocommerce-MyAccount-content > :last-child > :last-child > :last-child,
.woocommerce-MyAccount-content > :last-child > :last-child > :last-child > :last-child,
.woocommerce-MyAccount-content > :last-child > :last-child > :last-child > :last-child > :last-child { margin-bottom: 0 !important; }
/* Same, when scripts or styles sit after the last visible box (they stop :last-child from matching). */
.woocommerce-MyAccount-content > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))),
.woocommerce-MyAccount-content > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))),
.woocommerce-MyAccount-content > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))),
.woocommerce-MyAccount-content > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) > :not(script, style, template, [hidden]):not(:has(~ :not(script, style, template, [hidden]))) { margin-bottom: 0 !important; }
.woocommerce-MyAccount-content p { line-height: 1.6; }
.woocommerce-MyAccount-content a:not(.button):not(.gsx-btn):not(.gsx-ord__btn):not(.gsx-member-box__btn) { color: var(--primary); font-weight: 600; }
.woocommerce-MyAccount-content table.shop_table, .woocommerce-MyAccount-content .woocommerce-orders-table { box-shadow: none; }
.woocommerce-account fieldset { border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin: 0 0 16px; }
.woocommerce-account fieldset legend { padding: 0 8px; font-weight: 700; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr; gap: 14px; }
.woocommerce-Addresses .woocommerce-Address { float: none; width: auto; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.woocommerce-Address-title h3 { margin: 0; font-size: 22px; }
.woocommerce-Address-title .edit { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.woocommerce-Address address { font-style: normal; line-height: 1.6; color: var(--muted); }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info { box-shadow: none; }
@media (min-width: 700px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
	.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
	.woocommerce-MyAccount-navigation ul { flex-direction: column; overflow: visible; margin: 0; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); position: sticky; top: 90px; }
	.woocommerce-MyAccount-navigation li a { display: flex; border-color: transparent; background: transparent; width: 100%; border-radius: 14px; }
	.woocommerce-MyAccount-navigation li a:hover { background: var(--surface2); border-color: transparent; }
	.woocommerce-MyAccount-navigation li.is-active a { background: var(--primary); color: var(--on-primary); }
	.woocommerce-MyAccount-content { padding: 28px; }
}

/* Dashboard cards (links in the dashboard text become tiles on wide screens) */
.woocommerce-MyAccount-content > p:first-of-type { font-size: 16px; }

/* ---------- Stars + reviews ---------- */
.star-rating { position: relative; display: inline-block; height: 1.1em; width: 5.4em; line-height: 1; font-size: 16px; overflow: hidden; vertical-align: middle; color: var(--amber); font-family: star, 'Inter', sans-serif; letter-spacing: 0; }
.star-rating::before { content: '\53\53\53\53\53'; color: var(--dot); float: left; top: 0; left: 0; position: absolute; }
.star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; }
.star-rating span::before { content: '\53\53\53\53\53'; top: 0; position: absolute; left: 0; color: var(--amber); }
p.stars { margin: 0 0 12px; }
p.stars a { position: relative; display: inline-block; width: 1.5em; height: 44px; line-height: 44px; margin-right: 2px; text-indent: -999em; overflow: hidden; font-size: 24px; color: var(--amber); }
p.stars a::before { content: '\e021'; font-family: star; position: absolute; top: 0; left: 0; width: 100%; text-indent: 0; color: var(--dot); }
p.stars:hover a::before, p.stars.selected a::before { content: '\e020'; color: var(--amber); }
p.stars:hover a:hover ~ a::before { content: '\e021'; color: var(--dot); }
p.stars.selected a.active ~ a::before { content: '\e021'; color: var(--dot); }
p.stars a:focus-visible { outline: 3px solid var(--primary); outline-offset: 0; border-radius: 8px; }
#reviews { margin: 0; }
#reviews .woocommerce-Reviews-title { font-size: 18px; margin: 0 0 14px; color: var(--muted); font-family: 'Inter', sans-serif; letter-spacing: 0; }
#reviews #comments ol.commentlist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
#reviews #comments ol.commentlist li { margin: 0; padding: 0; list-style: none; }
#reviews #comments ol.commentlist li .comment_container { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; height: 100%; }
#reviews #comments ol.commentlist li img.avatar { position: static; float: none; width: 44px; height: 44px; border-radius: 999px; border: 0; padding: 0; background: var(--surface2); flex: 0 0 auto; }
#reviews #comments ol.commentlist li .comment-text { margin: 0; padding: 0; border: 0; flex: 1 1 auto; min-width: 0; }
#reviews #comments ol.commentlist li .comment-text .star-rating { float: none; margin: 0 0 6px; display: block; }
#reviews #comments ol.commentlist li .comment-text p { margin: 0 0 8px; line-height: 1.55; color: var(--text); }
#reviews #comments ol.commentlist li .comment-text p.meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
#reviews #comments ol.commentlist li .comment-text p.meta strong { color: var(--text); font-weight: 700; }
#reviews #comments ol.commentlist li .comment-text .woocommerce-review__verified { color: var(--mint); font-weight: 700; }
.woocommerce-noreviews { color: var(--muted); background: var(--surface); border: 2px dashed var(--border); border-radius: 20px; padding: 22px; margin: 0 0 16px; line-height: 1.55; }
#review_form_wrapper, #review_form { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
#review_form #reply-title, #review_form .comment-reply-title { display: block; font: 700 20px 'Sora', sans-serif; letter-spacing: -.02em; margin-bottom: 12px; }
#review_form #respond .comment-form { margin: 0; }
#review_form .comment-form p { margin: 0 0 14px; }
#review_form .comment-form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
#review_form .form-submit { margin-bottom: 0; }
#review_form #respond input#submit { width: 100%; }
.woocommerce-verification-required { background: var(--surface2); border-radius: 14px; padding: 14px 16px; color: var(--muted); font-weight: 600; margin: 0; }
.gsx-pill .star-rating { font-size: 13px; }
@media (min-width: 760px) { #reviews #comments ol.commentlist { grid-template-columns: 1fr 1fr; } #reviews.woocommerce-Reviews { display: block; } }

/* ---------- Pagination ---------- */
.woocommerce-pagination { margin: 56px 0 8px; }
.woocommerce nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0; margin: 0; padding: 8px 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; overflow: visible; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; line-height: 1; }
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--primary); background: var(--surface); color: var(--primary); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.woocommerce nav.woocommerce-pagination ul li span.dots { border-color: transparent; background: transparent; }

/* ---------- Search form inside shop ---------- */
.woocommerce-product-search { display: flex; gap: 8px; }
.woocommerce-product-search .search-field { flex: 1 1 auto; border-radius: 999px; }
.woocommerce-product-search button[type="submit"], .woocommerce-product-search input[type="submit"] { flex: 0 0 auto; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--primary); color: var(--on-primary); font-weight: 700; cursor: pointer; }

/* ---------- WooCommerce Blocks (cart / checkout basics) ---------- */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: var(--text); }
.wc-block-components-sidebar-layout { gap: 24px; }
.wc-block-cart__main, .wc-block-checkout__main { min-width: 0; }
.wc-block-components-sidebar .wc-block-components-totals-wrapper, .wc-block-components-main .wc-block-components-checkout-step { border-color: var(--border); }
.wc-block-cart__sidebar, .wc-block-checkout__sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px !important; box-shadow: var(--shadow); align-self: flex-start; }
/* The order summary follows the scroll but stops under the sticky menu, not behind it. */
@media (min-width: 782px) {
	html body .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	html body .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	html body .wc-block-components-sidebar-layout .wc-block-cart__sidebar,
	html body .wp-block-woocommerce-checkout .wc-block-checkout__sidebar,
	html body .wp-block-woocommerce-cart .wc-block-cart__sidebar { position: sticky !important; top: calc(var(--gs-sticky-h, 130px) + 48px) !important; inset-block-start: calc(var(--gs-sticky-h, 130px) + 48px) !important; }
	html body.admin-bar .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	html body.admin-bar .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	html body.admin-bar .wc-block-components-sidebar-layout .wc-block-cart__sidebar { top: calc(var(--gs-sticky-h, 130px) + 48px) !important; inset-block-start: calc(var(--gs-sticky-h, 130px) + 48px) !important; }
}
.wc-block-cart-items,.wc-block-cart-items th, .wc-block-cart-items td { border-color: var(--border) !important; }
/* Notices (coupon applied, errors, info): dark card, readable text. */
.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner.is-success, .wc-block-components-notice-banner.is-info, .wc-block-components-notice-banner.is-error, .wc-block-components-notice-banner.is-warning { background: var(--surface) !important; color: var(--text, #e8f0ea) !important; border: 1px solid var(--border) !important; border-left: 4px solid #22c55e !important; border-radius: 14px !important; }
.wc-block-components-notice-banner.is-error, .woocommerce-error { border-left-color: #ef4444 !important; }
.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info { background: linear-gradient(90deg, rgba(34,197,94,.14), rgba(34,197,94,.03) 55%), var(--surface) !important; border: 1px solid rgba(34,197,94,.35) !important; border-left: 4px solid #22c55e !important; box-shadow: 0 0 22px rgba(34,197,94,.14) !important; font-weight: 600; letter-spacing: .01em; padding: 14px 18px !important; }
.wc-block-components-notice-banner > svg { border-radius: 50% !important; box-shadow: 0 0 12px rgba(34,197,94,.55); }
.wc-block-components-notice-banner.is-error { background: linear-gradient(90deg, rgba(239,68,68,.14), rgba(239,68,68,.03) 55%), var(--surface) !important; border-color: rgba(239,68,68,.35) !important; border-left-color: #ef4444 !important; box-shadow: 0 0 22px rgba(239,68,68,.14) !important; }
.wc-block-components-notice-banner.is-error > svg { box-shadow: 0 0 12px rgba(239,68,68,.55); }
.wc-block-components-notice-banner.is-warning { border-left-color: #f59e0b !important; }
.wc-block-components-notice-banner *, .woocommerce-message *, .woocommerce-info *, .woocommerce-error * { color: inherit !important; }
.wc-block-components-notice-banner > svg { background: #22c55e !important; fill: #0a0c0e !important; }
.wc-block-components-notice-banner.is-error > svg { background: #ef4444 !important; }
.wc-block-components-notice-banner.is-info > svg { background: #3b82f6 !important; }
.wc-block-components-notice-banner a { color: #4ade80 !important; text-decoration: underline; }
/* Cart: every service is a card (image | details, price and quantity | line total). */
table.wc-block-cart-items { display: block; background: transparent !important; border: 0 !important; border-radius: 0; overflow: visible; box-shadow: none; }
table.wc-block-cart-items thead, table.wc-block-cart-items tbody { display: block; }
table.wc-block-cart-items .wc-block-cart-items__header { display: grid; grid-template-columns: 84px minmax(0, 1fr) 96px 170px 100px; gap: 0 18px; padding: 0 22px 10px; text-shadow: var(--sh-text); }
table.wc-block-cart-items .wc-block-cart-items__header-image { grid-column: 1 / 3; }
table.wc-block-cart-items .wc-block-cart-items__header-product { grid-column: 3; text-align: center; }
table.wc-block-cart-items .wc-block-cart-items__header-product::before { content: "Price"; }
table.wc-block-cart-items .wc-block-cart-items__header-total { grid-column: 5; }
table.wc-block-cart-items .wc-block-cart-items__header::after { content: "Quantity"; grid-column: 4; grid-row: 1; text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
table.wc-block-cart-items .wc-block-cart-items__header th { display: block; padding: 0 !important; border: 0 !important; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
table.wc-block-cart-items .wc-block-cart-items__header-total { text-align: right; }
table.wc-block-cart-items .wc-block-cart-item__product, table.wc-block-cart-items .wc-block-cart-item__wrap { display: contents !important; }
table.wc-block-cart-items .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / 4; }
table.wc-block-cart-items .wc-block-components-product-name { grid-column: 2; grid-row: 2; align-self: start; }
table.wc-block-cart-items .gsx-type { grid-column: 2; grid-row: 1; align-self: end; justify-self: start; margin-bottom: 6px; font-family: inherit; font-style: normal; font-weight: 800; font-size: 10.5px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 7px; color: #04180c; background: linear-gradient(180deg, #5cf591 0%, #2ee66b 45%, #19b852 100%); border: 1px solid #0f7a36; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 60, 25, .35), 0 3px 0 #0b5a28, 0 6px 14px rgba(46, 230, 107, .3); text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.gsx-chips:empty { display: none; }
table.wc-block-cart-items .gsx-type { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-shadow: none; color: var(--primary, #2ee66b); font-size: 11px; font-weight: 800; letter-spacing: .2em; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; }
table.wc-block-cart-items .gsx-type::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 0 8px currentColor; }
table.wc-block-cart-items .wc-block-components-product-name, table.wc-block-cart-items a.wc-block-components-product-name { font-size: 22px !important; line-height: 1.15 !important; font-weight: 800 !important; text-decoration: none; }
.gsx-tier { display: inline-block; vertical-align: middle; white-space: nowrap; margin-left: 8px; padding: 1px 7px; border-radius: 99px; background: #171c19; border: 1px solid currentColor; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; text-decoration: none; }
.gsx-tier--premium { color: var(--gsx-gold, #ffc83d); }
.gsx-tier--basic { color: #d4dad6; }
/* Cart: the Basic / Premium tag sits centred on the lower edge of the cover; the platform tags take its old place after the title. */
table.wc-block-cart-items .wc-block-cart-item__image { position: relative; }
table.wc-block-cart-items .wc-block-cart-item__image .gsx-tier { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); margin: 0; z-index: 2; }
/* Platform tags under the game name in the mini cart, cart and checkout (the plugin adds them). */
.gsx-cartplats { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.gsx-cartplats .gsx-badge { display: inline-block; font-size: 10px; font-weight: 700; line-height: 1.2; padding: 2px 6px; letter-spacing: .06em; text-transform: uppercase; }
table.wc-block-cart-items .gsx-cartplats { display: inline-flex; vertical-align: middle; margin: 0 0 0 8px; }
.gsx-plain { font-size: 14px; font-weight: 600; color: var(--text); }
.gsx-plain b { color: var(--primary, #2ee66b); margin: 0 5px; font-weight: 800; }
/* Shop: live search and live-loading results. */
.gsx-wc-search { position: relative; margin: 4px 0 20px; width: 100%; }
.gsx-wc-search__ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--primary, #2ee66b); pointer-events: none; transition: filter .2s; }
.gsx-wc-search:focus-within .gsx-wc-search__ico { filter: drop-shadow(0 0 6px rgba(46, 230, 107, .7)); }
.gsx-wc-search input[type="search"] { -webkit-appearance: none; appearance: none; width: 100%; box-sizing: border-box; height: 56px; padding: 0 54px 0 52px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 60%), var(--surface); color: var(--text); font: inherit; font-size: 16px; font-weight: 600; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.gsx-wc-search input[type="search"]::placeholder { color: var(--muted, #8fa497); font-weight: 500; }
.gsx-wc-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.gsx-wc-search input[type="search"]:hover { border-color: rgba(46, 230, 107, .4); }
.gsx-wc-search input[type="search"]:focus { border-color: var(--primary, #2ee66b); box-shadow: 0 0 0 4px rgba(46, 230, 107, .14), 0 10px 30px -12px rgba(46, 230, 107, .45); }
.gsx-wc-search__x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.gsx-wc-search__x[hidden] { display: none; }
.gsx-wc-search__x:hover { background: var(--primary, #2ee66b); color: #04100a; }
.woocommerce-ordering .gs-sort__list { max-height: none; overflow: visible; }
#gsx-results { transition: opacity .15s; }
#gsx-results.is-loading { opacity: .45; pointer-events: none; }
@media (max-width: 700px) { .gsx-wc-search input[type="search"] { height: 52px; font-size: 15px; } }
.gsx-chips + .gsx-chips { margin-top: 6px; }
table.wc-block-cart-items .wc-block-components-product-metadata { grid-column: 2 / -1; grid-row: 3; align-self: start; margin-top: 6px; }
table.wc-block-cart-items .wc-block-cart-item__prices { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 15px; }
table.wc-block-cart-items .wc-block-cart-item__quantity { grid-column: 4; grid-row: 1 / 3; align-self: center; display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 10px; }
table.wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link { flex: 0 0 32px; width: 32px; height: 32px; min-width: 32px; padding: 0 !important; margin: 0 !important; display: inline-flex; align-items: center; justify-content: center; font-size: 0; line-height: 1; }
table.wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link { flex-basis: 38px; width: 38px; height: 38px; min-width: 38px; color: var(--text, #e8f0ea); border-radius: 10px; transition: color .2s, background .2s; }
table.wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover { color: #ef4444; background: rgba(239, 68, 68, .12); }
table.wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link > * { display: none !important; }
table.wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link::before { content: ""; display: block; width: 24px; height: 24px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat; }
table.wc-block-cart-items .wc-block-cart-item__total { grid-column: 5; grid-row: 1 / 3; align-self: center; }
table.wc-block-cart-items .wc-block-cart-items__row { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) 96px 170px 100px; gap: 0 18px; align-items: center; padding: 20px 22px; margin-bottom: 14px; background: linear-gradient(135deg, var(--surface), var(--bg)); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
table.wc-block-cart-items .wc-block-cart-items__row::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--primary, #2ee66b); box-shadow: 0 0 14px var(--primary, #2ee66b); }
table.wc-block-cart-items .wc-block-cart-items__row td { display: block; padding: 0 !important; border: 0 !important; }
table.wc-block-cart-items .wc-block-cart-item__image img { display: block; width: 84px; height: 84px; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); }
table.wc-block-cart-items .wc-block-cart-item__product { min-width: 0; }
table.wc-block-cart-items .wc-block-components-product-name { font-size: 23px; line-height: 1.15; font-weight: 800; }
table.wc-block-cart-items .wc-block-cart-item__total { text-align: right; font-size: 18px; font-weight: 900; }
.wc-block-cart__totals-title { letter-spacing: .12em; text-transform: uppercase; }
/* Cart lines: type badge and quick facts as small chips. */
table.wc-block-cart-items .wc-block-components-product-details { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 8px 0 0; padding: 0; list-style: none; }
table.wc-block-cart-items .wc-block-components-product-details li { display: inline-flex; gap: 5px; margin: 0; padding: 3px 10px; border-radius: 20px; font-size: 12px; background: rgba(255, 255, 255, .07); border: 1px solid #2a3a2f; color: var(--muted); }
table.wc-block-cart-items .wc-block-components-product-details li::after { content: none !important; }
table.wc-block-cart-items .wc-block-components-product-details__value { color: var(--text); font-weight: 700; }
table.wc-block-cart-items .wc-block-components-product-details__type { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary, #2ee66b); background: rgba(46, 230, 107, .1); border-color: rgba(46, 230, 107, .35); }
table.wc-block-cart-items .wc-block-components-product-details__type .wc-block-components-product-details__name { display: none; }
table.wc-block-cart-items .wc-block-components-product-details__type .wc-block-components-product-details__value { color: inherit; }
/* Only the title and the chips: no game description. */
table.wc-block-cart-items .wc-block-components-product-metadata__description, table.wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-metadata > div:not([class*="details"]):not(.gsx-chips) { display: none !important; }
/* Chips, whatever markup WooCommerce uses for the list. */
table.wc-block-cart-items ul[class*="product-details"] { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 8px 0 0; padding: 0; list-style: none; }
table.wc-block-cart-items li[class*="product-details__"] { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 4px 11px; border-radius: 20px; font-size: 12px; line-height: 1.3; background: rgba(255, 255, 255, .07); border: 1px solid #2a3a2f; color: var(--muted); }
table.wc-block-cart-items li[class*="product-details__"]::after, table.wc-block-cart-items li[class*="product-details__"]::before { content: none !important; }
table.wc-block-cart-items li[class*="product-details__"] > span { display: inline; }
table.wc-block-cart-items li[class*="product-details__"] [class*="__value"] { color: var(--text); font-weight: 700; }
.wc-block-cart__submit-button { box-shadow: 0 0 24px rgba(46, 230, 107, .35); }
/* Cart line chips (built by theme.js). */
.gsx-chips { display: flex; flex-wrap: wrap; margin-top: 8px; }
.gsx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 20px; font-size: 12px; line-height: 1.3; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--border); }
.gsx-chip b { font-weight: 800; white-space: nowrap; }
.gsx-chip { white-space: nowrap; padding: 4px 10px; }
.gsx-chip:has(b:first-of-type + *), .gsx-chip[style*="38bdf8"] { white-space: normal; border-radius: 14px; }
.gsx-chips { gap: 6px; }
table.wc-block-cart-items .wc-block-cart-item__prices { justify-self: stretch; width: 100%; display: flex !important; justify-content: center !important; text-align: center; }
table.wc-block-cart-items .wc-block-cart-item__prices > * { text-align: center; justify-content: center; margin: 0 auto; }
table.wc-block-cart-items .wc-block-cart-items__header::after { justify-self: start; width: 125px; }
.gsx-chip svg { flex: 0 0 auto; color: var(--x, var(--primary)); }
.gsx-chip[style*="--x"] { background: color-mix(in srgb, var(--x) 12%, transparent); border-color: color-mix(in srgb, var(--x) 45%, transparent); }
.gsx-chip[style*="--x"] b { color: var(--x); }
.gsx-chip--type { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: var(--primary, #2ee66b); background: rgba(46, 230, 107, .12); border-color: rgba(46, 230, 107, .45); }
/* Coupon area: ticket style. */
.wc-block-components-totals-coupon .wc-block-components-panel__button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 0; height: auto; padding: 10px 14px; margin: 4px 0; font-size: 0; line-height: 1; font-weight: 800; color: var(--primary, #2ee66b); text-align: left; border-radius: 10px; border: 0; box-shadow: inset 0 0 0 1.5px rgba(46, 230, 107, .5); -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; background: linear-gradient(135deg, rgba(46, 230, 107, .16), rgba(46, 230, 107, .04)); cursor: pointer; transition: box-shadow .2s; }
.wc-block-components-totals-coupon .wc-block-components-panel__button:hover { box-shadow: inset 0 0 0 1.5px var(--primary, #2ee66b), inset 0 0 22px rgba(46, 230, 107, .15); }
.wc-block-components-totals-coupon .wc-block-components-panel__button::before { content: ""; margin-left: 14px; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ee66b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a2 2 0 0 0 0 6v3a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-3a2 2 0 0 0 0-6V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M14 5v2M14 11v2M14 17v2'/%3E%3C/svg%3E") center / 22px no-repeat, rgba(46, 230, 107, .15); }
.wc-block-components-totals-coupon .wc-block-components-panel__button::after { content: "Have a coupon?"; border-left: 2px dashed rgba(46, 230, 107, .5); padding: 9px 0 9px 14px; font-size: 14px; font-weight: 800; color: var(--primary, #2ee66b); }
.wc-block-components-totals-coupon .wc-block-components-panel__button .wc-block-components-panel__button-icon, .wc-block-components-totals-coupon .wc-block-components-panel__button svg { margin-left: auto; margin-right: 14px; fill: var(--primary, #2ee66b); width: 24px; height: 24px; }
.wc-block-components-totals-coupon__form { display: flex; gap: 8px; margin-top: 10px; align-items: stretch; }
.wc-block-components-totals-coupon__form .wc-block-components-text-input { flex: 0 0 calc(60% - 4px); width: calc(60% - 4px); min-width: 0; margin: 0; }
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button { flex: 0 0 calc(40% - 4px); width: calc(40% - 4px); min-width: 0; padding-left: 0; padding-right: 0; }
.wc-block-components-totals-coupon__form input { height: 100%; border-radius: var(--field-radius) !important; background: var(--field-bg) !important; border: 1px solid var(--field-border) !important; color: var(--text); letter-spacing: .06em; }
.wc-block-components-totals-coupon__button { border-radius: var(--field-radius) !important; padding: 12px 20px !important; font-weight: 900 !important; background: var(--primary, #2ee66b) !important; color: #04120a !important; border: 0 !important; box-shadow: 0 0 18px rgba(46, 230, 107, .35); }
.wc-block-components-totals-discount .wc-block-components-chip { background: rgba(46, 230, 107, .1); border: 1px solid rgba(46, 230, 107, .4); color: var(--primary, #2ee66b); font-weight: 800; letter-spacing: .08em; border-radius: 14px; padding: 6px 12px; }
.wc-block-components-totals-discount .wc-block-components-totals-item__value { color: var(--primary, #2ee66b); font-weight: 800; }
@media (max-width: 700px) {
	table.wc-block-cart-items .wc-block-cart-items__header { display: none; }
	table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 72px minmax(0, 1fr); padding: 16px; }
	table.wc-block-cart-items .wc-block-cart-item__image { grid-row: 1 / 5; }
	table.wc-block-cart-items .wc-block-cart-item__prices { grid-column: 2; grid-row: 3; text-align: left; margin-top: 6px; }
	table.wc-block-cart-items .wc-block-cart-item__quantity { grid-column: 2; grid-row: 4; flex-direction: row; align-items: center; justify-content: flex-start; margin-top: 10px; }
	table.wc-block-cart-items .wc-block-cart-item__total { grid-row: 5; }
	table.wc-block-cart-items .wc-block-cart-item__image img { width: 72px; height: 72px; }
	table.wc-block-cart-items .wc-block-cart-item__total { grid-column: 1 / -1; margin-top: 12px; padding-top: 12px !important; border-top: 1px solid var(--border) !important; }
}
.wc-block-components-product-name { color: var(--text); font-weight: 700; text-decoration: none; }
.wc-block-components-product-metadata, .wc-block-components-product-details { color: var(--muted); font-size: 13px; }
.wc-block-components-totals-item__label, .wc-block-components-order-summary-item__description { color: var(--text); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 700 22px 'Sora', sans-serif; }
.wc-block-components-title.wc-block-components-title, .wc-block-components-checkout-step__title { font-family: 'Sora', sans-serif; letter-spacing: -.02em; color: var(--text); }
.wc-block-components-checkout-step { border-left-color: var(--border); }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--border) !important; border-radius: 14px; }
.wc-block-components-radio-control__option-checked { background: var(--surface2); }
.wc-block-components-text-input label, .wc-block-components-form .wc-block-components-text-input label { color: var(--muted); }
.wc-block-components-quantity-selector { border: 1px solid var(--field-border); border-radius: 999px; background: var(--field-bg); }
.wc-block-components-quantity-selector__button { min-width: 40px; min-height: 40px; color: var(--text); }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__input, .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input:focus { color: var(--text); background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: 0; }
.wc-block-components-quantity-selector:focus-within { outline: 3px solid var(--primary); outline-offset: 2px; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { accent-color: var(--primary); }
.wc-block-components-panel__button, .wc-block-components-totals-coupon__button { color: var(--primary); }
.wc-block-components-button.contained:not(.is-link) { background: var(--primary); color: var(--on-primary); }
.wc-block-components-product-price__value.is-discounted { color: var(--coral); }
.wc-block-components-product-badge, .wc-block-components-sale-badge { border-radius: 8px; border-color: var(--border); }
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { width: 100%; min-height: 56px; font-size: 17px; }
.wc-block-components-checkout-return-to-cart-button { color: var(--primary); }
.wc-block-components-order-summary, .wc-block-components-totals-coupon { color: var(--text); }
.wc-block-components-skeleton__element { background: var(--surface2); }
.wc-block-components-notice-banner { margin-bottom: 16px; }
.wc-block-grid__products { gap: 14px; }
.wc-block-grid__product { border: 1px solid var(--border); border-radius: 20px; padding: 0 0 14px; background: var(--surface); overflow: hidden; }
.wc-block-grid__product-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.wc-block-grid__product-title { font: 600 16px 'Sora', sans-serif; padding: 0 14px; color: var(--text); }
.wc-block-grid__product-price { padding: 0 14px; color: var(--primary); font-weight: 700; }

.woocommerce img.emoji { filter: none; }

@media (prefers-reduced-motion: reduce) {
	.woocommerce a.button, .gsx-wc-btn, .gsx-wc .flex-control-thumbs img { transition: none; }
}

/* WooCommerce's layout stylesheet sizes cards with ul.products.columns-N li.product (width: 16.95% etc.).
   Inside our grid that makes them paper thin, so win the specificity fight. */
.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products[class*="columns-"] li.product.first, .woocommerce ul.products[class*="columns-"] li.product.last { float: none; width: auto; margin: 0; clear: none; }
.woocommerce ul.products[class*="columns-"]::before, .woocommerce ul.products[class*="columns-"]::after,
.woocommerce-page ul.products[class*="columns-"]::before, .woocommerce-page ul.products[class*="columns-"]::after { content: none; display: none; }

/* ===== Dark form fields: My account, checkout and cart (same look as the login and register forms) ===== */
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="number"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="url"],
body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce-MyAccount-content .password-input input {
	background: var(--field-bg) !important;
	background-color: var(--field-bg) !important;
	color: var(--text, #fff) !important;
	border: 1px solid var(--field-border) !important;
	border-radius: var(--field-radius) !important;
	min-height: 50px;
	padding: 0 16px;
	box-shadow: none !important;
	color-scheme: dark;
}
body.woocommerce-account .woocommerce-MyAccount-content textarea { padding: 14px 16px; }
body.woocommerce-account .woocommerce-MyAccount-content input:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
	outline: 3px solid var(--primary) !important;
	outline-offset: 2px;
	box-shadow: none !important;
}
body.woocommerce-account .woocommerce-MyAccount-content ::placeholder { color: var(--muted, #98a39c); opacity: .8; }
/* Browser autofill paints fields light: keep them dark. */
body.woocommerce-account .woocommerce-MyAccount-content input:-webkit-autofill,
body.woocommerce-account .woocommerce-MyAccount-content input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--text, #f1f5f2);
	box-shadow: 0 0 0 1000px var(--field-bg, #111614) inset !important;
	caret-color: var(--text, #f1f5f2);
}
/* The file picker and the show-password eye keep a readable look on the dark fields. */
body.woocommerce-account .woocommerce-MyAccount-content input[type="file"] { background: transparent !important; border: 0 !important; min-height: 0; padding: 0; }
body.woocommerce-account .woocommerce-MyAccount-content .show-password-input { filter: invert(.85); }

/* Checkout and cart (block and classic) */
body.woocommerce-checkout input[type="text"]:not(.adminbar-input),
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-cart input[type="text"]:not(.adminbar-input),
body.woocommerce-cart input.input-text,
body.woocommerce-cart select,
body.woocommerce-cart textarea,
.wc-block-components-text-input input,
.wc-block-components-text-input.is-active input,
.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-combobox-control input.components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-address-form select,
.wc-block-components-totals-coupon__input input,
.wc-block-components-textarea,
.wc-block-checkout__add-note textarea,
.wc-block-components-country-input select,
.wc-block-components-state-input select {
	background: var(--field-bg) !important;
	background-color: var(--field-bg) !important;
	color: var(--text, #fff) !important;
	border: 1px solid var(--field-border) !important;
	border-radius: var(--field-radius) !important;
	box-shadow: none !important;
	color-scheme: dark;
}
.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus,
.wc-blocks-components-select__select:focus,
.wc-block-components-textarea:focus,
.wc-block-checkout__add-note textarea:focus,
body.woocommerce-checkout input:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus {
	outline: 3px solid var(--primary) !important;
	outline-offset: 2px;
	box-shadow: none !important;
}
.wc-block-components-text-input label,
.wc-blocks-components-select__label,
.wc-block-components-combobox label,
.wc-block-components-textarea + label { color: var(--muted, #98a39c) !important; }
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
	box-shadow: 0 0 0 1000px var(--field-bg, #111614) inset !important;
	caret-color: #fff;
}
.wc-blocks-components-select .wc-blocks-components-select__expand { fill: #fff; }
.wc-block-components-combobox .wc-block-components-combobox-control .components-form-token-field__suggestions-list,
.wc-block-components-combobox ul[role="listbox"] { background: var(--field-bg) !important; color: var(--text, #fff) !important; border: 1px solid var(--field-border) !important; border-radius: var(--field-radius) !important; }
/* Payment box: no white outline or white strip, dark and green like the rest. */
.wc-block-components-radio-control-accordion-container,
.wc-block-components-radio-control--highlight-checked,
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option,
.wc-block-checkout__payment-method .wc-block-components-radio-control {
	background: transparent !important;
	border-color: var(--field-border) !important;
	box-shadow: none !important;
	color: #fff;
}
.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control__option-checked,
.wc-block-components-radio-control-accordion-option:has(input:checked) { box-shadow: none !important; border-color: #2ee66b !important; }
.wc-block-components-radio-control .wc-block-components-radio-control__input,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	background: var(--field-bg) !important;
	border: 1px solid var(--field-border-hover) !important;
	box-shadow: none !important;
}
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: #2ee66b !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #2ee66b; }
/* Checkout boxes (billing address, payment options) in the site style: dark panel, thin border, rounded, green when chosen. */
.wc-block-components-checkout-step { border-left: 0 !important; padding-left: 0 !important; }
.wc-block-components-checkout-step::before, .wc-block-components-checkout-step__container::after { display: none !important; }
.wc-block-components-address-card {
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 14px !important;
	padding: 16px 18px !important;
	box-shadow: none !important;
	color: var(--text);
}
.wc-block-components-address-card address { color: var(--muted); font-style: normal; line-height: 1.6; }
.wc-block-components-address-card address .wc-block-components-address-card__address-section--primary { color: var(--text); font-weight: 700; }
.wc-block-components-address-card__edit { color: var(--primary) !important; font-weight: 700; text-decoration: none; }
.wc-block-components-address-card__edit:hover { text-decoration: underline; }
.wc-block-checkout__payment-method .wc-block-components-radio-control,
.wc-block-components-radio-control-accordion-container { border-radius: 14px !important; }
.wc-block-components-radio-control-accordion-option {
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 14px !important;
	margin: 0 0 10px !important;
	overflow: hidden;
}
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border: 0 !important; border-radius: 0 !important; }
.wc-block-components-radio-control-accordion-content { background: var(--field-bg) !important; border: 0 !important; border-radius: 0 0 14px 14px; margin: 0; }
.wc-block-components-radio-control-accordion-option:has(input:checked) { border-color: var(--primary, #2ee66b) !important; box-shadow: inset 0 0 22px rgba(46, 230, 107, .08) !important; }
