/*
Theme Name: Wheels and Deals
Theme URI: https://wheelsanddealscr.com
Author: Wheels and Deals
Author URI: https://wheelsanddealscr.com
Description: Custom, high-performance, 100% identical and fully mobile responsive WordPress theme for Wheels and Deals CR.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: wheelsanddealscr
*/

/* -------------------------------------------------------------
 * 1. CSS VARIABLES & DESIGN SYSTEM
 * ----------------------------------------------------------- */
:root {
  --wd-primary-color: #850000;
  --wd-primary-hover: #6d0000;
  --wd-primary-dark: #780305;
  --wd-header-bg: #484848;
  --wd-header-dark: #212121;
  --wd-text-dark: #222222;
  --wd-text-muted: #555555;
  --wd-text-light: #f5f5f5;
  --wd-bg-light: #f8f9fa;
  --wd-bg-card: #ffffff;
  --wd-border-color: #e5e5e5;
  --wd-container-w: 1220px;
  --wd-font-title: 'Oswald', sans-serif;
  --wd-font-body: 'Nunito', sans-serif;
  --wd-font-alt: 'Roboto', sans-serif;
  --wd-font-accent: 'Anton', sans-serif;
  --wd-radius-pill: 50px;
  --wd-radius-card: 15px;
  --wd-radius-sm: 5px;
  --wd-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --wd-shadow-md: 0 6px 16px rgba(0, 0, 0, 0.15);
  --wd-shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.2);
  --wd-header-h: 90px;
  --wd-header-sm-h: 70px;
}

/* -------------------------------------------------------------
 * 2. BASE RESETS & TYPOGRAPHY
 * ----------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wd-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wd-text-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wd-font-title);
  color: #000000;
  font-weight: 700;
  line-height: 1.25;
  text-transform: capitalize;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
  color: var(--wd-primary-color);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--wd-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--wd-container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------------------------
 * 3. BUTTONS & UI UTILITIES
 * ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wd-font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--wd-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--wd-primary-color);
  color: #ffffff !important;
  border-color: var(--wd-primary-color);
}

.btn-primary:hover {
  background-color: var(--wd-primary-hover);
  border-color: var(--wd-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(133, 0, 0, 0.3);
}

.btn-secondary {
  background-color: #333333;
  color: #ffffff !important;
}

.btn-secondary:hover {
  background-color: #111111;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--wd-primary-color);
  color: var(--wd-primary-color) !important;
}

.btn-outline:hover {
  background: var(--wd-primary-color);
  color: #ffffff !important;
}

.btn-full {
  width: 100%;
}

.section-title-wrap {
  margin-bottom: 30px;
  position: relative;
}

.section-subtitle {
  font-family: var(--wd-font-title);
  font-size: 14px;
  color: var(--wd-primary-color);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: #000000;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--wd-primary-color);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* -------------------------------------------------------------
 * 4. HEADER & NAVIGATION PILL BAR
 * ----------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
}

.header-container {
  max-width: var(--wd-container-w);
  margin: 0 auto;
  padding: 0 15px;
}

.header-pill {
  background-color: var(--wd-header-bg);
  border-radius: 50px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.header-logo img {
  max-height: 52px;
  width: auto;
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu-desktop a {
  font-family: var(--wd-font-title);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: capitalize;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
}

.nav-menu-desktop a:hover,
.nav-menu-desktop .current-menu-item > a {
  color: #ffffff;
}

.nav-menu-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--wd-primary-color);
  transition: width 0.25s ease;
}

.nav-menu-desktop a:hover::after,
.nav-menu-desktop .current-menu-item > a::after {
  width: 100%;
}

.header-cta-btn {
  background-color: var(--wd-primary-color);
  color: #ffffff !important;
  font-family: var(--wd-font-title);
  font-size: 16px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-cta-btn:hover {
  background-color: var(--wd-primary-hover);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  padding: 8px;
}

/* -------------------------------------------------------------
 * 5. MOBILE DRAWER NAVIGATION
 * ----------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: #1a1a1a;
  z-index: 10000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333333;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-links a {
  font-family: var(--wd-font-title);
  font-size: 20px;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-links a:hover {
  color: #ff5555;
  padding-left: 5px;
}

.mobile-drawer-cta {
  margin-top: auto;
  text-align: center;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* -------------------------------------------------------------
 * 6. HERO SLIDER SECTION
 * ----------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  min-height: 750px;
  background-color: #0c0c0c;
  background-image: url('assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.hero-slider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--wd-font-accent);
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 4px 4px 0px #870000;
  margin-bottom: 25px;
}

.hero-cars-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 340px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-car-main {
  position: absolute;
  max-width: 600px;
  z-index: 3;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8));
  animation: heroFloat 4s ease-in-out infinite alternate;
}

.hero-car-secondary {
  position: absolute;
  max-width: 450px;
  z-index: 2;
  left: 0;
  bottom: 20px;
  opacity: 0.9;
}

.hero-car-tertiary {
  position: absolute;
  max-width: 450px;
  z-index: 2;
  right: 0;
  bottom: 20px;
  opacity: 0.9;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hero-cta-btn {
  font-family: var(--wd-font-alt);
  font-size: 18px;
  font-weight: 500;
  background-color: var(--wd-primary-color);
  color: #ffffff !important;
  padding: 14px 40px;
  border-radius: 5px;
  border: 2px solid var(--wd-primary-color);
  transition: all 0.3s ease;
}

.hero-cta-btn:hover {
  background-color: var(--wd-primary-hover);
  border-color: var(--wd-primary-hover);
  transform: scale(1.05);
}

@keyframes heroFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* -------------------------------------------------------------
 * 7. ABOUT / WHAT SETS US APART SECTION
 * ----------------------------------------------------------- */
