:root {
  --primary-color: #0056b3;
  /* BlueprintStrategies.ai blue */
  --secondary-color: #28a745;
  /* BlueprintStrategies.ai green */
  --accent-color: #ed6d4d;
  /* Original accent for price/buttons */
  --text-color: #333;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #6c757d;
  --border-color: #dee2e6;
  --card-shadow: rgba(0, 0, 0, 0.08);
  --hover-shadow: rgba(0, 0, 0, 0.2);
  /* More pronounced hover shadow */
  --transition-speed: 0.3s;
  --transition-ease: ease-in-out;
}

body {
  margin: 0;
  margin-right: -2rem;
  font-family: "Inter", sans-serif;
  background: #0d0d0d;
  color: #fff;
  overflow-x: hidden;
}

header {
  background: #111;
  padding: 1.5rem 2rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #333;
}

.logo {
  font-size: 2.53rem; 
  font-weight: bold;
  background: linear-gradient(90deg, #ff9933, #ffffff, #138808);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.4rem;
  margin-left: -2.5rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  margin-right: 4rem;
  gap: 1.6rem;
  margin-top: 2rem;
}

nav a {
  color: #00ffc3;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

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

nav .dropdown {
  position: relative;
}

nav .dropdown-content {
  display: none;
  position: absolute;
  background: #191919;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

nav .dropdown:hover .dropdown-content {
  display: block;
}

nav .dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
}

/* Right-side icons */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 75rem;
}

/* Search Box */
.search-container {
  position: relative;
}

.search-container input {
  padding: 6px 8px;
  margin-right: -1rem;
  border-radius: 4px;
  width: 12.5rem;
  border: none;
  outline: none;
}

.search-container i {
  position: absolute;
  right: 8px;
  top: 8px;
  color: black;
  cursor: pointer;
}

/* Login / Sign Up */
.login {
  color: #00ffcc;
  text-decoration: none;
  font-weight: 600;
  gap: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.login:hover {
  color: #00ffaa;
}

/* Cart */
.cart {
  position: relative;
  cursor: pointer;
  color: #00ffcc;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
}

.cart span {
  position: absolute;
  top: -12.5px;
  right: -0.7rem;
  background-color: red;
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  /* width:0.5rem;
  height: 0.9rem; */
  padding: 2px 6px;
}
/* Cart Panel */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 300px;
  height: 100%;
  background: #1a1a1a;
  color: white;
  padding: 20px;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.cart-panel.open {
  right: 0;
  padding-left: 1.5rem;
  /* Fix: reasonable padding */
  padding-right: 1.5rem;
}
/* copy */
.cart-item {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  padding-left: 0;
  /* Fix: remove excessive padding */
}

.cart-item button {
  background: red;
  border: none;
  width: 5rem;
  height: 2rem;
  margin-top: auto;
  margin-bottom: auto;
  align-items: center;
  justify-items: center;
  color: white;
  padding: 2px 6px;
  cursor: pointer;
}

.checkout-btn {
  background: green;
  color: white;
  padding: 10px;
  border: none;
  width: 100%;
  margin-top: 15px;
  cursor: pointer;
  font-size: 1rem;
}

.checkout-btn:hover {
  background: darkgreen;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.cart-header h3 {
  margin: 0;
}

.close-cart {
  cursor: pointer;
  font-size: 20px;
  color: white;
}

.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-ease);
}

.page-overlay.active {
  display: block;
  opacity: 1;
}

/* Banner Section */
.banner-section {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 40px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1516321497487-e288ad792749?auto=format&fit=crop&q=80&w=2070&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
      center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 800px;
}

.banner-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-top: -1rem;
  width: 90rem;
  margin-top: 2rem;
  margin-left: -20rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  animation: fadeInSlideUp 1s var(--transition-ease) forwards;
}

.banner-content p {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #f1f1f1;
  animation: fadeInSlideUp 1s var(--transition-ease) 0.3s forwards;
}

/* Products Grid & Filters */
.products-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-bottom: 40px;
  margin-left: 9rem;
  margin-top: -2.5rem;
}

/* ✅ Fixed alignment and scroll sync */
.filter-panel {
  width: 270px;
  background: #1a1a1a;
  backdrop-filter: blur(10px);
  padding: 20px;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* position: sticky; */
  top: 120px; /* aligned with products header */
  align-self: flex-start;
  margin-left: -7rem; /* keep aligned */
  animation: fadeIn 0.8s ease-in-out forwards;
}

