/* ============ Cheervinsky — Fonts ============ */
@font-face {
  font-family: 'Vollkorn SC';
  src: url('assets/fonts/VollkornSC-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vollkorn SC';
  src: url('assets/fonts/VollkornSC-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Vollkorn SC';
  src: url('assets/fonts/VollkornSC-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Vollkorn SC';
  src: url('assets/fonts/VollkornSC-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

/* ============ Tokens ============ */
:root {
  --ink: #1B1612;
  --ink-2: #4B3F33;
  --ink-3: #8A7561;
  --paper: #FFFFFF;
  --honey: #E9873B;
  --honey-deep: #B5641F;

  /* Background gradient (will be set inline on main hub bg) */
  --bg-center: #FFF7AB;
  --bg-edge: #FFBB00;

  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #FFC72A;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

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

.serif { font-family: 'Vollkorn SC', Georgia, serif; }

/* ============ Layout shell ============ */
.app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

/* gradient background — radial centered roughly on the phone in hero */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 28% 30%, #FFF7AB 0%, #FFE873 22%, #FFD23A 50%, #FFBB00 80%, #F2A800 100%);
  transition: background-position 0.6s var(--ease-soft);
}
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Safari: can render the SVG data-URI grain as a broken-image placeholder */
@supports (-webkit-touch-callout: none) {
  .bg-grain { background-image: none; }

  /* Safari fallback: avoid compositing artifacts under the glass card */
  .route-home .carousel-glass,
  .route-home .pinned-glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: none;
    overflow: hidden;
  }
  .route-home .carousel-glass.exiting,
  .route-home .carousel-glass.entering {
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .route-home .carousel-glass::before,
  .route-home .pinned-glass::before {
    opacity: 0.72;
  }
}

/* floating orbs for parallax */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.orb.o1 { width: 480px; height: 480px; background: #FFEC8A; top: -100px; left: -100px; }
.orb.o2 { width: 380px; height: 380px; background: #FFC72A; bottom: -120px; right: -80px; opacity: 0.6; }
.orb.o3 { width: 260px; height: 260px; background: #FFE873; top: 40%; right: 10%; opacity: 0.4; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 8vw 22px 9vw;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  background: rgba(255, 199, 42, 0.35);
  border-bottom: 1px solid rgba(27, 22, 18, 0.06);
}
.site-header.header-blog,
.site-header.header-products,
.site-header.header-admin,
.site-header.header-contacts,
.site-header.header-post,
.site-header.header-product {
  justify-content: space-between;
}
.site-header .header-spacer {
  width: 132px;
  flex: 0 0 132px;
}
.home-header {
  position: relative;
  justify-content: flex-end;
  padding: 18px 8vw 6px 9vw;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background 220ms var(--ease-soft),
    border-color 220ms var(--ease-soft),
    padding 220ms var(--ease-soft),
    backdrop-filter 220ms var(--ease-soft),
    -webkit-backdrop-filter 220ms var(--ease-soft);
}
.home-header .header-spacer {
  display: none;
}
.home-header.home-header-scrolled {
  position: sticky;
  top: 0;
  justify-content: space-between;
  padding: 22px 8vw 22px 9vw;
  background: rgba(255, 199, 42, 0.35);
  border-bottom: 1px solid rgba(27, 22, 18, 0.06);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}
.brand-mini {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand-mini img { width: 28px; height: auto; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 200ms var(--ease-soft);
}
.nav a:hover { color: var(--honey-deep); }
.nav a.active { color: var(--honey-deep); }
.nav .socials { display: flex; gap: 10px; margin-left: 12px; }
.nav .socials a {
  display: grid; place-items: center;
  width: 28px; height: 22px;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.85;
}
.nav .socials a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav .socials a:hover { opacity: 1; transform: translateY(-1px); }

/* ============ Hero / brand ============ */
.hero-brand {
  text-align: center;
  padding: 48px 6vw 12px;
  position: relative;
}
.route-home .hero-brand {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6vw 8px;
  text-align: left;
}
.hero-title {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 10px;
}
.hero-title span {
  display: block;
  white-space: nowrap;
}
.route-home .hero-title {
  align-items: baseline;
  transform-origin: left center;
  transition: transform 180ms var(--ease-soft), opacity 180ms var(--ease-soft);
}
.hero-brand .crow {
  width: auto;
  height: 84px;
  margin: 0 auto 4px;
  display: block;
  animation: breathe 7s ease-in-out infinite;
}
.route-home .hero-brand .crow {
  width: auto !important;
  height: 82px !important;
  margin: 0 4px 0 0;
  align-self: baseline;
  transform: none;
}
@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-4px) scale(1.02); }
}
.hero-brand h1 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1;
}
.route-home .hero-brand h1 {
  font-size: clamp(48px, 6vw, 70px);
  line-height: 0.95;
  align-items: flex-end;
  gap: 12px;
}
.route-home .hero-title .crow {
  flex: 0 0 auto;
}
.hero-brand .tagline {
  margin: 18px auto 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.route-home .hero-brand .tagline {
  margin: 8px 0 0;
  max-width: 820px;
  line-height: 1.45;
  transition: transform 180ms var(--ease-soft), opacity 180ms var(--ease-soft);
}

/* ============ Carousel section ============ */
.section { padding: 64px 6vw; position: relative; }
.section.tight { padding: 24px 6vw; }
.route-home .section { padding: 18px 6vw 22px; }
.route-home .hero-brand + .section {
  padding-top: 64px;
}

.carousel {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(560px, 760px);
  gap: 0;
  align-items: center;
  min-height: 580px;
}
.route-home .carousel {
  max-width: 1180px;
  grid-template-columns: 224px minmax(0, 690px);
  min-height: 360px;
  justify-content: center;
}
.carousel-loop-line {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(62px, 12vw);
  height: 58px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
}
.carousel-loop-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.carousel-loop-line path {
  fill: none;
  stroke: rgba(255,255,255,0.94);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  filter:
    drop-shadow(0 7px 12px rgba(60,36,0,0.14))
    drop-shadow(0 0 10px rgba(255,255,255,0.28));
}
.carousel-loop-line.visible path {
  animation: carousel-loop-draw 1520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.carousel-loop-line.visible {
  opacity: 1;
}
.route-home .carousel .phone-stage {
  animation: home-phone-in 1100ms var(--ease-out-soft) both;
}
.route-home .carousel-glass-content {
  animation: home-content-in 900ms var(--ease-out-soft) 180ms both;
}
.route-home .carousel-controls {
  animation: home-controls-in 700ms var(--ease-out-soft) 520ms both;
}
@keyframes home-phone-in {
  from {
    opacity: 0;
    transform: translate(-34px, 28px) rotate(-4deg) scale(0.92);
    filter: none;
  }
  62% {
    opacity: 1;
    transform: translate(6px, -5px) rotate(1.5deg) scale(1.02);
    filter: none;
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
    filter: none;
  }
}
@keyframes home-glass-in {
  from {
    opacity: 0;
    transform: translateX(46px) scale(0.96);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}
@keyframes home-content-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes home-controls-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes carousel-loop-draw {
  0% {
    stroke-dashoffset: 360;
    opacity: 0;
    transform: translateY(6px) scale(0.94);
  }
  18% {
    opacity: 0.92;
    transform: translateY(2px) scale(0.985);
  }
  68% {
    stroke-dashoffset: 0;
    opacity: 0.96;
    transform: translateY(0) scale(1);
  }
  84% {
    stroke-dashoffset: 0;
    opacity: 0.88;
    transform: translateY(-1px) scale(1.015);
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
    transform: translateY(-5px) scale(1.025);
  }
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
  height: 600px;
}
.phone-stage .phone-shadow {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(60, 36, 0, 0.35), transparent 65%);
  filter: blur(8px);
  z-index: 1;
}
.phone-frame {
  position: relative;
  height: 560px;
  width: auto;
  aspect-ratio: 0.49;
  z-index: 2;
  filter: drop-shadow(0 30px 36px rgba(35, 20, 0, 0.44));
  transition:
    transform 920ms var(--ease-luxury),
    opacity 760ms var(--ease-luxury),
    filter 920ms var(--ease-luxury);
  will-change: transform, opacity, filter;
}
.phone-frame.exiting {
  opacity: 0;
  transform: translateX(-18px) translateY(10px) rotate(-1.8deg) scale(0.975);
  filter: drop-shadow(0 22px 30px rgba(35, 20, 0, 0.26));
}
.phone-frame.entering {
  opacity: 0;
  transform: translateX(22px) translateY(-8px) rotate(1.2deg) scale(0.98);
  filter: drop-shadow(0 22px 30px rgba(35, 20, 0, 0.26));
}

.carousel .phone-stage {
  height: 520px;
  justify-self: start;
  z-index: 1;
}
.route-home .carousel .phone-stage {
  height: 428px;
  width: 300px;
  align-self: start;
  margin-top: -26px;
  margin-left: 26px;
}
.carousel .phone-stage .phone-shadow {
  left: 44%;
  bottom: 9%;
  width: 78%;
  height: 64px;
  background: radial-gradient(ellipse, rgba(60, 36, 0, 0.24) 0%, rgba(60, 36, 0, 0.14) 28%, rgba(60, 36, 0, 0.06) 48%, transparent 76%);
  filter: blur(18px);
}
.route-home .carousel .phone-stage .phone-shadow {
  display: none !important;
}
.carousel .phone-frame {
  height: 460px;
  transform: translateX(8px);
}
.route-home .carousel .phone-frame {
  height: 100%;
  transform: translateX(-4px);
  filter: none !important;
  box-shadow: none !important;
}
.route-home .carousel .phone-frame > img:first-child,
.route-home .pinned-phone > img:first-child {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.route-home .carousel .phone-frame::before,
.route-home .pinned-phone::before {
  content: '';
  position: absolute;
  left: -22%;
  bottom: -9%;
  width: 72%;
  height: 62%;
  border-radius: 48% 52% 52% 48% / 58% 62% 38% 42%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(28, 16, 0, 0.44) 0%, rgba(28, 16, 0, 0.24) 36%, rgba(28, 16, 0, 0.10) 66%, transparent 86%);
  filter: blur(24px);
  transform: rotate(-12deg);
}
.route-home .carousel .phone-frame.exiting {
  opacity: 0;
  transform: translateX(-14px) translateY(10px) scale(0.982);
  filter: none !important;
}
.route-home .carousel .phone-frame.entering {
  opacity: 0;
  transform: translateX(18px) translateY(-8px) scale(0.986);
  filter: none !important;
}
.route-home .carousel .phone-frame::after {
  display: none;
}

/* Liquid glass card */
.glass {
  position: relative;
  border-radius: var(--r-xl);
  padding: 48px 52px;
  min-height: 360px;
  isolation: isolate;
  overflow: hidden;
  /* Actual glass: blur + saturate the bg behind */
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.30) 35%,
      rgba(255, 255, 255, 0.45) 60%,
      rgba(255, 255, 255, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 -1px 0 rgba(255, 255, 255, 0.3) inset,
    0 30px 60px -20px rgba(60, 36, 0, 0.25),
    0 8px 24px -8px rgba(60, 36, 0, 0.15);
  transition: transform 600ms var(--ease-soft), box-shadow 600ms var(--ease-soft);
  will-change: transform;
}
.svg-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
/* refraction tinted edge highlight */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
    radial-gradient(120% 80% at 100% 100%, rgba(255, 230, 160, 0.35) 0%, transparent 50%);
  mix-blend-mode: screen;
  z-index: -1;
}
/* the actual displacement layer — animated tilting refraction */
.glass::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 30% 25%, rgba(255, 255, 255, 0.6), transparent 55%),
    radial-gradient(50% 30% at 70% 70%, rgba(255, 255, 255, 0.4), transparent 60%);
  filter: blur(18px);
  opacity: 0.7;
  animation: glass-shimmer 9s ease-in-out infinite alternate;
}
@keyframes glass-shimmer {
  0%   { transform: translate(-2%, -2%) scale(1); opacity: 0.55; }
  50%  { transform: translate(2%, 1%) scale(1.05); opacity: 0.8; }
  100% { transform: translate(-1%, 2%) scale(1); opacity: 0.6; }
}

.glass-eyebrow {
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--honey-deep);
  margin: 0 0 8px;
}
.glass h2 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: var(--ink);
  line-height: 1.05;
}
.glass h2 .ink-mark {
  display: inline-block;
  font-size: 1.05em;
  font-style: italic;
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
}
.glass p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 480px;
}
.glass .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.carousel-glass {
  z-index: 2;
  margin-left: -128px;
  min-height: 430px;
  max-width: 760px;
  padding: 56px 56px 56px 148px;
  border-radius: 42px;
  overflow: visible;
}
.route-home .carousel-glass {
  margin-left: -36px;
  min-height: 178px;
  max-width: 690px;
  padding: 30px 34px 26px 152px;
  border-radius: 34px;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.105) 0%,
      rgba(255, 248, 215, 0.038) 38%,
      rgba(255, 255, 255, 0.052) 72%,
      rgba(255, 255, 255, 0.11) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(255, 255, 255, 0.28) inset,
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 18px 34px -24px rgba(60, 36, 0, 0.18),
    0 8px 18px -14px rgba(60, 36, 0, 0.12);
  backdrop-filter: blur(2.25px) saturate(102%);
  -webkit-backdrop-filter: blur(2.25px) saturate(102%);
  filter: none;
  overflow: visible;
  animation: home-glass-in 900ms var(--ease-out-soft) both;
  transform-origin: 42% 50%;
  transition:
    opacity 1150ms var(--ease-luxury),
    transform 1150ms var(--ease-luxury),
    filter 1150ms var(--ease-luxury),
    box-shadow 1150ms var(--ease-luxury),
    backdrop-filter 1150ms var(--ease-luxury),
    -webkit-backdrop-filter 1150ms var(--ease-luxury);
  will-change: transform, opacity, filter, backdrop-filter;
}
.route-home .carousel-glass.exiting {
  animation: none;
  opacity: 0;
  transform: translateX(-18px) translateY(8px) scale(0.985);
  filter: blur(10px) saturate(0.96);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.44) inset,
    0 -1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 24px -22px rgba(60, 36, 0, 0.12);
  backdrop-filter: blur(2px) saturate(96%);
  -webkit-backdrop-filter: blur(2px) saturate(96%);
}
.route-home .carousel-glass.entering {
  animation: none;
  opacity: 0;
  transform: translateX(20px) translateY(-8px) scale(0.985);
  filter: blur(10px) saturate(0.96);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.44) inset,
    0 -1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 24px -22px rgba(60, 36, 0, 0.12);
  backdrop-filter: blur(2px) saturate(96%);
  -webkit-backdrop-filter: blur(2px) saturate(96%);
}
.route-home .carousel-glass .carousel-glass-content {
  transition:
    opacity 780ms var(--ease-luxury) 120ms,
    transform 780ms var(--ease-luxury) 120ms,
    filter 780ms var(--ease-luxury) 120ms;
  will-change: transform, opacity;
}
.route-home .carousel-glass .glass-eyebrow,
.route-home .carousel-glass h2,
.route-home .carousel-glass p:not(.glass-eyebrow),
.route-home .carousel-glass .cta-row {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 820ms var(--ease-luxury),
    transform 820ms var(--ease-luxury),
    filter 820ms var(--ease-luxury);
  will-change: transform, opacity, filter;
}
.route-home .carousel-glass .glass-eyebrow {
  transition-delay: 80ms;
}
.route-home .carousel-glass h2 {
  transition-delay: 140ms;
}
.route-home .carousel-glass p:not(.glass-eyebrow) {
  transition-delay: 200ms;
}
.route-home .carousel-glass .cta-row {
  transition-delay: 260ms;
}
.route-home .carousel-glass.exiting .carousel-glass-content {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(6px);
}
.route-home .carousel-glass.entering .carousel-glass-content {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
}
.route-home .carousel-glass.exiting .glass-eyebrow,
.route-home .carousel-glass.exiting h2,
.route-home .carousel-glass.exiting p:not(.glass-eyebrow),
.route-home .carousel-glass.exiting .cta-row {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(5px);
  transition-delay: 0ms;
}
.route-home .carousel-glass.entering .glass-eyebrow,
.route-home .carousel-glass.entering h2,
.route-home .carousel-glass.entering p:not(.glass-eyebrow),
.route-home .carousel-glass.entering .cta-row {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
}
.route-home .carousel-glass::before,
.route-home .pinned-glass::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.78), rgba(255,255,255,0.64) 18%, rgba(255,255,255,0.38) 40%, rgba(255,255,255,0.22) 68%, rgba(255,255,255,0.7)) top left / 100% 2px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.58) 28%, rgba(255,255,255,0.34) 58%, rgba(255,255,255,0.66)) top right / 2px 100% no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.28) 35%, rgba(255,255,255,0.12) 72%, rgba(255,255,255,0.26)) bottom left / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.16) 42%, rgba(255,255,255,0.08) 78%, rgba(255,255,255,0.2)) top left / 1px 100% no-repeat;
  opacity: 0.9;
}
.route-home .carousel-glass::after,
.route-home .pinned-glass::after {
  content: none;
}
.carousel-liquid-layer {
  display: none;
}
.carousel-glass .carousel-glass-content {
  position: relative;
  z-index: 4;
  max-width: 470px;
}
.route-home .carousel-glass .carousel-glass-content {
  max-width: 430px;
}
.carousel-glass .glass-eyebrow {
  margin-bottom: 12px;
}
.route-home .carousel-glass .glass-eyebrow {
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
}
.carousel-glass h2 {
  font-size: clamp(42px, 5vw, 68px);
  margin-bottom: 20px;
}
.route-home .carousel-glass h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  margin-bottom: 10px;
  line-height: 0.98;
  display: flex;
  align-items: center;
  gap: 6px;
}
.carousel-title-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}
.carousel-title-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
.route-home .carousel-glass .product-read-about-btn {
  background: rgba(255,255,255,0.96);
  color: #111;
}
.carousel-title-link:hover,
.carousel-description-link:hover {
  color: var(--honey-deep);
}
.carousel-glass p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 500px;
}
.carousel-description-link {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 180ms var(--ease-soft);
}
.route-home .carousel-glass p {
  font-size: 14px;
  line-height: 1.78;
  margin-bottom: 18px;
  max-width: 390px;
}
.route-home .carousel-description-link {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 390px;
}
.route-home .carousel-glass .cta-row {
  gap: 10px;
  justify-content: center;
  max-width: 390px;
}
.route-home .carousel-glass .cta-row .product-read-about-btn {
  margin-top: 12px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.4);
}
.route-home .store-btn {
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.5); }
.store-btn .store-svg { width: 26px; height: 26px; }
.store-btn .label { display: flex; flex-direction: column; gap: 4px; line-height: 1.05; align-items: flex-start; }
.store-btn .label .small { font-size: 9px; opacity: 0.8; letter-spacing: 0.08em; text-transform: uppercase; }
.store-btn .label .big { font-size: 15px; font-family: 'Vollkorn SC', serif; font-weight: 600; letter-spacing: 0.02em; }
.route-home .store-btn .store-svg { width: 20px; height: 20px; }
.route-home .store-btn .label .small { font-size: 7px; }
.route-home .store-btn .label .big { font-size: 12px; }

