/* =================================================================
   PYSANKA SITE — STYLES IN KLAMRA AESTHETIC
   White / Black / Orange (#E97000) — no brown tones anywhere
   ================================================================= */

/* ---------- THEME TOKENS ---------- */
:root,
[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-card: #ffffff;
  --text: #181818;
  --text-muted: #6a6a6a;
  --text-dim: #9e9e9e;
  --line: #ececec;
  --line-strong: #d4d4d4;
  --accent: #E97000;
  --accent-hover: #c45e00;
  --accent-soft: #fff0e0;
  --dark-section: #181818;
  --dark-section-text: #ffffff;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 14px 36px -10px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.25);
  --pysanka-stage: #f7f7f7;
  --color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --bg-card: #161616;
  --text: #f4f4f4;
  --text-muted: #a4a4a4;
  --text-dim: #6e6e6e;
  --line: #262626;
  --line-strong: #383838;
  --accent: #ff8a2c;
  --accent-hover: #ffa057;
  --accent-soft: #2a1808;
  --dark-section: #000000;
  --dark-section-text: #ffffff;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 14px 36px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --pysanka-stage: #141414;
  --color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  color-scheme: var(--color-scheme);
}

body {
  font-family: 'Arsenal', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ---------- (no topbar — klamra style: one tall dark header) ---------- */

/* ---------- HEADER (klamra-style: always-dark, taller) ---------- */
header {
  background: #181818;
  position: relative;
  z-index: 50;
  transition: background-color 0.25s ease;
}
[data-theme="dark"] header { background: #000000; }

/* Pages that benefit from sticky header (with their own scroll context) */
.has-sticky-header header {
  position: sticky;
  top: 0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 22px 40px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 84px;
}
.logo {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--accent); }
.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 100%; height: 100%; }

nav.main-nav { display: flex; gap: 32px; justify-self: center; }
.nav-item { position: relative; }
.nav-item > a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
  padding: 10px 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item > a:hover { color: var(--accent); }
.nav-item.active > a { color: var(--accent); }
.nav-item.active > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
}
.nav-item .chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
  margin-top: -3px;
}
.nav-item:hover .chev { transform: rotate(225deg); margin-top: 3px; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #181818;
  border: 1px solid #2a2a2a;
  min-width: 260px;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 60;
  box-shadow: 0 14px 36px -10px rgba(0,0,0,0.6);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  transition: all .15s;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: var(--accent);
  background: #232323;
  padding-left: 30px;
}

.header-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.header-actions a, .header-actions button {
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .2s;
  background: none;
  border: none;
  color: #ffffff;
}
.header-actions a:hover, .header-actions button:hover { color: var(--accent); }
.header-actions svg { width: 18px; height: 18px; }
.cart-count {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  line-height: 19px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  margin-left: 5px;
  letter-spacing: 0;
}

