/* ============================================
   DropZone — Premium Dark E-Commerce CSS
   ============================================ */

/* ----- Custom Properties ----- */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-hover: #1a1a1a;
  --border: #222;
  --border-light: #2a2a2a;
  --accent: #00e5a0;
  --accent-hover: #00c98b;
  --accent-glow: rgba(0, 229, 160, 0.15);
  --accent-glow-strong: rgba(0, 229, 160, 0.25);
  --text: #f0f0f0;
  --text-secondary: #999;
  --text-muted: #666;
  --white: #fff;
  --error: #ff4757;
  --error-glow: rgba(255, 71, 87, 0.15);
  --success: #00e5a0;
  --success-glow: rgba(0, 229, 160, 0.1);
  --warning: #ffa502;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 229, 160, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 64px;
}

/* ----- Reset ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ----- Visually Hidden (accessibility) ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: opacity var(--transition);
}

.header__logo:hover {
  opacity: 0.8;
}

.header__logo span {
  color: var(--accent);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.header__link:hover {
  color: var(--white);
}

.header__link:hover::after {
  width: 100%;
}

.header__link--active {
  color: var(--white);
}

.header__link--active::after {
  width: 100%;
}

.header__cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.header__cart:hover {
  color: var(--white);
}

.header__cart-icon {
  width: 22px;
  height: 22px;
}

.header__cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding: 64px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 229, 160, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 150, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(229, 0, 150, 0.06) 0%, transparent 50%);
  animation: meshMove 15s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes meshMove {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(1deg); }
  100% { transform: scale(1.1) rotate(2deg); }
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 229, 160, 0.2);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: fadeInDown 0.6s ease forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -1px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero__title span {
  background: linear-gradient(135deg, var(--accent), #00b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero__cta {
  display: inline-block;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--transition), border-color var(--transition);
}

.trust__item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
}

.trust__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

.trust__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.trust__desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  padding: 48px 0 64px;
}

.products__heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.5px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ----- Product Card ----- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }
.product-card:nth-child(9) { animation-delay: 0.45s; }
.product-card:nth-child(10) { animation-delay: 0.5s; }
.product-card:nth-child(11) { animation-delay: 0.55s; }
.product-card:nth-child(12) { animation-delay: 0.6s; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-light);
}

.product-card__image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: var(--bg);
  overflow: hidden;
}

.product-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.product-card__info {
  padding: 14px;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.product-card__price-current {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

.product-card__price-original {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail {
  padding: 32px 0 64px;
  animation: fadeIn 0.4s ease;
}

.product-detail__layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-detail__gallery {
  width: 100%;
}

.product-detail__image {
  width: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border);
}

.product-detail__thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}

.product-detail__thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.product-detail__thumb--active,
.product-detail__thumb:hover {
  border-color: var(--accent);
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-detail__breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-detail__breadcrumb a {
  color: var(--accent);
  transition: opacity var(--transition);
}

.product-detail__breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.product-detail__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.product-detail__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.product-detail__price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-detail__price-current {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.product-detail__price-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-detail__price-badge {
  background: var(--accent-glow);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.product-detail__desc,
.product-detail__description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.product-detail__shipping {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.product-detail__quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-detail__quantity-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.product-detail__quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-detail__quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--text);
  transition: background var(--transition);
}

.product-detail__quantity-btn:hover {
  background: var(--surface-hover);
}

.product-detail__quantity-value {
  width: 48px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--bg);
}

.product-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-detail__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.product-detail__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-detail__feature-icon {
  color: var(--accent);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: none;
  letter-spacing: 0.2px;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 229, 160, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--secondary:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--disabled,
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart {
  padding: 32px 0 64px;
  flex: 1;
  animation: fadeIn 0.4s ease;
}

.cart__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.cart__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart__empty {
  text-align: center;
  padding: 64px 16px;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ----- Cart Item ----- */
.cart-item,
.cart__item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.cart-item:hover,
.cart__item:hover {
  border-color: var(--border-light);
}

.cart-item__image,
.cart__item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}

.cart-item__details,
.cart__item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cart-item__name,
.cart__item-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.cart-item__price,
.cart__item-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.cart-item__controls,
.cart__item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart__item-qty button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  background: var(--surface-hover);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.cart__item-qty button:hover {
  background: var(--border);
  border-color: var(--border-light);
}

