/*
Theme Name: Business Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A clean, modern WordPress theme for business websites.
Version: 3.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: business-theme
Tags: business, clean, responsive
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:   #0E1624;
    --accent:    #CC2936;
    --secondary: #767FAA;
    --neutral:   #807B6E;
    --light-bg:  #EEF1FF;
    --text:      #2C2C3A;
    --muted:     #807B6E;
    --white:     #ffffff;
    --border:    #D4D8EE;
    --radius:    8px;
    --shadow:    0 4px 20px rgba(14,22,36,.10);
    --max-width: 1160px;
    --font:      'Inter', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* === LAYOUT === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--light-bg);
}

.section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-align: center;
}

.section__subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* === NAV === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0E1624;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.site-logo span { color: var(--accent); }

.site-nav a {
    color: rgba(255,255,255,.85);
    font-size: .92rem;
    font-weight: 500;
    margin-left: 28px;
    transition: color .2s;
}

.site-nav a:hover,
.site-nav a.current-menu-item { color: var(--accent); text-decoration: none; }

/* ── Tire Specials glow animation ── */
@keyframes ct-glow-pulse {
    0%, 100% {
        color: #ffffff;
        text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 12px rgba(255,255,255,.5);
    }
    50% {
        color: #ff2a2a;
        text-shadow: 0 0 6px rgba(255,42,42,1), 0 0 14px rgba(255,42,42,.7), 0 0 24px rgba(255,42,42,.4);
    }
}

.site-nav a.nav-glow-special,
.site-nav li.nav-glow-special > a {
    animation: ct-glow-pulse 3s ease-in-out infinite;
    font-weight: 700;
}

/* ── Nav Search ── */
.nav-search {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 20px;
    flex-shrink: 0;
}

.nav-search__input {
    height: 26px;
    padding: 0 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.82rem;
    font-family: var(--font);
    background: rgba(255,255,255,.12);
    color: #fff;
    width: 180px;
    outline: none;
    transition: background .2s, width .2s;
}

.nav-search__input::placeholder {
    color: rgba(255,255,255,.45);
}

.nav-search__input:focus {
    background: rgba(255,255,255,.2);
    width: 220px;
}

.nav-search__btn {
    height: 26px;
    padding: 0 10px;
    background: #FFD700;
    color: #0e1624;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background .2s;
}

.nav-search__btn:hover {
    background: #e6c200;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
    transition: .3s;
}

/* === HERO BANNER — two-column layout === */
.hero-banner {
    background: #DBDAD6;
    padding: 0;
    min-height: 58vh;
    overflow: hidden;
    clip-path: inset(0);
}

.hero-banner__inner {
    display: grid;
    grid-template-columns: 54% 46%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── LEFT panel ── */
.hero-banner__left {
    flex: 0 0 46%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
    height: 100%;
    overflow: hidden;
    padding: 0 20px 10px 4%;
    background: #DBDAD6 url('/wp-content/uploads/2026/06/background_no_banner.png') top center / cover no-repeat;
}

.hero-banner__banner-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}
@media (max-width: 860px) {
    .hero-banner__banner-img {
        width: 135%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin-top: -50px;
        margin-bottom: 28px;
    }
}

.hero-banner__title {
    font-family: 'Georgia', 'DM Serif Text', serif;
    font-size: clamp(16px, 1.92vw, 27px);
    font-weight: 400;
    color: var(--primary);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.3px;
    text-align: center;
}

.hero-banner__address {
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.5;
    color: #d8d4ce;
    margin-top: -4px;
    display: flex;
    justify-content: center;
    gap: 24px;
    text-align: left;
}

.hero-banner__address-left,
.hero-banner__address-right {
    flex: 0 0 auto;
}

.hero-banner__address a {
    color: #FFD700;
    text-decoration: none;
}

.hero-banner__address a:hover {
    text-decoration: underline;
}

/* 3-column service list */
.hero-banner__services {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    columns: 3;
    column-gap: 10px;
}

.hero-banner__services li {
    font-family: 'Raleway', 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #f0ede8;
    padding-left: 14px;
    position: relative;
    break-inside: avoid;
    margin-bottom: 2px;
}