.section-apart {
  padding: 80px 0;
  background: url('assets/images/decor-about.png') no-repeat center center;
  background-size: cover;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.apart-img-box img {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.apart-text-content p {
  color: var(--wd-text-muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: var(--wd-radius-card);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

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

.feature-card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.feature-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card-text {
  font-size: 15px;
  color: var(--wd-text-muted);
}

/* -------------------------------------------------------------
 * 8. WALK IN & DRIVE OUT BANNER
 * ----------------------------------------------------------- */
.section-drive-out {
  padding: 70px 0;
}

.drive-out-img {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------------------------
 * 9. SEARCH BY BODY & MAKE (CATEGORY SHOWCASE)
 * ----------------------------------------------------------- */
.section-finder-categories {
  padding: 80px 0;
  background-color: #fafafa;
  border-top: 1px solid var(--wd-border-color);
  border-bottom: 1px solid var(--wd-border-color);
}

.body-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.body-type-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: block;
}

.body-type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(133, 0, 0, 0.15);
  border-color: var(--wd-primary-color);
}

.body-type-card img {
  height: 65px;
  width: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

.body-type-name {
  font-family: var(--wd-font-title);
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
}

.make-list-container {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.make-list-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.make-list-items a {
  color: #333333;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.make-list-items a:hover {
  color: var(--wd-primary-color);
  padding-left: 4px;
}

/* -------------------------------------------------------------
 * 10. VEHICLE INVENTORY GRID & CARDS
 * ----------------------------------------------------------- */
.section-inventory {
  padding: 70px 0;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.vehicle-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.vehicle-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #eee;
}

.vehicle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card:hover .vehicle-thumb img {
  transform: scale(1.05);
}

.vehicle-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wd-primary-color);
  color: #ffffff;
  font-family: var(--wd-font-title);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.vehicle-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111111;
}

.vehicle-title a {
  color: inherit;
}

.vehicle-title a:hover {
  color: var(--wd-primary-color);
}

.vehicle-price-banner {
  font-family: var(--wd-font-title);
  font-size: 19px;
  font-weight: 700;
  color: var(--wd-primary-color);
  margin-bottom: 15px;
}

.vehicle-specs-list {
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 13px;
  color: #444444;
}

.vehicle-specs-list li strong {
  color: #000000;
}

.vehicle-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-view-details {
  background: var(--wd-primary-color);
  color: #ffffff !important;
  font-family: var(--wd-font-title);
  font-weight: 700;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 15px;
}

.btn-view-details:hover {
  background: var(--wd-primary-hover);
}

/* -------------------------------------------------------------
 * 11. GET IN TOUCH / QUICK CONTACT & MAP
 * ----------------------------------------------------------- */
.section-contact-split {
  padding: 70px 0;
  background-color: var(--wd-primary-color);
  color: #ffffff;
}

.contact-card-white {
  background: #ffffff;
  color: #222222;
  padding: 40px;
  border-radius: var(--wd-radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-card-white h4 {
  color: #000000;
  font-size: 32px;
  margin-bottom: 25px;
}

.custom-form-row {
  margin-bottom: 16px;
  position: relative;
}

.custom-form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 5px;
  color: #222222;
  line-height: 1.2;
}

.custom-form-input,
.custom-form-textarea,
.custom-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px double var(--wd-primary-color);
  border-radius: 5px;
  font-family: var(--wd-font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin: 0;
}

.custom-form-input:focus,
.custom-form-textarea:focus {
  border-color: var(--wd-primary-hover);
  box-shadow: 0 0 0 3px rgba(133, 0, 0, 0.15);
}

.custom-form-submit {
  width: 100%;
  background-color: var(--wd-primary-color);
  color: #ffffff;
  font-family: var(--wd-font-title);
  font-size: 18px;
  font-weight: 700;
  padding: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.25s;
}

.custom-form-submit:hover {
  background-color: #6a0000;
}

/* Contact Form 7 Overrides & Native Styling */
.wpcf7-form p {
  margin: 0 0 16px 0;
}

.wpcf7-form br {
  display: none;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px double var(--wd-primary-color);
  border-radius: 5px;
  font-family: var(--wd-font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  background-color: #ffffff;
  margin: 0;
}

.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-textarea:focus {
  border-color: var(--wd-primary-hover);
  box-shadow: 0 0 0 3px rgba(133, 0, 0, 0.15);
}

.wpcf7-form .wpcf7-submit {
  width: 100%;
  background-color: var(--wd-primary-color);
  color: #ffffff;
  font-family: var(--wd-font-title);
  font-size: 18px;
  font-weight: 700;
  padding: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.25s;
}

.wpcf7-form .wpcf7-submit:hover {
  background-color: #6a0000;
}

.wpcf7-response-output {
  margin-top: 15px !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
}

.wpcf7-not-valid-tip {
  color: #d63638;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

/* Apply Online Application Styles */
.apply-online-wrapper {
  padding: 60px 0 90px 0;
  background-color: #f8f9fa;
}

.application-card {
  background: #ffffff;
  padding: 45px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  max-width: 960px;
  margin: 0 auto;
}

.app-form-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--wd-primary-color);
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  margin: 30px 0 20px 0;
}

.app-form-section-title:first-of-type {
  margin-top: 0;
}

.app-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.app-form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .app-form-grid-2,
  .app-form-grid-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .application-card {
    padding: 25px 20px;
  }
}

/* -------------------------------------------------------------
 * 12. TESTIMONIALS SECTION (Reference Site Google Reviews Design)
 * ----------------------------------------------------------- */
.section-testimonials {
  padding: 80px 0 90px 0;
  background-color: #ffffff;
}

.section-testimonials .section-subtitle {
  color: #850000;
  font-family: var(--wd-font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-testimonials .section-title {
  font-family: var(--wd-font-title);
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 45px;
}

.section-testimonials .section-title::after {
  display: none;
}

.testimonials-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-slides-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.testimonials-slide {
  min-width: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 10px 5px 25px 5px;
  box-sizing: border-box;
}

.google-review-card {
  display: flex;
  flex-direction: column;
}

.google-review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-left: 5px;
}

.google-g-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.google-review-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.google-reviewer-name {
  font-family: var(--wd-font-body);
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}

.google-star-rating {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 2px;
}

.google-review-bubble {
  position: relative;
  background-color: #800000;
  color: #ffffff;
  padding: 24px 22px;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  font-family: var(--wd-font-body);
  font-size: 14.5px;
  line-height: 1.65;
  flex-grow: 1;
  min-height: 170px;
}

.google-review-bubble::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #800000;
}

.testimonials-pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cccccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.testimonials-dot.active {
  background-color: #222222;
  transform: scale(1.25);
}

@media (max-width: 992px) {
  .testimonials-slide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials-slide {
    grid-template-columns: 1fr;
  }
  .section-testimonials .section-title {
    font-size: 32px;
  }
}

/* -------------------------------------------------------------
 * 13. PAGE TITLE & BANNER (INNER PAGES)
 * ----------------------------------------------------------- */
.inner-page-banner {
  position: relative;
  min-height: 280px;
  background-color: #111111;
  background-image: url('assets/images/page-banner-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  text-align: center;
  color: #ffffff;
}

.inner-page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.breadcrumbs {
  font-family: var(--wd-font-title);
  font-size: 15px;
  color: #cccccc;
}

.breadcrumbs a {
  color: #ffffff;
}

.breadcrumbs a:hover {
  color: #ff5555;
}

/* -------------------------------------------------------------
 * 14. INVENTORY / SHOP ARCHIVE LAYOUT
 * ----------------------------------------------------------- */
.shop-layout-container {
  padding: 60px 0;
}

.shop-grid-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 35px;
  align-items: start;
}

.shop-sidebar {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--wd-border-color);
}

.sidebar-widget {
  margin-bottom: 30px;
}

.sidebar-widget-title {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--wd-primary-color);
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.sidebar-filter-list li {
  margin-bottom: 8px;
}

.sidebar-filter-list a {
  color: #444444;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.sidebar-filter-list a:hover {
  color: var(--wd-primary-color);
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--wd-border-color);
}

.shop-result-count {
  font-weight: 600;
  color: var(--wd-text-muted);
}

.shop-sort-select {
  padding: 8px 12px;
  border: 1px solid var(--wd-border-color);
  border-radius: 5px;
  font-family: var(--wd-font-body);
}

/* -------------------------------------------------------------
 * 15. SINGLE VEHICLE DETAILS
 * ----------------------------------------------------------- */
.single-vehicle-wrap {
  padding: 60px 0;
}

.single-vehicle-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.vehicle-gallery-main {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.vehicle-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.vehicle-gallery-thumbs img {
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.vehicle-gallery-thumbs img:hover,
.vehicle-gallery-thumbs img.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--wd-primary-color);
}

.single-vehicle-info {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.single-vehicle-title {
  font-size: 32px;
  margin-bottom: 15px;
}

.single-vehicle-price {
  font-family: var(--wd-font-title);
  font-size: 26px;
  color: var(--wd-primary-color);
  font-weight: 700;
  margin-bottom: 25px;
  padding: 10px 16px;
  background: #fff1f1;
  border-left: 4px solid var(--wd-primary-color);
  border-radius: 4px;
}

.single-vehicle-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.single-vehicle-specs-table th,
.single-vehicle-specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eeeeee;
  font-size: 15px;
}

.single-vehicle-specs-table th {
  text-align: left;
  color: #666666;
  width: 40%;
}

.single-vehicle-specs-table td {
  font-weight: 700;
  color: #111111;
}

.single-vehicle-actions {
  display: flex;
  gap: 15px;
}

/* -------------------------------------------------------------
 * 16. APPLY ONLINE MULTI-STEP APPLICATION FORM
 * ----------------------------------------------------------- */
.apply-online-wrapper {
  padding: 60px 0;
}

.application-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--wd-border-color);
}

