/* Keda Tech Theme - Cyan/Blue Style */

/* Base Styles */
html, body {
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-dark);
  overflow-x: hidden;
  max-width: 100vw;
}

/* Global overflow prevention */
html {
  overflow-x: hidden;
  overflow-y: visible;
}

* {
  max-width: 100%;
  box-sizing: border-box;
}

/* All containers - prevent overflow */
main, section, article, aside, nav, header, footer,
.container, .container-fluid,
div[class*="grid"], div[class*="flex"],
div[class*="col"], div[class*="row"] {
  overflow: visible !important;
}

/* Prevent any horizontal scroll */
img, video, iframe, canvas {
  max-width: 100%;
  height: auto;
}

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

/* Line clamp utilities for text truncation */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   Page-Specific Layout Styles
   ========================================== */

/* --- About Page (data-page="about") - Asymmetric Dynamic Layout --- */
body[data-page="about"] .page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

body[data-page="about"] .page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

body[data-page="about"] .story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  body[data-page="about"] .story-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
  }
  body[data-page="about"] .story-grid .image-block {
    order: 2;
  }
  body[data-page="about"] .story-grid .text-block {
    order: 1;
  }
}

body[data-page="about"] .image-block {
  position: relative;
}

body[data-page="about"] .image-block::after {
  content: "";
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), transparent 60%);
  border-radius: 4rem;
  z-index: -1;
  animation: imagePulse 4s ease-in-out infinite;
}

@keyframes imagePulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.02); opacity: 0.8; }
}

body[data-page="about"] .stat-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: 2rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-page="about"] .stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body[data-page="about"] .value-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

body[data-page="about"] .value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body[data-page="about"] .value-card:hover::before {
  opacity: 1;
}

body[data-page="about"] .value-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(249, 115, 22, 0.3);
}

body[data-page="about"] .value-icon {
  width: 70px;
  height: 70px;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.2);
  transition: all 0.4s ease;
}

body[data-page="about"] .value-icon i {
  color: var(--accent);
  transition: color 0.3s ease;
}

body[data-page="about"] .value-card:hover .value-icon {
  background: var(--accent);
  transform: rotate(5deg) scale(1.1);
}

body[data-page="about"] .value-card:hover .value-icon i {
  color: white;
}

/* --- Contact Page (data-page="contact") - Centered Compact Layout --- */
body[data-page="contact"] .page-hero {
  padding: 5rem 0;
  position: relative;
}

body[data-page="contact"] .page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

body[data-page="contact"] .contact-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

body[data-page="contact"] .contact-card:hover {
  border-color: rgba(0, 195, 255, 0.4);
  background: #f0f9ff;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 195, 255, 0.15);
}

body[data-page="contact"] .contact-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: rgba(0, 195, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

body[data-page="contact"] .contact-card .icon-box i {
  color: #00C3FF;
  transition: color 0.3s ease;
}

body[data-page="contact"] .contact-card:hover .icon-box {
  background: #00C3FF;
  transform: scale(1.1);
}

body[data-page="contact"] .contact-card:hover .icon-box i {
  color: white;
}

body[data-page="contact"] .form-container {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 2rem;
  padding: 3rem;
  position: relative;
}

body[data-page="contact"] .form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.3), transparent);
}

body[data-page="contact"] .form-input {
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 1rem;
  padding: 1rem 2.5rem;
  color: #333333;
  transition: all 0.3s ease;
}

body[data-page="contact"] .form-input:focus {
  background: white;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.15);
  outline: none;
}

body[data-page="contact"] .faq-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

body[data-page="contact"] .faq-item:hover {
  border-color: rgba(0, 195, 255, 0.3);
  background: #f0f9ff;
}