/* Carousel controls / dots */
.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 36px;
}
.route-home .carousel-controls {
  margin-top: 10px;
  margin-bottom: 8px;
  gap: 12px;
}
.dots { display: flex; gap: 10px; align-items: center; }
.route-home .dots { gap: 8px; }
.dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  transition: all 240ms var(--ease-soft);
  padding: 0;
}
.dots button.active {
  background: #fff;
  width: 28px; border-radius: 999px;
}
.route-home .dots button {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.82);
}
.route-home .dots button.active {
  width: 16px;
}
.arrow-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  display: grid; place-items: center;
  border: 1px solid rgba(27,22,18,0.15);
  transition: all 220ms var(--ease-soft);
}
.arrow-btn:hover { background: #fff; transform: translateY(-1px); }
.arrow-btn svg { width: 16px; height: 16px; stroke: var(--ink); }
.route-home .arrow-btn {
  width: 20px;
  height: 20px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0.95;
}
.route-home .arrow-btn svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  stroke-width: 2.2;
}
.route-home .arrow-btn:hover {
  background: transparent;
  transform: none;
  opacity: 1;
}
.route-home .arrow-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

/* Curvy decorative line */
.curvy-divider {
  position: relative;
  width: 100%;
  height: 110px;
  margin: 12px auto 12px;
  overflow: visible;
  pointer-events: none;
}
.route-home .curvy-divider {
  height: 72px;
  width: calc(100% + 12vw);
  margin: -40px 0 10px -6vw;
}
.curvy-divider svg {
  width: 100%; height: 100%;
  overflow: visible;
  shape-rendering: geometricPrecision;
}
.curvy-divider .curvy-path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2200;
  stroke-dashoffset: 0;
  animation: drawline 18s linear infinite;
  vector-effect: non-scaling-stroke;
}
@keyframes drawline {
  0%   { stroke-dashoffset: 2200; }
  50%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -2200; }
}

