:root {
  --primary: #e63946;
  --secondary: #303030;
  --secondary-1: rgba(60, 60, 67, 60%);
  --grey: #f1f1f1;
  --card-box-shadow: 0px 1.375rem 5.25rem rgb(0, 0, 0, 11%);
  font-size: 0.85vw;
  --padding-inline: 12rem;
}
@media (max-width: 2000px) {
  :root {
    font-size: 0.85vw;
    --padding-inline: 8.25rem;
  }
}
@media (max-width: 1910px) {
  :root {
    font-size: 1.1vw;
    --padding-inline: 3.25rem;
  }
}
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.top-bar {
  height: 5.5rem;
}

.top-bar .logo {
  height: 2.875rem;
  width: auto;
}

/* Basket Loader Styles */
.basket-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  width: 100%;
  margin: 15px 0;
}

.loader-container {
  text-align: center;
  padding: 25px 15px;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
  box-shadow: 0 3px 12px rgba(230, 57, 70, 0.2);
}

.loader-text {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: 0.5px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Responsive loader adjustments */
@media (max-width: 768px) {
  .basket-loader {
    min-height: 180px;
    margin: 12px 0;
  }
  
  .loader-spinner {
    width: 45px;
    height: 45px;
    border-width: 3px;
  }
  
  .loader-text {
    font-size: 0.95rem;
  }
  
  .loader-container {
    padding: 20px 12px;
  }

  /* Responsive menu adjustments */
  .desktop-header-menu-list {
    gap: 3rem;
  }

  .desktop-header-menu-list a {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }
}

@media (max-width: 480px) {
  .basket-loader {
    min-height: 150px;
  }
  
  .loader-spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
  }
  
  .loader-text {
    font-size: 0.9rem;
  }

  /* Small screen menu adjustments */
  .desktop-header-menu-list {
    gap: 2rem;
  }

  .desktop-header-menu-list a {
    font-size: 0.85rem;
    padding: 0.3rem 0;
  }
}

/* search input */
.search-box {
  position: relative;
  width: fit-content;
  height: fit-content;
}

.search-box input[type="text"] {
  width: 35rem;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  background-color: #f0f0f0;
  border-radius: 0.625rem;
  font-size: 1rem;
  outline: none;
  border: none;
  color: var(--secondary-1);
}

.search-box input[type="text"]:focus {
  border-color: var(--secondary);
  box-shadow: unset;
}

.search-box .icon {
  position: absolute;
  top: 45%;
  left: 0.5rem;
  transform: translateY(-50%);
  color: var(--secondary-1);
}

input[type="text"]::placeholder {
  color: var(--secondary-1);
  font-size: 1rem;
  font-weight: 500;
}

.top-bar .btn {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  width: fit-content;
  padding: 0.4rem 1.0625rem;
  height: fit-content;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-inline: var(--padding-inline);
}
.top-bar .search-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 100%;
}

.desktop-header {
  background-color: var(--secondary);
  color: white;
  height: 3.375rem;
}

/* header links */
.desktop-header-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

/* WordPress Menu Classes for Active/Current Items */
.desktop-header-menu-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6rem;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-header-menu-list li {
  position: relative;
}

.desktop-header-menu-list a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

/* Active/Current Menu Item Styling */
.desktop-header-menu-list .current-menu-item > a,
.desktop-header-menu-list .current_page_item > a,
.desktop-header-menu-list .current-menu-ancestor > a {
  position: relative;
}

.desktop-header-menu-list .current-menu-item > a::after,
.desktop-header-menu-list .current_page_item > a::after,
.desktop-header-menu-list .current-menu-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.desktop-header-menu-list .current-menu-item > a:hover::after,
.desktop-header-menu-list .current_page_item > a:hover::after,
.desktop-header-menu-list .current-menu-ancestor > a:hover::after {
  transform: scaleX(1.1);
}

/* Hover effects for all menu items */
.desktop-header-menu-list a:hover {
  color: var(--primary);
  opacity: 0.9;
}

