/* ATELIER — Dark & Light luxury art gallery design system */

/* ── DARK THEME (default) ── */
:root {
  --bg: #0b0a08;
  --bg-2: #131110;
  --bg-3: #1b1815;
  --bg-4: #232019;
  --gold: #c9a66b;
  --gold-light: #dfc08a;
  --gold-pale: rgba(201,166,107,0.08);
  --gold-border: rgba(201,166,107,0.2);
  --ivory: #ede5d8;
  --text: #cdc4b3;
  --muted: #9a8c7e;
  --error: #d47070;
  --header-bg: rgba(11,10,8,0.96);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ── LIGHT THEME ── */
:root[data-theme="light"] {
  --bg: #f2ebe0;
  --bg-2: #ebe2d6;
  --bg-3: #e1d6c5;
  --bg-4: #d4c8b0;
  --gold: #9a6f35;
  --gold-light: #b8893f;
  --gold-pale: rgba(154,111,53,0.09);
  --gold-border: rgba(154,111,53,0.24);
  --ivory: #1c1510;
  --text: #3d3020;
  --muted: #7d6a50;
  --error: #b83333;
  --header-bg: rgba(242,235,224,0.97);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

/* Grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 1;
}
:root[data-theme="light"] body::after { opacity: 0.6; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.1;
}

/* ── LAYOUT ── */
.container { max-width: 1360px; margin: 0 auto; padding: 0 2.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 2.5rem; }
section { padding: 6rem 0; }

/* ── TYPOGRAPHY UTILITIES ── */
.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.italic { font-style: italic; }
.gold-rule { width: 50px; height: 1px; background: var(--gold); display: block; margin: 1.25rem 0; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--header-bg);
  border-color: var(--gold-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ivory);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--gold); }

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after { right: 0; }
.site-nav a.admin-link { color: var(--gold); }

/* Header right area */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-shrink: 0;
}
.header-icon {
  color: var(--text);
  font-size: 1rem;
  transition: color 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.header-icon:hover { color: var(--gold); }

.cart-badge {
  position: absolute;
  top: -7px; right: -9px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  width: 16px; height: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 500;
}

/* Header auth links */
.header-auth {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.header-auth a,
.header-auth button {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 400;
  white-space: nowrap;
}
.header-auth a:hover,
.header-auth button:hover { color: var(--gold); }
.header-auth .btn-outline-header {
  border: 1px solid var(--gold-border);
  padding: 0.42rem 1rem;
  color: var(--text);
  transition: border-color 0.3s, color 0.3s;
}
.header-auth .btn-outline-header:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lang-btn {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-body);
  transition: color 0.3s;
  cursor: pointer;
}
.lang-btn:hover,
.lang-btn.active { color: var(--gold); }
.lang-sep { color: var(--gold-border); font-size: 0.65rem; }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}
.theme-toggle:hover { color: var(--gold); }
.theme-sun { display: none; }
.theme-moon { display: block; }
:root[data-theme="light"] .theme-sun { display: block; }
:root[data-theme="light"] .theme-moon { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 600;
}
.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--ivory); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--ivory); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
  padding: 5rem 1.5rem 3rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu > a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-style: italic;
  color: var(--ivory);
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu.open > a {
  opacity: 1;
  transform: translateY(0);
  transition: color 0.3s, opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open > a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open > a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open > a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open > a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open > a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open > a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open > a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu.open > a:nth-child(8) { transition-delay: 0.4s; }
.mobile-menu > a:hover { color: var(--gold); }
.mobile-menu-bottom {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

/* Mobile menu bottom group: lang + actions */
.mobile-menu-bottom-group {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: 0.4s;
}
.mobile-menu.open .mobile-menu-bottom-group {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-lang {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mobile-lang-btn {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-body);
  transition: color 0.3s;
  font-style: normal;
  opacity: 1 !important;
  transform: none !important;
}
.mobile-lang-btn:hover,
.mobile-lang-btn.active { color: var(--gold); }
.mobile-lang-sep { color: var(--gold-border); font-size: 0.7rem; font-style: normal; }
.mobile-menu-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.mobile-menu-actions a,
.mobile-menu-actions button {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s;
  opacity: 1 !important;
  transform: none !important;
  font-style: normal;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mobile-menu-actions a:hover,
.mobile-menu-actions button:hover { color: var(--gold); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--gold-border);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 2.5rem;
}
:root[data-theme="light"] .footer-grid {
  border-bottom-color: var(--gold-border);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-style: italic;
  color: var(--ivory);
  display: block;
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 260px;
  font-weight: 300;
}
.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 300;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.75rem; color: var(--muted); font-weight: 300; letter-spacing: 0.05em; }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease);
  text-decoration: none;
}
.btn-gold { background: var(--gold); color: #0b0a08; }
.btn-gold:hover { background: var(--gold-light); color: #0b0a08; }
.btn-primary { background: var(--ivory); color: var(--bg); }
.btn-primary:hover { background: var(--gold); color: #0b0a08; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--gold-border);
}
.btn-outline:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold);
}
.btn-full { width: 100%; }

/* ══════════════════════════════
   FORMS
══════════════════════════════ */
.form-group { margin-bottom: 2rem; }
.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.75rem 0;
  transition: border-color 0.3s;
  outline: none;
}
:root { }
.form-control { border-bottom-color: rgba(201,166,107,0.5); }
:root[data-theme="light"] .form-control { border-bottom-color: rgba(0,0,0,0.35); }
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: var(--muted); opacity: 0.6; }
select.form-control { background: var(--bg-3); padding: 0.75rem 0.5rem; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── CUSTOM CHECKBOX & RADIO ── */
.form-check { display: flex; align-items: center; gap: 0.75rem; }
.form-check label { font-size: 0.82rem; color: var(--text); letter-spacing: 0.04em; text-transform: none; margin-bottom: 0; }

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--muted);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s;
  vertical-align: middle;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:hover,
input[type="radio"]:hover { border-color: var(--gold); }
input[type="checkbox"]:checked,
input[type="radio"]:checked { border-color: var(--gold); background: var(--gold); }
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid var(--bg);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg);
}
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.text-danger { color: var(--error); font-size: 0.8rem; margin-top: 0.4rem; display: block; letter-spacing: 0.02em; }
.field-validation-error { color: var(--error); font-size: 0.8rem; display: block; margin-top: 0.3rem; }
.validation-summary-errors ul { list-style: none; }
.validation-summary-errors li { color: var(--error); font-size: 0.84rem; margin-bottom: 0.4rem; }

/* ══════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════ */
.page-hero {
  padding: 8.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 120% at 85% -10%, rgba(201,166,107,0.055) 0%, transparent 55%),
    radial-gradient(ellipse 40% 80% at -5% 60%, rgba(201,166,107,0.03) 0%, transparent 50%);
  pointer-events: none;
}
:root[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(ellipse 70% 120% at 85% -10%, rgba(154,111,53,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 80% at -5% 60%, rgba(154,111,53,0.04) 0%, transparent 50%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}
.page-hero .container {
  position: relative;
}
.page-hero .container::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 90px; height: 90px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
  box-shadow: 0 0 0 12px rgba(201,166,107,0.04) inset;
}
:root[data-theme="light"] .page-hero .container::after {
  opacity: 0.4;
}
.page-hero .label { display: block; margin-bottom: 0.9rem; }
.page-hero h1 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); font-weight: 300; }
.page-hero p { font-size: 1rem; color: var(--muted); margin-top: 1rem; font-weight: 300; }