/* ============ Pinned blog block ============ */
.pinned-blog {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  min-height: 540px;
}
.route-home .pinned-blog {
  max-width: 1180px;
  grid-template-columns: 210px minmax(0, 680px);
  gap: 0;
  min-height: 320px;
  justify-content: center;
}
.pinned-blog .phone-stage { height: 540px; }
.route-home .pinned-phone-stage {
  height: 424px;
  width: 292px;
  align-self: end;
  z-index: 1;
  margin-left: 26px;
}
.route-home .pinned-phone-stage .phone-shadow {
  display: none !important;
}
.route-home .pinned-phone {
  height: 200px;
  transform: translateX(0);
  /* Match hero card phone shadow style */
  filter:
    drop-shadow(-20px 20px 22px rgba(35, 20, 0, 0.34))
    drop-shadow(-38px 40px 40px rgba(35, 20, 0, 0.24))
    drop-shadow(-56px 58px 56px rgba(35, 20, 0, 0.18)) !important;
  box-shadow: none !important;
}
.route-home .pinned-glass {
  z-index: 2;
  margin-left: -36px;
  min-height: 190px;
  padding: 28px 34px 28px 152px;
  border-radius: 34px;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.105) 0%,
      rgba(255, 248, 215, 0.038) 38%,
      rgba(255, 255, 255, 0.052) 72%,
      rgba(255, 255, 255, 0.11) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(255, 255, 255, 0.28) inset,
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 18px 34px -24px rgba(60, 36, 0, 0.18),
    0 8px 18px -14px rgba(60, 36, 0, 0.12);
  backdrop-filter: blur(2.25px) saturate(102%);
  -webkit-backdrop-filter: blur(2.25px) saturate(102%);
  filter: none;
}
.route-home .pinned-glass-content {
  max-width: 430px;
}
.route-home .pinned-glass h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.02;
  margin-bottom: 10px;
}
.route-home .pinned-glass p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.route-home .pinned-cta-row {
  margin-top: 0;
}
.route-home .pinned-cta-row .btn {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 999px;
}

