/* ══════════════════════════════════════════════
   UNKAI PERFORMANCE FISHING — Design System
   ══════════════════════════════════════════════ */

/* ─── Custom Properties ─── */
:root {
  --ink: #0d0d0d;
  --ink-light: #1a1a1a;
  --ink-mid: #2a2a2a;
  --ink-wash: rgba(13,13,13,0.6);
  --paper: #faf8f5;
  --paper-warm: #f5f0eb;
  --crimson: #cc2936;
  --crimson-dark: #a81e2a;
  --indigo: #2b4f6e;
  --charcoal: #4a4a4a;
  --text: #1a1a1a;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --border: rgba(13,13,13,0.1);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', serif;
  
  --max-width: 1280px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-sm: 6px;
  
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-smoothing handled by Lenis (do not re-enable native smooth) */
body { 
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ═══════════════ SPLASH REVEAL ═══════════════ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: all;
  overflow: hidden;
  opacity: 0;
}
.splash--ready {
  opacity: 1;
}

/* ─── Individual cloud instances ─── */
.splash__cloud {
  position: absolute;
  width: 100vw;
  height: auto;
  z-index: 1;
  transition: transform 4.6s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}
@media (max-width: 640px) {
  .splash__cloud {
    width: 600vw !important;
    transition-duration: 6s;
  }
  .splash__cloud img {
    width: 600vw;
    max-width: none;
  }
}
.splash__cloud img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.6) contrast(1.3) sepia(0.3) saturate(0.4);
  opacity: 0.85;
}

/* ─── Clouds part outward ─── */
.splash__cloud[data-side="left"] {
  transform: translateX(0);
}
.splash--open .splash__cloud[data-side="left"] {
  transform: translateX(-120%);
}
.splash__cloud[data-side="right"] {
  transform: translateX(0);
}
.splash--open .splash__cloud[data-side="right"] {
  transform: translateX(120%);
}

.splash--hidden {
  display: none !important;
}



.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header__en {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-header__desc {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--crimson);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.25);
}
.btn--full { width: 100%; }

/* ═══════════════ NAVIGATION ═══════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  min-height: var(--nav-height);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.nav--scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 8px 0;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav--scrolled .nav__logo-img {
  filter: none;
}

@media (max-width: 640px) {
  .nav__logo-img {
    opacity: 0;
  }
  .nav--scrolled .nav__logo-img {
    opacity: 1;
  }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
  position: relative;
}
.nav--scrolled .nav__link {
  color: var(--ink);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--crimson);
  transition: width 0.3s var(--ease-out);
}
.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: var(--crimson); }
.nav__link--cart { 
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  transition: all 0.3s var(--ease-out);
}
.nav--scrolled .nav__link--cart {
  border-color: var(--border);
  color: var(--ink);
}
.nav__link--cart i {
  font-size: 1.125rem;
}
.cart-count {
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
}
.nav--scrolled .cart-count {
  background: var(--ink);
  color: var(--white);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Desktop Dropdown ─── */
.nav__dropdown {
  position: relative;
}
.nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link--dropdown::after {
  display: none;
}
.nav__link--dropdown:hover + .nav__dropdown-menu,
.nav__dropdown-menu:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s var(--ease-out);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  z-index: 10;
}
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--border);
}
.nav__dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 4px;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav__dropdown-link:hover {
  background: var(--paper);
  color: var(--ink);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  position: relative;
  z-index: 102;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  border-radius: 1px;
}
.nav--scrolled .nav__toggle span {
  background: var(--ink);
}
.nav__toggle.active span { background: var(--ink); }
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ─── Mobile Drawer (Bottom) ─── */
.nav__drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  backdrop-filter: blur(2px);
}
.nav__drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav__drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  padding: 40px 32px 48px;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.1);
  max-height: 85vh;
  overflow-y: auto;
}
.nav__drawer.open {
  transform: translateY(0);
}

/* Handle / grab bar at top of drawer */
.nav__drawer-handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin: -24px auto 24px;
}

.nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}
.nav__drawer-link {
  display: flex;
  align-items: center;
  padding: 16px 12px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.2s;
}
.nav__drawer-link:hover { background: var(--paper-warm); }
.nav__drawer-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.nav__drawer-link--action {
  flex: 1;
  text-align: center;
  padding: 14px 12px;
  font-weight: 600;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.nav__drawer-link--action:first-child {
  margin-right: 0;
}
.nav__drawer-link--action span {
  padding: 2px 10px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ─── Drawer Expandable Submenu ─── */
.nav__drawer-link--parent {
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}
.nav__drawer-chevron {
  font-size: 1.25rem;
  transition: transform 0.3s var(--ease-out);
  color: var(--charcoal);
}
.nav__drawer-link--parent.open .nav__drawer-chevron {
  transform: rotate(90deg);
}
.nav__drawer-sublinks {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.nav__drawer-sublinks.open {
  max-height: 300px;
}
.nav__drawer-link--sub {
  padding: 12px 12px 12px 28px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--charcoal);
}
.nav__drawer-link--sub:hover {
  color: var(--ink);
  background: transparent;
}
.nav__drawer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.nav__drawer-social a {
  font-size: 0.8125rem;
  color: var(--charcoal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  color: var(--white);
}
.hero__video {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.6);
  z-index: 1;
}
.hero__content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  text-align: center;
  flex: 1;
  align-self: center;
}
.hero__inner { max-width: 640px; }

.hero__logo-mark {
  margin-bottom: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.hero__logo-img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}



.hero__sub {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  margin-top: 0;
}
.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hero__inner > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__logo-mark { animation-delay: 0.1s; }
.hero__sub { animation-delay: 0.3s; }
.hero__divider { animation-delay: 0.45s; }
.hero__location { animation-delay: 0.5s; }
.hero__desc { animation-delay: 0.6s; }
.hero__inner > .btn { animation-delay: 0.75s; }

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Divider lines expand outward */
.hero__divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
  max-width: 60px;
  animation: dividerExpand 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
  transform-origin: center;
  transform: scaleX(0);
}

@keyframes dividerExpand {
  to { transform: scaleX(1); }
}

.hero__location {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════ SHOP GRID ═══════════════ */
.shop {
  padding: 120px 0 80px;
  background: var(--white);
}
.product-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 24px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--charcoal);
  transition: all 0.25s var(--ease-out);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Collection grid — tight 2-col that fills screen */
.product-grid--collection {
  grid-template-columns: 1fr 1fr !important;
  gap: 12px;
  padding: 0 !important;
  margin: 0 !important;
}

.product-grid .product-card,
.cat-section__scroll .product-card {
  transform: translateY(20px);
}

.product-grid .product-card {
  opacity: 1;
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cat-section__scroll .product-card {
  opacity: 0;
}

.reveal.visible .product-grid .product-card,
.reveal.visible .cat-section__scroll .product-card {
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cat-section__scroll .product-card:nth-child(1) { animation-delay: 0.05s; }
.cat-section__scroll .product-card:nth-child(2) { animation-delay: 0.12s; }
.cat-section__scroll .product-card:nth-child(3) { animation-delay: 0.19s; }
.cat-section__scroll .product-card:nth-child(4) { animation-delay: 0.26s; }
.cat-section__scroll .product-card:nth-child(5) { animation-delay: 0.33s; }
.cat-section__scroll .product-card:nth-child(6) { animation-delay: 0.40s; }

.product-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.product-grid .product-card:nth-child(2) { animation-delay: 0.12s; }
.product-grid .product-card:nth-child(3) { animation-delay: 0.19s; }
.product-grid .product-card:nth-child(4) { animation-delay: 0.26s; }
.product-grid .product-card:nth-child(5) { animation-delay: 0.33s; }
.product-grid .product-card:nth-child(6) { animation-delay: 0.40s; }
.product-grid .product-card:nth-child(7) { animation-delay: 0.47s; }
.product-grid .product-card:nth-child(8) { animation-delay: 0.54s; }

@keyframes cardFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.product-card {
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.product-card__image {
  aspect-ratio: 1/1;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.product-card:hover .product-card__img {
  transform: scale(1.06);
}
.product-card__image-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  opacity: 0.12;
  user-select: none;
}
.product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  background: var(--crimson);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
}
.product-card__add {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--crimson);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.product-card__add:hover {
  transform: scale(1.1);
  background: #b52030;
}
.product-card__body {
  padding: 14px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.product-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.25;
}
.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.product-card__type {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

/* ═══════════════ BRAND STORY ═══════════════ */
.story {
  padding: 120px 0;
  position: relative;
  background: #f5f2ed;
  overflow: hidden;
  isolation: isolate;
}

/* Sumi paper texture — subtle ink wash stains + horizontal ruled lines */
.story::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(0,0,0,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(10,0,0,0.04) 0%, transparent 40%),
    radial-gradient(circle at 10% 60%, rgba(0,0,0,0.03) 0%, transparent 30%),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 26px,
      rgba(0,0,0,0.008) 26px,
      rgba(0,0,0,0.008) 27px
    );
}

/* Bottom ink pool accent */
.story::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.02) 40%, rgba(0,0,0,0.04));
  opacity: 0.5;
}

