/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== SKIP TO CONTENT (ACCESSIBILITY) ===== */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent, #F2F8FC);
  color: #121212;
  font-family: 'Lexend Deca', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top .2s;
}
.skip-to-content:focus {
  top: 0;
}

:root {
  --bg:       #121212;
  --bg2:      #1a1a1a;
  --bg3:      #272829;
  --text:     #F2F8FC;
  --text-dim: rgba(242,248,252,0.65);
  --text-faint: rgba(242,248,252,0.45);
  --overlay:  rgba(0,0,0,0.78);
  --border:   rgba(255,255,255,0.08);
  --font:     'Lexend Deca', sans-serif;
  --header-h: 75px;
}

html { scroll-behavior: smooth; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 1.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.45s ease both;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.page-exit {
  animation: pageFadeOut 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
}
@keyframes pageFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ===== SCROLL-REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  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);
}
/* Staggered children (gallery items, latest items) */
.reveal-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-children.visible > *:nth-child(1)  { transition-delay: 0s; }
.reveal-children.visible > *:nth-child(2)  { transition-delay: 0.07s; }
.reveal-children.visible > *:nth-child(3)  { transition-delay: 0.14s; }
.reveal-children.visible > *:nth-child(4)  { transition-delay: 0.21s; }
.reveal-children.visible > *:nth-child(5)  { transition-delay: 0.28s; }
.reveal-children.visible > *:nth-child(6)  { transition-delay: 0.35s; }
.reveal-children.visible > *:nth-child(7)  { transition-delay: 0.42s; }
.reveal-children.visible > *:nth-child(8)  { transition-delay: 0.49s; }
.reveal-children.visible > *:nth-child(n+9) { transition-delay: 0.55s; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.28); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.site-logo { display: flex; align-items: center; gap: 16px; }
.site-logo img { height: 48px; width: auto; opacity: 0.9; }
.site-logo-text {
  font-size: 20px;
  letter-spacing: 5px;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.3;
  font-variant: small-caps;
}

.site-nav { display: flex; align-items: center; gap: 56px; margin-left: auto; }
.site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.25s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] {
  color: var(--text);
}
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: 0.5;
}
/* Account icon in nav */
.nav-account-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.site-nav .nav-account-link { display: flex; align-items: center; }
.site-nav .nav-account-link::after { display: none; }
.mobile-nav .nav-account-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-nav .nav-account-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 28px;
  transition: border-color 0.25s, background 0.25s;
}
.lang-toggle:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}
.lang-toggle-label {
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 400;
  transition: color 0.25s;
}
.lang-toggle:hover .lang-toggle-label { color: var(--text-dim); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(12,12,12,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 24px 50px 36px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}
.mobile-nav.open {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav a {
  display: block;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-faint);
  transition: color 0.25s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav a[aria-current="page"] { color: var(--text-dim); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
/* Smooth gradient fade from hero into content below */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  z-index: 11;
  pointer-events: none;
}

/* Fixní atmosferické pozadí */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/IMG_1497-scaled.webp');
  background-size: cover;
  background-position: center;
}

/* Overlay — tmavý vlevo+dole (čitelnost textu), průhledný ve středu (artwork) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(to right,  rgba(0,0,0,0.84) 0%, rgba(0,0,0,0.38) 28%, transparent 58%),
    linear-gradient(to top,    rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.18) 22%, transparent 48%);
  pointer-events: none;
}

/* Kontejner artworků — fullscreen, vycentrovaný */
.hero-artworks {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Cyklující artwork obrázky — přes celou plochu, vycentrované */
.hero-artwork {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 80px rgba(0,0,0,0.20));
  padding: var(--header-h) 5% 120px;
}
.hero-artwork.active { opacity: 1; }

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 96px;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: -4px;
}

.hero-title {
  font-size: 86px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 10px;
  font-variant: small-caps;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: 380px;
  line-height: 1.9;
}

/* Hero dots — bottom-left, aligned with content */
.hero-dots {
  position: absolute;
  bottom: 42px;
  left: 80px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 10;
}
.hero-dot {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.35s ease;
}
.hero-dot.active {
  background: var(--text);
  width: 44px;
}

