/* First Class Covers Premium Theme Styles - 1:1 Elementor Match (Dark Theme) */

:root {
	--color-primary: #D4AF37; /* Bold Gold */
	--color-primary-hover: #b8972e;
	--color-bg-base: #000000;
	--color-bg-alt: #0a0a0a;
	--color-surface: #111111;
	--color-surface-hover: #1a1a1a;
	--color-border: #222222;
	--color-text-main: #FFFFFF;
	--color-text-muted: #A1A1AA;
/* 	--font-primary: 'Inter', sans-serif;
	--font-display: 'Montserrat', 'Outfit', sans-serif; */
	--font-primary: 'Roboto', sans-serif;
--font-display: 'Kanit', sans-serif;
	--border-radius: 8px;
	--transition: all 0.3s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-primary); color: var(--color-text-main); background-color: var(--color-bg-base); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--color-text-main); margin-top: 0; font-weight: 800; text-transform: uppercase; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-hover); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* Utilities */
.text-center { text-align: center; padding-bottom:20px; padding-top:20px; }
.text-left { text-align: left; }
.text-gold { color: var(--color-primary); }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.pb-4 { padding-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.padding-section { padding: 4rem 0; }
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.relative { position: relative; }
.absolute-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Grid Utilities */
.grid { display: grid; gap: 2rem; }
@media(min-width: 768px) {
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 16px 32px; border-radius: 5px; font-weight: 700;
	font-family: var(--font-display); cursor: pointer;
	border: 2px solid transparent; transition: var(--transition);
	text-transform: uppercase; letter-spacing: 1px; font-size: 1rem;
}
.btn--primary { background-color: var(--color-primary); color: var(--color-bg-base) !important; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.btn--outline { border-color: var(--color-primary); color: var(--color-primary) !important; background: transparent; }

@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover { background-color: var(--color-primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4); }
	.btn--outline:hover { background-color: var(--color-primary); color: var(--color-bg-base) !important; }
}

/* Split Animated Button */
.btn-split {
	display: inline-flex;
	align-items: stretch;
	height: 55px;
	background-color: var(--color-primary);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	border: none;
	overflow: hidden;
}
.btn-split-text {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 25px;
	z-index: 1;
	color: #fff;
}
.btn-split-text::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #333;
	z-index: -1;
	transform: translateX(-101%);
	transition: transform 0.4s ease-out;
}
@media (hover: hover) and (pointer: fine) {
	.btn-split:hover .btn-split-text::before {
		transform: translateX(0);
	}
}
.btn-split-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	border-left: 1px solid #111;
	background-color: var(--color-primary);
	color: #000;
	font-size: 1.2rem;
	z-index: 2;
}

/* Header */
.site-header { background: var(--color-bg-base); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 1000; }
.header-container { display: flex; justify-content: center; align-items: center; height: 90px; }
.site-logo { font-size: 1.8rem; font-weight: 900; color: var(--color-text-main); text-transform: uppercase; }

