@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tourney:wdth,wght@92.4,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

:root {
  --primary-color: #0099ff;
  --secondary-color: #2c3e50;
  --light-bg: #f8f9fa;
  --glass-bg: rgba(211, 216, 222, 0.3);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', sans-serif;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #98ccfa 100%);
  min-height: 100vh;
  padding-top: 80px;
  color: #333;
}


.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}


/* Brands Page Styles */
.brands-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 40px;
}

.page-header {
  text-align: center;
  margin: 40px 0 30px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'ubuntu', sans-serif;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  font-family: 'league spartan', sans-serif;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Section */
.filter-section {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.filter-title {
  font-size: 1.4rem;
  font-family: 'league spartan', sans-serif;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.filter-btn {
  padding: 10px 20px;
  background: #f8f9fa;
  font-family: 'league spartan', sans-serif;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Brands Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.brand-card {
  background: white;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.brand-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.brand-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
 }

.brand-image img {
  max-width: 180px;
  max-height: 150px;
  object-fit: contain;
  transition: all 0.3s;
}

.brand-card:hover .brand-image img {
  /* filter: grayscale(0%); */
  transform: scale(1.10);
}

.brand-info {
  padding: 5px;
  text-align: center;
}

.brand-name {
  font-size: 1.6rem !important;
  font-weight: 700;
  font-family: 'league spartan', sans-serif;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.brand-country {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.brand-description {
  color: #495057;
  font-family: 'rubik', sans-serif;
  line-height: 1.6;
  min-height: 80px;
  margin-bottom: 20px;
}

.brand-stats {
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.85rem;
  color: #6c757d;
}

.view-products {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  width: 100%;
}

.view-products:hover {
  background: #1ea8b2;
  transform: translateY(-2px);
}

/* Featured Brands */
.featured-section {
  margin-top: 60px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.featured-title {
  font-size: 2.5rem;
  font-weight: 700;
  justify-self: center;
  font-family: 'ubuntu', sans-serif;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.featured-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.featured-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.featured-brand {
  text-align: center;
  padding: 25px;
  align-content: center;
  min-width: 180px;
}

.featured-brand img {
  max-width: 120px;
  /* filter: grayscale(100%); */
  opacity: 1;
  transition: all 0.3s;
}

.featured-brand:hover img {
  /* filter: grayscale(0%); */
  opacity: 1;
  transform: scale(1.2);
}

/* Why Choose Section */
.why-choose {
  margin-top: 60px;
  text-align: center;
}
address {
  font-style: normal;
  line-height: 2;
  font-size: 15px;
  color: #444;
  position: relative;
  font-family: 'rubik', Arial, Helvetica, sans-serif;
  top: -55px;
}

.why-choose h2 {
  font-size: 2.5rem;
    font-weight: 700;
    justify-self: center;
    font-family: 'ubuntu', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.why-choose p {
  max-width: 700px;
  font-family: 'rubik', sans-serif;
  margin: 0 auto 40px;
  color: #6c757d;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.benefit-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.benefit-title {
  font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Ubuntu';
    color: var(--secondary-color);
    margin-bottom: 10px;
  }

.benefit-desc {
  color: #495057;
  line-height: 1.6;
}

/* Product Showcase */
.product-showcase {
  margin-top: 60px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.showcase-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Ubuntu', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

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

.product-card {
  background: #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 15px;
}

.product-image img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.product-details {
  padding: 10px;
}

.product-name {
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'League Spartan', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.product-brand {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.btn{
  border: none !important;
}
.product-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.add-to-cart {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.add-to-cart:hover {
  background: #1ea8b2;
}

/* Footer */
.site-footer {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 20px 20px;
  color: #333;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 45px;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--secondary-color);
  font-weight: bold;
  position: relative;
  padding-bottom: 8px;
}

.footer-section h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.footer-logo img {
  height: 45px;
}

.footer-tagline {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 15px 0;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(240, 240, 240, 0.8);
  border-radius: 50%;
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: all 0.25s ease;
}

.social-icons a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.footer-section ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-section ul li a:hover::after {
  width: 100%;
}

address {
  font-style: normal;
  line-height: 1.8;
  font-size: 15px;
  color: #444;
}

address i {
  margin-right: 8px;
  color: var(--primary-color);
}

address a {
  color: var(--secondary-color);
  text-decoration: none;
}

address a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #666;
}

.footer-legal a {
  color: #555;
  text-decoration: none;
  margin: 0 6px;
}

.footer-legal a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 991px) {
  .brands-container {
    padding: 0 15px 20px;
  }


  .cart-icon {
    margin-left: auto;
  }

  .featured-brands {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .page-title {
    font-size: 2rem;
  }

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

  .filter-options {
    justify-content: center;
  }

  .featured-section,
  .product-showcase {
    padding: 25px;
  }
}




/* Split button styles for mobile menu */
.split-button {
  display: flex;
  width: 100%;
  border-radius: 21px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.split-button-left, 
.split-button-right {
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.split-button-left {
  color: #1e293b;
}

.split-button-left i {
  font-size: 16px;
  color: #334155;
}

.split-button-right {
  width: 40px;
  justify-content: center;
  border-left: 1px solid #e2e8f0;
}

.split-button-right i {
  transition: transform 0.3s ease;
}


.split-button-link1{
  padding: 12px 68px 12px 12px!important;
}

.split-button-link2{
  padding: 12px 39px 12px 12px !important;
}
.split-button:hover {
  background: #f1f5f9;
}

.split-button:hover .split-button-left {
  background: transparent;
}

.split-button:hover .split-button-right {
  background: #e2e8f0;
}

/* Dropdown menu styles */
.mobile-dropdown-item {
  position: relative;
}

.mobile-dropdown {
  display: none;
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.mobile-dropdown-item.active .mobile-dropdown {
  display: block;
  max-height: 500px;
}

/* For the expanded state */
.split-button[aria-expanded="true"] .split-button-right i {
  transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  
  
.split-button-link1{
  padding: 12px 55px 12px 12px!important;
}

.split-button-link2{
  padding: 12px 25px 12px 12px !important;
}
  .split-button-right {
    width: 45px;
  }
}

@media (max-width: 480px){
   
.split-button-link1{
  padding: 12px 45px 12px 12px!important;
}

.split-button-link2{
  padding: 12px 17px 12px 11px !important;
}
}

/* =========================================
   NEW FLUID RAINBOW SEARCH BAR
   ========================================= */

/* 1. Animation Setup */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-clockwise {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

/* 2. Container Layout */
.search-container {
  position: relative;
  width: 90%;
  /* Fluid clamp: never smaller than 280px, never wider than 600px */
  max-width: 600px;
  margin: 0 auto;
  z-index: 1;
}

/* Desktop Constraint */
@media (min-width: 992px) {
  .search-container {
    max-width: 450px;
  }
}

/* 3. Rainbow Border & Glow */
.search-container::before,
.search-container::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 55px;
  z-index: -1;
  background: conic-gradient(
      from var(--angle),
      #ff2000, #0099ff, #00c11b, #ffb600, #ff2000
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-container::after {
  filter: blur(20px);
  z-index: -2;
}

/* Animation Triggers */
.search-container:hover::before,
.search-container:hover::after,
.search-container:focus-within::before,
.search-container:focus-within::after {
  opacity: 1;
  animation: spin-clockwise 4s linear infinite;
}

/* 4. Form & Layout */
.search-container form {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #23bfda;
  transition: box-shadow 0.3s ease;
  /* Fluid Height: Scales between 45px and 65px */
  height: clamp(45px, 10vw, 65px);
}

.search-container:hover form,
.search-container:focus-within form {
  box-shadow: 0 0 0 0 transparent;
}

/* 5. Input Field */
.search-input {
  flex-grow: 1;
  min-width: 0; /* Allows shrinking on tiny screens */
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding-left: clamp(15px, 3vw, 30px);
  padding-right: 10px;
  font-size: clamp(14px, 2.5vw, 18px);
  color: #000;
}

.search-input::placeholder {
  color: #0099ff;
  opacity: 0.7;
}

/* 6. Button */
.search-button {
  /* Fluid Width: Scales between 45px and 65px */
  width: clamp(45px, 10vw, 65px);
  height: 100%;
  flex-shrink: 0; /* Prevents squashing */
  background: #23bfda;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-button i {
  color: #0099ff;
  transition: color 0.3s ease;
  /* Fluid Icon Size */
  font-size: clamp(14px, 4vw, 20px);
}

.search-container:focus-within .search-button i {
  color: #000000;
}



