/* ================================================
   RUE FASHIONS — styles.css (Landing Page)
   ================================================ */

/* ---- TOKENS ---- */
[data-theme="dark"] {
  --bg: #080808;
  --bg2: #101010;
  --bg3: #161616;
  --fg: #f2ede4;
  --fg2: #aaa9a5;
  --accent: #c8523a;
  --accent-hover: #e06045;
  --accent2: #c9a84c;
  --border: #222;
  --card: #141414;
  --shadow: rgba(0,0,0,0.6);
  --input-bg: rgba(255,255,255,0.04);
}

[data-theme="light"] {
  --bg: #f5f2ec;
  --bg2: #edeae3;
  --bg3: #e3ded6;
  --fg: #141210;
  --fg2: #6b6761;
  --accent: #c8523a;
  --accent-hover: #a83d28;
  --accent2: #9a7a2a;
  --border: #d8d3cb;
  --card: #ffffff;
  --shadow: rgba(0,0,0,0.12);
  --input-bg: rgba(0,0,0,0.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; font-family: inherit; }

/* ---- GRAIN ---- */
.grain-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.04; mix-blend-mode: overlay;
}

/* ---- CURSOR ---- */
.cursor {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .18s, height .18s, background .18s;
}
.cursor.hovered { width: 18px; height: 18px; opacity: 0.6; }

.cursor-follower {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(200,82,58,0.45);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, opacity .3s;
}
.cursor-follower.hovered { width: 54px; height: 54px; }