.hero-banner__services a {
    color: #f0ede8;
    text-decoration: none;
    border-radius: 3px;
    padding: 1px 4px;
    margin-left: -4px;
    background: linear-gradient(120deg, #FFD700 0%, #FFD700 100%) no-repeat left center;
    background-size: 0% 100%;
    transition: background-size 0.3s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.hero-banner__services a:hover,
.hero-banner__services a.is-active {
    color: #0e1624;
    background-size: 100% 100%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    text-decoration: none;
    transform: scale(1.12);
    display: inline-block;
}

.hero-banner__services li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 13px;
    top: 2px;
}

.hero-banner__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* ── RIGHT panel ── */
.hero-banner__right {
    background: #DBDAD6 url('/wp-content/uploads/caltex-banner.webp') top center / contain no-repeat;
    height: 100%;
    min-height: 58vh;
}

/* ── Full-width search band ── */
.hero-banner__search-band {
    display: none;
}

/* ── Secondary button ── */
.btn--secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn--secondary:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .hero-banner {
        height: auto;
        overflow: visible;
    }
    .hero-banner__inner {
        grid-template-columns: 1fr;
    }
    .hero-banner__search-band {
        grid-column: 1;
    }
    .hero-banner__left {
        background-size: cover;
        background-position: top center;
        padding: 28px 2% 60px;
        overflow: visible;
    }
    .hero-banner__right {
        padding: 0 6% 20px;
        min-height: 88vw;
        background-size: contain;
    }
    .hero-banner__img {
        width: 100%;
        max-width: 400px;
    }
    .hero-banner__services {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .hero-banner__services {
        columns: 2;
    }
    .hero-banner__title {
        font-size: 20px;
    }
    /* Image above text on small screens */
    .hero-banner__right {
        order: -1;
        min-height: 84vw;
    }
    .hero-banner__left {
        background-size: cover;
        background-position: center;
        padding: 28px 2% 60px;
        overflow: visible;
    }
}

/* === HERO (legacy text hero — kept for other pages) === */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #3A52CC 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__title span { color: var(--accent); }

.hero__sub {
    font-size: 1.15rem;
    opacity: .88;
    max-width: 540px;
    margin: 0 auto 36px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.18); text-decoration: none; }

.btn--primary  { background: var(--primary); color: var(--white); }
.btn--accent   { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--accent:hover { background: #a81e28; border-color: #a81e28; color: var(--white); }
.btn--outline  { background: transparent; border-color: var(--white); color: var(--white); margin-left: 12px; }

/* === TIRE SEARCH (inside hero right panel) === */
.ct-tire-search {
    width: 100%;
    background: #0e1624;
    padding: 4px 6px;
    text-align: center;
}

.ct-tire-search__label {
    color: #fff;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin: 0 0 11px;
    letter-spacing: 0.3px;
}

.ct-tire-search__here {
    color: var(--accent);
    font-size: 1.15em;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ct-tire-search__form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.ct-tire-search__input {
    flex: 1 1 192px;
    max-width: 480px;
    padding: 8px 12px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: var(--font);
    outline: none;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.ct-tire-search__input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,.4);
}

.ct-tire-search__btn {
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 700;
    background: #FFD700;
    color: #0e1624;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
}

.ct-tire-search__btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.ct-tire-search__sub {
    color: #FFD700;
    font-size: 17px;
    font-weight: 600;
    margin: 10px 0 0;
    font-style: italic;
    letter-spacing: 0.2px;
}

/* === FEATURES (homepage) === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .2s;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-card__icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

/* === PRODUCTS === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .2s;
}

.product-card:hover { transform: translateY(-4px); }

.product-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #c8d8f0, #e8eef8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.product-card__body { padding: 24px; }

.product-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-card__desc { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }

.product-card__price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card__quote {
    font-size: 3rem;
    line-height: 1;
    color: var(--accent);
    font-family: Georgia, serif;
    margin-bottom: 12px;
}

.testimonial-card__text {
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3A52CC);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-card__name { font-weight: 700; color: var(--primary); }
.testimonial-card__role { font-size: .85rem; color: var(--muted); }

/* Stars */
.stars { color: var(--accent); font-size: .9rem; margin-bottom: 10px; }

/* === ABOUT === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img-placeholder {
    background: linear-gradient(135deg, #c8d8f0 0%, #e8eef8 100%);
    border-radius: var(--radius);
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.about-content__title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-content p { color: var(--muted); margin-bottom: 16px; line-height: 1.8; }

.stats-row {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.stat { text-align: center; }
.stat__num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat__label { font-size: .85rem; color: var(--muted); }

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-info__title { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--muted);
}

.contact-detail__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: var(--font);
    color: var(--text);
    transition: border-color .2s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* === FOOTER === */
.site-footer {
    background: #0E1624;
    color: rgba(255,255,255,.7);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand__logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand__logo span { color: var(--accent); }
.footer-brand p { font-size: .9rem; line-height: 1.7; }

.footer-col__title {
    color: var(--white);
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .nav-search { display: none; }
    .site-logo { font-size: 1.1rem; }
    .site-header .container { height: 44px; }
    .site-nav { display: none; }
    .site-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 44px;
        left: 0;
        right: 0;
        background: #0E1624;
        padding: 16px 24px 24px;
        gap: 4px;
        max-height: 60vh;
        overflow-y: auto;
        transition: max-height 0.3s ease;
    }
    .site-nav.is-open a { margin-left: 0; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .nav-toggle { display: block; }
    .hero { padding: 72px 0; }
    .btn--outline { margin-left: 0; margin-top: 10px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .stats-row { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

/* ══════════════════════════════════════════════
   PRODUCT GRID (ct_product CPT)
   ══════════════════════════════════════════════ */

.ct-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.ct-product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, transform .2s ease;
}

.ct-product-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    transform: translateY(-3px);
}

/* thumbnail / placeholder */
.ct-product-card__thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f2f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-product-card__thumb--placeholder {
    background: #eef0f8;
}

.ct-product-card__icon {
    font-size: 3rem;
    opacity: .45;
}

.ct-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.ct-product-card:hover .ct-product-card__img {
    transform: scale(1.04);
}

/* body */
.ct-product-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ct-product-card__cat {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #C41E3A;
}

.ct-product-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1.35;
}

/* specs */
.ct-product-card__specs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ct-product-card__spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-product-card__spec dt {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--muted);
}

.ct-product-card__spec dd {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.ct-product-card__desc {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.ct-product-card__btn {
    align-self: flex-start;
    padding: 10px 22px;
    font-size: .875rem;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .ct-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ══════════════════════════════════════════════ */

/* Breadcrumb */
.ct-product-breadcrumb {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: .85rem;
    color: var(--muted);
}

.ct-product-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.ct-product-breadcrumb a:hover { text-decoration: underline; }

.ct-product-breadcrumb__sep {
    margin: 0 8px;
    color: var(--border);
}

.ct-product-breadcrumb__current {
    color: var(--text);
    font-weight: 600;
}

/* Detail layout */
.ct-product-detail {
    padding: 64px 0 72px;
}

.ct-product-detail__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* Media */
.ct-product-detail__media { position: sticky; top: 88px; }

.ct-product-detail__img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.ct-product-detail__placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #eef0f8;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px dashed var(--border);
}

.ct-product-detail__placeholder span {
    font-size: 4rem;
    opacity: .35;
}

.ct-product-detail__placeholder p {
    font-size: .875rem;
    color: var(--muted);
    margin: 0;
}

/* Info panel */
.ct-product-detail__cat {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #C41E3A;
    margin-bottom: 10px;
}

.ct-product-detail__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin: 0 0 24px;
}

/* Specs table */
.ct-product-detail__specs {
    margin: 0 0 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.ct-product-detail__spec-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid var(--border);
}

.ct-product-detail__spec-row:last-child { border-bottom: none; }

.ct-product-detail__spec-row dt {
    padding: 13px 18px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--light-bg);
    border-right: 1px solid var(--border);
}

.ct-product-detail__spec-row dd {
    padding: 13px 18px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

/* Price */
.ct-product-detail__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #dc2626;
    margin: -12px 0 22px;
}

/* Thumbnail strip */
.ct-product-detail__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.ct-product-detail__thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color .2s;
}

.ct-product-detail__thumb-img--active,
.ct-product-detail__thumb-img:hover {
    border-color: var(--primary);
}

/* Price on related product cards */
.ct-product-card__price {
    font-size: .9rem;
    font-weight: 700;
    color: #dc2626;
    margin: 4px 0 8px;
}

/* Description */
.ct-product-detail__desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 32px;
}