/* Hero arrows — bottom-right */
.hero-arrows {
  position: absolute;
  bottom: 28px;
  right: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
}
.hero-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ===== COMMISSIONS BANNER ===== */
.commission-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(90deg, rgba(60,180,70,0.10) 0%, rgba(80,220,90,0.18) 50%, rgba(60,180,70,0.10) 100%);
  border-top: 1px solid rgba(80,220,90,0.20);
  border-bottom: 1px solid rgba(80,220,90,0.20);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s;
  animation: bannerGlow 2.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.commission-banner:hover {
  background: linear-gradient(90deg, rgba(60,180,70,0.16) 0%, rgba(80,220,90,0.28) 50%, rgba(60,180,70,0.16) 100%);
}
@keyframes bannerGlow {
  0%, 100% { border-color: rgba(80,220,90,0.15); box-shadow: inset 0 0 30px rgba(80,220,90,0.03); }
  50%      { border-color: rgba(80,220,90,0.50); box-shadow: inset 0 0 30px rgba(80,220,90,0.08); }
}
.commission-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86e886;
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(134,232,134,0.6), 0 0 20px rgba(134,232,134,0.2);
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(134,232,134,0.6), 0 0 20px rgba(134,232,134,0.2); transform: scale(1); }
  50%       { opacity: 0.6; box-shadow: 0 0 4px rgba(134,232,134,0.3), 0 0 12px rgba(134,232,134,0.1); transform: scale(0.8); }
}
.commission-banner-text {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #86e886;
  font-weight: 400;
  animation: textPulse 2.5s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(134,232,134,0.15);
}
@keyframes textPulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 12px rgba(134,232,134,0.15); }
  50%      { opacity: 0.75; text-shadow: 0 0 20px rgba(134,232,134,0.30); }
}

/* ===== LATEST WORKS SECTION ===== */
.latest-section {
  padding: 90px 60px;
  background: var(--bg);
}

.latest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.latest-label {
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.latest-link {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s;
}
.latest-link:hover { color: var(--text); }
.latest-link svg { width: 15px; height: 15px; transition: transform 0.3s; }
.latest-link:hover svg { transform: translateX(4px); }

.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.latest-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg3);
}
.latest-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 0.78;
}
.latest-item:hover img { transform: scale(1.04); opacity: 1; }

.latest-item-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 18px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.latest-item:hover .latest-item-info { opacity: 1; transform: translateY(0); }
.latest-item-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
}

/* ===== BADGES SECTION ===== */
.badges-section {
  background: var(--bg2);
  padding: 72px 60px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.badge-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.75;
}
.badge-link:hover { opacity: 1; transform: scale(0.97); }
.badge-link img {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Dark Art Movement badge — trochu menší aby vizuálně odpovídal Etsy */
.badge-link:first-child img {
  height: 50px;
}

/* ===== SOCIAL SECTION ===== */
.social-section {
  padding: 80px 60px;
  text-align: center;
  background: var(--bg);
}

.social-label {
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 40px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  color: var(--text-faint);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.35);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.social-icon svg { width: 17px; height: 17px; fill: currentColor; }

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  margin-top: 40px;
  padding: 48px 60px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* Left side: logo + name + email */
.footer-brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand-info {
  display: flex;
  flex-direction: column;
}
.footer-logo { height: 44px; width: auto; opacity: 0.55; }
.footer-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-variant: small-caps;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}
.footer-email {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  font-variant: small-caps;
}

/* Right side: nav */
.footer-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  gap: 28px;
  justify-self: end;
}
.footer-nav a {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.25s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.7); }

/* Bottom center: copyright — smooth gradient transition */
.footer-copy {
  grid-column: 1 / -1;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.28);
  text-align: center;
  margin: 0 -60px;
  padding: 34px 60px 20px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 100%);
}

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 50px) 80px 52px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.02) 0%, transparent 65%);
  pointer-events: none;
}

