/* TC Shop: WooCommerce category + single product in the Tennessee Carports style */
.tcshop-page {
  --s-accent: #FF7900; --s-bg: #171A1C; --s-surface: #262B2F; --s-muted: #AEB5BB;
  --s-tint: rgba(174, 181, 187, .14); --s-line: rgba(174, 181, 187, .5); --s-clip: 12px;
  font-family: Inter, sans-serif; color: var(--s-bg); background: #FFFFFF;
}
.tcshop-page *, .tcshop-page *::before, .tcshop-page *::after { box-sizing: border-box; }
.tcshop-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tcshop-wrap { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 20px; }
html.tcshop-lock { overflow: hidden; }

/* Hero */
.tcshop-hero { position: relative; padding: clamp(36px, 5vw, 64px) 0; background: var(--s-bg); color: #FFFFFF; overflow: hidden; }
.tcshop-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--s-accent); }
.tcshop-hero::before {
  content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 42%; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.tcshop-crumbs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font: 500 14px/1.4 Inter, sans-serif; color: var(--s-muted); }
.tcshop-crumbs a { color: var(--s-muted); text-decoration: none; }
.tcshop-crumbs a:hover { color: var(--s-accent); }
.tcshop-crumbs [aria-current] { color: #FFFFFF; }
.tcshop-crumbs--light { padding: 22px 0 6px; margin: 0; }
.tcshop-crumbs--light [aria-current] { color: var(--s-bg); font-weight: 600; }
.tcshop-crumbs--light a { color: var(--s-surface); }
.tcshop-eyebrow { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 600 15px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--s-muted); }
.tcshop-eyebrow--dark { color: var(--s-surface); }
.tcshop-dash { width: 34px; height: 3px; background: var(--s-accent); flex: none; }
.tcshop-page .tcshop-h1 { position: relative; margin: 0 0 12px; font: 400 clamp(36px, 4.6vw, 62px)/1.02 Anton, sans-serif; text-transform: uppercase; color: #FFFFFF; }
.tcshop-hero-text { position: relative; max-width: 720px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.tcshop-hero-text p { margin: 0; }

/* Layout */
.tcshop-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 36px; padding-bottom: 72px; }
.tcshop-page .tcshop-filter-toggle { display: none; }

/* Filters */
.tcshop-filters { position: sticky; top: 130px; background: #FFFFFF; border: 1px solid var(--s-line); border-top: 4px solid var(--s-accent); }
.tcshop-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--s-bg); }
.tcshop-filters-title { margin: 0; font: 400 22px/1 Anton, sans-serif; text-transform: uppercase; color: #FFFFFF; }
.tcshop-page .tcshop-filters-close { display: none; }
.tcshop-filter-form { padding: 16px 18px 18px; }
.tcshop-search { position: relative; display: flex; margin-bottom: 8px; }
.tcshop-page .tcshop-search input {
  flex: 1; min-width: 0; height: 46px; margin: 0; padding: 0 12px; border: 1px solid var(--s-line); border-right: 0; border-radius: 0;
  background: #FFFFFF; color: var(--s-bg); font: 400 15px Inter, sans-serif; box-shadow: none;
}
.tcshop-page .tcshop-search input:focus { outline: none; border-color: var(--s-accent); }
.tcshop-page .tcshop-search button { width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 0; background: var(--s-accent); cursor: pointer; }
.tcshop-search svg { width: 20px; height: 20px; fill: none; stroke: #FFFFFF; stroke-width: 2.2; }
.tcshop-group { border-bottom: 1px solid var(--s-tint); }
.tcshop-group summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; cursor: pointer; list-style: none; font: 600 16px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--s-bg); }
.tcshop-group summary::-webkit-details-marker { display: none; }
.tcshop-group summary svg { width: 16px; height: 16px; color: var(--s-accent); transition: transform .2s; }
.tcshop-group[open] summary svg { transform: rotate(180deg); }
.tcshop-options { display: grid; gap: 4px; padding-bottom: 14px; }
.tcshop-check { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 8px; cursor: pointer; font-size: 15px; transition: background-color .15s; }
.tcshop-check:hover { background: var(--s-tint); }
.tcshop-check input, .tcshop-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tcshop-box { width: 20px; height: 20px; flex: none; border: 2px solid var(--s-muted); background: #FFFFFF; display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.tcshop-check input:checked + .tcshop-box, .tcshop-consent input:checked + .tcshop-box { background: var(--s-accent); border-color: var(--s-accent); }
.tcshop-check input:checked + .tcshop-box::after, .tcshop-consent input:checked + .tcshop-box::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid #FFFFFF; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tcshop-check input:focus-visible + .tcshop-box, .tcshop-consent input:focus-visible + .tcshop-box { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.tcshop-check-label { flex: 1; }
.tcshop-check.is-on .tcshop-check-label { font-weight: 700; }
.tcshop-count { min-width: 26px; padding: 2px 6px; text-align: center; background: var(--s-tint); font: 700 12px/1.4 Inter, sans-serif; color: var(--s-surface); }
.tcshop-filter-actions { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.tcshop-page .tcshop-apply {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  background: var(--s-accent); color: #FFFFFF; font: 600 16px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.tcshop-page .tcshop-apply:hover { background: var(--s-bg); color: #FFFFFF; }
.tcshop-filter-form .tcshop-apply { display: none; }
.tcshop-reset { font: 600 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--s-surface); text-decoration: underline; text-underline-offset: 3px; }
.tcshop-reset:hover { color: var(--s-accent); }
.tcshop-cats { padding: 16px 18px 18px; border-top: 1px solid var(--s-line); }
.tcshop-cats-title { margin: 0 0 8px; font: 600 16px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.tcshop-cats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tcshop-cats li { margin: 0; }
.tcshop-cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; text-decoration: none; color: var(--s-bg); font-size: 15px; transition: background-color .15s, color .15s; }
.tcshop-cats a:hover { background: var(--s-tint); color: var(--s-accent); }
.tcshop-cats a.is-current { background: var(--s-bg); color: #FFFFFF; box-shadow: inset 4px 0 0 var(--s-accent); }
.tcshop-cats b { font: 700 12px/1.4 Inter, sans-serif; padding: 2px 7px; background: var(--s-tint); }
.tcshop-cats a.is-current b { background: var(--s-accent); color: #FFFFFF; }

/* Results */
.tcshop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--s-line); }
.tcshop-total { margin: 0; font-size: 15px; color: var(--s-surface); }
.tcshop-total strong { font: 400 24px/1 Anton, sans-serif; color: var(--s-accent); margin-right: 4px; }
.tcshop-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tcshop-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--s-bg); color: #FFFFFF; text-decoration: none; font: 600 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.tcshop-chip svg { width: 12px; height: 12px; color: var(--s-accent); }
.tcshop-chip:hover { background: var(--s-accent); color: #FFFFFF; }
.tcshop-chip:hover svg { color: #FFFFFF; }
.tcshop-clear { font: 600 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--s-accent); }

.tcshop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tcshop-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Product card */
.tcshop-card {
  display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--s-line); border-top: 4px solid var(--s-accent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: transform .25s, box-shadow .25s;
}
.tcshop-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(23, 26, 28, .12); }
.tcshop-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--s-tint); }
.tcshop-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.tcshop-card:hover .tcshop-card-media img { transform: scale(1.05); }
.tcshop-card-size { position: absolute; left: 0; bottom: 14px; padding: 8px 16px 8px 12px; background: var(--s-accent); color: #FFFFFF; font: 400 18px/1 Anton, sans-serif; letter-spacing: .02em; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.tcshop-card-cars { position: absolute; right: 12px; top: 12px; padding: 6px 10px; background: rgba(23, 26, 28, .85); color: #FFFFFF; font: 600 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.tcshop-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.tcshop-card-tag { margin: 0 0 6px; font: 600 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--s-accent); }
.tcshop-page .tcshop-card-title { margin: 0 0 8px; font: 400 22px/1.1 Anton, sans-serif; text-transform: uppercase; }
.tcshop-card-title a { color: var(--s-bg); text-decoration: none; }
.tcshop-card-title a:hover { color: var(--s-accent); }
.tcshop-card-text { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--s-surface); }
.tcshop-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--s-tint); }
.tcshop-card-sku { font: 600 12px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .1em; color: var(--s-muted); }
.tcshop-card-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--s-bg); color: #FFFFFF; text-decoration: none; font: 600 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s; }
.tcshop-card-btn svg { width: 14px; height: 14px; color: var(--s-accent); transition: color .2s; }
.tcshop-card-btn:hover, .tcshop-card:hover .tcshop-card-btn { background: var(--s-accent); color: #FFFFFF; }
.tcshop-card:hover .tcshop-card-btn svg, .tcshop-card-btn:hover svg { color: #FFFFFF; }

.tcshop-empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--s-line); }
.tcshop-empty-title { margin: 0 0 8px; font: 400 26px/1.1 Anton, sans-serif; text-transform: uppercase; }
.tcshop-empty a { color: var(--s-accent); }
.tcshop-empty .tcshop-apply { margin-top: 16px; color: #FFFFFF; }
.tcshop-pagination ul { display: flex; gap: 6px; justify-content: center; list-style: none; margin: 32px 0 0; padding: 0; }
.tcshop-pagination a, .tcshop-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--s-line); color: var(--s-bg); text-decoration: none; font: 600 16px/1 "Barlow Condensed", sans-serif; }
.tcshop-pagination .current { background: var(--s-accent); border-color: var(--s-accent); color: #FFFFFF; }

/* ---------- Single product ---------- */
.tcshop-product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; padding: 14px 0 48px; }
.tcshop-gallery.is-sticky { position: sticky; top: 130px; }
.tcshop-gallery-main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--s-tint); border-top: 4px solid var(--s-accent); }
.tcshop-slide { margin: 0; position: absolute; inset: 0; }
.tcshop-slide[hidden] { display: none; }
.tcshop-slide img { width: 100%; height: 100%; object-fit: cover; display: block; animation: tcshop-fade .35s ease; }
@keyframes tcshop-fade { from { opacity: .3; } to { opacity: 1; } }
.tcshop-gallery-badge { position: absolute; left: 0; bottom: 18px; padding: 10px 22px 10px 16px; background: var(--s-accent); color: #FFFFFF; font: 400 24px/1 Anton, sans-serif; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.tcshop-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.tcshop-page .tcshop-thumb { padding: 0; aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: 0; background: var(--s-tint); cursor: pointer; overflow: hidden; opacity: .65; transition: opacity .2s, border-color .2s; }
.tcshop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcshop-page .tcshop-thumb:hover, .tcshop-page .tcshop-thumb.is-active { opacity: 1; border-color: var(--s-accent); background: var(--s-tint); }

.tcshop-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tcshop-tag { padding: 6px 10px; background: var(--s-accent); color: #FFFFFF; font: 600 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.tcshop-tag--dark { background: var(--s-bg); }
.tcshop-page .tcshop-title { margin: 0 0 8px; font: 400 clamp(32px, 3.4vw, 46px)/1.04 Anton, sans-serif; text-transform: uppercase; color: var(--s-bg); }
.tcshop-sku { margin: 0 0 14px; font: 600 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; color: var(--s-muted); }
.tcshop-short { font-size: 16px; line-height: 1.6; color: var(--s-surface); }
.tcshop-short p { margin: 0 0 16px; }
.tcshop-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px 0 20px; background: var(--s-bg); }
.tcshop-dims > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-right: 1px solid rgba(174, 181, 187, .25); }
.tcshop-dims > div:last-child { border-right: 0; }
.tcshop-dim-num { font: 400 36px/1 Anton, sans-serif; color: var(--s-accent); }
.tcshop-dim-num small { margin-left: 4px; font-size: 16px; color: #FFFFFF; }
.tcshop-dim-label { font: 600 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.tcshop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.tcshop-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; min-height: 50px; text-decoration: none;
  background: var(--s-accent); color: #FFFFFF; font: 600 16px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: background-color .2s, color .2s;
}
.tcshop-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.tcshop-btn:hover { background: var(--s-bg); color: #FFFFFF; }
.tcshop-btn--ghost { background: #FFFFFF; color: var(--s-bg); box-shadow: inset 0 0 0 2px var(--s-bg); clip-path: none; }
.tcshop-btn--ghost:hover { background: var(--s-bg); color: #FFFFFF; }

/* Quote form */
.tcshop-quote { background: #FFFFFF; border: 1px solid var(--s-line); border-top: 4px solid var(--s-accent); }
.tcshop-quote-head { padding: 18px 20px; background: var(--s-tint); }
.tcshop-quote-title { margin: 0 0 4px; font: 400 26px/1.05 Anton, sans-serif; text-transform: uppercase; color: var(--s-bg); }
.tcshop-quote-title span { color: var(--s-accent); }
.tcshop-quote-sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--s-surface); }
.tcshop-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 20px 6px; }
.tcshop-field { display: flex; flex-direction: column; gap: 6px; font: 600 13px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--s-bg); }
.tcshop-field--full { grid-column: 1 / -1; }
.tcshop-page .tcshop-field input, .tcshop-page .tcshop-field textarea {
  width: 100%; margin: 0; padding: 11px 12px; border: 1px solid var(--s-line); border-radius: 0; background: #FFFFFF; box-shadow: none;
  font: 400 15px/1.4 Inter, sans-serif; letter-spacing: 0; text-transform: none; color: var(--s-bg);
}
.tcshop-page .tcshop-field input:focus, .tcshop-page .tcshop-field textarea:focus { outline: none; border-color: var(--s-accent); box-shadow: 0 0 0 2px rgba(255, 121, 0, .2); }
.tcshop-page .is-invalid { border-color: #C2410C !important; }
.tcshop-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tcshop-consent { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 10px 20px 0; cursor: pointer; font-size: 13px; line-height: 1.45; color: var(--s-surface); }
.tcshop-consent .tcshop-box { margin-top: 1px; }
.tcshop-consent.is-invalid { color: #C2410C; }
.tcshop-page .tcshop-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 40px); margin: 16px 20px 20px; padding: 16px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--s-accent); color: #FFFFFF; font: 600 18px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: background-color .2s;
}
.tcshop-submit svg { width: 16px; height: 16px; }
.tcshop-page .tcshop-submit:hover { background: var(--s-bg); }
.tcshop-submit.is-loading { opacity: .6; pointer-events: none; }
.tcshop-quote-msg { margin: 0 20px 20px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.tcshop-quote-msg.is-ok { background: rgba(255, 121, 0, .1); border-left: 4px solid var(--s-accent); color: var(--s-bg); }
.tcshop-quote-msg.is-error { background: rgba(194, 65, 12, .08); border-left: 4px solid #C2410C; color: #9A3412; }

/* Tabs */
.tcshop-tabs { border: 1px solid var(--s-line); margin-bottom: 56px; }
.tcshop-tablist { display: flex; background: var(--s-bg); }
.tcshop-page .tcshop-tablist button {
  margin: 0; padding: 16px 26px; border: 0; border-radius: 0; background: transparent; color: rgba(255, 255, 255, .75); cursor: pointer;
  font: 600 17px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; box-shadow: inset 0 -4px 0 transparent; transition: color .2s, box-shadow .2s;
}
.tcshop-page .tcshop-tablist button:hover { color: #FFFFFF; background: transparent; }
.tcshop-page .tcshop-tablist button[aria-selected="true"] { color: #FFFFFF; background: var(--s-surface); box-shadow: inset 0 -4px 0 var(--s-accent); }
.tcshop-tabpanel { padding: 24px; }
.tcshop-tabpanel[hidden] { display: none; }
.tcshop-specs { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.tcshop-specs th, .tcshop-specs td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--s-tint); text-align: left; font-size: 15px; background: transparent !important; }
.tcshop-specs tr:nth-child(even) th, .tcshop-specs tr:nth-child(even) td { background: var(--s-tint) !important; }
.tcshop-specs th { width: 38%; font: 600 15px/1.3 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--s-bg); }
.tcshop-specs td { color: var(--s-surface); }
.tcshop-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.tcshop-perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--s-bg); margin: 0; }
.tcshop-check-ico { width: 20px; height: 20px; display: grid; place-items: center; background: var(--s-accent); color: #FFFFFF; flex: none; }
.tcshop-check-ico svg { width: 13px; height: 13px; }
.tcshop-desc { font-size: 16px; line-height: 1.7; color: var(--s-surface); max-width: 900px; }

.tcshop-related { padding-bottom: 72px; }
.tcshop-related-head { margin-bottom: 22px; }
.tcshop-page .tcshop-h2 { margin: 0; font: 400 clamp(30px, 3vw, 42px)/1.05 Anton, sans-serif; text-transform: uppercase; color: var(--s-bg); }
.tcshop-h2 span { color: var(--s-accent); }

/* ---------- Tablet ---------- */
@media (max-width: 1200px) {
  .tcshop-grid, .tcshop-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .tcshop-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 22px; }
  .tcshop-page .tcshop-filter-toggle {
    display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 12px 18px; border: 0; border-radius: 0; cursor: pointer;
    background: var(--s-bg); color: #FFFFFF; font: 600 16px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase;
  }
  .tcshop-filter-toggle svg { width: 20px; height: 20px; fill: none; stroke: var(--s-accent); stroke-width: 2.4; stroke-linecap: round; }
  .tcshop-filter-toggle b { display: grid; place-items: center; min-width: 22px; height: 22px; background: var(--s-accent); font: 700 12px/1 Inter, sans-serif; }
  .tcshop-filters {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 10000; width: min(88vw, 360px); overflow-y: auto;
    transform: translateX(-105%); transition: transform .3s ease; border: 0;
  }
  .tcshop-filters.is-open { transform: none; box-shadow: 10px 0 40px rgba(23, 26, 28, .35); }
  .tcshop-filters-head { position: sticky; top: 0; z-index: 1; }
  .tcshop-page .tcshop-filters-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 0; background: var(--s-accent); color: #FFFFFF; cursor: pointer; }
  .tcshop-filters-close svg { width: 14px; height: 14px; }
  .tcshop-filter-form .tcshop-apply { display: inline-flex; flex: 1; }
  .tcshop-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(23, 26, 28, .55); }
  .tcshop-overlay[hidden] { display: none; }
  .tcshop-product { grid-template-columns: minmax(0, 1fr); }
  .tcshop-gallery { position: static; }
}
/* ---------- Phone ---------- */
@media (max-width: 720px) {
  .tcshop-wrap { padding: 0 16px; }
  .tcshop-grid, .tcshop-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .tcshop-actions { grid-template-columns: minmax(0, 1fr); }
  .tcshop-fields { grid-template-columns: minmax(0, 1fr); }
  .tcshop-dim-num { font-size: 30px; }
  .tcshop-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tcshop-tablist button { flex: 1; padding: 14px 10px; }
  .tcshop-tabpanel { padding: 16px; }
  .tcshop-specs th, .tcshop-specs td { display: block; width: 100%; padding: 8px 12px; }
  .tcshop-specs th { padding-top: 12px; border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .tcshop-card, .tcshop-card-media img, .tcshop-filters { transition: none; } }

/* WooCommerce sets img { height: auto }: keep our images filling their frames */
.tcshop-page .tcshop-card-media img, .tcshop-page .tcshop-slide img, .tcshop-page .tcshop-thumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* ---------- Widgets inside Elementor templates ---------- */
.tcshop-w { background: transparent; }
@media (min-width: 1025px) { .tcshop-filters-w .tcshop-filters { position: sticky; top: 130px; } }
/* Breadcrumb items: one font and size */
.tcshop-crumbs > * { font: 500 15px/1.4 "Barlow Condensed", sans-serif !important; letter-spacing: .04em; vertical-align: middle; }
.tcshop-w .tcshop-toolbar { margin-bottom: 4px; }
.tcshop-w .tcshop-tabs { margin-bottom: 0; }
/* Loop grid "no results" message */
.tcshop-archive-grid .e-loop-nothing-found-message { padding: 48px 24px; text-align: center; border: 1px dashed rgba(174, 181, 187, .5); font: 400 22px/1.2 Anton, sans-serif; text-transform: uppercase; color: #171A1C; }
/* Loop item cards: equal heights inside the grid */
.tcshop-loop-card { height: 100%; }
.tcshop-loop-card .tcshop-loop-title a { color: inherit; text-decoration: none; }
.tcshop-loop-card .tcshop-loop-title a:hover { color: #FF7900; }
.tcshop-loop-card .tcshop-loop-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.e-con.tcshop-results-col { min-width: 0; flex: 1 1 0%; }
.e-con.tcshop-single-info { min-width: 0; flex: 1 1 0%; }
.tcshop-archive-grid { min-width: 0; width: 100%; }
.tcshop-loop-card .elementor-button { white-space: nowrap; padding: 13px 30px !important; }
.tcshop-loop-card .elementor-widget-heading span.elementor-heading-title { white-space: nowrap; font-size: 13px; }

/* Single product: Elementor buttons and breadcrumbs in the shop style */
.tcshop-elbtn .elementor-button {
  width: 100%; min-height: 50px; border-radius: 0; background: #FF7900; color: #FFFFFF;
  font: 600 16px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: background-color .2s, color .2s;
}
.tcshop-elbtn .elementor-button:hover { background: #171A1C; color: #FFFFFF; }
.tcshop-elbtn .elementor-button-icon svg, .tcshop-elbtn .elementor-button-icon i { fill: currentColor; color: currentColor; }
.tcshop-elbtn--ghost .elementor-button { background: #FFFFFF; color: #171A1C; box-shadow: inset 0 0 0 2px #171A1C; clip-path: none; }
.tcshop-elbtn--ghost .elementor-button:hover { background: #171A1C; color: #FFFFFF; }
.tcshop-wc-crumbs .woocommerce-breadcrumb { margin: 0; font: 500 15px/1.4 "Barlow Condensed", sans-serif; letter-spacing: .04em; color: #262B2F; }
.tcshop-wc-crumbs .woocommerce-breadcrumb a { color: #262B2F; text-decoration: none; }
.tcshop-wc-crumbs .woocommerce-breadcrumb a:hover { color: #FF7900; }
.tcshop-el-eyebrow .elementor-heading-title { display: flex; align-items: center; gap: 12px; font: 600 15px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #262B2F; }
.tcshop-el-eyebrow .elementor-heading-title::before { content: ""; width: 34px; height: 3px; background: #FF7900; }
.tcshop-el-h2 .elementor-heading-title { font: 400 clamp(30px, 3vw, 42px)/1.05 Anton, sans-serif; text-transform: uppercase; color: #171A1C; }
.tcshop-el-h2 .elementor-heading-title span { color: #FF7900; }
.elementor .tcshop-elbtn .elementor-button { background: #FF7900 !important; color: #FFFFFF !important; fill: #FFFFFF; border: 0 !important; border-radius: 0 !important; }
.elementor .tcshop-elbtn .elementor-button:hover { background: #171A1C !important; }
.elementor .tcshop-elbtn--ghost .elementor-button { background: #FFFFFF !important; color: #171A1C !important; box-shadow: inset 0 0 0 2px #171A1C; }
.elementor .tcshop-elbtn--ghost .elementor-button:hover { background: #171A1C !important; color: #FFFFFF !important; }

/* Loop grid pagination (category and shop pages) */
.tcshop-archive-grid .elementor-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.tcshop-archive-grid .elementor-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; margin: 0 !important; padding: 0 14px;
  background: #FFFFFF; border: 1px solid #D5D9DC; color: #171A1C; text-decoration: none;
  font: 600 18px/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tcshop-archive-grid .elementor-pagination a.page-numbers:hover { border-color: #FF7900; color: #FF7900; }
.tcshop-archive-grid .elementor-pagination .page-numbers.current {
  background: #FF7900; border-color: #FF7900; color: #FFFFFF;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.tcshop-archive-grid .elementor-pagination .page-numbers.prev,
.tcshop-archive-grid .elementor-pagination .page-numbers.next { background: #171A1C; border-color: #171A1C; color: #FFFFFF; padding: 0 22px; }
.tcshop-archive-grid .elementor-pagination a.page-numbers.prev:hover,
.tcshop-archive-grid .elementor-pagination a.page-numbers.next:hover { background: #FF7900; border-color: #FF7900; color: #FFFFFF; }
.tcshop-archive-grid .elementor-pagination span.page-numbers.prev,
.tcshop-archive-grid .elementor-pagination span.page-numbers.next { opacity: .35; }
.tcshop-archive-grid .elementor-pagination .page-numbers.dots { background: transparent; border-color: transparent; }
@media (max-width: 767px) {
  .tcshop-archive-grid .elementor-pagination { gap: 6px; }
  .tcshop-archive-grid .elementor-pagination .page-numbers { min-width: 42px; height: 42px; font-size: 16px; padding: 0 10px; }
  .tcshop-archive-grid .elementor-pagination .page-numbers.prev, .tcshop-archive-grid .elementor-pagination .page-numbers.next { padding: 0 14px; }
}