/* Submenu styling if needed */
.desktop-header-menu-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--secondary);
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  z-index: 1000;
}

.desktop-header-menu-list li:hover .sub-menu {
  display: block;
}

.desktop-header-menu-list .sub-menu a {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-header-menu-list .sub-menu a:last-child {
  border-bottom: none;
}

.desktop-header .container {
  padding-inline: var(--padding-inline);
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.desktop-header .desktop-header-menu {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.desktop-header .desktop-header-language {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.2rem;
}
.lg-icon {
  margin-right: 0.5rem;
}

/* advance search modal */
.advanced-search-modal {
  position: absolute;
  padding: 1rem 1.5rem;
  top: 4.7rem;
  background-color: white;
  right: 0;
  left: 0;
  box-shadow: var(--card-box-shadow);
  border-radius: 0.625rem;
  z-index: 2;
}
.advanced-search-modal .row {
  --bs-gutter-x: 1rem !important;
}

.hidden {
  display: none;
}
/*  styled select */
select {
  appearance: none; /* Remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px 40px 10px 15px;
  font-size: 16px;
  border-radius: 5px;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4L2 0z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  cursor: pointer;
}
.dropdown-toggle {
  padding: 0.5rem !important;
  background-color: #f0f0f0 !important;
  border-radius: 0.625rem;
  color: var(--secondary-1);
  font-size: 1rem;
  font-weight: 500 !important;
  outline: none;
  border: none;
  color: var(--secondary-1) !important;
  width: 100% !important;
  position: relative;
}

.dropdown-toggle::after {
  position: absolute;
  right: 1rem;
}

.btn-adv-search {
  padding: 0.4rem 2.2rem !important;
}
#footer {
  height: 4.25rem;
  background-color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: var(--padding-inline);
}

/* footer */
.social-icon-list a {
  text-decoration: none;
  color: white;
  margin-inline-end: 0.625rem;
}

.social-icon-container {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.5%;
  display: flex;
  gap: 0.625rem;
}
.social-icon-container p {
  margin-bottom: 0px;
}

.footer-contact-link {
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

.footer-contact-link a {
  color: white;
  text-decoration: none;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 1.875rem;
}
.footer-copyright {
  text-align: center;
  /* height: 3.5rem; */
  padding: 1rem 0 0.5rem 0;
  font-size: 1rem;
  color: #ffffff;
  background-color: var(--secondary);
  padding-inline: var(--padding-inline);
  border-top: 1px solid #ffffff33;
}

.footer-copyright p{
  margin-bottom: unset;
  margin: 0 auto;
}

.body {
  min-height: 90vh;
}

.mobile-header {
  display: none;
}
.banner-item {
  background-size: cover;
  background-repeat: no-repeat;
}
.banner,
.banner-item,
.banner-item h1,
.banner-item p {
  position: relative;
}

.banner-item {
  justify-content: center;
  display: flex;
}
.banner-item {
  background-position: center;
  height: 19rem;
  flex-direction: column;
  padding-inline: var(--padding-inline);
}

.banner-item h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary);
  z-index: 1;
  margin-bottom: 2.6875rem;
  margin-top: 0;
}
.banner-item p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--secondary);
  z-index: 1;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 50rem;
}
.owl-carousel-1.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: -2rem;
  z-index: 2;
  position: relative;
}

/* carousel dots theme */
.owl-theme .owl-dots .owl-dot span {
  width: 0.7188rem;
  height: 0.7188rem;
  margin: 4px 4px;
  background: #d6d6d6;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 0.2s ease;
  border-radius: 30px;
  background: rgba(153, 153, 153, 20%);
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  width: 0.9375rem;
  height: 0.9375rem;
  background: #787878;
  transition: all 0.3s ease-in-out;
}

/* Counter */
.counter-icon {
  color: #e63946;
  background-color: rgb(230, 57, 70, 20%);
  border-radius: 50%;
  height: 4.0625rem;
  width: 4.0625rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}