.cart__item-qty span {
  width: 32px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-item__qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: background var(--transition);
}

.cart-item__qty-btn:hover {
  background: var(--surface-hover);
}

.cart-item__qty-value {
  width: 36px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.cart-item__remove,
.cart__item-remove {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  text-align: left;
  width: fit-content;
}

.cart-item__remove:hover,
.cart__item-remove:hover {
  color: var(--error);
}

/* ----- Cart Summary ----- */
.cart-summary,
.cart__summary {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cart-summary__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-summary__row--total {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 16px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.cart-summary__checkout {
  margin-top: 20px;
}

.cart-summary__note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ----- Cart Empty ----- */
.cart-empty {
  text-align: center;
  padding: 64px 16px;
}

.cart-empty__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.cart-empty__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cart-empty__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================
   INFO PAGES (Success, Contact, Policy, 404)
   ============================================ */
.info-page {
  flex: 1;
  padding: 48px 0;
  animation: fadeIn 0.4s ease;
}

.info-page__content {
  max-width: 680px;
  margin: 0 auto;
}

/* ----- Success Page ----- */
.success {
  text-align: center;
}

.success__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--success-glow);
  color: var(--accent);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid rgba(0, 229, 160, 0.2);
}

.success__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.success__text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.success__text a {
  color: var(--accent);
  font-weight: 600;
}

.success__text a:hover {
  text-decoration: underline;
}

.success__estimate {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin: 16px 0 32px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ----- Contact Page ----- */
.contact__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.contact__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact__section {
  margin-bottom: 28px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.contact__section:hover {
  border-color: var(--border-light);
}

.contact__section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.contact__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4px;
}

.contact__email {
  color: var(--accent) !important;
  font-weight: 600;
}

.contact__email:hover {
  text-decoration: underline;
}

/* ----- Policy Page ----- */
.policy__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.policy__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.policy__section {
  margin-bottom: 28px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.policy__section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.policy__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.policy__text a {
  color: var(--accent) !important;
  font-weight: 600;
}

.policy__text a:hover {
  text-decoration: underline;
}

.policy__text strong {
  color: var(--text);
}

.policy__highlight {
  background: var(--accent-glow);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 12px 0;
}

.policy__highlight strong {
  color: var(--text);
}

/* ----- 404 Page ----- */
.error-page {
  text-align: center;
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #00b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.6;
}

.error-page__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.error-page__text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  margin-top: auto;
  padding: 36px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.footer__logo span {
  color: var(--accent);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   LOADING STATE
   ============================================ */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.loading::before {
  content: "";
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ============================================
   ERROR STATE
   ============================================ */
.error {
  text-align: center;
  padding: 48px 16px;
}

.error__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.error__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--error);
}

.error__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.error-msg {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   TOAST / NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface);
  color: var(--text);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast--success {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.toast--error {
  background: var(--error);
  color: var(--white);
  border-color: var(--error);
}

/* ============================================
   GRAIN OVERLAY (subtle texture)
   ============================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 0 24px;
  }

  /* Header */
  .header__logo {
    font-size: 1.6rem;
  }

  .header__nav {
    gap: 28px;
  }

  /* Hero */
  .hero {
    padding: 80px 0;
    min-height: 400px;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .hero__badge {
    font-size: 0.8rem;
    padding: 8px 20px;
  }

  /* Trust */
  .trust {
    padding: 40px 0;
  }

  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Products */
  .products {
    padding: 56px 0 72px;
  }

  .products__heading {
    font-size: 1.8rem;
    margin-bottom: 36px;
  }

  .products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .product-card__name {
    font-size: 0.9rem;
  }

  .product-card__info {
    padding: 16px;
  }

  /* Product Detail */
  .product-detail {
    padding: 40px 0 80px;
  }

  .product-detail__layout {
    flex-direction: row;
    gap: 40px;
  }

  .product-detail__gallery {
    flex: 1;
    max-width: 50%;
  }

  .product-detail__info {
    flex: 1;
  }

  .product-detail__title,
  .product-detail__name {
    font-size: 1.8rem;
  }

  .product-detail__actions {
    flex-direction: row;
  }

  /* Cart */
  .cart__layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .cart__items {
    flex: 1;
  }

  .cart-summary {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + 20px);
  }

  .cart-item__image,
  .cart__item-img {
    width: 100px;
    height: 100px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* Info pages */
  .success__title {
    font-size: 2rem;
  }

  .contact__title,
  .policy__title {
    font-size: 2rem;
  }

  .error-page__code {
    font-size: 7rem;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  /* Hero */
  .hero {
    padding: 100px 0;
    min-height: 480px;
  }

  .hero__title {
    font-size: 3.5rem;
    letter-spacing: -2px;
  }

  .hero__subtitle {
    font-size: 1.2rem;
    max-width: 580px;
  }

  /* Products */
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .product-card__info {
    padding: 18px;
  }

  .product-card__name {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .product-card__price {
    font-size: 1.1rem;
  }

  /* Product Detail */
  .product-detail__layout {
    gap: 56px;
  }

  .product-detail__title,
  .product-detail__name {
    font-size: 2rem;
  }

  .product-detail__price-current {
    font-size: 2.2rem;
  }

  /* Cart */
  .cart-summary {
    width: 360px;
  }

  .cart-item,
  .cart__item {
    gap: 20px;
    padding: 20px;
  }

  .cart-item__image,
  .cart__item-img {
    width: 120px;
    height: 120px;
  }

  .cart-item__name,
  .cart__item-name {
    font-size: 1rem;
  }

  /* Info pages */
  .success__title {
    font-size: 2.2rem;
  }

  .error-page__code {
    font-size: 9rem;
  }
}

/* ============================================
   RESPONSIVE — LARGE DESKTOP (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .hero__title {
    font-size: 4rem;
  }
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
  background: var(--accent);
  color: var(--bg);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-light);
}

/* ============================================
   FOCUS STYLES (accessibility)
   ============================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent, #00e5a0);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10000;
  pointer-events: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
/* Custom cursor removed — was hiding native cursor and causing UX issues */

/* ============================================
   SPLIT TYPE OVERRIDES
   ============================================ */
.hero__title .char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero__title .word {
  display: inline-block;
  overflow: hidden;
}

/* ============================================
   PARTICLES CONTAINER
   ============================================ */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   PRODUCT DETAIL — ENHANCED
   ============================================ */
.product-detail__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}

.product-detail__thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  object-fit: cover;
  cursor: pointer;
  transition: border-color var(--transition);
  flex-shrink: 0;
}

.product-detail__thumb--active,
.product-detail__thumb:hover {
  border-color: var(--accent);
}

.product-detail__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-detail__stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 1px;
}

.product-detail__rating-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-detail__sold {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-glow, rgba(0,229,160,0.1));
  padding: 3px 10px;
  border-radius: 20px;
}

.product-detail__trending {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-glow, rgba(0,229,160,0.1));
  border: 1px solid var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.product-detail__price-save {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.product-detail__feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0;
}

.product-detail__feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-detail__feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.product-detail__trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 16px;
}

.product-detail__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
}