.header-phone {
  position: relative;
  cursor: pointer;
}
.header-phone .label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  transition: color .2s;
}
.header-phone:hover .label { color: var(--accent); }
.header-phone .label .chev {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
  margin-top: -3px;
  margin-left: 2px;
}
.header-phone:hover .label .chev { transform: rotate(225deg); margin-top: 3px; }
.header-phone-list {
  position: absolute;
  top: 100%;
  right: 0;
  transform: translateY(8px);
  background: #181818;
  border: 1px solid #2a2a2a;
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 60;
  box-shadow: 0 14px 36px -10px rgba(0,0,0,0.6);
}
.header-phone:hover .header-phone-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.header-phone-list a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: all .15s;
  white-space: nowrap;
}
.header-phone-list a:hover { background: #232323; color: var(--accent); }
.header-phone-list .order-call {
  border-top: 1px solid #2a2a2a;
  margin-top: 6px;
  padding-top: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  color: #ffffff;
  transition: all 0.25s ease;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(15deg);
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }

.burger {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  color: #ffffff;
}
.burger svg { width: 16px; height: 16px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 36px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn svg { width: 13px; height: 13px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: gap 0.2s;
}
.btn-link:hover { gap: 14px; }

/* ---------- SECTION HEAD ---------- */
section.block { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .pre {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.section-head h2 i { font-style: italic; color: var(--accent); font-weight: 400; }
.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 50px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.section-head-row h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; }
.section-head-row h2 i { font-style: italic; color: var(--accent); font-weight: 400; }
.section-head-row .meta {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- HERO (dark, klamra-style) ---------- */
.hero {
  background: #1a1a1a;
  color: #ffffff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 25% 50%, rgba(233,112,0,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 90% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 700;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: #ffffff;
  text-transform: uppercase;
}
.hero h1 i { font-style: italic; color: var(--accent); font-weight: 400; text-transform: none; }
.hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 38px;
}
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: #fff; background: transparent; }
.hero .btn-ghost:hover { background: #fff; color: #181818; }

.hero-stage {
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stage::before {
  content: '';
  position: absolute;
  inset: 12% 12%;
  background: radial-gradient(circle at 50% 50%, rgba(233,112,0,0.18) 0%, rgba(233,112,0,0.05) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-pysanka {
  width: 70%;
  z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(233, 112, 0, 0.4));
  animation: float 7s ease-in-out infinite;
  display: block;
}
img.hero-pysanka {
  width: 78%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter:
    drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 80px rgba(255, 220, 180, 0.18));
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
.hero-badge {
  position: absolute;
  top: 8%;
  right: 5%;
  background: var(--accent);
  color: #fff;
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 3;
}
.hero-badge strong { display: block; font-size: 20px; color: #fff; margin-top: 4px; }

.hero-page {
  padding: 70px 0 60px;
  background: var(--bg-soft);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-page .pre {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-page h1 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero-page h1 i { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-page p {
  max-width: 740px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--dark-section);
  color: var(--dark-section-text);
  padding: 14px 0;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}
.marquee-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}
.marquee-track span { flex-shrink: 0; }
.marquee-track .dot { color: var(--accent); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- PRODUCT GRID ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
}
.products.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.products.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 40px 36px; }

.product-card {
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card) 100%) padding-box,
    linear-gradient(160deg, rgba(233,112,0,0.0) 0%, rgba(233,112,0,0.18) 50%, rgba(0,0,0,0.05) 100%) border-box;
  border: 1px solid transparent;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.45s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 4px 14px -8px rgba(0,0,0,0.08);
}
[data-theme="dark"] .product-card {
  background:
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card) 100%) padding-box,
    linear-gradient(160deg, rgba(255,138,44,0.0) 0%, rgba(255,138,44,0.25) 50%, rgba(255,255,255,0.04) 100%) border-box;
  box-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 4px 14px -8px rgba(0,0,0,0.5);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 30px 50px -20px rgba(233,112,0,0.22);
}
[data-theme="dark"] .product-card:hover {
  box-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 30px 50px -20px rgba(255,138,44,0.3);
}

.product-img {
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, var(--bg-card) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin: 0;
}
[data-theme="dark"] .product-img {
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(255,138,44,0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-card) 100%);
}
.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.4) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
[data-theme="dark"] .product-img::before {
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.06) 0%, transparent 45%);
}
.product-card:hover .product-img::before { opacity: 1; }

.product-img svg.pysanka {
  width: 60%;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 22px 30px rgba(0,0,0,0.16));
  position: relative;
  z-index: 2;
}
.product-img img.product-photo {
  width: 78%;
  height: 78%;
  object-fit: cover;
  border-radius: 50% / 56%;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 24px 30px rgba(0,0,0,0.2));
  position: relative;
  z-index: 2;
}
.product-card:hover .product-img svg.pysanka,
.product-card:hover .product-img img.product-photo {
  transform: scale(1.08) rotate(-4deg) translateY(-4px);
}

.product-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--accent);
  color: #fff;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 3;
  border-radius: 2px;
}
.product-tag.dark { background: var(--text); color: var(--bg); }