/* ---- PROMO BANNER ---- */
.promo-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 10px 48px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  position: relative;
  z-index: 500;
}
.promo-close {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px; cursor: pointer;
  transition: color .2s;
}
.promo-close:hover { color: #fff; }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  z-index: 400;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s;
}
.nav-logo a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; letter-spacing: 4px;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 32px; }
.nav-link {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: 2px;
  color: var(--fg2);
  transition: color .25s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s cubic-bezier(0.22,1,0.36,1);
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { width: 100%; }

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

.theme-toggle {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
  font-size: 16px;
  color: var(--fg);
}
[data-theme="dark"] .theme-toggle { background: #2c2c2c; border-color: #3a3a3a; }
[data-theme="dark"] .theme-toggle svg { stroke: #f2ede4; }
[data-theme="light"] .theme-toggle svg { stroke: #141210; }
.theme-toggle:hover { border-color: var(--accent); background: rgba(200,82,58,0.1); }

.nav-icon {
  position: relative; color: var(--fg);
  cursor: pointer;
  transition: color .2s;
}
.nav-icon:hover { color: var(--accent); }

.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--accent); color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 9px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0);
  transition: transform .3s cubic-bezier(0.34,1.56,0.64,1);
}
.cart-count.visible { transform: scale(1); }

/* ---- CART DRAWER ---- */
.cart-drawer {
  position: fixed; top: 0; right: -440px;
  width: 420px; height: 100%;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 8000;
  display: flex; flex-direction: column;
  transition: right .4s cubic-bezier(0.22,1,0.36,1);
}
.cart-drawer.open { right: 0; }

.cart-header {
  display: flex; justify-content: space-between;
  align-items: center; padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 4px;
}
.cart-header button {
  color: var(--fg2); font-size: 20px;
  cursor: pointer; transition: color .2s;
}
.cart-header button:hover { color: var(--accent); }

.cart-items {
  flex: 1; overflow-y: auto;
  padding: 0 32px;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.cart-empty-msg {
  padding: 40px 0;
  font-family: 'Space Mono', monospace;
  font-size: 13px; color: var(--fg2);
  line-height: 2; text-align: center;
}
.cart-empty-msg a {
  color: var(--accent); text-decoration: underline;
  cursor: pointer;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  animation: slideInR .35s cubic-bezier(0.22,1,0.36,1);
}
@keyframes slideInR {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
.ci-img { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.ci-info { display: flex; flex-direction: column; gap: 6px; }
.ci-name { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 1px; }
.ci-price { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--accent); }
.ci-qty {
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px;
}
.qty-btn {
  width: 24px; height: 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px; color: var(--fg);
  transition: background .2s, border-color .2s;
}
.qty-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.qty-num { font-family: 'Space Mono', monospace; font-size: 13px; min-width: 20px; text-align: center; }
.ci-remove { color: var(--fg2); cursor: pointer; font-size: 18px; transition: color .2s; }
.ci-remove:hover { color: var(--accent); }

.cart-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-subtotal {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: 2px;
  color: var(--fg2);
}
.cart-subtotal span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; color: var(--fg);
}
.cart-shipping {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--fg2);
}
.cart-shipping.free { color: #4caf80; }

.btn-checkout {
  background: var(--fg);
  color: var(--bg);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 3px;
  padding: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .25s, color .25s;
  text-align: center;
}
.btn-checkout:hover {
  background: var(--accent);
  color: #fff;
}

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 7999;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
  backdrop-filter: blur(4px);
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }

/* ---- MODALS ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
  backdrop-filter: blur(6px);
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  animation: modalIn .4s cubic-bezier(0.22,1,0.36,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute; top: 20px; right: 20px;
  font-size: 20px; color: var(--fg2);
  cursor: pointer; transition: color .2s;
}
.modal-close:hover { color: var(--accent); }

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; letter-spacing: 4px;
  margin-bottom: 28px;
}

.checkout-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-full { display: flex; flex-direction: column; gap: 0; }

.checkout-form label {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  color: var(--fg2);
  display: flex; flex-direction: column; gap: 8px;
}
.checkout-form input,
.checkout-form textarea {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .25s, background .25s;
  resize: vertical;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--accent);
  background: rgba(200,82,58,0.04);
}

.order-summary-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.os-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 3px;
  color: var(--fg2); margin-bottom: 12px;
}
.os-item {
  display: flex; justify-content: space-between;
  font-size: 13px; padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.os-total {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; margin-top: 12px;
  color: var(--accent);
}

.full-width { width: 100%; }

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 3px;
  padding: 16px 36px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .25s, box-shadow .25s, transform .15s;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform .5s;
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 30px rgba(200,82,58,0.35); }
.btn-primary:hover::before { transform: translateX(110%) skewX(-12deg); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 3px;
  padding: 15px 35px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .25s, color .25s;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost:hover { border-color: var(--fg); }

/* SUCCESS MODAL */
.success-box { text-align: center; padding: 60px 48px; }
.success-icon {
  width: 72px; height: 72px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff;
  margin: 0 auto 24px;
  animation: popIn .5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-box h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px; letter-spacing: 5px; margin-bottom: 12px;
}
.success-box p { color: var(--fg2); margin-bottom: 32px; line-height: 1.6; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 80px 80px 80px;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .hero { background: radial-gradient(ellipse at 75% 40%, #1f0c07 0%, var(--bg) 60%); }
[data-theme="light"] .hero { background: radial-gradient(ellipse at 75% 40%, #f5e6e0 0%, var(--bg) 60%); }

.hero-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 13vw, 190px);
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200,82,58,0.06);
  letter-spacing: 10px;
  pointer-events: none; user-select: none;
  will-change: transform;
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 6px;
  color: var(--accent); margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .8s .2s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 11vw, 148px);
  line-height: 0.92; letter-spacing: -2px;
  margin-bottom: 24px;
}
.line-wrap { display: block; overflow: hidden; }
.line-inner {
  display: block;
  animation: slideUp .9s cubic-bezier(0.22,1,0.36,1) forwards;
  opacity: 0; transform: translateY(100%);
}
.line-wrap:nth-child(1) .line-inner { animation-delay: .3s; }
.line-wrap:nth-child(2) .line-inner { animation-delay: .5s; }
.accent-text { color: var(--accent); }

.hero-sub {
  font-size: 16px; color: var(--fg2);
  margin-bottom: 36px; line-height: 1.7;
  max-width: 460px;
  opacity: 0;
  animation: fadeUp .8s .7s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .8s .9s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-trust {
  display: flex; gap: 12px; align-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--fg2);
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeUp .8s 1.1s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-trust .dot { color: var(--border); }

.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 80px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px;
  color: var(--fg2);
  animation: fadeUp 1s 1.6s cubic-bezier(0.22,1,0.36,1) both;
}
.scroll-line {
  width: 1px; height: 55px;
  background: linear-gradient(to bottom, var(--fg2), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: 1; transform: scaleY(1) translateY(0); }
  50% { opacity: 0.3; transform: scaleY(0.6) translateY(20px); }
}

/* Floating images */
.hero-float-imgs { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float-img { position: absolute; border-radius: 10px; overflow: hidden; will-change: transform; }
.fi-1 {
  width: clamp(150px, 17vw, 250px); height: clamp(190px, 24vw, 330px);
  right: 12%; top: 14%;
  box-shadow: 0 40px 80px var(--shadow);
  animation: floatA 6s ease-in-out infinite;
}
.fi-2 {
  width: clamp(110px, 13vw, 190px); height: clamp(140px, 19vw, 260px);
  right: 27%; top: 52%;
  box-shadow: 0 30px 60px var(--shadow);
  animation: floatA 7s 1.2s ease-in-out infinite reverse;
}
.fi-3 {
  width: clamp(95px, 11vw, 160px); height: clamp(120px, 17vw, 220px);
  right: 5%; top: 54%;
  box-shadow: 0 20px 50px var(--shadow);
  animation: floatA 5s 2.1s ease-in-out infinite;
}
@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(.8deg); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- MARQUEE ---- */
.marquee-wrap {
  overflow: hidden;
  background: var(--accent);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.marquee-track {
  display: flex; gap: 36px;
  white-space: nowrap; will-change: transform;
  animation: marqueeAnim 28s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 4px;
  color: #fff; align-items: center;
}
.m-dot { font-size: 8px; opacity: 0.5; }
@keyframes marqueeAnim {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- PRODUCTS / CAROUSEL ---- */
.products-section { padding: 100px 80px; }

.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px; flex-wrap: wrap; gap: 24px;
}
.section-header-left { display: flex; flex-direction: column; gap: 4px; }
.section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 5px;
  color: var(--accent); display: block; margin-bottom: 8px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: 2px; line-height: 1;
  color: var(--fg);
}
/* Products section — refined, not punchy */
.products-section .section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: 4px;
  color: var(--fg);
  opacity: 0.9;
}

.filter-tabs { display: flex; gap: 8px; }
.filter-btn {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 40px;
  color: var(--fg2);
  cursor: pointer;
  transition: all .25s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Carousel */
.carousel-wrap {
  position: relative;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.carousel-track {
  display: flex;
  gap: 28px;
  transition: transform .6s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}

/* Product card */
.product-card {
  flex: 0 0 calc(33.333% - 19px);
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px var(--shadow);
  border-color: var(--accent);
}

.pc-img {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: var(--bg3);
}
.pc-img img { transition: transform .6s cubic-bezier(0.22,1,0.36,1); }
.product-card:hover .pc-img img { transform: scale(1.07); }

/* Atom canvas overlay */
.atom-canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
}
.pc-img:hover .atom-canvas { opacity: 0.6; }
/* Image stays visible — atom canvas overlays on top without hiding the photo */

.pc-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 2px;
  background: var(--accent); color: #fff;
  padding: 5px 12px; border-radius: 40px;
  z-index: 2;
}
.pc-tag.new { background: var(--accent2); color: #111; }
.pc-tag.sale { background: #2a7a4a; }

.pc-info { padding: 24px; }
.pc-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 2px;
  margin-bottom: 10px;
}
.pc-prices { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pc-price { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--accent); }
.pc-old {
  font-family: 'Space Mono', monospace;
  font-size: 13px; color: var(--fg2);
  text-decoration: line-through;
}
.pc-stock {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--fg2);
  margin-bottom: 18px;
}
.pc-stock.low { color: #d4783a; }
.pc-stock.out { color: var(--fg2); font-style: italic; }

.btn-add-cart {
  width: 100%;
  background: var(--fg);
  color: var(--bg);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px; letter-spacing: 3px;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn-add-cart:hover {
  background: var(--accent);
  color: #fff;
}
.btn-add-cart.disabled {
  background: var(--bg3);
  color: var(--fg2);
  cursor: not-allowed;
  opacity: 0.6;
}
.btn-add-cart.disabled:hover {
  background: var(--bg3);
  color: var(--fg2);
}

/* Carousel controls */
.carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 18px; color: var(--fg);
  cursor: pointer; z-index: 5;
  transition: background .25s, border-color .25s, color .25s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ca-prev { left: -26px; }
.ca-next { right: -26px; }

.carousel-dots {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 32px;
}
.c-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.c-dot.active { background: var(--accent); transform: scale(1.4); }

/* ---- FEATURES STRIP ---- */
.features-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-block {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  transition: background .3s;
}
.feature-block:last-child { border-right: none; }
.feature-block:hover { background: var(--bg2); }
.f-icon { 
  width: 44px; height: 44px; margin-bottom: 20px; 
  color: var(--accent); opacity: 0.85;
  display: flex; align-items: center; justify-content: center;
}
.f-icon svg { width: 28px; height: 28px; }
.feature-block h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 3px; margin-bottom: 8px;
}
.feature-block p { font-size: 14px; color: var(--fg2); line-height: 1.6; }

/* ---- LOOKBOOK ---- */
.lookbook { padding: 100px 80px; }
.lookbook-header { margin-bottom: 56px; }
.lookbook-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px; height: 660px;
}
.lb-col { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.lb-item {
  border-radius: 10px; overflow: hidden;
  position: relative; background: var(--bg3);
}
.lb-item img { transition: transform .7s cubic-bezier(0.22,1,0.36,1); }
.lb-item:hover img { transform: scale(1.06); }
.lb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 24px;
  opacity: 0; transition: opacity .4s;
}
.lb-item:hover .lb-overlay { opacity: 1; }
.lb-overlay span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 3px; color: #fff;
}
.parallax-img img { will-change: transform; transform-origin: center; }

/* ---- STATS ---- */
.stats-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 80px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; padding: 20px; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(54px, 7vw, 90px);
  line-height: 1; transition: color .3s;
  color: var(--fg);
}
[data-theme="dark"] .stat-num { color: #e8734f; }
[data-theme="light"] .stat-num { color: var(--accent); }
.stat-item:hover .stat-num { color: var(--accent-hover) !important; }
.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px;
  color: var(--fg2); margin-top: 6px;
}
[data-theme="dark"] .stat-label { color: #c8b89a; }
.stat-divider { width: 1px; height: 70px; background: var(--border); }

/* ---- TESTIMONIALS ---- */
.testimonials { padding: 100px 80px; }
.testimonials .section-title { margin-bottom: 56px; }
.testi-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 24px; }
.testi-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  transition: border-color .3s, transform .3s;
}
.testi-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.testi-featured {
  border-color: var(--accent);
  padding: 48px 36px;
}
.stars { color: var(--accent2); font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; }
.testi-card p { font-size: 15px; line-height: 1.75; color: var(--fg2); margin-bottom: 18px; }
.testi-name { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 2px; color: var(--fg2); }

