/* CSS Variables */
:root {
  --primary: #ff6b00;
  --secondary: #0057ff;
  --bg: #f7f9fc;
  --card: #ffffff;
  --text: #0f1a2a;
  --muted: #6b7a90;
  --success: #0cb477;
  --warning: #f5a524;
  --error: #ff4757;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), #ff8533);
  --gradient-secondary: linear-gradient(135deg, var(--secondary), #337fff);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 180ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Borders */
  --border-radius: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
}

/* Focus Management */
*:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-base);
}

p {
  margin: 0 0 var(--space-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #ff8533;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
    padding: 0 var(--space-xl);
  }
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid transparent;
  border-radius: var(--border-radius-xl);
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: var(--gradient-secondary);
  color: white;
  border-color: var(--secondary);
}

.btn--secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: var(--card);
  color: var(--text);
  border-color: #e2e8f0;
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-base);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Icon Button */
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--border-radius-xl);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.icon-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 var(--space-xs);
  background: var(--error);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: 10px;
  line-height: 1;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

.header.header--shrink {
  padding: var(--space-sm) 0;
}

.header__content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.header__logo .logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__search {
  flex: 1;
  max-width: 480px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-3xl);
  border: 2px solid transparent;
  border-radius: var(--border-radius-xl);
  background: var(--card);
  font-family: inherit;
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.search-box__btn {
  position: absolute;
  left: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition-base);
}

/* Navigation */
.nav {
  background: var(--card);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: block;
  padding: var(--space-lg) 0;
  color: var(--text);
  font-weight: 600;
  transition: all var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px 2px 0 0;
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--bg) 0%, #ffffff 100%);
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--muted);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--space-lg);
}

/* Slider */
.slider {
  position: relative;
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.slider__track {
  display: flex;
  transition: transform var(--transition-slow);
}

.slider__slide {
  position: relative;
  min-width: 100%;
  height: 400px;
  overflow: hidden;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
}

.slider__content h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

.slider__controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  transform: translateY(-50%);
}

.slider__control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.slider__control:hover {
  background: white;
  transform: scale(1.1);
}

.slider__indicators {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  display: flex;
  gap: var(--space-sm);
  transform: translateX(-50%);
}

.slider__indicator {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider__indicator--active,
.slider__indicator:hover {
  background: white;
  transform: scale(1.2);
}

/* Highlights */
.highlights {
  padding: var(--space-3xl) 0;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--card);
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.highlight__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-2xl);
}

.highlight__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.highlight__text {
  color: var(--muted);
  margin: 0;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -var(--space-md);
  left: 50%;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transform: translateX(-50%);
}

/* Catalog */
.catalog {
  padding: var(--space-3xl) 0;
}

.catalog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.catalog__controls {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.catalog__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
}

.catalog__sidebar {
  padding: var(--space-xl);
  background: var(--card);
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 100px;
}

/* Filter Groups */
.filter-group {
  margin-bottom: var(--space-xl);
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text);
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  padding: var(--space-sm) 0;
}

.checkbox input {
  position: absolute;
  opacity: 0;
}

.checkbox__mark {
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  background: var(--card);
  transition: all var(--transition-base);
  position: relative;
}

.checkbox input:checked + .checkbox__mark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox input:checked + .checkbox__mark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox__label {
  color: var(--text);
  font-size: var(--font-size-sm);
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Price Range */
.price-range {
  margin-top: var(--space-md);
}

.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
}

.price-range__display {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--muted);
}

/* Form Elements */
.form-select {
  padding: var(--space-sm) var(--space-md);
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-xl);
  background: var(--card);
  font-family: inherit;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-xl);
  background: var(--card);
  font-family: inherit;
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--text);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