.page-title {
  font-size: clamp(50px, 8vw, 110px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -2px;
  position: relative;
}

/* ===== GALLERY HERO ===== */
.gallery-hero {
  min-height: 30vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 80px 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.gallery-hero-content { position: relative; }
.gallery-hero-label {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  display: block;
}
.gallery-hero-title {
  font-size: clamp(50px, 8vw, 110px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.gallery-hero-count {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ===== GALLERY BACKGROUND ===== */
.gallery-bg-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.gallery-bg {
  position: fixed;
  inset: 0;
  background-image: url('/images/background.webp');
  background-size: cover;
  background-position: center;
  filter: blur(1.5px);
  z-index: 0;
}
.gallery-bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,12,12,0.82);
  z-index: 1;
}

/* ===== GALLERY PAGE ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  padding: 40px 40px;
  position: relative;
  z-index: 2;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0.82;
}
.gallery-item:hover img { transform: scale(1.04); opacity: 1; }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.70);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-end;
  padding: 20px 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.5;
}

/* Lightbox */
.lightbox {
  display: flex;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-img,
.lightbox-close,
.lightbox-prev,
.lightbox-next,
.lightbox-dots,
.lightbox-caption {
  pointer-events: auto;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  max-height: 82dvh;
  object-fit: contain;
  will-change: transform, opacity;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dim);
  background: none;
  border: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}
.lightbox-close:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
}
.lightbox-counter {
  position: absolute;
  top: 28px;
  left: 32px;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-faint);
  font-family: var(--font);
  pointer-events: none;
}
.lightbox-caption {
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-faint);
  min-height: 1em;
  transition: opacity 0.2s;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
  pointer-events: none;
}
.lightbox-prev, .lightbox-next {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-prev:hover, .lightbox-next:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--text);
  background: rgba(255,255,255,0.1);
}
.lightbox-prev svg, .lightbox-next svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
/* Loading spinner */
.lightbox-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid rgba(255,255,255,0.12);
  border-top-color: rgba(255,255,255,0.55);
  border-radius: 50%;
  animation: lb-spin 0.7s linear infinite;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lightbox-spinner.active { opacity: 1; }
@keyframes lb-spin { to { transform: rotate(360deg); } }

/* Lightbox image dots (sub-images within artwork) */
.lightbox-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 10px;
}
.lightbox-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.lightbox-dot.active {
  background: rgba(255,255,255,0.7);
  transform: scale(1.3);
}
.lightbox-dots:empty,
.lightbox-dots.single { display: none; }

/* ===== CONTACT PAGE ===== */
.contact-bg-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.contact-bg {
  position: fixed;
  inset: 0;
  background-image: url('/images/background.webp');
  background-size: cover;
  background-position: center top;
  filter: blur(1.5px);
  z-index: 0;
}
.contact-bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,12,12,0.78);
  z-index: 1;
}
.contact-section {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--header-h));
  padding: 40px 80px 100px;
  max-width: 1000px;
}
/* Contact page — banner needs header offset + spacing below */
.contact-bg-wrapper .commission-banner {
  margin-top: var(--header-h);
  margin-bottom: 24px;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(134,232,134,0.4); }
  50%       { opacity: 0.5; box-shadow: 0 0 0 5px rgba(134,232,134,0); }
}

.contact-heading {
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 64px;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.contact-email-link {
  font-size: clamp(14px, 2.2vw, 22px);
  letter-spacing: 2px;
  font-weight: 300;
  color: var(--text-dim);
  display: inline-block;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.contact-email-link:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.45);
}

.contact-note {
  font-size: 14px;
  letter-spacing: 0.8px;
  color: var(--text-faint);
  line-height: 2;
  max-width: 520px;
}

.contact-social-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 22px;
}

.contact-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
  margin-bottom: 64px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.8px;
  padding: 14px 16px;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.15);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}
