/* ============================================================
   OSTRAVA — SellAuth theme
   Dark topographic surface · glass instrument panels
   Type: Space Grotesk (display/labels) + Inter (body)
   ============================================================ */

:root {
  --bg: #0d0e10;
  --bg-2: #121316;
  --line: rgba(255, 255, 255, 0.30);
  --line-soft: rgba(255, 255, 255, 0.10);
  --line-faint: rgba(255, 255, 255, 0.05);
  --ink: #ffffff;
  --ink-70: rgba(255, 255, 255, 0.70);
  --ink-55: rgba(255, 255, 255, 0.55);
  --ink-40: rgba(255, 255, 255, 0.40);
  --ink-30: rgba(255, 255, 255, 0.32);
  --glass: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  --glass-strong: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  --blur: blur(38px) saturate(160%);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-panel:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 40px 100px -20px rgba(0,0,0,0.95),
    0 0 140px -30px rgba(255,255,255,0.12);
  --shadow-card:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 24px 60px -18px rgba(0,0,0,0.85);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: rgba(255,255,255,0.85); color: #0d0e10; }

a { color: inherit; }

/* ---------- Atmosphere layers ---------- */

#ostrava-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.ost-vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 40%, transparent 30%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.ost-noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
  mix-blend-mode: overlay;
}

.ost-main {
  position: relative;
  z-index: 3;
}

/* ---------- Shared primitives ---------- */

.ost-container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.ost-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.ost-panel {
  position: relative;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

/* crisp top hairline */
.ost-hairline::before {
  content: "";
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.65) 50%, transparent 100%);
  opacity: 0.9;
  pointer-events: none;
}

/* corner ticks — retired in favor of a cleaner rounded look */
.ost-corner { display: none; }

@keyframes ostPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Reveal / transition system ---------- */

.ost-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    filter var(--dur) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform, filter;
}
.ost-reveal.ost-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* page enter / exit veil */
.ost-veil {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
html.ost-leaving .ost-veil { opacity: 1; pointer-events: all; }

/* click ripple */
.ost-ripple {
  position: fixed;
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.2);
  z-index: 9999;
  animation: ostRipple 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes ostRipple {
  0%   { transform: translate(-50%, -50%) scale(0.2); opacity: 1; border-width: 1.5px; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; border-width: 0; }
}

/* ---------- Announcement ---------- */

.ost-announcement {
  position: relative;
  z-index: 40;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-70);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--line-faint);
  backdrop-filter: blur(12px);
}
.ost-announcement a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  margin-left: 10px;
  transition: border-color 0.2s ease, text-shadow 0.2s ease;
}
.ost-announcement a:hover { text-shadow: 0 0 12px rgba(255,255,255,0.4); border-color: #fff; }

/* ---------- Pill navbar ---------- */

.ost-nav-wrap {
  position: sticky;
  top: 18px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.ost-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(24,25,29,0.94) 0%, rgba(15,16,19,0.92) 100%);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 18px 50px -12px rgba(0,0,0,0.85);
  max-width: 100%;
}

.ost-nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
}
.ost-nav-brand .ost-logo-mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255,255,255,0.55);
  overflow: hidden;
  flex: none;
}
.ost-nav-brand .ost-logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.ost-nav-brand .ost-logo-mark.img {
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  box-shadow: 0 0 14px rgba(255,255,255,0.30);
  border-radius: 50%;
  overflow: hidden;
}
.ost-nav-brand .ost-logo-mark.img img {
  object-fit: cover;
  border-radius: 50%;
}
/* Monogram fallback for shops without a logo, or if the logo URL fails to load */
.ost-logo-mark,
.ost-nav-brand .ost-logo-mark.ost-logo-fallback {
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
}
.ost-logo-fallback-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  color: #fff;
}
.ost-nav-name { display: inline-flex; align-items: baseline; letter-spacing: -0.02em; }
.ost-nav-name .tld { font-weight: 400; color: rgba(255,255,255,0.5); }
.ost-footer-brand .brand-name { display: inline-flex; align-items: baseline; letter-spacing: -0.02em; }
.ost-footer-brand .brand-name .tld { font-weight: 400; color: rgba(255,255,255,0.5); }

.ost-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ost-nav a.ost-nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, text-shadow 0.25s ease;
}
.ost-nav a.ost-nav-link:hover,
.ost-nav a.ost-nav-link.ost-active {
  color: #fff;
  background: rgba(255,255,255,0.07);
  text-shadow: 0 0 14px rgba(255,255,255,0.45);
}

.ost-nav a.ost-nav-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  color: #0d0e10;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(255,255,255,0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.ost-nav a.ost-nav-btn:hover { box-shadow: 0 0 28px rgba(255,255,255,0.6); transform: translateY(-1px); }

