/* Tire4Sale theme — mobile first. Colors come from theme.json presets. */
:root {
	--ink: var(--wp--preset--color--contrast, #111214);
	--red: var(--wp--preset--color--brand-red, #d81d33);
	--logo-red: var(--wp--preset--color--logo-red, #ef233c);
	--yellow: var(--wp--preset--color--brand-yellow, #ffc21a);
	--soft: var(--wp--preset--color--soft, #f4f4f2);
	--line: var(--wp--preset--color--line, #e3e3df);
	--muted: var(--wp--preset--color--muted, #55575c);
	--green: var(--wp--preset--color--success, #1d7a3a);
	--head: var(--wp--preset--font-family--heading, "Barlow Condensed", sans-serif);
	--radius: 14px;
	--gutter: 16px;
}
@media (min-width: 782px) { :root { --gutter: 24px; } }

body { margin: 0; overflow-x: hidden; }
.t4s-main { margin-top: 0 !important; }
.t4s-main > *, .t4s-header > * { margin-block-start: 0; }
.t4s-wrap { max-width: 1280px; margin-left: auto !important; margin-right: auto !important; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; width: 100%; }
.t4s-main h2 { margin: 0 0 1.25rem; }

/* Buttons used in HTML blocks */
.t4s-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 10px; background: var(--red); color: #fff !important; font-weight: 700; text-decoration: none; border: 1.5px solid var(--red); }
.t4s-button:hover { background: #b5172a; border-color: #b5172a; }
.t4s-button--outline { background: transparent; border-color: #fff; }
.t4s-button--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.t4s-button--outline-dark { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.t4s-button--outline-dark:hover { background: var(--soft); border-color: var(--ink); }
.t4s-btn-dark .wp-block-button__link { background: var(--ink); }
.t4s-btn-dark .wp-block-button__link:hover { background: #2a2b2f; }

/* ---------- Header ---------- */
.t4s-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.t4s-topbar { background: var(--ink); color: #e9e9e6; font-size: 0.85rem; }
.t4s-topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; padding-top: 7px; padding-bottom: 7px; }
.t4s-topbar a { color: #e9e9e6; }
.t4s-topbar a:hover { color: #fff; text-decoration: underline; }
.t4s-topbar__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.t4s-topbar__phone { color: var(--yellow) !important; font-weight: 700; }
@media (max-width: 599px) { .t4s-topbar__msg { display: none; } .t4s-topbar__in { justify-content: center; } }

.t4s-mainbar { max-width: 1280px; margin: 0 auto; padding: 12px var(--gutter); gap: 12px 24px; box-sizing: border-box; }
.t4s-logo { display: inline-flex; align-items: center; flex: none; }
.t4s-logo img { display: block; width: 150px; height: auto; }
@media (min-width: 782px) { .t4s-logo img { width: 190px; } .t4s-mainbar { padding-top: 16px; padding-bottom: 16px; } }
.t4s-wordmark { font-family: var(--head); font-weight: 800; font-size: 28px; }
.t4s-wordmark span { color: var(--logo-red); }
.t4s-nav { flex: 1 1 auto; }
.t4s-nav .wp-block-navigation__container { gap: 6px 22px; }
.t4s-nav .wp-block-navigation-item__content:hover { color: var(--red); }
.t4s-nav .wp-block-navigation__responsive-container-open { padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.t4s-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.t4s-nav .is-menu-open .wp-block-navigation__container { gap: 18px; font-size: 1.15rem; }
.t4s-actions { gap: 6px; flex: none; }
.t4s-actions .wp-block-search__button, .t4s-actions .wc-block-customer-account a, .t4s-actions .wc-block-mini-cart__button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 0 8px; }
.t4s-actions .wp-block-search__button { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.t4s-actions .wc-block-mini-cart__button { background: var(--ink); color: #fff; }
.t4s-actions .wc-block-mini-cart__badge { background: var(--red); color: #fff; }
@media (max-width: 599px) {
	.t4s-mainbar { gap: 8px; padding-left: 14px; padding-right: 14px; }
	.t4s-logo img { width: 124px; }
	.t4s-actions { gap: 4px; margin-left: auto; }
	.t4s-nav { order: 3; flex: none; }
	.t4s-nav .wp-block-navigation__responsive-container-open { padding: 9px; }
}
@media (min-width: 600px) and (max-width: 1239px) {
	.t4s-mainbar { flex-wrap: wrap !important; }
	.t4s-nav { order: 3; flex-basis: 100%; }
	.t4s-nav .wp-block-navigation__container { justify-content: flex-start; }
}

/* ---------- Hero ---------- */
.t4s-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.t4s-hero::after { content: ""; position: absolute; top: 0; bottom: 0; right: -60px; width: 46%; background: repeating-linear-gradient(115deg, #1b1c1f 0 22px, transparent 22px 44px); pointer-events: none; }
.t4s-hero__in { position: relative; z-index: 1; display: grid; gap: 28px; padding-top: 36px; padding-bottom: 40px; }
@media (min-width: 1000px) { .t4s-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 72px; } }
.t4s-hero h1 { color: #fff; margin: 14px 0 12px; }
.t4s-pill { display: inline-block; margin: 0; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 0.8rem; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.t4s-hero__lead { color: #d4d5d8; font-size: 1.15rem; max-width: 540px; margin: 0 0 20px; }
.t4s-hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #d4d5d8; font-size: 0.95rem; }
.t4s-hero__points li { display: flex; align-items: center; gap: 8px; }
.t4s-hero__points svg { color: var(--yellow); }
.t4s-hero__finder { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
@media (min-width: 600px) { .t4s-hero__finder { padding: 28px; } }
.t4s-finder-title { font-size: 1.6rem !important; margin: 0 0 12px !important; }

/* ---------- Trust strip ---------- */
.t4s-trust { border-bottom: 1px solid var(--line); }
.t4s-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 24px; padding-top: 24px; padding-bottom: 24px; }
.t4s-trust__item { display: flex; gap: 14px; align-items: flex-start; }
.t4s-trust__item strong { display: block; }
.t4s-trust__item span:not(.t4s-icon) { display: block; font-size: 0.9rem; color: var(--muted); }
.t4s-icon { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fdecee; color: var(--red); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Sections ---------- */
.t4s-section { padding-top: 48px; padding-bottom: 8px; }
@media (min-width: 782px) { .t4s-section { padding-top: 72px; } }
.t4s-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin-bottom: 20px; }
.t4s-section__head h2 { margin: 0 !important; }
.t4s-section__head a { font-weight: 700; color: var(--red); }
.t4s-sub { margin: -8px 0 24px; color: #3d3f44; font-size: 1.1rem; }
.t4s-eyebrow { margin: 0; font-weight: 700; font-size: 0.85rem; letter-spacing: .1em; }

.t4s-types, .t4s-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.t4s-type { display: flex; flex-direction: column; gap: 6px; min-height: 200px; padding: 26px; border-radius: var(--radius); text-decoration: none; }
.t4s-type svg { margin-bottom: auto; }
.t4s-type__name { font-family: var(--head); font-weight: 800; font-size: 2rem; line-height: 1; margin-top: 18px; }
.t4s-type__go { margin-top: 10px; font-weight: 700; }
.t4s-type--dark { background: var(--ink); color: #fff !important; }
.t4s-type--dark svg, .t4s-type--dark .t4s-type__go { color: var(--yellow); }
.t4s-type--red { background: var(--red); color: #fff !important; }
.t4s-type--yellow { background: var(--yellow); color: var(--ink) !important; }
.t4s-type:hover { filter: brightness(1.06); }

.t4s-way { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-top-width: 6px; border-radius: var(--radius); color: var(--ink) !important; text-decoration: none; }
.t4s-way--red { border-top-color: var(--red); }
.t4s-way--dark { border-top-color: var(--ink); }
.t4s-way--yellow { border-top-color: var(--yellow); }
.t4s-way__name { font-family: var(--head); font-weight: 800; font-size: 1.85rem; line-height: 1; }
.t4s-way__go { margin-top: auto; font-weight: 700; }
.t4s-way--red .t4s-way__go { color: var(--red); }
.t4s-way:hover { box-shadow: 0 10px 30px rgba(17,18,20,.08); }

.t4s-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.t4s-steps li { background: var(--soft); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.t4s-steps__n { font-family: var(--head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--red); }
.t4s-steps strong { font-size: 1.2rem; }
.t4s-steps span:last-child { color: #3d3f44; }

.t4s-promo { background: var(--yellow); margin-top: 56px; }
.t4s-promo__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.t4s-promo h2 { margin: 6px 0 8px !important; }
.t4s-promo p { margin: 0; color: #2a2b2f; }
.t4s-promo__copy { flex: 1 1 420px; }

.t4s-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.t4s-review { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.t4s-review blockquote { margin: 0; font-size: 1.05rem; }
.t4s-review figcaption { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.t4s-stars { color: #c98a00; letter-spacing: 2px; }

.t4s-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.t4s-brands a { display: flex; align-items: center; justify-content: center; height: 76px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--head); font-weight: 800; font-size: 1.6rem; letter-spacing: .08em; color: #3d3f44; }
.t4s-brands a:hover { border-color: var(--ink); color: var(--ink); }

.t4s-dealer-cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
@media (min-width: 782px) { .t4s-dealer-cta { padding: 40px; } }
.t4s-dealer-cta h2 { color: #fff; margin: 6px 0 8px !important; }
.t4s-dealer-cta p { margin: 0; color: #d4d5d8; max-width: 560px; }
.t4s-dealer-cta .t4s-eyebrow { color: var(--yellow); }
.t4s-dealer-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.t4s-seo { display: grid; gap: 32px; padding-bottom: 64px; }
@media (min-width: 900px) { .t4s-seo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.t4s-seo__text p { color: #3d3f44; }
.t4s-seo__faq .wp-block-details { margin-top: 10px; }
.t4s-seo__faq summary { font-weight: 700; cursor: pointer; }

/* ---------- Products (cards) ---------- */
.t4s-products .wc-block-product-template { gap: 16px !important; }
.t4s-products .wc-block-product, .t4s-products .wp-block-post { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; background: #fff; text-align: left; }
.t4s-products .wc-block-components-product-image { background: var(--soft); border-radius: 10px; margin-bottom: 6px !important; }
.t4s-products .wc-block-components-product-image img { aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.t4s-card-title { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.02rem !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 !important; text-align: left !important; }
.t4s-products .wc-block-components-product-price { font-family: var(--head); font-weight: 800; font-size: 1.6rem; text-align: left !important; }
.t4s-products .wc-block-components-product-price del { font-size: 1rem; color: var(--muted); font-weight: 600; }
.t4s-products .wc-block-components-product-stock-indicator { font-size: 0.85rem; font-weight: 600; margin: 0; }
.t4s-products .wc-block-components-product-stock-indicator--in-stock { color: var(--green); }
.t4s-products .wp-block-button, .t4s-products .wc-block-components-product-button { margin-top: auto !important; width: 100%; }
.t4s-products .wp-block-button__link, .t4s-products .wc-block-components-product-button__button { width: 100%; min-height: 46px; }
@media (max-width: 599px) {
	.t4s-products .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
	.t4s-products .wc-block-product { padding: 10px; }
	.t4s-products .wc-block-components-product-price { font-size: 1.3rem; }
	.t4s-card-title { font-size: 0.92rem !important; }
}

/* ---------- Shop / category ---------- */
.t4s-pagehead { background: var(--soft); border-bottom: 1px solid var(--line); padding: 20px 0 24px; }
.t4s-pagehead .wp-block-query-title { margin: 6px 0 0; }
.t4s-pagehead .wp-block-term-description { color: #3d3f44; max-width: 760px; }
.t4s-pagehead .woocommerce-breadcrumb, .t4s-product .woocommerce-breadcrumb { font-size: 0.85rem; color: var(--muted); }
.t4s-shop__body { display: grid; gap: 20px; padding-top: 20px; padding-bottom: 64px; }
@media (min-width: 901px) { .t4s-shop__body { grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; } }
.t4s-shop__bar { margin-bottom: 16px; align-items: center; }
.t4s-shop__bar p, .t4s-shop__bar form { margin: 0; }
.t4s-filter-toggle > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--ink); border-radius: 10px; font-weight: 700; }
.t4s-filter-toggle > summary::-webkit-details-marker { display: none; }
.t4s-filter-toggle[open] > summary { margin-bottom: 12px; }
@media (min-width: 901px) { .t4s-filter-toggle > summary { display: none; } .t4s-shop__filter { position: sticky; top: 16px; } }
.t4s-shop .t4s-filter { background: #fff; }
.t4s-shop .t4s-filter__title { font-family: var(--head); font-weight: 800; }

/* ---------- Single product ---------- */
.t4s-product { padding-top: 16px; padding-bottom: 64px; }
.t4s-product__top { gap: 32px !important; margin-top: 12px; }
.t4s-product .woocommerce-product-gallery { background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.t4s-product__summary h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 8px; }
.t4s-product__price { font-size: 2.5rem; }
.t4s-product__summary .stock.in-stock, .t4s-product__summary .wc-block-components-product-stock-indicator--in-stock { color: var(--green); font-weight: 600; }
.t4s-product__summary form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); margin: 16px 0; }
.t4s-product__summary form.cart .quantity input { min-height: 50px; width: 80px; border: 1px solid #cfd0cc; border-radius: 10px; text-align: center; font-size: 1.1rem; }
.t4s-product__summary form.cart button { flex: 1 1 200px; min-height: 52px; }
.t4s-product__perks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; color: #3d3f44; font-size: 0.95rem; }
.t4s-product__perks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.t4s-fit { display: block; padding: 14px 16px; background: #fff7dc; border-radius: 12px; color: var(--ink) !important; }
.t4s-product__details { margin-top: 48px; }
.t4s-product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; list-style: none; border-bottom: 1px solid var(--line); }
.t4s-product .woocommerce-tabs ul.tabs li { margin: 0; }
.t4s-product .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 16px; font-weight: 700; }
.t4s-product .woocommerce-tabs ul.tabs li.active a { border-bottom: 3px solid var(--red); }
.t4s-product table.shop_attributes { width: 100%; border-collapse: collapse; max-width: 760px; }
.t4s-product table.shop_attributes th, .t4s-product table.shop_attributes td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.t4s-product table.shop_attributes th { color: var(--muted); font-weight: 600; width: 45%; }
.t4s-product .related { margin-top: 48px; }
.t4s-product .related ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; list-style: none; padding: 0; }
.t4s-product .related ul.products li { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.t4s-product .related ul.products img { background: var(--soft); border-radius: 10px; }

/* ---------- Pages ---------- */
.t4s-page { padding-top: 32px; padding-bottom: 64px; }
.t4s-store { display: grid; gap: 24px; }
@media (min-width: 900px) { .t4s-store { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; } }
.t4s-store__card { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.t4s-store__addr { font-size: 1.2rem; font-weight: 600; }
.t4s-store__card p { display: flex; flex-wrap: wrap; gap: 10px; }
.t4s-hours { width: 100%; border-collapse: collapse; }
.t4s-hours th, .t4s-hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.t4s-hours th { font-weight: 600; }

/* ---------- Footer ---------- */
.t4s-footer { background: var(--ink); color: #c7c8cb; margin-top: 0; }
.t4s-footer a { color: #c7c8cb; }
.t4s-footer a:hover { color: #fff; }
.t4s-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.t4s-footer h2 { color: #fff; font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 700; margin: 0 0 12px; }
.t4s-footer nav { display: flex; flex-direction: column; gap: 8px; }
.t4s-footer p { margin: 0 0 8px; }
.t4s-footer .t4s-logo img { width: 170px; margin-bottom: 12px; }
.t4s-footer__phone { color: var(--yellow) !important; font-weight: 700; }
.t4s-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid #2a2b2f; font-size: 0.85rem; }

/* WooCommerce notices & misc */
.wc-block-components-notice-banner { border-radius: 10px; }
:where(.wp-site-blocks) > footer { margin-block-start: 0; }

/* ---------- Fixes after staging review ---------- */
body { overflow-x: clip; }
strong, b { font-weight: 700; }
@media (max-width: 599px) {
	.t4s-type { min-height: 0; padding: 20px; }
	.t4s-type svg { margin-bottom: 0; }
	.t4s-type__name { font-size: 1.7rem; margin-top: 10px; }
	.t4s-steps li { padding: 20px; }
	.t4s-steps__n { font-size: 2.2rem; }
}
/* One stock line on the product page (the form repeats it). */
.t4s-product__summary form.cart .stock, .t4s-product__summary .wc-block-add-to-cart-form > .stock { display: none; }
.t4s-product__summary .tfs, .t4s-product__summary .tfs-fit { box-sizing: border-box; max-width: 100%; }
/* Classic product loops (related products, shortcodes, fitment pages): same cards as the blocks. */
ul.products::before, ul.products::after { display: none !important; }
.t4s-product .related > h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px !important; padding: 0 !important; list-style: none; }
@media (min-width: 782px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { ul.products.columns-4, ul.products.columns-5, ul.products.columns-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px !important; text-align: left; position: relative; }
ul.products li.product > a:first-child { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
ul.products li.product img { width: 100% !important; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin: 0 0 6px !important; background: var(--soft); border-radius: 10px; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--wp--preset--font-family--body) !important; font-size: 0.95rem !important; font-weight: 700; line-height: 1.3; margin: 0; padding: 0 !important; color: var(--ink); }
ul.products li.product .price, ul.products li.product .price * { font-family: var(--head); font-weight: 800; font-size: 1.3rem !important; color: var(--ink); }
ul.products li.product .price { display: block; margin: 0 !important; }
ul.products li.product .price del, ul.products li.product .price del * { font-size: 0.95rem !important; color: var(--muted); }
ul.products li.product .button { margin-top: auto !important; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 8px 10px; background: var(--red); color: #fff; border-radius: 10px; font-weight: 700; text-decoration: none; text-align: center; box-sizing: border-box; line-height: 1.2; }
ul.products li.product .button:hover { background: #b8162a; color: #fff; }
ul.products li.product .added_to_cart { font-size: 0.85rem; text-align: center; }
ul.products li.product .onsale { position: absolute; top: 18px; left: 18px; margin: 0; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 0.8rem; min-height: 0; line-height: 1.6; }
@media (min-width: 782px) { ul.products li.product .price, ul.products li.product .price * { font-size: 1.5rem !important; } }
.t4s-product .woocommerce-tabs ul.tabs::before, .t4s-product .woocommerce-tabs ul.tabs li::before, .t4s-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.t4s-product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; }
.t4s-product .woocommerce-tabs .panel > h2:first-child { display: none; }

/* ---------- Pages, account, checkout header ---------- */
.t4s-page > .wp-block-post-title { margin: 0 0 24px; }
.t4s-page > .wp-block-post-content > :first-child { margin-top: 0; }
.t4s-shop__results { margin-top: 0 !important; }
.t4s-shop__bar { margin-top: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: 100% !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.woocommerce-MyAccount-navigation li a:hover { border-color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); border-color: var(--ink); color: #fff; }
.t4s-checkout-head { border-bottom: 1px solid var(--line); background: #fff; }
.t4s-checkout-head__in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.t4s-checkout-head .t4s-logo img { width: 150px; }
.t4s-checkout-head__secure { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; font-size: 0.9rem; }
.t4s-checkout-head__phone { font-weight: 700; color: var(--ink); text-decoration: none; }
@media (max-width: 599px) { .t4s-checkout-head__phone { display: none; } .t4s-checkout-head .t4s-logo img { width: 124px; } }
.t4s-checkout { padding-top: 24px; padding-bottom: 64px; }
/* Vehicle / size finder inside the hero card: two columns, button full width. */
@media (min-width: 480px) {
	.t4s-hero__finder .tfs-fields { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.t4s-hero__finder .tfs-fields > .tfs-btn, .t4s-hero__finder .tfs-fields > button { grid-column: 1 / -1; }
}
.t4s-shop__bar select, .woocommerce-ordering select { min-height: 40px; padding: 0 32px 0 12px; border: 1px solid #cfd0cc; border-radius: 8px; background-color: #fff; font: inherit; font-size: 0.95rem; color: var(--ink); }

/* ======================================================================
   v1.1 — custom menu + mobile drawer, mobile action bar, larger mobile type,
   shop / product layout for the plugin's tire cards (matches the approved mockup)
   ====================================================================== */

/* Desktop menu */
.t4s-nav { flex: 1 1 auto; }
.t4s-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; }
.t4s-nav a { display: block; padding: 8px 0; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink); text-decoration: none; }
.t4s-nav a:hover, .t4s-nav a[aria-current="page"] { color: var(--red); }
.t4s-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
@media (min-width: 1000px) and (max-width: 1239px) {
	.t4s-mainbar { flex-wrap: wrap !important; }
	.t4s-nav { order: 3; flex-basis: 100%; }
	.t4s-nav ul { justify-content: flex-start; }
}
@media (max-width: 999px) {
	.t4s-nav { display: none; }
	.t4s-burger { display: inline-flex; }
	.t4s-mainbar { flex-wrap: nowrap !important; }
	.t4s-actions { margin-left: auto; }
}

/* Mobile drawer (dark, large condensed links — same feel as Advanced Auto) */
.t4s-drawer { position: fixed; inset: 0; z-index: 100000; background: #0e0f11; color: #fff; overflow-y: auto; display: flex; flex-direction: column; padding: 0 0 32px; }
.t4s-drawer[hidden] { display: none; }
.t4s-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #26282c; }
.t4s-drawer__head .t4s-logo img { width: 150px; }
.t4s-drawer__close { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid #3a3c41; color: #fff; cursor: pointer; padding: 0; }
.t4s-drawer__links { list-style: none; margin: 0; padding: 4px 20px 0; }
.t4s-drawer__links li { border-bottom: 1px solid #26282c; }
.t4s-drawer__links a { display: block; padding: 18px 0; font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.1; text-transform: uppercase; letter-spacing: .3px; color: #fff; text-decoration: none; }
.t4s-drawer__links a[aria-current="page"], .t4s-drawer__links a:hover { color: var(--logo-red, #ef233c); }
.t4s-drawer__extra { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 22px 20px 6px; }
.t4s-drawer__extra a { color: #c7c8cb; font-weight: 600; font-size: 17px; text-decoration: none; }
.t4s-drawer__cta { display: grid; gap: 10px; padding: 18px 20px 0; }
.t4s-drawer__btn { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 10px; border: 1.5px solid #3a3c41; color: #fff !important; font-weight: 700; font-size: 17px; text-decoration: none; }
.t4s-drawer__btn--red { background: var(--red); border-color: var(--red); }
html.t4s-lock, html.t4s-lock body { overflow: hidden; }

/* Mobile action bar: Call · Directions · Shop */
.t4s-mbar { display: none; }
@media (max-width: 781px) {
	.t4s-mbar { display: grid; grid-template-columns: 1fr 1fr 1.15fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding-bottom: env(safe-area-inset-bottom); }
	.t4s-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 62px; color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; border-right: 1px solid var(--line); }
	.t4s-mbar a svg { color: var(--red); }
	.t4s-mbar a.t4s-mbar__shop { background: var(--red); color: #fff; border-right: 0; }
	.t4s-mbar a.t4s-mbar__shop svg { color: #fff; }
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	body.woocommerce-cart .t4s-mbar, body.woocommerce-checkout .t4s-mbar { display: none; }
	body.woocommerce-cart, body.woocommerce-checkout { padding-bottom: 0; }
}

/* Larger type on phones */
@media (max-width: 781px) {
	body { font-size: 18px; line-height: 1.55; }
	.t4s-topbar { font-size: 0.9rem; }
	h1, .wp-block-post-title, .wp-block-query-title { font-size: clamp(2.4rem, 10vw, 3rem) !important; line-height: 1.02 !important; }
	h2 { font-size: clamp(1.9rem, 8vw, 2.3rem); line-height: 1.05; }
	.t4s-hero h1 { font-size: clamp(2.6rem, 11.5vw, 3.4rem) !important; }
	.t4s-hero__lead { font-size: 1.15rem; }
	.t4s-hero__points { font-size: 1rem; }
	.t4s-trust__item strong { font-size: 1.05rem; }
	.t4s-trust__item span:not(.t4s-icon) { font-size: 0.95rem; }
	.t4s-footer { font-size: 1rem; }
	.t4s-footer a { display: inline-block; padding: 4px 0; }
	.t4s-filter-toggle > summary { min-height: 54px; font-size: 1.05rem; }
}

/* Shop */
.t4s-pagehead { padding: 26px 0 30px; }
.t4s-pagehead .wp-block-query-title { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin: 8px 0 0; }
.t4s-pagehead__sub { margin: 10px 0 0; color: #3d3f44; font-size: 1.05rem; }
.t4s-shop__body { padding-top: 28px; }
@media (min-width: 901px) { .t4s-shop__body { grid-template-columns: 300px minmax(0, 1fr); } }
.t4s-shop__seo { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); color: #3d3f44; max-width: 820px; }
.t4s-shop__seo:empty, .t4s-shop__seo:not(:has(*)) { display: none; }
.t4s-shop__seo h2 { color: var(--ink); }
.t4s-shop .t4s-filter { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.t4s-filter-toggle > summary { gap: 8px; }
.t4s-filter-toggle > summary::before { content: ""; width: 18px; height: 12px; background: linear-gradient(currentColor 0 0) top/100% 2px no-repeat, linear-gradient(currentColor 0 0) center/70% 2px no-repeat, linear-gradient(currentColor 0 0) bottom/40% 2px no-repeat; }

/* Product page */
.t4s-product { padding-bottom: 0; }
.t4s-product__top { gap: 48px !important; margin-top: 16px; padding-bottom: 48px; }
.t4s-product__media .woocommerce-product-gallery { background: var(--soft); border-radius: 16px; overflow: hidden; }
.t4s-product__media .woocommerce-product-gallery img { mix-blend-mode: multiply; }
.t4s-product__media .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px !important; margin: 0 !important; background: #fff; }
.t4s-product__media .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.t4s-product__media .flex-control-thumbs img { border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.t4s-product__specs { background: var(--soft); padding: 56px 0; }
.t4s-product__related { padding-top: 56px; padding-bottom: 72px; }
@media (max-width: 781px) {
	.t4s-product__top { gap: 24px !important; padding-bottom: 32px; }
	.t4s-product__specs { padding: 40px 0; }
	.t4s-product__related { padding-top: 40px; padding-bottom: 48px; }
}
/* Drawer above everything (gallery zoom icon, action bar, admin bar) */
html.t4s-lock .t4s-header { z-index: 100001; }
html.t4s-lock .t4s-mbar { display: none; }
.admin-bar .t4s-drawer { top: var(--wp-admin--admin-bar--height, 32px); }
/* Product buy box sits inside the summary column: undo the older form.cart rules */
.t4s-product__summary form.t4s-buy__box { flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 18px; margin: 0; }
.t4s-product__summary form.t4s-buy__box button.t4s-buy__add { flex: none; }
.t4s-buy__help svg { flex: none; }
/* My account: content lines up with the page title; pills on one baseline */
.woocommerce-account .t4s-page .woocommerce { max-width: none !important; }
.woocommerce-MyAccount-navigation ul { align-items: center; }
.woocommerce-MyAccount-navigation li { padding: 0 !important; border: 0 !important; margin: 0 !important; }
/* Order pages: totals line up on the right, room above the footer */
.woocommerce-table--order-details tfoot td, .woocommerce-table--order-details tbody td.product-total, .woocommerce-table--order-details thead th.product-total { text-align: right; }
.woocommerce-table--order-details td, .woocommerce-table--order-details th { padding: 14px 18px !important; vertical-align: middle; }
.woocommerce-table--order-details tfoot td .button, .woocommerce-table--order-details tfoot td a.button { margin: 0; }
body.woocommerce-order-received main, body.woocommerce-view-order main, body.woocommerce-account main { padding-bottom: 72px !important; }
.wc-block-order-confirmation-additional-fields-wrapper, .wp-block-woocommerce-order-confirmation-additional-fields-wrapper { margin-bottom: 64px; }

/* ===== Info pages (legal, FAQ, tracking, contact, brands, about) ===== */
.t4s-page > .wp-block-post-title { font-size: clamp(2.4rem, 5.5vw, 3.4rem); line-height: 1; }
.t4s-page:has(.t4s-hide-title) { padding-top: 0; }
.t4s-doc__meta { color: var(--muted); font-size: .9rem; margin: -12px 0 24px !important; }
.t4s-doc__lead { font-size: 1.15rem; color: #3d3f44; margin: 0 0 8px; }
/* Legal: table of contents + body */
.t4s-doc { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .t4s-doc { grid-template-columns: 260px minmax(0, 760px); gap: 56px; } }
.t4s-doc > * { margin: 0 !important; }
.t4s-doc__toc { background: var(--soft); border-radius: var(--radius); padding: 18px 20px; font-size: .95rem; }
@media (min-width: 1000px) { .t4s-doc__toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; } }
.t4s-doc__toc-h { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); margin: 0 0 8px; }
.t4s-doc__toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.t4s-doc__toc li { margin: 0; }
.t4s-doc__toc a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.t4s-doc__toc a:hover { color: var(--red); }
@media (max-width: 999px) { .t4s-doc__toc ul { flex-direction: row; flex-wrap: wrap; gap: 6px; } .t4s-doc__toc a { padding: 4px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; } }
.t4s-doc__body > * { margin-top: 0; margin-bottom: 0; }
.t4s-doc__body > * + * { margin-top: 14px; }
.t4s-doc__body h2 { font-size: 1.75rem; margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.t4s-doc__body h2:first-of-type { margin-top: 28px !important; }
.t4s-doc__body h3 { font-size: 1.2rem; margin-top: 22px !important; font-family: var(--wp--preset--font-family--body); font-weight: 700; }
.t4s-doc__body p, .t4s-doc__body li { line-height: 1.65; }
.t4s-doc__body ul { padding-left: 1.2em; }
.t4s-doc__body li + li { margin-top: 6px; }
.t4s-doc__body a, .t4s-page .wp-block-post-content p a, .t4s-faq a { color: var(--red); font-weight: 600; }
.t4s-doc__note { margin-top: 32px !important; padding: 16px 20px; background: var(--soft); border-radius: 10px; }
/* FAQ */
.t4s-page .wp-block-post-content > h2 { font-size: clamp(1.7rem, 4vw, 2.1rem); margin-top: 40px; margin-bottom: 12px; }
.t4s-faq { border-top: 1px solid var(--line); }
.t4s-faq > * { margin: 0 !important; }
.t4s-faq details { border-bottom: 1px solid var(--line); }
.t4s-faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.t4s-faq summary::-webkit-details-marker { display: none; }
.t4s-faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 400; color: var(--red); line-height: 1; }
.t4s-faq details[open] summary::after { content: "–"; }
.t4s-faq summary:hover { color: var(--red); }
.t4s-faq details > p { margin: 0 0 18px; color: #3d3f44; line-height: 1.65; }
/* CTA box */
.t4s-cta-box { margin-top: 56px !important; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px 28px; }
@media (min-width: 782px) { .t4s-cta-box { padding: 40px 48px; } }
.t4s-cta-box > * { margin: 0 !important; }
.t4s-cta-box h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.t4s-cta-box p { color: #d4d5d8; margin-top: 8px !important; }
.t4s-cta-box .wp-block-buttons { margin-top: 20px !important; }
.t4s-cta-box .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.t4s-page .wp-block-buttons { gap: 12px; }
.t4s-page .wp-block-button__link { min-height: 50px; display: inline-flex; align-items: center; }
.t4s-page .is-style-outline .wp-block-button__link { background: transparent; border: 1.5px solid currentColor; color: var(--ink); }
.t4s-page .is-style-outline .wp-block-button__link:hover { background: var(--soft); }
.t4s-cta-box .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.1); }
/* Order tracking steps */
.t4s-steps { display: grid; gap: 14px; margin: 24px 0 !important; }
@media (min-width: 700px) { .t4s-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.t4s-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.t4s-step > * { margin: 0 !important; }
.t4s-step__n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px !important; }
.t4s-step h3 { font-size: 1.15rem; font-family: var(--wp--preset--font-family--body); font-weight: 700; margin-bottom: 6px !important; }
.t4s-step p:last-child { color: var(--muted); }
/* Contact */
.t4s-contact { display: grid; gap: 24px; align-items: start; margin-top: 24px !important; }
@media (min-width: 900px) { .t4s-contact { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); } }
.t4s-contact > * { margin: 0 !important; }
.t4s-contact__card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; }
.t4s-contact__card h2 { color: #fff; font-size: 1.9rem; margin: 0 0 18px; }
.t4s-contact__card a { color: #fff; }
.t4s-contact__row { display: grid; grid-template-columns: 80px 1fr; gap: 12px; margin: 0 0 14px; }
.t4s-contact__row strong { color: var(--yellow); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.t4s-contact__card .t4s-hours { width: 100%; border-collapse: collapse; margin: 18px 0 22px; }
.t4s-contact__card .t4s-hours caption { text-align: left; color: var(--yellow); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 6px; }
.t4s-contact__card .t4s-hours th, .t4s-contact__card .t4s-hours td { border-top: 1px solid #2f3035; padding: 9px 0; text-align: left; font-weight: 500; }
.t4s-contact__card .t4s-hours td { text-align: right; color: #d4d5d8; }
.t4s-contact__card .t4s-button { width: 100%; }
.t4s-contact__form { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.t4s-contact__form > * { margin: 0 !important; }
.t4s-contact__form h2 { font-size: 1.9rem; }
.t4s-contact__form > p { color: var(--muted); margin: 6px 0 18px !important; }
.t4s-cf7 { display: grid; gap: 14px; }
@media (min-width: 600px) { .t4s-cf7 { grid-template-columns: 1fr 1fr; } .t4s-cf7__full { grid-column: 1 / -1; } }
.t4s-cf7 label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .9rem; }
.t4s-cf7 .wpcf7-form-control-wrap { display: block; }
.t4s-cf7 input[type=text], .t4s-cf7 input[type=email], .t4s-cf7 input[type=tel], .t4s-cf7 textarea { width: 100%; box-sizing: border-box; min-height: 50px; border: 1.5px solid #cfd0cc; border-radius: 8px; padding: 0 14px; font: inherit; font-size: 1rem; font-weight: 400; background: #fff; }
.t4s-cf7 textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.t4s-cf7 input:focus, .t4s-cf7 textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.t4s-cf7 .wpcf7-submit { min-height: 52px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
.t4s-cf7 .wpcf7-submit:hover { background: #b5172a; }
.t4s-contact__form .wpcf7-spinner { vertical-align: middle; }
.t4s-contact__form .wpcf7-response-output { margin: 16px 0 0 !important; border-radius: 8px; padding: 12px 14px !important; }
.t4s-contact__more { margin-top: 56px !important; }
.t4s-contact__more > h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); margin-bottom: 16px !important; }
.t4s-helps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.t4s-help { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.t4s-help > * { margin: 0 !important; }
.t4s-help h3 { font-size: 1.15rem; font-family: var(--wp--preset--font-family--body); font-weight: 700; }
.t4s-help p { color: var(--muted); margin-top: 6px !important; }
.t4s-help p:last-child a { color: var(--red); font-weight: 700; text-decoration: none; }
.t4s-contact__map { margin-top: 32px !important; }
.t4s-map { border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 7; min-height: 280px; }
.t4s-map iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Brands page [t4s_brands] */
.t4s-bgrid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.t4s-bcard { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: border-color .15s, box-shadow .15s; }
.t4s-bcard:hover { border-color: #c9cac6; box-shadow: 0 8px 24px rgba(17,18,20,.08); }
.t4s-bcard__logo { display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 2 / 1; padding: 16px 24px; box-sizing: border-box; }
.t4s-bcard__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.t4s-bcard__logo span { font-family: var(--head); font-weight: 800; font-size: 2rem; color: var(--ink); }
.t4s-bcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.t4s-bcard__name { margin: 0 !important; font-size: 1.6rem; }
.t4s-bcard__name a { color: var(--ink) !important; text-decoration: none; }
.t4s-bcard__count { margin: 0 !important; font-weight: 700; color: var(--green); font-size: .9rem; }
.t4s-bcard__desc { margin: 0 !important; color: var(--muted); }
.t4s-bcard__go { margin-top: auto; padding-top: 10px; color: var(--red); font-weight: 700; text-decoration: none; }
.t4s-page .wp-block-post-content > .t4s-bgrid { max-width: var(--wp--style--global--wide-size, 1280px); }
/* Photo placeholders (replace the cover image in the editor) */
.t4s-photo { border-radius: var(--radius); overflow: hidden; margin: 0 !important; }
.t4s-photo .t4s-photo__label { color: var(--muted); font-weight: 600; font-size: .95rem; }
.t4s-photo:not(:has(img)) { border: 2px dashed #cfd0cc; }
/* About */
.t4s-eyebrow-red { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin: 0 0 10px !important; }
.t4s-about__hero { display: grid; gap: 28px; align-items: center; padding: 40px 0 8px; }
@media (min-width: 900px) { .t4s-about__hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; padding-top: 56px; } }
.t4s-about__hero > *, .t4s-about__intro > * { margin: 0 !important; }
.t4s-about__title { font-size: clamp(2.6rem, 6vw, 4rem); line-height: .98; }
.t4s-about__lead { font-size: 1.2rem; color: #3d3f44; margin-top: 16px !important; }
.t4s-about__intro .wp-block-buttons { margin-top: 24px !important; }
.t4s-stats { list-style: none; margin: 48px auto 0 !important; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 1280px; }
@media (min-width: 782px) { .t4s-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.t4s-stats li { margin: 0; background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 2px; }
.t4s-stats b { font-family: var(--head); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.t4s-stats span { color: var(--muted); }
.t4s-about__split { display: grid; gap: 28px; align-items: center; margin-top: 72px !important; }
@media (min-width: 900px) { .t4s-about__split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.t4s-about__split > *, .t4s-about__text > * { margin: 0 !important; }
.t4s-about__text h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 14px !important; }
.t4s-about__text p + p { margin-top: 12px !important; }
.t4s-about__values { margin-top: 72px !important; }
.t4s-about__values > * { margin: 0 !important; }
.t4s-about__values > h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 20px !important; }
.t4s-values { display: grid; gap: 16px; }
@media (min-width: 782px) { .t4s-values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.t4s-value { border-top: 4px solid var(--red); background: var(--soft); border-radius: 0 0 var(--radius) var(--radius); padding: 22px; }
.t4s-value > * { margin: 0 !important; }
.t4s-value__n { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--red); }
.t4s-value h3 { font-size: 1.3rem; margin: 6px 0 8px !important; }
.t4s-value p:last-child { color: #3d3f44; }
.t4s-whos { display: grid; gap: 16px; margin-top: 56px !important; }
@media (min-width: 782px) { .t4s-whos { grid-template-columns: 1fr 1fr; } }
.t4s-who { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.t4s-who > * { margin: 0 !important; }
.t4s-who h3 { font-size: 1.7rem; }
.t4s-who p { margin-top: 8px !important; color: #3d3f44; }
.t4s-who p:last-child a { color: var(--red); font-weight: 700; text-decoration: none; }
.t4s-who--dark { background: var(--ink); border-color: var(--ink); }
.t4s-who--dark h3 { color: #fff; }
.t4s-who--dark p { color: #d4d5d8; }
.t4s-who--dark p:last-child a { color: var(--yellow); }
.t4s-gallery { display: grid; gap: 16px; margin-top: 56px !important; }
@media (min-width: 700px) { .t4s-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Grid children: no flow-layout top margins */
.t4s-whos > *, .t4s-values > *, .t4s-steps > *, .t4s-helps > *, .t4s-gallery > *, .t4s-about__hero > *, .t4s-about__split > *, .t4s-doc > * { margin-block: 0 !important; }
/* Info pages: keep reading-width content on the same left edge as the page title */
.t4s-page > .wp-block-post-content.is-layout-constrained > :where(:not(.alignwide):not(.alignfull)) { margin-left: 0 !important; }
.t4s-page .t4s-contact__card a { color: #fff !important; font-weight: 600; text-decoration: none; }
.t4s-page .t4s-contact__card a:hover { color: var(--yellow) !important; }
.t4s-page .t4s-contact__card a.t4s-button { color: #fff !important; }
.t4s-contact__card .t4s-button { box-sizing: border-box; }
.t4s-contact__card p:last-child { margin-bottom: 0; }
/* ===== Cart & checkout polish ===== */
.woocommerce-cart .t4s-page > .wp-block-post-title { font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: 6px; }
.t4s-cart-back { margin: 0 0 20px !important; }
.t4s-cart-back a { color: var(--muted); font-weight: 600; text-decoration: none; }
.t4s-cart-back a:hover { color: var(--red); }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-size: 16px; }
.wc-block-components-product-name { font-weight: 700 !important; font-size: 1.05rem !important; color: var(--ink) !important; text-decoration: none !important; line-height: 1.3; }
.wc-block-cart-item__prices, .wc-block-components-order-summary-item__individual-prices { font-weight: 600; color: #3d3f44; }
.wc-block-cart-item__total .wc-block-components-product-price { font-weight: 700; font-size: 1.1rem; }
.wc-block-components-product-metadata__description ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 !important; padding: 0 !important; }
.wc-block-components-product-metadata__description li { margin: 0 !important; background: var(--soft); border-radius: 999px; padding: 3px 10px; font-size: .8rem; color: #3d3f44; line-height: 1.4; }
.wc-block-components-product-metadata__description p { margin: 6px 0 0; }
.wc-block-cart-item__image img { width: 96px !important; max-width: 96px; }
.wc-block-cart-items__header, .wc-block-cart__totals-title { font-size: .8rem !important; letter-spacing: .08em; color: var(--muted) !important; font-weight: 700 !important; }
.wc-block-components-totals-item__label, .wc-block-components-totals-item__value { font-size: 1rem; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--head); font-weight: 800; font-size: 1.6rem !important; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { min-height: 56px !important; border-radius: 10px !important; font-weight: 700 !important; font-size: 1.05rem !important; }
.wc-block-components-checkout-order-summary__title-text, .wc-block-components-checkout-step__title, .wp-block-woocommerce-checkout .wc-block-components-title { font-family: var(--head) !important; font-weight: 800 !important; font-size: 1.5rem !important; }
.wc-block-components-radio-control__label, .wc-block-components-radio-control__option { font-size: 1rem; }
.wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__label { font-weight: 600; }
.t4s-cart-trust { list-style: none; margin: 40px 0 0 !important; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.t4s-cart-trust li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.t4s-cart-trust svg { color: var(--red); flex: none; margin-top: 2px; }
.t4s-cart-trust span { display: flex; flex-direction: column; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.t4s-cart-trust b { color: var(--ink); font-size: 1rem; }
.wc-block-checkout__terms a { color: var(--red); font-weight: 600; text-decoration: underline; }
/* About page without photos */
.t4s-about__glance { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; }
.t4s-about__glance > svg { position: absolute; right: -40px; top: -20px; opacity: .14; pointer-events: none; }
.t4s-about__glance-in { position: relative; display: flex; flex-direction: column; gap: 18px; }
.t4s-eyebrow-y { color: var(--yellow); font-weight: 700; letter-spacing: .1em; font-size: .8rem; text-transform: uppercase; margin: 0; }
.t4s-glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.t4s-glance > div { border-top: 1px solid #2f3035; padding-top: 14px; }
.t4s-glance b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.5rem); line-height: 1; color: #fff; }
.t4s-glance b.is-y { color: var(--yellow); }
.t4s-glance span { color: #d4d5d8; }
.t4s-sizeread { background: var(--soft); border-radius: var(--radius); padding: 40px 32px; display: flex; flex-direction: column; gap: 22px; }
.t4s-sizeread__h { margin: 0; color: var(--muted); font-weight: 700; letter-spacing: .1em; font-size: .8rem; text-transform: uppercase; }
.t4s-sizeread__big { font-family: var(--head); font-weight: 800; font-size: clamp(3.4rem, 8vw, 4.8rem); line-height: 1; letter-spacing: .02em; }
.t4s-sizeread__big .is-w { color: var(--red); } .t4s-sizeread__big .is-s { color: #b4b5b0; } .t4s-sizeread__big .is-r { color: #1d4f91; }
.t4s-sizeread__parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.t4s-sizeread__parts > div { background: #fff; border-radius: 10px; padding: 14px; border-top: 4px solid var(--ink); }
.t4s-sizeread__parts > div:first-child { border-top-color: var(--red); } .t4s-sizeread__parts > div:last-child { border-top-color: #1d4f91; }
.t4s-sizeread__parts b { display: block; font-size: 1.25rem; } .t4s-sizeread__parts span { color: var(--muted); font-size: .95rem; }
.t4s-sizeread__note { margin: 0; color: #3d3f44; font-size: 1rem; }
@media (max-width: 599px) { .t4s-sizeread__parts { grid-template-columns: 1fr; } }
.t4s-value__icon { color: var(--red); line-height: 0; }
.t4s-about__brands { margin-top: 72px !important; }
.t4s-about__brands > * { margin: 0 !important; }
.t4s-about__brands > h2 { font-size: 2rem; margin-bottom: 16px !important; }
.t4s-cta-box.t4s-cta-box--yellow { background: var(--yellow); color: var(--ink); }
.t4s-cta-box--yellow h2, .t4s-cta-box--yellow p { color: var(--ink) !important; }
.t4s-cta-box--yellow .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--ink); color: #fff; }
.t4s-cta-box--yellow .is-style-outline .wp-block-button__link { color: var(--ink) !important; border-color: var(--ink) !important; }
.t4s-cta-box--yellow .is-style-outline .wp-block-button__link:hover { background: rgba(0,0,0,.06) !important; }
/* Brand strip: fit all 7 brands on one row on laptops */
.t4s-brands { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.t4s-brands a { font-size: 1.3rem; padding: 0 8px; text-align: center; }

/* Header search: breathing room between the field and the magnifier button */
.t4s-actions .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { gap: 14px; }
.t4s-header .t4s-actions .wp-block-search .wp-block-search__input { -webkit-appearance: none; appearance: none; border-radius: 10px !important; box-shadow: none; }
.t4s-header .t4s-actions .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { min-height: 46px; padding: 0 22px !important; margin: 0 !important; border: 1px solid var(--line) !important; font-size: 1rem; }
.t4s-header .t4s-actions .wp-block-search__input::-webkit-search-cancel-button { margin-left: 10px; cursor: pointer; }
.t4s-actions .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input:focus { outline: 2px solid var(--red, #d81d33); outline-offset: 1px; }
.t4s-actions .wp-block-search__button { margin-left: 0 !important; }
.t4s-actions .wp-block-search__button svg { width: 22px; height: 22px; }

/* Search results: no filter sidebar, results use the full width */
@media (min-width: 901px) { .t4s-shop__body.t4s-shop__body--full { grid-template-columns: minmax(0, 1fr); } }

/* Home page content now comes from the editable Home page: keep the same section spacing as before */
.t4s-main > .wp-block-post-content, .t4s-main > .wp-block-post-content > * { margin-block-start: 0; }

/* Header dropdowns (sub-items from Appearance → Menus) */
.t4s-nav li.t4s-has-sub { position: relative; }
.t4s-nav .t4s-nav__label { display: flex; align-items: center; padding: 8px 0; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink); cursor: default; }
.t4s-nav li.t4s-has-sub > a, .t4s-nav li.t4s-has-sub > .t4s-nav__label { display: flex; align-items: center; gap: 6px; }
.t4s-nav .t4s-caret { transition: transform .15s ease; }
.t4s-nav ul.t4s-sub { display: none; position: absolute; top: 100%; left: -14px; z-index: 60; min-width: 230px; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(17, 18, 20, .14); }
.t4s-nav li.t4s-has-sub:hover > ul.t4s-sub, .t4s-nav li.t4s-has-sub:focus-within > ul.t4s-sub { display: flex; }
.t4s-nav li.t4s-has-sub:hover .t4s-caret, .t4s-nav li.t4s-has-sub:focus-within .t4s-caret { transform: rotate(180deg); }
.t4s-nav ul.t4s-sub a { padding: 11px 14px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.t4s-nav ul.t4s-sub a:hover, .t4s-nav ul.t4s-sub a:focus-visible { background: #f4f4f2; color: var(--red); }
.t4s-nav li.t4s-has-sub:hover > a, .t4s-nav li.t4s-has-sub:hover > .t4s-nav__label { color: var(--red); }
/* Mobile drawer: sub-items listed under their parent */
.t4s-drawer__links .t4s-caret { display: none; }
.t4s-drawer__links .t4s-nav__label { display: block; padding: 18px 0 6px; font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.1; text-transform: uppercase; letter-spacing: .3px; color: #fff; }
.t4s-drawer__links ul.t4s-sub { list-style: none; margin: 0; padding: 0 0 12px 14px; }
.t4s-drawer__links ul.t4s-sub li { border: 0; }
.t4s-drawer__links ul.t4s-sub a { padding: 9px 0; font-family: var(--body, inherit); font-weight: 600; font-size: 19px; text-transform: none; color: #cfd1d4; }

/* 404 page */
.t4s-404__in { padding-top: 72px; padding-bottom: 96px; max-width: 760px; }
.t4s-404__code { margin: 0; font-family: var(--head); font-weight: 800; font-size: 6rem; line-height: 1; color: var(--red); }
.t4s-404 h1 { margin: 8px 0 12px; font-family: var(--head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; }
.t4s-404__lead { margin: 0 0 26px; font-size: 1.1rem; color: #4a4c50; }
.t4s-404__search { display: flex; gap: 10px; margin: 0 0 22px; }
.t4s-404__search input[type="search"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; }
.t4s-404__search button { min-height: 52px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
.t4s-404__links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { .t4s-404__search { flex-direction: column; } .t4s-404__links .t4s-button { flex: 1 1 100%; } }
.t4s-404 .t4s-button--outline { color: var(--ink) !important; border-color: var(--ink); }
.t4s-404 .t4s-button--outline:hover { background: #f4f4f2; border-color: var(--ink); }

/* Contact map never wider than the screen */
.t4s-map { max-width: 100%; overflow: hidden; }
.t4s-map iframe { display: block; width: 100% !important; max-width: 100%; }

/* ==========================================================================
   My account (moved here from Styles → Additional CSS, then extended)
   Side menu + content card, dashboard cards, addresses, forms, orders, login
   ========================================================================== */
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: block !important; margin: 0 !important; padding: 0 !important; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; border: 0 !important; border-radius: 8px; padding: 11px 16px; color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--soft); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: #fff !important; }
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px !important; padding-top: 6px !important; border-top: 1px solid var(--line) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); font-weight: 500; }
.woocommerce-account .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 32px; box-sizing: border-box; min-width: 0; }
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
@media (max-width: 781px) {
	.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; gap: 16px; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex !important; flex-wrap: wrap; gap: 4px; }
	.woocommerce-account .woocommerce-MyAccount-navigation li a { padding: 9px 14px; font-size: .95rem; }
	.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
	.woocommerce-account .woocommerce-MyAccount-content { padding: 20px; }
}

/* Dashboard cards (functions.php → tire4sale_account_dashboard) */
.woocommerce-account .woocommerce-MyAccount-content > p:has(~ .t4s-acct) { display: none; }
.t4s-acct__hi { margin: 0 0 4px !important; font-family: var(--head); font-weight: 800; font-size: 2rem; line-height: 1.05; }
.t4s-acct__lead { margin: 0 0 20px; color: var(--muted); }
.t4s-acct__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
@media (min-width: 900px) { .t4s-acct__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.t4s-acct__card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.t4s-acct__card h3 { margin: 0 0 8px; font-family: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t4s-acct__card p { margin: 0 0 10px; line-height: 1.5; overflow-wrap: anywhere; }
.t4s-acct__card p:last-child { margin-bottom: 0; }
.t4s-acct__links a { color: var(--red); font-weight: 600; text-decoration: none; }
.t4s-acct__links a:hover { text-decoration: underline; }
.t4s-acct__card--dealer { background: #fff7dc; border-color: #f3dd8f; }

/* Addresses: each address in its own card, Edit link on the right */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 20px 0 0 !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after { display: none !important; content: none !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address { width: auto !important; float: none !important; margin: 0 !important; max-width: 520px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); box-sizing: border-box; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address { max-width: none; }
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address { margin-top: 20px !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title { display: flex !important; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 12px !important; padding: 0 0 12px !important; border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title::after { display: none !important; content: none !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title :is(h2, h3) { font-family: inherit; font-size: 1.3rem !important; line-height: 1.15 !important; margin: 0 !important; text-transform: none; letter-spacing: .01em; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit { float: none !important; margin: 0 !important; font-size: .9rem !important; font-weight: 600; white-space: nowrap; color: var(--red) !important; text-decoration: none !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit:hover { text-decoration: underline !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address { font-style: normal !important; line-height: 1.65; color: var(--ink); margin: 0; font-size: 1rem; }

/* Forms: edit address, account details, login */
.woocommerce-account .woocommerce-MyAccount-content > h2,
.woocommerce-account .woocommerce-MyAccount-content form > h2,
.woocommerce-account .woocommerce-MyAccount-content form > h3 { margin: 0 0 18px; font-family: var(--head); font-weight: 800; font-size: 1.8rem; line-height: 1.05; }
.woocommerce-account .woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce-account .woocommerce form .form-row label { display: block; margin: 0 0 6px; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.woocommerce-account .woocommerce form .form-row :is(input.input-text, select, textarea),
.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 1rem; line-height: 1.4; box-sizing: border-box; }
.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 26px; }
.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }
.woocommerce-account .woocommerce form .form-row :is(input.input-text, select, textarea):focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.woocommerce-account .woocommerce form .form-row .password-input { display: block; position: relative; }
.woocommerce-account .woocommerce form .form-row em, .woocommerce-account .woocommerce form .form-row .description { display: block; margin-top: 6px; color: var(--muted); font-size: .88rem; font-style: normal; }
.woocommerce-account .woocommerce form fieldset { margin: 8px 0 20px; padding: 18px 20px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.woocommerce-account .woocommerce form fieldset legend { padding: 0 8px; margin-left: -8px; font-weight: 700; font-size: 1rem; }
.woocommerce-account .woocommerce form .form-row-first, .woocommerce-account .woocommerce form .form-row-last { width: calc(50% - 8px); }
@media (max-width: 599px) { .woocommerce-account .woocommerce form .form-row-first, .woocommerce-account .woocommerce form .form-row-last { width: 100%; float: none; } }
.woocommerce-account .woocommerce :is(button.button, a.button, input.button, .woocommerce-button) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--red); color: #fff !important; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; }
.woocommerce-account .woocommerce :is(button.button, a.button, input.button, .woocommerce-button):hover { background: #b8162a; }

/* Orders table */
.woocommerce-account .woocommerce-orders-table { width: 100%; border-collapse: collapse; border: 0; font-size: .95rem; }
.woocommerce-account .woocommerce-orders-table :is(th, td) { padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.woocommerce-account .woocommerce-orders-table thead th { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a { font-weight: 700; color: var(--ink); }
.woocommerce-account .woocommerce-orders-table .woocommerce-button { min-height: 38px; padding: 0 14px; font-size: .9rem; margin: 2px 4px 2px 0; }
.woocommerce-account .woocommerce-orders-table .woocommerce-button.view { background: var(--ink); }
@media (max-width: 767px) {
	.woocommerce-account .woocommerce-orders-table thead { display: none; }
	.woocommerce-account .woocommerce-orders-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.woocommerce-account .woocommerce-orders-table td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; }
	.woocommerce-account .woocommerce-orders-table td::before { content: attr(data-title); font-weight: 600; color: var(--muted); }
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message { margin: 0 0 14px; border-radius: 10px; }

/* Logged-out: login card */
.woocommerce-account .woocommerce:has(> .woocommerce-form-login) { max-width: 480px !important; margin: 8px 0 0; padding: 28px 32px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-sizing: border-box; }
.woocommerce-account .woocommerce > h2 { margin: 0 0 6px; font-family: var(--head); font-weight: 800; font-size: 2rem; }
.t4s-login__lead { margin: 0 0 18px; color: var(--muted); }
.woocommerce-account .woocommerce-form-login { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.woocommerce-account .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px; }
.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 500 !important; }
.woocommerce-account .woocommerce-form-login__submit { width: 100%; margin: 0 !important; order: 2; }
.woocommerce-account .woocommerce-form-login .cf-turnstile { margin: 4px 0 8px; }
.woocommerce-account .woocommerce-form-login .cf-turnstile-br { display: none; }
.woocommerce-account .woocommerce-LostPassword { margin: 14px 0 0; text-align: center; }
.woocommerce-account .woocommerce-LostPassword a { color: var(--red); font-weight: 600; }
.t4s-login__note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; text-align: center; }

/* Header on phones and tablets: icon logo on phones, and the open search box shares the row instead of pushing the page wider */
.t4s-logo .t4s-logo__icon { display: none; }
@media (max-width: 599px) {
	.t4s-mainbar .t4s-logo img:not(.t4s-logo__icon), .t4s-mainbar .t4s-logo .t4s-wordmark { display: none; }
	.t4s-mainbar .t4s-logo .t4s-logo__icon { display: block; width: 40px; height: 40px; border-radius: 10px; }
}
@media (max-width: 999px) {
	.t4s-mainbar .t4s-actions { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
	.t4s-mainbar .t4s-actions .wp-block-search { min-width: 0; }
	.t4s-mainbar .t4s-actions .wp-block-search:not(.wp-block-search__searchfield-hidden) { flex: 1 1 auto; }
	.t4s-mainbar .t4s-actions .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { width: 100% !important; min-width: 0; gap: 8px; }
	.t4s-mainbar .t4s-actions .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { flex: 1 1 auto; width: auto !important; min-width: 0; padding: 0 14px !important; }
	/* While searching, make room: hide the account and menu buttons (the cart stays). */
	.t4s-mainbar:has(.wp-block-search:not(.wp-block-search__searchfield-hidden)) :is(.wc-block-customer-account, .t4s-burger) { display: none !important; }
}
@media (max-width: 599px) {
	.t4s-mainbar:has(.wp-block-search:not(.wp-block-search__searchfield-hidden)) .wc-block-mini-cart { display: none !important; }
}

/* Logos chosen under Appearance → Site logos: keep any shape inside the usual logo space */
.t4s-logo img:not(.t4s-logo__icon) { max-height: 64px; object-fit: contain; object-position: left center; }
