@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");

/* Base styles and resets */
:root {
  --primary-color: #00adee;
  --dark-color: #071837;
  --text-color: #333;
  --bg-light: #f5f5f5;
  --blue-gray: #e1e4e6;
  --light-blue: #d0edff;
  --bg-dark: #333;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --container-width: 1200px;
  --border-radius: 4px;
  --border-radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom scrollbar styles for Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
  height: 12px; /* For horizontal scrollbar */
}

::-webkit-scrollbar-thumb {
  background-color: #007bb5; /* Main color for the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #05618b; /* Darker color on hover */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* For Firefox */
scrollbar {
  width: 12px;
  background-color: #f1f1f1;
}

scrollbar thumb {
  background-color: #007bb5;
}

scrollbar thumb:hover {
  background-color: #05618b;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (min-width: 1680px) {
  .container {
    max-width: 1440px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* Header styles */
.header {
  background: #00adee;
  padding: var(--spacing-md);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

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

.nav-links {
  cursor: pointer;
  display: flex;
}

.nav-links a {
  padding: var(--spacing-sm);
  font-size: large;
  text-decoration: none;
  color: var(--bg-light);
  /* font-weight: 500; */
  transition: color 0.3s;
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  columns: white;
}

.nav-links a {
  position: relative;
  padding: 0 10px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--bg-light);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

nav a.active {
  font-weight: bold;
}

nav a.active::after {
  width: 100%;
}

.phone::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  background-image: url(../assets/call.webp);
  background-size: contain;
  background-repeat: no-repeat;
}
.phone {
  padding-left: 40px !important;
}

.mail-us {
  background-color: var(--bg-light);
  color: var(--dark-color);
  border-radius: 3px;
}
.mail-us a {
  color: var(--dark-color);
}
@media (max-width: 968px) {
  .mobile-menu-button {
    display: block;
    color: var(--bg-light);
  }
  .phone {
    padding-left: unset !important;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #00aeee9c;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    gap: var(--spacing-md);
  }

  .nav-links.show {
    left: 0;
  }

  .contact-info {
    display: none;
  }
  .phone::before {
    content: none;
  }
}
.cf-message-container {
  width: 100%;
  text-align: center;
  margin: auto;
}
.cf-done-button {
  margin-top: var(--spacing-md);
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
}

.cf-done-button:hover {
  background-color: #0099d5;
}
.cf-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cf-button:hover {
  background-color: #0099d5;
}

.cf-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cf-modal {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 700px;
  padding: var(--spacing-md);
  margin: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.cf-close-button {
  position: absolute;
  right: 24px;
  top: 20px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.cf-close-button:hover {
  color: #333;
}

.cf-message {
  padding: 12px;
  border-radius: 4px;
  display: none;
}

.cf-message.success {
  background-color: var(--light-blue);
  color: var(--dark-color);
  border: 1px solid var(--primary-color);
  font-size: large;
}

.cf-message.error {
  background-color: #fde7e9;
  color: #93000a;
  border: 1px solid #f5c2c7;
}
.cf-form-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.cf-form-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.cf-form-content.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.cf-form {
  padding: 24px;
}

.cf-form p {
  margin: var(--spacing-md) 0;
}
.cf-title {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
}

.cf-form-group {
  margin-bottom: 16px;
}

.cf-label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 400;
}

.cf-required {
  color: #ff4444;
}

.cf-input,
.cf-textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
}

.cf-input.error,
.cf-textarea.error {
  border-color: #ff4444;
}

.cf-error-message {
  color: #ff4444;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}

.cf-submit-button {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 16px;
}

.cf-submit-button:hover {
  background-color: #0099d5;
}

@media (max-width: 480px) {
  .cf-modal {
    margin: 16px;
  }
}

.cat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}

.cat-popup {
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  display: none;
}

.cat-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

.cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  margin: 8px 0;
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
  color: var(--dark-color);
}

.cat-item:hover {
  background: #f5f5f5;
}

.cat-icon {
  width: 20px;
  height: 20px;
}

/* CAROUSEL SECTION */
.carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  position: relative;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 70%;
  left: 45%;
  transform: translate(0, -50%);
  color: white;
  z-index: 2;
  transition: transform 2s ease-in-out;
}
.dblue {
  color: var(--dark-color);
}

@media (max-width: 768px) {
  .slide-content {
    width: 61vw;
    left: 40%;
  }
  .carousel-button {
    top: 95% !important;
  }
}

.slide-content h1 {
  font-size: 2rem !important;
  line-height: 1;
}

.slide-content p {
  font-size: 1.2rem;
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: background-color 0.3s;
}

.triangle-button {
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.prev {
  left: 20px;
  border-right: 20px solid rgba(255, 255, 255, 0.3);
}
.prev:hover {
  border-right: 20px solid rgba(255, 255, 255, 0.664);
}
.next {
  right: 20px;
  border-left: 20px solid rgba(255, 255, 255, 0.3);
}
.next:hover {
  border-left: 20px solid rgba(255, 255, 255, 0.664);
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.indicator.active {
  background: white;
}

.hero-content {
  min-height: 60vh;
  align-content: center;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.15;
}
.underline {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.hero-description-container {
  border-top: 5px solid var(--primary-color);
  width: 52%;
  padding-top: 5px;
  margin-top: 7px;
}

/* Sockets section */
.sockets {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  background: var(--light-blue);
}

.socket-items {
  cursor: pointer;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 50px;
}

@media (max-width: 768px) {
  .socket-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
  }

  .socket-items > * {
    flex: 0 0 calc(50% - var(--spacing-lg));
  }
}

.socket-item {
  position: relative;
  transition: transform 0.3s ease;
  justify-self: center;
}

.socket-item img {
  display: block;
  width: 160px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  transition: box-shadow 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.socket-item::after {
  content: " ";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: 12px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 1;
  transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.si-1::after {
  background: radial-gradient(circle at 67%, #4297cb, rgba(0, 0, 0, 0) 100%);
}
.si-2::after {
  background: radial-gradient(circle at 38%, #4297cb, rgba(0, 0, 0, 0) 100%);
}
.si-3::after {
  background: radial-gradient(circle at 43%, #4297cb, rgba(0, 0, 0, 0) 100%);
}
.si-4::after {
  background: radial-gradient(circle at 55%, #4297cb, rgba(0, 0, 0, 0) 100%);
}

.socket-item:hover img {
  transform: translateY(-30px);
  /* box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); */
}

.socket-item:hover::after {
  opacity: 0.6;
  width: 200px;
  height: 16px;
}

.socket-item-name {
  margin-top: 40px;
}

/* Features section */
.features {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--bg-light);
}
.features .container {
  text-align: center;
}
.featues-heading {
  display: inline-block;
}
.featues-heading p {
  border-top: 5px solid var(--primary-color);
  font-weight: 500;
  max-width: 720px;
  padding-top: 5px;
  margin-top: 6px;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-card {
  min-height: 400px;
  flex: 1;
  border-radius: var(--border-radius-lg);
  background: var(--blue-gray);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-card img {
  width: 100%;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}
.feature-card div {
  padding: var(--spacing-sm) var(--spacing-lg);
  text-align: left;
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 768px) {
  .featues-heading {
    text-align: left;
  }
}

/* Advantages section */
.advantages {
  padding: var(--spacing-xl) var(--spacing-md);
}

.advantages-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  align-items: center;
}

.advantage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}
.advantage-logo {
  max-width: 200px;
}
.advantage-1 {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.advantage-logo-div {
  align-self: flex-start;
}

.advantage-info {
  margin: auto;
}

.advantage-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}

.intro-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
}

.video-container {
  margin-top: 20px;
  overflow: hidden;
}

.advantage-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.advantage-card {
  padding: 20px;
  border-radius: 8px;
  width: 30%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.advantage-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.advantage-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.advantage-card button {
  padding: 10px 20px;
  font-size: 14px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.advantage-card button:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .advantage-card {
    width: 100%;
  }

  .advantage-cards {
    flex-direction: column;
    align-items: center;
  }
  .advantage-info {
    text-align: center;
  }
}
.tilt-container {
  /* perspective: 1000px; */
  width: 500px;
  height: 250px;
  rotate: -30deg;
}

.tilt-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
}

/* Testimonials section */
.testimonials {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--bg-light);
}

.testimonial {
  max-width: 800px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonials-heading {
  text-align: center;
  width: max-content;
  margin: auto;
}

.testimonials-heading p {
  border-top: 5px solid var(--primary-color);
}
@media (max-width: 768px) {
  .hero-content {
    padding: var(--spacing-md);
  }
  .tilt-container {
    perspective: 1000px;
    width: 70vw;
    height: 250px;
  }
  .hero {
    background-size: cover;
  }
  .advantages-content {
    grid-template-columns: 1fr;
  }
  .hero-description-container {
    width: 100%;
  }
  .hero h1 {
    font-size: 2.3rem;
    line-height: 1.15;
  }

  .testimonials-heading {
    width: auto;
  }
}

.products {
  background-color: var(--blue-gray);
}

/* Newsletter and forms */
.newsletter {
  padding: var(--spacing-xl) var(--spacing-md);
  color: white;
  text-align: center;
}

.subscribe-form {
  display: flex;
  gap: var(--spacing-md);
  max-width: 600px;
  margin: var(--spacing-lg) auto;
}

.subscribe-form input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--border-radius);
  min-width: 0;
}

.subscribe-form button {
  white-space: nowrap;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-dark);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
}

@media (max-width: 576px) {
  .subscribe-form {
    flex-direction: column;
  }
}

/* Footer styles */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--dark-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.footer-logo img {
  max-width: 170px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  justify-items: end;
}

.footer-section h3 {
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

.footer-section a {
  display: block;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  line-height: 1;
}
.footer-flag {
  position: relative;
}
.footer-flag img {
  position: absolute;
  bottom: -4rem;
  height: 600px;
  left: 90px;
  max-width: unset;
}
@media (max-width: 640px) {
  .footer-flag img {
    display: none;
  }
}
.social-links {
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  top: 30%;
  right: -1px;
  padding: 17px 9px 15px 8px;
  background-color: var(--primary-color);
  border-radius: 25px 0 0 25px;
  z-index: 1000;
  border: 1px solid white;
}

.social-links.hidden {
  opacity: 0;
  pointer-events: none;
}

.social-links img {
  max-width: 40px;
}

.social-icon-container {
  position: relative;
  color: var(--primary-color);
}

.social-info-card {
  position: absolute;
  right: calc(100% + 15px);
  top: 50%;
  transform: translate(150%, -50%);
  background: white;
  padding: 8px 15px;
  border-radius: 3px;
  transition: all 0.5s ease;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
  pointer-events: none;
}

.social-icon {
  display: block;
  position: relative;
  z-index: 2;
}

.social-icon-container:hover .social-info-card {
  transform: translate(0, -50%);
}

/* Arrow for the card */
.social-info-card::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid white;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  .social-links img {
    max-width: 33px;
  }
  .social-links {
    justify-items: left;
    border-radius: 20px 0 0 20px;
  }
  .footer-links {
    justify-items: start;
  }
}

.item-card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0px 11px 13px rgb(0 0 0 / 61%);
  overflow: hidden;
  position: relative;
  flex: 1 1 calc(19% - 10px);
  box-sizing: border-box;
  text-align: center;
  padding: 10px;
}

main {
  background-color: var(--blue-gray);
}
.main-container {
  display: flex;
  gap: 30px;
  height: 100vh;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: bold;
}

input[type="text"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="file"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--light-color);
}

.error {
  color: #d32f2f;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.btn-hide,
.btn-remove {
  padding: 8px;
  background-color: var(--main-color);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  color: white;
  cursor: pointer;
}

.btn-remove {
  background-color: var(--danger-color);
}

@media screen and (max-width: 600px) {
  .main-container {
    display: block;
  }

  .item-card {
    flex-grow: 1;
    flex: 1 1 100%;
  }
}
.item-list {
  min-height: 75vh;
}
.item-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

.item-card .item-details {
  padding: 1rem;
}

.item-card .item-actions {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: #f4f4f4;
}

.item-card.hidden {
  filter: grayscale(1);
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pagination button {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.csrf-error {
  background-color: #f2dede;
  color: #a94442;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  display: none;
}

.btn .spinner {
  border: 2px solid transparent;
  /* Transparent border */
  border-top: 2px solid white;
  /* Visible top border */
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  /* Spacing between text and spinner */
}

.load-more-container {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
  z-index: 1000;
}

.load-more-btn {
  background: #0066cc;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.load-more-btn:hover {
  background: #0052a3;
}

.load-more-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.spinner2 {
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  display: none;
  animation: spin 1s linear infinite;
}

.load-more-btn.loading .spinner2 {
  display: inline-block;
}

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

.products {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr minmax(54vw, 1fr);
  grid-template-areas:
    "sidebar top"
    "sidebar main";
  min-height: 80vh;
}

.sidebar {
  grid-area: sidebar;
}

.top {
  grid-area: top;
  width: 100%;
}

.main {
  grid-area: main;
  min-height: 300px;
}

@media (max-width: 768px) {
  .products {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "sidebar"
      "main";
  }
  .top {
    min-width: unset;
  }
  .category-wrapper {
    max-width: unset;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dull {
  opacity: 0.5;
}

.product-card {
  background: rgba(255, 255, 255, 0.726);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(100, 99, 99, 0.1);
  padding: 10px;
  cursor: pointer;
  border: 1px solid rgb(156 156 156);
  min-height: 320px;
}

.product-image-container {
  overflow: hidden;
}

/* Add these styles */
.category-title.active {
  color: var(--primary-color);
  font-weight: 600;
  background: #00adee26;
}

.category-title.active .triangle {
  border-left-color: var(--primary-color);
}

.subcategory {
  cursor: pointer;
  transition: all 0.3s ease;
}

.subcategory.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Add these new styles */
.selected-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #ddd;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: #00adee26;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  color: var(--primary-color);
  font-size: 14px;
}

.close-tag {
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 12px;
}

.close-tag:hover {
  background: #00aeeee1;
}

/* Hide the container when empty */
.selected-categories:empty {
  display: none;
}

.product-image {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  object-fit: contain;
  transform: scale(1);
}
.product-image:hover {
  transform: scale(1.1);
}

.product-title {
  border-bottom: 2px solid var(--primary-color);
  font-weight: 600;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.line-wrapper {
  padding: 20px;
  background: #eaeaea;
  max-width: 300px;
  margin: 50px auto;
}
.product-description1,
.product-description2,
.product-description3 {
  font-size: 0.8rem;
  color: #666;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.bullet {
  list-style-type: disc;
  margin-left: 5px;
}

.bullet::before {
  content: "\2022";
  position: relative;
  left: -2px;
  top: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.popup-card {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  padding: 20px;
}

.popup-overlay.active .popup-card {
  transform: scale(1);
  transition: transform 0.3s ease;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  color: #666;
  z-index: 1;
}

.popup-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 12px 12px 0 0;
}

.popup-content {
  padding: 2rem;
}

.popup-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
  border-bottom: 3px solid var(--primary-color);
}

.popup-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.popup-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.detail-item {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
}

.detail-label {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.detail-value {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}
.fab {
  width: 100px;
  position: fixed;
  top: 85vh;
  right: -66px;
  z-index: 900;
  cursor: pointer;
  text-decoration: none;
  background-color: #4fcb5d;
  display: grid;
  grid-template-columns: 2;
  height: 44px;
  border-radius: 5px 0px 0px 5px;
  transition: transform 0.3s ease;
}

.fab:hover {
  transform: translateX(-25px);
}

.whatsapp {
  width: 50px;
  height: auto;
  margin-right: 8px;
  top: -3px;
  left: -30px;
  position: relative;
}

@media (max-width: 640px) {
  .popup-details {
    grid-template-columns: 1fr;
  }
  .fab {
    top: 82vh;
    right: -52px;
  }
  .whatsapp {
    margin-right: 7px;
    left: -10px;
  }
}

.filter-container {
  border-radius: 4px;
  width: 100%;
  max-width: var(--container-width);
  margin: 12px auto 0 auto;
}

.filter-row {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  flex-direction: column;
}

.filter-group {
  flex: 1;
  min-width: 250px;
}

.filter-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 0.5rem;
  display: block;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #0066cc;
  outline: none;
}

.category-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(75, 75, 75);
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
}

.category-select:focus {
  border-color: #0066cc;
  outline: none;
}

.loading-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.loading-overlay.active {
  display: flex;
  width: 100%;
  height: 100%;
}

.products-grid:empty::after {
  content: "No products found";
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  width: 100%;
  color: #666;
  font-size: 1.1rem;
}

.category-wrapper {
  max-width: 400px;
  padding: var(--spacing-md) 0;
}

.category-header {
  background: var(--primary-color);
  color: white;
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subcategory {
  cursor: pointer;
}

.category-content {
  border: 1px solid rgb(156 156 156);
}

.category-item {
  min-width: 340px;
}
.category-item:last-child {
  border-bottom: none;
}
.category-title {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #333;
}

.category-title:hover {
  background: #f5f5f5;
}

.subcategories {
  display: none;
  padding-left: 24px;
}

.subcategories.active {
  display: block;
}

.subcategory {
  padding: 8px 15px;
  color: #666;
}

.subcategory:hover {
  color: #333;
}

.chevron::after {
  content: ">";
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.2s;
}

.chevron.active::after {
  transform: rotate(90deg);
}

.triangle {
  width: 0;
  height: 0;
  border-left: 6px solid #666;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transition: transform 0.2s;
}

.category-header .triangle {
  border-left-color: white;
  display: none;
}

.triangle.active {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .category-content {
    display: none;
  }
  .category-header .triangle {
    display: block;
  }
  .category-content.mobile-active {
    display: block;
  }
  .category-wrapper {
    padding: 0;
    max-width: unset;
  }
}
.loader {
  display: none;
}
.loader.active {
  display: block;
  position: absolute;
  top: 50%;
  left: 59%;
  width: 50px;
  aspect-ratio: 1;
  --_c: no-repeat
    radial-gradient(farthest-side, var(--primary-color) 92%, #0000);
  background: var(--_c) top, var(--_c) left, var(--_c) right, var(--_c) bottom;
  background-size: 12px 12px;
  animation: l7 1s infinite;
}
@keyframes l7 {
  to {
    transform: rotate(0.5turn);
  }
}

/* Banner*/

/* Overlay styles */
._banner_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

._banner_overlay._banner_hidden {
  display: none;
}

/* Popup styles */
._banner_popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  max-width: 650px;
}

._banner_popup._banner_hidden {
  display: none;
}

/* Popup content */
._banner_popup-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

._banner_close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--light-blue);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

._banner_close-btn:hover {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  ._banner_popup {
    width: 90%;
    padding: 10px;
  }

  ._banner_popup-content img {
    max-width: 100%;
    height: auto;
  }

  ._banner_close-btn {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
}

.cert-main-content {
  background-color: #f4f4f4;
}
._cert_logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: auto;
  padding: 20px;
  align-items: center;
}

._cert_logo-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