/* ══════════════════════════════
   SECTION HEADER
══════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gold-border);
}
.section-label { font-size: 0.65rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 0.7rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; color: var(--ivory); }

/* ══════════════════════════════
   HOME — HERO
══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

/* ── Scenery background ── */
.hero-scenery {
  position: absolute;
  inset: 0;
  /* Night sky */
  background:
    linear-gradient(180deg,
      #010409 0%,
      #030b18 18%,
      #061224 38%,
      #0a1630 55%,
      #0d1828 72%,
      #100d1e 88%,
      #1a0e10 100%
    );
  transition: background 0.5s var(--ease);
}
/* Night stars — small layer */
.hero-scenery::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  background: transparent;
  border-radius: 50%;
  box-shadow:
    43px 34px rgba(255,255,255,0.55), 112px 89px rgba(255,255,255,0.4),
    189px 23px rgba(255,255,255,0.65), 267px 145px rgba(255,255,255,0.45),
    334px 67px rgba(255,255,255,0.5), 401px 189px rgba(255,255,255,0.35),
    478px 34px rgba(255,255,255,0.6), 534px 234px rgba(255,255,255,0.4),
    601px 89px rgba(255,255,255,0.55), 667px 167px rgba(255,255,255,0.45),
    734px 45px rgba(255,255,255,0.65), 812px 212px rgba(255,255,255,0.4),
    878px 78px rgba(255,255,255,0.5), 956px 289px rgba(255,255,255,0.35),
    1012px 134px rgba(255,255,255,0.6), 1089px 56px rgba(255,255,255,0.5),
    1156px 201px rgba(255,255,255,0.45), 1234px 89px rgba(255,255,255,0.55),
    1290px 267px rgba(255,255,255,0.4), 1356px 34px rgba(255,255,255,0.65),
    78px 234px rgba(255,255,255,0.35), 156px 312px rgba(255,255,255,0.3),
    223px 189px rgba(255,255,255,0.45), 312px 267px rgba(255,255,255,0.35),
    389px 145px rgba(255,255,255,0.4), 467px 323px rgba(255,255,255,0.3),
    545px 189px rgba(255,255,255,0.45), 634px 412px rgba(255,255,255,0.25),
    712px 267px rgba(255,255,255,0.35), 789px 145px rgba(255,255,255,0.4),
    867px 389px rgba(255,255,255,0.3), 945px 234px rgba(255,255,255,0.45),
    1034px 312px rgba(255,255,255,0.35), 1112px 178px rgba(255,255,255,0.4),
    1190px 423px rgba(255,255,255,0.25), 1267px 289px rgba(255,255,255,0.35),
    1334px 167px rgba(255,255,255,0.5), 23px 445px rgba(255,255,255,0.2),
    134px 478px rgba(255,255,255,0.18), 245px 412px rgba(255,255,255,0.22),
    356px 489px rgba(255,255,255,0.18), 467px 445px rgba(255,255,255,0.2),
    578px 423px rgba(255,255,255,0.18), 689px 467px rgba(255,255,255,0.22),
    800px 412px rgba(255,255,255,0.18), 912px 445px rgba(255,255,255,0.2),
    1023px 423px rgba(255,255,255,0.18), 1134px 456px rgba(255,255,255,0.22),
    1245px 412px rgba(255,255,255,0.18), 1345px 445px rgba(255,255,255,0.2);
  pointer-events: none;
  transition: opacity 0.5s;
}
/* Night stars — bright accents */
.hero-scenery::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 2px;
  background: transparent;
  border-radius: 50%;
  box-shadow:
    89px 45px rgba(255,255,255,0.95),
    234px 112px rgba(255,255,255,0.9) ,
    456px 78px rgba(255,255,255,0.95),
    689px 134px rgba(255,255,255,0.9),
    912px 56px rgba(255,255,255,0.95),
    1145px 89px rgba(255,255,255,0.9),
    1378px 123px rgba(255,255,255,0.95),
    312px 245px rgba(255,255,255,0.85),
    567px 189px rgba(255,255,255,0.9),
    823px 267px rgba(255,255,255,0.85),
    1078px 145px rgba(255,255,255,0.9),
    178px 56px rgba(255,255,255,0.95),
    700px 310px rgba(255,255,255,0.8),
    1400px 67px rgba(255,255,255,0.9);
  pointer-events: none;
  transition: opacity 0.5s;
}
/* Nebula & horizon glow (dark) */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    /* Nebula hints */
    radial-gradient(ellipse 45% 35% at 72% 18%, rgba(80,110,200,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 30% 25% at 25% 30%, rgba(150,80,200,0.04) 0%, transparent 50%),
    /* Horizon warm glow */
    radial-gradient(ellipse 80% 25% at 50% 100%, rgba(180,100,40,0.12) 0%, transparent 60%),
    /* Text readability veil on left */
    linear-gradient(to right, rgba(1,4,9,0.75) 0%, rgba(1,4,9,0.45) 35%, rgba(1,4,9,0.1) 65%, transparent 100%);
  pointer-events: none;
  transition: background 0.5s var(--ease);
}
/* Light theme overrides */
:root[data-theme="light"] .hero-scenery {
  background:
    linear-gradient(180deg,
      #a8c8e8 0%,
      #b8d4ee 15%,
      #c8ddf0 30%,
      #d8e8f0 48%,
      #e0ecec 62%,
      #e8ece0 76%,
      #ede4cc 88%,
      #e8d8b0 100%
    );
}
:root[data-theme="light"] .hero-scenery::before,
:root[data-theme="light"] .hero-scenery::after { opacity: 0; }
:root[data-theme="light"] .hero-atmosphere {
  background:
    /* Soft cloud forms */
    radial-gradient(ellipse 60% 30% at 75% 25%, rgba(255,255,255,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 20% at 30% 15%, rgba(255,255,255,0.35) 0%, transparent 50%),
    /* Warm golden light from right */
    radial-gradient(ellipse 50% 60% at 100% 80%, rgba(210,160,60,0.1) 0%, transparent 55%),
    /* Text readability veil */
    linear-gradient(to right, rgba(180,210,230,0.65) 0%, rgba(180,210,230,0.35) 38%, rgba(180,210,230,0.08) 65%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9.5vw, 10rem);
  font-weight: 300;
  line-height: 0.93;
  color: var(--ivory);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle { font-size: 1rem; color: var(--muted); max-width: 440px; line-height: 1.85; font-weight: 300; margin-bottom: 3.5rem; }
.hero-actions { display: flex; align-items: center; gap: 2rem; }
.hero-divider { width: 1px; height: 30px; background: var(--gold-border); }
.hero-scroll {
  position: absolute;
  bottom: 3rem; left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.hero-scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  animation: scrollPulse 2.5s ease infinite;
  transform-origin: left;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.3); opacity: 0.4; }
}

/* ── Hero reveal animations ── */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-anim-1 { animation-delay: 0.2s; }
.hero-anim-2 { animation-delay: 0.5s; }
.hero-anim-3 { animation-delay: 0.85s; }
.hero-anim-4 { animation-delay: 1.15s; }
.hero-anim-5 { animation-delay: 1.4s; }

/* ── HERO VISUAL (painting panel) ── */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-visual-frame {
  position: relative;
  padding: 14px;
  background: linear-gradient(145deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--gold-border);
  box-shadow:
    0 0 0 1px var(--bg),
    0 40px 100px rgba(0,0,0,0.55),
    inset 0 0 40px rgba(0,0,0,0.15);
  max-width: 100%;
}
.hero-visual-inner-rule {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201,166,107,0.14);
  pointer-events: none;
  z-index: 1;
}
:root[data-theme="light"] .hero-visual-inner-rule {
  border-color: rgba(154,111,53,0.18);
}
.hero-visual-frame img {
  display: block;
  max-height: 62vh;
  max-width: 100%;
  width: auto;
  object-fit: cover;
}
.hero-visual-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.hero-visual-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
  font-weight: 300;
}
.hero-visual-dot {
  width: 3px; height: 3px;
  background: var(--gold-border);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-visual-tech {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.65;
  font-family: var(--font-body);
}

/* ══════════════════════════════
   PAINTING CARDS
══════════════════════════════ */
.paintings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3px;
}
/* ── PAINTING CARD (always-visible info) ── */
.painting-card {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* Image area */
.painting-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 3/4;
  flex-shrink: 0;
}
.painting-card-img-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* ── PAINTING CAROUSEL ── */
.painting-card-carousel {
  position: absolute; inset: 0;
}
.painting-carousel-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.85s ease;
}
.painting-carousel-slide.active { opacity: 1; }
.painting-carousel-dots {
  position: absolute; bottom: 0.55rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.3rem; z-index: 3;
}
.carousel-dot {
  height: 4px; width: 4px; border-radius: 2px;
  background: rgba(237,229,216,0.3);
  transition: background 0.3s, width 0.3s;
}
.carousel-dot.active {
  background: var(--gold); width: 12px;
}
/* Carousel navigation buttons */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; background: rgba(11,10,8,0.58);
  border: 1px solid rgba(201,166,107,0.5);
  color: var(--ivory); width: 28px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  pointer-events: auto; user-select: none;
  padding: 0;
}
.carousel-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.carousel-btn--prev { left: 0.3rem; }
.carousel-btn--next { right: 0.3rem; }
.carousel-btn--sm { width: 22px; height: 26px; font-size: 0.9rem; }

.painting-card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.65s var(--ease);
  display: block;
}
.painting-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.painting-card-sold-badge {
  position: absolute; top: 0.9rem; left: 0;
  background: #b8870e; color: #fff;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.28rem 0.75rem; z-index: 2;
}
/* Hover actions float over image */
.painting-card-hover-actions {
  position: absolute; bottom: 0.75rem; right: 0.75rem;
  display: flex; gap: 0.4rem;
  z-index: 2; pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.painting-card:hover .painting-card-hover-actions {
  opacity: 1; transform: none; pointer-events: auto;
}
.painting-card:hover .painting-card-img { transform: scale(1.04); }
@media (hover: none) {
  .painting-card-hover-actions { opacity: 1; transform: none; pointer-events: auto; }
  .painting-card-img { transform: none !important; }
}
.card-action-form { margin: 0; pointer-events: auto; }
.card-action-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,10,8,0.6);
  border: 1px solid rgba(201,166,107,0.45);
  color: rgba(237,229,216,0.9);
  cursor: pointer; font-size: 0.9rem; line-height: 1;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}