.form-group-checkbox { margin-top: 4px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  line-height: 1.6;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.checkbox-label a { color: rgba(255,255,255,0.6); }
.form-submit {
  align-self: flex-start;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.form-submit:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}
.form-success {
  font-size: 13px;
  letter-spacing: 2px;
  color: #86e886;
  margin-top: 16px;
}
.form-success.hidden { display: none; }
.form-error {
  font-size: 13px;
  letter-spacing: 2px;
  color: #f28b8b;
  margin-bottom: 12px;
}
.form-error.hidden { display: none; }

/* Contact page — brighter text over dark bg */
.contact-section .contact-label { color: rgba(255,255,255,0.45); }
.contact-section .contact-note { color: rgba(255,255,255,0.55); }
.contact-section .contact-email-link { color: var(--text); }
.contact-section .contact-social-label { color: rgba(255,255,255,0.45); }
.contact-section .social-icon {
  color: rgba(255,255,255,0.45);
  border-color: rgba(255,255,255,0.14);
}
.contact-section .social-icon:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.45);
}

/* ===== SHOP PAGE ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 32px 40px 60px;
  position: relative;
  z-index: 2;
}

.shop-item {
  position: relative;
  background: rgba(20,20,20,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.shop-item:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.shop-item-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg3);
}
.shop-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0.82;
}
.shop-item:hover .shop-item-image img {
  transform: scale(1.04);
  opacity: 1;
}

.shop-item-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 10px;
}

.shop-item-info {
  padding: 14px 16px 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.shop-item-title {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
}

.shop-item-price {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--text-dim);
  white-space: nowrap;
}

.shop-item-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.shop-item-buy {
  display: block;
  width: 100%;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, letter-spacing 0.3s;
}
.shop-item-buy:hover {
  background: rgba(255,255,255,0.10);
  letter-spacing: 6px;
}
.shop-item-buy:active {
  background: rgba(255,255,255,0.14);
}
.shop-item-buy.loading {
  pointer-events: none;
  color: rgba(255,255,255,0.3);
}

/* Shop item sold-out state */
.shop-item.sold-out .shop-item-buy {
  pointer-events: none;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.02);
}
.shop-item.sold-out .shop-item-image::after {
  content: 'SOLD';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-size: 28px;
  letter-spacing: 12px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.1);
  padding: 8px 24px;
  pointer-events: none;
}

/* Shop notification banners */
.shop-notification {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 40px;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.6;
  animation: notifSlide 0.4s ease both;
}
@keyframes notifSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.shop-notification p { flex: 1; }
.shop-notification button {
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 4px 8px;
}
.shop-notification button:hover { opacity: 1; }
.shop-notification-success {
  background: rgba(60,180,70,0.12);
  color: #86e886;
  border-bottom: 1px solid rgba(80,220,90,0.2);
}
.shop-notification-cancelled {
  background: rgba(255,180,60,0.10);
  color: rgba(255,200,100,0.85);
  border-bottom: 1px solid rgba(255,180,60,0.2);
}

/* ===== COOKIES PAGE ===== */
.cookies-section {
  padding: calc(var(--header-h) + 80px) 80px 100px;
  max-width: 820px;
}

.cookies-section h1 {
  font-size: clamp(32px, 5vw, 70px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 14px;
}

.cookies-date {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 64px;
}

.cookies-section h2 {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dim);
  margin: 48px 0 14px;
}

.cookies-section p {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.cookies-section a {
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: border-color 0.25s;
}
.cookies-section a:hover { border-color: rgba(255,255,255,0.55); }

.cookies-section code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 3px;
  color: rgba(255,255,255,0.65);
}