/* ============ Features ============ */
.features-strip {
  background: rgba(255,255,255,0.92);
  padding: 64px 6vw 48px;
  position: relative;
}
.route-home .features-strip {
  margin-top: 18px;
  padding: 34px 6vw 28px;
  background: rgba(255,255,255,0.96);
}
.features-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.route-home .features-grid {
  max-width: 980px;
  gap: 22px;
}
.feature {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  transition: transform 400ms var(--ease-soft);
}
.route-home .feature {
  gap: 10px;
}
.feature:hover { transform: translateY(-4px); }
.feature .ico {
  width: 88px; height: 88px;
  display: grid; place-items: center;
  color: var(--ink-3);
}
.route-home .feature .ico {
  width: 76px;
  height: 76px;
  color: rgba(27, 22, 18, 0.28);
}
.feature .ico svg { width: 100%; height: 100%; }
.feature .ico svg.crown-icon { width: 78%; height: 78%; }
.feature .ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feature h3 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink-3);
  max-width: 220px;
  line-height: 1.4;
}
.feature h3 .feature-highlight {
  font-size: 1.18em;
  font-weight: 800;
}
.route-home .feature h3 {
  font-size: 12px;
  color: rgba(27, 22, 18, 0.42);
  max-width: 180px;
  line-height: 1.28;
}