.card-action-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }

/* Always-visible info block */
.painting-card-info {
  display: block; padding: 0.9rem 0.1rem 0;
  text-decoration: none; color: inherit;
  transition: color 0.25s;
}
.painting-card-info:hover .painting-card-name { color: var(--gold); }
.painting-card-tech {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.35rem;
}
.painting-card-name {
  font-family: var(--font-display); font-size: 1.2rem; font-style: italic;
  color: var(--ivory); font-weight: 400; line-height: 1.2;
  margin-bottom: 0.55rem; transition: color 0.25s;
}
.painting-card-prices {
  display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
}
.price-try {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--gold); font-weight: 300;
}
.price-try--sold {
  font-family: var(--font-body); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.price-sold-passive {
  opacity: 0.42; text-decoration: line-through;
  color: var(--muted) !important;
}
.price-fx {
  font-size: 0.72rem; color: var(--muted); font-weight: 300;
  letter-spacing: 0.03em;
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 3rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gold-border);
}
.filter-group { display: flex; flex-direction: column; gap: 0.4rem; }
.filter-label {
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-family: var(--font-body);
}
.filter-select {
  appearance: none; -webkit-appearance: none;
  background: var(--bg-2);
  border: 1px solid rgba(201,166,107,0.35);
  color: var(--text); font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 300;
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  cursor: pointer; outline: none;
  transition: border-color 0.25s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239a8c7e'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  min-width: 140px;
}
.filter-select:focus,
.filter-select:hover { border-color: var(--gold); }
.filter-count {
  margin-left: auto; align-self: flex-end;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 0.55rem;
}
.filter-empty { text-align: center; padding: 4rem 0; color: var(--muted); }
.filter-empty .empty-state-glyph { font-size: 3rem; margin-bottom: 1rem; }

/* ── CURRENCY IN DETAILS / CART ── */
.detail-fx-prices {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0.4rem 0 0.9rem; flex-wrap: wrap;
}
.detail-fx {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--muted); font-weight: 300;
}
.detail-fx-note { font-size: 0.65rem; color: var(--muted); opacity: 0.7; letter-spacing: 0.06em; }
.detail-price--sold {
  font-family: var(--font-body); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.detail-sold-notice {
  flex: 1; padding: 1rem 1.2rem; background: var(--bg-3);
  border-left: 2px solid var(--muted);
  font-size: 0.8rem; color: var(--muted); line-height: 1.6;
}
.cart-fx-row {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  margin-top: 0.4rem; padding-top: 0.5rem;
}
.cart-fx {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--muted); font-weight: 300;
}
.cart-fx-note { font-size: 0.62rem; color: var(--muted); opacity: 0.65; }

/* ══════════════════════════════
   HOME — ABOUT PREVIEW
══════════════════════════════ */
.about-preview-section {
  background: var(--bg-2);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}
.about-preview-inner { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; align-items: center; }
.about-preview-divider { background: var(--gold-border); height: 160px; align-self: center; }
.about-preview-left { padding: 5rem 5rem 5rem 0; }
.about-preview-right { padding: 5rem 0 5rem 5rem; }
.about-preview-quote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; font-weight: 300; color: var(--ivory); line-height: 1.5; margin-bottom: 2rem; }
.about-preview-text { font-size: 0.97rem; color: var(--muted); line-height: 1.9; font-weight: 300; margin-bottom: 2rem; }

/* ══════════════════════════════
   HOME — GALLERY PREVIEW
══════════════════════════════ */
.gallery-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.gallery-preview-item { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; }
.gallery-preview-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease); }
.gallery-preview-item:hover img { transform: scale(1.06); }
.gallery-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,10,8,0.88), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.gallery-preview-title { font-family: var(--font-display); font-size: 1.2rem; color: #ede5d8; font-style: italic; font-weight: 400; }

/* ══════════════════════════════
   ABOUT PAGE
══════════════════════════════ */
.about-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 7rem; align-items: start; }
.about-image-wrap { position: relative; padding-top: 1.5rem; padding-left: 1.5rem; }
.about-image-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 1.5rem; bottom: 1.5rem; border: 1px solid var(--gold-border); }
.about-portrait { position: relative; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-name { font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 300; margin-bottom: 0.4rem; line-height: 1; }
.about-artist-title { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 3rem; }
.about-bio { font-size: 1rem; line-height: 1.95; color: var(--text); font-weight: 300; margin-bottom: 3rem; }
.about-contacts { display: flex; flex-direction: column; gap: 0.9rem; }
.about-contact-row { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9rem; }
.about-contact-row .cl { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); min-width: 70px; font-weight: 400; }
.about-contact-row a { color: var(--text); transition: color 0.3s; }
.about-contact-row a:hover { color: var(--gold); }

/* ══════════════════════════════
   CV TIMELINE
══════════════════════════════ */
.cv-timeline { position: relative; padding-left: 3rem; }
.cv-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--gold), rgba(201,166,107,0.1)); }
.cv-entry { position: relative; padding-bottom: 3.5rem; display: grid; grid-template-columns: 90px 1fr; gap: 3rem; align-items: start; }
.cv-entry::before { content: ''; position: absolute; left: calc(-3rem); top: 0.55rem; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); box-shadow: 0 0 0 3px rgba(201,166,107,0.12); }
.cv-year { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); font-weight: 300; font-style: italic; line-height: 1.3; }
.cv-content-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--ivory); font-weight: 400; margin-bottom: 0.5rem; }
.cv-content-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.75; font-weight: 300; }

/* ══════════════════════════════
   AWARDS
══════════════════════════════ */
.awards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px; }
.award-card { background: var(--bg-2); border: 1px solid var(--gold-border); padding: 2.5rem; transition: border-color 0.35s, background 0.35s; }
.award-card:hover { border-color: var(--gold); background: var(--gold-pale); }
.award-year-badge { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 1.2rem; }
.award-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--ivory); font-weight: 400; margin-bottom: 1rem; line-height: 1.25; }
.award-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.75; font-weight: 300; }

/* ══════════════════════════════
   GALLERY
══════════════════════════════ */
.gallery-block { margin-bottom: 6rem; }
.gallery-block-header { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--gold-border); margin-bottom: 2.5rem; }
.gallery-block-title { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 300; }
.gallery-desc { font-size: 0.92rem; color: var(--muted); font-weight: 300; line-height: 1.8; max-width: 700px; margin-top: 0.75rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 3px; }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.convention-meta { display: flex; gap: 2rem; margin: 0.75rem 0 1.5rem; flex-wrap: wrap; }
.convention-meta-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.84rem; color: var(--text); font-weight: 300; }
.convention-meta-item .mlbl { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 400; }

