/* Faiz Gems Design System - CSS Variables */
:root {
  /* Background Colors */
  --bg-body: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-panel: #FFFFFF;
  --bg-white: #FFFFFF;

  /* Text Colors */
  --text-primary: #2F3541;
  --text-secondary: #6E7885;
  --text-muted: rgba(110, 120, 133, 0.8);

  /* Brand Colors */
  --brand-primary: #7FBEC5;
  --brand-hover: #6AA8AE;

  /* Accent Colors */
  --accent-link: #B6B4EA;

  /* Border Colors */
  --border-subtle: #C5CBD3;
  --border-strong: #B8BFC8;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Component Spacing */
  --card-padding: 24px;
  --button-h: 32px;
  --button-v: 14px;

  /* Typography */
  --font-primary: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition: 0.3s ease;

  /* Border Radius */
  --radius: 2px;

  /* Shadows */
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 12px rgba(127, 190, 197, 0.2);
}

/* Base Typography Updates */
body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-primary);
}

p {
  color: var(--text-secondary);
}

/* Homepage Hero Section */
.hero {
  background-color: var(--bg-body);
}

.hero__text h6 {
  color: var(--brand-primary) !important;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.hero__text h2 {
  color: var(--text-primary);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.hero__text p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Primary Button - Updated to Design System */
.primary-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--button-v) var(--button-h);
  color: var(--text-primary);
  background: var(--brand-primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.primary-btn:hover {
  background: var(--brand-hover);
  box-shadow: var(--shadow-hover);
  color: var(--text-primary);
  text-decoration: none;
}

/* Section Title - Updated */
.section-title span {
  color: var(--brand-primary) !important;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
  display: block;
}

.section-title h2 {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
}

/* Banner Section */
.banner__item__text h2 {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
}

.banner__item__text a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition);
  padding: 3px 0;
  position: relative;
}

.banner__item__text a:after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-link);
  content: "";
  transition: all var(--transition);
}

.banner__item__text a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.banner__item__text a:hover:after {
  background: var(--brand-primary);
}

/* Banner Category Placeholder - When No Image Available */
.banner__item__placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner__item__placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--bg-body) 0%, var(--border-subtle) 100%);
  opacity: 0.3;
  z-index: 0;
}

.banner__item__placeholder__icon {
  font-size: 48px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

.banner__item__placeholder__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-primary);
  position: relative;
  z-index: 1;
}

.banner__item__pic img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Responsive Placeholder Styles */
@media (max-width: 768px) {
  .banner__item__placeholder {
    min-height: 200px;
    padding: var(--space-lg);
  }
  
  .banner__item__placeholder__icon {
    font-size: 36px;
    margin-bottom: var(--space-sm);
  }
  
  .banner__item__placeholder__text {
    font-size: 14px;
  }
}

/* Category Cards Section */
.category-cards-section {
  background: var(--bg-body);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

/* Category Cards - Matching Dashboard Design */
.categories-page-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}

.categories-page-header h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.categories-page-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

/* Desktop: 5 columns */
@media (min-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
  }
}