.product-fav {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
  color: var(--text);
  z-index: 3;
  opacity: 0;
  transform: translateY(-6px);
}
[data-theme="dark"] .product-fav {
  background: rgba(20,20,20,0.85);
  border-color: rgba(255,255,255,0.08);
}
.product-card:hover .product-fav { opacity: 1; transform: translateY(0); }
.product-fav:hover { color: var(--accent); transform: scale(1.1); }
.product-fav.active { color: var(--accent); opacity: 1; transform: translateY(0); }
.product-fav svg { width: 15px; height: 15px; fill: none; }
.product-fav.active svg { fill: currentColor; }

/* product card text body */
.product-body {
  padding: 22px 24px 26px;
  position: relative;
}
.product-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line) 30%,
    var(--line) 70%,
    transparent 100%);
}
.product-school {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 6px;
  font-weight: 700;
}
.product-title {
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 16px;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.005em;
}
.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}
.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
}
.product-price .old {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 13px;
  text-decoration: line-through;
  margin-right: 8px;
  letter-spacing: 0;
}
.product-price .currency {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
  font-weight: 400;
  letter-spacing: 0;
}
.product-add {
  background: transparent;
  border: none;
  padding: 8px 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
  position: relative;
}
.product-add::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.product-add svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.product-add:hover { color: var(--accent); gap: 12px; }
.product-add:hover::after { transform: scaleX(1); }
.product-add:hover svg { transform: translateX(2px); }


/* ---------- BANNERS — neutral darks, NO BROWN ---------- */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.banner {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  cursor: pointer;
}
.banner.full { grid-column: 1 / -1; aspect-ratio: 21/8; }
.banner-bg { position: absolute; inset: 0; z-index: 1; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.banner:hover .banner-bg { transform: scale(1.04); }
.banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
}
.banner-content { position: relative; z-index: 2; max-width: 540px; }
.banner h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.banner p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.banner .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  padding-bottom: 3px;
}
.banner-bg.bg-1 { background: linear-gradient(135deg, #1a1a1a 0%, #383838 100%); }
.banner-bg.bg-2 { background: linear-gradient(135deg, #0c0c0c 0%, #2a2a2a 100%); }
.banner-bg.bg-3 { background: linear-gradient(135deg, #2a2a2a 0%, #555555 100%); }
.banner-bg svg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  opacity: 0.18;
}
.banner-bg.bg-2 svg { right: 10%; opacity: 0.12; }

/* ---------- COLLECTION CARDS ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.collection-grid .featured { grid-column: 1 / -1; }
.collection-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  transition: border-color 0.2s ease, transform 0.3s ease;
}
.collection-card.featured { grid-template-columns: 1.4fr 1fr; min-height: 380px; }
.collection-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.collection-card-text {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.collection-card .school {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.collection-card h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.collection-card.featured h3 { font-size: 44px; }
.collection-card h3 i { font-style: italic; color: var(--accent); font-weight: 400; }
.collection-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.collection-card .meta {
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  font-weight: 700;
}
.collection-card .meta strong { color: var(--text); display: block; font-size: 17px; letter-spacing: 0.02em; text-transform: none; margin-top: 4px; }
.collection-card-visual {
  background: var(--pysanka-stage);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.collection-card-visual svg.pysanka {
  width: 60%;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.15));
}
.collection-card-visual img.product-photo {
  width: 78%;
  height: 78%;
  object-fit: cover;
  border-radius: 50% / 56%;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 22px 28px rgba(0,0,0,0.2));
}
.collection-card:hover .collection-card-visual svg.pysanka,
.collection-card:hover .collection-card-visual img.product-photo {
  transform: scale(1.06) rotate(-4deg);
}
.collection-card-visual.multi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 28px; }
.collection-card-visual.multi svg.pysanka { width: 100%; }
.collection-card-visual.multi img.product-photo { width: 100%; height: 100%; }

/* ---------- BLOG ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.blog-grid.featured-row { grid-template-columns: 1.3fr 1fr 1fr; }
.blog-card { display: flex; flex-direction: column; cursor: pointer; transition: transform 0.3s ease; }
.blog-card:hover { transform: translateY(-3px); }
.blog-thumb {
  aspect-ratio: 16/10;
  background: var(--pysanka-stage);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
  border: 1px solid var(--line);
}
.blog-thumb svg.pysanka { width: 50%; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumb svg.pysanka { transform: scale(1.06) rotate(-2deg); }
.blog-card.feature .blog-thumb { aspect-ratio: 4/3; }
.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.blog-meta .date { color: var(--text-dim); }
.blog-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.blog-card.feature h3 { font-size: 30px; }
.blog-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.blog-read {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  display: inline-block;
  width: fit-content;
}

/* ---------- FILTERS ---------- */
.filters {
  background: var(--bg-soft);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 50px;
}
.filters-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.filter-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-sort {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.filter-sort select {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

/* ---------- ABOUT MASTER ---------- */
.master-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.master-portrait {
  aspect-ratio: 4/5;
  background: #181818;
  position: relative;
  overflow: hidden;
}
.master-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  filter: brightness(1.02) contrast(1.05);
}
.master-portrait::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 90%);
  pointer-events: none;
}
.master-portrait .label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.4);
  padding-top: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}
.master-portrait .label strong { font-size: 15px; letter-spacing: 0.04em; display: block; margin-bottom: 4px; }
.master-eyebrow {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 22px;
}
.master-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
}
.master-content h2 i { font-style: italic; color: var(--accent); font-weight: 400; }
.master-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--text-muted);
  max-width: 580px;
}
.master-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 22px;
  margin: 28px 0;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
  font-family: inherit;
}
.master-content blockquote cite {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
  font-weight: 700;
}
.master-stats {
  display: flex;
  gap: 50px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.master-stat .num {
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.master-stat .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}
.master-socials { display: flex; gap: 12px; margin-top: 24px; }
.master-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text);
}
.master-socials a:hover { border-color: var(--accent); color: var(--accent); }
.master-socials svg { width: 16px; height: 16px; }