/* Cookies table */
.cookies-table-wrap {
  overflow-x: auto;
  margin: 12px 0 20px;
  -webkit-overflow-scrolling: touch;
}
.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  letter-spacing: 0.3px;
  line-height: 1.7;
}
.cookies-table th {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}
.cookies-table td {
  padding: 10px 14px;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
}
.cookies-table tbody tr:last-child td { border-bottom: none; }
.cookies-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* ===== COOKIE CONSENT (inline in footer) ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 18px 60px;
  background: rgba(18,18,18,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease;
}
.cookie-consent.dismissed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent.hidden {
  display: none;
}
.cookie-consent-text {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.cookie-consent-text a {
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.25s, border-color 0.25s;
}
.cookie-consent-text a:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.5);
}
.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 10px 22px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.cookie-btn-accept {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}
.cookie-btn-accept:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
}
.cookie-btn-decline {
  background: transparent;
  color: var(--text-faint);
  border-color: rgba(255,255,255,0.08);
}
.cookie-btn-decline:hover {
  color: var(--text-dim);
  border-color: rgba(255,255,255,0.2);
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE: TABLET (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .latest-section { padding: 80px 40px; }
}

/* ===== RESPONSIVE: SMALL TABLET / LARGE MOBILE (≤ 900px) ===== */
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .site-header { padding: 0 24px; }
  .site-nav { display: none; }
  .lang-toggle { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav language toggle */
  .mobile-nav-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 0 4px;
  }
  .mobile-nav-lang .lang-toggle {
    display: flex;
    margin-left: 0;
    padding: 12px 28px;
  }
  .mobile-nav-lang .lang-toggle-label {
    font-size: 13px;
    letter-spacing: 4px;
  }

  .hero-content { padding: 0 28px 80px; max-width: 100%; }
  .hero-dots   { left: 28px; bottom: 36px; }
  .hero-arrows { right: 20px; bottom: 24px; }
  .hero-artwork {
    object-position: center center;
    padding: var(--header-h) 0 100px;
  }

  /* Mobile lightbox */
  .lightbox-img {
    max-width: 96vw;
    max-height: 75vh;
    max-height: 75dvh;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    font-size: 30px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
  }
  .lightbox-counter {
    top: 20px;
    left: 16px;
  }
  .lightbox-prev, .lightbox-next {
    width: 48px;
    height: 48px;
  }
  .lightbox-nav {
    padding: 0 8px;
  }
  .lightbox-caption {
    margin-top: 14px;
    padding: 0 16px;
    text-align: center;
  }
  .lightbox-dots {
    margin-top: 10px;
  }

  .latest-section { padding: 64px 24px; }

  .badges-section { padding: 60px 24px; gap: 40px; }

  .social-section { padding: 64px 24px; }

  .site-footer {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 40px 24px 0;
    text-align: center;
    gap: 0;
  }
  .footer-brand { grid-column: 1; grid-row: 1; justify-content: center; margin-bottom: 20px; }
  .footer-brand-info { align-items: center; }
  .footer-nav { grid-column: 1; grid-row: 2; justify-self: center; flex-wrap: wrap; gap: 20px; margin-bottom: 0; }
  .footer-copy { grid-column: 1; margin: 0 -24px; padding: 28px 24px 18px; }
  .cookie-consent { flex-direction: column; text-align: center; gap: 14px; padding: 18px 24px; }

  .page-hero { padding: calc(var(--header-h) + 36px) 24px 40px; }
  .gallery-hero { padding: calc(var(--header-h) + 32px) 24px 32px; min-height: 22vh; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; padding: 24px 16px; }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; padding: 24px 16px 48px; }

  .contact-section { padding: 32px 24px 80px; }
  .contact-heading { font-size: clamp(56px, 15vw, 80px); }
  .form-row { grid-template-columns: 1fr; }
  .cookies-section { padding: calc(var(--header-h) + 56px) 24px 80px; }

  .mobile-nav { padding: 18px 24px 28px; }

  .auth-card { padding: 36px 28px; }
  .account-page { padding: 100px 20px 60px; }
  .account-header { flex-direction: column; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr; gap: 8px; }
  .newsletter-form { flex-direction: column; }
}