.ct-product-detail__desc p { margin-bottom: 1em; }

/* Actions */
.ct-product-detail__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Product card actions row (listing page) */
.ct-product-card__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.ct-product-card__enquire {
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 1px;
    transition: color .2s;
}

.ct-product-card__enquire:hover {
    color: var(--primary);
    border-color: var(--primary);
    text-decoration: none;
}

.ct-product-card__thumb-link {
    display: block;
    text-decoration: none;
}

/* Card title link */
.ct-product-card__title a {
    color: var(--primary);
    text-decoration: none;
}

.ct-product-card__title a:hover {
    color: #C41E3A;
    text-decoration: none;
}

/* Related products card as full link */
.ct-product-card--link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.ct-product-card--link:hover {
    text-decoration: none;
    color: inherit;
}

/* Responsive single product */
@media (max-width: 860px) {
    .ct-product-detail__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ct-product-detail__media { position: static; }
    .ct-product-detail__spec-row {
        grid-template-columns: 120px 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TIRE CATEGORY PAGES
   ══════════════════════════════════════════════════════════════════════════════ */

/* Gallery placeholder grid */
.ct-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.ct-gallery-placeholder {
    background: #e8eef8;
    border-radius: var(--radius);
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #c0cce0;
    color: #8899bb;
}
.ct-gallery-placeholder span { font-size: 2.5rem; }
.ct-gallery-placeholder p { font-size: 0.8rem; margin-top: 8px; }

/* Table wrapper */
.ct-tire-tables { overflow-x: auto; }
.ct-tire-tables h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 40px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.ct-tire-tables h3:first-child { margin-top: 0; }

/* Responsive data table */
.ct-tire-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 32px;
    min-width: 0;
}
.ct-tire-table thead tr {
    background: var(--primary);
    color: #fff;
}
.ct-tire-table thead th {
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: normal;
    vertical-align: bottom;
}
.ct-tire-table tbody tr:nth-child(even) { background: #f4f6fb; }
.ct-tire-table tbody tr:hover { background: #e8eef8; }
.ct-tire-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
}
.ct-tire-table td:first-child { font-weight: 600; white-space: nowrap; }
.ct-tire-table tfoot td {
    padding: 7px 10px;
    font-style: italic;
    color: #666;
    font-size: 0.78rem;
}

@media (max-width: 640px) {
    .ct-tire-table { font-size: 0.78rem; }
    .ct-tire-table thead th,
    .ct-tire-table td { padding: 6px 8px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   NAV DROPDOWN — wp_nav_menu li/ul structure
   ══════════════════════════════════════════════════════════════════════════════ */

/* Make direct <li> children of .site-nav inline */
.site-nav li {
    display: inline-block;
    position: relative;
    list-style: none;
}
.site-nav li > a {
    display: inline-block;
    padding: 4px 0;
}

/* Dropdown panel */
.site-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;
    background: #0E1624;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
    z-index: 500;
    padding: 6px 0;
    list-style: none;
    border-top: 3px solid var(--accent);
    /* two-column layout */
    columns: 2;
    column-gap: 0;
    min-width: 460px;
}

/* Show on hover */
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
    display: block;
}

/* Dropdown items */
.site-nav .sub-menu li {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
}
.site-nav .sub-menu li > a {
    display: block;
    padding: 9px 20px;
    margin-left: 0;
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255,255,255,.82);
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .15s, color .15s;
}
.site-nav .sub-menu li:last-child > a {
    border-bottom: none;
}
.site-nav .sub-menu li > a:hover {
    background: rgba(255,255,255,.09);
    color: var(--accent);
    text-decoration: none;
}

/* Dropdown arrow indicator on parent */
.site-nav li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: .7rem;
    opacity: .7;
}