/* Keep it responsive */
@media (max-width: 768px) {
  .filter-panel {
    margin-left: 0;
    /* reset on small screens */
    width: 100%;
  }
}

.filter-panel h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #00ffaa;
}

.filter-panel .reset-btn {
  padding: 6px 12px;
  background: #1d1c1c;
  border: 1px solid #535555;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #00ffaa;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
}

.filter-panel .reset-btn.active {
  opacity: 1;
  pointer-events: auto;
}

.filter-panel .reset-btn.active:hover {
  background: #467167;
  border: 1px solid #535555;
  color: #fff;
}

.filter-category {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.filter-category:last-child {
  border-bottom: none;
}

.filter-category h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #00ffaa;
}

/* Custom Select Styling */
.filter-select select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text-color);
  cursor: pointer;
  transition: border-color 0.3s;
}

.filter-select select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.filter-select select:disabled {
  background-color: var(--medium-gray);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Price Slider */
.filter-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--medium-gray);
  border-radius: 5px;
  outline: none;
  margin-top: 10px;
  transition: background var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: grab;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background var(--transition-speed) var(--transition-ease),
    transform var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: grab;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background var(--transition-speed) var(--transition-ease),
    transform var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.filter-slider input[type="range"]::-moz-range-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.price-range-display {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-top: 10px;
  text-align: center;
}

/* Product Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 24px;
  row-gap: 2rem;
  column-gap: 5rem;
  width: 100%;
  flex: 1;
}

.report-card {
  background: #1a1a1a;
  border-radius: 12px;
  border: 1px solid #333;
  width: 18rem;
  padding: 30px;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}
.report-card h3 {
  color: #00ff9d;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.report-card p {
  font-size: 0.9rem;
  color: #bbb;
}

/* .report-btn {
      margin-top: 15px;
      display: inline-block;
      background: #00ff9d;
      padding: 8px 10px;
      border-radius: 6px;
      color: #000;
      font-weight: bold;
      text-decoration: none;
      transition: background 0.3s ease;
    } */

.report-btn:hover {
  background: #00d982;
}

.product-card {
  background-color: #ffffff;
  box-shadow: 0px 4px 16px var(--card-shadow);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-speed) var(--transition-ease),
    box-shadow var(--transition-speed) var(--transition-ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  opacity: 0;
  /* For scroll-reveal animation */
  transform: translateY(20px);
  /* For scroll-reveal animation */
}

.product-card.is-visible {
  /* Class added by JS for scroll-reveal */
  animation: fadeInSlideUp 0.8s var(--transition-ease) forwards;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--hover-shadow);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  transition: transform var(--transition-speed) var(--transition-ease);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  /* Gradient overlay on image */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  transition: background var(--transition-speed) var(--transition-ease);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-card:hover .product-image::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}

.product-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: end;
  margin-top: auto;
  padding-top: 10px;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-color);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-speed) var(--transition-ease);
}

.add-to-cart-btn .fas {
  margin-right: 8px;
  color: var(--text-color);
  transition: color var(--transition-speed) var(--transition-ease);
}

.add-to-cart-btn:hover .fas {
  color: var(--accent-color);
}

.add-to-cart-content {
  position: relative;
  display: flex;
  color: var(--accent-color);
  align-items: center;
}

.add-to-cart-content::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.add-to-cart-btn:hover .add-to-cart-content::after {
  transform: scaleX(1);
  transform-origin: left;
}

.add-to-cart-btn:hover {
  color: var(--accent-color);
}

.add-to-cart-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  color: var(--dark-gray);
}

.add-to-cart-btn:disabled:hover::after {
  transform: scaleX(0);
}

.add-to-cart-btn:disabled .fas {
  color: var(--dark-gray);
}

/* Cart Panel - open as right side drawer, 30% width */
.cart-panel {
  position: fixed;
  top: 0;
  right: -30vw;
  width: 30vw;
  max-width: 230px;
  min-width: 130px;
  height: 100%;
  background: #1a1a1a;
  color: white;
  padding: 20px;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.cart-panel.open {
  right: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 768px) {
  .cart-panel,
  .cart-panel.open {
    width: 90vw;
    max-width: none;
    right: 0;
    padding-left: 0;
  }
}

.empty-cart-icon img {
  width: 70px;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-ease);
}

.page-overlay.active {
  display: block;
  opacity: 1;
}