/* ===== RESPONSIVE: MOBILE (≤ 600px) ===== */
@media (max-width: 600px) {
  .hero-eyebrow { font-size: 7px; letter-spacing: 3px; }
  .hero-eyebrow span { display: block; }
  .hero-eyebrow .hero-eyebrow-sep { display: none; }
  .hero-subtitle { font-size: 11px; letter-spacing: 3px; }
  .hero-title { font-size: 72px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .latest-item { aspect-ratio: 4/5; }
  .badges-section { flex-direction: column; gap: 32px; }

  /* Lightbox mobile adjustments */
  .lightbox-img {
    max-width: 98vw;
    max-height: 70vh;
    max-height: 70dvh;
  }
  .lightbox-prev, .lightbox-next {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev svg, .lightbox-next svg {
    width: 13px;
    height: 13px;
  }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(18,18,18,0.85);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s, color 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}

/* ===== SHOP TOAST NOTIFICATION ===== */
.shop-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(18,18,18,0.92);
  color: var(--text, #F2F8FC);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.3px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  max-width: 90vw;
}
.shop-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.shop-toast-error {
  border-color: rgba(220,60,60,0.4);
}
.shop-toast p { margin: 0; }
.shop-toast button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 0 0 0 8px;
  line-height: 1;
  flex-shrink: 0;
}
.shop-toast button:hover { color: rgba(255,255,255,0.9); }

/* ===== SHOP INFO DETAILS ===== */
.shop-info-details {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.shop-info-details span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== 404 PAGE ===== */
.error-home-link {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text, #F2F8FC);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: border-color 0.3s, background 0.3s;
}
.error-home-link:hover {
  border-color: rgba(255,255,255,0.4);
}

/* ===== AUTH & ACCOUNT PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 40px;
}
.auth-title {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 8px;
}
.auth-subtitle {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin: 0 0 32px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-form .form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: border-color 0.25s, background 0.25s;
}
.auth-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
}
.auth-form input::placeholder {
  color: rgba(255,255,255,0.15);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-direction: row !important;
}
.form-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--text);
  flex-shrink: 0;
}
.form-check label {
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  color: var(--text-dim) !important;
  line-height: 1.5;
}
.form-check label a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, letter-spacing 0.3s;
  border-radius: 4px;
  margin-top: 8px;
}
.auth-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
  letter-spacing: 4px;
}
.auth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.auth-btn-outline {
  background: transparent;
  padding: 10px 24px;
  font-size: 10px;
  margin-top: 0;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 16px;
}
.auth-links a {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.25s;
}
.auth-links a:hover {
  color: var(--text);
}
.auth-alert {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.auth-alert.alert-error {
  background: rgba(220,60,60,0.12);
  border: 1px solid rgba(220,60,60,0.25);
  color: #f28b8b;
}
.auth-alert.alert-success {
  background: rgba(60,180,60,0.12);
  border: 1px solid rgba(60,180,60,0.25);
  color: #86e886;
}

/* Password Strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.password-strength-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.password-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
}
.password-strength-text {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== ACCOUNT DASHBOARD ===== */
.account-page {
  min-height: 100vh;
  padding: 120px 32px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.account-loading {
  display: flex;
  justify-content: center;
  min-height: 50vh;
  align-items: center;
}
.account-loading[hidden] {
  display: none;
}
.account-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.account-title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 8px;
}
.account-greeting {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin: 0;
}
.account-section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}
.account-section-title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 24px;
}
.account-section-toggle {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s;
}
.account-section-toggle:hover {
  color: var(--text);
}
.account-section-toggle::after {
  content: ' +';
  font-weight: 300;
}
.account-section-toggle[aria-expanded="true"]::after {
  content: ' \2212';
}
.account-section-body {
  margin-top: 24px;
}
.account-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-empty {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}
.account-empty a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.order-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.order-product {
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.order-amount {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 1px;
}
.order-date {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 1px;
}
.order-status {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(134,232,134,0.1);
  color: #86e886;
  border: 1px solid rgba(134,232,134,0.2);
}
.account-meta {
  background: transparent;
  border: none;
  padding: 16px 0;
  text-align: center;
}
.account-meta-text {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 4px;
}
.account-meta-date {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin: 0;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  text-align: center;
  padding: 60px 24px;
  border-top: 1px solid var(--border);
}
.newsletter-title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 24px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: border-color 0.25s, background 0.25s;
}
.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
}
.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.15);
}
.newsletter-form button {
  padding: 14px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  border-radius: 4px;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
}
.newsletter-msg {
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 12px;
  min-height: 1.5em;
}