.counter-card {
  display: flex;
  gap: 1rem;
  background-color: var(--secondary);
  color: white;
  padding: 1.75rem;
  border-radius: 0.75rem;
  align-items: start;
  justify-content: space-between;
  height: 100%;
}

.counter-text span {
  font-size: 2.125rem;
  font-weight: 500;
}
.counter-text p {
  margin-bottom: 0;
  font-size: 1.125rem;
  font-weight: 500;
}
.counter-section {
  padding-inline: var(--padding-inline);
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.section-title {
  font-size: 1.25rem;
  line-height: 1.25rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 2rem;
}
.news-card-link {
  text-decoration: none;  /* removes underline */
  color: inherit;         /* makes link text inherit color from parent */
}

.news-card-link:hover,
.news-card-link:focus,
.news-card-link:active {
  text-decoration: none;  /* keep underline removed on hover/focus */
  color: inherit;         /* keep text color consistent */
}

.news-blogs-section {
  padding-inline: calc(var(--padding-inline) - 1.5rem);
}
.news-card-image img {
  height: 100%;
  width: 100%;
  transition: all 0.5s ease-in-out;
}
.news-card-image {
  height: 17.75rem;
  width: 100%;
  overflow: hidden;
}
.news-card:hover .news-card-image img {
  transform: scale(1.1);
}
.news-card {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0px 0.2rem 1rem rgb(0, 0, 0, 11%);
  text-decoration: none;
}
/* .news-card:hover .news-card-title {
  color: var(--primary);
} */
.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  transition: all 0.5s ease-in-out;
}
.news-card-content {
  padding: 1.25rem 1.25rem 2rem 1.25rem;
}
.date {
  display: flex;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}