/* Mobile: collapse dropdown into stacked list */
@media (max-width: 768px) {
    .site-nav li { display: block; }
    .site-nav .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background: rgba(255,255,255,.05);
        padding: 0;
        columns: 2;
        column-gap: 0;
        min-width: 0;
        width: 100%;
        overflow: hidden;
        display: none !important;
    }
    .site-nav li.is-submenu-open > .sub-menu { display: block !important; }
    .site-nav .sub-menu li > a {
        padding: 8px 8px 8px 14px;
        white-space: normal;
        word-break: break-word;
        font-size: .78rem;
        line-height: 1.3;
    }
    .site-nav.is-open { overflow-x: hidden; }
}

/* ── Table grid layout (2-up and 3-up variants) ── */
.ct-table-grid--2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}
.ct-table-grid--2col .ct-table-block { min-width: 0; overflow-x: auto; }
.ct-table-grid--2col .ct-table-block h3 { margin-top: 0; }
.ct-table-grid--2col .ct-table-block .ct-tire-table { width: 100%; margin-bottom: 0; min-width: 0; }
@media (max-width: 640px) {
    .ct-table-grid--2col { grid-template-columns: 1fr; }
}

/* ── Table grid layout (3-up, used on Wheels page) ── */
.ct-table-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.ct-table-block {
    min-width: 0;
    overflow-x: auto;
}
.ct-table-block h3 { margin-top: 0; }
.ct-table-block .ct-tire-table { width: 100%; margin-bottom: 0; min-width: 0; }
@media (max-width: 860px) {
    .ct-table-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .ct-table-grid { grid-template-columns: 1fr; }
}

/* === TIRE FACTS PAGE === */
.ct-facts-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}
.ct-page-content p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    color: var(--text);
}
.ct-facts-images {
    display: grid;
    gap: 20px;
    margin: 1.75rem 0;
}
.ct-facts-images--2col { grid-template-columns: repeat(2, 1fr); }
.ct-facts-images--3col { grid-template-columns: repeat(3, 1fr); }
.ct-facts-figure {
    margin: 0;
    text-align: center;
}
.ct-facts-figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.ct-facts-figure--contain img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: unset;
    display: block;
    margin: 0 auto;
}
.ct-facts-figure--uniform img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.ct-facts-figure figcaption {
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}
@media (max-width: 640px) {
    .ct-facts-images--2col,
    .ct-facts-images--3col { grid-template-columns: 1fr; }
}

/* === FOAM-FILLED FLATPROOFING SECTION === */
.ct-foam-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 3px solid var(--accent);
    text-align: center;
}
.ct-foam-title {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.ct-foam-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--accent);
    text-transform: uppercase;
    margin: 1.25rem 0 .6rem;
}
.ct-foam-section p {
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: var(--text);
}
.ct-foam-figure {
    margin: 1.5rem auto;
    text-align: center;
}
.ct-foam-figure img {
    max-width: 280px;
    height: auto;
    border-radius: var(--radius);
    margin: 0 auto;
}
.ct-foam-list {
    display: inline-block;
    text-align: left;
    margin: .5rem 0 1.25rem 0;
    line-height: 1.85;
    color: var(--text);
}
.ct-foam-centered {
    text-align: center;
}
.ct-foam-centered .ct-foam-list {
    display: inline-block;
    text-align: left;
    margin-left: 0;
}

