/* ==========================================================================
   Trendy Finds For You - Components
   ========================================================================== */

/* Navigation (.nav) */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-normal);
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(7, 7, 13, 0.8);
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

@media (max-width: 768px) {
  .nav__logo {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__links a:hover {
  color: var(--primary-light);
}

.nav__links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__cart-btn {
  position: relative;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.5rem;
}

.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 7, 13, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.nav__mobile--open {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__mobile-toggle { display: block; }
}

.hero {
  min-height: calc(100vh - 80px);
  background: linear-gradient(to right, rgba(7, 7, 13, 0.9) 0%, rgba(7, 7, 13, 0.6) 50%, rgba(7, 7, 13, 0.3) 100%), url('../images/hero_banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.hero::before {
  background: var(--primary);
  top: -100px;
  right: -100px;
}

.hero::after {
  background: var(--accent);
  bottom: -100px;
  left: -100px;
  animation-delay: -3s;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  background: var(--glass-bg);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.hero__stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.hero__stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 576px) {
  .hero__cta { flex-direction: column; }
  .hero__stats { grid-template-columns: 1fr; gap: 1rem; }
}

/* Buttons (.btn) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  gap: 0.5rem;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
}
.btn--primary:hover {
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.btn--secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary-light);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--icon {
  padding: 12px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn:disabled, .btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Product Cards (.product-card) */
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(139, 92, 246, 0.4);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-card);
}

.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.08);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.badge--trending { background: var(--gradient-primary); }
.badge--sale { background: var(--danger); }
.badge--new { background: var(--success); }
.badge--hot { background: var(--warning); color: #000; }

.product-card__info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--warning);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.product-card__rating span {
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.product-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  margin-top: auto;
}

.product-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.product-card__original-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.product-card__btn {
  width: 100%;
}

/* Products Grid (.products-grid) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Filter Bar (.filter-bar) */
.filter-bar {
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.filter-bar__search {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.filter-bar__search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.filter-bar__search input:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-bar__search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-bar__categories {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-bar__categories::-webkit-scrollbar {
  height: 0;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary);
}

.filter-pill--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.filter-bar__sort {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
}

/* Product Detail (.product-detail) */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-detail__main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 1/1;
}

.product-detail__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__thumbs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
}

.product-detail__thumbs img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.product-detail__thumbs img:hover,
.product-detail__thumbs img.active {
  border-color: var(--primary);
}

.product-detail__info {
  display: flex;
  flex-direction: column;
}

.product-detail__breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-detail__title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.product-detail__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--warning);
  margin-bottom: 1.5rem;
}

.product-detail__rating span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.product-detail__price-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-detail__price {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
}

.product-detail__original-price {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-detail__discount {
  background: var(--danger);
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.product-detail__description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-detail__features {
  margin-bottom: 2rem;
}

.product-detail__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.product-detail__features li i {
  color: var(--success);
}

.product-detail__actions-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-detail__quantity {
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-detail__quantity button {
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 40px;
  height: 48px;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background var(--transition-fast);
}

.product-detail__quantity button:hover {
  background: rgba(255,255,255,0.1);
}

.product-detail__quantity input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  -moz-appearance: textfield;
}

.product-detail__quantity input::-webkit-outer-spin-button,
.product-detail__quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-detail__actions {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.product-detail__security {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

@media (max-width: 992px) {
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 576px) {
  .product-detail__actions-wrapper { flex-direction: column; align-items: stretch; }
  .product-detail__quantity { justify-content: center; }
}

/* Cart Sidebar (.cart-sidebar) */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--glass-border);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.cart-sidebar--open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  display: none;
}
.cart-sidebar--open + .cart-overlay,
.cart-overlay.active {
  display: block;
}

.cart-sidebar__header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.cart-sidebar__header h3 {
  margin: 0;
}

.cart-sidebar__close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.cart-sidebar__close:hover {
  color: var(--danger);
}

.cart-sidebar__items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-sidebar__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
}

.cart-sidebar__empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Cart Items (.cart-item) */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.cart-item__image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-card);
}

.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item__title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.cart-item__price {
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: auto;
}

.cart-item__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.cart-item__quantity button {
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.cart-item__quantity span {
  font-size: 0.875rem;
  min-width: 20px;
  text-align: center;
}

.cart-item__remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}
.cart-item__remove:hover { color: var(--danger); }

/* Cart Summary (.cart-summary) */
.cart-summary {
  padding: 1.5rem;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.cart-summary__row.cart-summary__total {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  margin-bottom: 1.5rem;
}

.cart-summary__btn {
  width: 100%;
}

@media (max-width: 576px) {
  .cart-sidebar { width: 100%; }
}

/* Checkout (.checkout) */
.checkout {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  padding: 2rem 0;
}

.checkout__steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.checkout__steps::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--glass-border);
  z-index: 0;
}

.checkout__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.checkout__step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-muted);
}

.checkout__step--active .checkout__step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.checkout__step--completed .checkout__step-circle {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.checkout__step-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}
.checkout__step--active .checkout__step-label { color: var(--primary); }