/* ---------- FEATURES ---------- */
.features { background: var(--bg-soft); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; }
.feature { text-align: center; }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 22px; color: var(--accent); }
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.2; color: var(--text); }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  font-family: inherit;
  text-align: left;
  padding: 26px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .toggle {
  width: 26px; height: 26px;
  border: 1px solid var(--text);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
  font-weight: 400;
  font-size: 17px;
}
.faq-item.open .faq-q .toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 0 26px 0; }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--dark-section);
  color: var(--dark-section-text);
  text-align: center;
  padding: 70px 0;
}
.newsletter h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin-bottom: 14px; }
.newsletter h2 i { font-style: italic; color: var(--accent); font-weight: 400; }
.newsletter p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}
.newsletter-form { display: flex; max-width: 520px; margin: 0 auto; gap: 0; }
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-right: none;
  padding: 16px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form button {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 0 30px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--accent-hover); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--dark-section);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; margin-bottom: 60px; }
.footer-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #fff;
}
.footer-logo span { color: var(--accent); }
.footer-tag {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 22px;
}
.footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  font-weight: 700;
}
.footer-payments .badge {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.7);
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ---------- TOAST / DRAWER / MODAL ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--text);
  color: var(--bg);
  padding: 16px 22px;
  font-family: 'Arsenal', sans-serif;
  font-size: 13px;
  z-index: 1000;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-md);
  animation: slidein 0.25s;
}
@keyframes slidein {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.cart-drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
  display: none;
  animation: fadein 0.25s;
}
.cart-drawer-bg.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 100%;
  background: var(--bg);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-size: 18px; font-weight: 700; }
