:root {
  font-family: 'Manrope', sans-serif;
  color: #f2f3f0;
  background: #0a0a0a;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #0a0a0a;
  --panel: #141414;
  --line: rgba(242, 243, 240, 0.12);
  --muted: #8a8a8a;
  --white: #f2f3f0;
  --blue: #6b7eff;
  --danger: #ff5a5a;
  --pending: #f59e0b;
  --success: #38ef7d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; 
  min-width: 320px; 
  background: var(--bg); 
  overflow-x: hidden; 
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; background: none; }
a { color: inherit; text-decoration: none; }

.app-shell { background: var(--bg); overflow-x: hidden; min-height: 100vh; }

/* Keyframe Animations */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideInRight {
  from { opacity: 0; transform: translateX(50px) rotate(-6deg); }
  to { opacity: 1; transform: translateX(0) rotate(-6deg); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; backdrop-filter: blur(0px); }
  to { opacity: 1; backdrop-filter: blur(4px); }
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes toastInOut {
  0% { opacity: 0; transform: translate(-50%, -20px); }
  10% { opacity: 1; transform: translate(-50%, 0); }
  90% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* Header */
.site-header {
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 64px;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.brand-lockup {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  transition: transform 0.2s ease;
}
.brand-lockup:hover { transform: scale(1.02); }
.brand-lockup img { height: 30px; width: 32px; object-fit: contain; }

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  margin-left: auto;
  margin-right: clamp(20px, 3vw, 40px);
}
.main-nav a {
  color: #999;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s ease;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--white);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.header-actions { align-items: center; display: flex; gap: 10px; }
.bag-button {
  align-items: center;
  color: var(--white);
  display: flex;
  padding: 6px;
  position: relative;
  transition: transform 0.2s ease;
}
.bag-button:hover { transform: scale(1.1); }
.bag-count {
  background: var(--blue);
  border-radius: 50%;
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 800;
  height: 16px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 16px;
  line-height: 16px;
}
.menu-button { color: var(--white); display: none; padding: 6px; }

/* Buttons */
.btn {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 44px;
  padding: 0 20px;
  text-transform: uppercase;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--white); color: #0a0a0a; }
.btn-primary:hover:not(:disabled) { 
  background: #ddd; 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(255,255,255,0.1); 
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-outline { border: 1px solid rgba(242, 243, 240, .35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-quiet { border: 1px solid var(--line); color: var(--white); }
.btn-quiet:hover { border-color: rgba(242, 243, 240, .4); background: rgba(255,255,255,0.05); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
  padding: 0 clamp(20px, 5vw, 60px);
  position: relative;
}
.hero-content { z-index: 2; animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-content h1 {
  font-size: clamp(64px, 10vw, 140px);
  letter-spacing: -.08em;
  line-height: .85;
  margin: 0 0 36px;
  background: linear-gradient(135deg, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-image {
  align-items: center;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}
.hero-image img {
  filter: drop-shadow(0 20px 40px rgba(255, 255, 255, 0.08));
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  transform: rotate(-6deg);
  width: 80%;
  animation: fadeSlideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  transition: transform 0.4s ease;
}
.hero-image img:hover { transform: rotate(-3deg) scale(1.05); }

/* Shop Section */
.shop-section {
  margin: 0 auto;
  max-width: 1500px;
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 60px);
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
}
.filter-row button {
  color: #6a6a6a;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .04em;
  margin-right: 24px;
  padding: 0;
  text-transform: uppercase;
  transition: color .2s ease, transform 0.2s ease;
  position: relative;
}
.filter-row button::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--white);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s ease;
}
.filter-row button.active { color: var(--white); }
.filter-row button.active::after { transform: translateX(-50%) scale(1); }
.filter-row button:hover { color: var(--white); transform: translateY(-2px); }

.product-grid {
  display: grid;
  gap: clamp(30px, 4vw, 60px) clamp(16px, 2vw, 30px);
  grid-template-columns: repeat(3, 1fr);
}
.product-card { 
  min-width: 0; 
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

.product-image {
  aspect-ratio: 1;
  background: #181818;
  border: 1px solid var(--line);
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
  border-radius: 4px;
  transition: border-color .3s ease;
}
.product-image:hover { border-color: rgba(242, 243, 240, .4); }
.product-placeholder {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.product-placeholder img {
  height: 40%;
  max-height: 100px;
  object-fit: contain;
  opacity: .4;
  width: auto;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.product-card:hover .product-placeholder img {
  transform: scale(1.15) rotate(2deg);
  opacity: .8;
}
.product-placeholder span {
  color: #555;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}
.product-badge {
  background: var(--white);
  color: #0a0a0a;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  left: 12px;
  letter-spacing: .06em;
  padding: 5px 8px;
  position: absolute;
  top: 12px;
  font-weight: 700;
}
.product-info {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}
.product-info h3 { font-size: 13px; font-weight: 600; margin: 0; }
.product-price { color: var(--muted); font-size: 13px; }
.add-btn {
  color: #777;
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .06em;
  margin-top: 8px;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
  transition: color .2s ease, transform 0.2s ease;
}
.add-btn:hover { color: var(--white); transform: translateX(4px); }

/* New Drop */
.new-section {
  align-items: center;
  background: var(--panel);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.new-image {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.new-image img {
  filter: drop-shadow(0 15px 30px rgba(255, 255, 255, 0.05));
  max-height: 400px;
  max-width: 80%;
  object-fit: contain;
  opacity: .8;
  transform: rotate(-8deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.new-section:hover .new-image img { transform: rotate(-4deg) scale(1.05); }
.new-content { padding: clamp(40px, 6vw, 80px); }
.new-content h2 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -.07em;
  line-height: .9;
  margin: 0 0 16px;
}
.new-content p { color: var(--muted); font-size: 14px; margin: 0 0 28px; }

/* About Section */
.about-section {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(60px, 10vw, 120px) 24px;
  text-align: center;
}
.about-section img {
  height: 50px;
  object-fit: contain;
  opacity: .6;
  width: 54px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.about-section:hover img { opacity: 1; transform: scale(1.1); }
.about-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 60px) clamp(20px, 5vw, 60px) 24px;
}
.footer-top {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}
.footer-brand {
  align-items: center;
  display: flex;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.footer-brand img { height: 28px; width: 30px; object-fit: contain; }
.social-links { display: flex; flex-direction: column; gap: 14px; }
.social-links > div {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 10px;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.social-links > div:hover { color: var(--white); transform: translateX(4px); }
.social-links strong {
  color: #555;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.social-links svg { color: #888; transition: color 0.2s ease; }
.social-links > div:hover svg { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line);
  color: #555;
  display: flex;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: .06em;
  padding-top: 20px;
  text-transform: uppercase;
}
.footer-bottom a { color: #888; transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--white); }

/* Toast */
.toast {
  background: var(--white);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  left: 50%;
  padding: 12px 24px;
  position: fixed;
  top: 80px;
  transform: translateX(-50%);
  z-index: 80;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: toastInOut 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Modals */
.modal-backdrop {
  align-items: center;
  background: rgba(0, 0, 0, .8);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 50;
  animation: fadeIn 0.3s ease forwards;
}
.product-modal {
  background: var(--panel);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: calc(100vh - 40px);
  max-width: 900px;
  overflow: auto;
  position: relative;
  width: 100%;
  animation: modalEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.modal-close {
  align-items: center;
  background: rgba(10, 10, 10, .7);
  color: var(--white);
  display: flex;
  height: 36px;
  justify-content: center;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  z-index: 2;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}
.modal-close:hover { transform: scale(1.1); background: rgba(30, 30, 30, .9); }
.modal-image { min-height: 480px; }
.product-placeholder-large img { max-height: 140px; }
.modal-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 48px);
}
.modal-badge {
  color: var(--blue);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 700;
}
.modal-info h2 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -.07em;
  line-height: .9;
  margin: 0 0 16px;
}
.modal-price { color: var(--white); font-size: 16px; font-weight: 500; }
.modal-info > p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 16px 0 20px; }

/* Selection blocks & Color Swatches */
.selection-block { border-top: 1px solid var(--line); padding: 14px 0; }
.selection-header {
  color: #888;
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.selection-header strong { color: var(--white); }
.selection-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.selection-header-row span {
  color: #888;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
}
.selection-header-row strong { color: var(--white); }

/* Color Swatches Grid */
.color-swatch-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.swatch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #181818;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #aaa;
  font-size: 11px;
  transition: all 0.2s ease;
}
.swatch-btn:hover {
  border-color: #555;
  color: var(--white);
}
.swatch-btn.selected {
  border-color: var(--white);
  background: #242424;
  color: var(--white);
  box-shadow: 0 0 0 1px var(--white);
}
.swatch-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Size Buttons & Size Guide Link */
.size-guide-link {
  color: var(--blue);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.size-guide-link:hover { opacity: 0.8; }

.choice-row { display: flex; flex-wrap: wrap; gap: 7px; }
.choice-row button:not(.swatch-btn) {
  border: 1px solid var(--line);
  color: #bbb;
  font-size: 10px;
  padding: 7px 14px;
  border-radius: 20px;
  transition: all .2s ease;
}
.choice-row button:not(.swatch-btn):hover {
  border-color: rgba(242, 243, 240, .4);
  color: var(--white);
}
.choice-row button:not(.swatch-btn).selected {
  border-color: var(--white);
  color: var(--bg);
  background: var(--white);
  font-weight: 600;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.modal-actions .btn { flex: 1; border-radius: 4px; }

/* Size Guide Modal */
.size-guide-backdrop { z-index: 65; }
.size-guide-modal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: modalEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: hidden;
}
.size-guide-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.size-guide-header h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.02em; }
.size-guide-header p { margin: 0; font-size: 11px; color: var(--muted); }
.size-guide-controls { display: flex; align-items: center; gap: 14px; }
.unit-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.unit-toggle button {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  padding: 6px 10px;
  color: #888;
}
.unit-toggle button.active {
  background: var(--white);
  color: #000;
  font-weight: 700;
}
.size-guide-table-wrap {
  padding: 16px 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.size-table th {
  padding: 10px 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.size-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ddd;
}
.size-table td.tag-cell {
  color: #777;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
}
.size-guide-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: #111;
  font-size: 11px;
  color: #aaa;
}
.size-guide-footer p { margin: 0; }

/* Cart & Checkout Drawer */
.cart-backdrop {
  align-items: stretch;
  background: rgba(0, 0, 0, .5);
  display: flex;
  inset: 0;
  justify-content: flex-end;
  padding: 0;
  position: fixed;
  z-index: 50;
  animation: fadeIn 0.3s ease forwards;
}
.cart-drawer {
  background: var(--panel);
  display: flex;
  flex-direction: column;
  max-width: 440px;
  min-height: 100%;
  height: 100dvh;
  width: 100%;
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  overscroll-behavior: contain;
}
.cart-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 24px 28px;
}
.cart-header-left { display: flex; align-items: center; gap: 12px; }
.cart-header-back { 
  color: var(--muted); 
  padding: 4px; 
  margin-left: -8px; 
  transition: color 0.2s; 
}
.cart-header-back:hover { color: var(--white); }
.cart-header h2 { font-size: 20px; font-weight: 700; letter-spacing: -.04em; margin: 0; }
.cart-body { 
  flex: 1; 
  overflow-y: auto; 
  padding: 0 28px; 
  display: flex; 
  flex-direction: column; 
  -webkit-overflow-scrolling: touch;
}

/* Cart Items */
.cart-item {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  padding: 18px 0;
  animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cart-item-image .product-placeholder {
  background: #181818;
  border: 1px solid var(--line);
  height: 80px;
  width: 72px;
  border-radius: 4px;
}
.cart-item-image .product-placeholder img { height: 32px; max-height: 32px; opacity: .3; }
.cart-item-info { display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; }
.cart-item-info h3 { font-size: 12px; font-weight: 600; margin: 0 0 6px; width: 100%; }
.cart-item-info p {
  color: #777;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .04em;
  margin: 0;
  text-transform: uppercase;
}
.cart-item-info > strong { font-size: 12px; font-weight: 500; }
.quantity-control {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  height: 26px;
  margin-top: auto;
}
.quantity-control button {
  align-items: center;
  color: var(--white);
  display: flex;
  height: 100%;
  justify-content: center;
  width: 26px;
  transition: background 0.2s ease;
}
.quantity-control button:hover { color: var(--blue); background: rgba(255,255,255,0.05); }
.quantity-control span { font-family: 'DM Mono', monospace; font-size: 10px; padding: 0 4px; }

/* Coupon Section */
.coupon-section {
  border-top: 1px dashed var(--line);
  margin-top: 14px;
  padding: 16px 0;
}
.coupon-section label {
  color: #888;
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.coupon-bar {
  display: flex;
  gap: 8px;
}
.coupon-bar input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  flex: 1;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  padding: 10px 12px;
  text-transform: uppercase;
}
.coupon-feedback {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  margin-top: 6px;
}
.coupon-feedback.ok { color: var(--success); }
.coupon-feedback.bad { color: var(--danger); }

/* Checkout Form */
.checkout-form { padding: 24px 0; animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; flex: 1;}
.form-row { display: flex; gap: 12px; margin-bottom: 16px; }
.form-group { flex: 1; display: flex; flex-direction: column; margin-bottom: 16px; position: relative; }
.form-group label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  padding: 12px 14px;
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #777;
  background: rgba(255, 255, 255, 0.06);
}
.form-group input.is-invalid, .form-group textarea.is-invalid {
  border-color: var(--danger);
  background: rgba(255, 90, 90, 0.06);
}
.error-hint {
  color: var(--danger);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  margin-top: 4px;
}

/* Address Autocomplete Dropdown */
.address-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1c1c1c;
  border: 1px solid #444;
  border-radius: 4px;
  z-index: 40;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8);
  max-height: 180px;
  overflow-y: auto;
  margin-top: 4px;
}
.address-menu-item {
  padding: 11px 14px;
  font-size: 12px;
  color: #eee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  transition: background 0.15s ease;
}
.address-menu-item:hover {
  background: #2a2a2a;
  color: var(--white);
}

.shipping-note {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.shipping-note p { margin: 0; font-size: 12px; color: #ccc; line-height: 1.4; }
.shipping-note svg { color: var(--muted); flex-shrink: 0; }

/* Payment Screen */
.payment-screen { padding: 24px 0; animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; flex: 1;}
.payment-total {
  text-align: center;
  margin-bottom: 32px;
}
.payment-total span {
  display: block;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.payment-total strong { font-size: 36px; font-weight: 700; letter-spacing: -0.05em; color: #fff; }

.payment-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.payment-option {
  background: #181818;
  border: 1.5px solid #333333;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.payment-option:hover:not(:disabled) {
  border-color: #777777;
  background: #222222;
  transform: translateY(-1px);
}
.payment-option.active {
  border-color: #ffffff;
  background: #262626;
  box-shadow: 0 0 0 1px #ffffff;
}
.payment-option:disabled {
  opacity: 0.65;
  background: #121212;
  border-color: #222222;
  cursor: not-allowed;
}

.payment-option-info { display: flex; align-items: center; gap: 14px; }
.payment-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}
.payment-badge {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  background: #222222;
  color: #888888;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid #333333;
}

.cashapp-instructions {
  background: rgba(255, 90, 90, 0.06);
  border: 1.5px solid rgba(255, 90, 90, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.3s ease;
}
.code-display {
  background: rgba(0,0,0,0.6);
  border: 1px dashed var(--line);
  padding: 12px;
  text-align: center;
  border-radius: 4px;
  margin: 16px 0;
}
.code-display span { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.code-display strong { font-family: 'DM Mono', monospace; font-size: 20px; color: var(--white); letter-spacing: 0.1em; }
.cashapp-instructions p { font-size: 12px; color: #ccc; line-height: 1.5; margin: 0 0 12px; }
.cashapp-instructions .warning-text { color: var(--danger); font-weight: 600; margin-bottom: 0; }

.cart-summary { 
  border-top: 1px solid var(--line); 
  padding: 22px 28px 28px; 
  background: #101010; 
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; }
.summary-row span { color: #888; font-family: 'DM Mono', monospace; text-transform: uppercase; }
.summary-row strong { color: #fff; }
.cart-subtotal {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 14px 0 18px;
  padding-top: 12px;
}
.cart-subtotal span { color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.cart-subtotal strong { font-size: 18px; font-weight: 700; color: #fff; }
.continue-btn {
  color: #777;
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  margin: 14px auto 0;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  transition: color 0.2s ease;
}
.continue-btn:hover { color: var(--white); }
.empty-cart {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 40px 28px;
  text-align: center;
  animation: fadeSlideUp 0.5s ease;
}
.empty-cart svg { color: #555; }
.empty-cart p { font-size: 13px; margin: 0; }

/* Responsive (Mobile & Tablets) */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .new-section { grid-template-columns: 1fr; }
  .new-image { min-height: 280px; }
  .color-swatch-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  /* Prevents iOS Safari from auto-zooming when tapping inputs */
  .form-group input, 
  .form-group textarea,
  .coupon-bar input {
    font-size: 16px !important;
  }

  .cart-drawer {
    max-width: 100vw;
    width: 100vw;
    height: 100dvh;
  }

  .site-header { height: 56px; padding: 0 16px; }
  .brand-lockup { font-size: 10px; }
  .brand-lockup img { height: 26px; width: 28px; }
  .main-nav {
    background: #0d0d0d;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    margin: 0;
    padding: 14px 20px 18px;
    position: absolute;
    top: 56px;
    width: 100%;
    animation: fadeSlideUp 0.3s ease forwards;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    border-bottom: 1px solid rgba(242, 243, 240, .06);
    font-size: 12px;
    padding: 13px 0;
    width: 100%;
  }
  .main-nav a:last-child { border: 0; }
  .menu-button { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: clamp(60px, 15vw, 100px) 20px;
  }
  .hero-content h1 { font-size: clamp(56px, 18vw, 100px); }
  .hero-image { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-image { aspect-ratio: 1.1; }
  .new-content { padding: 40px 20px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-bottom { font-size: 8px; }
  .product-modal {
    display: block;
    max-height: calc(100vh - 24px);
    border-radius: 8px 8px 0 0;
    align-self: flex-end;
  }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal-image { height: 30vh; min-height: 200px; }
  .modal-info { padding: 24px 20px; }
  .cart-header, .cart-body, .cart-summary { padding-left: 20px; padding-right: 20px; }

  .color-swatch-row { grid-template-columns: repeat(2, 1fr); }
  .size-guide-modal { max-height: 85vh; }
  .size-guide-header { padding: 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .size-guide-controls { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}