/* Banner Section
.banner-section {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-bottom: 1px solid #333;
  border-radius: 12px;
  margin-bottom: 40px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1516321497487-e288ad792749?auto=format&fit=crop&q=80&w=2070&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
      center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 800px;
}

/* .banner-content h1 {
      font-family: "Montserrat", sans-serif;
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #fff;
      animation: fadeInSlideUp 1s var(--transition-ease) forwards;
    } */

/* .banner-content p {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #f1f1f1;
  animation: fadeInSlideUp 1s var(--transition-ease) 0.3s forwards;
} */

/* Products Grid & Filters */
.products-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-bottom: 40px;
}

.filter-category {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.filter-category:last-child {
  border-bottom: none;
}

.filter-category h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #00ffaa;
}

/* Custom Select Styling */
.filter-select select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text-color);
  cursor: pointer;
  transition: border-color 0.3s;
}

.filter-select select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.filter-select select:disabled {
  background-color: var(--medium-gray);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Price Slider */
.filter-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--medium-gray);
  border-radius: 5px;
  outline: none;
  margin-top: 10px;
  transition: background var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: grab;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background var(--transition-speed) var(--transition-ease),
    transform var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: grab;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background var(--transition-speed) var(--transition-ease),
    transform var(--transition-speed) var(--transition-ease);
}

.filter-slider input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.filter-slider input[type="range"]::-moz-range-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.price-range-display {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-top: 10px;
  text-align: center;
}

.report-btn {
  margin-top: 15px;
  display: inline-block;
  background: #00ff9d;
  padding: 8px 10px;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.report-btn:hover {
  background: #00d982;
}

.product-card {
  background-color: #ffffff;
  box-shadow: 0px 4px 16px var(--card-shadow);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-speed) var(--transition-ease),
    box-shadow var(--transition-speed) var(--transition-ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  opacity: 0;
  /* For scroll-reveal animation */
  transform: translateY(20px);
  /* For scroll-reveal animation */
}

.product-card.is-visible {
  /* Class added by JS for scroll-reveal */
  animation: fadeInSlideUp 0.8s var(--transition-ease) forwards;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--hover-shadow);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  transition: transform var(--transition-speed) var(--transition-ease);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  /* Gradient overlay on image */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  transition: background var(--transition-speed) var(--transition-ease);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-card:hover .product-image::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}

.product-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: end;
  margin-top: auto;
  padding-top: 10px;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-color);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-speed) var(--transition-ease);
}

.add-to-cart-btn .fas {
  margin-right: 8px;
  color: var(--accent-color);
  transition: color var(--transition-speed) var(--transition-ease);
}

.add-to-cart-btn:hover .fas {
  color: var(--accent-color);
}

.add-to-cart-content {
  position: relative;
  display: flex;
  align-items: center;
}

.add-to-cart-content::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.add-to-cart-btn:hover .add-to-cart-content::after {
  transform: scaleX(1);
  transform-origin: left;
}

.add-to-cart-btn:hover {
  color: var(--accent-color);
}

.add-to-cart-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  color: var(--dark-gray);
}

.add-to-cart-btn:disabled:hover::after {
  transform: scaleX(0);
}

.add-to-cart-btn:disabled .fas {
  color: var(--dark-gray);
}

/* Products Header (Heading + Sort Dropdown) */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: -9rem; /* aligned with filter */
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  color: #00ffaa;
  /* border-bottom: 3px solid #00ffaa; */
  display: inline-block;
  font-weight: 700;
  padding-bottom: 0.5rem;
  margin-right: 24px;
  opacity: 0;
  margin-top: -1rem;
  margin-left: 11rem;
  /* For scroll-reveal */
  transform: translateY(20px);
  /* For scroll-reveal */
}

.section-title.is-visible {
  animation: fadeInSlideUp 1s var(--transition-ease) forwards;
}

.sort-container {
  min-width: 200px;
  opacity: 0;
  /* For scroll-reveal */
  transform: translateY(20px);
  /* For scroll-reveal */
}

.sort-container.is-visible {
  animation: fadeInSlideUp 1s var(--transition-ease) 0.2s forwards;
}

.sort-container select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: #fff;
  font-size: 0.95rem;
  color: var(--text-color);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2C114.7L159.2%2C242.5c-3.2%2C3.2-8.3%2C3.2-11.5%2C0L5.4%2C114.7c-3.2-3.2-3.2-8.3%2C0-11.5l11.5-11.5c3.2-3.2%2C8.3-3.2%2C11.5%2C0L144%2C184.5l115.6-115.6c3.2-3.2%2C8.3-3.2%2C11.5%2C0l11.5%2C11.5C290.2%2C106.4%2C290.2%2C111.5%2C287%2C114.7z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 12px;
  cursor: pointer;
  transition: border-color var(--transition-speed) var(--transition-ease),
    box-shadow var(--transition-speed) var(--transition-ease);
}