/* Tablet: 3 columns */
@media (max-width: 1199px) and (min-width: 769px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

.category-page-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.category-page-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.category-page-image {
  aspect-ratio: 1/1;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.category-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-page-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
  padding: var(--space-sm);
}

.category-page-image-placeholder__icon {
  font-size: 36px;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  opacity: 0.5;
}

.category-page-image-placeholder__text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.category-page-content {
  padding: var(--space-md);
}

.category-page-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.category-page-name a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.category-page-name a:hover {
  color: var(--brand-primary);
}

.category-page-count {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.category-page-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.category-page-link:hover {
  color: var(--brand-hover);
}

.category-page-link i {
  font-size: 10px;
}

/* Responsive Category Grid */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .category-page-content {
    padding: var(--space-sm);
  }
  
  .category-page-name {
    font-size: 14px;
  }
  
  .category-page-count {
    font-size: 11px;
  }
  
  .category-page-link {
    font-size: 11px;
  }
  
  .category-page-image-placeholder__icon {
    font-size: 28px;
  }
}

/* Component Grid - Base grid container */
.component-grid {
    display: grid;
    gap: var(--space-lg);
}

/* Product Cards - Matching Dashboard Design */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

/* Homepage Product Grid - Smaller cards like shop page */
.product-section .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

@media (min-width: 992px) {
  .product-section .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .product-section .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .product-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

.product-card {
  background: var(--bg-surface);
  border: none;
  padding: var(--card-padding);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Smaller cards for homepage product section */
.product-section .product-card {
  padding: var(--space-md);
}

/* Compact cards for shop page */
.shop .product-card {
  padding: var(--space-md);
}

.product-card:hover {
  box-shadow: var(--shadow-soft);
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--text-primary);
  color: #FFFFFF;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  z-index: 2;
  max-width: calc(100% - var(--space-md) * 2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Smaller badge for homepage */
.product-section .product-badge {
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 3px 8px;
  font-size: 9px;
  max-width: calc(100% - var(--space-sm) * 2);
}

/* Mobile-specific badge adjustments to prevent interference */
@media (max-width: 767px) {
  .product-badge {
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 3px 8px;
    font-size: 9px;
    max-width: calc(100% - var(--space-sm) * 2);
  }
  
  .product-section .product-badge {
    top: 4px;
    left: 4px;
    padding: 2px 6px;
    font-size: 8px;
    max-width: calc(100% - 8px);
  }
  
  /* Ensure product image container contains the badge */
  .product-image {
    position: relative;
    overflow: hidden;
  }
}

.product-image {
  background: var(--bg-white);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Smaller image margin for homepage */
.product-section .product-image {
  margin-bottom: var(--space-sm);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  color: var(--text-muted);
}

.product-image-placeholder__icon {
  font-size: 48px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  opacity: 0.5;
}

.product-image-placeholder__text {
  font-size: 12px;
  color: var(--text-muted);
}

.product-hover-icons {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 3;
}

.product-card:hover .product-hover-icons {
  opacity: 1;
}

.product-hover-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.product-hover-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-hover-icon i {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.product-hover-icon:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.product-hover-icon:hover i {
  color: var(--text-primary);
}

.product-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
  min-height: 0;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Smaller product name for homepage */
.product-section .product-name {
  font-size: 16px;
  margin-bottom: var(--space-xs);
  min-height: 2.5em;
}

/* Smaller product name for shop page to fit 3 cards */
.shop .product-name {
  font-size: 15px;
  margin-bottom: var(--space-xs);
  min-height: 2.4em;
}

.product-name a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
  display: block;
  line-height: inherit;
}

.product-name a:hover {
  color: var(--brand-primary);
}

.product-price {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
  min-height: 1.5em;
}

/* Smaller price margin for homepage */
.product-section .product-price {
  margin-bottom: var(--space-sm);
}

.price-current {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 22px;
}

/* Smaller price for homepage */
.product-section .price-current {
  font-size: 18px;
}

.price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 18px;
}

.price-sale {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 22px;
}

.price-login-required {
  font-size: 18px;
  color: var(--text-secondary);
}

.price-login-required a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.price-login-required a:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

.product-add-to-cart {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  margin-top: auto;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%;
  text-align: center;
}

/* Smaller button for homepage */
.product-section .product-add-to-cart {
  font-size: 12px;
  padding: 8px 16px;
  margin-top: var(--space-xs);
}

.product-add-to-cart:hover {
  background: var(--brand-hover);
  box-shadow: 0 2px 8px rgba(127, 190, 197, 0.3);
  color: var(--text-primary);
  text-decoration: none;
}

/* Ensure form wrapper in product cards also pushes button to bottom */
.product-card form {
  margin-top: auto;
  display: flex;
  width: 100%;
}

/* Responsive Product Grid */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
  }
  
  .product-image-placeholder__icon {
    font-size: 36px;
  }
}

/* Product Section - Legacy styles removed, using new product-card styles above */

/* Categories Section */
.categories {
  background: var(--bg-body);
}

.categories__text h2 {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.3;
}

.categories__text h2 span {
  font-weight: 600;
  color: var(--text-primary);
}

.categories__deal__countdown span {
  color: var(--brand-primary);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.categories__deal__countdown h2 {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
}

.categories__deal__countdown .categories__deal__countdown__timer .cd-item span {
  color: var(--text-primary);
  font-weight: 600;
}

.categories__deal__countdown .categories__deal__countdown__timer .cd-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

.hot__deal__sticker {
  background: var(--text-primary);
  border-radius: 50%;
}

.hot__deal__sticker span {
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.hot__deal__sticker h5 {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 20px;
}

/* Hero Social Icons */
.hero__social a {
  color: var(--text-primary);
  transition: color var(--transition);
}

.hero__social a:hover {
  color: var(--brand-primary);
}

/* Header Section - Updated to Design System */
.header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.header .container > .row {
  display: flex;
  align-items: center;
}

.header__top {
  background: var(--text-primary); /* Charcoal slate for top strip */
  padding: var(--space-sm) 0;
  position: relative;
}

.header__top__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header__top__left {
  flex: 0 0 auto;
  text-align: left;
}

.header__top__left p {
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  font-family: var(--font-primary);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5), 0 0 4px rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.header__top__left p a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color var(--transition);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5), 0 0 4px rgba(255, 255, 255, 0.3);
}

.header__top__left p a:hover {
  color: var(--brand-primary);
  text-shadow: 0 0 2px rgba(127, 190, 197, 0.5), 0 0 4px rgba(127, 190, 197, 0.3);
}

.header__top__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  text-align: center;
}

.header__top__center p {
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  font-family: var(--font-primary);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5), 0 0 4px rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.header__top__center p a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color var(--transition);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5), 0 0 4px rgba(255, 255, 255, 0.3);
}

.header__top__center p a:hover {
  color: var(--brand-primary);
  text-shadow: 0 0 2px rgba(127, 190, 197, 0.5), 0 0 4px rgba(127, 190, 197, 0.3);
}

.header__top__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__top__links a {
  color: #FFFFFF;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
  font-family: var(--font-primary);
}

.header__top__links a:hover {
  color: var(--brand-primary);
}

.header__top__hover span {
  color: #FFFFFF;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-primary);
}