.cart-close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--text);
  line-height: 1;
}
.cart-body { flex: 1; overflow-y: auto; padding: 20px 26px; }
.cart-empty { text-align: center; padding: 50px 0; color: var(--text-muted); font-size: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item-img {
  background: var(--pysanka-stage);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-img svg.pysanka { width: 70%; }
.cart-item-img img.product-photo {
  width: 86%;
  height: 86%;
  object-fit: cover;
  border-radius: 50% / 56%;
}
.cart-item-info { font-size: 13px; }
.cart-item-info .ttl { font-weight: 700; margin-bottom: 4px; }
.cart-item-info .pr { color: var(--accent); font-weight: 700; }
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}
.cart-item-remove:hover { color: var(--accent); }
.cart-footer {
  padding: 22px 26px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cart-total.grand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-bottom: 16px;
  text-transform: none;
}
.cart-checkout {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.cart-checkout:hover { background: var(--accent-hover); }
.cart-info {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.checkout-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkout-modal-bg.open { display: flex; }
.checkout-modal {
  background: var(--bg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 36px;
  position: relative;
}
.checkout-modal h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.checkout-modal h3 i { font-style: italic; color: var(--accent); font-weight: 400; }
.checkout-modal .sub { color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.checkout-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.checkout-form-row.full { grid-template-columns: 1fr; }
.checkout-modal label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 700;
}
.checkout-modal input, .checkout-modal textarea, .checkout-modal select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.checkout-modal input:focus, .checkout-modal textarea:focus, .checkout-modal select:focus {
  border-color: var(--accent);
}
.checkout-modal textarea { resize: vertical; min-height: 70px; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 22px; }
.payment-option {
  border: 1px solid var(--line-strong);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.payment-option.selected { border-color: var(--accent); background: var(--accent-soft); }
.payment-option strong { display: block; font-size: 13px; margin-bottom: 4px; }
.payment-option span { font-size: 10px; color: var(--text-muted); letter-spacing: 0.06em; }
.checkout-summary {
  background: var(--bg-soft);
  padding: 14px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
}
.checkout-modal .close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 700;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-dim); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .products.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .header-inner { gap: 24px; }
  nav.main-nav { gap: 20px; }
  .blog-grid, .blog-grid.featured-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .header-inner { padding: 14px 20px; grid-template-columns: 1fr auto; gap: 14px; min-height: auto; }
  nav.main-nav { display: none; }
  .header-actions a:not(.theme-toggle), .header-actions .header-phone, .header-actions button:not(.theme-toggle):not([aria-label="Кошик"]) { display: none; }
  .burger { display: flex; }
  .container, .container-narrow { padding: 0 20px; }
  .hero { padding: 40px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 0 20px; }
  .products, .products.cols-3, .products.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .product-body { padding: 18px 18px 22px; }
  .product-title { font-size: 15px; }
  .product-price { font-size: 17px; }
  .banners { grid-template-columns: 1fr; }
  .master-grid { grid-template-columns: 1fr; gap: 36px; }
  section.block { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card, .collection-card.featured { grid-template-columns: 1fr; min-height: auto; }
  .collection-card-visual { aspect-ratio: 4/3; }
  .blog-grid, .blog-grid.featured-row { grid-template-columns: 1fr; }
  .filter-group { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .checkout-form-row { grid-template-columns: 1fr; }
  .checkout-modal { padding: 24px 20px; }
  .cart-drawer { width: 100%; }
  .section-head-row { flex-direction: column; gap: 12px; align-items: start; }
}
@media (max-width: 480px) {
  .products, .products.cols-3, .products.cols-4 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 28px; }
  .payment-options { grid-template-columns: 1fr; }
}

/* =================================================================
   MOBILE MENU + SEARCH
   ================================================================= */
.mobile-menu-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.25s; z-index: 998;
}
.mobile-menu-bg.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100%;
  width: 320px; max-width: 86vw;
  background: var(--bg); color: var(--text);
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 999; display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.4);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.mobile-menu-logo { font-size: 22px; font-weight: 700; color: var(--text); text-decoration: none; }
.mobile-menu-logo span { color: var(--accent); }
.mobile-menu-close {
  font-size: 30px; line-height: 1; background: none; border: none;
  color: var(--text-muted); width: 40px; height: 40px;
}
.mobile-menu-search {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 22px 6px; padding: 12px 16px;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--text-muted); font-size: 15px; width: calc(100% - 44px);
  border-radius: 2px; text-align: left;
}
.mobile-menu-search svg { width: 18px; height: 18px; }
.mobile-menu-nav { display: flex; flex-direction: column; padding: 12px 0; flex: 1; }
.mobile-menu-nav a { text-decoration: none; color: var(--text); }
.mobile-menu-nav .mm-main {
  padding: 15px 22px; font-size: 18px; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-nav .mm-main:active { color: var(--accent); }
.mm-sub { display: flex; flex-direction: column; padding: 8px 0 14px; background: var(--bg-soft); }
.mm-sub a { padding: 9px 22px 9px 34px; font-size: 15px; color: var(--text-muted); }
.mm-sub a:active { color: var(--accent); }
.mobile-menu-foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.mm-phone {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--text); text-decoration: none;
}
.mm-phone svg { width: 20px; height: 20px; color: var(--accent); }
.mm-socials { display: flex; gap: 12px; margin-top: 16px; }
.mm-socials a {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--text);
}
.mm-socials a:active { border-color: var(--accent); color: var(--accent); }
.mm-socials svg { width: 18px; height: 18px; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.2s; z-index: 1000;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 12vh 20px 20px;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  background: var(--bg); width: 100%; max-width: 560px;
  border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.search-input-row {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.search-input-row svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
.search-input-row input {
  flex: 1; border: none; background: none; outline: none;
  font-family: inherit; font-size: 17px; color: var(--text);
}
.search-close {
  font-size: 26px; line-height: 1; background: none; border: none; color: var(--text-muted);
  width: 34px; height: 34px; flex-shrink: 0;
}
.search-results { max-height: 56vh; overflow-y: auto; }
.search-hint { padding: 22px 20px; color: var(--text-muted); font-size: 14px; }
.search-hint a { color: var(--accent); }
.search-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.search-item:hover { background: var(--bg-soft); }
.search-item-thumb {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--accent-soft) center/cover no-repeat; border: 1px solid var(--line);
}
.search-item-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.search-item-name { font-weight: 700; font-size: 15px; }
.search-item-meta { font-size: 12px; color: var(--text-muted); }
.search-item-price { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* =================================================================
   PRODUCT DETAIL PAGE
   ================================================================= */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-detail-gallery { position: sticky; top: 24px; align-self: start; }
.product-detail-main {
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, var(--bg-card) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}
.product-detail-main svg.pysanka {
  width: 60%;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,0.18));
}
.product-detail-main img.product-photo {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 50% / 56%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25));
}
.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.product-detail-thumbs .thumb {
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, var(--bg-card) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.65;
  overflow: hidden;
  border-radius: 3px;
}
.product-detail-thumbs .thumb:hover { border-color: var(--accent); opacity: 1; }
.product-detail-thumbs .thumb.active { border-color: var(--accent); opacity: 1; }
.product-detail-thumbs .thumb svg.pysanka { width: 60%; }
.product-detail-thumbs .thumb img.product-photo {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 50% / 56%;
}