/* ===== PRINT STYLESHEET ===== */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .mobile-nav, .nav-toggle, .lang-toggle,
  .cookie-consent, .back-to-top, .skip-to-content,
  .commission-banner, .lightbox, .shop-item-buy,
  .gallery-bg, .gallery-bg-overlay, .contact-bg, .contact-bg-overlay,
  .hero-nav, .hero-dots { display: none !important; }
  .site-footer { border-top: 1px solid #ccc; padding-top: 16px; }
  .site-footer, .footer-nav, .footer-brand { background: none; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
  a[href^="/"]::after { content: " (xtsumetai.art" attr(href) ")"; }
  a[href^="#"]::after, a.site-logo::after, .footer-nav a::after,
  .social-icon::after { content: none; }
  img { max-width: 100% !important; }
  .gallery-grid, .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-item-image img { break-inside: avoid; }
  .cookies-section { max-width: 100%; padding: 0; }
  .cookies-table { border: 1px solid #ccc; }
  .cookies-table th, .cookies-table td { border: 1px solid #ccc; color: #000; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== FOCUS-VISIBLE ===== */
:focus-visible {
  outline: 2px solid rgba(242,248,252,0.6);
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid rgba(242,248,252,0.6);
  outline-offset: 3px;
}
.auth-form input:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.newsletter-form input:focus-visible {
  outline: 2px solid rgba(242,248,252,0.4);
  outline-offset: 0;
  border-color: rgba(255,255,255,0.35);
}

/* ===== CART ICON IN NAV ===== */
.nav-cart-icon { width: 20px; height: 20px; display: block; }
.nav-cart-link { display: flex; align-items: center; position: relative; }
.site-nav .nav-cart-link::after { display: none; }
.nav-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.85);
  color: #121212;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.nav-cart-badge:empty { display: none; }
.mobile-nav .nav-cart-link { display: flex; align-items: center; gap: 12px; }
.mobile-nav .nav-cart-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 9500;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-sidebar-title {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-dim);
}
.cart-sidebar-close {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.cart-sidebar-close:hover { color: var(--text); }

.cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.85;
}
.cart-item-name {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
}
.cart-item-price {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 4px;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--text); }
.cart-empty {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 2px;
  text-align: center;
  padding: 40px 0;
}

.cart-sidebar-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-sidebar-total {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.cart-total-amount { font-weight: 600; }
.cart-checkout-btn {
  display: block;
  width: 100%;
  padding: 16px;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 500;
  color: #121212;
  background: rgba(242,248,252,0.9);
  border: none;
  cursor: pointer;
  transition: background 0.3s, letter-spacing 0.3s;
  margin-bottom: 12px;
}
.cart-checkout-btn:hover { background: rgba(242,248,252,1); letter-spacing: 7px; }
.cart-checkout-btn:disabled { opacity: 0.3; pointer-events: none; }
.cart-continue-link {
  display: block;
  text-align: center;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s;
}
.cart-continue-link:hover { color: var(--text); }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-page {
  padding: calc(var(--header-h) + 40px) 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.product-back {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.product-back:hover { color: var(--text); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-hero-image {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
}
.product-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}
.product-thumb {
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
  width: 72px;
  height: 96px;
  overflow: hidden;
}
.product-thumb.active,
.product-thumb:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.3);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
  display: inline-block;
}
.product-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}
.product-price {
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 28px;
}
.product-description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-faint);
  margin-bottom: 32px;
  max-width: 480px;
}
.product-add-to-cart {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 18px 28px;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 500;
  color: #121212;
  background: rgba(242,248,252,0.9);
  border: none;
  cursor: pointer;
  transition: background 0.3s, letter-spacing 0.3s;
  margin-bottom: 36px;
}
.product-add-to-cart:hover { background: rgba(242,248,252,1); letter-spacing: 7px; }

.product-details {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-bottom: 28px;
}
.product-details-heading {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 16px;
}
.product-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  font-size: 12px;
  letter-spacing: 1px;
}
.product-specs dt {
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
}
.product-specs dd { color: var(--text-dim); }

.product-shipping-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .product-page { padding: calc(var(--header-h) + 24px) 24px 60px; }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
}