/* === TRAVEL LIFT TIRE FACTS SECTION === */
.ct-tirefacts-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 3px solid var(--accent);
}
.ct-tirefacts-title {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: .5rem;
    text-transform: uppercase;
}
.ct-tirefacts-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
    text-align: center;
}
.ct-tirefacts-section p {
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: var(--text);
}
.ct-tirefacts-section .ct-facts-figure img {
    height: 420px;
    object-fit: contain;
    background: #f8f8f8;
}
.ct-tirefacts-diagram {
    margin: 1.5rem 0;
    text-align: center;
}
.ct-tirefacts-diagram img {
    max-width: 80%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: 0 auto;
}

/* === TRAVEL PHOTO === */
.ct-travel-photo {
    margin: 2rem 0;
    text-align: center;
    border-radius: var(--radius);
    overflow: hidden;
}
.ct-travel-photo img {
    width: 40%;
    max-width: 40%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    object-fit: cover;
    margin: 0 auto;
}

/* === FAQ SECTION === */
.ct-faq-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 3px solid var(--accent);
}
.ct-faq-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.ct-faq-item {
    margin-bottom: 1.75rem;
}
.ct-faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .35rem;
}
.ct-faq-answer {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 0;
}
.ct-faq-disclaimer {
    margin-top: 2.5rem;
    padding: 20px 24px;
    background: #fff4f4;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
}
.ct-faq-disclaimer-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.ct-faq-disclaimer-text {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 0;
}

/* === TIRE SEALANT MEDIA === */
.ct-sealant-media {
    margin-top: 2.5rem;
    text-align: center;
}
.ct-sealant-video-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}
.ct-sealant-video {
    width: 100%;
    max-width: 720px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: 0 auto 1.75rem;
    display: block;
}
.ct-sealant-video-wrap {
    margin: 0 auto 1.75rem;
    max-width: 360px;
}
.ct-sealant-video-wrap .wp-video,
.ct-sealant-video-wrap .wp-video-shortcode {
    width: 100% !important;
    max-width: 360px !important;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
    margin: 0 auto;
}
/* Video Section */
.ct-video-section {
    text-align: center;
}
.ct-video-section__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.ct-video-section__desc {
    color: var(--muted);
    margin-bottom: 1.75rem;
}
.ct-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}
.ct-video-wrap {
    width: 100%;
}
.ct-video-wrap .wp-video,
.ct-video-wrap .wp-video-shortcode {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
    margin: 0 auto;
}
/* Single-video layout: center it at a comfortable width */
.ct-video-grid--single {
    grid-template-columns: 1fr;
    max-width: 480px;
}
@media (max-width: 600px) {
    .ct-video-grid { grid-template-columns: 1fr; }
}

/* Agricultural Tires Images */
.ct-ag-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.ct-ag-figure {
    margin: 0;
    flex: 1 1 280px;
    max-width: 360px;
}
.ct-ag-figure img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
}

.ct-sealant-pdf-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
}
.ct-sealant-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.ct-sealant-pdf:hover {
    background: #a81e28;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}
.ct-sealant-pdf span { vertical-align: middle; }

/* ── Product image gallery ── */
.ct-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-gallery__main {
  width: 100%;
  height: 460px;
  border-radius: 8px;
  object-fit: contain;
  background: #f4f4f4;
  transition: opacity .2s ease;
}

@media (max-width: 768px) {
  .ct-gallery__main { height: 280px; }
}

.ct-gallery__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ct-gallery__thumb {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
  flex-shrink: 0;
}

.ct-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ct-gallery__thumb:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.ct-gallery__thumb--active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(30,64,175,.3);
}

/* ══════════════════════════════════════════════
   Service Work Page — Brochure Section
   ══════════════════════════════════════════════ */