.news-card-viewall {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn-viewall {
  display: flex;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
  text-decoration: none;
  padding-inline-end: 1.5rem;
}
.owl-carousel-2 .item,
.owl-carousel-3 .item {
  padding: 1.1rem;
}
.news-blogs-section .section-title {
  padding-inline-start: 1.5rem;
  margin-bottom: 0rem;
}

.news-blogs-section .row {
  --bs-gutter-x: 0rem !important;
}
/* explore section */

.explore-section {
  padding-inline: var(--padding-inline);
  margin-top: 3rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 5rem;
  color: white;
}

.explore-description {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.75rem;
  max-width: 37.5rem;
}

.explore-title {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.featured-section {
  padding-inline: var(--padding-inline);
  margin-block: 3rem;
}
.featured-section .mb-4 {
  margin-bottom: 2rem !important;
}
.feature-card img {
  height: 12rem;
  width: 12rem;
  object-fit: contain;
}

.feature-card {
  background-color: var(--grey);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  padding-inline: 2rem;
  height: 22rem;
}
.feature-card-btn {
  width: 15rem;
  margin-top: 2rem;
}

.btn-primary.hug {
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  background-color: var(--primary);
  border-radius: 0.75rem;
  border: unset;
  overflow: unset;
}
.btn-primary {
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--primary);
  border-radius: 0.75rem;
  border: unset;
  overflow: unset;
  padding-inline: 2rem;
}
.btn-primary:focus,
.btn-primary:hover {
  background-color: #ab202b !important;
}

.testimonial-card {
  border-radius: 0.75rem;
  box-shadow: 0px 0.2rem 1rem rgb(0, 0, 0, 11%);
  padding: 2rem;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: url(../img/quotes.svg);
  background-repeat: no-repeat;
  background-size: auto 2.8544rem;
background-position: 2.5rem 3.25rem;
  background-color: white;}
.testimonial-card-image {
  height: 16.25rem;
  width: 16.25rem;
  border-radius: 50%;
  overflow: hidden;
}
.testimonial-card-image img {
  height: 100%;
  width: 100%;
}
.owl-carousel-4 .item {
  padding: 1.5rem;
}
.testimonial-section {
  padding-inline: calc(var(--padding-inline) - 1.5rem);
  padding-bottom: 2rem;
  background: url(../img/layer-2.svg), url(../img/layer-3.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: -51% 101%, 102% 100%;
}
.testimonial-card-content {
  padding-inline-start: 0;
  margin-top: 4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 5rem;
}
.testimonial-card-content h5 {
  font-size: 1.5625rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.testimonial-card-content h6 {
  font-size: 1.25rem;
  font-weight: bold;
}
.testimonial-card-content h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);;
  /* margin: 0; */
}
.testimonial-card-content p {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.375rem;
  margin-bottom: 2.5rem;
}

.ifram-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0px 0.2rem 1rem rgb(0, 0, 0, 11%);
  margin-inline: 1.5rem;
  height: 26.5rem;
  margin-top: 1.0rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-container {
  padding-top: 1rem;
  position: fixed;
  z-index: 2;
  background-color: white;
  width: 100%;
}
.body {
  padding-top: 10rem;
}
.owl-carousel-1.owl-theme .owl-nav.disabled + .owl-dots {
  position: absolute;
  width: 100%;
}
/* contact us */
.info-card {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
}
.info-card-title {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 2rem 1rem 1.5rem 2rem;
  height: 100%;
  box-shadow: var(--card-box-shadow);
  width: 100%;
  border-radius: 0.75rem;
}
.info-card-title svg {
  color: var(--primary);
}
.info-card-title h5 {
  margin: 0px;
  font-size: 1.2rem;
  font-weight: 600;
}
.info-card-title p {
  margin-top: 0.5rem;
  margin-bottom: 0px;
  line-height: 1rem !important;
  font-size: 0.9rem;
}
.contact-us-first-section {
  display: grid;
  grid-template-columns: calc(40% - 1.5rem) calc(60% - 1.5rem);
  margin-bottom: 3rem;
  gap: 3rem;
}
.submit-card {
  box-shadow: var(--card-box-shadow);
  border-radius: 0.75rem;
  padding: 2.5rem;
}
.submit-card h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-top: 0px;
  margin-bottom: 2rem;
}
.info-list {
  margin-bottom: 2rem;
}
.label {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary);
}
.form-row {
  margin-bottom: 1rem;
}
.submit-card .form-control {
  width: 100%;
  margin-bottom: 0.5rem;
}
.contact-us-section {
  padding-inline: var(--padding-inline);
  padding-block: 3rem;
}
.not-found-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.not-found-desc {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #555;
  font-weight: 500;
  text-align: center;
  padding-inline: 1rem;
}
.not-found-gif img {
  height: 13rem;
  width: 13rem;
}
.suggestion-list {
  position: absolute;
  background: #fff;
  width: 100%;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: var(--card-box-shadow);
  border-radius: 0.75rem;
  padding-block: 0.5rem;
}
.suggestion-list div {
  cursor: pointer;
}
.group-item:hover {
  background: var(--primary);
  color: white;
}

.group-title {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 0.75rem 0.5rem 0.75rem;
}
.group-item {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  color: #303030c6;
}
.basket-link{
  position: relative;
  margin-left: 2rem;
}
.basket-link .basket-count {
  position: absolute;
  top: -0.6rem;
  right: -0.9rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
} 