/* Product Card */
.product-card {
  background: var(--card);
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__badges {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-badge {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.product-badge--new {
  background: var(--success);
  color: white;
}

.product-badge--promo {
  background: var(--error);
  color: white;
}

.product-badge--best {
  background: var(--warning);
  color: white;
}

.product-card__wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__wishlist:hover,
.product-card__wishlist--active {
  color: var(--error);
  background: white;
}

.product-card__content {
  padding: var(--space-lg);
}

.product-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__brand {
  font-size: var(--font-size-sm);
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-card__price-current {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary);
}

.product-card__price-original {
  font-size: var(--font-size-base);
  color: var(--muted);
  text-decoration: line-through;
}

.product-card__installment {
  font-size: var(--font-size-xs);
  color: var(--success);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-card__stars {
  color: var(--warning);
}

.product-card__rating-text {
  font-size: var(--font-size-sm);
  color: var(--muted);
}

.product-card__actions {
  display: flex;
  gap: var(--space-sm);
}

.product-card__actions .btn {
  flex: 1;
  font-size: var(--font-size-sm);
  padding: var(--space-sm) var(--space-md);
}

.product-card__stock {
  font-size: var(--font-size-sm);
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.product-card__stock--out {
  color: var(--error);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
}

.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-base);
}

.pagination__btn:hover,
.pagination__btn--active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.pagination__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Comparison */
.comparison {
  padding: var(--space-2xl) 0;
  background: var(--card);
}

.comparison__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.comparison__table {
  overflow-x: auto;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-lg);
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

/* Collections */
.collections {
  padding: var(--space-3xl) 0;
}

.collections__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
}

.collection-card {
  position: relative;
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.collection-card--large {
  grid-row: span 2;
}

.collection-card__image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.collection-card--large .collection-card__image {
  height: 100%;
  min-height: 500px;
}

.collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collection-card:hover .collection-card__image img {
  transform: scale(1.05);
}

.collection-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-2xl);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.collection-card__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
}

.collection-card__description {
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  padding: var(--space-3xl) 0;
  background: var(--card);
}

.testimonials__carousel {
  overflow: hidden;
  border-radius: var(--border-radius-2xl);
}

.testimonials__track {
  display: flex;
  animation: scroll 20s linear infinite;
  gap: var(--space-xl);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial {
  min-width: 350px;
  padding: var(--space-2xl);
  background: var(--bg);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-sm);
}

.testimonial__rating {
  margin-bottom: var(--space-lg);
}

.testimonial__text {
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--text);
}

.testimonial__author strong {
  color: var(--text);
  display: block;
  margin-bottom: var(--space-xs);
}

.testimonial__author span {
  color: var(--muted);
  font-size: var(--font-size-sm);
}

.stars {
  color: var(--warning);
  font-size: var(--font-size-lg);
}

/* Service */
.service {
  padding: var(--space-3xl) 0;
}

.service__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Accordion */
.accordion__item {
  border-bottom: 1px solid #e2e8f0;
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
}

.accordion__header:hover {
  color: var(--primary);
}

.accordion__header svg {
  transition: transform var(--transition-base);
}

.accordion__header[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion__content {
  padding-bottom: var(--space-lg);
  color: var(--muted);
  line-height: 1.6;
}

.accordion__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion__content li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid #f1f5f9;
}

.accordion__content li:last-child {
  border-bottom: none;
}

/* Form Card */
.form-card {
  padding: var(--space-2xl);
  background: var(--card);
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-lg);
}

.form-card h3 {
  margin-bottom: var(--space-xl);
  color: var(--text);
}

/* Warranty Result */
.warranty-result {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--border-radius-xl);
  background: var(--bg);
}

.warranty-result--valid {
  border-left: 4px solid var(--success);
}

.warranty-result--invalid {
  border-left: 4px solid var(--error);
}

/* Blog */
.blog {
  padding: var(--space-3xl) 0;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.blog-card {
  background: var(--card);
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: var(--space-xl);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--muted);
}

.blog-card__tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg);
  border-radius: var(--border-radius);
  font-weight: 600;
  color: var(--primary);
}

.blog-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt {
  color: var(--muted);
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.blog-card__link:hover {
  color: #ff8533;
}

/* FAQ */
.faq {
  padding: var(--space-3xl) 0;
  background: var(--card);
}

/* Contact */
.contact {
  padding: var(--space-3xl) 0;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: var(--border-radius-xl);
}

.contact-item h4 {
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.contact-item p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--text);
  color: white;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: white;
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.footer__payment h4 {
  margin-bottom: var(--space-md);
  color: white;
}

.payment-icons {
  display: flex;
  gap: var(--space-sm);
}

.footer__subtitle {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: white;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.modal.modal--active {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal__container {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--card);
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid #e2e8f0;
}

.modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-base);
}