/* Hero banner */
.ct-sw-hero {
  background: linear-gradient(135deg, var(--primary, #1e40af), #264d9b);
  color: #fff;
  text-align: center;
  padding: 56px 24px 48px;
  border-radius: 12px;
  margin-bottom: 40px;
}
.ct-sw-hero__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 14px;
}
.ct-sw-hero__tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Free Fleet Survey */
.ct-sw-fleet-survey {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f0f5ff;
  border-left: 5px solid var(--primary, #1e40af);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.ct-sw-fleet-survey__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--primary, #1e40af);
}
.ct-sw-fleet-survey__icon svg { width: 48px; height: 48px; }
.ct-sw-fleet-survey__heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary, #1e40af);
  margin: 0 0 8px;
}
.ct-sw-fleet-survey__body p {
  margin: 0;
  line-height: 1.7;
  color: #374151;
}

/* Equipment heading */
.ct-sw-equip-heading {
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  color: #1e293b;
  margin-bottom: 24px;
}

/* Equipment grid */
.ct-sw-equip-grid {
    max-width: 100%;
}
@media (max-width: 860px) {
    .ct-sw-equip-grid {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}
@media (max-width: 540px) {
    .ct-sw-equip-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
@media (max-width: 360px) {
    .ct-sw-equip-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}






/* Feature cards */







/* Process section */
.ct-sw-process {
  background: #0e1624;
  color: #fff;
  border-radius: 12px;
  padding: 36px 40px;
  margin-bottom: 48px;
  text-align: center;
}
.ct-sw-process__heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.ct-sw-process__desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Rubber compounds */
.ct-sw-compounds {
  margin-bottom: 48px;
}
.ct-sw-compounds__heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 18px;
}
.ct-sw-compounds-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.ct-sw-compound-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}
.ct-sw-compound-dot {
  width: 8px;
  height: 8px;
  background: var(--primary, #1e40af);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Tires we retread */
.ct-sw-retread-types {
  background: #f8fafc;
  border-radius: 12px;
  padding: 32px 36px;
  margin-bottom: 16px;
}
.ct-sw-retread-types__heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
}
.ct-sw-retread-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.ct-sw-retread-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.6;
}
.ct-sw-retread-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--primary, #1e40af);
  border-radius: 50%;
}
.ct-sw-retread-range {
  font-size: 0.93rem;
  font-style: italic;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 600px) {
  .ct-sw-fleet-survey { flex-direction: column; padding: 20px; }
  .ct-sw-process { padding: 24px 20px; }
  .ct-sw-retread-types { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════
   Service Work — Visibility Overrides
   ══════════════════════════════════════════════ */

/* Hero */
.ct-sw-hero { padding: 64px 24px 56px; }
.ct-sw-hero__title { font-size: clamp(2rem, 4.5vw, 3rem); }
.ct-sw-hero__tagline { font-size: 1.25rem; font-weight: 600; color: #fff; }

/* Fleet Survey */
.ct-sw-fleet-survey { padding: 32px 36px; }
.ct-sw-fleet-survey__heading { font-size: 1.5rem; }
.ct-sw-fleet-survey__body p { font-size: 1.05rem; font-weight: 500; color: #1e293b; }

/* Equipment heading */
.ct-sw-equip-heading { font-size: 1.7rem; font-weight: 800; }

/* Equipment cards */




/* Feature cards */






/* Process — big bold yellow */
.ct-sw-process { padding: 48px 44px; }
.ct-sw-process__heading {
  font-size: 2rem;
  font-weight: 900;
  color: #facc15;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ct-sw-process__desc {
  font-size: 1.15rem;
  font-weight: 700;
  color: #facc15;
}

/* Rubber Compounds — bigger bolder tags */
.ct-sw-compounds__heading { font-size: 1.5rem; font-weight: 800; }
.ct-sw-compound-item {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 22px;
  border-width: 2px;
  color: #1e293b;
}
.ct-sw-compound-dot { width: 10px; height: 10px; }

/* Tires We Retread — bigger bolder list + range note */
.ct-sw-retread-types { padding: 36px 40px; }
.ct-sw-retread-types__heading { font-size: 1.5rem; font-weight: 800; }
.ct-sw-retread-list li {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.8;
}
.ct-sw-retread-list li::before {
  width: 9px;
  height: 9px;
  top: 10px;
}
.ct-sw-retread-range {
  font-size: 1.1rem;
  font-weight: 700;
  font-style: normal;
  color: #1e293b;
  margin-top: 16px;
  border-top: 2px solid #cbd5e1;
  padding-top: 14px;
}

@media (max-width: 600px) {
  .ct-sw-process { padding: 32px 24px; }
  .ct-sw-retread-types { padding: 28px 22px; }
}

/* ── Page hero sizing ───────────────────────────────── */
.ct-page-hero            { padding: 28px 0; }
.ct-page-hero__title     { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 10px; }
.ct-page-hero__tagline   { font-size: 1.05rem; }
.ct-page-hero__btns      { margin-top: 20px; }

/* Compact variant — service-work page, ~50% smaller */
.ct-page-hero--compact              { padding: 20px 0; }
.ct-page-hero--compact .ct-page-hero__title   { font-size: clamp(0.9rem,2vw,1.4rem); margin-bottom: 5px; }
.ct-page-hero--compact .ct-page-hero__tagline { font-size: 0.53rem; }
.ct-page-hero--compact .ct-page-hero__btns    { margin-top: 10px; }
.ct-page-hero--compact .btn { padding: 6px 12px; font-size: 0.7rem; }

/* Service Work label inside ct-sw-hero */
.ct-sw-hero__page-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin: 0 0 8px;
}

/* ── Page hero sizing ───────────────────────────────── */
.ct-page-hero            { padding: 28px 0; }
.ct-page-hero__title     { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 10px; }
.ct-page-hero__tagline   { font-size: 1.05rem; }
.ct-page-hero__btns      { margin-top: 20px; }

/* Compact variant — service-work page, ~50% smaller */
.ct-page-hero--compact              { padding: 20px 0; }
.ct-page-hero--compact .ct-page-hero__title   { font-size: clamp(0.9rem,2vw,1.4rem); margin-bottom: 5px; }
.ct-page-hero--compact .ct-page-hero__tagline { font-size: 0.53rem; }
.ct-page-hero--compact .ct-page-hero__btns    { margin-top: 10px; }
.ct-page-hero--compact .btn { padding: 6px 12px; font-size: 0.7rem; }

/* Service-work hero — increase tagline & button size (title is hidden) */
.ct-page-hero--compact .ct-page-hero__tagline { font-size: 1.05rem; }
.ct-page-hero--compact .ct-page-hero__btns    { margin-top: 16px; }
.ct-page-hero--compact .btn { padding: 10px 22px; font-size: 0.95rem; }

/* "Service Work" heading inside ct-sw-hero — slightly larger than the subtitle below it */
.ct-sw-hero__page-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

/* Intro tagline between top banner and equipment grid */
.ct-sw-intro {
  font-size: 1.05rem;
  font-weight: 800;
  color: #dc2626;
  text-align: center;
  margin: 0 auto 28px;
  max-width: 680px;
  line-height: 1.6;
}

/* Pull intro text up — reduce gap from banner by 80% (80px → 16px) */
.ct-sw-intro { margin-top: -64px; }
.ct-sw-intro { margin-top: 0; }
.section--tight-top { padding-top: 16px; }
.ct-sw-intro { margin-bottom: 10px; }
.ct-sw-compounds__heading, .ct-sw-retread-types__heading { text-align: center; }
.ct-sw-fleet-survey__heading { text-align: center; }
.ct-sw-fleet-survey { display: block; }
.ct-sw-fleet-survey__row { display: flex; align-items: flex-start; gap: 20px; margin-top: 12px; }
.ct-sw-fleet-survey__heading { text-align: center; width: 100%; }
.ct-sw-fleet-survey__row { display: flex; align-items: flex-start; gap: 20px; margin-top: 12px; }
.ct-sw-fleet-survey__heading { text-align: center; width: 100%; }





















@media (max-width: 768px) {
  
  
}
@media (max-width: 480px) {
  
  
}

/* ── Equipment We Service grid (restored) ── */
.ct-sw-equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-bottom: 32px;
}
.ct-sw-equip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 14px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: box-shadow .2s ease, transform .2s ease;
}
.ct-sw-equip-card:hover {
  box-shadow: 0 6px 20px rgba(30,64,175,.15);
  transform: translateY(-2px);
}
.ct-sw-equip-card__icon { width: 48px; height: 48px; color: var(--primary, #1e40af); }
.ct-sw-equip-card__icon svg { width: 48px; height: 48px; }

/* ── Feature cards (restored) ── */
.ct-sw-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.ct-sw-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.ct-sw-feature-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; color: #1e293b; }
.ct-sw-feature-card p { font-size: 1rem; font-weight: 500; color: #1e293b; }
.ct-sw-feature-card__icon { width: 52px; height: 52px; margin-bottom: 16px; color: var(--primary, #1e40af); }
.ct-sw-feature-card__icon svg { width: 52px; height: 52px; }

/* ── Industrial Retread — price tables ───────────────────── */
.ct-retread-nav {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 32px;
  scroll-margin-top: 80px;
}
.ct-retread-nav__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 8px;
}
.ct-retread-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ct-retread-nav__link {
  background: #fff;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s, transform .15s;
  display: inline-block;
}
.ct-retread-nav__link:hover,
.ct-retread-nav__link.is-active {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-color: #c8960a;
  color: #7a5500;
  box-shadow: 0 4px 16px rgba(200, 150, 0, 0.55);
  transform: translateY(-1px);
}
.ct-retread-backtop {
  text-align: right;
  margin-top: 10px;
  margin-bottom: 32px;
}
.ct-retread-backtop a {
  font-size: 0.92rem;
  font-weight: 700;
  color: #7a5500;
  text-decoration: none;
  border: 2px solid #c8960a;
  border-radius: 8px;
  padding: 7px 18px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  box-shadow: 0 2px 8px rgba(200, 150, 0, 0.35);
  transition: background .2s, box-shadow .2s, transform .15s;
  display: inline-block;
}
.ct-retread-backtop a:hover {
  background: linear-gradient(135deg, #ffe84d, #FFD700);
  box-shadow: 0 4px 16px rgba(200, 150, 0, 0.55);
  transform: translateY(-1px);
}

.ct-retread-table-heading {
  scroll-margin-top: 80px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
  margin: 36px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary, #1e40af);
}
.ct-retread-table-wrap {
  overflow-x: auto;
  margin-bottom: 8px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.ct-retread-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
}
.ct-retread-table thead tr {
  background: var(--primary, #1e40af);
  color: #fff;
}
.ct-retread-table thead th {
  padding: 9px 12px;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
}
.ct-retread-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.ct-retread-table tbody tr:hover {
  background: #eff6ff;
}
.ct-retread-table td {
  padding: 7px 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #374151;
  text-align: center;
}
.ct-retread-table td.ct-price {
  font-weight: 600;
  color: #1e40af;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ct-retread-table td.ct-na {
  color: #94a3b8;
  text-align: center;
}

/* ── Product Gallery — real images ───────────────────────── */
.ct-gallery-grid--real {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.ct-gallery-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center;
}
.ct-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30,64,175,.15);
}
.ct-gallery-item a {
  display: block;
}
.ct-gallery-item img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
  padding: 8px;
  box-sizing: border-box;
}
.ct-gallery-item__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  padding: 8px 6px;
  margin: 0;
  text-transform: capitalize;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.ct-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.ct-lightbox--open {
  display: flex;
}
.ct-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.85);
}
.ct-lightbox__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 90vw;
  max-height: 90vh;
}
.ct-lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display: block;
  margin: 0 auto;
}
.ct-lightbox__label {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 12px 0 0;
  text-transform: capitalize;
}
.ct-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.ct-lightbox__close:hover {
  background: rgba(255,255,255,.3);
}