@media (max-width: 768px) {
  .checkout { grid-template-columns: 1fr; }
}

/* Form Styling (.form-group) */
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-group__label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.875rem;
}

.form-group__input {
  width: 100%;
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-group__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  background: rgba(255, 255, 255, 0.05);
}

.form-group__error {
  display: none;
  color: var(--danger);
  font-size: 0.75rem;
  margin-top: 4px;
}

.form-group--error .form-group__input { border-color: var(--danger); }
.form-group--error .form-group__error { display: block; }

.form-group__honeypot {
  display: none;
}

.form-row {
  display: flex;
  gap: 1rem;
}
.form-row .form-group { flex: 1; }

@media (max-width: 576px) {
  .form-row { flex-direction: column; gap: 0; }
}

/* Security Badges (.security-badges) */
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.security-badge__icon {
  color: var(--success);
  font-size: 1.25rem;
}

.security-badge__text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Cookie Consent (.cookie-consent) */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  z-index: 3000;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  padding: 1.5rem 0;
}

.cookie-consent--visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-consent__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.cookie-consent__text a { color: var(--primary-light); text-decoration: underline; }

.cookie-consent__actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .cookie-consent__inner { flex-direction: column; text-align: center; }
  .cookie-consent__actions { width: 100%; justify-content: center; flex-wrap: wrap; }
}

/* Toast Notifications (.toast) */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background: rgba(30, 30, 56, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 300px;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease forwards;
}

.toast--success { border-left: 4px solid var(--success); }
.toast--error { border-left: 4px solid var(--danger); }
.toast--warning { border-left: 4px solid var(--warning); }
.toast--info { border-left: 4px solid var(--accent); }

.toast__icon { font-size: 1.25rem; }
.toast--success .toast__icon { color: var(--success); }
.toast--error .toast__icon { color: var(--danger); }
.toast--warning .toast__icon { color: var(--warning); }
.toast--info .toast__icon { color: var(--accent); }

.toast__message {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
}

.toast__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

@media (max-width: 576px) {
  .toast-container { top: 1rem; right: 1rem; left: 1rem; }
  .toast { min-width: 0; }
}

/* USP / Features (.usp-grid) */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.usp-card {
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
}

.usp-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.usp-card__title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.usp-card__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Newsletter (.newsletter) */
.newsletter {
  background: linear-gradient(rgba(139, 92, 246, 0.05), rgba(6, 182, 212, 0.05));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--glass-bg);
}

.newsletter__inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.newsletter__form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.2);
  color: #fff;
}
.newsletter__form input:focus {
  outline: none;
  border-color: var(--primary);
}

@media (max-width: 576px) {
  .newsletter__form { flex-direction: column; }
}

/* Footer (.footer) */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding-top: 5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}
.footer__links a:hover { color: var(--primary-light); }

.footer__bottom {
  padding: 2rem 0;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social a {
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: color var(--transition-fast);
}
.footer__social a:hover { color: var(--primary-light); }

/* Payment Methods */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 0.5rem;
}

.payment-methods__title {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: all var(--transition-fast);
  cursor: default;
  line-height: 1;
  min-width: 48px;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
}

.payment-icon:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}

/* iDEAL - Most popular in NL */
.payment-icon--ideal {
  background: linear-gradient(135deg, rgba(204,0,102,0.2), rgba(204,0,102,0.1));
  border-color: rgba(204,0,102,0.4);
  color: #ff3399;
}

/* Bancontact - Popular in Belgium */
.payment-icon--bancontact {
  background: linear-gradient(135deg, rgba(0,92,169,0.2), rgba(255,211,0,0.1));
  border-color: rgba(0,92,169,0.4);
  color: #5bc5f2;
}

/* Visa */
.payment-icon--visa {
  background: linear-gradient(135deg, rgba(26,31,113,0.3), rgba(26,31,113,0.15));
  border-color: rgba(26,31,113,0.5);
  color: #4d8df7;
}

/* Mastercard */
.payment-icon--mastercard {
  background: linear-gradient(135deg, rgba(235,0,27,0.15), rgba(255,159,0,0.15));
  border-color: rgba(255,159,0,0.3);
  color: #ff9f00;
}

/* PayPal */
.payment-icon--paypal {
  background: linear-gradient(135deg, rgba(0,48,135,0.2), rgba(0,159,228,0.1));
  border-color: rgba(0,159,228,0.4);
  color: #00a1e4;
}

/* Klarna */
.payment-icon--klarna {
  background: linear-gradient(135deg, rgba(255,179,199,0.2), rgba(255,179,199,0.1));
  border-color: rgba(255,179,199,0.4);
  color: #ffb3c7;
}

/* Apple Pay */
.payment-icon--applepay {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
}

/* Google Pay */
.payment-icon--googlepay {
  background: linear-gradient(135deg, rgba(66,133,244,0.15), rgba(52,168,83,0.1));
  border-color: rgba(66,133,244,0.3);
  color: #4285f4;
}