/* ── GALLERY LIST (compact rows) ── */
.gallery-list { border-top: 1px solid var(--gold-border); }
.gallery-list-item {
  display: grid; grid-template-columns: 220px 1fr 130px;
  border-bottom: 1px solid var(--gold-border);
  transition: background 0.25s;
  min-height: 130px;
}
.gallery-list-item:hover { background: var(--bg-2); }
.gallery-list-carousel {
  position: relative; width: 220px; height: 165px;
  overflow: hidden; flex-shrink: 0;
}
.gallery-list-carousel-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.85s ease;
}
.gallery-list-carousel-slide.active { opacity: 1; }
.gallery-list-no-img {
  width: 220px; min-height: 130px; background: var(--bg-3);
}
.gallery-list-info {
  padding: 1.5rem 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.gallery-list-title {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 300; color: var(--ivory); margin-bottom: 0.4rem;
  font-style: italic;
}
.gallery-list-desc {
  font-size: 0.83rem; color: var(--muted); line-height: 1.7;
  font-weight: 300;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.gallery-list-conv-meta {
  display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 0.5rem;
}
.gallery-list-conv-meta-item {
  font-size: 0.8rem; color: var(--muted); font-weight: 300;
}
.gallery-list-conv-meta-item .mlbl {
  font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-right: 0.3rem;
}
.gallery-list-meta-col {
  padding: 1.5rem 1.5rem 1.5rem 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-end; gap: 0.65rem;
}
.gallery-list-photo-count {
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.gallery-list-link {
  font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  transition: color 0.25s; white-space: nowrap;
  text-decoration: none;
}
.gallery-list-link:hover { color: var(--gold-light); }
@media (max-width: 768px) {
  .gallery-list-item { grid-template-columns: 130px 1fr; grid-template-rows: auto auto; }
  .gallery-list-carousel { width: 130px; height: 97px; }
  .gallery-list-no-img { width: 130px; min-height: 97px; }
  .gallery-list-info { padding: 1rem 1.25rem; }
  .gallery-list-meta-col { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 0.75rem 1.25rem 1.25rem; border-top: 1px solid var(--gold-border); }
  .gallery-list-title { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .gallery-list-item { grid-template-columns: 1fr; }
  .gallery-list-carousel { width: 100%; height: 55vw; }
  .gallery-list-no-img { width: 100%; }
}

/* ══════════════════════════════
   PAINTING DETAIL
══════════════════════════════ */
.detail-layout { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100vh; margin-top: 80px; }
.detail-gallery-panel { position: sticky; top: 80px; height: calc(100vh - 80px); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.detail-main-image-wrap { flex: 1; overflow: hidden; position: relative; cursor: zoom-in; }
#mainImage { width: 100%; height: 100%; object-fit: contain; padding: 3rem; }
.detail-thumbs { display: flex; gap: 4px; padding: 1rem 1.5rem; background: var(--bg); border-top: 1px solid var(--gold-border); overflow-x: auto; }
.detail-thumb { width: 64px; height: 64px; object-fit: contain; background: var(--bg-3); cursor: pointer; border: 2px solid transparent; opacity: 0.55; transition: opacity 0.3s, border-color 0.3s; flex-shrink: 0; }
.detail-thumb:hover { opacity: 0.85; }
.detail-thumb.active { border-color: var(--gold); opacity: 1; }
.detail-info-panel { padding: 5rem 3.5rem 4rem; overflow-y: auto; display: flex; flex-direction: column; }
.detail-back { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 0.75rem; margin-bottom: 3rem; transition: color 0.3s; width: fit-content; }
.detail-back:hover { color: var(--gold); }
.detail-back::before { content: '←'; font-size: 0.8rem; }
.detail-title { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; font-style: italic; margin-bottom: 0.4rem; line-height: 1.1; }
.detail-technique { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 2.5rem; }
.detail-description { font-size: 0.97rem; line-height: 1.92; color: var(--text); font-weight: 300; margin-bottom: 2.5rem; }
.detail-meta { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.8rem 0; border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border); margin-bottom: 2.5rem; }
.detail-meta-row { display: flex; align-items: center; gap: 2rem; }
.detail-meta-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 400; min-width: 85px; }
.detail-meta-value { font-size: 0.92rem; color: var(--text); font-weight: 300; }
.detail-price { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem); color: var(--gold); font-weight: 300; margin-bottom: 2.5rem; }
.detail-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── DETAIL PAGE CAROUSEL ── */
.detail-carousel-wrap {
  position: relative; flex: 1; overflow: hidden;
}
.detail-carousel-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; padding: 2rem;
  opacity: 0; transition: opacity 0.5s ease;
}
.detail-carousel-slide.active { opacity: 1; }
.detail-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; background: rgba(11,10,8,0.6);
  border: 1px solid rgba(201,166,107,0.5);
  color: var(--ivory); width: 36px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.4rem; line-height: 1;
  transition: background 0.2s, color 0.2s;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  padding: 0;
}
.detail-carousel-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.detail-carousel-btn--prev { left: 0.6rem; }
.detail-carousel-btn--next { right: 0.6rem; }
.detail-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.35rem; z-index: 4;
}
.detail-carousel-dot {
  height: 5px; width: 5px; border-radius: 2px;
  background: rgba(237,229,216,0.3);
  transition: background 0.3s, width 0.3s;
}
.detail-carousel-dot.active {
  background: var(--gold); width: 16px;
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 800; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-bg { position: absolute; inset: 0; background: rgba(11,10,8,0.97); cursor: zoom-out; }
.lightbox-img { position: relative; z-index: 1; max-width: 92vw; max-height: 92vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 2rem; right: 2.5rem; z-index: 2; background: none; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; transition: color 0.3s; line-height: 1; }
.lightbox-close:hover { color: var(--ivory); }

/* ══════════════════════════════
   CART
══════════════════════════════ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 4rem; align-items: start; }

/* ── CHECKOUT GATE ── */
.gate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 960px; }
.gate-option {
  padding: 2.5rem; background: var(--bg-2); border: 1px solid var(--gold-border);
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: border-color 0.3s;
}
.gate-option:hover { border-color: var(--gold); }
.gate-option-label { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.gate-option-title { font-family: var(--font-display); font-size: 1.6rem; font-style: italic; color: var(--ivory); font-weight: 400; }
.gate-option-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.65; flex: 1; }
.gate-guest-btn { margin-top: auto; }
@media (max-width: 768px) { .gate-grid { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--gold-border); }
.cart-item-img { width: 110px; height: 130px; object-fit: cover; flex-shrink: 0; }
.cart-item-name { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--ivory); margin-bottom: 0.25rem; }
.cart-item-tech { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cart-item-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-weight: 300; white-space: nowrap; }
.btn-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.3s; font-family: var(--font-body); padding: 0; white-space: nowrap; }
.btn-remove:hover { color: var(--error); }
.cart-summary-panel { background: var(--bg-2); border: 1px solid var(--gold-border); padding: 2.5rem; position: sticky; top: 120px; }
.cart-summary-label { font-size: 0.65rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 2rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.9rem 0; border-bottom: 1px solid var(--gold-border); font-size: 0.9rem; color: var(--text); font-weight: 300; }
.summary-row.total { border: none; padding-top: 1.5rem; margin-top: 0.5rem; border-top: 1px solid var(--gold-border); color: var(--ivory); font-size: 1rem; font-weight: 400; }
.summary-row.total span:last-child { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }

/* ══════════════════════════════
   ORDERS
══════════════════════════════ */
.orders-list { display: flex; flex-direction: column; gap: 2rem; }
.order-card { border: 1px solid var(--gold-border); padding: 2.5rem; background: var(--bg-2); }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gold-border); }
.order-number { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--ivory); margin-bottom: 0.3rem; }
.order-date { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; }
.status-badge { padding: 0.35rem 0.9rem; font-size: 0.62rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid; font-family: var(--font-body); }
.status-beklemede { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.status-onaylandi { border-color: #6baac9; color: #6baac9; background: rgba(107,170,201,0.07); }
.status-kargolandi { border-color: #a96bc9; color: #a96bc9; background: rgba(169,107,201,0.07); }
.status-tamamlandi { border-color: #6bc97a; color: #6bc97a; background: rgba(107,201,122,0.07); }
.status-iptaledildi { border-color: var(--error); color: var(--error); background: rgba(201,107,107,0.07); }
.order-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--gold-border); font-size: 0.92rem; color: var(--muted); font-weight: 300; }
.order-row span:last-child { font-family: var(--font-display); color: var(--text); }
.order-foot { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gold-border); text-align: right; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-weight: 300; }

/* ══════════════════════════════
   EMPTY STATE
══════════════════════════════ */
.empty-state { text-align: center; padding: 7rem 2rem; max-width: 480px; margin: 0 auto; }
.empty-state-glyph { font-family: var(--font-display); font-size: 5rem; color: var(--gold-border); line-height: 1; margin-bottom: 2rem; font-style: italic; }
.empty-state h3 { font-size: 1.8rem; font-weight: 300; margin-bottom: 1rem; }
.empty-state p { color: var(--muted); font-size: 0.92rem; margin-bottom: 2.5rem; line-height: 1.85; font-weight: 300; }

/* ══════════════════════════════
   AUTH PAGES
══════════════════════════════ */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { background: var(--bg-2); border-right: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; padding: 4rem; position: relative; overflow: hidden; }
.auth-visual-deco { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(201,166,107,0.05), transparent 70%); }
:root[data-theme="light"] .auth-visual-deco { background: radial-gradient(ellipse at 50% 50%, rgba(154,111,53,0.06), transparent 70%); }
.auth-visual-text { position: relative; z-index: 1; text-align: center; }
.auth-visual-title { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5rem); font-style: italic; font-weight: 300; color: var(--ivory); line-height: 1; margin-bottom: 1.5rem; }
.auth-visual-sub { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 4rem 3rem; }
.auth-form-inner { width: 100%; max-width: 400px; }
.auth-heading { font-family: var(--font-display); font-size: 2.8rem; font-style: italic; font-weight: 300; color: var(--ivory); margin-bottom: 0.4rem; }
.auth-sub { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 3.5rem; }
.auth-link-row { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 2rem; font-weight: 300; }
.auth-link-row a { color: var(--gold); transition: color 0.3s; }
.auth-link-row a:hover { color: var(--gold-light); }