/* ── TABLE + IMAGE SIDE-BY-SIDE ─────────────────────────── */
.ct-table-with-img {
    display: grid;
    grid-template-columns: 1fr 180px;
    grid-template-areas:
        "heading heading"
        "table   img";
    column-gap: 24px;
    align-items: start;
    margin-bottom: 40px;
}
.ct-table-with-img .ct-retread-table-heading {
    grid-area: heading;
}
.ct-table-with-img .ct-retread-table-wrap {
    grid-area: table;
    min-width: 0;
}
.ct-table-img-box {
    grid-area: img;
    width: 180px;
}
.ct-table-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    background: #f8fafc;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: block;
}
@media (max-width: 640px) {
    .ct-table-with-img {
        grid-template-columns: 1fr 90px;
        grid-template-areas:
            "heading img"
            "table   table";
    }
    .ct-table-img-box {
        width: 90px;
    }
    .ct-table-img {
        width: 90px;
        height: 90px;
    }
}

/* ── RETREAD TABLE BRAND TAG ─────────────────────────────── */
.ct-retread-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e40af;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 4px;
    padding: 2px 7px;
    vertical-align: middle;
    margin-left: 8px;
    white-space: nowrap;
}

/* ── DUAL-TABLE LAYOUT (main + specs side by side) ───────────────────── */
.ct-dual-tables {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ct-dual-tables__main {
    flex: 1 1 320px;
    min-width: 0;
}
.ct-dual-tables__spec {
    flex: 0 1 auto;
    min-width: 260px;
}

/* ── SECONDARY TABLE TITLE ───────────────────────────────────────────── */
.ct-secondary-table-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: #374151;
    padding: 5px 10px;
    margin: 0 0 0 0;
    border-radius: 4px 4px 0 0;
}