/* Mobile Menu Announcement */
.offcanvas__text p {
  font-family: var(--font-primary);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.offcanvas__text p a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0.2);
}

.offcanvas__text p a:hover {
  color: var(--brand-primary);
  text-shadow: 0 0 2px rgba(127, 190, 197, 0.3), 0 0 4px rgba(127, 190, 197, 0.2);
}

/* Responsive Header Top */
@media (max-width: 768px) {
  .header__top__left {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: var(--space-xs);
    text-align: center;
  }
  
  .header__top__center {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: var(--space-xs);
  }
  
  .header__top__wrapper {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .header__top__right {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.header__logo {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 60px;
  max-height: 80px;
}

.header__logo a {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.header__logo img {
  max-width: 160px;
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Responsive logo sizing for mobile */
@media (max-width: 767px) {
  .header__logo {
    min-height: 50px;
    max-height: 70px;
    padding: var(--space-md) 0;
  }
  
  .header__logo img {
    max-width: 120px;
    max-height: 50px;
  }
}

.header__menu {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.header__menu ul li {
  margin-right: 25px;
}

.header__menu ul li:last-child {
  margin-right: 0;
}

.header__menu ul li a {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}

.header__menu ul li a:after {
  background: var(--brand-primary) !important;
  height: 2px;
}

.header__menu ul li.active a,
.header__menu ul li.active a:after {
  border-bottom-color: var(--brand-primary) !important;
  color: var(--text-primary) !important;
}

.header__menu ul li:hover a:after {
  border-bottom-color: var(--brand-primary) !important;
  background: var(--brand-primary) !important;
}

.header__menu ul li .dropdown {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.header__menu ul li .dropdown li a {
  color: var(--text-primary);
  font-size: 14px;
  padding: var(--space-sm) var(--space-lg);
}

.header__menu ul li .dropdown li a:hover {
  color: var(--brand-primary);
}

.header__nav__option {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  justify-content: flex-end;
  height: 100%;
}

.header__nav__option a,
.header__nav__option .search-icon-toggle {
  color: var(--text-primary);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  position: relative;
}

.header__nav__option a i {
  font-size: 18px;
  line-height: 1;
}

.header__nav__option a:hover,
.header__nav__option .search-icon-toggle:hover {
  color: var(--brand-primary);
}

.header__nav__option .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 1.4;
}

.header__nav__option .price {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 700;
  margin-left: var(--space-sm);
}

/* Improved Search Bar */
.header-search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: color var(--transition);
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
}

.search-icon-toggle:hover {
  color: var(--brand-primary);
}

.header-search-bar {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  opacity: 0;
  visibility: hidden;
  width: 300px;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.header-search-bar.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-white);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 300px;
}

.search-input {
  width: 100%;
  height: 40px;
  padding: 0 var(--space-md) 0 var(--space-lg);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(127, 190, 197, 0.1);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: var(--brand-primary);
  border-radius: 2px;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.search-button:hover {
  background: var(--brand-hover);
}

.search-button i {
  font-size: 14px;
  color: #FFFFFF;
}

/* jQuery UI Autocomplete Styling - Matching Design System */
.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  display: none;
  min-width: 300px;
  max-width: 300px;
  padding: 0;
  margin: 2px 0 0 0;
  list-style: none;
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  font-family: var(--font-primary);
  font-size: 14px;
}

.ui-autocomplete .ui-menu-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.ui-autocomplete .ui-menu-item:last-child {
  border-bottom: none;
}

.ui-autocomplete .ui-menu-item-wrapper {
  display: block;
  padding: var(--space-md) var(--space-lg);
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--bg-white);
}

.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-focus {
  background-color: var(--bg-body);
  color: var(--text-primary);
  border-color: transparent;
  margin: 0;
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
  background-color: rgba(127, 190, 197, 0.1);
  color: var(--brand-primary);
  font-weight: 500;
}

/* Responsive autocomplete */
@media (max-width: 767px) {
  .ui-autocomplete {
    min-width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    left: auto !important;
    right: 0 !important;
  }
}

/* Footer Section - Updated to Design System */
.footer {
  background: var(--text-primary); /* Charcoal slate */
  padding-top: var(--space-2xl);
  color: #FFFFFF;
}

.footer__about p {
  color: #B3B3B3;
  font-size: 14px;
  line-height: 1.7;
}

.footer__widget h6 {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.footer__widget ul li a {
  color: #B3B3B3;
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__widget ul li a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--accent-link);
}

.footer__widget .footer__newslatter p {
  color: #B3B3B3;
  font-size: 14px;
  line-height: 1.7;
}

.footer__widget .footer__newslatter form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #555555;
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 14px;
  padding: var(--space-sm) 0;
}

.footer__widget .footer__newslatter form input::placeholder {
  color: #777777;
}

.footer__widget .footer__newslatter form input:focus {
  outline: none;
  border-bottom-color: #FFFFFF;
}

.footer__widget .footer__newslatter form button {
  color: #B3B3B3;
  transition: color var(--transition);
}

.footer__widget .footer__newslatter form button:hover {
  color: var(--brand-primary);
}

.footer__copyright__text {
  border-top: 1px solid #333333;
  padding-top: var(--space-lg);
  margin-top: var(--space-xl);
  text-align: center;
}

.footer__copyright__text p {
  color: #B3B3B3;
  font-size: 12px;
  margin-bottom: 0;
}

/* Force Override All Red Colors - Final Safety Net */
.header__menu ul li.active a,
.header__menu ul li.active a:after,
.header__menu ul li a:after,
.section-title span,
.hero__text h6,
.categories__deal__countdown span,
.product__details__tab .nav-tabs .nav-item .nav-link.active,
.product__details__tab .nav-tabs .nav-item .nav-link.active,
.footer__copyright__text p i,
.footer__copyright__text p a,
.product__item__text .rating i.fa-star,
.product__item.sale .product__item__text .rating i {
  color: var(--brand-primary) !important;
}

.header__menu ul li.active a:after,
.header__menu ul li a:after,
.product__details__tab .nav-tabs .nav-item .nav-link.active {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

/* Ensure all links and buttons use brand color instead of red */
a[style*="red"],
a[style*="#e53637"],
a[style*="#ed1c24"],
button[style*="red"],
button[style*="#e53637"] {
  color: var(--brand-primary) !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

/* Shop Filter Demo Layout - Matching Dashboard */
.shop-filter-demo {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-xl);
}

@media (max-width: 991px) {
  .shop-filter-demo {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Shop Page Styles - Matching Design System */
/* Breadcrumb Section */
.breadcrumb-option {
  background: var(--bg-body) !important;
  padding: var(--space-lg) 0;
}

.breadcrumb__text h4 {
  color: var(--text-primary) !important;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  font-family: var(--font-primary);
}

.breadcrumb__links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.breadcrumb__links a {
  color: var(--text-secondary) !important;
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition);
  margin-right: var(--space-md);
  position: relative;
  font-family: var(--font-primary);
}

.breadcrumb__links a:after {
  position: absolute;
  right: calc(-1 * var(--space-md));
  top: 0;
  content: ">";
  font-family: var(--font-primary);
  color: var(--text-secondary);
}

.breadcrumb__links a:hover {
  color: var(--brand-primary) !important;
}

.breadcrumb__links span {
  color: var(--text-primary) !important;
  font-size: 14px;
  font-family: var(--font-primary);
}

/* Shop Filter Sidebar */
.filter-sidebar {
  background: var(--bg-surface);
  border: none;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius);
}

.filter-search {
  position: relative;
  margin-bottom: var(--space-lg);
}

.filter-search input {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color var(--transition);
}

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

.filter-search input::placeholder {
  color: var(--text-muted);
}

.filter-search button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 40px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-search button i {
  font-size: 16px;
  transition: color var(--transition);
}

.filter-search button:hover i {
  color: var(--brand-primary);
}

.filter-section {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.filter-title h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  margin-bottom: var(--space-sm);
}

.filter-list a {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition);
  display: block;
}

.filter-list a:hover {
  color: var(--text-primary);
}

.filter-list a.active {
  color: var(--brand-primary) !important;
  font-weight: 500;
}

/* Clear Filter Button */
.clear-filter-container {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.clear-filter-btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
}

.clear-filter-btn:hover {
  background-color: var(--bg-hover);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* Ensure filter sidebar matches dashboard exactly */
.shop .filter-sidebar {
  background: var(--bg-surface);
  border: none;
  padding: var(--space-lg) var(--space-md);
  border-radius: 2px;
}

.filter-list ul {
  list-style: none;
  padding: 0;
  margin: var(--space-xs) 0 0 var(--space-md);
}

.filter-list ul li {
  margin-bottom: var(--space-xs);
}

.filter-list ul a {
  font-size: 13px;
  color: var(--text-muted);
}

/* Shop Product Options - Matching Dashboard */
.shop-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  padding: var(--space-md) 0;
}

.results-count {
  font-size: 14px;
  color: var(--text-secondary);
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sort-dropdown label {
  font-size: 14px;
  color: var(--text-secondary);
}

.sort-dropdown select {
  height: 36px;
  padding: 0 30px 0 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 14px;
  background: var(--bg-white);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--transition);
}

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

/* Shop Page Product Grid - Matching Dashboard */
.shop .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  position: relative;
  min-height: 0;
  overflow: visible;
  margin-bottom: var(--space-xl);
}

@media (min-width: 992px) {
  .shop .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .shop .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Reduce spacing in shop section */
.shop.spad {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

@media (max-width: 767px) {
  .shop .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .shop-filter-demo {
    grid-template-columns: 1fr;
  }
  
  .filter-sidebar {
    margin-bottom: var(--space-xl);
  }
}

/* ============================================
   Auth Forms - Login & Sign Up Components
   ============================================ */

/* Form Base Styles */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.required {
  color: var(--brand-primary);
}

.form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--font-primary);
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  transition: border-color 0.3s;
  color: var(--text-primary);
}

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

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input.error {
  border-color: var(--brand-primary);
}

.form-helper {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-size: 12px;
  color: var(--brand-primary);
  margin-top: 4px;
}

/* Auth Form Container */
.auth-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl) 0;
  min-height: 60vh;
}