.ost-nav-divider {
  width: 1px;
  height: 22px;
  margin: 0 4px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.25), transparent);
}

.ost-nav-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  color: var(--ink-55);
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
}
.ost-nav-icon:hover { color: #fff; background: rgba(255,255,255,0.07); }
.ost-nav-icon .ost-cart-count {
  position: absolute;
  top: 0; right: 0;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #fff;
  color: #0d0e10;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

/* mobile nav */
.ost-nav-toggle { display: none; }
@media (max-width: 860px) {
  .ost-nav-links { display: none; }
  .ost-nav.ost-open .ost-nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    padding: 12px;
    border-radius: 24px;
    background: rgba(15,16,19,0.96);
    backdrop-filter: var(--blur);
    border: 1px solid var(--line-soft);
    box-shadow: 0 30px 70px -20px rgba(0,0,0,0.9);
  }
  .ost-nav { position: relative; width: 100%; justify-content: space-between; }
  .ost-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--line-soft);
    color: #fff;
    cursor: pointer;
  }
}

/* ---------- Hero (glass instrument panel) ---------- */

.ost-hero {
  position: relative;
  padding: clamp(70px, 12vh, 130px) 16px clamp(60px, 9vh, 110px);
  display: flex;
  justify-content: center;
}

.ost-hero-aura {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 100vw);
  height: 540px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 35%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
}

.ost-hero-panel {
  position: relative;
  width: min(920px, 100%);
  padding: clamp(44px, 7vw, 64px) clamp(24px, 7vw, 72px) clamp(40px, 6vw, 56px);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.ost-hero-logo {
  width: clamp(72px, 11vw, 104px);
  height: auto;
  margin: 0 auto 22px;
  display: block;
  filter: drop-shadow(0 0 26px rgba(255,255,255,0.35)) drop-shadow(0 10px 30px rgba(0,0,0,0.6));
  transform: translateZ(24px);
  animation: ostFloat 5.5s ease-in-out infinite;
}
@keyframes ostFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.ost-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 0 1px rgba(255,255,255,0.6), 0 2px 32px rgba(255,255,255,0.22);
  margin-bottom: 20px;
  transform: translateZ(20px);
}
.ost-hero-title .tld {
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.02em;
}

a.ost-hero-subtitle { text-decoration: none; transition: color 0.25s ease, text-shadow 0.25s ease; }
a.ost-hero-subtitle:hover { color: #fff; text-shadow: 0 0 14px rgba(255,255,255,0.5); }
.ost-hero-subtitle {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 38px;
  transform: translateZ(10px);
}

.ost-hero-cta {
  display: inline-block;
  margin-bottom: 42px;
  padding: 13px 34px;
  border-radius: 999px;
  background: #fff;
  color: #0d0e10;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(255,255,255,0.35);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  transform: translateZ(16px);
}
.ost-hero-cta:hover { box-shadow: 0 0 44px rgba(255,255,255,0.65); transform: translateZ(16px) translateY(-2px); }

.ost-hero-search {
  max-width: 520px;
  margin: 0 auto 40px;
  transform: translateZ(12px);
}
.ost-hero-search input {
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ost-hero-search input::placeholder { color: var(--ink-40); letter-spacing: 0.06em; }
.ost-hero-search input:focus {
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 0 24px -6px rgba(255,255,255,0.35);
}

.ost-hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 56px);
  font-family: var(--font-display);
  transform: translateZ(15px);
}
.ost-meta-item { text-align: center; }
.ost-meta-item .k {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 8px;
}
.ost-meta-item .v {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
}
.ost-meta-item .v.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ost-meta-item .v.live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.95);
  animation: ostPulse 2.4s ease-in-out infinite;
}

/* ---------- Section scaffolding ---------- */

.ost-section {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0;
}

.ost-section-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.ost-section-head .ost-label { display: block; margin-bottom: 14px; }
.ost-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 40px);
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(255,255,255,0.14);
}
.ost-section-sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-55);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.ost-section-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto 16px;
  width: min(360px, 70%);
}
.ost-section-rule::before,
.ost-section-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

/* ---------- Product cards ---------- */

.ost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 22px;
}

.ost-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}
.ost-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.28);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 42px 90px -22px rgba(0,0,0,0.95),
    0 0 90px -30px rgba(255,255,255,0.18);
}

/* sweeping hairline on hover */
.ost-card::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  z-index: 3;
  transition: left 0.8s var(--ease-out);
}
.ost-card:hover::before { left: 100%; }

.ost-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 80% at 50% 20%, rgba(255,255,255,0.06), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--line-faint);
}
.ost-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease-out), filter 0.9s ease;
  filter: saturate(0.92);
}
.ost-card:hover .ost-card-media img { transform: scale(1.08); filter: saturate(1.05); }