.modal__close:hover {
  color: var(--text);
  background: var(--bg);
}

.modal__content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-xl);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  z-index: var(--z-modal);
  transition: right var(--transition-slow);
}

.sidebar.sidebar--active {
  right: 0;
}

.sidebar__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.sidebar.sidebar--active .sidebar__backdrop {
  opacity: 1;
  visibility: visible;
}

.sidebar__container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--card);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid #e2e8f0;
}

.sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-base);
}

.sidebar__close:hover {
  color: var(--text);
  background: var(--bg);
}

.sidebar__content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-xl);
}

/* Drawer */
.drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  z-index: var(--z-modal);
  transition: left var(--transition-slow);
  display: none;
}

.drawer.drawer--active {
  left: 0;
}

.drawer__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.drawer.drawer--active .drawer__backdrop {
  opacity: 1;
  visibility: visible;
}

.drawer__container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--card);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid #e2e8f0;
}

.drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-base);
}

.drawer__close:hover {
  color: var(--text);
  background: var(--bg);
}

.drawer__content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-xl);
}

/* Toast */
.toast-container {
  position: fixed;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 400px;
}

.toast {
  padding: var(--space-lg);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: slideIn var(--transition-slow) ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast--success {
  background: var(--success);
  color: white;
}

.toast--error {
  background: var(--error);
  color: white;
}

.toast--warning {
  background: var(--warning);
  color: white;
}

.toast--info {
  background: var(--secondary);
  color: white;
}

.toast__close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--border-radius);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.toast__close:hover {
  opacity: 1;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-bottom: 1px solid #e2e8f0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item__image {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__details {
  flex: 1;
}

.cart-item__name {
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item__price {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-item__remove {
  background: transparent;
  border: none;
  color: var(--error);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--border-radius);
  transition: background var(--transition-fast);
}

.cart-item__remove:hover {
  background: rgba(255, 71, 87, 0.1);
}

.cart-total {
  padding: var(--space-xl);
  border-top: 2px solid #e2e8f0;
  background: var(--bg);
}

.cart-total__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.cart-total__row:last-child {
  margin-bottom: 0;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary);
}

.cart-empty {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--muted);
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .collections__grid {
    grid-template-columns: 1fr 1fr;
  }

  .collection-card--large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .catalog__layout {
    grid-template-columns: 1fr;
  }

  .catalog__sidebar {
    display: none;
  }

  .drawer {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }

  .header__content {
    gap: var(--space-md);
  }

  .header__search {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .highlights__grid {
    grid-template-columns: 1fr;
  }

  .nav__list {
    gap: var(--space-lg);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
  }

  .nav__item {
    flex-shrink: 0;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-lg);
  }

  .collections__grid {
    grid-template-columns: 1fr;
  }

  .collection-card--large {
    grid-column: span 1;
  }

  .service__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .modal__container {
    max-width: 95vw;
    margin: var(--space-lg);
  }

  .sidebar {
    width: 100vw;
    right: -100vw;
  }

  .testimonials__track {
    animation-duration: 30s;
  }

  .testimonial {
    min-width: 280px;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 1.25rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .highlight {
    flex-direction: column;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .blog__grid {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .drawer {
    width: 100vw;
    left: -100vw;
  }

  .toast-container {
    top: var(--space-md);
    right: var(--space-md);
    left: var(--space-md);
    max-width: none;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero__content {
    gap: var(--space-xl);
  }

  .highlights__grid {
    gap: var(--space-lg);
  }

  .highlight {
    padding: var(--space-lg);
  }

  .modal__container {
    margin: var(--space-sm);
  }

  .toast-container {
    top: var(--space-sm);
    right: var(--space-sm);
    left: var(--space-sm);
  }
}

/* Print Styles */
@media print {
  .header,
  .nav,
  .btn,
  .icon-btn,
  .modal,
  .sidebar,
  .drawer,
  .toast-container {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .container {
    max-width: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text: #000000;
    --bg: #ffffff;
    --card: #ffffff;
    --muted: #333333;
  }

  .btn {
    border-width: 2px;
  }

  .product-card,
  .highlight,
  .collection-card,
  .testimonial,
  .blog-card,
  .form-card {
    border: 2px solid #000000;
  }
}
