/* TomCar — svetlý, čistý vzhľad: biela, grafit, signálna červená. */

@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--tc-bg: #FFFFFF;
	--tc-soft: #F3F3F1;
	--tc-ink: #16181D;
	--tc-ink-2: #4A4F59;
	--tc-muted: #7A808B;
	--tc-line: #E3E3DF;
	--tc-red: #E63946;
	--tc-red-2: #C62835;
	--tc-dark: #16181D;
	--tc-r: 6px;
	--tc-head: "Sora", system-ui, sans-serif;
	--tc-body: "Manrope", system-ui, sans-serif;
	--ak-font-display: var(--tc-head);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--tc-bg);
	color: var(--tc-ink);
	font: 400 16px/1.6 var(--tc-body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--tc-red-2); }
a:hover { color: var(--tc-ink); }
h1, h2, h3, h4 { font-family: var(--tc-head); line-height: 1.15; letter-spacing: -.02em; color: var(--tc-ink); margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--tc-red); outline-offset: 2px; }

.tc-wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.tc-main { display: block; min-height: 50vh; }
.tc-main:focus { outline: 0; }
.tc-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--tc-ink); color: #fff; padding: 10px 14px; }
.tc-skip:focus { left: 8px; }
.tc-ico { flex: none; }

/* ---------- Tlačidlá ---------- */
.tc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--tc-r);
	font: 700 15px/1 var(--tc-head); text-decoration: none; cursor: pointer;
	transition: background .2s, transform .2s;
}
.tc-btn .tc-ico { width: 18px; height: 18px; }
.tc-btn--primary { background: var(--tc-red); color: #fff; }
.tc-btn--primary:hover { background: var(--tc-red-2); color: #fff; }
.tc-btn--dark { background: var(--tc-dark); color: #fff; }
.tc-btn--dark:hover { background: var(--tc-red); color: #fff; }

/* ---------- Hlavička ---------- */
.tc-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--tc-line); }
.tc-strip { background: var(--tc-dark); color: #fff; font-size: 13px; }
.tc-strip__in { display: flex; justify-content: flex-end; gap: 22px; min-height: 34px; align-items: center; }
.tc-strip a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.tc-strip a:hover { opacity: 1; color: #fff; }
.tc-strip .tc-ico { width: 15px; height: 15px; }
.tc-bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }

.tc-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tc-ink); flex: none; }
.tc-logo__word { font: 800 25px/1 var(--tc-head); letter-spacing: -.03em; font-style: italic; text-transform: uppercase; }
.tc-logo__word b { color: var(--tc-red); font-weight: 800; }
.tc-logo__mark { transform: skewX(-8deg); }

.tc-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tc-nav a {
	display: block; padding: 10px 12px; color: var(--tc-ink); text-decoration: none;
	font: 600 15px/1 var(--tc-head); border-bottom: 3px solid transparent;
}
.tc-nav a:hover, .tc-nav a[aria-current="page"] { border-bottom-color: var(--tc-red); color: var(--tc-ink); }

.tc-search { margin-left: auto; display: flex; align-items: center; background: var(--tc-soft); border: 1px solid var(--tc-line); border-radius: 999px; padding: 0 6px 0 16px; width: min(280px, 100%); }
.tc-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; padding: 11px 0; color: var(--tc-ink); }
.tc-search input:focus { outline: 0; }
.tc-search:focus-within { border-color: var(--tc-ink); }
.tc-search button { border: 0; background: transparent; color: var(--tc-ink); cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; }

.tc-actions { display: flex; align-items: center; gap: 4px; }
.tc-iconbtn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--tc-ink); background: transparent; border: 0; cursor: pointer; }
.tc-iconbtn:hover { background: var(--tc-soft); color: var(--tc-ink); }
.tc-count {
	position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 999px; background: var(--tc-red); color: #fff; font: 700 11px/19px var(--tc-head); text-align: center;
}
.tc-burger { display: none; }