/* ─── Brush Stroke Accent ─── */
.story__brush {
  position: absolute;
  right: 35%;
  bottom: 60px;
  width: 180px;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.08) 30%, rgba(0,0,0,0.12) 60%, transparent 100%);
  border-radius: 4px;
  opacity: 0;
  animation: brushFade 3s ease-out 0.8s forwards;
}

@keyframes brushFade {
  to { opacity: 1; }
}

/* ─── Ink Drops ─── */
.story__drip {
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08), transparent);
  border-radius: 1px;
  opacity: 0.7;
  animation: dripFall 4s ease-in infinite;
}

.story__drip--1 {
  right: 25%;
  top: 40px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 5s;
}

.story__drip--2 {
  right: 18%;
  top: 80px;
  height: 40px;
  animation-delay: 1.5s;
  animation-duration: 4.5s;
}

@keyframes dripFall {
  0% { transform: translateY(-20px); opacity: 0; }
  15% { opacity: 0.7; }
  70%, 100% { transform: translateY(60px); opacity: 0; }
}

/* ─── Text Content ─── */
/* ─── Flex layout: text left, art right ─── */
.story__inner {
  display: flex;
  align-items: stretch;
  gap: 48px;
  min-height: 500px;
}

.story__text {
  flex: 0 0 45%;
  max-width: 500px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ─── Gyotaku Art — fills right half, scales fluidly ─── */
.story__art {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  min-height: 500px;
  padding: 0;
}

.story__fish {
  flex: 1;
  background: url('../images/gyotaku-redfish-dark.png') no-repeat center / contain;
  -webkit-mask-image: linear-gradient(to right, transparent 3%, #000 20%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 3%, #000 20%, #000 90%, transparent 100%);
  opacity: 0.95;
  animation: fishDrift 8s ease-in-out infinite;
  will-change: transform;
}

@keyframes fishDrift {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  33% { transform: translateX(8px) rotate(0.3deg); }
  66% { transform: translateX(4px) rotate(-0.2deg); }
}

/* Ink slowly pools — visible on scroll */
.story__fish.fish--visible {
  animation: fishDrift 8s ease-in-out infinite, inkBloom 2.5s ease-out forwards;
}

@keyframes inkBloom {
  0% { filter: contrast(0.8) saturate(0.5) opacity(0.6); }
  60% { filter: contrast(1.05) saturate(0.8) opacity(0.9); }
  100% { filter: contrast(1.1) saturate(1) opacity(0.95); }
}

.story__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
  display: block;
}

.story__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}

.story__title em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--crimson);
}

.story__subtitle {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 20px;
  font-weight: 400;
}

.story__divider {
  width: 60px;
  height: 2px;
  background: var(--crimson);
  margin-bottom: 28px;
}

.story__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.story__body strong { color: var(--ink); }

.story__features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.story__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