.product-detail-info { padding-top: 8px; }
.product-detail-school {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.product-detail-info h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.product-detail-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.product-detail-price .now {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.product-detail-price .old {
  font-size: 20px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.product-detail-price .badge {
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.product-detail-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1c8a3a;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}
.product-detail-stock .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1c8a3a;
  display: inline-block;
}
.product-detail-stock.out { color: var(--text-dim); }
.product-detail-stock.out .dot { background: var(--text-dim); }
.product-detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  align-items: stretch;
}
.product-detail-actions .btn { flex: 1; justify-content: center; padding: 18px 30px; font-size: 13px; }
.btn-icon {
  width: 56px;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}
.btn-icon:hover { border-color: var(--accent); color: var(--accent); }
.btn-icon.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.btn-icon svg { width: 20px; height: 20px; }

.product-detail-meta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin-bottom: 30px;
}
.meta-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 8px 0;
  font-size: 14px;
}
.meta-row .lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  padding-top: 3px;
}
.meta-row .val { color: var(--text); line-height: 1.5; }

.product-detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.pdf-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
}
.pdf-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.pdf-item div { flex: 1; }
.pdf-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
  color: var(--text);
}
.pdf-item span { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* Product detail tabs */
.product-detail-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.product-detail-tabs .tab {
  background: transparent;
  border: none;
  padding: 16px 26px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  margin-bottom: -1px;
}
.product-detail-tabs .tab:hover { color: var(--text); }
.product-detail-tabs .tab.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.tab-pane { display: none; max-width: 800px; }
.tab-pane.active { display: block; }
.tab-pane h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.tab-pane p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}
.tab-pane ul {
  margin: 0 0 16px 22px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}