/* ============ More features section (extra) ============ */
.more-features {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.7);
  padding: 32px 28px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 18px 40px -20px rgba(60,36,0,0.18);
  transition: transform 400ms var(--ease-soft), box-shadow 400ms var(--ease-soft);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 30px 50px -20px rgba(60,36,0,0.28);
}
.feature-card .num {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--honey-deep);
  margin: 0 0 10px;
}
.feature-card h4 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.feature-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.section-eyebrow {
  display: block;
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--honey-deep);
  text-align: center;
  margin: 0 0 8px;
}
.section-title {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  text-align: center;
  margin: 0 0 48px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ============ Buttons (general) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px -8px rgba(60,36,0,0.3), 0 1px 0 rgba(255,255,255,0.9) inset;
  transition: all 220ms var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(60,36,0,0.4); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.honey { background: var(--honey); color: #fff; }
.btn.ghost { background: transparent; box-shadow: none; border: 1px solid rgba(27,22,18,0.2); }

/* ============ Footer ============ */
.site-footer {
  background: #FFC72A;
  padding: 36px 6vw 24px;
  text-align: center;
  border-top: 1px solid rgba(27,22,18,0.08);
}
.home-footer {
  padding: 26px 6vw 18px;
  border-top: none;
}
.site-footer .nav { justify-content: center; margin-bottom: 16px; }
.home-footer .nav {
  margin-bottom: 12px;
  gap: 28px;
}
.site-footer .terms {
  font-family: 'Vollkorn SC', serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.home-footer .terms {
  font-size: 12px;
  color: var(--ink);
}
.home-footer > div:last-child {
  display: none;
}

/* ============ Page transitions ============ */
.page {
  animation: page-fade 600ms var(--ease-out-soft);
}
@keyframes page-fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ Blog list ============ */
.blog-hero {
  text-align: center;
  padding: 48px 6vw 24px;
}
.blog-hero h1 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 80px);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.blog-hero p { color: var(--ink-2); max-width: 560px; margin: 0 auto; }

.blog-toolbar {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.blog-toolbar > span:first-child {
  justify-self: start;
}
.blog-toolbar .blog-pagination {
  justify-self: center;
  padding: 0;
}
.blog-toolbar .blog-page-count {
  justify-self: end;
}
.blog-page-count {
  font-family: 'Vollkorn SC', serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 6vw 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 6vw 80px;
}
.blog-pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(27,22,18,0.16);
  background: rgba(255,255,255,0.52);
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: background 200ms var(--ease-soft), transform 200ms var(--ease-soft);
}
.blog-pagination button:hover:not(:disabled),
.blog-pagination button.active {
  background: #fff;
  transform: translateY(-1px);
}
.blog-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.post-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(255,255,255,0.95) inset, 0 18px 40px -20px rgba(60,36,0,0.2);
  transition: transform 320ms var(--ease-soft), box-shadow 320ms var(--ease-soft);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,0.95) inset, 0 28px 48px -20px rgba(60,36,0,0.3); }