/* ══════════════════════════════
   ADMIN PANEL
══════════════════════════════ */
.admin-container { max-width: 1360px; margin: 0 auto; padding: 5.5rem 2.5rem 3rem; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gold-border); }
.admin-header h1 { font-size: 2rem; font-weight: 300; }
.admin-table-wrapper { background: var(--bg-2); border: 1px solid var(--gold-border); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table thead { background: var(--bg-3); }
.admin-table th { padding: 1rem 1.5rem; text-align: left; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 400; font-family: var(--font-body); }
.admin-table td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--gold-border); color: var(--text); font-size: 0.9rem; }
.admin-table tbody tr:hover { background: var(--bg-3); }
.admin-table td.actions { display: flex; gap: 0.5rem; align-items: center; }
.btn-edit { padding: 0.38rem 0.9rem; font-size: 0.65rem; letter-spacing: 0.1em; background: var(--gold); color: var(--bg); border: none; cursor: pointer; transition: background 0.3s; text-decoration: none; display: inline-block; font-family: var(--font-body); }
.btn-edit:hover { background: var(--gold-light); }
.btn-delete { padding: 0.38rem 0.9rem; font-size: 0.65rem; letter-spacing: 0.1em; background: transparent; color: var(--error); border: 1px solid var(--error); cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block; font-family: var(--font-body); }
.btn-delete:hover { background: var(--error); color: #fff; }
.admin-form-wrapper { max-width: 800px; background: var(--bg-2); padding: 3rem; border: 1px solid var(--gold-border); }
.lang-divider { margin: 2rem 0 1.25rem; padding: 0.5rem 0.9rem; background: var(--bg-3); border-left: 3px solid var(--gold); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); }
.admin-form label { display: block; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; font-weight: 400; font-family: var(--font-body); }
.admin-form .form-group { margin-bottom: 1.5rem; }
.admin-form .form-control { width: 100%; padding: 0.75rem 1rem; background: var(--bg-3); border: 1px solid rgba(201,166,107,0.45); color: var(--ivory); font-family: var(--font-body); font-size: 0.9rem; transition: border-color 0.3s; outline: none; font-weight: 300; }
:root[data-theme="light"] .admin-form .form-control { border-color: rgba(0,0,0,0.3); }
.admin-form .form-control:focus { border-color: var(--gold); }
.admin-form textarea.form-control { resize: vertical; min-height: 120px; }
.form-actions { display: flex; gap: 1rem; margin-top: 2.5rem; }
.form-text { font-size: 0.77rem; color: var(--muted); margin-top: 0.35rem; display: block; }
.image-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.image-item { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--gold-border); }
.image-item img { width: 100%; height: 100%; object-fit: cover; }
.image-badge { position: absolute; top: 0.4rem; left: 0.4rem; background: var(--gold); color: var(--bg); padding: 0.18rem 0.45rem; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); }
.btn-delete-image { position: absolute; bottom: 0; right: 0; background: rgba(201,107,107,0.9); color: white; border: none; padding: 0.28rem 0.5rem; font-size: 0.68rem; cursor: pointer; transition: background 0.3s; font-family: var(--font-body); }
.btn-delete-image:hover { background: var(--error); }
.admin-stat-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; font-size: 0.72rem; font-weight: 600; border-radius: 3px; border: 1px solid; font-family: var(--font-body); }
.admin-stat-cart { background: rgba(201,166,107,0.1); color: var(--gold); border-color: var(--gold-border); }
.admin-stat-fav { background: rgba(212,112,112,0.1); color: #d47070; border-color: rgba(212,112,112,0.3); }
.admin-role-badge { display: inline-block; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; border: 1px solid; font-family: var(--font-body); }
.admin-role-admin { background: rgba(201,166,107,0.12); color: var(--gold); border-color: var(--gold-border); }
.admin-role-user { background: rgba(150,150,150,0.08); color: var(--muted); border-color: rgba(150,150,150,0.2); }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.dashboard-card { background: var(--bg-2); border: 1px solid var(--gold-border); padding: 2rem; text-align: center; transition: border-color 0.3s; }
.dashboard-card:hover { border-color: var(--gold); }
.dashboard-card h3 { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 400; font-family: var(--font-body); margin-bottom: 1rem; }
.dashboard-card .count { font-family: var(--font-display); font-size: 3.5rem; color: var(--ivory); font-weight: 300; display: block; margin-bottom: 1rem; }
.dashboard-card a { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.3s; }
.dashboard-card a:hover { color: var(--gold-light); }

/* ══════════════════════════════
   SCROLL REVEAL
══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1100px) {
  .detail-layout { grid-template-columns: 1fr; margin-top: 80px; }
  .detail-gallery-panel { position: relative; top: auto; height: 70vw; max-height: 600px; }
  .detail-carousel-slide { padding: 1.25rem; }
  .detail-info-panel { padding: 3.5rem 2.5rem; }
  .about-layout { grid-template-columns: 1fr; gap: 4rem; }
  .about-image-wrap { max-width: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .about-preview-inner { grid-template-columns: 1fr; }
  .about-preview-divider { display: none; }
  .about-preview-left, .about-preview-right { padding: 4rem 0; }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .hero-visual { display: none; }
  .page-hero .container::after { display: none; }
}
@media (max-width: 768px) {
  /* Header */
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .lang-switch { display: none; }
  .site-header { padding: 1rem 1.25rem; }
  .site-header.scrolled { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .site-logo { font-size: 1.25rem; }
  .header-right { gap: 0.85rem; }
  .header-auth { display: flex; gap: 0.65rem; }
  .header-auth a, .header-auth button { font-size: 0.6rem; letter-spacing: 0.1em; }
  .header-auth .btn-outline-header { padding: 0.32rem 0.65rem; }
  /* Painting detail — larger image on mobile */
  .detail-gallery-panel { height: 90vw; max-height: 520px; }
  .detail-carousel-slide { padding: 0.4rem; }
  /* Layout */
  .paintings-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .cv-entry { grid-template-columns: 70px 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .cart-item { grid-template-columns: 90px 1fr; gap: 1.2rem; }
  .cart-item-price { grid-column: 2; }
  .cart-item > form { grid-column: 2; }
  /* Section header stacks on mobile */
  .section-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  /* About preview full width */
  .about-preview-left { padding: 3rem 0; }
  .about-preview-right { padding: 3rem 0; }
  /* Hero */
  .hero { padding: 7rem 0 4rem; }
  .hero-subtitle { font-size: 0.9rem; max-width: 100%; }
  .hero-actions { flex-wrap: wrap; gap: 1rem; }
  .hero-divider { display: none; }
  .hero-scroll { left: 1.25rem; }
  /* Footer */
  .site-footer { padding: 3.5rem 0 2rem; }
  .footer-logo { font-size: 2rem; }
  .footer-grid { padding-bottom: 2.5rem; }
}
@media (max-width: 480px) {
  .paintings-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .page-hero { padding: 7.5rem 0 2rem; }
  .detail-info-panel { padding: 2.5rem 1.5rem; }
  /* Compact auth on very small screens — hide register, keep login */
  .header-auth .btn-outline-header { display: none; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 4rem); }
}

/* =============================================
   CART ENHANCEMENTS
   ============================================= */

.cart-items-col { display: flex; flex-direction: column; }
.cart-item-info { flex: 1; }
.cart-item-tax-note { font-size: 11px; color: var(--text-muted); margin: 4px 0 0; letter-spacing: 0.5px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }

.cart-free-shipping-badge {
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(106, 176, 76, 0.08);
  border: 1px solid rgba(106, 176, 76, 0.25);
  border-radius: 4px;
  padding: 10px 14px;
  color: #6ab04c;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.shipping-icon { font-size: 16px; }

.summary-divider { height: 1px; background: var(--border); margin: 1rem 0; }

.summary-item-row { opacity: 0.75; font-size: 13px; }
.summary-item-name {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 180px; display: inline-block;
}

.summary-shipping-row .summary-free-tag,
.summary-free-tag { color: #6ab04c; font-weight: 600; font-size: 13px; }

.summary-tax-row { font-size: 11px; opacity: 0.5; }
.summary-tax-label { text-transform: uppercase; letter-spacing: 1px; }
.summary-tax-note { font-style: italic; }

.cart-secure-note {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 11px; color: var(--text-muted);
  text-align: center; justify-content: center;
  margin-top: 1rem; opacity: 0.7;
}

.cart-tax-footer {
  font-size: 11px; color: var(--text-muted); opacity: 0.6;
  margin: 0.75rem 0 0; text-align: center;
}

.cart-contact-note {
  margin-top: 1.75rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--gold-border);
  background: var(--gold-pale);
  text-align: center;
}
.cart-contact-note p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 0.6rem;
}
.cart-contact-note a {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.25s;
}
.cart-contact-note a:hover { color: var(--gold-light); }

/* =============================================
   PAINTING DETAIL PRICE BLOCK
   ============================================= */

.detail-price-block { margin: 2rem 0 1.5rem; }
.detail-price-tax {
  font-size: 11px; color: var(--text-muted); opacity: 0.6;
  margin: 0.3rem 0 0.75rem; letter-spacing: 0.5px;
}
.detail-shipping-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(106, 176, 76, 0.08);
  border: 1px solid rgba(106, 176, 76, 0.25);
  border-radius: 4px; padding: 6px 12px;
  color: #6ab04c; font-size: 12px; letter-spacing: 0.5px;
}