/* ── SPECS TABLE ─────────────────────────────────────────────────────── */
.ct-specs-table th,
.ct-specs-table td {
    font-size: 0.78rem;
    padding: 4px 8px;
    white-space: nowrap;
}

/* ── TABLE NOTES (radial/diagonal line) ──────────────────────────────── */
.ct-table-notes {
    font-size: 0.72rem;
    color: #6b7280;
    font-style: italic;
    margin: 6px 0 0 0;
    padding: 4px 6px;
    border-left: 3px solid #d1d5db;
}

@media (max-width: 640px) {
    .ct-dual-tables {
        flex-direction: column;
    }
    .ct-dual-tables__spec {
        width: 100%;
    }
}

/* ── Aircraft Tires: prominent "For Farm Use" subtitle ───────────────────── */
.page-id-56 .ct-page-hero__title    { margin-bottom: 0; }
.page-id-56 .ct-page-hero__tagline  {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
    margin-top: -2px;
    margin-bottom: 0;
}

/* ── Farm photo grid ────────────────────────────────────────────────────── */
.ct-farm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 28px 0;
}

.ct-farm-grid__item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.ct-farm-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.ct-farm-grid__item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .ct-farm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ct-farm-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* === QUICKDRAW SEALANT PAGE === */
.ct-quickdraw-heading {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 24px;
}
.ct-sealant-table .ct-sealant-img-cell {
    width: 180px;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    background: #000;
}
.ct-sealant-table .ct-sealant-img-cell img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}
@media (max-width: 600px) {
    .ct-sealant-table .ct-sealant-img-cell { width: 80px; }
    .ct-sealant-table .ct-sealant-img-cell img { max-width: 72px; }
}
.ct-sealant-callout {
    background: #f3f4f6;
    border-left: 4px solid #dc2626;
    border-radius: 6px;
    padding: 22px 28px;
    margin: 36px 0;
}
.ct-sealant-callout p {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
    margin: 0;
}
.ct-sealant-callout strong {
    color: #111827;
}

/* === SERVICE WORK INTRO === */
.ct-service-intro { max-width: 780px; margin: 0 0 40px; }
.ct-service-intro h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.ct-service-intro h2:first-child { margin-top: 0; }
.ct-service-intro p { margin-bottom: 12px; line-height: 1.75; color: var(--text); }
.ct-service-intro ul { margin: 8px 0 16px 20px; }
.ct-service-intro ul li { margin-bottom: 8px; line-height: 1.65; color: var(--text); }
.ct-service-intro strong { color: var(--primary); }

