:root {
  --background: #070706;
  --foreground: #f5eedf;
  --card: #12110f;
  --muted: #9a948a;
  --gold: #c8942e;
  --gold-bright: #f2c45f;
  --line: rgba(218, 168, 63, 0.32);
  --green: #9be239;
  --radius: 1rem;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { background: var(--background); color-scheme: dark; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(203, 151, 42, 0.12), transparent 27rem),
    radial-gradient(circle at 90% 30%, rgba(203, 151, 42, 0.06), transparent 22rem),
    var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

button { font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shell { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.loading-state, .empty-state, .error-state { margin: 18px 0; padding: 28px; border: 1px solid #332f28; border-radius: 18px; background: rgba(17, 16, 14, 0.88); color: var(--muted); text-align: center; }
.error-state { border-color: rgba(240, 162, 126, 0.45); color: #f0a27e; }
.site-noscript { margin: 20px auto; padding: 16px; border: 1px solid rgba(240, 162, 126, 0.45); border-radius: 14px; color: #f0a27e; }

.publisher-page { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.publisher-card { width: min(520px, 100%); padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(31, 27, 20, 0.98), rgba(13, 13, 12, 0.98)); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55); text-align: center; }
.publisher-mark { margin-bottom: 32px; color: var(--gold-bright); font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: 2.6rem; letter-spacing: 0.06em; }
.publisher-mark span { display: block; margin-top: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.42em; transform: translateX(0.21em); }
.publisher-card h1 { margin-inline: auto; font-size: clamp(2.2rem, 8vw, 4rem); }
.publisher-message { min-height: 48px; margin: 22px auto; color: #c9c1b5; line-height: 1.55; }
.publisher-message.success { color: var(--green); }
.publisher-message.error, .publisher-message.invalid { color: #f0a27e; }
.publisher-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--gold-bright); border-radius: 999px; background: var(--gold-bright); color: #171106; cursor: pointer; font-weight: 900; text-decoration: none; }
.publisher-button:hover, .publisher-button:focus-visible { background: #ffd579; outline: none; }
.publisher-button:disabled { cursor: wait; opacity: 0.65; }
.publisher-help { max-width: 390px; margin: 22px auto 0; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 104px;
  margin-inline: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.brand-lockup { display: flex; align-items: center; gap: 13px; color: var(--gold-bright); }
.brand-lockup > div { display: grid; justify-items: center; line-height: 0.76; }
.brand-lockup strong {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 3.7rem;
  letter-spacing: 0.015em;
  color: #dda537;
  background: linear-gradient(180deg, #f3cb69 0%, #b47714 58%, #e9b84f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.65));
}
.brand-lockup > div > span { margin-top: 10px; font-size: 0.88rem; font-weight: 900; letter-spacing: 0.37em; transform: translateX(0.18em); }
.brand-lockup b { color: var(--gold); font-size: 0.78em; letter-spacing: 0; }
.brand-wing { width: 54px; display: grid; gap: 5px; justify-items: end; transform: translateY(-8px); }
.brand-wing i { display: block; height: 5px; background: linear-gradient(90deg, rgba(193, 132, 24, 0.25), #e7b64c); clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); }
.brand-wing i:nth-child(1) { width: 54px; }
.brand-wing i:nth-child(2) { width: 43px; }
.brand-wing i:nth-child(3) { width: 31px; }
.brand-wing.right { justify-items: start; transform: translateY(-8px) scaleX(-1); }

.header-meta { position: absolute; right: 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.intro { padding: 58px 0 30px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: var(--gold-bright); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 0; font-family: Georgia, serif; font-size: clamp(1.175rem, 3vw, 2.325rem); line-height: 0.94; letter-spacing: -0.045em; text-transform: uppercase; }
.updated { margin-bottom: 4px; color: var(--muted); font-size: 0.86rem; }

.telegram-cta {
  margin-top: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(65, 169, 227, 0.5);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.14), rgba(17, 16, 14, 0.94) 62%);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.25);
}
.telegram-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #229ed9; color: white; font-size: 1.35rem; transform: rotate(-24deg); }
.telegram-copy { display: grid; gap: 4px; }
.telegram-copy strong { color: white; font-size: 1rem; }
.telegram-copy span { color: #aebdca; font-size: 0.8rem; line-height: 1.4; }
.telegram-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #50b8e8; border-radius: 999px; background: #229ed9; color: white; font-size: 0.8rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.telegram-button:hover, .telegram-button:focus-visible { background: #38afe5; outline: 2px solid rgba(80, 184, 232, 0.35); outline-offset: 3px; }

.filter-wrap { display: flex; gap: 9px; padding: 20px 0 8px; overflow-x: auto; }
.filter { min-height: 42px; padding: 0 18px; border: 1px solid #39352e; border-radius: 999px; background: #11100e; color: #c7c0b3; cursor: pointer; white-space: nowrap; }
.filter:hover, .filter:focus-visible { border-color: var(--gold); color: var(--foreground); outline: none; }
.filter.active { border-color: var(--gold-bright); background: var(--gold-bright); color: #161106; font-weight: 800; }

.featured, .compact { padding-top: 40px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.035em; }
.section-heading-copy { max-width: 760px; }
.section-heading-copy p { max-width: 700px; margin: 10px 0 0; color: #b8b0a3; font-size: 0.92rem; line-height: 1.55; }
.section-heading > span { color: var(--muted); font-size: 0.82rem; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.strain-card { overflow: hidden; border: 1px solid #39342b; border-radius: 22px; background: linear-gradient(145deg, rgba(31, 27, 20, 0.98), rgba(13, 13, 12, 0.98)); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32); }
.strain-card:hover { border-color: rgba(242, 196, 95, 0.58); }
.image-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #15120e; }
.image-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(7, 7, 6, 0.7)); pointer-events: none; }
.image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; filter: contrast(1.04) saturate(0.95); transition: transform 350ms ease; }
.strain-card:hover img { transform: scale(1.025); }
.strain-badge, .availability { position: absolute; z-index: 2; top: 15px; border-radius: 999px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.strain-badge { left: 15px; padding: 8px 11px; background: var(--gold-bright); color: #171106; }
.strain-badge.limited { background: #1d1a17; color: var(--gold-bright); border: 1px solid var(--gold); }
.availability { right: 15px; padding: 8px 10px; background: rgba(7, 7, 6, 0.76); border: 1px solid rgba(155, 226, 57, 0.48); color: var(--green); backdrop-filter: blur(8px); }
.promotion-badge { position: absolute; z-index: 2; top: 53px; right: 15px; max-width: calc(100% - 30px); padding: 8px 11px; border: 1px solid var(--gold-bright); border-radius: 999px; background: rgba(7, 7, 6, 0.9); color: var(--gold-bright); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.card-body { padding: 20px; }
.strain-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.strain-title-row h3 { margin-bottom: 0; font-family: Georgia, serif; font-size: 1.55rem; letter-spacing: -0.025em; }
.type-pill { padding: 6px 8px; border: 1px solid #413b31; border-radius: 999px; color: #b8b0a3; font-size: 0.7rem; }
.flower-type { margin: 9px 0 0; color: var(--gold-bright); font-size: 0.76rem; font-weight: 700; }
.notes { min-height: 40px; margin: 8px 0 16px; color: #c9c1b5; font-size: 0.88rem; line-height: 1.45; }
.notes.muted { color: #777168; }
.prices { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.prices div { display: flex; align-items: end; justify-content: space-between; gap: 8px; padding-top: 15px; }
.prices div + div { padding-left: 15px; border-left: 1px solid var(--line); }
.prices div:only-child { grid-column: 1 / -1; }
.prices span { color: var(--gold); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }
.prices strong { color: var(--gold-bright); font-family: Georgia, serif; font-size: 1.45rem; }
.price-unavailable { grid-column: 1 / -1; padding-top: 15px; color: var(--muted) !important; font-size: 0.78rem !important; font-weight: 700; letter-spacing: 0 !important; }
.view-button, .compact-view { border: 1px solid var(--line); background: transparent; color: var(--gold-bright); cursor: pointer; font-weight: 800; }
.view-button { width: 100%; min-height: 43px; margin-top: 16px; border-radius: 999px; }
.view-button:hover, .view-button:focus-visible, .compact-view:hover, .compact-view:focus-visible { border-color: var(--gold-bright); background: rgba(242, 196, 95, 0.08); outline: none; }

.compact { padding-bottom: 52px; }
.budget-explainer { margin: 0 0 16px; border: 1px solid rgba(242, 196, 95, 0.34); border-radius: 16px; background: linear-gradient(135deg, rgba(242, 196, 95, 0.09), rgba(17, 16, 14, 0.88)); }
.budget-explainer summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; color: var(--gold-bright); cursor: pointer; font-size: 0.9rem; font-weight: 900; list-style: none; }
.budget-explainer summary::-webkit-details-marker { display: none; }
.budget-explainer summary::after { content: '+'; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; transition: transform 180ms ease; }
.budget-explainer[open] summary::after { transform: rotate(45deg); }
.budget-explainer summary:focus-visible { border-radius: 16px; outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.budget-explainer p { margin: 0; padding: 0 18px 18px; color: #aaa296; font-size: 0.9rem; line-height: 1.65; }
.compact-list { border: 1px solid #332f28; border-radius: 20px; overflow: hidden; background: rgba(17, 16, 14, 0.88); }
.compact-row { min-height: 94px; display: grid; grid-template-columns: 34px 64px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 20px; }
.compact-row + .compact-row { border-top: 1px solid #2c2924; }
.compact-row .index { color: #665f53; font-family: Georgia, serif; }
.compact-thumb { width: 64px; height: 64px; border: 1px solid #3d382f; border-radius: 12px; object-fit: cover; background: #0b0b0a; }
.compact-copy { min-width: 0; }
.compact-copy > div { display: flex; align-items: center; gap: 9px; }
.compact-copy strong { font-family: Georgia, serif; font-size: 1.1rem; }
.compact-copy > span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-badge { padding: 4px 7px; border-radius: 999px; background: rgba(242, 196, 95, 0.12); color: var(--gold-bright); font-size: 0.62rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.mini-badge.sale { background: rgba(155, 226, 57, 0.14); color: var(--green); }
.mini-badge.promo { border: 1px solid rgba(242, 196, 95, 0.45); background: rgba(242, 196, 95, 0.08); }
.compact-prices { display: flex; gap: 12px; }
.compact-prices span { color: var(--gold); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.08em; }
.compact-prices strong { color: var(--foreground); font-family: Georgia, serif; font-size: 1rem; }
.compact-view { min-height: 38px; padding: 0 13px; border-radius: 999px; font-size: 0.72rem; }
.available-dot { color: #b5c89a; font-size: 0.78rem; }
.available-dot i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(155, 226, 57, 0.48); }

footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); }
footer > span { color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.24em; }
footer p { margin: 0; font-size: 0.78rem; }
footer a { color: #68c8f3; font-size: 0.78rem; font-weight: 800; text-decoration: none; }
footer a:hover, footer a:focus-visible { color: white; text-decoration: underline; outline: none; }

.detail-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(12px); }
.detail-modal { position: relative; width: min(940px, 100%); max-height: calc(100dvh - 40px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); overflow: auto; border: 1px solid rgba(242, 196, 95, 0.52); border-radius: 24px; background: #0e0d0b; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; background: rgba(6, 6, 5, 0.78); color: white; cursor: pointer; font-size: 1.7rem; line-height: 1; }
.detail-media { min-width: 0; padding: 14px; border-right: 1px solid var(--line); }
.detail-media > img { width: 100%; aspect-ratio: 1 / 1; display: block; border-radius: 16px; object-fit: contain; background: #050504; }
.thumb-strip { display: flex; gap: 9px; margin-top: 12px; overflow-x: auto; }
.thumb-strip button { width: 62px; height: 62px; flex: 0 0 auto; padding: 2px; border: 1px solid #38342d; border-radius: 10px; background: #090908; cursor: pointer; }
.thumb-strip button.active { border-color: var(--gold-bright); }
.thumb-strip img { width: 100%; height: 100%; display: block; border-radius: 7px; object-fit: cover; }
.detail-copy { padding: 54px 30px 30px; }
.detail-badge { display: inline-block; padding: 7px 9px; border-radius: 999px; background: var(--gold-bright); color: #171106; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.detail-copy h2 { margin: 16px 0 8px; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 0.95; }
.detail-type { color: var(--gold-bright); font-size: 0.8rem; font-weight: 800; }
.detail-notes { margin: 20px 0 0; color: #ded5c7; line-height: 1.5; }
.detail-description { margin: 22px 0; color: #aaa296; font-size: 0.92rem; line-height: 1.65; }
.detail-prices { display: flex; gap: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--gold); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; }
.detail-prices strong { margin-left: 5px; color: var(--foreground); font-family: Georgia, serif; font-size: 1.45rem; }
.detail-promotion { display: grid; gap: 6px; margin-top: 18px; padding: 15px; border: 1px solid rgba(242, 196, 95, 0.5); border-radius: 14px; background: rgba(242, 196, 95, 0.08); }
.detail-promotion strong { color: var(--gold-bright); font-size: 1.05rem; letter-spacing: 0.08em; }
.detail-promotion span { color: var(--foreground); font-size: 0.78rem; font-weight: 800; }
.detail-promotion p { margin: 2px 0 0; color: var(--muted); font-size: 0.74rem; line-height: 1.45; }

@media (max-width: 820px) {
  .compact-row { grid-template-columns: 28px 58px minmax(0, 1fr) auto auto; }
  .compact-thumb { width: 58px; height: 58px; }
  .available-dot { display: none; }
  .detail-modal { grid-template-columns: 1fr; }
  .detail-media { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .publisher-card { padding: 32px 20px; }
  .shell, .header-inner { width: min(100% - 22px, 1120px); }
  .site-header { position: static; }
  .header-inner { min-height: 94px; }
  .brand-lockup { gap: 9px; }
  .brand-lockup strong { font-size: 3rem; }
  .brand-lockup > div > span { font-size: 0.72rem; }
  .brand-wing { width: 40px; gap: 4px; }
  .brand-wing i { height: 4px; }
  .brand-wing i:nth-child(1) { width: 40px; }
  .brand-wing i:nth-child(2) { width: 32px; }
  .brand-wing i:nth-child(3) { width: 23px; }
  .header-meta { display: none; }
  .intro { padding-top: 40px; align-items: start; flex-direction: column; }
  h1 { max-width: 330px; font-size: clamp(1.15rem, 5.5vw, 1.7rem); line-height: 0.98; }
  .telegram-cta { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px; }
  .telegram-button { grid-column: 1 / -1; width: 100%; }
  .filter-wrap { scrollbar-width: none; }
  .card-grid { grid-template-columns: 1fr; }
  .image-wrap { aspect-ratio: 1 / 1; }
  .card-body { padding: 18px; }
  .compact-row { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 12px 14px; }
  .compact-row .index { display: none; }
  .compact-thumb { width: 52px; height: 52px; }
  .compact-prices { grid-column: 2; justify-content: flex-start; }
  .compact-view { grid-column: 2; width: max-content; }
  .detail-backdrop { padding: 10px; }
  .detail-modal { max-height: calc(100dvh - 20px); border-radius: 18px; }
  .detail-media { padding: 10px; }
  .detail-copy { padding: 24px 18px 22px; }
  .detail-copy h2 { padding-right: 42px; }
  footer { min-height: 120px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 9px; padding-block: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