/* =============================================
   CHECKOUT FLOW
   ============================================= */

.page-hero--compact { padding: 7.5rem 0 2rem; }

.checkout-steps {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.checkout-step {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.5;
}
.checkout-step.active { color: var(--gold); opacity: 1; }
.checkout-step.completed { color: #6ab04c; opacity: 0.8; }
.checkout-step-sep { color: var(--text-muted); opacity: 0.3; font-size: 14px; }

.checkout-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 4rem;
  align-items: start;
}

.checkout-form-col { padding-bottom: 4rem; }
.checkout-summary-col { position: sticky; top: 120px; }

.form-section-title {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.5rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-textarea-tall { resize: vertical; min-height: 300px; }

.form-error-summary {
  background: rgba(220, 53, 69, 0.08); border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 4px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}

.btn-lg { padding: 1.1rem 2rem; font-size: 14px; letter-spacing: 2px; }

/* =============================================
   PAYMENT FORM
   ============================================= */

.payment-security-notice {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(201, 166, 107, 0.06);
  border: 1px solid rgba(201, 166, 107, 0.15);
  border-radius: 6px; padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.security-notice-icon { font-size: 24px; flex-shrink: 0; }
.security-notice-title {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  margin: 0 0 0.25rem; letter-spacing: 0.5px;
}
.security-notice-desc { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* Card visual */
.card-visual {
  background: linear-gradient(135deg, #1a1714 0%, #2a2318 50%, #1a1714 100%);
  border: 1px solid rgba(201, 166, 107, 0.2);
  border-radius: 12px; padding: 1.75rem 2rem;
  margin-bottom: 2rem; position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.card-visual::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(201,166,107,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.card-visual-brand {
  display: flex; justify-content: flex-end; margin-bottom: 1.5rem;
}
.card-visual-brand span {
  font-size: 10px; letter-spacing: 2px; color: rgba(201,166,107,0.5);
  text-transform: uppercase;
}
.card-visual-number {
  font-size: 20px; letter-spacing: 4px; color: var(--text-primary);
  font-family: 'Courier New', monospace; margin-bottom: 1.5rem;
}
.card-visual-bottom { display: flex; justify-content: space-between; }
.card-visual-label { font-size: 9px; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; }
.card-visual-value { font-size: 13px; color: var(--text-primary); letter-spacing: 1px; }

/* Card inputs */
.card-input { font-size: 18px; letter-spacing: 2px; }

.form-row-payment { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
.expiry-inputs { display: flex; align-items: center; gap: 0.5rem; }
.expiry-inputs .form-control { flex: 1; }
.expiry-sep { color: var(--text-muted); font-size: 18px; flex-shrink: 0; }
.cvc-input-wrap { position: relative; }
.cvc-tip {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--border); color: var(--text-muted);
  font-size: 10px; display: flex; align-items: center; justify-content: center;
  cursor: help;
}

.payment-badges {
  display: flex; gap: 0.75rem; margin: 1.5rem 0 0.5rem;
}
.payment-badge {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 3px;
  padding: 4px 10px; color: var(--text-muted);
}

.payment-terms-note {
  font-size: 11px; color: var(--text-muted); opacity: 0.6;
  text-align: center; margin: 0.75rem 0 0;
}
.payment-back-link { text-align: center; margin-top: 1.5rem; }
.payment-back-link a { color: var(--text-muted); font-size: 13px; }

.payment-error-banner {
  background: rgba(220, 53, 69, 0.1); border: 1px solid rgba(220, 53, 69, 0.25);
  border-radius: 4px; padding: 1rem 1.5rem; margin-bottom: 2rem;
  color: #e05c6a; display: flex; align-items: center; gap: 0.75rem;
}

/* =============================================
   ORDER CONFIRMATION
   ============================================= */

.confirmation-hero {
  text-align: center; padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.confirmation-check-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(106, 176, 76, 0.1);
  border: 2px solid rgba(106, 176, 76, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
}
.confirmation-check { font-size: 36px; color: #6ab04c; }
.confirmation-heading {
  font-size: clamp(2rem, 4vw, 3rem); color: var(--text-primary);
  font-family: var(--font-display); font-weight: 400; margin: 0 0 1rem;
}
.confirmation-sub { color: var(--text-muted); font-size: 16px; margin: 0; }

.container--narrow { max-width: 700px; }

.confirmation-meta-card {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; border: 1px solid var(--border); border-radius: 8px;
  padding: 2rem; margin: 3rem 0;
}
.confirmation-meta-label {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); display: block; margin-bottom: 0.5rem;
}
.confirmation-meta-value { font-size: 15px; color: var(--text-primary); font-weight: 500; }

.confirmation-section { margin-bottom: 2.5rem; border: 1px solid var(--border); border-radius: 8px; padding: 2rem; }
.confirmation-section-title {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.5rem;
}

.confirmation-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 1.25rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.confirmation-item:last-of-type { border-bottom: none; }
.confirmation-item-img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
.confirmation-item-name { font-size: 15px; color: var(--text-primary); margin: 0; }
.confirmation-item-price { color: var(--gold); font-size: 16px; font-weight: 500; }

.confirmation-totals { padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 1rem; }
.confirmation-total-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 14px; }
.confirmation-total-final { color: var(--text-primary); font-size: 18px; font-weight: 600; padding-top: 0.5rem; border-top: 1px solid var(--border); }

.confirmation-shipping-info p { color: var(--text-muted); margin: 0.3rem 0; font-size: 14px; }

.confirmation-email-notice {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(201, 166, 107, 0.05);
  border: 1px solid rgba(201, 166, 107, 0.15);
  border-radius: 6px; padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.confirmation-email-notice span { font-size: 24px; }
.confirmation-email-notice p { margin: 0; color: var(--text-muted); font-size: 14px; }

.confirmation-actions { display: flex; gap: 1rem; justify-content: center; padding-bottom: 6rem; }

/* =============================================
   STATUS BADGES
   ============================================= */

.status-badge {
  display: inline-block; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 3px;
  font-weight: 600;
}
.status-beklemede { background: rgba(255, 193, 7, 0.1); color: #ffc107; border: 1px solid rgba(255,193,7,0.2); }
.status-onaylandi { background: rgba(106, 176, 76, 0.1); color: #6ab04c; border: 1px solid rgba(106,176,76,0.2); }
.status-kargolandi { background: rgba(23, 162, 184, 0.1); color: #17a2b8; border: 1px solid rgba(23,162,184,0.2); }
.status-tamamlandi { background: rgba(201, 166, 107, 0.1); color: var(--gold); border: 1px solid rgba(201,166,107,0.2); }
.status-iptal { background: rgba(220, 53, 69, 0.1); color: #dc3545; border: 1px solid rgba(220,53,69,0.2); }

/* =============================================
   ADMIN ORDERS & AGREEMENTS
   ============================================= */

.admin-badge {
  background: rgba(201, 166, 107, 0.1); border: 1px solid rgba(201, 166, 107, 0.2);
  color: var(--gold); padding: 4px 12px; border-radius: 20px; font-size: 12px;
  letter-spacing: 1px;
}
.admin-filters { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: center; flex-wrap: wrap; }
.admin-search-input {
  flex: 1; min-width: 200px; background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-primary); padding: 0.65rem 1rem; border-radius: 4px; font-size: 14px;
}
.admin-search-input::placeholder { color: var(--text-muted); }
.admin-select {
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-primary); padding: 0.65rem 1rem; border-radius: 4px; font-size: 14px;
}
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; padding: 0.75rem 1rem; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 14px; color: var(--text-primary); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.table-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.table-actions { display: flex; gap: 0.5rem; }
.order-num-cell { font-family: monospace; font-size: 13px; color: var(--gold); }
.order-total-cell { font-weight: 600; color: var(--text-primary); }

.btn-sm { padding: 0.45rem 1rem; font-size: 11px; letter-spacing: 1.5px; }
.btn-danger { color: #dc3545; border-color: rgba(220,53,69,0.3); }
.btn-danger:hover { background: rgba(220,53,69,0.1); }

.admin-info-note {
  background: rgba(201,166,107,0.05); border: 1px solid rgba(201,166,107,0.1);
  border-radius: 4px; padding: 1rem 1.25rem; font-size: 13px; color: var(--text-muted);
  margin-bottom: 2rem;
}

.agreement-type-badge {
  display: inline-block; font-size: 11px; padding: 3px 8px;
  background: rgba(201,166,107,0.08); border: 1px solid rgba(201,166,107,0.15);
  border-radius: 3px; color: var(--gold); letter-spacing: 0.5px;
}

/* Order detail grid */
.order-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.admin-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.75rem;
}
.admin-card-title {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.5rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.admin-back { font-size: 12px; color: var(--text-muted); text-decoration: none; display: block; margin-bottom: 0.5rem; }
.admin-back:hover { color: var(--gold); }

.info-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.info-label { font-size: 12px; color: var(--text-muted); }
.info-value { font-size: 13px; color: var(--text-primary); font-weight: 500; }

.order-detail-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 1rem; align-items: center; padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.order-detail-item:last-of-type { border-bottom: none; }
.order-detail-item-img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
.order-detail-item-name { font-size: 14px; color: var(--text-primary); margin: 0 0 2px; }
.order-detail-item-tech { font-size: 12px; color: var(--text-muted); margin: 0; }
.order-detail-item-price { color: var(--gold); font-size: 15px; font-weight: 500; }

.order-detail-totals { padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }
.order-detail-total-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 14px; }
.order-detail-total-final { font-size: 17px; color: var(--text-primary); font-weight: 600; padding-top: 0.5rem; border-top: 1px solid var(--border); }

.shipping-detail-name { color: var(--text-primary); font-size: 15px; margin: 0 0 0.5rem; font-weight: 500; }
.shipping-detail-addr { color: var(--text-muted); font-size: 14px; margin: 0 0 0.25rem; }
.shipping-detail-phone { color: var(--text-muted); font-size: 14px; margin: 0.5rem 0 0; }

.status-update-group { display: flex; gap: 1rem; align-items: center; }
.status-update-group .admin-select { flex: 1; }

/* Admin form improvements */
.admin-form-wrap { max-width: 900px; }
.admin-form-actions { display: flex; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

.form-lang-tabs { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 1.5rem; }
.form-lang-tab-btns { display: flex; border-bottom: 1px solid var(--border); }
.lang-tab-btn {
  flex: 1; padding: 1rem; background: transparent; border: none;
  color: var(--text-muted); font-size: 13px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.lang-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.lang-tab-panel { padding: 1.5rem; display: none; }
.lang-tab-panel.active { display: block; }

.toggle-switch { display: flex; align-items: center; cursor: pointer; }
.toggle-switch input { display: none; }
.toggle-slider {
  width: 44px; height: 24px; background: var(--border); border-radius: 12px;
  position: relative; transition: background 0.2s;
}
.toggle-slider::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; background: white; border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--gold); }
.toggle-switch input:checked + .toggle-slider::after { transform: translateX(20px); }

/* =============================================
   REGISTER FORM ENHANCEMENTS
   ============================================= */

.lang-radio-group { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.lang-radio-option {
  display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer; padding: 0.6rem 1rem;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 14px; transition: border-color 0.2s;
}
.lang-radio-option input[type="radio"] { accent-color: var(--gold); }
.lang-radio-option:hover { border-color: var(--gold); }

.register-agreements { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; }

.checkbox-agreement {
  display: flex; align-items: flex-start; gap: 0.75rem;
  cursor: pointer; position: relative;
}
.checkbox-agreement input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 18px; height: 18px; border: 1px solid var(--border);
  border-radius: 3px; flex-shrink: 0; margin-top: 2px;
  transition: background 0.15s, border-color 0.15s; position: relative;
}
.checkbox-agreement input:checked + .checkbox-custom {
  background: var(--gold); border-color: var(--gold);
}
.checkbox-agreement input:checked + .checkbox-custom::after {
  content: '✓'; position: absolute; top: -2px; left: 2px;
  color: #0b0a08; font-size: 12px; font-weight: 700;
}
.checkbox-label { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.agreement-link { color: var(--gold); text-decoration: underline; }

/* Agreement modal */
.agreement-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.agreement-modal {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 8px; max-width: 680px; width: 100%;
  max-height: 80vh; display: flex; flex-direction: column;
}
.agreement-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem; border-bottom: 1px solid var(--border);
}
.agreement-modal-header h3 { margin: 0; font-size: 18px; color: var(--text-primary); }
.agreement-modal-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 18px; cursor: pointer; padding: 0.25rem 0.5rem;
}
.agreement-modal-close:hover { color: var(--text-primary); }
.agreement-modal-body { overflow-y: auto; padding: 2rem; flex: 1; }
.agreement-text { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.agreement-loading { color: var(--text-muted); text-align: center; padding: 2rem; }

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 1.25rem 2rem; box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  animation: slideUpBanner 0.4s ease;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  display: flex; align-items: center; gap: 2rem;
  max-width: 900px; width: 100%;
}
.cookie-banner-text { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.cookie-policy-link { color: var(--gold); }
.cookie-banner-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* =============================================
   DASHBOARD CARD IMPROVEMENTS
   ============================================= */

.dashboard-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.dashboard-card--orders {
  border-color: rgba(201, 166, 107, 0.3);
  background: rgba(201, 166, 107, 0.03);
}

/* Responsive */
@media (max-width: 1024px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { position: static; order: -1; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .confirmation-meta-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .form-row-payment { grid-template-columns: 1fr; }
  .checkout-steps { flex-wrap: wrap; }
  .confirmation-meta-card { grid-template-columns: 1fr; gap: 1rem; }
  .confirmation-item { grid-template-columns: 60px 1fr; }
  .confirmation-item-price { grid-column: 2; }
  .cookie-banner-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* =============================================
   SOLD PAINTING — PASSIVE STATE
   ============================================= */

.painting-card--sold {
  opacity: 0.9;
  cursor: default;
}
.painting-card--sold .painting-card-img-wrap {
  filter: sepia(0.9) saturate(0.4) brightness(0.65);
  cursor: default;
}
.painting-card--sold .painting-card-info--sold { cursor: default; }
.painting-card--sold .painting-card-sold-badge {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  padding: 0.5rem 1rem;
}

/* =============================================
   IN-CART BUTTON STATE
   ============================================= */

.btn--incart {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.card-action-btn.btn--incart {
  background: transparent;
  border-color: var(--gold-border);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

/* =============================================
   CART DRAWER
   ============================================= */

.cart-drawer-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 1101;
  width: min(400px, 96vw);
  height: 100dvh;
  background: var(--bg-2);
  border-left: 1px solid var(--gold-border);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -6px 0 32px rgba(0,0,0,0.28);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--gold-border);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory);
}
.cart-drawer-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 300;
  margin-left: 0.35rem;
}
.cart-drawer-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1rem;
  padding: 0.3rem 0.5rem;
  transition: color 0.2s;
  line-height: 1;
}
.cart-drawer-close:hover { color: var(--gold); }

/* Scrollable items list */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cart-drawer-empty {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem 0;
}

/* Mini cart item */
.cart-mini-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gold-border);
}
.cart-mini-item:last-child { border-bottom: none; }
.cart-mini-img {
  width: 72px; height: 90px;
  object-fit: cover;
  border: 1px solid var(--gold-border);
  display: block;
}
.cart-mini-img-placeholder {
  width: 72px; height: 90px;
  background: var(--bg-3);
  border: 1px solid var(--gold-border);
}
.cart-mini-info { display: flex; flex-direction: column; gap: 0.3rem; }
.cart-mini-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.cart-mini-price {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 400;
}

/* Footer with total + actions */
.cart-drawer-footer {
  border-top: 1px solid var(--gold-border);
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cart-drawer-footer.has-items {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.5rem;
}
.cart-drawer-total-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.cart-drawer-total-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ivory);
  font-weight: 500;
}

/* Always-visible keep-shopping strip */
.cart-drawer-actions {
  padding: 0 1.5rem 1.25rem;
  flex-shrink: 0;
}

/* =============================================
   ORDER LIST (customer)
   ============================================= */

.order-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.order-card--link:hover { border-color: var(--gold); transform: translateY(-2px); }

.order-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.order-thumb {
  width: 60px; height: 75px;
  object-fit: cover;
  border: 1px solid var(--gold-border);
  border-radius: 2px;
}
.order-thumb--placeholder {
  background: var(--bg-3);
}
.order-total {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* =============================================
   ORDER DETAIL (customer)
   ============================================= */

.order-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: flex-start;
}

.od-card {
  background: var(--bg-2);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.od-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.od-card-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.od-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: -0.5rem 0 1rem;
  line-height: 1.6;
}
.od-card--tracking { border-color: rgba(201,166,107,0.4); }
.od-card--notice { border-color: rgba(201,166,107,0.35); background: rgba(201,166,107,0.05); }
.od-card--notice .od-notice-text { font-size: 0.88rem; color: var(--gold); margin: 0; }
.od-card--update { }

.od-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gold-border);
}
.od-item:last-of-type { border-bottom: none; }
.od-item-img {
  width: 72px; height: 90px;
  object-fit: cover;
  border: 1px solid var(--gold-border);
  display: block;
}
.od-item-img--placeholder { background: var(--bg-3); }
.od-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}
.od-item-tech { font-size: 0.8rem; color: var(--muted); margin: 0; }
.od-item-price { font-size: 0.95rem; color: var(--gold); white-space: nowrap; }
.od-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.5rem 0;
  border-top: 1px solid var(--gold-border);
  margin-top: 0.5rem;
}
.od-total-row--final {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ivory);
  border-top: 2px solid var(--gold-border);
}
.od-free { color: #6ab04c; }

.od-tracking-code-wrap { margin-bottom: 0.75rem; }
.od-tracking-code {
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.od-tracking-code:hover { text-decoration: underline; }
.od-tracking-firm { font-size: 0.9rem; color: var(--text); margin: 0 0 0.35rem; }
.od-tracking-eta { font-size: 0.88rem; color: var(--muted); margin: 0; }

.od-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(201,166,107,0.08);
}
.od-info-row:last-child { border-bottom: none; }
.od-info-label { color: var(--muted); }
.od-tx-id { font-size: 0.75rem; word-break: break-all; color: var(--text); }

.od-order-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.od-order-date { font-size: 0.85rem; color: var(--muted); margin: 0; }
.od-addr-name { font-size: 0.95rem; color: var(--ivory); margin-bottom: 0.3rem; }
.od-addr-line, .od-addr-phone { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.2rem; }

.od-update-form .form-group { margin-bottom: 0.85rem; }
.od-update-form label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); display: block; margin-bottom: 0.3rem; }
.od-update-form .form-control {
  background: var(--bg-3);
  border: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 0.6rem 0.75rem;
  border-radius: 2px;
  color: var(--ivory);
  font-size: 0.9rem;
}
.od-update-form .form-control:focus { border-color: var(--gold); outline: none; }
#shipUpdateBtn:disabled { opacity: 0.35; cursor: not-allowed; }