.auth-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: var(--space-2xl);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.auth-form-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.auth-form-header h3 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.auth-form-header p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.auth-form-body {
  display: flex;
  flex-direction: column;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-primary);
}

.form-checkbox span {
  color: var(--text-secondary);
}

.form-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.form-link:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--button-v) var(--button-h);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--brand-primary);
  color: var(--text-primary);
  border: none;
}

.auth-submit-btn:hover {
  background: var(--brand-hover);
  box-shadow: 0 4px 12px rgba(127, 190, 197, 0.2);
}

.auth-form-footer {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.auth-form-footer p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.auth-form-footer .form-link {
  font-weight: 500;
}

@media (max-width: 768px) {
  .auth-form {
    padding: var(--space-lg);
  }
  
  .auth-form-header h3 {
    font-size: 24px;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

/* ============================================
   Shopping Cart Table Component
   ============================================ */

/* Cart Table */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead {
    border-bottom: 1px solid var(--border-strong);
}

.cart-table th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-table tbody tr {
    border-bottom: 1px solid var(--border-subtle);
}

.cart-table td {
    padding: var(--space-lg);
}

.cart-product-info {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.cart-thumbnail {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    flex-shrink: 0;
}

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

.cart-product-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cart-product-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    width: fit-content;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-white);
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.quantity-btn:hover {
    background: var(--bg-body);
}

.quantity-input {
    width: 50px;
    height: 32px;
    border: none;
    background: var(--bg-white);
    text-align: center;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--text-primary);
}

.quantity-input:focus {
    outline: none;
}

.cart-total-box {
    background: var(--bg-panel);
    padding: var(--card-padding);
    border-radius: 2px;
    max-width: 300px;
    margin-left: auto;
    margin-top: var(--space-xl);
}

.cart-total-box h3 {
    font-size: 18px;
    margin-bottom: var(--space-md);
    font-weight: 600;
    color: var(--text-primary);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: 14px;
    color: var(--text-primary);
}

.cart-total-row.total {
    border-top: 1px solid var(--border-strong);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    font-weight: 600;
}

.cart-total-row.total .amount {
    color: var(--brand-primary);
    font-size: 18px;
}

.cart-total-row .amount {
    font-weight: 500;
}

/* Checkout Button */
.checkout-button {
    width: 100%;
    margin-top: var(--space-lg);
    padding: 16px 24px;
    background: var(--brand-primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(127, 190, 197, 0.2);
}

.checkout-button:hover {
    background: var(--brand-hover);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.checkout-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(127, 190, 197, 0.3);
}

.checkout-button:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* Responsive Cart Table */
@media (max-width: 767px) {
    .cart-table {
        font-size: 14px;
    }
    
    .cart-table th,
    .cart-table td {
        padding: var(--space-md);
    }
    
    .cart-product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .cart-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .cart-total-box {
        max-width: 100%;
        margin-left: 0;
    }
}

/* Product Detail Page */
.product-detail-demo {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.product-detail-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
}

.product-detail-gallery-single {
    grid-template-columns: 1fr;
}

.product-main-image {
    max-width: 500px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border: 2px solid var(--border-subtle);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-muted);
    font-size: 12px;
    overflow: hidden;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--brand-primary);
}

.product-main-image {
    aspect-ratio: 1/1;
    background: var(--bg-white);
    border: none;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    overflow: hidden;
}

.product-detail-info h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.product-detail-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: flex-start;
    padding-bottom: var(--space-md);
}

