/* Talvar Racing — WordPress / WooCommerce skin. Tokens mirror app/globals.css. */
:root {
  --bg: #090a0b;
  --bg-2: #101315;
  --bg-3: #141618;
  --panel: #1b201e;
  --fg: #ffffff;
  --muted: #b8babe;
  --muted-2: #80858b;
  --text-2: #d0d1d2;
  --line: #ffffff25;
  --line-strong: #ffffff40;
  --yellow: #eddb42;
  --yellow-hover: #f4e66e;
  --danger: #ff6b5b;
  --ok: #8fd18f;
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
[hidden] { display: none !important; }

/* Layout + header/footer (same as homepage) */
.site-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 16px; background: var(--yellow); color: var(--bg); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; background: #090a0bf5; border-bottom: 1px solid #ffffff20; }
.admin-bar .site-header { top: 32px; }
.nav-inner { position: relative; display: flex; align-items: center; gap: 18px; min-height: 96px; }
.nav-logo, .footer-logo { width: 164px; height: auto; display: block; }
.desktop-links { display: flex; gap: 18px; margin-left: auto; font-size: 13px; }
.language-switcher { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.language-switcher a { font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 2px; border-bottom: 2px solid transparent; }
.language-switcher a[aria-current="page"] { color: var(--yellow); border-color: var(--yellow); }
.language-switcher a:hover { color: #fff; }
.nav-join { display: inline-flex; align-items: center; padding: 9px 18px; line-height: 1.3; border: 1px solid var(--yellow); color: var(--yellow); font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-join:hover { background: #eddb4214; }
body.woocommerce-page .nav-join, body.woocommerce .nav-join { background: var(--yellow); color: var(--bg); }
.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #fff; padding: 6px 2px; }
.nav-cart:has(.cart-count[hidden]) { display: none; }
.cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; background: var(--yellow); color: var(--bg); border-radius: 9px; font-size: 10px; font-weight: 600; font-family: var(--font-mono); }
.mobile-menu { display: none; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--yellow); margin-bottom: 22px; text-transform: uppercase; }

.team-footer { padding: 40px 0; border-top: 1px solid var(--line); margin-top: 40px; }
.team-footer .site-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.team-footer p, .team-footer span { font-size: 10px; color: var(--muted); letter-spacing: .07em; margin: 0; }
.team-footer p a { text-decoration: underline; text-underline-offset: 3px; }
.footer-top { padding-block: 8px 36px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.team-footer .eyebrow { margin-bottom: 12px; color: var(--yellow); }
.team-footer .footer-address { font-size: 13px; letter-spacing: 0; }
.footer-destinations { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-destinations a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 14px; border: 1px solid #ffffff30; transition: border-color .2s, background .2s; }
.footer-destinations a:hover { border-color: var(--yellow); background: #eddb4212; }
.footer-destinations img { filter: brightness(0) invert(1); width: 22px; height: 22px; }
.team-footer .footer-destinations span { font-size: 12px; color: #eee; letter-spacing: 0; }

/* Page shell */
.wp-main { padding: 72px 0 80px; min-height: 60vh; }
.page-title, .woocommerce-products-header__title, .product_title { font-size: clamp(44px, 6vw, 80px); }
.entry-lead { color: var(--muted); font-size: 17px; max-width: 560px; }
.entry-content { max-width: 820px; color: var(--text-2); }
.entry-content h2 { font-size: 36px; margin-top: 1.4em; }
.entry-content h3 { font-size: 26px; margin-top: 1.2em; }
.entry-content a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content, .woocommerce-account .entry-content { max-width: none; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.text-link { font-size: 14px; font-weight: 500; }

/* Buttons */
.team-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button:not(.is-link), .wp-element-button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--yellow); color: #111315 !important; border: 0; border-radius: 0;
  padding: 16px 24px; font: 600 14px/1.2 var(--font-body); cursor: pointer;
  transition: background .2s, transform .2s; text-decoration: none;
}
.team-button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover, .wp-element-button:hover { background: var(--yellow-hover); transform: translateY(-1px); color: #111315 !important; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce a.button.disabled { opacity: .45; transform: none; }
.woocommerce a.added_to_cart { display: inline-block; margin-left: 12px; font-size: 13px; color: var(--yellow); }

/* Forms */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=url], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  width: 100%; background: var(--bg-3); color: var(--fg); border: 1px solid var(--line-strong); border-radius: 0;
  padding: 13px 14px; font: 15px/1.4 var(--font-body); min-height: 48px;
}
input:focus, textarea:focus, select:focus { border-color: var(--yellow); outline: none; }
label, .woocommerce form .form-row label { color: var(--muted); font-size: 13px; }
.woocommerce form .form-row .required { color: var(--yellow); }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--fg); line-height: 20px; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.select2-dropdown { background: var(--bg-3); color: var(--fg); border-color: var(--line-strong); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--yellow); color: var(--bg); }
.select2-search--dropdown .select2-search__field { background: var(--bg); color: var(--fg); }
.woocommerce .quantity .qty { width: 80px; text-align: center; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .wc-block-components-notice-banner {
  list-style: none; margin: 0 0 32px; padding: 18px 22px; background: var(--panel); color: var(--fg);
  border: 1px solid var(--line); border-left: 3px solid var(--yellow); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.woocommerce-error { border-left-color: var(--danger); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; padding: 10px 16px; }
.woocommerce-store-notice, p.demo_store { background: var(--yellow); color: var(--bg); }

/* Breadcrumb + shop header */
.woocommerce .woocommerce-breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 28px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-products-header { margin-bottom: 20px; }
.term-description, .page-description { color: var(--muted); max-width: 620px; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 13px; margin: 14px 0 32px; }
.woocommerce .woocommerce-ordering { margin: 0 0 32px; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 220px; }

/* Product grid */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin: 0 0 40px; padding: 0; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; border-top: 1px solid var(--line-strong); padding-top: 20px; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a img { margin: 0 0 20px; background: var(--bg-3); aspect-ratio: 1; object-fit: cover; transition: opacity .2s; }
.woocommerce ul.products li.product a:hover img { opacity: .85; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .woocommerce-loop-category__title { font-family: var(--font-body); font-size: 18px; font-weight: 500; letter-spacing: 0; padding: 0; margin: 0 0 8px; }
.woocommerce ul.products li.product .price { color: var(--yellow); font-family: var(--font-mono); font-size: 14px; margin-bottom: 18px; display: block; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.woocommerce ul.products li.product mark.count { background: none; color: var(--muted); }
.woocommerce span.onsale { background: var(--yellow); color: var(--bg); border-radius: 0; min-height: 0; min-width: 0; padding: 6px 10px; line-height: 1; font: 500 11px var(--font-mono); letter-spacing: .1em; top: 30px; left: 10px; right: auto; margin: 0; }
.woocommerce .price del { color: var(--muted-2); opacity: 1; }
.woocommerce .price ins { text-decoration: none; }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; padding: 12px; border: 1px solid var(--line-strong); color: var(--fg); font-family: var(--font-mono); }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--yellow); color: var(--bg); border-color: var(--yellow); }

/* Single product */
.woocommerce div.product { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product > div.images { grid-column: 1; grid-row: 1; }
.woocommerce div.product > div.summary { grid-column: 2; grid-row: 1; }
.woocommerce div.product > span.onsale { position: absolute; top: 14px; left: 14px; z-index: 2; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none; margin: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { z-index: 3; }
.woocommerce div.product div.images img { background: var(--bg-3); }
.woocommerce div.product div.images .flex-control-thumbs li { padding: 8px 8px 0 0; }
.woocommerce div.product .product_title { font-size: clamp(40px, 5vw, 66px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--yellow); font-family: var(--font-mono); font-size: 22px; margin: 4px 0 24px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-2); font-size: 16px; line-height: 1.8; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin: 28px 0; padding: 28px 0; border-block: 1px solid var(--line); }
.woocommerce div.product form.cart .quantity { margin: 0; }
.woocommerce div.product form.cart table.variations { width: 100%; margin-bottom: 8px; }
.woocommerce div.product form.cart table.variations th, .woocommerce div.product form.cart table.variations td { display: block; padding: 0 0 8px; text-align: left; }
.woocommerce div.product form.cart .reset_variations { color: var(--muted); font-size: 12px; }
.woocommerce div.product form.cart .single_variation_wrap { width: 100%; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 14px; }
.woocommerce div.product .wc-pao-addons-container, .woocommerce div.product .wc-pao-addon { width: 100%; }
.wc-pao-addon-name { font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.product_meta { color: var(--muted); font-size: 13px; display: grid; gap: 4px; }
.product_meta a { color: var(--fg); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--line); display: flex; gap: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0; color: var(--muted); font-weight: 500; font-size: 14px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--fg); box-shadow: inset 0 -2px var(--yellow); }
.woocommerce div.product .woocommerce-tabs .panel { color: var(--text-2); max-width: 820px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: 40px; margin: 40px 0 28px; }

/* Tables (cart, order, account) */
.woocommerce table.shop_table { width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 0; border-collapse: collapse; background: var(--bg-2); }
.woocommerce table.shop_table th { text-align: left; }
ul#shipping_method, ul.wc_payment_methods, ul.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
ul#shipping_method li { margin: 0 0 6px; }
ul#shipping_method input, ul.wc_payment_methods input[type=radio] { accent-color: var(--yellow); margin-right: 8px; }
.woocommerce-checkout #payment ul.payment_methods { padding: 18px 20px; }
.woocommerce-checkout #payment ul.payment_methods li { margin-bottom: 10px; }
.woocommerce-checkout #payment ul.payment_methods li > label { color: var(--fg); font-size: 14px; }
.woocommerce-checkout #payment .place-order { padding: 20px; }
.woocommerce-checkout #payment #place_order { float: none; width: 100%; padding-block: 18px; font-size: 15px; }
.woocommerce .cart-collaterals { margin-top: 48px; }
.woocommerce .cart-collaterals .cart_totals { float: right; width: min(480px, 100%); }
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; padding-block: 18px; font-size: 15px; }
.woocommerce table.cart td.actions { text-align: right; }
.woocommerce table.cart td.actions .coupon { float: left; display: flex; gap: 8px; }
.woocommerce table.cart td.product-name a { color: var(--fg); font-weight: 500; }

/* Checkout: customer details left, order summary + payment right */
.woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
.woocommerce form.checkout > * { grid-column: 1 / -1; }
.woocommerce form.checkout > #customer_details { grid-column: 1; grid-row: 2 / span 2; }
.woocommerce form.checkout > #order_review_heading { grid-column: 2; grid-row: 2; margin-top: 0; }
.woocommerce form.checkout > #order_review { grid-column: 2; grid-row: 3; }
.woocommerce form.checkout #customer_details .col-1, .woocommerce form.checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce form.checkout #customer_details .col-2 { margin-top: 24px; }
.woocommerce-checkout #payment { margin-top: 24px; }
.woocommerce table.shop_table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top: 1px solid var(--line); padding: 16px; }
.woocommerce table.shop_table .amount { font-family: var(--font-mono); }
.woocommerce table.cart img { width: 72px; background: var(--bg-3); }
.woocommerce a.remove { color: var(--muted) !important; font-size: 20px; }
.woocommerce a.remove:hover { background: var(--danger); color: var(--bg) !important; }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px; margin-right: 8px; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3, #order_review_heading { font-size: 32px; }
.woocommerce-checkout #payment { background: var(--bg-2); border: 1px solid var(--line); border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--bg-3); color: var(--fg); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bg-3); }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line); border-radius: 0; background: var(--bg-2); }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { color: var(--muted); font-size: 13px; }
.woocommerce-terms-and-conditions-wrapper a, .woocommerce-privacy-policy-text a { color: var(--yellow); }

/* Montonio — keep its own UI readable on a dark background */
.montonio-payment-methods, .montonio-bank-payments-form, [class*="montonio-"] { color: var(--fg); }
.montonio-bank-item, [class*="montonio-bank"] img { background: #fff; }

/* My account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 56px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--yellow); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }

/* WooCommerce block cart/checkout */
.wc-block-components-sidebar-layout, .wc-block-cart, .wc-block-checkout { color: var(--fg); }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wc-block-cart-items, .wc-block-components-panel { border-color: var(--line) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select select { background: var(--bg-3) !important; color: var(--fg) !important; border-color: var(--line-strong) !important; border-radius: 0 !important; }
.wc-block-components-text-input label, .wc-block-components-combobox label { color: var(--muted) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--line) !important; }
.wc-block-components-product-name, .wc-block-components-product-price { color: var(--fg); }
.wc-block-cart-items th, .wc-block-components-checkout-step__title { font-family: var(--font-head); }

/* Responsive */
@media (min-width: 701px) and (max-width: 1100px) {
  .nav-logo { width: 130px; }
  .desktop-links { display: none; }
  .mobile-menu { display: block; font-size: 13px; }
  .mobile-menu summary { cursor: pointer; padding: 10px 0; }
  .mobile-menu > div { position: absolute; top: 96px; left: 0; right: 0; display: flex; flex-direction: column; padding: 16px 32px; background: var(--bg-3); border-bottom: 1px solid #ffffff35; }
  .mobile-menu a { padding: 12px 0; }
  .language-switcher { margin-left: auto; }
}
@media (max-width: 1000px) {
  .site-container { width: calc(100% - 56px); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .woocommerce div.product { gap: 40px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 700px) {
  .site-container { width: calc(100% - 32px); }
  .nav-inner { min-height: 80px; gap: 12px; flex-wrap: wrap; padding-block: 12px; } .nav-logo { width: 116px; }
  .desktop-links { display: none; }
  .nav-inner .language-switcher { order: 4; margin-left: auto; }
  .nav-join { margin-left: auto; font-size: 11px; padding: 8px 10px; }
  .mobile-menu { display: block; font-size: 12px; }
  .mobile-menu summary { cursor: pointer; padding: 10px 0; }
  .mobile-menu > div { position: absolute; top: 80px; left: -16px; right: -16px; background: var(--bg-3); display: flex; flex-direction: column; padding: 16px 20px; border-bottom: 1px solid #ffffff35; }
  .mobile-menu a { padding: 14px 0; }
  .wp-main { padding: 48px 0 56px; }
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 20px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
  .woocommerce ul.products li.product .button { padding: 12px 14px; font-size: 13px; }
  .woocommerce div.product { grid-template-columns: 1fr; gap: 32px; }
  .woocommerce div.product > div.summary { grid-column: 1; grid-row: 2; }
  .woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count { float: none; margin: 0 0 16px; }
  .woocommerce .woocommerce-ordering select { width: 100%; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 28px; }
  .woocommerce form.checkout { grid-template-columns: 1fr; }
  .woocommerce form.checkout > #customer_details, .woocommerce form.checkout > #order_review_heading, .woocommerce form.checkout > #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce form.checkout > #order_review_heading { margin-top: 40px; }
  .woocommerce table.cart td.actions .coupon { float: none; flex-direction: column; margin-bottom: 12px; }
  .woocommerce table.cart td.actions .coupon .input-text { width: 100%; margin: 0 0 8px; }
  .team-footer .site-container { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-destinations { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .footer-destinations a { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* WooCommerce loading overlay (blockUI) — dark instead of white flash */
.blockUI.blockOverlay { background: var(--bg) !important; opacity: .55 !important; }

/* ------------------------------------------------------------------
   Light shop: dark header/footer from the homepage, light content area
   like the previous shop. Product photos are shot on white, so they sit
   on white and are never cropped.
   ------------------------------------------------------------------ */
.wp-main {
  --fg: #171a1d;
  --text-2: #3d4146;
  --muted: #5f6368;
  --muted-2: #8a8e93;
  --line: #e4e4e1;
  --line-strong: #d3d3cf;
  --bg-2: #ffffff;
  --bg-3: #f6f6f4;
  --panel: #f6f6f4;
  --accent-ink: #62613c;
  background: #fff;
  color: var(--fg);
  padding: 56px 0 96px;
}
.wp-main + .team-footer { margin-top: 0; }
.wp-main a:hover { color: var(--accent-ink); }
.wp-main .eyebrow { color: var(--accent-ink); }
.wp-main .page-title, .wp-main .woocommerce-products-header__title, .wp-main .product_title { font-size: clamp(40px, 5vw, 64px); }
.wp-main .entry-content a, .wp-main .woocommerce-terms-and-conditions-wrapper a, .wp-main .woocommerce-privacy-policy-text a { color: var(--fg); }
.wp-main input:focus, .wp-main textarea:focus, .wp-main select:focus { border-color: var(--fg); }
.wp-main form .form-row .required { color: #b3261e; }

/* Product + category grid: 4 columns, whole images on white */
.wp-main ul.products { grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.wp-main ul.products li.product { border-top: 0; padding-top: 0; }
.wp-main ul.products li.product a img { aspect-ratio: 1; object-fit: contain; background: #fff; padding: 8px; margin-bottom: 14px; transition: transform .2s; }
.wp-main ul.products li.product a:hover img { opacity: 1; transform: scale(1.03); }
.wp-main ul.products li.product .woocommerce-loop-product__title,
.wp-main ul.products li.product .woocommerce-loop-category__title { font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--fg); }
.wp-main ul.products li.product .woocommerce-loop-category__title { font-size: 15px; }
.wp-main ul.products li.product .price { color: var(--fg); font-weight: 600; font-family: var(--font-body); font-size: 15px; margin-bottom: 14px; }
.wp-main ul.products li.product .button { padding: 11px 16px; font-size: 13px; }
.wp-main .price del { color: var(--muted-2); font-weight: 400; }
.wp-main .price ins { color: #b3261e; }
.wp-main span.onsale { top: 8px; left: 8px; }

/* Single product */
.wp-main div.product div.images img { background: #fff; object-fit: contain; }
.wp-main div.product p.price, .wp-main div.product span.price { color: var(--fg); font-family: var(--font-body); font-weight: 600; font-size: 24px; }
.wp-main div.product .woocommerce-tabs ul.tabs li.active a { color: var(--fg); box-shadow: inset 0 -2px var(--fg); }

/* Tables, checkout, notices */
.wp-main table.shop_table { background: #fff; }
.wp-main table.shop_table th { color: var(--muted); }
.wp-main table.cart img { background: #fff; object-fit: contain; }
.wp-main .woocommerce-checkout #payment, .wp-main form.checkout_coupon, .wp-main form.login, .wp-main form.register { background: var(--panel); }
.wp-main .woocommerce-checkout #payment div.payment_box { background: #fff; }
.wp-main .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.wp-main .woocommerce-message, .wp-main .woocommerce-info, .wp-main .woocommerce-noreviews { border-left-color: var(--yellow); }
.wp-main .woocommerce-MyAccount-navigation li.is-active a { color: var(--fg); font-weight: 600; }
.wp-main nav.woocommerce-pagination ul li span.current, .wp-main nav.woocommerce-pagination ul li a:hover { color: #111315; }
.wp-main ul#shipping_method input, .wp-main ul.wc_payment_methods input[type=radio] { accent-color: #171a1d; }
.blockUI.blockOverlay { background: #fff !important; }

/* select2 dropdown is rendered outside .wp-main */
.select2-container--default .select2-selection--single { background: #f6f6f4; color: #171a1d; border-color: #d3d3cf; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #171a1d; }
.select2-dropdown { background: #fff; color: #171a1d; border-color: #d3d3cf; }
.select2-search--dropdown .select2-search__field { background: #f6f6f4; color: #171a1d; }

@media (max-width: 1000px) { .wp-main ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .wp-main { padding: 36px 0 64px; }
  .wp-main ul.products { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* Brand strip (shop pages), as on the previous shop */
.brand-strip { background: #f6f6f4; color: #171a1d; padding: 56px 0 60px; border-top: 1px solid #e4e4e1; overflow: hidden; }
.brand-strip h2 { font-size: 32px; text-align: center; margin-bottom: 32px; }
.brand-marquee { display: flex; width: max-content; animation: talvar-marquee 45s linear infinite; }
.brand-marquee:hover { animation-play-state: paused; }
.brand-track { display: flex; align-items: center; gap: 64px; margin: 0; padding: 0 32px; list-style: none; }
.brand-track img { height: 40px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brand-track img:hover { filter: none; opacity: 1; }
@keyframes talvar-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brand-marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .brand-track[aria-hidden] { display: none; } .brand-track { flex-wrap: wrap; justify-content: center; row-gap: 28px; } }
.brand-strip + .team-footer { margin-top: 0; }

/* Company details in the footer */
.team-footer .footer-company-row { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.team-footer .footer-company, .team-footer .footer-contacts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.team-footer .footer-company span, .team-footer .footer-contacts a { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.team-footer .footer-company span:first-child { color: #fff; font-weight: 600; }
.team-footer .footer-contacts a:hover { color: var(--yellow); }
@media (max-width: 700px) { .team-footer .footer-company-row { flex-direction: column; } .brand-track { gap: 40px; } .brand-track img { height: 32px; } }