/* ---- NEWSLETTER ---- */
.newsletter {
  padding: 110px 80px;
  background: var(--bg2);
  position: relative; overflow: hidden;
  text-align: center;
}
.newsletter-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,82,58,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .8; }
  50% { transform: translate(-50%,-50%) scale(1.2); opacity: .4; }
}
.nl-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 7vw, 88px);
  line-height: .95; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.nl-sub {
  font-family: 'Space Mono', monospace;
  font-size: 12px; color: var(--fg2);
  margin-bottom: 36px; letter-spacing: 2px;
  position: relative; z-index: 1;
}
.nl-form {
  display: flex; justify-content: center;
  max-width: 500px; margin: 0 auto;
  position: relative; z-index: 1;
}
.nl-input {
  flex: 1;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--fg);
  font-family: 'Space Mono', monospace;
  font-size: 12px; padding: 16px 24px;
  letter-spacing: 2px; outline: none;
  transition: border-color .25s;
  border-radius: 6px 0 0 6px;
}
.nl-input:focus { border-color: var(--accent); }
.nl-input::placeholder { color: var(--fg2); }
.nl-form .btn-primary { border-radius: 0 6px 6px 0; padding: 16px 28px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg);
  padding: 80px 80px 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; margin-bottom: 56px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; letter-spacing: 4px; margin-bottom: 14px;
}
.footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 14px; color: var(--fg2); line-height: 1.8; margin-bottom: 24px; }