.product-detail-meta div {
    color: var(--text-secondary);
    font-size: 14px;
}

.product-detail-meta strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: var(--space-xs);
}

.product-detail-meta a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.product-detail-meta a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--accent-link);
}

.product-detail-rating span {
    color: var(--text-secondary);
    font-size: 14px;
}

.product-detail-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.product-detail-price-old {
    font-size: 24px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: var(--space-sm);
    font-weight: 400;
}

.product-discount-badge {
    background: var(--brand-primary);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.product-detail-table {
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    overflow: hidden;
}

.product-detail-table table {
    width: 100%;
    border-collapse: collapse;
}

.product-detail-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 14px;
}

.product-detail-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 120px;
    background: var(--bg-body);
}

.product-detail-table td:last-child {
    color: var(--text-secondary);
}

.product-detail-table tr:last-child td {
    border-bottom: none;
}

.product-detail-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.product-detail-options {
    margin-bottom: var(--space-xl);
}

.product-option-group {
    margin-bottom: var(--space-lg);
}

.product-option-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    display: block;
}

.product-size-options {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.product-size-option {
    padding: 8px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    background: var(--bg-white);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.product-size-option:hover,
.product-size-option.active {
    background: var(--brand-primary);
    color: var(--text-primary);
    border-color: var(--brand-primary);
}

.product-color-options {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.product-color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.product-color-option:hover,
.product-color-option.active {
    border-color: var(--brand-primary);
    transform: scale(1.1);
}

.product-color-option.color-black { background: #000000; }
.product-color-option.color-blue { background: #20315f; }
.product-color-option.color-orange { background: #f1af4d; }
.product-color-option.color-red { background: #ed1c24; }
.product-color-option.color-white { background: #ffffff; border-color: var(--border-strong); }

.product-detail-cart {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.product-detail-cart form {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.product-add-to-cart-btn {
    padding: var(--button-v) var(--space-lg);
    background-color: var(--brand-primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--font-primary);
}

.product-add-to-cart-btn:hover {
    background-color: var(--brand-hover);
}

.product-moq-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: var(--space-xs);
    margin-bottom: 0;
}

.product-quantity {
    display: flex;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    width: 140px;
    flex-shrink: 0;
}

.product-quantity button {
    width: 40px;
    height: 44px;
    border: none;
    background: var(--bg-white);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    flex-shrink: 0;
}

.product-quantity button:hover {
    background: var(--bg-body);
}

.product-quantity input {
    flex: 1;
    min-width: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: var(--bg-white);
    color: var(--text-primary);
}

.product-detail-actions {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.product-detail-action-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color 0.3s;
}

.product-detail-action-link:hover {
    color: var(--brand-primary);
}

.product-detail-action-link i {
    font-size: 16px;
}

.product-detail-checkout {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

.product-detail-checkout h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-align: center;
}

.product-detail-tabs {
    margin-top: var(--space-3xl);
}

.product-tabs-list {
    display: flex;
    gap: var(--space-2xl);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-xl);
}

.product-tab {
    padding: var(--space-md) 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    margin-bottom: -1px;
}

.product-tab.active,
.product-tab:hover {
    color: var(--text-primary);
    border-bottom-color: var(--brand-primary);
}

.product-tab-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.related-products-section {
    margin-top: var(--space-3xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--border-subtle);
}

.related-products-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

/* Related Products Grid - Match shop page styling */
.related-products-section .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

@media (min-width: 992px) {
    .related-products-section .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .related-products-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .related-products-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

/* Related Products Carousel Styles */
.related-products-section .owl-carousel {
    position: relative;
}

.related-products-section .owl-carousel .product-card {
    margin: 0;
    height: 100%;
}

.related-products-section .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.related-products-section .owl-carousel .owl-nav button {
    pointer-events: all;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-products-section .owl-carousel .owl-nav button:hover {
    background: var(--brand-primary);
    color: var(--bg-white);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-products-section .owl-carousel .owl-nav button.owl-prev {
    left: -20px;
}

.related-products-section .owl-carousel .owl-nav button.owl-next {
    right: -20px;
}

@media (max-width: 768px) {
    .related-products-section .owl-carousel .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .related-products-section .owl-carousel .owl-nav button.owl-prev {
        left: -15px;
    }
    
    .related-products-section .owl-carousel .owl-nav button.owl-next {
        right: -15px;
    }
}

/* Responsive styles for product detail */
@media (max-width: 768px) {
    /* Container horizontal padding for mobile - override inline style */
    .container.product-detail-container {
        padding-left: var(--space-xl) !important;
        padding-right: var(--space-xl) !important;
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }
    
    /* Product detail demo - add horizontal padding and reduce gap */
    .product-detail-demo {
        grid-template-columns: 1fr;
        padding: 0;
        gap: var(--space-xl);
    }
    
    /* Product gallery adjustments */
    .product-detail-gallery {
        grid-template-columns: 1fr;
    }
    
    /* Product main image - add margin bottom and ensure no edge touching */
    .product-main-image {
        margin-bottom: var(--space-lg);
        max-width: 100%;
    }
    
    /* Product thumbnails */
    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: var(--space-xs);
    }
    
    .product-thumbnail {
        flex-shrink: 0;
    }
    
    /* Product detail info - add padding for better spacing */
    .product-detail-info {
        padding: 0;
    }
    
    .product-detail-info h1 {
        font-size: 24px;
        margin-bottom: var(--space-md);
    }
    
    .product-detail-price {
        font-size: 28px;
    }
    
    /* Product detail cart */
    .product-detail-cart form {
        flex-wrap: wrap;
    }
    
    .product-quantity {
        width: 100%;
    }
    
    .product-add-to-cart-btn {
        width: 100%;
    }
    
    /* Product detail tabs - add horizontal padding */
    .product-detail-tabs {
        padding: 0;
        margin-top: var(--space-2xl);
    }
    
    .product-tabs-list {
        gap: var(--space-lg);
        margin-bottom: var(--space-lg);
    }
    
    .product-tab {
        font-size: 14px;
        padding: var(--space-sm) 0;
    }
    
    .product-tab-content {
        padding: 0;
    }
    
    /* Related products section - add horizontal padding */
    .related-products-section {
        padding-left: 0;
        padding-right: 0;
        margin-top: var(--space-2xl);
        padding-top: var(--space-2xl);
    }
    
    .related-products-title {
        font-size: 20px;
        margin-bottom: var(--space-lg);
    }
    
    /* Adjust carousel navigation buttons for mobile */
    .related-products-section .owl-carousel .owl-nav button.owl-prev {
        left: -10px;
    }
    
    .related-products-section .owl-carousel .owl-nav button.owl-next {
        right: -10px;
    }
}

/* ============================================
   Account/Profile Page Styles
   ============================================ */

/* Account Page Layout */
.account-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
}

/* Account Sidebar */
.account-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    padding: var(--space-xl);
    height: fit-content;
    position: sticky;
    top: var(--space-xl);
}

.account-user-info {
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-lg);
}

.account-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto var(--space-md);
}

.account-user-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.account-user-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.account-nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.account-nav-item:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

.account-nav-item.active {
    background: var(--brand-primary);
    color: var(--text-primary);
}

/* Account Content */
.account-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    padding: var(--space-2xl);
}

.account-tab-content {
    display: none;
}

.account-tab-content.active {
    display: block;
}

.account-section-header {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.account-section-header h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.account-section-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.account-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.account-form-section {
    margin-bottom: var(--space-2xl);
}

.account-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* Button Styles */
.btn {
    padding: var(--button-v) var(--button-h);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--brand-hover);
    box-shadow: 0 4px 12px rgba(127, 190, 197, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    background: var(--bg-body);
}

/* Orders List Styles */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.order-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    padding: var(--space-lg);
    transition: all 0.3s;
}

.order-card:hover {
    box-shadow: var(--shadow-soft);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-subtle);
}

.order-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.order-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.order-status-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
}

.order-status-badge.status-completed {
    background: var(--brand-primary);
    color: var(--text-primary);
}

.order-status-badge.status-pending {
    background: var(--text-secondary);
    color: #FFFFFF;
}

.order-status-badge.status-processing {
    background: var(--accent-link);
    color: var(--text-primary);
}

.order-status-badge.status-cancelled {
    background: #DC2626;
    color: #FFFFFF;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.order-total {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.order-total span:first-child {
    font-size: 14px;
    color: var(--text-secondary);
}

.order-total-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-primary);
}

.order-actions {
    display: flex;
    gap: var(--space-md);
}

.btn-text {
    background: transparent;
    color: var(--text-primary);
    border: none;
    text-decoration: underline;
    text-decoration-color: var(--accent-link);
    padding: 0;
}

.btn-text:hover {
    color: var(--text-primary);
    text-decoration-color: var(--brand-primary);
}

/* Addresses Grid Styles */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.address-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    padding: var(--space-lg);
    transition: all 0.3s;
}