/* In-view animation — subtle fade for the text */
.story.visible .story__text > * {
  opacity: 0;
  transform: translateY(12px);
  animation: textFadeIn 0.6s ease-out forwards;
}
.story__label { animation-delay: 0.1s; }
.story__title { animation-delay: 0.2s; }
.story__subtitle { animation-delay: 0.3s; }
.story__divider { animation-delay: 0.4s; }
.story__body:nth-of-type(1) { animation-delay: 0.5s; }
.story__body:nth-of-type(2) { animation-delay: 0.6s; }
.story__features { animation-delay: 0.7s; }

@keyframes textFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ POLICY PAGES ═══════════════ */
.policy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.policy-page__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.policy-page__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
}
.policy-page__body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}
.policy-page__body p {
  margin-bottom: 16px;
}
.policy-page__body ul {
  margin: 12px 0 16px 20px;
}
.policy-page__body li {
  margin-bottom: 8px;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
}
.contact__inner {
  max-width: 640px;
  margin: 0 auto;
}
.contact__header {
  text-align: center;
  margin-bottom: 48px;
}
.contact__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
  display: block;
}
.contact__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.contact__desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__label-field {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact__input,
.contact__textarea {
  padding: 14px 18px;
  font-size: 0.9375rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
.contact__textarea {
  resize: vertical;
  min-height: 120px;
}
.contact__input:focus,
.contact__textarea:focus {
  border-color: var(--crimson);
  background: rgba(255,255,255,0.1);
}
.contact__input::placeholder,
.contact__textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.contact__submit {
  align-self: flex-start;
  background: var(--crimson);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact__submit:hover {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}
.contact__submit i { font-size: 1.1rem; }
.contact__footnote {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

/* ─── Footer Newsletter ─── */
.footer__newsletter h4 {
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.footer__form {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
}
.footer__input {
  flex: 1;
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--white);
  outline: none;
  font-family: inherit;
}
.footer__input::placeholder { color: rgba(255,255,255,0.3); }
.footer__btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 8px 0 8px 8px;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer__btn:hover { color: var(--white); }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  padding: 64px 0 32px;
  background: var(--ink-light);
  color: rgba(255,255,255,0.7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo { margin-bottom: 12px; }
.footer__logo-img {
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer__tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer__links h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__links a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}
.footer__ai {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}

/* ═══════════════ PRODUCT MODAL ═══════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  padding: 24px;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.6);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-out);
}
.modal.open .modal__content {
  transform: translateY(0) scale(1);
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.modal__close:hover { background: rgba(0,0,0,0.7); }
.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.modal__image {
  display: flex;
  flex-direction: column;
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}
.modal__image-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.modal__image-placeholder {
  font-size: 4rem;
  opacity: 0.08;
  user-select: none;
  font-weight: 700;
  color: var(--ink);
}
.modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal__thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.modal__thumb {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: var(--paper-warm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s;
}
.modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal__thumb.active {
  border-color: var(--ink);
}
.modal__thumb:hover {
  border-color: var(--charcoal);
}
.modal__info {
  padding: 40px;
}
.modal__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--crimson);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 12px;
}
.modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}
.modal__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 16px;
}
.modal__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.modal__options { margin-bottom: 24px; }
.modal__option {
  margin-bottom: 20px;
}
.modal__option label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.option-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.option-btn {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  transition: all 0.2s;
}
.option-btn:hover { border-color: var(--ink); color: var(--ink); }
.option-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.color-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
}
.option-group--colors { flex-wrap: wrap; gap: 10px; }
.color-btn:hover { transform: scale(1.1); }
.color-btn.active { border-color: var(--ink); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.6'%3E%3Cpath d='M5 13l4 4L19 7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 16px; background-position: center; background-repeat: no-repeat; }
.modal__add { margin-bottom: 16px; }
.modal__features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.modal__features span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
  .hero__content { padding: 24px; }
  .hero__inner { max-width: 100%; }
  .hero__logo-mark { max-width: 220px; margin-bottom: 28px; }
  .hero__sub { font-size: 0.8125rem; }
  .hero__desc { font-size: 0.9375rem; }
  .story__fish {
    width: 100%;
    max-height: 200px;
    -webkit-mask-image: linear-gradient(to right, transparent 5%, #000 25%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 5%, #000 25%, #000 90%, transparent 100%);
  }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__image-main { min-height: 200px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__actions { display: flex; }
  .nav__toggle { display: flex; }
  
  .shop { padding: 80px 0 60px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card__body { padding: 12px; }
  .product-card__title { font-size: 0.875rem; }
  .product-card__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .product-filters { gap: 4px; }
  .filter-btn { padding: 6px 16px; font-size: 0.75rem; }
  .contact__form { flex-direction: column; }
  .contact__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .story { padding: 80px 0; }
  .story__inner { flex-direction: column; gap: 32px; min-height: auto; }
  .story__art { min-height: 200px; max-height: 280px; width: 100%; padding: 0; }
  .story__fish { max-height: 200px; }
  .story__brush { display: none; }
  .story__drip { display: none; }
  .story__features { gap: 16px; }
  .modal__info { padding: 24px; }
  .modal__image { aspect-ratio: 4/3; }
}

/* ══════════════════════════════════════════════
   HORIZONTAL SCROLL SECTIONS (Homepage)
   ══════════════════════════════════════════════ */
.cat-section {
  padding: 48px 0 32px;
  background: var(--white);
}
.cat-section:nth-child(even) {
  background: var(--paper);
}
.cat-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cat-section__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-section__icon {
  font-size: 1.375rem;
  color: var(--ink-mid);
  opacity: 0.5;
}
.cat-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cat-section__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  transition: color 0.2s;
}
.cat-section__link i {
  font-size: 1rem;
  transition: transform 0.2s var(--ease-out);
}
.cat-section__link:hover { color: var(--ink); }
.cat-section__link:hover i { transform: translateX(3px); }

.cat-section__scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.cat-section__scroll-wrap::-webkit-scrollbar {
  display: none;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.cat-section__scroll {
  display: flex;
  gap: 16px;
  padding-bottom: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-section__scroll::-webkit-scrollbar { display: none; }
.cat-section__scroll .product-card {
  min-width: 240px;
  width: 240px;
  flex-shrink: 0;
}
.cat-section__scroll .product-card__image {
  aspect-ratio: 1/1;
}

/* Featured horizontal scroll — cards with peek */
#featuredScroll {
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding-right: 20vw;
  min-width: auto;
  width: 100%;
}
#featuredScroll .product-card {
  min-width: 65vw;
  width: 65vw;
  scroll-snap-align: start;
  flex-shrink: 0;
  border-radius: 12px;
}
#featuredScroll .product-card__image {
  aspect-ratio: 1/1;
  border-radius: 12px 12px 0 0;
}
#featuredScroll .product-card:last-child {
  margin-right: 0;
}

/* ══════════════════════════════════════════════
   PAGE VIEW (Collection / Product)
   ══════════════════════════════════════════════ */
.page-view {
  display: none;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  min-height: 60vh;
  width: 100%;
  overflow-x: hidden;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
  font-size: 0.8125rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--charcoal);
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb i {
  font-size: 0.875rem;
  color: var(--border);
}
.breadcrumb span {
  color: var(--text-light);
  font-weight: 400;
}

/* ─── Collection Page ─── */
.cart-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: left;
}
.cart-page__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.cart-page__desc {
  color: var(--charcoal);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.cart-page__loading {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 3rem 0; color: var(--text-light);
}
.cart-page__lines { border-top: 1px solid var(--border); }
.cart-line {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cart-line__img {
  flex-shrink: 0; width: 88px; height: 88px; border-radius: var(--radius);
  overflow: hidden; background: var(--paper-warm); display: flex;
  align-items: center; justify-content: center;
}
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__img-fallback { font-weight: 700; letter-spacing: 2px; color: var(--text-light); font-size: 0.7rem; }
.cart-line__body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-line__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cart-line__title { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 0.95rem; line-height: 1.3; }
.cart-line__title:hover { text-decoration: underline; }
.cart-line__remove {
  background: none; border: none; cursor: pointer; color: var(--text-light);
  font-size: 1.1rem; padding: 2px; flex-shrink: 0; line-height: 1; transition: color 0.15s;
}
.cart-line__remove:hover { color: var(--crimson); }
.cart-line__variant { font-size: 0.8125rem; color: var(--text-light); }
.cart-line__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.cart-line__qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-line__qty-btn {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--ink); font-size: 0.9rem; transition: background 0.15s;
}
.cart-line__qty-btn:hover { background: var(--paper-warm); }
.cart-line__qty-num { min-width: 32px; text-align: center; font-weight: 600; font-size: 0.9rem; border-left: 1px solid var(--border); border-right: 1px solid var(--border); line-height: 32px; color: var(--ink); }
.cart-line__total { font-weight: 700; color: var(--crimson); font-size: 0.95rem; }
.cart-page__summary { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.cart-page__subtotal-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.cart-page__subtotal { font-weight: 700; color: var(--crimson); }
.cart-page__note { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 20px; }

@media (max-width: 480px) {
  .cart-line__img { width: 68px; height: 68px; }
  .cart-line { gap: 12px; }
}

/* ─── Collection Page ─── */
.collection-page__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.collection-page__count {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ─── Product Page ─── */
.product-page__gallery {
}
.product-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 100%;
  min-width: 0;
}
.product-page__info {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}
.product-page__image {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-page__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ─── Account Pages ─── */
.account-page {
  padding: 40px 0;
  max-width: 500px;
  margin: 0 auto;
}
.account-page__header {
  margin-bottom: 32px;
}
.account-page__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.account-page__email {
  font-size: 0.875rem;
  color: var(--text-light);
}
.account-page__section {
  margin-bottom: 32px;
}
.account-page__section h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.account-page__empty {
  color: var(--text-light);
  font-size: 0.9375rem;
}
.account-page__switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 24px;
}
.account-page__switch a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}
.account-page__logout {
  width: 100%;
  margin-top: 16px;
  background: none;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.account-page__logout:hover {
  background: rgba(0,0,0,0.04);
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.account-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.account-form__field label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
.account-form__field input {
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s;
}
.account-form__field input:focus {
  outline: none;
  border-color: var(--ink);
}
.account-form__error {
  color: var(--crimson);
  font-size: 0.8125rem;
  min-height: 1.2em;
}
.account-form__submit {
  width: 100%;
  justify-content: center;
}

.account-order {
  padding: 16px;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 12px;
}
.account-order__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}
.account-order__number {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.account-order__date {
  font-size: 0.8125rem;
  color: var(--text-light);
}
.account-order__status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(0,0,0,0.04);
}
.account-order__status--fulfilled {
  background: rgba(0,100,0,0.06);
  color: #2a7a2a;
}
.account-order__items {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 6px;
  line-height: 1.4;
}
.account-order__total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.nav__link--account {
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  .nav__link--account { display: none; }
  .account-page { padding: 24px 16px; }
  .account-page__title { font-size: 1.375rem; }
  .account-form__field input { font-size: 16px; }
}

.product-page__image-text {
  font-size: 5rem;
  font-weight: 700;
  user-select: none;
}
.product-page__expand {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  opacity: 0;
  pointer-events: none;
}
.product-page__image:hover .product-page__expand {
  opacity: 1;
  pointer-events: auto;
}
.product-page__expand:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.05);
}

/* ═══════════════ FULLSCREEN VIEWER ═══════════════ */
.fs-viewer {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}
.fs-viewer--open {
  opacity: 1;
  pointer-events: auto;
}
.fs-viewer__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background 0.2s;
}
.fs-viewer__close:hover {
  background: rgba(255,255,255,0.3);
}
.fs-viewer__body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
  cursor: default;
}
.fs-viewer__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  border-radius: 4px;
  transition: transform 0.2s ease;
}
.fs-viewer__img:active {
  transform: scale(1.02);
}
.product-page__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.product-page__thumb {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: var(--paper-warm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s;
}
.product-page__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-page__thumb.active {
  border-color: var(--ink);
}
.product-page__thumb:hover {
  border-color: var(--charcoal);
}
.product-page__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-page__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 20px;
}
.product-page__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.product-page__add { margin-bottom: 20px; }
/* ── Stepper ── */
.product-page__cart-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 20px; }
.product-page__add--oos { opacity: 0.4; cursor: not-allowed; }
.product-page__stepper {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; flex-shrink: 0;
}
.stepper-btn {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--ink); font-size: 1.1rem;
  transition: background 0.15s;
}
.stepper-btn:hover { background: var(--paper-warm); }
.stepper-count {
  min-width: 40px; text-align: center; font-weight: 700; font-size: 1rem;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  line-height: 44px; color: var(--ink);
}
.product-page__add { flex: 1; }
/* ── Details accordion ── */
.product-page__details {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.product-page__details-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; background: none; border: none; cursor: pointer;
  font-size: 0.9375rem; font-weight: 600; color: var(--ink); font-family: inherit;
  transition: opacity 0.2s;
}
.product-page__details-toggle:hover { opacity: 0.7; }
.product-page__details-toggle i { transition: transform 0.25s; font-size: 1.2rem; }
.product-page__details-toggle.open i { transform: rotate(180deg); }
.product-page__details-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal);
}
.product-page__details-body.open {
  max-height: 5000px;
  padding-bottom: 20px;
  overflow: visible;
}
/* ── Details body scroll wrapper for wide tables ── */
.product-page__details-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.product-page__details-scroll table {
  width: 100%;
  min-width: 340px;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.8125rem;
}
.product-page__details-body th, .product-page__details-body td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.4; }
.product-page__details-body p { margin: 0 0 8px; }
.product-page__details-body ul { margin: 0 0 8px; padding-left: 20px; }
.product-page__details-body li { margin-bottom: 4px; }
.product-page__details-body strong { color: var(--ink); }
.product-page__features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.product-page__features span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ══════════════════════════════════════════════
   RESPONSIVE — New sections
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .product-page__grid { grid-template-columns: 1fr; gap: 32px; }
  .product-page__image { aspect-ratio: 1; }
  .breadcrumb { padding: 0 20px; }
  .product-grid { padding: 0 20px; }
  .product-page { padding: 0 20px; }
  .collection-page { padding: 0 20px; }
  .cart-page { padding: 2rem 20px; }
}