/* --- Policy Pages (data-page="privacy"/"terms"/"return"/"shipping") - Compact List Layout --- */
body[data-page="privacy"] .page-hero,
body[data-page="terms"] .page-hero,
body[data-page="return"] .page-hero,
body[data-page="return-policy"] .page-hero,
body[data-page="shipping"] .page-hero {
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

body[data-page="privacy"] .page-hero::after,
body[data-page="terms"] .page-hero::after,
body[data-page="return"] .page-hero::after,
body[data-page="shipping"] .page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

body[data-page="privacy"] .policy-card,
body[data-page="terms"] .policy-card,
body[data-page="return"] .policy-card,
body[data-page="return-policy"] .policy-card,
body[data-page="shipping"] .policy-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

body[data-page="privacy"] .policy-card::before,
body[data-page="terms"] .policy-card::before,
body[data-page="return"] .policy-card::before,
body[data-page="return-policy"] .policy-card::before,
body[data-page="shipping"] .policy-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  border-radius: 3px 0 0 3px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

body[data-page="privacy"] .policy-card:hover::before,
body[data-page="terms"] .policy-card:hover::before,
body[data-page="return"] .policy-card:hover::before,
body[data-page="return-policy"] .policy-card:hover::before,
body[data-page="shipping"] .policy-card:hover::before {
  opacity: 1;
}

body[data-page="privacy"] .policy-card:hover,
body[data-page="terms"] .policy-card:hover,
body[data-page="return"] .policy-card:hover,
body[data-page="return-policy"] .policy-card:hover,
body[data-page="shipping"] .policy-card:hover {
  background: #f0f9ff;
  border-color: rgba(0, 195, 255, 0.3);
  transform: translateX(4px);
}

body[data-page="privacy"] .policy-number,
body[data-page="terms"] .policy-number,
body[data-page="return"] .policy-number,
body[data-page="return-policy"] .policy-number,
body[data-page="shipping"] .policy-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 195, 255, 0.1);
  border: 1px solid rgba(0, 195, 255, 0.2);
  border-radius: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.875rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

body[data-page="privacy"] .policy-header,
body[data-page="terms"] .policy-header,
body[data-page="return"] .policy-header,
body[data-page="return-policy"] .policy-header,
body[data-page="shipping"] .policy-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

body[data-page="privacy"] .policy-intro,
body[data-page="terms"] .policy-intro,
body[data-page="return"] .policy-intro,
body[data-page="return-policy"] .policy-intro,
body[data-page="shipping"] .policy-intro {
  background: #f0f9ff;
  border: 1px solid rgba(0, 195, 255, 0.2);
  border-radius: 1.25rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

body[data-page="privacy"] .policy-cta,
body[data-page="terms"] .policy-cta,
body[data-page="return"] .policy-cta,
body[data-page="return-policy"] .policy-cta,
body[data-page="shipping"] .policy-cta {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

/* Keda Tech Theme Variables - Cyan/Blue Malaysia */
:root {
  /* Primary Colors - Cyan Blue */
  --primary: #00C3FF;        /* 明亮青 */
  --primary-bg: #FFFFFF;      /* 纯白背景 */
  --secondary: #4D7CFF;        /* 稳重蓝 */
  --secondary-bg: #FFFFFF;   /* 白色背景 - 用于内容区域 */

  /* Accent Colors - Cyan Blue */
  --accent: #00C3FF;          /* Primary Cyan */
  --accent-hover: #4D7CFF;     /* Deeper Blue */
  --accent-light: #67E8FF;    /* Light Cyan */
  --accent-blue: #4D7CFF;     /* Blue accent */
  --accent-blue-dark: #3B82F6;/* Darker Blue */

  /* CTA & Actions */
  --cta: #4D7CFF;            /* Blue CTA */
  --cta-hover: #3B82F6;      /* Darker Blue CTA */

  /* Text Colors */
  --text-white: #FFFFFF;
  --text-dark: #333333;       /* 主文字 */
  --text-main: #333333;       /* 主文字 */
  --text-muted: #888888;       /* 辅助字 */
  --text-light: #6B7280;      /* 浅色文字 */

  /* Brand Colors */
  --gold: #F59E0B;          /* Price/Rating gold */
  --success: #10B981;        /* Success green */
  --error: #EF4444;          /* Error red */

  /* Borders */
  --border-color: rgba(0, 195, 255, 0.2);
  --border-light: #B2EBF2;  /* 浅色边框线 */
  --card-border: rgba(0, 195, 255, 0.15);

  /* Glass & Effects */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(0, 195, 255, 0.2);

  /* Shadows */
  --accent-glow: rgba(0, 195, 255, 0.4);
  --glow-shadow: 0 0 20px rgba(0, 195, 255, 0.4);
  --card-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --card-hover-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --button-shadow: 0 4px 12px rgba(0, 195, 255, 0.4);
  --button-shadow-hover: 0 6px 20px rgba(0, 195, 255, 0.6);
  --filter-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);

  /* Additional */
  --border-glow: rgba(0, 195, 255, 0.3);
  --text-rating: #F59E0B;
}

/* Global overflow prevention */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Prevent any vertical scroll issues */
#site-header,
#site-footer,
#modal-root,
#toast-root {
  overflow: visible !important;
}