.app-form-section-title {
  font-size: 24px;
  border-bottom: 2px solid var(--wd-primary-color);
  padding-bottom: 10px;
  margin: 30px 0 20px;
  color: var(--wd-primary-color);
}

.app-form-section-title:first-of-type {
  margin-top: 0;
}

.app-form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* -------------------------------------------------------------
 * 17. ABOUT US PAGE SPECIFICS
 * ----------------------------------------------------------- */
.about-page-container {
  padding: 60px 0;
}

.about-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.about-info-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.about-info-box img {
  margin: 0 auto 15px;
}

.about-map-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #730000;
  padding: 35px;
  border-radius: 20px;
  color: #ffffff;
}

.about-map-frame iframe {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  border: none;
}

/* -------------------------------------------------------------
 * 18. 404 ERROR PAGE
 * ----------------------------------------------------------- */
.error-404-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.error-404-card {
  max-width: 650px;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.error-code {
  font-family: var(--wd-font-accent);
  font-size: 100px;
  color: var(--wd-primary-color);
  line-height: 1;
  margin-bottom: 10px;
}

.error-message-title {
  font-size: 28px;
  margin-bottom: 15px;
}

.error-message-text {
  font-size: 16px;
  color: var(--wd-text-muted);
  margin-bottom: 30px;
}

.error-search-box {
  margin-bottom: 30px;
}

.error-search-box form {
  display: flex;
  gap: 10px;
}

.error-search-input {
  flex-grow: 1;
  padding: 12px 18px;
  border: 2px solid #ddd;
  border-radius: var(--wd-radius-pill);
  outline: none;
  font-family: var(--wd-font-body);
}

.error-search-input:focus {
  border-color: var(--wd-primary-color);
}

/* -------------------------------------------------------------
 * 19. FOOTER & COPYRIGHT BAR
 * ----------------------------------------------------------- */
.site-footer {
  background-color: var(--wd-primary-color);
  color: #ffffff;
  padding-top: 60px;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #ffffff;
}

.footer-logo {
  max-width: 220px;
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.25s ease;
}

.social-icon-circle:hover {
  background: #ffffff;
  color: var(--wd-primary-color);
  transform: translateY(-3px);
}

.footer-quick-links li {
  margin-bottom: 10px;
}

.footer-quick-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 16px;
}