.ost-card-media .ost-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-30);
}

.ost-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(13,14,16,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
}

.ost-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  flex: 1;
}

.ost-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: 0;
  color: #fff;
  line-height: 1.3;
}

.ost-card-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ost-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-faint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ost-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 0 16px rgba(255,255,255,0.25);
}
.ost-price .from {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-right: 6px;
}

.ost-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.ost-stock::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.9);
  animation: ostPulse 2.4s ease-in-out infinite;
}
.ost-stock.out { color: var(--ink-30); }
.ost-stock.out::before { background: rgba(255,255,255,0.25); box-shadow: none; animation: none; }

.ost-card-cta {
  margin-top: 2px;
  text-align: center;
  padding: 10px 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-70);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ost-card:hover .ost-card-cta {
  background: #fff;
  border-color: #fff;
  color: #0d0e10;
  box-shadow: 0 0 22px rgba(255,255,255,0.4);
}

/* ---------- Feedback / reviews ---------- */

.ost-feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.ost-feedback-card {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-out), border-color 0.45s ease;
}
.ost-feedback-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.24);
}

.ost-stars {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 12px;
}
.ost-stars svg { width: 14px; height: 14px; }
.ost-stars .on { fill: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,0.55)); }
.ost-stars .off { fill: rgba(255,255,255,0.14); }

.ost-feedback-msg {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-70);
  margin-bottom: 16px;
}

.ost-feedback-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-faint);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-40);
}

/* ---------- Features / FAQ / text blocks ---------- */

.ost-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.ost-feature {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-out), border-color 0.45s ease;
}
.ost-feature:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.24); }
.ost-feature i {
  font-size: 18px;
  color: #fff;
  text-shadow: 0 0 16px rgba(255,255,255,0.5);
  margin-bottom: 14px;
  display: block;
}
.ost-feature h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}
.ost-feature p { font-size: 13px; line-height: 1.6; color: var(--ink-55); }

/* ---------- Payment methods ---------- */

.ost-pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}
.ost-pay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 14px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}
.ost-pay-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.26);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 30px 70px -18px rgba(0,0,0,0.9),
    0 0 60px -24px rgba(255,255,255,0.16);
}
.ost-pay-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-soft);
  font-size: 18px;
  color: #fff;
  overflow: hidden;
}
.ost-pay-icon svg { width: 26px; height: 26px; display: block; }
.ost-pay-icon i { text-shadow: 0 0 14px rgba(255,255,255,0.3); }
.ost-pay-name {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-70);
  text-align: center;
}

.ost-faq-item {
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.ost-faq-item[open] { border-color: rgba(255,255,255,0.24); }
.ost-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.ost-faq-item summary::-webkit-details-marker { display: none; }
.ost-faq-item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 18px;
  color: var(--ink-40);
  transition: transform 0.3s var(--ease-out);
}
.ost-faq-item[open] summary::after { transform: rotate(45deg); color: #fff; }
.ost-faq-item .ost-faq-body {
  padding: 0 22px 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-55);
}

.ost-text-block {
  padding: clamp(30px, 5vw, 48px);
}
.ost-text-block p { font-size: 14.5px; line-height: 1.75; color: var(--ink-70); white-space: pre-line; }

/* ---------- Footer ---------- */

.ost-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 80px);
  padding: clamp(40px, 6vw, 64px) 0 34px;
  border-top: 1px solid var(--line-faint);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.45));
}
.ost-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 42px;
}
@media (max-width: 760px) { .ost-footer-grid { grid-template-columns: 1fr; } }

.ost-footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ost-footer p.tagline { font-size: 13px; line-height: 1.6; color: var(--ink-40); max-width: 320px; }