/* Desktop Navigation */
.main-navigation ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 30px; align-items: center; }
.main-navigation li { margin: 0; }
.main-navigation a { font-weight: 600; font-size: 1rem; color: var(--color-text-main); text-transform: uppercase; letter-spacing: 0.5px; }
.main-navigation a:hover { color: var(--color-primary); }
.menu-toggle { display: none; background: transparent; border: none; color: #fff; cursor: pointer; padding: 5px; }
@media (max-width: 768px) {
    .main-navigation ul { display: none; }
    .menu-toggle { display: block; }
}

/* Hero Section */
.hero-full-bg {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 6rem 0;
}
.hero-bottom-fade {
	position: absolute;
	bottom: -1px; left: 0; width: 100%; height: 250px;
	background: linear-gradient(to bottom, transparent 0%, #111 100%);
	z-index: 2; pointer-events: none;
}
.video-background-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.video-background-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay-gradient {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.3) 100%);
}
.hero-container { position: relative; z-index: 2; align-items: center; }
.hero-title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 500px; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); color: var(--color-text-muted); }
.hero-reviews-carousel {
	background: rgba(17, 17, 17, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(212, 175, 55, 0.3); border-radius: var(--border-radius);
	padding: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border-left: 4px solid var(--color-primary);
	max-width: 500px; margin-left: auto;
}
.review-slide-viewport { overflow: hidden; width: 100%; position: relative; }
.review-slide-track { display: flex; transition: transform 0.5s ease-in-out; gap: 20px; }
.review-slide { flex: 0 0 100%; min-width: 0; padding-right: 0; }
.review-slide-inner { display: flex; align-items: center; gap: 20px; }
.review-product-img { width: 140px; height: 140px; object-fit: cover; border-radius: var(--border-radius); flex-shrink: 0; }
.stars { font-size: 1.2rem; letter-spacing: 2px; }

@media (max-width: 768px) {
	.video-overlay-gradient { background: rgba(0,0,0,0.8); }
	.hero-container { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
	.hero-subtitle { margin-left: auto; margin-right: auto; }
	.hero-reviews-carousel { margin: 0 auto; text-align: left; }
}

/* Worn Out Seats */
.black-fade-bg { background: linear-gradient(to bottom, #111 0%, #000 100%); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
.benefits-advanced-grid {
	display: grid;
	grid-template-columns: 280px 1fr 280px;
	gap: 2rem;
	align-items: center;
}
@media (max-width: 1024px) {
	.benefits-advanced-grid { grid-template-columns: 1fr; }
	.benefits-left, .benefits-right { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 600px) {
	.benefits-left, .benefits-right { grid-template-columns: 1fr; }
}
.benefit-card {
	background: var(--color-surface); padding: 2rem 1.5rem; border-radius: var(--border-radius);
	text-align: center; border: 1px solid var(--color-border); transition: var(--transition);
}
.benefit-card:hover { border-color: var(--color-primary); transform: translateY(-3px); }
.benefit-card .icon-wrap img { height: 45px; margin-bottom: 1.2rem; }
.benefit-card h3 { font-size: 1.1rem; color: var(--color-text-main); margin-bottom: 0.8rem; }
.benefit-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

/* Before / After Slider */
.custom-slider-container {
	position: relative; width: 100%;
	overflow: hidden; border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.5); user-select: none; line-height: 0;
}
.before-image {
	position: relative; width: 100%; z-index: 1;
}
.after-image {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	z-index: 2; clip-path: inset(0 50% 0 0); transition: clip-path 0.1s ease-out;
}
.before-image img {
	width: 100%; height: 100%;object-fit:cover; display: block; pointer-events: none;
}
.after-image img {
	width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
}
.slider-badge {
	position: absolute; top: 20px; left: 20px;
	padding: 8px 16px; font-family: var(--font-display); font-weight: 700;
	font-size: 0.9rem; text-transform: uppercase; border-radius: 3px;
	pointer-events: none; white-space: nowrap; z-index: 5; line-height: normal;
}
.before-badge { background-color: #fff; color: #333; }
.after-badge { background-color: var(--color-primary); color: #fff; }
.slider-handle {
	position: absolute; top: 0; left: 50%; width: 44px; height: 100%;
	transform: translateX(-50%); cursor: ew-resize; z-index: 10;
	display: flex; justify-content: center; align-items: center;
	transition: left 0.1s ease-out;
}
.slider-line { width: 4px; height: 100%; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.pulse-icon {
	position: absolute; width: 44px; height: 44px; border-radius: 50%;
	background: #fff; box-shadow: 0 0 15px rgba(0,0,0,0.4); 
	display: flex; align-items: center; justify-content: space-between; padding: 0 8px; box-sizing: border-box;
}
.pulse-icon::before {
	content: ''; display: block; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 8px solid #000;
}
.pulse-icon::after {
	content: ''; display: block; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 8px solid #000;
}

/* Outperform Universals */
.comparison-section { border-bottom: 1px solid var(--color-border); }
.comparison-advanced-grid {
	display: grid;
	grid-template-columns: 2fr 2.5fr 2fr;
	gap: 2rem;
	align-items: stretch;
}
@media (max-width: 1024px) {
	.comparison-advanced-grid { grid-template-columns: 1fr; }
}
.comparison-column { display: flex; flex-direction: column; gap: 1rem; }
.comparison-col-header { background: #1a1a1a; padding: 20px; border-radius: 4px; border: 1px solid var(--color-border); font-size: 1.4rem; margin-bottom: 0 !important; }
.col-custom .comparison-col-header { background: rgba(212, 175, 55, 0.1); border-color: var(--color-primary); color: var(--color-primary); }
.comparison-box { flex-grow: 1; display: flex; gap: 15px; background: var(--color-surface); padding: 20px; border-radius: 6px; border: 1px solid var(--color-border); transition: var(--transition); margin-top: 0 !important; }
.comparison-box:hover { border-color: #333; }
.col-custom .comparison-box:hover { border-color: var(--color-primary); }
.comparison-box h4 { margin-bottom: 5px; font-size: 1.1rem; }
.comparison-box p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }
.icon-status { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); }

/* Process Section */
.process-section { background-color: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.process-row { align-items: center; }
.process-img-col img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.process-text-col { display: flex; flex-direction: column; justify-content: center; padding: 0 2rem; }
.process-num { font-family: var(--font-display); font-size: 4rem; color: var(--color-primary); font-weight: 900; line-height: 1; opacity: 0.8; margin-bottom: 0.5rem; }
.process-text-col h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.process-text-col p { color: var(--color-text-muted); font-size: 1.1rem; }
@media (max-width: 768px) {
	.process-text-col { padding: 0; margin-bottom: 2rem; }
	.process-reverse .order-reverse-mobile { order: -1; }
}

/* Fitment Section */
.fitment-grid { align-items: center; }
.vehicle-slide { display: none; background: var(--color-surface); padding: 40px; border-radius: 8px; border-left: 4px solid var(--color-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.vehicle-slide.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.vehicle-slide h3 { font-size: 2rem; margin-bottom: 1rem; }
.vehicle-slide p { font-size: 1.1rem; color: var(--color-text-muted); }
.nav-arrow { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 4px; padding: 12px; cursor: pointer; transition: var(--transition); display: inline-flex; }
.nav-arrow:hover { border-color: var(--color-primary); background: #222; }

.feature-icon-box { background: var(--color-surface); padding: 30px 20px; border-radius: 8px; border: 1px solid var(--color-border); transition: var(--transition); }
.feature-icon-box:hover { border-color: var(--color-primary); transform: translateY(-3px); }
.circle-icon { width: 50px; height: 50px; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }

/* Video Cards */
.videos-section { background-color: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.video-card { background: var(--color-surface); padding: 20px; border-radius: 8px; border: 1px solid var(--color-border); }
.video-thumb-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.video-play-btn { background: var(--color-primary); color: #000; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; padding-left: 5px; cursor: pointer; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.2s; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.video-thumb-wrap:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.video-card p { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }

/* FAQ */
.custom-accordion .accordion-item { border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; margin-bottom: 15px; background: var(--color-surface); }
.custom-accordion .accordion-header { width: 100%; text-align: left; background: transparent; border: none; padding: 25px 30px; font-size: 1.2rem; font-family: var(--font-display); color: #fff; font-weight: 700; cursor: pointer; position: relative; transition: var(--transition); border-left: 4px solid transparent; }
.custom-accordion .accordion-header::after { content: '+'; position: absolute; right: 30px; font-size: 1.8rem; color: var(--color-primary); }
.custom-accordion .accordion-header[aria-expanded="true"] { border-left-color: var(--color-primary); }
.custom-accordion .accordion-header[aria-expanded="true"]::after { content: '−'; }
.custom-accordion .accordion-content { padding: 0 30px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.custom-accordion .accordion-content p { color: var(--color-text-muted); padding-bottom: 25px; margin: 0; }

/* Footer Polish */
/* GLOBAL MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    /* Reduce global paddings to avoid large empty black voids */
    .padding-section { padding: 3rem 0; }
    
    /* Override arbitrary absolute inline paddings from front-page HTML */
    .section-divider, .speak-to-expert { padding: 60px 15px !important; }

    /* Force grids into a single vertical column */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
    
    /* Specific structural overrides */
    .hero-container.grid-2 { grid-template-columns: 1fr; gap: 2rem; padding-top: 40px !important; }
    .comparison-advanced-grid { grid-template-columns: 1fr !important; }

    /* Ensure container and body do not crop laterally or force side-scrolling */
    .container { padding: 0 15px; overflow-x: hidden; box-sizing: border-box; }
    body, html { overflow-x: hidden; width: 100%; max-width: 100vw; position: relative; margin: 0; padding: 0; }

    /* ========================================= */
    /* STANDARDIZED MOBILE HEADLINE SHRINKAGE    */
    /* Base configuration for PRIMARY headlines only */
    /* ========================================= */
    h1, h2, .hero-title, .section-title, h1[style], h2[style] { 
        font-size: 1.8rem !important; 
        line-height: 1.25 !important; 
        word-wrap: break-word !important; 
        word-break: break-word !important; 
        padding: 0 10px; /* Prevent edge touching */
        box-sizing: border-box;
    }
    
    /* Sub-headlines should drop below the primary H1/H2 weight */
    h3, .benefit-card h3, .process-text-col h3, .fitment-dynamic-text h3, h3[style] {
        font-size: 1.25rem !important; /* Slightly smaller than 1.8rem main headers */
        line-height: 1.3 !important;
        word-wrap: break-word !important; 
    }

    /* Standalone subheadings */
    .hero-subtitle { font-size: 1.1rem !important; word-wrap: break-word !important; padding: 0 10px; box-sizing: border-box; max-width: 100%; margin-left: auto; margin-right: auto; }

    /* Shrink the size of split-buttons and standalone buttons */
    /* Requested Update: height 52px, font-size 1rem, Fix vertical text padding */
    .btn, .btn-split { height: 52px; font-size: 1rem; max-width: 100%; display: inline-flex; align-items: center !important; overflow: hidden; white-space: normal; text-align: center; justify-content: center; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 1 !important; box-sizing: border-box; }
    .btn-split-text { padding: 0 15px; display: flex; align-items: center; justify-content: center; }
    .btn-split-icon { padding: 0 15px; display: flex; align-items: center; justify-content: center; }
    .hero-actions { display: flex; justify-content: center; width: 100%; overflow: hidden; padding: 0 10px; box-sizing: border-box; }

    /* REVIEWS BLOCK SHRINKAGE (CARD CAROUSEL FITS HORIZONTALLY, CARDS ARE VERTICAL) */
    .hero-reviews-carousel { padding: 15px; width: 100%; max-width: calc(100vw - 30px) !important; margin: 0 auto; box-sizing: border-box; border-left: none; }
    .review-slide-track { display: flex !important; flex-direction: row !important; gap: 20px; width: 100%; }
    .review-slide { flex: 0 0 100% !important; width: 100%; min-width: 100% !important; box-sizing: border-box; padding-right: 0 !important; }
    
    /* Transform slider card to be vertical so it fits perfectly on screen ! */
    .review-slide-inner { display: flex; flex-direction: column !important; text-align: center; gap: 10px; align-items: center; width: 100%; justify-content: center; }
    .review-product-img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; max-width: 320px; border-radius: var(--border-radius); margin: 0 auto; flex-shrink: 0; }
    .review-content-wrap { width: 100%; padding: 0 5px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; }
    .review-text { font-size: 0.95rem !important; line-height: 1.4; margin: 0 0 10px 0; word-wrap: break-word; }

    /* 10,000 DRIVERS PROCESS REORDERING */
    /* Handcrafted & Perfect Fit guarantee images MUST show above the text! */
    .process-row { display: flex !important; flex-direction: column !important; margin-bottom: 30px; }
    .process-row .process-img-col { order: 1 !important; margin-bottom: 20px; width: 100%; display: block; }
    .process-row .process-text-col { order: 2 !important; padding: 0 !important; width: 100%; box-sizing: border-box; display: block; text-align: center; }

    /* FITMENT SECTION CONFIGURATION ("Will it fit my vehicle") */
    .fitment-text-col { padding-left: 0 !important; text-align: center !important; display: flex; flex-direction: column; align-items: center; }
    .fitment-text-col h2, .fitment-text-col h3, .fitment-text-col p { text-align: center !important; width: 100%; margin-left: auto; margin-right: auto; }
    .fitment-controls { justify-content: center !important; width: 100%; }
    hr { margin-left: auto !important; margin-right: auto !important; }

    /* Adjust FAQ elements so text fits on narrow viewports */
    .fcc-accordion-wrap.custom-accordion .accordion-header { padding: 15px 20px; font-size: 0.9rem; }
    .fcc-accordion-wrap.custom-accordion .accordion-content p { font-size: 0.9rem; margin-left: 0; }

    /* Fix the footer spacing elements natively */
    .site-footer .container { padding: 30px 15px 40px !important; }
    .footer-logo h2 { font-size: 1.8rem !important; }
    .footer-bottom-links { gap: 15px !important; flex-direction: column; align-items: center; }
}
.speak-to-expert p { font-size: 1.2rem; }