.address-card:hover {
    box-shadow: var(--shadow-soft);
}

.address-card-add {
    border: 2px dashed var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-subtle);
}

.address-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.address-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--brand-primary);
    color: var(--text-primary);
    border-radius: 2px;
}

.address-details {
    margin-bottom: var(--space-lg);
}

.address-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    line-height: 1.6;
}

.address-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.add-address-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.add-address-btn i {
    font-size: 32px;
    color: var(--text-muted);
}

.add-address-btn:hover {
    color: var(--brand-primary);
}

.add-address-btn:hover i {
    color: var(--brand-primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .account-page {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .account-sidebar {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Spinner Component */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-skeleton {
    background: linear-gradient(90deg, var(--bg-body) 25%, var(--border-subtle) 50%, var(--bg-body) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    padding: var(--card-padding);
    min-height: 0;
    overflow: hidden;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: var(--space-md);
    border-radius: 2px;
}

.skeleton-line {
    height: 16px;
    margin-bottom: var(--space-sm);
    border-radius: 2px;
}

.skeleton-line.short {
    width: 60%;
}

/* Skeleton Loaders Container */
.skeleton-loaders-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    padding-bottom: var(--space-xl);
}

.skeleton-loaders-container.hidden {
    display: none !important;
}

@media (min-width: 992px) {
    .skeleton-loaders-container {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .skeleton-loaders-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .skeleton-loaders-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

/* ============================================
   Empty State Component
   ============================================ */

.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    background: transparent;
    border: none;
    border-radius: 2px;
    margin-bottom: var(--space-xl);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-muted);
}

.empty-state-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.empty-state-message {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* Responsive Empty State */
@media (max-width: 768px) {
    .empty-state {
        padding: var(--space-2xl);
    }
    
    .empty-state-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .empty-state-title {
        font-size: 20px;
    }
}

/* ============================================
   Trust Bar Component
   ============================================ */

.trust-bar-section {
    background: var(--bg-body);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.trust-bar-horizontal {
    background: var(--bg-surface);
    border: none;
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-bar-horizontal-item {
    display: flex;
    align-items: center;
    gap: clamp(var(--space-md), 2vw, var(--space-lg));
    flex: 1;
    min-width: 220px;
}

.trust-bar-horizontal-icon {
    width: clamp(44px, 5vw, 56px);
    height: clamp(44px, 5vw, 56px);
    min-width: clamp(44px, 5vw, 56px);
    background: var(--bg-body);
    border: none;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: clamp(20px, 2.5vw, 28px);
    flex-shrink: 0;
    transition: all var(--transition);
}

.trust-bar-horizontal-icon svg {
    width: clamp(20px, 2.5vw, 28px);
    height: clamp(20px, 2.5vw, 28px);
    fill: currentColor;
    display: block;
}

.trust-bar-horizontal-icon img {
    width: clamp(20px, 2.5vw, 28px);
    height: clamp(20px, 2.5vw, 28px);
    object-fit: contain;
    display: block;
}

.trust-bar-horizontal-item:hover .trust-bar-horizontal-icon {
    background: var(--brand-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 190, 197, 0.2);
}

.trust-bar-horizontal-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: var(--space-xs);
}

.trust-bar-horizontal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.trust-bar-horizontal-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0;
}

/* Responsive Trust Bar */
@media (max-width: 1200px) {
    .trust-bar-horizontal {
        gap: clamp(var(--space-md), 2vw, var(--space-xl));
        padding: var(--space-lg) clamp(var(--space-md), 3vw, var(--space-xl));
    }
    
    .trust-bar-horizontal-item {
        min-width: 200px;
    }
}

@media (max-width: 991px) {
    .trust-bar-horizontal {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: var(--space-lg);
        padding: var(--space-lg);
    }
    
    .trust-bar-horizontal-item {
        width: calc(50% - var(--space-lg) / 2);
        min-width: calc(50% - var(--space-lg) / 2);
        flex: 0 0 calc(50% - var(--space-lg) / 2);
    }
    
    .trust-bar-horizontal-icon {
        width: clamp(46px, 4.5vw, 52px);
        height: clamp(46px, 4.5vw, 52px);
        min-width: clamp(46px, 4.5vw, 52px);
        font-size: clamp(22px, 2.2vw, 25px);
    }
    
    .trust-bar-horizontal-icon svg {
        width: clamp(22px, 2.2vw, 25px);
        height: clamp(22px, 2.2vw, 25px);
    }
    
    .trust-bar-horizontal-icon img {
        width: clamp(22px, 2.2vw, 25px);
        height: clamp(22px, 2.2vw, 25px);
    }
}

@media (max-width: 767px) {
    .trust-bar-section {
        padding-top: var(--space-md);
        padding-bottom: var(--space-md);
    }
    
    .trust-bar-horizontal {
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-md);
    }
    
    .trust-bar-horizontal-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: var(--space-md);
        /* Keep 2 per row on tablets, only go to 1 per row on smaller screens */
        width: calc(50% - var(--space-md) / 2);
        min-width: calc(50% - var(--space-md) / 2);
        flex: 0 0 calc(50% - var(--space-md) / 2);
    }
    
    .trust-bar-horizontal-icon {
        width: clamp(44px, 5vw, 48px);
        height: clamp(44px, 5vw, 48px);
        min-width: clamp(44px, 5vw, 48px);
        font-size: clamp(20px, 2.3vw, 23px);
    }
    
    .trust-bar-horizontal-icon svg {
        width: clamp(20px, 2.3vw, 23px);
        height: clamp(20px, 2.3vw, 23px);
    }
    
    .trust-bar-horizontal-icon img {
        width: clamp(20px, 2.3vw, 23px);
        height: clamp(20px, 2.3vw, 23px);
    }
    
    .trust-bar-horizontal-title {
        font-size: clamp(14px, 1.8vw, 15px);
    }
    
    .trust-bar-horizontal-description {
        font-size: clamp(11px, 1.5vw, 12px);
    }
}

@media (max-width: 576px) {
    .trust-bar-horizontal {
        padding: var(--space-md);
        gap: var(--space-md);
    }
    
    .trust-bar-horizontal-item {
        gap: var(--space-sm);
        /* Keep 2 per row on small mobile */
        width: calc(50% - var(--space-md) / 2);
        min-width: calc(50% - var(--space-md) / 2);
        flex: 0 0 calc(50% - var(--space-md) / 2);
    }
    
    .trust-bar-horizontal-icon {
        width: clamp(40px, 6vw, 44px);
        height: clamp(40px, 6vw, 44px);
        min-width: clamp(40px, 6vw, 44px);
        font-size: clamp(18px, 2.5vw, 21px);
    }
    
    .trust-bar-horizontal-icon svg {
        width: clamp(18px, 2.5vw, 21px);
        height: clamp(18px, 2.5vw, 21px);
    }
    
    .trust-bar-horizontal-icon img {
        width: clamp(18px, 2.5vw, 21px);
        height: clamp(18px, 2.5vw, 21px);
    }
    
    .trust-bar-horizontal-title {
        font-size: clamp(13px, 2vw, 14px);
    }
    
    .trust-bar-horizontal-description {
        font-size: clamp(10px, 1.8vw, 11px);
    }
}

@media (max-width: 480px) {
    .trust-bar-horizontal {
        gap: var(--space-sm);
    }
    
    .trust-bar-horizontal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
        /* Keep 2 per row even on extra small mobile */
        width: calc(50% - var(--space-sm) / 2);
        min-width: calc(50% - var(--space-sm) / 2);
        flex: 0 0 calc(50% - var(--space-sm) / 2);
    }
    
    .trust-bar-horizontal-icon {
        width: clamp(38px, 7vw, 42px);
        height: clamp(38px, 7vw, 42px);
        min-width: clamp(38px, 7vw, 42px);
        font-size: clamp(17px, 3vw, 20px);
    }
    
    .trust-bar-horizontal-icon svg {
        width: clamp(17px, 3vw, 20px);
        height: clamp(17px, 3vw, 20px);
    }
    
    .trust-bar-horizontal-icon img {
        width: clamp(17px, 3vw, 20px);
        height: clamp(17px, 3vw, 20px);
    }
    
    .trust-bar-horizontal-title {
        font-size: clamp(12px, 2.2vw, 13px);
    }
    
    .trust-bar-horizontal-description {
        font-size: clamp(10px, 1.6vw, 11px);
    }
}