.social-links { display: flex; gap: 16px; }
.social-a {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: 2px;
  color: var(--fg2);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: color .2s, border-color .2s;
}
.social-a:hover { color: var(--fg); border-color: var(--fg); }

.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.fl-col h5 {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 4px;
  color: var(--accent); margin-bottom: 20px;
}
.fl-col a {
  display: block; font-size: 14px;
  color: var(--fg2); margin-bottom: 10px;
  transition: color .2s, transform .2s;
}
.fl-col a:hover { color: var(--fg); transform: translateX(4px); }

.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom > span {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 2px; color: var(--fg2);
}

/* ---- POWERED BY ---- */
.powered-by {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  color: var(--fg2);
  border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 40px;
  transition: color .25s, border-color .25s, background .25s;
  display: inline-flex; align-items: center; gap: 6px;
}
.powered-by strong { color: var(--accent); font-weight: 700; }
.powered-by:hover {
  color: var(--fg);
  border-color: var(--accent);
  background: rgba(200,82,58,0.06);
}

/* ---- GLITCH ---- */
.glitch-text { position: relative; }
.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  font-family: inherit; font-size: inherit;
  font-weight: inherit; line-height: inherit;
}
.glitch-text::before {
  color: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
}
.glitch-text::after {
  color: var(--accent2);
  clip-path: polygon(0 62%, 100% 62%, 100% 100%, 0 100%);
}
.glitch-text.glitching::before { animation: g1 .3s steps(1) infinite; }
.glitch-text.glitching::after  { animation: g2 .3s steps(1) infinite; }
@keyframes g1 {
  0% { transform: translateX(-4px); } 25% { transform: translateX(4px); }
  50% { transform: translateX(-2px); } 75% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}