/* All containers */
.container,
.container-fluid,
section,
article,
aside,
main,
nav,
header,
footer,
div[class*="grid"],
div[class*="flex"],
div[class*="col"],
div[class*="row"] {
  overflow: visible !important;
  max-width: 100vw;
}

/* Prevent overflow in all elements */
* {
  max-width: 100%;
}

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

/* Forms */
input, textarea, select, button {
  max-width: 100%;
}

/* Mobile safe zones */
@media (max-width: 640px) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* Typography */
.font-brand {
  font-family: 'Orbitron', sans-serif;
}

body, html {
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glow-text {
  text-shadow: 0 0 15px rgba(191, 64, 209, 0.6);
}

/* Custom styles for price and ratings */
.price,
.product-price,
.final-price {
  color: var(--gold) !important;
  font-weight: bold;
}

.rating .fa-star,
.review-stars .fa-star {
  color: var(--gold);
}

/* Product Card - Cyan/Blue Modern Theme */
.product-card {
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: white;
  border: 1px solid #e5e7eb;
}

/* 修复卡片内部溢出 */
.product-card * {
  max-width: 100%;
  overflow: visible;
}

.product-card:hover {
  box-shadow: 0 20px 40px rgba(0, 195, 255, 0.2);
  transform: translateY(-8px);
  border-color: rgba(0, 195, 255, 0.4);
}

/* Product View Button - Cyan Blue Style */
.product-view-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #00C3FF 0%, #4D7CFF 100%);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 195, 255, 0.4);
  overflow: visible;
}

.product-view-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.product-view-btn:hover {
  box-shadow: 0 8px 25px rgba(0, 195, 255, 0.5);
  transform: translateY(-2px);
}

.product-view-btn:hover::before {
  left: 100%;
}

.product-view-btn:active {
  transform: translateY(0);
  box-shadow: var(--button-shadow);
}

.product-view-btn .icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.product-view-btn .icon:hover {
  transform: scale(1.1);
}

/* 2. Shop Page Title - Cyan Blue Style */
.shop-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  animation: fadeInUp 0.6s ease-out;
}

.shop-page-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 2px;
}

/* 3. Filter Button - Clean Style */
.filter-btn {
  position: relative;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--secondary-bg);
  color: var(--primary-bg); /* Changed for light background */
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Shop page filter buttons - clean hover effect */
#shop-filters .filter-btn {
  background: rgba(243, 240, 245, 0.8); /* Light Lavender with opacity */
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #1C1917; /* Deep Purple text */
  transition: all 0.2s ease;
}

#shop-filters .filter-btn:hover {
  background: rgba(0, 195, 255, 0.2);
  border-color: rgba(77, 124, 255, 0.5);
  color: #00C3FF;
  box-shadow: 0 0 20px rgba(77, 124, 255, 0.15);
  transform: translateY(-1px);
}