.tab-pane ul li { margin-bottom: 6px; }
.tab-pane strong { color: var(--accent); font-weight: 700; }

/* =================================================================
   BLOG ARTICLE PAGE
   ================================================================= */
.blog-article { padding-bottom: 80px; }

.blog-article-head {
  padding: 36px 0 28px;
  background: transparent;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.blog-article-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.blog-article-meta .dot { color: var(--text-dim); }
.blog-article-meta .date { color: var(--text-dim); }
.blog-article-head h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.blog-article-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.blog-article-source {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}
.blog-article-source a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.blog-article-hero {
  display: none;
}

.blog-article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.blog-article-body h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 18px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.blog-article-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
  line-height: 1.2;
}
.blog-article-body p { margin-bottom: 18px; }
.blog-article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 26px;
  margin: 32px 0;
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--text);
  font-family: inherit;
}
.blog-article-body ul {
  margin: 0 0 18px 22px;
}
.blog-article-body ul li { margin-bottom: 8px; }

.blog-article-share {
  max-width: 720px;
  margin: 50px auto 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.blog-article-share .lbl {
  color: var(--text-dim);
  font-weight: 700;
}
.blog-article-share a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  font-weight: 700;
  transition: all 0.2s;
}
.blog-article-share a:hover { color: var(--accent); border-color: var(--accent); }

/* Responsive for new pages */
@media (max-width: 1100px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-detail-gallery { position: static; }
  .product-detail-main svg.pysanka { width: 50%; }
}
@media (max-width: 820px) {
  .product-detail-info h1 { font-size: 28px; }
  .product-detail-price .now { font-size: 30px; }
  .product-detail-features { grid-template-columns: 1fr; }
  .meta-row { grid-template-columns: 1fr; gap: 4px; }
  .meta-row .lbl { padding-top: 0; }
  .product-detail-tabs .tab { padding: 12px 18px; font-size: 12px; }
  .blog-article-body { font-size: 16px; }
  .blog-article-body h2 { font-size: 24px; }
  .blog-article-body blockquote { font-size: 18px; }
  .blog-article-hero { margin: 30px auto 40px; aspect-ratio: 16/9; }
  .blog-article-hero svg.pysanka { width: 28%; }
}

/* =================================================================
   EVENTS PAGE
   ================================================================= */

/* Section label / divider */
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* Featured event */
.featured-event {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}
.featured-event .fe-image {
  background: var(--bg-soft);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.featured-event .fe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fe-image .badge-live {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #000;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}
.featured-event .fe-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fe-info .fe-type {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.fe-info h2 {
  font-size: 26px;
  margin-bottom: 14px;
  line-height: 1.3;
}
.fe-info .fe-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 14px;
}
.fe-info .fe-meta svg {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 4px;
}
.fe-info .fe-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
}
.fe-info .fe-actions {
  display: flex;
  gap: 12px;
}

/* Events grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}
.event-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.event-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ec-image {
  height: 180px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ec-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ec-image .placeholder-icon {
  color: var(--text-dim);
  font-size: 12px;
}
.ec-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}
/* Ethnic palette: inspired by traditional pysanka pigments */
.ec-badge.workshop { background: #8B1A1A; color: #F2C4A0; }  /* dark madder red + warm linen */
.ec-badge.exhibition { background: #1A3A5C; color: #A8C8E8; } /* deep indigo blue + sky flax */
.ec-badge.fair { background: #6B4C1E; color: #F0D68A; }       /* walnut bark + beeswax gold */
.ec-badge.other { background: var(--line-strong); color: var(--text-muted); }
.ec-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.2;
  color: #fff;
}
.ec-date-badge .day {
  font-size: 20px;
  font-weight: 700;
  display: block;
}
.ec-date-badge .month {
  font-size: 10px;
  text-transform: uppercase;
  color: #9e9e9e;
}
.ec-body {
  padding: 18px;
}
.ec-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.ec-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.ec-meta svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
}
.ec-body .ec-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ec-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ec-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}
.ec-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
}
.ec-link:hover {
  text-decoration: underline;
}