.sort-container select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
  outline: none;
}

/* Pagination */
.pagination-buttons button {
  background-color: #fff;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  min-width: 40px;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color var(--transition-speed) var(--transition-ease),
    color var(--transition-speed) var(--transition-ease),
    border-color var(--transition-speed) var(--transition-ease),
    transform 0.2s var(--transition-ease);
}

.pagination-buttons button:hover:not(:disabled) {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pagination-buttons button:disabled {
  background-color: var(--medium-gray);
  color: var(--dark-gray);
  border-color: var(--medium-gray);
  cursor: not-allowed;
  box-shadow: none;
}

.pagination-buttons button.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-info {
  margin-top: 15px;
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* Footer Styles */
footer {
  background-color: black;
  color: #fff;
  padding: 15px 0 5px;
  padding-left: 0rem;
  padding-bottom: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: -3rem;
}

footer .footer-col nav {
  flex: 1 1 280px;
  margin-bottom: 30px;
  padding-top: -1rem;
  position: absolute;
}

footer .footer-col nav:nth-child(2) {
  flex-basis: 100px;
  margin-left: -12rem;
  margin-top: -0.5rem;
}

footer .footer-col nav:nth-child(3) {
  flex-basis: 150px;
}

footer .footer-col {
  flex: 1 1 280px;
  margin-bottom: 30px;
  padding-top: -1rem;
}

footer .footer-col:nth-child(2) {
  flex-basis: 100px;
  margin-left: -1rem;
}

footer .footer-col:nth-child(3) {
  flex-basis: 150px;
}

footer h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 600;
  padding-top: -1rem;
}

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

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color var(--transition-speed) var(--transition-ease);
}

footer ul li a:hover {
  color: #00ffc3;
}

footer .contact-info p {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

footer .contact-info svg {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.8);
}

footer .social-links a {
  display: inline-block;
  margin-right: 15px;
}

footer .social-links img {
  width: 25px;
  height: 25px;
  margin-top: 0rem;
  display: block;
  transition: transform var(--transition-speed) var(--transition-ease);
}

footer .social-links img:hover {
  transform: translateY(-3px);
}

footer .app-buttons button {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color var(--transition-speed) var(--transition-ease),
    transform var(--transition-speed) var(--transition-ease);
}

footer .app-buttons button:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* PDF Modal Styles */
.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1002;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-ease);
}

.pdf-modal.active {
  display: block;
  opacity: 1;
}

.pdf-modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform var(--transition-speed) var(--transition-ease);
}

.pdf-modal.active .pdf-modal-content {
  transform: translateY(0);
}

.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.pdf-modal-header h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-gray);
  transition: color var(--transition-speed) var(--transition-ease);
}

.modal-close:hover {
  color: var(--accent-color);
}

.pdf-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.pdf-item {
  background-color: var(--light-gray);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: transform var(--transition-speed) var(--transition-ease),
    box-shadow var(--transition-speed) var(--transition-ease);
}

.pdf-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pdf-icon {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 10px;
}

.pdf-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.pdf-download-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background-color var(--transition-speed) var(--transition-ease);
}

.pdf-download-btn:hover {
  background-color: #004085;
}

/* New styles for view reports button */
.view-reports-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-color);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-speed) var(--transition-ease);
}

.view-reports-content {
  position: relative;
  display: flex;
  align-items: center;
}

.view-reports-btn .fas {
  margin-right: 8px;
}

.view-reports-content::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.view-reports-btn:hover .view-reports-content::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Disabled state styles for download button */
.pdf-download-btn.disabled {
  background-color: var(--medium-gray);
  cursor: not-allowed;
  opacity: 0.7;
}

.pdf-download-btn.disabled:hover {
  background-color: var(--medium-gray);
}