.ost-footer h4 {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 16px;
}
.ost-footer ul { list-style: none; }
.ost-footer ul li { margin-bottom: 10px; }
.ost-footer ul a {
  font-size: 13px;
  color: var(--ink-55);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.ost-footer ul a:hover { color: #fff; text-shadow: 0 0 12px rgba(255,255,255,0.4); }

.ost-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-30);
}
.ost-footer-bottom .line {
  flex: 1;
  height: 1px;
  margin: 0 22px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
@media (max-width: 640px) {
  .ost-footer-bottom { flex-direction: column; }
  .ost-footer-bottom .line { width: 100%; margin: 8px 0; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ost-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .ost-card, .ost-feedback-card, .ost-feature, .ost-hero-panel { transition: none; }
  .ost-meta-item .v.live::before, .ost-stock::before { animation: none; }
  .ost-veil { transition: none; }
}

/* ---------- SellAuth platform compatibility layer ---------- */

/* master.njk wraps announcement+navbar in a sticky header; the pill nav
   handles its own stickiness, so neutralize the wrapper */
header.sticky-top {
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* app wrapper must sit above the canvas */
.flex-wrapper, #app { position: relative; z-index: 3; }
body { background: var(--bg) !important; }
.bg-image { z-index: 0 !important; opacity: 0.35; }

/* hero badge + secondary action */
.ost-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.ost-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}
.ost-hero-actions .ost-hero-cta { margin-bottom: 0; }
.ost-hero-cta.ghost {
  background: transparent;
  color: var(--ink-70);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: none;
}
.ost-hero-cta.ghost:hover { color: #fff; border-color: rgba(255,255,255,0.5); box-shadow: 0 0 22px rgba(255,255,255,0.18); }
.ost-hero--short { padding-top: clamp(40px, 6vh, 70px); padding-bottom: clamp(36px, 5vh, 60px); }
.ost-hero--medium { padding-top: clamp(56px, 9vh, 100px); padding-bottom: clamp(48px, 7vh, 85px); }

/* multiple badges on media */
.ost-badges {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ost-badges .ost-badge { position: static; }

/* snippet card fills grid columns (catalog page uses bootstrap cols) */
.ost-card--snippet { height: 100%; }
.products .col-12 .ost-card, .row .ost-card--snippet { height: 100%; }

/* feedback reply */
.ost-feedback-reply {
  margin: -6px 0 16px;
  padding: 10px 14px;
  border-left: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.03);
  border-radius: 0 10px 10px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-55);
}
.ost-feedback-reply span { color: var(--ink-70); font-weight: 600; }

/* footer payment icons */
.ost-footer-payments {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  font-size: 20px;
  color: var(--ink-40);
}

/* dark bootstrap modal (group modals, login) */
.ost-modal, .modal-content {
  background: rgba(18, 19, 22, 0.97);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ink);
}
.modal-header { border-bottom: 1px solid var(--line-faint); }
.modal-header .modal-title { font-family: var(--font-display); font-weight: 600; }
.btn-close { filter: invert(1) grayscale(1); }

/* currency selector (Choices.js) inside the pill nav */
.ost-nav-currency { min-width: 74px; }
.ost-nav-currency .choices { margin-bottom: 0; }
.ost-nav-currency .choices__inner {
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  min-height: 34px;
  padding: 4px 8px 4px 12px !important;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-70);
}
.ost-nav-currency .choices__list--single { padding: 2px 14px 0 2px; }
.ost-nav-currency .choices__list--dropdown, .ost-nav-currency .choices__list[aria-expanded] {
  background: rgba(15,16,19,0.98);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}
.ost-nav-currency .choices__item--choice { font-size: 11px; color: var(--ink-70); }
.ost-nav-currency .choices__item--choice.is-highlighted { background: rgba(255,255,255,0.08); color: #fff; }
.ost-nav-currency select { 
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink-70);
  font-size: 11px;
  padding: 6px 10px;
}

/* keep reveal elements visible inside the visual builder */
.builder .ost-reveal, [data-builder] .ost-reveal { opacity: 1; transform: none; filter: none; }

[x-cloak] { display: none !important; }
.ost-price .ccy { text-transform: uppercase; font-size: 0.8em; letter-spacing: 0.06em; }
#ost-product-grid > .ost-card { height: auto; }

/* feedback inner card — standalone glass card (works in wall + feedback page) */
.ost-feedback-inner {
  position: relative;
  height: 100%;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-out), border-color 0.45s ease;
}
.ost-feedback-inner:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.24); }

/* ---------- Old-skin neutralizers (pro.css / custom.css load before this file) ---------- */
html { background: var(--bg); }
body, .flex-wrapper, #app {
  background: transparent !important;
  background-image: none !important;
}
body { font-family: var(--font-body) !important; color: var(--ink); }
body::before, body::after { content: none !important; }
.flex-wrapper::before, .flex-wrapper::after { content: none !important; }
header.sticky-top::before, header.sticky-top::after { content: none !important; }

/* old-skin nav styling must not leak into the pill nav */
.ost-nav, .ost-nav * { box-sizing: border-box; }
.ost-nav a { text-decoration: none !important; }
.ost-nav-wrap { background: transparent !important; border: 0 !important; box-shadow: none !important; }

/* the shop name in nav uses display font, not the old skin's */
.ost-nav-brand, .ost-nav-name { font-family: var(--font-display) !important; }
.ost-hero-title { font-family: var(--font-display) !important; }

/* headings inside ost sections use the display face */
.ost-section h2, .ost-section h3, .ost-hero-panel h1 { font-family: var(--font-display); }