/* Past events */
.past-events .event-card { opacity: 0.55; }
.past-events .event-card:hover { opacity: 0.8; }
.past-label {
  display: inline-block;
  background: var(--line);
  color: var(--text-dim);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  margin-bottom: 6px;
}

/* Homepage: nearest event block */
.home-event-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  gap: 28px;
  align-items: center;
}
.home-event-block .heb-date {
  min-width: 70px;
  text-align: center;
}
.home-event-block .heb-date .day {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.home-event-block .heb-date .month {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.home-event-block .heb-info {
  flex: 1;
}
.home-event-block .heb-info .type {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.home-event-block .heb-info h3 {
  font-size: 20px;
  margin: 4px 0 6px;
}
.home-event-block .heb-info p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Events empty state */
.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.events-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--text-dim);
}

/* =================================================================
   PHOTO-BASED GIFT CERTIFICATES
   ================================================================= */
.cert-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Arsenal', sans-serif;
}
.cert-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .cert-photo-bg { transform: scale(1.05); }
.cert-photo-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,8,4,0.15) 0%, rgba(10,8,4,0.55) 70%, rgba(10,8,4,0.78) 100%),
    linear-gradient(180deg, rgba(10,8,4,0.45) 0%, rgba(10,8,4,0.1) 40%, rgba(10,8,4,0.6) 100%);
}
/* Ornamental gold frame */
.cert-photo-frame {
  position: absolute;
  inset: 14px;
  border: 1.5px solid rgba(212,165,55,0.75);
  border-radius: 3px;
  box-shadow: inset 0 0 0 3px rgba(212,165,55,0.18);
}
.cert-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #E9b949;
}
.cert-corner.tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.cert-corner.tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.cert-corner.bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.cert-corner.br { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.cert-photo-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 22px;
  color: #fff;
}
.cert-photo-kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f0d99a;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.cert-photo-amount {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(233,112,0,0.35);
  margin-bottom: 6px;
}
.cert-photo--workshop .cert-photo-amount {
  font-size: 24px;
  letter-spacing: 0.06em;
}
.cert-photo-sub {
  font-size: 13px;
  color: #f0d99a;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  margin-bottom: 4px;
}
.cert-photo-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E9b949;
  font-size: 11px;
  margin: 14px 0;
  width: 70%;
}
.cert-photo-rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,165,55,0.8), transparent);
}
.cert-photo-brand {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.cert-photo-brand i {
  color: #E97000;
  font-style: normal;
}
.cert-photo-master {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.78);
  margin-top: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Events responsive */
@media (max-width: 768px) {
  .featured-event { grid-template-columns: 1fr; }
  .featured-event .fe-image { min-height: 200px; }
  .featured-event .fe-info { padding: 24px; }
  .fe-info h2 { font-size: 22px; }
  .fe-info .fe-meta { flex-direction: column; gap: 8px; }
  .events-grid { grid-template-columns: 1fr; }
  .home-event-block { flex-direction: column; text-align: center; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =================================================================
   DELIVERY & PAYMENT PAGE
   ================================================================= */
.delivery-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
}
.delivery-step {
  position: relative; padding: 34px 26px 28px;
  border: 1px solid var(--line); background: var(--bg);
}
.delivery-step .ds-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: 'Arsenal', sans-serif; font-size: 20px; font-weight: 700;
  margin-bottom: 18px;
}
.delivery-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.delivery-step p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.pay-list { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.pay-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 26px; border: 1px solid var(--line); background: var(--bg);
}
.pay-item .pay-icon {
  flex-shrink: 0; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
}
.pay-item .pay-icon svg { width: 26px; height: 26px; }
.pay-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.pay-item p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 820px) {
  .delivery-steps { grid-template-columns: 1fr; gap: 16px; }
  .pay-item { padding: 20px; gap: 16px; }
}