@keyframes g2 {
  0% { transform: translateX(4px); } 25% { transform: translateX(-4px); }
  50% { transform: translateX(2px); } 75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal-item {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(0.22,1,0.36,1), transform .7s cubic-bezier(0.22,1,0.36,1);
}
.reveal-item.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .product-card { flex: 0 0 calc(50% - 14px); }
}
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 80px 24px 60px; }
  .hero-scroll-hint { left: 24px; }
  .products-section { padding: 60px 24px; }
  .product-card { flex: 0 0 calc(100% - 0px); }
  .features-strip { grid-template-columns: 1fr 1fr; }
  .feature-block { border-bottom: 1px solid var(--border); }
  .lookbook { padding: 60px 24px; }
  .lookbook-grid { grid-template-columns: 1fr; height: auto; }
  .lb-col { grid-template-rows: auto; }
  .lb-item { height: 280px; }
  .lb-big { height: 360px; }
  .stats-section { grid-template-columns: 1fr 1fr; padding: 40px 24px; gap: 0; }
  .stat-divider { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .testimonials, .newsletter { padding: 60px 24px; }
  .footer { padding: 60px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .ca-prev { left: -10px; } .ca-next { right: -10px; }
}

/* ---- PRODUCT SKU ---- */
.pc-sku {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 3px;
  color: var(--fg2); opacity: 0.6;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ---- OUT OF STOCK BADGE ---- */
.pc-out-badge {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 5px;
  color: rgba(255,255,255,0.8);
  z-index: 3;
  pointer-events: none;
}

/* ---- CART SKU ---- */
.ci-sku {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 2px;
  color: var(--fg2); opacity: 0.5;
}

/* ---- INFO MODAL ---- */
.info-modal-box {
  max-width: 580px;
}
.info-modal-content {
  margin-top: 8px;
}
.info-section {
  margin-bottom: 28px;
}
.info-section:last-child { margin-bottom: 0; }
.info-section h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 3px;
  color: var(--fg);
  margin-bottom: 10px;
}
.info-section p {
  font-size: 14px; color: var(--fg2);
  line-height: 1.75;
}
.info-section strong { color: var(--fg); }
.info-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.info-list li {
  font-size: 14px; color: var(--fg2);
  padding-left: 18px; position: relative;
  line-height: 1.6;
}
.info-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}
.info-table {
  width: 100%; border-collapse: collapse;
  margin-top: 8px;
}
.info-table th, .info-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-size: 13px; text-align: left;
}
.info-table th {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 2px;
  color: var(--fg2);
  background: var(--bg3);
}
.info-table td { color: var(--fg); }
.info-table tr:nth-child(even) td { background: var(--bg3); }

/* Track form */
.track-form { margin-top: 16px; }
.info-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: 'Space Mono', monospace;
  font-size: 13px; outline: none;
  transition: border-color .25s;
  letter-spacing: 2px;
}
.info-input:focus { border-color: var(--accent); }
.info-input::placeholder { color: var(--fg2); }

.track-result { margin-top: 16px; }
.track-status {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 20px;
}
.ts-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 3px;
  color: var(--fg2); margin-bottom: 6px;
}
.ts-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: var(--accent); margin-bottom: 8px;
}
.ts-customer, .ts-total {
  font-size: 13px; color: var(--fg2);
  font-family: 'Space Mono', monospace;
  line-height: 1.7;
}

/* Green colour for free shipping */
[data-theme="dark"] { --green: #3aac72; }
[data-theme="light"] { --green: #27865a; }

.cart-shipping.free { color: var(--green); }

/* ---- FOOTER LINK hover fix ---- */
.fl-col a[onclick] { cursor: pointer; }