#shop-filters .filter-btn.active {
  background: linear-gradient(135deg, #00C3FF 0%, #4D7CFF 100%);
  border-color: #00C3FF;
  color: #fff;
  box-shadow: 0 0 25px rgba(77, 124, 255, 0.4);
}

/* Default filter button styles */
.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--filter-shadow);
}

.filter-btn.active {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-hover) 100%
  );
  color: var(--text-white);
  border-color: var(--accent);
  box-shadow: var(--button-shadow);
}

/* 4. Filters Container - Deep Electro Style */
.filters-container {
  background: var(--secondary-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
  animation-delay: 0.2s;
}

.filters-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.15;
}

/* 5. Product Count - Deep Electro Style */
.product-count {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-hover) 100%
  );
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--button-shadow);
  animation: fadeInUp 0.6s ease-out;
  animation-delay: 0.4s;
  border: 1px solid var(--border-glow);
}

/* 6. 动画增强 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 7. Responsive Design - Deep Electro Theme */
/* Mobile */
@media (max-width: 767px) {
  .shop-page-title {
    font-size: 2rem;
  }

  .product-view-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }

  .filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }

  .filters-container {
    padding: 1rem;
  }

  .product-count {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }

  /* Mobile grid optimization */
  #shop-grid,
  #new-products-grid,
  #featured-scroll,
  #related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Card width optimization */
  [data-animate-card] {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .shop-page-title {
    font-size: 2.25rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .shop-page-title {
    font-size: 2.75rem;
  }

  .product-view-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }

  .filter-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }
}

/* 8. Deep Electro Custom Utilities */
/* Glass morphism effect */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

/* Glow effect text */
.glow-text {
  text-shadow: 0 0 20px var(--accent-glow);
}

/* Neon border effect */
.neon-border {
  border: 1px solid var(--border-glow);
  box-shadow:
    0 0 10px var(--accent-glow),
    inset 0 0 10px var(--accent-glow);
}

/* Card hover glow */
.card-glow:hover {
  box-shadow: var(--card-hover-shadow), var(--glow-shadow);
  border-color: var(--accent);
}

/* --- Product Card Button Override - Modern Style --- */
.product-card .product-view-btn {
  background: white;
  border: 2px solid #00C3FF;
  color: #00C3FF;
  box-shadow: none;
}

.product-card .product-view-btn:hover {
  background: linear-gradient(
    135deg,
    #00C3FF 0%,
    #4D7CFF 100%
  );
  color: white;
  border-color: #00C3FF;
  box-shadow: 0 8px 25px rgba(0, 195, 255, 0.4);
}

/* --- Color Contrast Fixes --- */

/* Product Card Text Color - Modern Blue Theme */
.product-card .category-rating span {
  color: #4D7CFF !important;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.product-card .price-section .text-textLight,
.product-card .category-rating .text-textLight {
  color: #6B7280 !important;
}

/* Price styling - Bold Blue */
.product-card .price,
.product-card .product-price,
.product-card .final-price {
  color: #00C3FF !important;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Ensure all card elements don't overflow */
.product-card img,
.product-card h4 {
  max-width: 100%;
  min-height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  line-height: 1.25;
}

/* Ensure all card elements don't overflow */
.product-card img,
.product-card div,
.product-card p,
.product-card h3,
.product-card a {
  max-width: 100%;
  overflow: visible;
  word-wrap: break-word;
}

/* Card image container - Clean rounded corners */
.product-card .aspect-square {
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
}

.product-card .aspect-square img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* Footer Link Colors */
#site-footer a {
  transition: color 0.3s ease;
  opacity: 1;
}

#site-footer a:hover {
  color: var(--text-white); /* Hover to pure white */
  text-shadow: 0 0 8px var(--accent-glow);
}