.post-cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #FFD23A, #FFBB00);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 160ms ease, object-position 160ms ease;
}
.post-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  font-family: 'Vollkorn SC', serif;
}
.post-card .meta .pinned {
  background: var(--honey);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.post-card h3 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.list-card-title {
  display: inline-flex;
  align-items: center;
}
.list-card-title-icon {
  object-fit: contain;
  flex: 0 0 auto;
}
.post-card p {
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--ink-2);
  margin: 0 0 16px;
  flex: 1;
}
.post-card .read-more {
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--honey-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============ Single post ============ */
.post-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 6vw 96px;
}
.detail-content-panel {
  padding: 34px clamp(22px, 5vw, 46px) 46px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow: 0 18px 40px -24px rgba(60,36,0,0.22);
}
.post-detail-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 24px;
}
.post-detail-toolbar .back-link {
  margin-bottom: 0;
}
.post-page .back-link {
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--honey-deep);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-page .post-detail-toolbar .back-link {
  margin-bottom: 0;
}
.post-share-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.post-share-btn {
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.post-share-hint {
  font-size: 12px;
  color: var(--ink-3);
  font-family: 'Vollkorn SC', serif;
  letter-spacing: 0.04em;
}
.post-page .post-cover {
  border-radius: var(--r-lg);
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
}
.post-page h1 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.post-page h1.product-post-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.post-page .product-post-title-icon {
  object-fit: contain;
  flex: 0 0 auto;
}
.post-page .meta {
  font-family: 'Vollkorn SC', serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.post-page .post-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.post-page .post-body::after {
  content: '';
  display: block;
  clear: both;
}
.post-page .post-body p { margin: 0 0 18px; }
.post-page .post-body a {
  color: var(--honey-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.post-page .post-body u {
  text-underline-offset: 4px;
}
.post-page .post-body h2 {
  font-family: 'Vollkorn SC', serif;
  font-size: 28px;
  margin: 32px 0 12px;
  color: var(--ink);
}
.post-page .post-body h1 {
  font-family: 'Vollkorn SC', serif;
  font-size: clamp(34px, 4.2vw, 48px);
  margin: 38px 0 14px;
  color: var(--ink);
  line-height: 1.12;
}
.post-page .post-body h3 {
  font-family: 'Vollkorn SC', serif;
  font-size: 22px;
  margin: 26px 0 10px;
  color: var(--ink);
  line-height: 1.2;
}
.post-media {
  margin: 34px 0;
  max-width: 100%;
}
.post-media-small { width: 32%; }
.post-media-medium { width: 48%; }
.post-media-large { width: 70%; }
.post-media-full { width: 100%; }
.post-media-center {
  margin-left: auto;
  margin-right: auto;
  clear: both;
}
.post-media-left {
  margin-right: auto;
}
.post-media-right {
  margin-left: auto;
}
.post-media-left.post-media-wrap {
  float: left;
  margin: 8px 28px 18px 0;
}
.post-media-right.post-media-wrap {
  float: right;
  margin: 8px 0 18px 28px;
}
.post-media-left.post-media-no-wrap,
.post-media-right.post-media-no-wrap {
  clear: both;
}
.post-media img,
.post-media video {
  width: 100%;
  border-radius: var(--r-lg);
  border: 0;
  box-shadow: none;
  background: transparent;
}
.post-media-shadow img,
.post-media-shadow video {
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 18px 38px -24px rgba(35,20,0,0.34);
  background: rgba(255,255,255,0.36);
}
.post-media-placeholder {
  width: 100%;
  min-height: 120px;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.42);
  color: var(--ink-3);
  font-size: 14px;
}
.post-media video {
  display: block;
}
.post-gallery {
  clear: both;
  width: 100%;
}
.post-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 2), minmax(0, 1fr));
  gap: 14px;
}
.post-gallery-columns-2 { --gallery-columns: 2; }
.post-gallery-columns-3 { --gallery-columns: 3; }
.post-gallery-columns-4 { --gallery-columns: 4; }
.post-gallery-columns-5 { --gallery-columns: 5; }
.post-gallery-item {
  position: relative;
  display: grid;
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.post-gallery-item.draggable {
  cursor: grab;
}
.post-gallery-item.draggable:active {
  cursor: grabbing;
}
.post-gallery-item.draggable::before {
  content: 'Drag to reorder';
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(27,22,18,0.72);
  color: #fff;
  font-family: 'Vollkorn SC', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.post-gallery-item.draggable:hover::before {
  opacity: 1;
  transform: translateY(0);
}
.post-gallery-grid img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.post-gallery.post-media-shadow .post-gallery-grid img {
  border: 1px solid rgba(255,255,255,0.72) !important;
  box-shadow: 0 18px 38px -24px rgba(35,20,0,0.34) !important;
  background: rgba(255,255,255,0.36) !important;
}
.gallery-image-remove {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(180,67,43,0.88);
  color: #fff;
  font-family: 'Vollkorn SC', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.post-gallery-item:hover .gallery-image-remove,
.gallery-image-remove:focus-visible {
  opacity: 1;
  transform: translateY(0);
}
.post-youtube {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 18px 38px -24px rgba(35,20,0,0.34);
  background: rgba(27,22,18,0.08);
}
.post-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.post-media figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.media-preview-controls {
  clear: both;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(27,22,18,0.08);
}
.media-preview-controls label {
  font-family: 'Vollkorn SC', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.media-preview-controls select,
.media-preview-controls input[type="text"],
.media-preview-controls input:not([type]) {
  width: 100%;
  margin-top: 4px;
  border: 1px solid rgba(27,22,18,0.12);
  border-radius: 8px;
  padding: 6px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}
.media-preview-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
}
.media-preview-checkbox input {
  width: auto;
}
.media-preview-caption {
  grid-column: span 1;
}
.media-preview-side-text {
  grid-column: 1 / -1;
}
.media-preview-side-text textarea {
  width: 100%;
  min-height: 86px;
  margin-top: 4px;
  border: 1px solid rgba(27,22,18,0.12);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  resize: vertical;
}
.media-preview-side-text textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.media-delete-btn {
  grid-column: 1 / -1;
  justify-self: end;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(180,67,43,0.1);
  color: #B4432B;
  font-family: 'Vollkorn SC', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.media-delete-btn:hover {
  background: #B4432B;
  color: #fff;
}
.gallery-add-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(27,22,18,0.12);
  color: var(--ink);
  cursor: pointer;
}
.gallery-add-btn input {
  display: none;
}
.post-media-side-copy {
  margin-top: 0;
  white-space: pre-line;
}

/* ============ Products page ============ */
.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 6vw 96px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.product-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,0.95) inset, 0 18px 40px -20px rgba(60,36,0,0.2);
  transition: transform 320ms var(--ease-soft);
}
.product-card:hover { transform: translateY(-6px); }
.product-card.product-post-card {
  text-decoration: none;
  color: inherit;
}
.product-post-cover {
  width: 100%;
  margin-bottom: 20px;
  border-radius: var(--r-md);
}
.product-card-visual {
  width: 100%;
  height: 210px;
  display: grid;
  place-items: center;
  margin: 4px 0 30px;
  overflow: visible;
}
.product-card .product-phone {
  height: 138px;
  margin-bottom: 0;
  filter: drop-shadow(0 24px 30px rgba(35,20,0,0.42));
}
.product-card h3 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.product-card .stores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: auto;
}
.product-card .read-more,
.product-read-more {
  margin-top: 16px;
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--honey-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product-detail-hero {
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-bottom: 32px;
}
.product-detail-phone {
  height: 320px !important;
  filter: drop-shadow(0 26px 34px rgba(35,20,0,0.36));
}
.product-detail-stores {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ Contacts ============ */
.contacts-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 6vw 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contacts-page h1 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.contacts-page .lede { color: var(--ink-2); line-height: 1.6; margin-bottom: 28px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(27,22,18,0.12);
  display: flex; gap: 14px; align-items: center;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .label {
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  min-width: 80px;
}
.contact-list .value { color: var(--ink); font-size: 15px; }

.contact-form {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 40px -20px rgba(60,36,0,0.2);
}
.contact-form label {
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 6px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(27,22,18,0.15);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 4px rgba(233,135,59,0.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ============ Admin panel ============ */
.admin-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 6vw 96px;
}
.admin-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(27,22,18,0.92);
  color: #fff;
  box-shadow: 0 18px 42px -20px rgba(27,22,18,0.55);
  font-family: 'Vollkorn SC', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.admin-page h1 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.admin-page .lede { color: var(--ink-2); margin-bottom: 32px; max-width: 620px; }

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.admin-form, .admin-list {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: 0 18px 40px -20px rgba(60,36,0,0.2);
}
.admin-form h2, .admin-list h2 {
  font-family: 'Vollkorn SC', serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  letter-spacing: 0.01em;
}
.admin-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-list-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-search {
  display: grid;
  gap: 6px;
  min-width: min(280px, 100%);
}
.admin-search span {
  font-family: 'Vollkorn SC', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.admin-search input {
  width: 100%;
  border: 1px solid rgba(27,22,18,0.14);
  background: rgba(255,255,255,0.68);
  border-radius: 999px;
  padding: 11px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 12px 28px -24px rgba(60,36,0,0.32);
  transition: background 180ms var(--ease-soft), border-color 180ms var(--ease-soft), box-shadow 180ms var(--ease-soft);
}
.admin-search input::placeholder {
  color: rgba(27,22,18,0.42);
}
.admin-search input:focus {
  outline: none;
  background: #fff;
  border-color: rgba(233,135,59,0.5);
  box-shadow: 0 0 0 4px rgba(233,135,59,0.13), 0 1px 0 rgba(255,255,255,0.95) inset;
}
.admin-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-filter button {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(27,22,18,0.14);
  background: rgba(255,255,255,0.56);
  font-family: 'Vollkorn SC', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 180ms var(--ease-soft), transform 180ms var(--ease-soft);
}
.admin-filter button:hover,
.admin-filter button.active {
  background: #fff;
  transform: translateY(-1px);
}
.admin-data-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.admin-data-tools label input {
  display: none;
}
.admin-data-tools span {
  font-size: 12px;
  color: var(--ink-3);
}
.admin-form .field { margin-bottom: 18px; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  border: 1px solid rgba(27,22,18,0.15);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.admin-form textarea { min-height: 120px; resize: vertical; }
.admin-form .post-body-editor {
  min-height: 320px;
}
.admin-form label {
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 6px;
}
.admin-form .row { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.admin-form .row {
  flex-wrap: wrap;
}
.admin-form .admin-save-row {
  position: sticky;
  bottom: 10px;
  z-index: 12;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(27,22,18,0.08);
  box-shadow: 0 10px 26px -18px rgba(35,20,0,0.42);
}
.admin-form .checkbox-row {
  display: flex; gap: 10px; align-items: center;
  background: rgba(233,135,59,0.08);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(233,135,59,0.25);
  margin-top: 4px;
}
.admin-form .checkbox-row input { width: auto; }
.admin-form .checkbox-row input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.admin-form .checkbox-row label {
  margin: 0;
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.product-admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(233,135,59,0.22);
  background: rgba(233,135,59,0.06);
  margin-bottom: 18px;
}
.product-admin-fields .checkbox-row,
.product-admin-fields .field:last-child {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.admin-form .preview-thumb {
  width: 100%;
  border-radius: var(--r-sm);
  background: rgba(27,22,18,0.06);
  margin-top: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.admin-form .preview-thumb img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
}
.cover-position-control {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(27,22,18,0.1);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.46);
}
.cover-position-control > span {
  font-family: 'Vollkorn SC', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.cover-position-control label {
  margin: 0;
}
.cover-position-control input[type="range"] {
  padding: 0;
  accent-color: var(--honey-deep);
}
.field-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
}
.home-image-admin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.home-image-admin-row img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(27,22,18,0.08);
  padding: 6px;
}
.home-image-admin-row span {
  flex: 1;
  min-width: 180px;
  font-size: 12px;
  color: var(--ink-3);
}
.home-image-admin-row button {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27,22,18,0.08);
  font-size: 12px;
}
.home-image-placement {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}
.home-image-combined-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(27,22,18,0.08);
}
.home-image-phone-preview {
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(27,22,18,0.08);
}
.home-image-preview-phone {
  height: 180px !important;
  filter: none !important;
}
.home-image-text-preview p {
  margin: 0 0 6px;
  font-family: 'Vollkorn SC', serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--honey-deep);
}
.home-image-text-preview h4 {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Vollkorn SC', serif;
  font-size: 30px;
  line-height: 1.02;
  color: var(--ink-1);
}
.home-image-text-preview h4 img {
  object-fit: contain;
  flex: 0 0 auto;
}
.home-image-text-preview > span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 460px;
}
.home-image-controls {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  gap: 14px;
  margin-top: 2px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(27,22,18,0.12);
  background: rgba(255,255,255,0.62);
}
.home-image-controls > span {
  font-family: 'Vollkorn SC', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.home-image-controls label {
  font-family: 'Vollkorn SC', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 0;
  display: grid;
  gap: 8px;
}
.home-image-controls input[type="range"] {
  width: 100%;
}
.body-format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.body-format-toolbar button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27,22,18,0.16);
  background: rgba(255,255,255,0.58);
  font-family: 'Vollkorn SC', serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: background 180ms var(--ease-soft), transform 180ms var(--ease-soft);
}
.body-format-toolbar button:hover {
  background: #fff;
  transform: translateY(-1px);
}
.media-composer {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(27,22,18,0.12);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.48);
}
.media-composer-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.media-composer-head strong {
  font-family: 'Vollkorn SC', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.media-composer-head span,
.media-insert-row span {
  font-size: 12px;
  color: var(--ink-3);
}
.media-insert-row .media-selected {
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(27,22,18,0.08);
  border-radius: 999px;
  padding: 7px 10px;
}
.media-composer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.media-composer-grid label {
  margin: 0;
}
.media-composer-wide {
  grid-column: 1 / -1;
}
.media-composer-wide textarea {
  min-height: 92px;
  resize: vertical;
}
.media-composer-wide textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.media-composer-checkbox {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}
.media-composer-checkbox input {
  width: auto;
}
.media-insert-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.media-insert-row .btn {
  padding: 10px 16px;
  font-size: 12px;
}
.media-insert-row input {
  display: none;
}
.product-icon-admin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.product-icon-admin-row img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.64);
  border: 1px solid rgba(27,22,18,0.08);
  padding: 5px;
}
.product-icon-admin-row span {
  flex: 1;
  min-width: 220px;
  font-size: 12px;
  color: var(--ink-3);
}
.product-icon-admin-row button {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27,22,18,0.08);
  font-size: 12px;
}
.product-icon-size-control {
  margin-top: 8px;
}
.product-icon-size-control label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.product-icon-size-control input[type="range"] {
  width: 100%;
}
.product-icon-title-preview {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(27,22,18,0.08);
  background: rgba(255,255,255,0.62);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.05;
  color: var(--ink-1);
}
.product-icon-title-preview img {
  object-fit: contain;
  flex: 0 0 auto;
}
.admin-preview {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px -24px rgba(60,36,0,0.22);
  overflow: hidden;
}
.admin-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(27,22,18,0.05);
  border-bottom: 1px solid rgba(27,22,18,0.08);
  font-family: 'Vollkorn SC', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.admin-preview-bar button {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(27,22,18,0.08);
  font-size: 12px;
}
.admin-preview-post {
  padding: 34px 6vw 44px;
}