.notice-banner {
  background: rgba(106,176,76,0.1);
  border: 1px solid rgba(106,176,76,0.3);
  color: #6ab04c;
  padding: 0.75rem 1.25rem;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* =============================================
   ADMIN ORDER MODAL
   ============================================= */

.admin-modal-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.admin-modal-overlay.open { display: flex; }
.admin-modal {
  background: var(--bg-2);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
}
.admin-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.admin-modal-head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ivory);
  margin: 0;
  font-weight: 400;
}
.admin-modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1rem;
  transition: color 0.2s;
}
.admin-modal-close:hover { color: var(--gold); }
.admin-status-final { font-size: 0.82rem; color: var(--muted); margin: 0.75rem 0 0; text-align: center; }
.admin-notice {
  background: rgba(106,176,76,0.1);
  border: 1px solid rgba(106,176,76,0.3);
  color: #6ab04c;
  padding: 0.75rem 1.25rem;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.shipment-req-block {
  border: 1px solid var(--gold-border);
  border-radius: 3px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .order-detail-layout { grid-template-columns: 1fr; }
  .od-item { grid-template-columns: 60px 1fr auto; }
}

/* ── ONEDRIVE PHOTO GALLERY ── */

.od-back-link { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; transition: color 0.2s; }
.od-back-link:hover { color: var(--gold); }
.od-hero-count { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; }

/* Folder index grid */
.od-folders { padding: 3rem 0 6rem; }
.od-folders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .od-folders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .od-folders-grid { grid-template-columns: 1fr; } }