@media (max-width: 1080px) {
	.tc-search { display: none; }
	.tc-nav { margin-left: auto; }
}
@media (max-width: 860px) {
	.tc-bar { gap: 12px; min-height: 64px; }
	.tc-logo__word { font-size: 21px; }
	.tc-logo__mark { width: 32px; height: 32px; }
	.tc-actions { margin-left: auto; }
	.tc-burger { display: grid; }
	.tc-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--tc-line); box-shadow: 0 18px 30px -20px rgba(0,0,0,.35); }
	.tc-nav-open .tc-nav { display: block; }
	.tc-nav ul { flex-direction: column; padding: 8px 16px 16px; }
	.tc-nav a { padding: 14px 4px; border-bottom: 1px solid var(--tc-line); }
	.tc-strip__in { justify-content: center; }
}

/* ---------- Hero ---------- */
.tc-hero {
	position: relative; overflow: hidden;
	background: var(--tc-soft);
	border-bottom: 1px solid var(--tc-line);
}
.tc-hero::before {
	content: ""; position: absolute; top: 0; bottom: 0; right: -8%; width: 46%;
	background: var(--tc-red); transform: skewX(-14deg); transform-origin: top;
}
.tc-hero::after {
	content: ""; position: absolute; top: 0; bottom: 0; right: 36%; width: 18px;
	background: var(--tc-dark); transform: skewX(-14deg); opacity: .9;
}
.tc-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 80px; }
.tc-eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 12px; background: var(--tc-dark); color: #fff; font: 700 12px/1.2 var(--tc-head); letter-spacing: .08em; text-transform: uppercase; }
.tc-hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; }
.tc-hero__lead { font-size: 18px; color: var(--tc-ink-2); max-width: 34em; margin: 0 0 22px; }
.tc-hero__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tc-hero__perks li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.tc-hero__perks .tc-ico { width: 20px; height: 20px; color: #fff; background: var(--tc-red); border-radius: 50%; padding: 3px; }
.tc-hero__box { background: #fff; border-radius: 10px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(22,24,29,.45); border-top: 6px solid var(--tc-dark); }
.tc-hero__box h2 { font-size: 22px; margin-bottom: 18px; }
.tc-hero__hint { margin: 14px 0 0; font-size: 13px; color: var(--tc-muted); }

@media (max-width: 900px) {
	.tc-hero::before { width: 100%; right: 0; top: auto; height: 38%; transform: none; }
	.tc-hero::after { display: none; }
	.tc-hero__in { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 36px; }
}

/* ---------- Formulár rozmeru ---------- */
.tc-size { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tc-size__f { display: grid; gap: 6px; font: 600 13px/1.2 var(--tc-head); color: var(--tc-ink-2); }
.tc-size select {
	width: 100%; min-height: 48px; padding: 0 36px 0 14px; border: 1.5px solid var(--tc-line); border-radius: var(--tc-r);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316181D' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
	appearance: none; font: 600 16px/1 var(--tc-body); color: var(--tc-ink); cursor: pointer;
}
.tc-size select:hover, .tc-size select:focus { border-color: var(--tc-ink); outline: 0; }
.tc-size .tc-btn { grid-column: 1 / -1; min-height: 54px; font-size: 16px; }
.tc-size--hero .tc-btn { background: var(--tc-red); color: #fff; }
.tc-size--bar { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
.tc-size--bar .tc-btn { grid-column: auto; background: var(--tc-dark); color: #fff; min-height: 48px; }
.tc-size--bar .tc-btn:hover { background: var(--tc-red); }
@media (max-width: 860px) { .tc-size--bar { grid-template-columns: repeat(2, 1fr); } .tc-size--bar .tc-btn { grid-column: 1 / -1; } }

/* ---------- Pneumatiky na úvode ---------- */
.tc-tires { padding: 64px 0 72px; }
.tc-tires__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 3px solid var(--tc-dark); }
.tc-tires__head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-chip { padding: 9px 16px; border: 1.5px solid var(--tc-line); border-radius: 999px; color: var(--tc-ink); text-decoration: none; font: 600 14px/1 var(--tc-head); }
.tc-chip:hover { border-color: var(--tc-red); color: var(--tc-red-2); }
.tc-tires__more { text-align: center; margin: 36px 0 0; }

/* ---------- WooCommerce: výpis produktov ---------- */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	display: flex; flex-direction: column; padding: 16px; background: #fff;
	border: 1px solid var(--tc-line); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.woocommerce ul.products li.product:hover { border-color: var(--tc-ink); box-shadow: 0 18px 34px -24px rgba(22,24,29,.5); }
.woocommerce ul.products li.product a img { margin: 0 0 14px; aspect-ratio: 1; object-fit: contain; background: var(--tc-soft); border-radius: 6px; padding: 10px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 700 15px/1.35 var(--tc-head); color: var(--tc-ink); padding: 0; margin: 0 0 10px; }
.woocommerce ul.products li.product .price { color: var(--tc-ink); font: 800 20px/1.2 var(--tc-head); margin: auto 0 12px; }
.woocommerce ul.products li.product .price del { color: var(--tc-muted); font-size: 14px; font-weight: 600; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--tc-red-2); }
.woocommerce ul.products li.product .button { margin-top: 0; width: 100%; text-align: center; }
.woocommerce ul.products li.product a.added_to_cart { display: block; text-align: center; padding-top: 8px; font-weight: 700; }
.woocommerce span.onsale { background: var(--tc-red); color: #fff; border-radius: 4px; min-height: 0; min-width: 0; padding: 4px 10px; line-height: 1.4; font: 700 12px/1.4 var(--tc-head); top: 10px; left: 10px; }
@media (max-width: 1080px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .woocommerce ul.products li.product { padding: 10px; } .woocommerce ul.products li.product .price { font-size: 17px; } }

/* Tlačidlá WooCommerce */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--tc-dark); color: #fff; border-radius: var(--tc-r); font: 700 14px/1.2 var(--tc-head); padding: 13px 18px; border: 0;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--tc-red); color: #fff; }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce .single_add_to_cart_button { background: var(--tc-red); }
.woocommerce button.button.alt:hover, .woocommerce .single_add_to_cart_button:hover { background: var(--tc-red-2); }
.woocommerce a.button.loading::after { top: .9em; }

/* ---------- Obchod: obal, filter, triedenie ---------- */
.tc-shop { padding: 28px 0 64px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--tc-muted); margin: 0 0 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--tc-ink-2); }
.woocommerce-products-header__title.page-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.tc-filter { background: var(--tc-soft); border: 1px solid var(--tc-line); border-left: 6px solid var(--tc-red); border-radius: 8px; padding: 18px; margin: 0 0 26px; }
.woocommerce .woocommerce-result-count { color: var(--tc-muted); font-size: 14px; margin: 10px 0 18px; }
.woocommerce .woocommerce-ordering select { min-height: 42px; border: 1.5px solid var(--tc-line); border-radius: var(--tc-r); padding: 0 12px; font: inherit; background: #fff; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; padding: 11px 12px; border: 1.5px solid var(--tc-line); border-radius: var(--tc-r); color: var(--tc-ink); font-weight: 700; }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--tc-dark); border-color: var(--tc-dark); color: #fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--tc-red); background: var(--tc-soft); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--tc-red); }

/* ---------- Detail produktu ---------- */
.woocommerce div.product { margin-top: 6px; }
.woocommerce div.product div.images img { background: var(--tc-soft); border-radius: 10px; padding: 16px; }
.woocommerce div.product .product_title { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--tc-ink); font: 800 30px/1.2 var(--tc-head); }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--tc-red-2); }
.woocommerce div.product .stock { color: #1C7C43; font-weight: 700; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.woocommerce div.product form.cart div.quantity { margin: 0; float: none; }
.woocommerce .quantity .qty { width: 5em; min-height: 50px; border: 1.5px solid var(--tc-line); border-radius: var(--tc-r); font: 700 16px/1 var(--tc-body); }
.woocommerce div.product form.cart .button { float: none; min-height: 50px; padding: 0 28px; font-size: 16px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; border-bottom: 2px solid var(--tc-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0 6px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px; font: 700 15px/1 var(--tc-head); color: var(--tc-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid var(--tc-red); margin-bottom: -2px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--tc-ink); }
.woocommerce table.shop_attributes { border-top: 1px solid var(--tc-line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-bottom: 1px solid var(--tc-line); padding: 10px 12px; font-style: normal; }
.woocommerce table.shop_attributes tr:nth-child(even) th, .woocommerce table.shop_attributes tr:nth-child(even) td { background: var(--tc-soft); }
.woocommerce div.product .related.products > h2 { font-size: 26px; font-weight: 800; margin-top: 28px; }

/* ---------- Textové stránky, košík, pokladňa ---------- */
.tc-page { padding: 40px 0 72px; }
.tc-page__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 3px solid var(--tc-dark); }
.tc-prose { max-width: 820px; }
.tc-page--woo .tc-prose { max-width: none; }
.tc-prose h2 { font-size: 24px; margin-top: 1.6em; }
.tc-prose h3 { font-size: 19px; margin-top: 1.4em; }
.tc-prose table { width: 100%; border-collapse: collapse; }
.tc-prose th, .tc-prose td { border: 1px solid var(--tc-line); padding: 8px 10px; text-align: left; }
.tc-list { display: grid; gap: 20px; }
.tc-list__item { padding-bottom: 20px; border-bottom: 1px solid var(--tc-line); }
.tc-404 { text-align: left; max-width: 760px; }
.tc-404__code { font: 800 96px/1 var(--tc-head); color: var(--tc-red); margin: 0 0 6px; }
.tc-404 .tc-size { margin: 24px 0; }
.wc-block-components-button:not(.is-link) { background: var(--tc-red) !important; color: #fff !important; border-radius: var(--tc-r) !important; font-family: var(--tc-head) !important; font-weight: 700 !important; }
.wc-block-components-button:not(.is-link):hover { background: var(--tc-red-2) !important; }

/* ---------- Pätička ---------- */
.tc-foot { background: var(--tc-dark); color: #C9CCD2; margin-top: 0; border-top: 6px solid var(--tc-red); }
.tc-foot a { color: #fff; text-decoration: none; }
.tc-foot a:hover { color: var(--tc-red); }
.tc-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.tc-foot .tc-logo { color: #fff; }
.tc-foot__brand p { font-size: 14px; max-width: 30em; }
.tc-foot__contact { display: grid; gap: 8px; }
.tc-foot__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.tc-foot__contact .tc-ico { width: 17px; height: 17px; color: var(--tc-red); }
.tc-foot h2 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 14px; }
.tc-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.tc-foot ul a { color: #C9CCD2; }
.tc-foot ul a:hover { color: #fff; }
.tc-foot__bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.tc-foot__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0; }
@media (max-width: 900px) { .tc-foot__grid { grid-template-columns: 1fr 1fr; } .tc-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .tc-foot__grid { grid-template-columns: 1fr; } }

/* Odkaz „Nastavenie cookies“ pod pätičkou ladí s pätičkou. */
body > div[style*="070B12"] { background: var(--tc-dark) !important; }

/* Lišta a oznam o doprave zadarmo vo farbách značky */
.ak-paybar { background: var(--tc-red) !important; color: #fff !important; box-shadow: 0 -6px 20px rgba(22,24,29,.25) !important; }
.ak-paynote { border-color: rgba(230,57,70,.4) !important; border-left-color: var(--tc-red) !important; background: rgba(230,57,70,.07) !important; border-radius: 6px !important; }