/* ========================== 
RESPONSIVE
============================*/
@media (max-width: 767.5px) {
  :root {
    font-size: 2vw;
    --padding-inline: 1rem;
  }
  .body {
    min-height: 70vh;
  }
  #footer {
    flex-direction: column-reverse;
    align-items: start;
    /* justify-content: center; */
    gap: 1rem;
    height: auto;
    padding-block: 1rem;
  }

  .footer-contact {
    gap: 0.5rem;
    flex-direction: column; /* stack items vertically */
    align-items: flex-start;
  }

 
  .top-bar {
    height: 3.5rem;
    background-color: var(--secondary);
  }

  .search-box input[type="text"] {
    width: 100%;
  }
  .top-bar .logo {
    display: none;
  }

  .top-bar .btn {
    font-size: 0.8rem;
    line-height: 0.8rem;
    gap: 0;
  }

  /* header */
  .desktop-header {
    display: none;
  }
  
  /* Show mobile header on mobile devices */
  /* .mobile-header {
    display: flex;
  } */

  /* Hamburger button */
  /* .menu-toggle {
    display: block;
    position: fixed;
    top: 0rem;
    right: var(--padding-inline);
    z-index: 1001;
    background-color: transparent;
    color: var(--secondary);
    padding: 0.8rem 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    outline: none;
  } */

  /* Sidebar styles */
  .sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    width: 250px;
    background-color: white;
    overflow-x: hidden;
    transition: left 0.3s ease;
    z-index: 1002;
    padding-top: 60px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  
  /* Sidebar close button */
  .sidebar-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }

  .sidebar-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
  }

  .sidebar-close-btn:active {
    transform: scale(0.95);
  }

  /* Sidebar overlay */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .sidebar-overlay.show {
    opacity: 1;
    /* visibility: visible; */
  }
  
  .sidebar a {
    display: block;
    color: var(--secondary);
    padding: 1rem;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: 600;
  }
  
  .sidebar a:hover {
    background-color: #f8f8f8;
    color: var(--primary);
  }
  
  .sidebar a:active {
    background-color: #f0f0f0;
  }

  /* Mobile Menu List Styling */
  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu-list li {
    position: relative;
  }

  .mobile-menu-list a {
    display: block;
    color: var(--secondary);
    padding: 1rem;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  /* Active/Current Mobile Menu Item Styling */
  .mobile-menu-list .current-menu-item > a,
  .mobile-menu-list .current_page_item > a,
  .mobile-menu-list .current-menu-ancestor > a {
    color: var(--primary);
    background-color: rgba(230, 57, 70, 0.1);
    border-left: 4px solid var(--primary);
    padding-left: calc(1rem - 4px);
  }

  .mobile-menu-list .current-menu-item > a:hover,
  .mobile-menu-list .current_page_item > a:hover,
  .mobile-menu-list .current-menu-ancestor > a:hover {
    background-color: rgba(230, 57, 70, 0.15);
  }

  .sidebar.open {
    left: 0;
  }
  
  /* Ensure mobile menu links are properly styled and accessible */
  /* .mobile-menu-link styles removed - now using WordPress menu classes */
  .logo-resp {
    height: 2.5rem;
    width: auto;
  }
  /* .mobile-header {
    display: block;
    padding-inline: var(--padding-inline);
    padding-bottom: 0.8rem;
  } */

   /* mobile header */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
  }

  .header-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduce space between icons */
  }

  .basket-link {
    position: relative;
    /* display: flex;
    align-items: center;
    justify-content: center; */
  }

  .basket-link .basket-count {
    right: -0.6rem;
  }

  .menu-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
  }


  .header-container {
    display: flex;
    flex-direction: column-reverse;
    box-shadow: var(--card-box-shadow);
    padding-top: 1rem;
    position: fixed;
    z-index: 2;
    background-color: white;
    width: 100%;
  }
  .body {
    padding-top: 7rem;
  }
  .top-bar .container {
    justify-content: end;
  }

  .banner-item h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .banner-item p {
    font-size: 0.8rem;
  }
  .banner-item {
    height: 15rem;
  }
  .counter-text span {
    font-size: 1.2rem;
  }
  .counter-text p {
    font-size: 0.8rem;
    line-height: 0.9rem;
  }
  .counter-card {
    padding: 1rem;
    gap: 0.5rem;
    height: 100%;
  }
  .counter-icon {
    height: 3rem;
    width: 3rem;
  }
  .counter-icon svg {
    height: 1.5rem;
    width: auto;
  }
  .counter-text {
    width: 50%;
  }

  .explore-section {
    padding-inline: var(--padding-inline);
    margin-top: 3rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-block: 5rem;
    color: white;
    /* padding-bottom: 20rem; */
  }
  .explore-title {
    font-size: 1.5rem;
  }
  .explore-description {
    font-size: 1rem;
  }
  .testimonial-card {
    padding-block: 6rem 5rem;
    padding-inline: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(../img/quotes.svg);
    background-repeat: no-repeat;
    background-size: auto 2.8544rem;
    background-position: 2.5rem 3.25rem;
    background-color: white;
  }
  .testimonial-card-image {
    margin-bottom: 2rem;
  }
}