.od-folder-card {
  position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer;
  background: var(--bg-3); display: block; text-decoration: none;
  border: 1px solid var(--gold-border); transition: border-color 0.3s;
}
.od-folder-card:hover { border-color: var(--gold); }
.od-folder-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.3s;
  filter: brightness(0.82);
}
.od-folder-card:hover img { transform: scale(1.05); filter: brightness(0.65); }
.od-folder-card-empty {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.od-folder-placeholder-icon { font-size: 3rem; opacity: 0.18; }
.od-folder-card-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
}
.od-folder-name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; display: block; line-height: 1.2; }
.od-folder-count { font-size: 0.72rem; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; display: block; }

/* Photo grid */
.od-grid-section { padding: 0 0 6rem; }
.od-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
@media (max-width: 1024px) { .od-photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .od-photo-grid { grid-template-columns: repeat(2, 1fr); } }

.od-photo-item {
  position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer;
  background: var(--bg-3);
}
.od-photo-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s var(--ease), filter 0.3s;
}
.od-photo-item:hover img { transform: scale(1.06); filter: brightness(0.7); }
.od-photo-item.od-hidden { display: none; }

.od-thumb-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; opacity: 0.15;
}

.od-video-badge {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; pointer-events: none;
}
.od-video-badge svg {
  width: 3rem; height: 3rem; fill: rgba(255,255,255,0.82);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55));
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.od-photo-item:hover .od-video-badge svg { transform: scale(1.2); opacity: 1; }

/* Load More */
.od-load-more-wrap { text-align: center; padding: 2.5rem 0 4rem; }

/* Lightbox */
.od-lightbox {
  position: fixed; inset: 0; background: rgba(5,4,3,0.97);
  z-index: 10001; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.od-lightbox.od-active { opacity: 1; visibility: visible; }

.od-lightbox-stage {
  display: flex; align-items: center; justify-content: center;
  max-width: 90vw; max-height: 88vh;
}
.od-lightbox-stage img,
.od-lightbox-stage video {
  max-width: 90vw; max-height: 86vh; object-fit: contain;
  display: block; animation: od-fade-in 0.2s var(--ease);
}
@keyframes od-fade-in { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

.od-lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem; color: rgba(255,255,255,0.65);
  font-size: 1.25rem; cursor: pointer; background: none; border: none;
  padding: 0.5rem; line-height: 1; transition: color 0.2s, transform 0.2s;
}
.od-lightbox-close:hover { color: #fff; transform: scale(1.15); }

.od-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.55);
  font-size: 3rem; cursor: pointer; padding: 0.5rem 1rem;
  line-height: 1; transition: color 0.2s, opacity 0.2s;
  font-weight: 200;
}
.od-lightbox-nav:hover { color: #fff; }
.od-lightbox-nav:disabled { opacity: 0.12; cursor: default; }
.od-lightbox-prev { left: 0.5rem; }
.od-lightbox-next { right: 0.5rem; }

.od-lightbox-counter {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 0.78rem; letter-spacing: 0.12em;
  font-family: var(--font-body); font-weight: 300;
  white-space: nowrap;
}

.od-lightbox-spinner {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center; pointer-events: none;
}
.od-lightbox-spinner::after {
  content: ''; width: 2rem; height: 2rem;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-top-color: rgba(201,166,107,0.7);
  border-radius: 50%; animation: od-spin 0.7s linear infinite;
}
@keyframes od-spin { to { transform: rotate(360deg); } }

/* ── HOME SHOWCASE CAROUSELS ── */

.home-showcase { padding: 5rem 0 6rem; }

.sc-tabs {
  display: flex; gap: 0; margin-bottom: 0;
  border-bottom: 1px solid var(--gold-border);
}
.sc-tab {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--muted); font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  padding: 0.75rem 1.5rem; margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.sc-tab:hover { color: var(--text); }
.sc-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.sc-panel { display: none; }
.sc-panel.active { display: block; }

/* Carousel */
.sc-carousel {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--bg-3);
}
@media (max-width: 700px) { .sc-carousel { aspect-ratio: 4 / 3; } }

.sc-track {
  display: flex; height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.sc-slide {
  flex: 0 0 100%; height: 100%;
  position: relative; display: block; text-decoration: none;
  overflow: hidden;
}
.sc-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.sc-slide:hover img { transform: scale(1.03); }

.sc-slide-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.sc-slide-label {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.sc-slide-title {
  font-family: var(--font-display); font-size: 1.6rem;
  color: #fff; line-height: 1.2;
}
@media (max-width: 600px) { .sc-slide-title { font-size: 1.2rem; } }

/* Arrows */
.sc-prev, .sc-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); font-size: 1.6rem; font-weight: 200;
  width: 3rem; height: 3rem; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  line-height: 1; padding: 0;
}
.sc-prev:hover, .sc-next:hover { background: rgba(0,0,0,0.6); color: #fff; }
.sc-prev { left: 1rem; }
.sc-next { right: 1rem; }

/* Dots */
.sc-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.4rem; align-items: center;
}
.sc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  padding: 0; transition: background 0.2s, transform 0.2s;
}
.sc-dot.active { background: var(--gold); transform: scale(1.3); }