.footer-quick-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.footer-contact-text h5 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 2px;
}

.footer-contact-text p,
.footer-contact-text a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  text-decoration: underline;
}

.footer-copyright-bar {
  background-color: #111111;
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
  color: #aaaaaa;
}

.footer-copyright-bar a {
  color: #ffffff;
}

.scroll-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background-color: var(--wd-primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* -------------------------------------------------------------
 * 20. POPUP MODAL (ENQUIRY / CAR FINDER)
 * ----------------------------------------------------------- */
.theme-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.theme-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.theme-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  padding: 35px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.theme-modal-backdrop.active .theme-modal-box {
  transform: translateY(0);
}

.theme-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #888;
}

.theme-modal-close:hover {
  color: #000;
}

/* -------------------------------------------------------------
 * 21. RESPONSIVE MEDIA QUERIES (MOBILE OPTIMIZATION)
 * ----------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --wd-header-h: 75px;
  }

  .nav-menu-desktop,
  .header-cta-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2col {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .body-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-map-split {
    grid-template-columns: 1fr;
  }

  .single-vehicle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    min-height: 550px;
    padding-top: 100px;
  }

  .hero-headline {
    font-size: 34px;
    letter-spacing: 1px;
  }

  .hero-cars-stage {
    height: 220px;
  }

  .hero-car-main {
    max-width: 320px;
  }

  .hero-car-secondary,
  .hero-car-tertiary {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr;
  }

  .vehicles-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid-wrapper {
    grid-template-columns: 1fr;
  }

  .app-form-grid-3,
  .app-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .about-cards-row {
    grid-template-columns: 1fr;
  }

  .body-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 28px;
  }

  .contact-card-white {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .body-types-grid {
    grid-template-columns: 1fr;
  }

  .header-logo img {
    max-height: 40px;
  }

  .header-pill {
    padding: 6px 16px;
  }
}

/* -------------------------------------------------------------
 * 15. UNIFIED SHOP SIDEBAR FILTERS (MAKE & BODY)
 * ----------------------------------------------------------- */