.product-detail__trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-detail__trust-item strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.product-detail__trust-item span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.product-detail__below-fold {
  padding: 0 0 48px;
}

.reviews {
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.reviews__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.reviews__summary {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.reviews__avg {
  text-align: center;
  min-width: 120px;
}

.reviews__avg-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.reviews__avg-stars {
  color: #f5a623;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.reviews__avg-count {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.reviews__bars {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviews__bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews__bar-label {
  width: 30px;
  font-size: 0.8rem;
  color: #f5a623;
  text-align: right;
}

.reviews__bar {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.reviews__bar-fill {
  height: 100%;
  background: #f5a623;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.reviews__bar-pct {
  width: 36px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.review:hover {
  border-color: var(--border-light);
}

.review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.review__stars {
  color: #f5a623;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.review__author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.review__verified {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-glow, rgba(0,229,160,0.1));
  padding: 2px 8px;
  border-radius: 10px;
}

.review__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 6px;
}

.review__body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.review__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}

.reviews__empty {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
}

/* ============================================
   RELATED PRODUCTS
   ============================================ */
.related {
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.related__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.related__card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.related__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.related__info {
  padding: 12px;
}

.related__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related__price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

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

  .product-detail__thumbs {
    gap: 10px;
  }

  .product-detail__thumb {
    width: 80px;
    height: 80px;
  }

  .reviews {
    padding-left: 24px;
    padding-right: 24px;
  }

  .related {
    padding-left: 24px;
    padding-right: 24px;
  }
}