/* American Express */
.payment-icon--amex {
  background: linear-gradient(135deg, rgba(0,111,207,0.2), rgba(0,111,207,0.1));
  border-color: rgba(0,111,207,0.4);
  color: #2e9bda;
}

/* Maestro */
.payment-icon--maestro {
  background: linear-gradient(135deg, rgba(0,114,198,0.15), rgba(204,0,0,0.1));
  border-color: rgba(0,114,198,0.3);
  color: #6c9fd4;
}

/* Checkout page payment section */
.checkout-payment-methods {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.checkout-payment-methods .payment-methods {
  border-top: none;
  padding: 0.75rem 0 0;
  margin-top: 0;
}

.checkout-payment-methods__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.checkout-payment-methods__subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Modal (.modal) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.active { display: flex; }

.modal__content {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.3s ease forwards;
}

.modal__header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal__header h3 { margin: 0; }

.modal__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
}
.modal__close:hover { color: var(--danger); }

.modal__body {
  padding: 1.5rem;
}

.modal__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Loading (.loader, .skeleton) */
.loader {
  width: 40px;
  height: 40px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.skeleton {
  background: var(--glass-bg);
  background-image: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.05), rgba(255,255,255,0));
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton--text {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton--image { aspect-ratio: 1/1; border-radius: var(--radius-md); }
.skeleton--card { height: 300px; border-radius: var(--radius-lg); }

/* Misc */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 2rem 0;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.rating { color: var(--warning); letter-spacing: 2px; }

.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
}
.stock-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.stock-indicator--in-stock::before { background: var(--success); box-shadow: 0 0 8px var(--success); }
.stock-indicator--low::before { background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.stock-indicator--out::before { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

.countdown {
  display: flex;
  gap: 1rem;
}
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--glass-bg);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}
.countdown__value { font-weight: 700; font-size: 1.25rem; color: var(--primary-light); }
.countdown__label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { color: var(--text-primary); }

/* ==========================================================================
   Chat Widget
   ========================================================================== */

/* Floating Button */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 6000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(139,92,246,0.4);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn--primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn--primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(139,92,246,0.55);
}

.chat-fab--pulse {
  animation: chatPulse 2s ease-in-out infinite;
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(139,92,246,0.4); }
  50% { box-shadow: 0 4px 30px rgba(139,92,246,0.7); }
}

.chat-fab__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

/* Chat Window */
.chat-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 6001;
  width: 380px;
  max-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-window--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Chat Header */
.chat-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.1));
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.chat-header__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chat-header__info {
  flex: 1;
}

.chat-header__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.chat-header__status {
  font-size: 0.75rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-header__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

.chat-header__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  border-radius: 6px;
  transition: all var(--transition-fast);
  line-height: 1;
}

.chat-header__close:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 280px;
  max-height: 340px;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,92,246,0.3) transparent;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 4px; }

/* Message Bubbles */
.chat-msg {
  display: flex;
  gap: 0.5rem;
  max-width: 85%;
  animation: chatMsgIn 0.3s ease forwards;
}

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg--bot {
  align-self: flex-start;
}

.chat-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-msg--user .chat-msg__avatar {
  background: var(--bg-elevated);
}

.chat-msg__bubble {
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.chat-msg--bot .chat-msg__bubble {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-top-left-radius: 4px;
}

.chat-msg--user .chat-msg__bubble {
  background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(6,182,212,0.2));
  border: 1px solid rgba(139,92,246,0.25);
  border-top-right-radius: 4px;
}

.chat-msg__time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  padding: 0 0.25rem;
}

.chat-msg--bot .chat-msg__time { text-align: left; }
.chat-msg--user .chat-msg__time { text-align: right; }

/* Typing Indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  align-self: flex-start;
}

.chat-typing__dots {
  display: flex;
  gap: 3px;
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  border-top-left-radius: 4px;
}

.chat-typing__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.chat-typing__dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Quick Replies */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 1rem 0.25rem;
  flex-shrink: 0;
}

.chat-quick-reply {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--primary-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.chat-quick-reply:hover {
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-1px);
}

/* Chat Input */
.chat-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.chat-input__field {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 0.6rem 1rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-input__field:focus {
  border-color: rgba(139,92,246,0.4);
}

.chat-input__field::placeholder {
  color: var(--text-muted);
}

.chat-input__send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.chat-input__send:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 12px rgba(139,92,246,0.4);
}

.chat-input__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 576px) {
  .chat-window {
    width: calc(100vw - 1.5rem);
    right: 0.75rem;
    bottom: 5rem;
    max-height: 70vh;
  }
  .chat-fab {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
}

/* FAQ Accordion */
.product-faq {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-icon {
    color: var(--primary-light);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-content {
    max-height: 200px;
    padding-bottom: 1rem;
}
.faq-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 37, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    display: none; /* hidden on desktop */
}
.mobile-sticky-cta .btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
    .d-md-none {
        display: block !important;
    }
}