.sidebar-widget {
  background: #ffffff;
  border-radius: 10px;
  padding: 22px 20px;
  margin-bottom: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.sidebar-widget-title {
  font-family: var(--wd-font-title);
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #850000;
  display: flex;
  align-items: center;
}

.sidebar-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-filter-list li {
  margin-bottom: 8px;
  border-bottom: 1px solid #f8f8f8;
}

.sidebar-filter-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.sidebar-filter-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #444444;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-filter-list li a:hover {
  background: #fdf2f2;
  color: var(--wd-primary-color);
  padding-left: 14px;
}

.sidebar-filter-list li.active-filter a {
  background: var(--wd-primary-color);
  color: #ffffff;
  padding-left: 12px;
}

.sidebar-filter-list .filter-count {
  background: #f0f0f0;
  color: #666666;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.sidebar-filter-list li a:hover .filter-count {
  background: var(--wd-primary-color);
  color: #ffffff;
}

.sidebar-filter-list li.active-filter .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* -------------------------------------------------------------
 * 16. REFERENCE CLEAN INVENTORY GRID (MATCHING REFERENCE SITE)
 * ----------------------------------------------------------- */
.shop-header-toolbar {
  padding-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
}

.shop-breadcrumbs-nav a:hover {
  color: var(--wd-primary-color) !important;
}