@media (max-width: 640px) {
  .cat-section { padding: 32px 0 24px; }
  .cat-section__scroll .product-card { min-width: 180px; width: 180px; }
  .cat-section__scroll .product-card__body { padding: 10px; }
  .cat-section__scroll .product-card__title { font-size: 0.8125rem; }
  .page-view { padding-top: calc(var(--nav-height) + 16px); padding-bottom: 48px; padding-left: 8px; padding-right: 8px; }
  .page-view .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .page-view .product-grid--collection { gap: 8px; }
  .collection-page__title { font-size: 1.5rem; }
  .product-page__title { font-size: 1.375rem; }
  .product-page__info .modal__options { margin-bottom: 20px; }
  .product-page__info .option-group { flex-wrap: wrap; }
  .breadcrumb { padding: 0 4px; }
  .product-page { padding: 0 4px; }
  .collection-page { padding: 0 4px; }
  .cart-page { padding: 1.5rem 16px; }
}

/* Desktop featured: standard grid, not scroll */
@media (min-width: 641px) {
  #featuredScroll { min-width: auto !important; width: 100% !important; padding-right: 0 !important; gap: 24px; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; overflow: visible !important; scroll-snap-type: none !important; }
  #featuredScroll .product-card { min-width: auto !important; width: 100% !important; scroll-snap-align: none !important; border-radius: var(--radius) !important; flex-shrink: 1 !important; }
  #featuredScroll .product-card__image { aspect-ratio: 1/1; border-radius: var(--radius) var(--radius) 0 0 !important; }
}