@media (max-width: 435.5px) {
  :root {
    font-size: 4vw;
  }
  .top-bar .container {
    flex-direction: column;
  }
}

/* OE Numbers Styling */
.oe-numbers-display,
.primary-oe-number-display {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background-color: var(--grey);
  border-radius: 0.625rem;
  box-shadow: var(--card-box-shadow);
}

.oe-numbers-display h4,
.primary-oe-number-display h4 {
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}

.oe-numbers-list,
.primary-oe-numbers-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oe-number-item,
.primary-oe-number-item {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background-color: white;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.oe-number-item:last-child,
.primary-oe-number-item:last-child {
  margin-bottom: 0;
}

.oe-number-item strong,
.primary-oe-number-item strong {
  color: var(--secondary);
  font-weight: 600;
  margin-right: 0.5rem;
}

.oe-numbers,
.primary-oe-number {
  color: var(--primary);
  font-weight: 500;
  font-family: monospace;
  background-color: rgba(230, 57, 70, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

/* Primary OE Number specific styling */
.primary-oe-number-display {
  border: 2px solid var(--primary);
  background-color: rgba(230, 57, 70, 0.05);
}

.primary-oe-number-display h4 {
  color: var(--primary);
}

.primary-oe-number {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}

/* Hide ACF action rows in Primary OE Number section */
.acf-field-primary-oe-number .acf-actions,
.acf-field-primary-oe-number .acf-table .acf-row-handle,
.acf-field-primary-oe-number .acf-table .acf-row-handle .acf-icon {
  display: none !important;
}

.acf-field-primary-oe-number .acf-table .acf-row {
  border-bottom: none;
}

.acf-field-primary-oe-number .acf-table .acf-row .acf-fields {
  border: none;
}

/* Quotation Request Styles */
.quotation-section {
    margin-top: 2rem;
    /* text-align: center; */
}

.basket-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.btn-request-quotation {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.375rem 1.5rem;
    border: none;
    border-radius: 0.625rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-request-quotation:hover {
    background-color: #d32f3d;
}

.btn-remove-all-items {
    background-color: #6c757d;
    color: white;
    font-weight: 600;
    padding: 0.375rem 1.5rem;
    border: none;
    border-radius: 0.625rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-all-items:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Prevent body scrolling when popup is open */
body.popup-open {
    overflow: hidden;
}

/* Quotation Popup Styles */
.quotation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.quotation-popup-overlay.show {
    display: flex;
}

.quotation-popup {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 545px;
    /* max-height: 90vh; */
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quotation-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    /* border-bottom: 1px solid #e0e0e0; */
}

.quotation-popup-header h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 600;
}

.quotation-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quotation-popup-close:hover {
    background-color: #f0f0f0;
    color: #666;
}

.quotation-popup-body {
    padding: 1.5rem;
}

.quotation-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.375rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #f8f8f8;
}

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

.btn-submit-quotation {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.375rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.btn-submit-quotation:hover {
    background-color: #d32f3d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quotation-popup {
        width: 95%;
        margin: 1rem;
    }
    
    .quotation-popup-header {
        padding: 1.25rem 1.25rem 0.75rem 1.25rem;
    }
    
    .quotation-popup-body {
        padding: 1.25rem;
    }
    
    .quotation-popup-header h3 {
        font-size: 1.25rem;
    }
    
    .basket-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .btn-request-quotation,
    .btn-remove-all-items {
        flex: 1;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.375rem 0.75rem;
    }
}

/* ========================== 
EMPTY BASKET STYLES
============================*/
.empty-basket-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 1rem;
    width: 100%;
    gap: 1rem;
}
.empty-basket-row .btn-primary{
  padding-inline: 1rem !important;
}

.empty-basket-row .item-details {
    grid-column: 1;
    font-weight: 500;
    color: var(--secondary);
}

.empty-basket-row .item-oe-number,
.empty-basket-row .item-make,
.empty-basket-row .item-group,
.empty-basket-row .item-status {
    /* Empty columns - just for spacing */
}

.empty-basket-row .item-actions {
    grid-column: 6;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-basket-row .item-actions .btn {
    margin: 0;
    display: inline-block;
    min-width: 120px;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Ensure consistent styling across different contexts */
.item-row .empty-basket-actions,
.mobile-item-card .empty-basket-actions {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.empty-basket-content .item-info,
.empty-basket-content .item-details {
    flex: 1;
    margin-right: 1rem;
}

.empty-basket-content .mobile-item-info,
.empty-basket-content .mobile-item-details {
    flex: 1;
    margin-right: 1rem;
}

/* Mobile-specific adjustments */
@media (max-width: 767.5px) {
    .empty-basket-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .empty-basket-row .item-details {
        grid-column: unset;
        width: 100%;
    }
    
    .empty-basket-row .item-actions {
        grid-column: unset;
        align-self: flex-end;
        width: auto;
    }
    
    .empty-basket-row .item-actions .btn {
        width: auto;
        max-width: none;
        white-space: nowrap;
    }
}

/* ========================== 
QUOTATION FORM STYLES
============================*/
.btn-submit-quotation:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #ccc !important;
  color: #666 !important;
}

.btn-submit-quotation:disabled:hover {
  background-color: #ccc !important;
  color: #666 !important;
  transform: none !important;
}

/* Quotation Success Message Styles */
.quotation-success-message {
    text-align: center;
    padding: 1rem 0;
}

.quotation-success-message .success-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.quotation-success-message .success-icon svg {
    width: 64px;
    height: 64px;
    color: #28a745;
}

.quotation-success-message h4 {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.quotation-success-message p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 2rem 0;
}

.btn-close-success {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-close-success:hover {
    background-color: #d32f3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* Responsive adjustments for success message */
@media (max-width: 768px) {
    .quotation-success-message .success-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .quotation-success-message h4 {
        font-size: 1.25rem;
    }
    
    .quotation-success-message p {
        font-size: 0.9rem;
    }
    
    .btn-close-success {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Drop downs advanced search */
/* Ensure dropdown matches button width */
.advanced-search-modal .dropdown-menu {
    width: 100%;           /* full width of parent button */
    max-height: 200px;     /* adjust height as needed */
    overflow-y: auto;      /* enable vertical scroll if too many items */
    white-space: normal;   /* allow text to wrap to next line */
    word-break: break-word; /* break long words if necessary */
}



/* Dropdown items styling */
.advanced-search-modal .dropdown-menu li a {
    white-space: normal;  /* allow wrapping of item text */
    overflow-wrap: break-word; /* handle long words */
}

#adv-make-btn {
    white-space: normal;       /* allow wrapping */
    word-break: break-word;    /* break long words */
    text-align: left;          /* optional: align text to left */
    overflow: hidden;          /* hide any extreme overflow */
}
.desktop-header-link.active-lang {
    font-weight: bold;
    color:  var(--primary) !important;  /* example highlight color */
}


.mobile-lang-list {
    display: flex;
    align-items: center; /* vertically center icon and links */
    gap: 0.5rem; /* space between icon and links */
}

.mobile-lang-list a {
    text-decoration: none;
    color: black;
    padding: 0 0.25rem; /* optional spacing between links */
}

.mobile-lang-list a.active-lang {
    font-weight: bold;
}
.mobile-lang-list .lg-icon {
    margin-left: 0.5rem ;
    margin-right: 0rem ;

}
#submit_contact.btn.disabled,
#submit_contact.btn:disabled,
#submit_contact fieldset:disabled .btn {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}