.per-page-link {
  color: #555555;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.per-page-link:hover,
.per-page-link.active {
  color: #000000;
  font-weight: 700;
}

.grid-view-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #bbbbbb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.grid-view-btn:hover,
.grid-view-btn.active {
  color: #222222;
}

.shop-sort-dropdown {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.shop-sort-dropdown:focus,
.shop-sort-dropdown:hover {
  border-color: #850000;
}

/* Reference Grid Layout */
.shop-reference-grid {
  display: grid;
  gap: 30px 24px;
  margin-top: 25px;
}

.shop-reference-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.shop-reference-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.shop-reference-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Vehicle Item Card */
.shop-ref-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transition: transform 0.25s ease;
}

.shop-ref-item:hover {
  transform: translateY(-4px);
}

.shop-ref-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background-color: #f7f7f7;
  aspect-ratio: 430 / 287;
}

.shop-ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.shop-ref-item:hover .shop-ref-thumb img {
  transform: scale(1.04);
}

.shop-ref-info {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shop-ref-title {
  font-family: var(--wd-font-body);
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.shop-ref-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.shop-ref-title a:hover {
  color: #850000;
}

.shop-ref-price-tag {
  font-family: var(--wd-font-body);
  font-size: 15px;
  font-weight: 700;
  color: #850000;
  margin-bottom: 12px;
}

.shop-ref-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #333333;
  line-height: 1.6;
}

.shop-ref-specs li {
  margin-bottom: 2px;
}

.shop-ref-specs strong {
  font-weight: 700;
  color: #000000;
}

.shop-ref-btn-wrap {
  margin-top: auto;
}

.shop-ref-btn {
  display: inline-block;
  background-color: #850000;
  color: #ffffff !important;
  font-family: var(--wd-font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.shop-ref-btn:hover {
  background-color: #680000;
  transform: translateY(-1px);
}

/* -------------------------------------------------------------
 * 16. SINGLE VEHICLE PRODUCT PAGE (Reference Site Layout)
 * ----------------------------------------------------------- */
.product-image-summary-grid {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.product-gallery-col {
  position: relative;
}

.product-main-image-container {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f7f7f7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
}

.product-featured-img {
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 467;
  object-fit: cover;
  display: block;
}

.gallery-enlarge-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  pointer-events: none;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-thumb-item {
  width: 90px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.75;
  transition: all 0.2s ease;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb-item:hover,
.gallery-thumb-item.active {
  opacity: 1;
  border-color: #850000;
  box-shadow: 0 2px 6px rgba(133, 0, 0, 0.25);
}

.product-summary-col {
  padding-left: 10px;
}

.single-product-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #1d2327;
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.single-product-price-box {
  font-family: var(--wd-font-body);
  font-size: 26px;
  font-weight: 700;
  color: #850000;
  margin-bottom: 22px;
  line-height: 1.2;
}

.single-product-short-specs {
  background: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 25px;
}

.ref-specs-list-2col {
  column-count: 2;
  column-gap: 30px;
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #333333;
}

.ref-specs-list-2col li {
  margin-bottom: 6px;
}

.ref-specs-list-2col strong {
  color: #000000;
  font-weight: 700;
}

.single-product-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.btn-ref-enquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #850000;
  color: #ffffff;
  font-family: var(--wd-font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.btn-ref-enquiry:hover {
  background-color: #680000;
  transform: translateY(-2px);
}

.btn-ref-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #333333;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.btn-ref-apply:hover {
  background-color: #111111;
}

.btn-ref-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #28a745;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.btn-ref-phone:hover {
  background-color: #218838;
}

/* Bottom Tabs Section */
.product-bottom-tabs-wrap {
  border-top: 1px solid #e0e0e0;
  padding-top: 40px;
  margin-top: 20px;
}

.product-tabs-nav {
  display: flex;
  gap: 25px;
  border-bottom: 2px solid #eeeeee;
  margin-bottom: 25px;
}

.product-tab-btn {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #777777;
  padding: 0 0 12px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.product-tab-btn:hover {
  color: #850000;
}

.product-tab-btn.active {
  color: #850000;
}

.product-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #850000;
}

.product-tab-pane {
  display: none;
}

.product-tab-pane.active {
  display: block;
}

/* Attributes Table matching WooCommerce / Reference Site */
.woocommerce-product-attributes.shop_attributes {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin-top: 10px;
}

.woocommerce-product-attributes-item {
  border-bottom: 1px solid #f0f0f0;
}

.woocommerce-product-attributes-item:nth-child(even) {
  background-color: #fafafa;
}

.woocommerce-product-attributes-item__label {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: #333333;
  width: 35%;
  font-size: 14.5px;
}

.woocommerce-product-attributes-item__value {
  padding: 12px 16px;
  color: #555555;
  font-size: 14.5px;
}

/* Responsive Single Product Layout */
@media (max-width: 900px) {
  .product-image-summary-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-summary-col {
    padding-left: 0;
  }

  .ref-specs-list-2col {
    column-count: 1;
  }
}

/* Responsive Grid Breakpoints */
@media (max-width: 1100px) {
  .shop-reference-grid.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .shop-reference-grid.cols-4,
  .shop-reference-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .shop-reference-grid.cols-4,
  .shop-reference-grid.cols-3,
  .shop-reference-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
 * 17. INVENTORY & ARCHIVE PAGINATION
 * ----------------------------------------------------------- */
.pagination-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-wrapper ul.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-wrapper .page-numbers li {
  margin: 0;
  padding: 0;
  display: inline-block;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-family: var(--wd-font-body);
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pagination-wrapper .page-numbers a:hover {
  background-color: #f8f9fa;
  color: #850000;
  border-color: #850000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(133, 0, 0, 0.12);
}

.pagination-wrapper .page-numbers .current {
  background-color: #850000;
  color: #ffffff !important;
  border-color: #850000;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(133, 0, 0, 0.28);
  cursor: default;
}

.pagination-wrapper .page-numbers .dots {
  border: none;
  background: transparent;
  box-shadow: none;
  min-width: 24px;
  color: #999999;
}