.admin-post-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) max-content;
  gap: 16px;
  padding: 16px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(27,22,18,0.06);
  margin-bottom: 12px;
  align-items: center;
  background: #fff;
  transition: background 200ms var(--ease-soft);
  min-height: 94px;
  overflow: hidden;
  position: relative;
}
.admin-post-row.pinned { border-color: var(--honey); background: rgba(233,135,59,0.06); }
.admin-post-row.unpublished {
  opacity: 0.72;
  background: rgba(255,255,255,0.64);
}
.admin-post-row .thumb {
  width: 80px !important;
  height: 60px !important;
  max-width: 80px;
  max-height: 60px;
  border-radius: 8px;
  background: rgba(27,22,18,0.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(27,22,18,0.28);
  font-family: 'Vollkorn SC', serif;
  font-size: 24px;
  font-weight: 700;
}
.admin-post-row .info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  align-self: center;
}
.admin-post-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.admin-post-meta .status {
  border-radius: 999px;
  padding: 2px 8px;
  font-family: 'Vollkorn SC', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.admin-post-meta .published {
  color: #24603B;
  background: rgba(36,96,59,0.12);
}
.admin-post-meta .unpublished {
  color: var(--ink-3);
  background: rgba(27,22,18,0.08);
}
.admin-post-meta .blog {
  color: #465A8C;
  background: rgba(70,90,140,0.12);
}
.admin-post-meta .product {
  color: var(--honey-deep);
  background: rgba(233,135,59,0.14);
}
.admin-post-meta .carousel-status {
  color: #735C17;
  background: rgba(255,199,42,0.2);
}
.admin-post-meta .pinned {
  color: var(--honey-deep);
  background: rgba(233,135,59,0.14);
}
.admin-post-row .info h4 {
  margin: 0 0 4px;
  font-family: 'Vollkorn SC', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-post-row .info .excerpt {
  font-size: 12px;
  color: var(--ink-3);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-post-row .actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
  flex-wrap: nowrap;
  justify-self: end;
  align-self: center;
}
.icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(27,22,18,0.06);
  color: var(--ink-2);
  transition: all 200ms var(--ease-soft);
}
.icon-btn:hover { background: rgba(27,22,18,0.12); color: var(--ink); }
.icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.icon-btn.pin.active { background: var(--honey); color: #fff; }
.icon-btn.danger:hover { background: #B4432B; color: #fff; }
.admin-action-btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(27,22,18,0.06);
  color: var(--ink-2);
  font-family: 'Vollkorn SC', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 200ms var(--ease-soft), color 200ms var(--ease-soft), transform 200ms var(--ease-soft);
}
.admin-action-btn:hover {
  background: rgba(27,22,18,0.12);
  color: var(--ink);
  transform: translateY(-1px);
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .carousel { grid-template-columns: 1fr; min-height: auto; gap: 24px; }
  .pinned-blog { grid-template-columns: 1fr; gap: 24px; }
  .phone-stage { height: 460px; }
  .phone-frame { height: 440px; }
  .glass { padding: 32px 28px; min-height: auto; }
  .carousel .phone-stage { height: 430px; justify-self: center; }
  .carousel .phone-frame { height: 388px; transform: none; }
  .carousel .phone-stage .phone-shadow { left: 50%; width: 62%; bottom: 8%; }
  .carousel-glass {
    margin-left: 0;
    padding: 34px 28px 34px 116px;
    overflow: hidden;
  }
  .glass-liquid-lens {
    top: 16px;
    bottom: 16px;
    left: 10px;
    width: 116px;
    transform: translateX(-20%);
  }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .more-features { grid-template-columns: 1fr; }
  .contacts-page { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
  .nav .socials { display: none; }
  .home-header { justify-content: flex-end; }
  /* Stack brand + nav on narrow widths so the title never sits on top of menu links */
  .site-header.header-blog,
  .site-header.header-products,
  .site-header.header-admin,
  .site-header.header-contacts,
  .site-header.header-post,
  .site-header.header-product,
  .site-header.home-header.home-header-scrolled {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 10px;
    column-gap: 12px;
    padding-left: max(14px, 4vw);
    padding-right: max(14px, 4vw);
  }
  .site-header.header-blog .brand-mini,
  .site-header.header-products .brand-mini,
  .site-header.header-admin .brand-mini,
  .site-header.header-contacts .brand-mini,
  .site-header.header-post .brand-mini,
  .site-header.header-product .brand-mini,
  .site-header.home-header.home-header-scrolled .brand-mini {
    min-width: 0;
    flex: 0 1 auto;
    max-width: 100%;
  }
  .site-header.header-blog .nav,
  .site-header.header-products .nav,
  .site-header.header-admin .nav,
  .site-header.header-contacts .nav,
  .site-header.header-post .nav,
  .site-header.header-product .nav,
  .site-header.home-header.home-header-scrolled .nav {
    flex: 1 1 100%;
    min-width: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    row-gap: 6px;
  }
  .site-header .brand-mini span {
    display: inline-block;
    max-width: min(280px, 70vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-header .nav a {
    font-size: 12px;
    letter-spacing: 0.06em;
    padding: 4px 0;
  }
  .route-home .hero-brand {
    text-align: center;
    padding-top: 10px;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .route-home .hero-title {
    justify-content: center;
    align-items: baseline;
    width: 100%;
    gap: 8px;
  }
  .route-home .hero-brand .crow {
    height: 56px !important;
    margin-right: 2px;
  }
  .route-home .hero-brand h1 {
    font-size: clamp(34px, 9.6vw, 48px);
    line-height: 0.96;
  }
  .route-home .hero-brand .tagline { margin: 10px auto 0; }
  .route-home .section { padding-top: 24px; padding-bottom: 24px; }
  .route-home .carousel {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
  }
  .route-home .pinned-blog {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    min-height: auto;
  }
  .route-home .carousel .phone-stage,
  .route-home .pinned-phone-stage {
    width: 100%;
    height: 310px;
    margin-left: 0;
    justify-self: center;
    align-self: center;
  }
  .route-home .carousel .phone-frame,
  .route-home .pinned-phone {
    height: 130px;
    transform: none;
  }
  .route-home .carousel-glass,
  .route-home .pinned-glass {
    margin-left: 0;
    width: min(100%, 560px);
    max-width: calc(100vw - 40px);
    padding: 28px 24px;
    overflow: hidden;
  }
  .route-home .carousel-glass .glass-eyebrow,
  .route-home .carousel-glass h2,
  .route-home .pinned-glass .glass-eyebrow,
  .route-home .pinned-glass h2 {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,0.78);
    box-shadow: 0 8px 22px -18px rgba(35,20,0,0.34);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }
  .route-home .pinned-glass-content,
  .route-home .carousel-glass .carousel-glass-content {
    max-width: 100%;
  }
  .post-detail-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .post-share-wrap {
    width: 100%;
    justify-content: flex-start;
  }
  .post-media-small,
  .post-media-medium,
  .post-media-large {
    width: 100%;
  }
  .post-media-left.post-media-wrap,
  .post-media-right.post-media-wrap {
    float: none;
    margin: 28px 0;
  }
  .post-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .media-preview-controls {
    grid-template-columns: 1fr;
  }
  .media-composer-grid {
    grid-template-columns: 1fr;
  }
  .product-admin-fields {
    grid-template-columns: 1fr;
  }
  .admin-post-row {
    grid-template-columns: 64px minmax(0, 1fr);
    max-height: none;
  }
  .admin-post-row .actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .admin-post-row .thumb {
    width: 64px !important;
    height: 48px !important;
  }
  .route-home .features-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ Misc ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--honey), var(--honey-deep));
  z-index: 100;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 100ms linear;
}
.route-home .scroll-progress {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