.pdf-download-btn.disabled .fas {
  color: var(--dark-gray);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .products-layout {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .filter-panel {
    width: 100%;
    position: static;
    /* Disable sticky on smaller screens */
    margin-bottom: 20px;
  }

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

  footer .footer-col:nth-child(2) {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .header-desk {
    display: none;
  }

  .header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0px;
  }

  .mobile-menu {
    width: 250px;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -250px;
    bottom: 0;
    z-index: 1002;
    /* Higher than overlay */
    transition: right var(--transition-speed) var(--transition-ease);
    box-shadow: rgba(0, 0, 0, 0.5) -2px 0px 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu.open {
    right: 0;
  }

  .mobile-menu button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    align-self: flex-end;
    color: var(--dark-gray);
  }

  .mobile-navigation .navigation__list {
    flex-direction: column;
    gap: 15px;
  }

  .mobile-navigation .navigation__link {
    padding: 0.5rem 1rem;
  }

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

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

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

  .product-content {
    padding: 10px;
  }

  .product-image {
    height: 180px;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .sort-container {
    width: 100%;
    min-width: unset;
  }

  footer .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  footer .footer-col {
    text-align: center;
    margin-left: 0 !important;
  }

  footer .social-links {
    justify-content: center;
  }

  footer .app-buttons {
    justify-content: center;
  }

  .copyright {
    text-align: center;
    margin-right: 0;
    margin-left: 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animations for product cards */
.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

.product-card:nth-child(5) {
  animation-delay: 0.5s;
}

.product-card:nth-child(6) {
  animation-delay: 0.6s;
}

.product-card:nth-child(7) {
  animation-delay: 0.7s;
}

.product-card:nth-child(8) {
  animation-delay: 0.8s;
}

.product-card:nth-child(9) {
  animation-delay: 0.9s;
}

.product-card:nth-child(10) {
  animation-delay: 1s;
}

/* Add more for additional cards if needed */

.report-type {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 10px;
  font-style: italic;
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
  }

  .products-layout {
    flex-direction: column;
    gap: 20px;
  }

  .filter-panel {
    width: 100%;
    margin-left: -15px;
    position: static;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }

  .grid-container {
    grid-template-columns: 1fr;
    /* 1 product per row on phone */
  }

  .product-image {
    height: 160px;
  }

  .product-content {
    padding: 12px;
  }

  footer .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  footer .footer-col {
    text-align: center;
    margin-left: 0 !important;
  }

  footer .social-links {
    justify-content: center;
  }

  footer .app-buttons {
    justify-content: center;
  }

  .copyright {
    text-align: center;
    margin-right: 0;
    margin-left: 0;
  }
}
/*  Searche Bar Suggestions dropdown */
.search-suggestions {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  font-size: 0.9rem;
}

.search-suggestions div {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.search-suggestions div:hover {
  background: #f5f5f5;
}

.search-suggestions .category {
  font-size: 0.75rem;
  font-weight: bold;
  color: #666;
  margin-top: 6px;
  margin-bottom: -4px;
  padding: 4px 12px;
  background: #fafafa;
}

#suggestionsBox div.highlighted {
  background-color: #e0e0e0;
  cursor: pointer;
}

/* your existing CSS here */
/* .just-paid-highlight {
      outline: 3px solid #00ffcc;
      box-shadow: 0 0 0 6px rgba(0,255,204,.25);
      border-radius: 14px;
      transition: box-shadow .3s ease;
    } */
/* Proceed to checkout button changes */
.checkout-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
/* Login Page User dropdown
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown:hover .dropdown-content {
  display: block;
}

#auth-link {
  cursor: pointer;
  font-weight: bold;
  color: #00ffcc;
}

#auth-link:hover {
  color: #00ffcc;
} */
.principles {
  color: #ccc;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  width: 65rem;
  height: auto;
  padding: 2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 3rem;
}

/* .principles ul {
        padding-left: 1.2rem;
      }

      .principles li {
        margin-bottom: 1.25rem;
        font-size: 1rem;
        color: white;
      } */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.4);
}
.feature-card i {
  font-size: 2rem;
  color: #00ffaa;
  margin-bottom: 0.8rem;
}
.feature-card h4 {
  color: #fff;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.feature-card p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.4;
}
#carousel-text {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: 2rem;
  margin-left: -10rem;
  width: 70rem;
  color: #fff;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#carousel-text.fade-in {
  opacity: 1;
}
/* 🔥 Slideshow for Banner Background */
.banner-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.banner-slideshow img {
  position: absolute;
  width: 100%;
  margin-left: -50rem;
  height: 100%;
  object-fit: cover;
  /* border-radius: 2rem; */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slideshow img.active {
  opacity: 5;
}

.banner-section .banner-content {
  position: relative;
  z-index: 1; /* ensures text stays above slideshow */
}
.default-message {
  text-align: center;
  padding: 5rem;
  color: #666;
  margin-bottom: -8rem;
  grid-column: 1/-1;
}
