/*
Theme Name: DXL Graphics Template
Theme URI: https://grandprix.qodeinteractive.com
Description: A child theme of GrandPrix Theme
Author: Mikado Themes
Author URI: http://themeforest.net/user/mikado-themes
Version: 1.0.0
Text Domain: grandprix
Template: grandprix
*/

.mkdf-title-holder.mkdf-breadcrumbs-type .mkdf-breadcrumbs span.mkdf-current {
  color: #35c4c1;
}
.mkdf-title-holder.mkdf-breadcrumbs-type .mkdf-breadcrumbs a:hover {
  color: #35c4c1;
}

.mkdf-main-menu > ul > li > a > span.item_outer:before {
  background-color: #35c4c1;
}

.mkdf-drop-down .second .inner ul li a .item_outer:before {
  background-color: #35c4c1;
}

.mkdf-drop-down .narrow .second .inner ul {
  padding: 15px 0 15px;
}

.mkdf-main-menu ul li a {
  line-height: 24px;
}

.mkdf-main-menu > ul > li:hover > a {
  background-color: #000;
}

/* ========================
   1. BASIC RESETS
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================
   2. HERO SECTION
======================== */

/* Hero Section Styles */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
}

.slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

.slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the full section */
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10; /* Ensures content is above the image */
  padding: 20px;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Optional: darken background for readability */
  border-radius: 10px;
}

.hero-heading {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  font-weight: lighter;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-button {
  padding: 15px 30px;
  background-color: #ff6f61; /* Button color */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #d85d51; /* Darker shade on hover */
}

/* 
.hero-section {
    background: url('https://via.placeholder.com/1200x600') no-repeat center center;
    background-size: cover;
    padding: 4rem 2rem;
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-button {
    background-color: #35c4c1;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

.hero-button:hover {
    background-color: #cc5200;
} */

/* ========================
   3. FEATURED SECTION
======================== */
.featured-section {
  background-color: #f9f9f9;
  padding: 3rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  transition: box-shadow 0.2s ease-in-out;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: #0073aa;
  font-weight: bold;
}

.card-link:hover {
  text-decoration: underline;
}

/* ========================
   4. LATEST POSTS
======================== */
.latest-posts {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.post-item {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
}

.post-link {
  text-decoration: none;
  color: #333;
}

.post-thumbnail img {
  width: 100%;
  border-radius: 4px 4px 0 0;
  margin-bottom: 1rem;
}

.post-title {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.post-excerpt {
  color: #666;
  margin-top: 0.5rem;
}

/* ========================
   5. CALL TO ACTION
======================== */
.call-to-action {
  background-color: #0073aa;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
}

.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.call-to-action p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #35c4c1;
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: #cc5200;
}

/* ========================
   6. MEDIA QUERIES
======================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .featured-cards,
  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-button {
    padding: 0.75rem 1.5rem;
  }
  .featured-cards,
  .posts-grid {
    grid-template-columns: 1fr; /* 1 column on narrow screens */
  }
}

.color-table {
  display: flex;
  flex-wrap: wrap; /* Allows elements to wrap onto new lines */
  gap: 10px; /* Adds spacing between divs */
}

div.kit_color {
  display: block;
  width: 49%;
  text-align: center;
}

.full-width {
  width: 100%;
}

div.kit_color div.label {
  display: none;
}

/* Ensure the parent container takes full width */
.color-header {
  width: 100%;
  display: flex !important;
  justify-content: center; /* Center content */
  padding: 10px 0;
}

/* Make text-cell a flexbox to align items */
.text-cell {
  display: flex;
  justify-content: space-between; /* Places items on opposite ends */
  align-items: center;
  width: 620px; /* Full width */
}

/* Style for left and right header elements */
.header-left,
.header-right {
  width: 49%; /* Each takes half of the available space */
  text-align: center;
  font-weight: bold;
  padding: 5px;
}

.subcategory-list {
  display: flex;
  justify-content: space-between;
}

.subcategory-grid {
  flex: 1;
}

.sidebar {
  width: 350px;
  margin-left: 20px; /* Adjust as needed */
}

.shop-sidebar-widget img {
  width: 100%;
  height: auto;
}

/* Style Select2 Dropdown */
.fclass .iclass .select2-results__option {
  padding-left: 40px !important;
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: left center;
}

img.color-select-item {
  width: 180px;
  height: 30px;
  margin-right: 50px;
}


