/* CANNA reference-aligned presentation. Existing application behavior is unchanged. */
@font-face {
  font-family: 'Canna Condensed';
  src: url('./assets/canna-condensed-regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: 'Canna Condensed';
  src: url('./assets/canna-condensed-bold.otf') format('opentype');
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}
:root {
  --ink: #0a0b09;
  --soft: #f7f8f5;
  --line: #e1e4dd;
  --muted: #5b6257;
  --green: #5b9827;
  --green-dark: #326f0d;
  --green-bright: #77b635;
  --acid: #e6efd8;
  --shell: min(1320px, calc(100% - 112px));
  --display: 'Canna Condensed', 'Arial Narrow', sans-serif;
}
html { scroll-padding-top: 112px; }
body { background: #fff; overflow-x: clip; }
button, a, input { touch-action: manipulation; }
.topline {
  min-height: 32px;
  padding: 5px max(32px, calc((100% - 1320px) / 2));
  font-family: var(--display);
  font-size: .875rem;
  letter-spacing: .1em;
}
.topline-center { letter-spacing: .24em; }
.topline > :first-child, .topline > :last-child { color: #bec5b8; }
.site-header {
  min-height: 96px;
  padding-inline: max(56px, calc((100% - 1320px) / 2));
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 30px;
  background: #fff;
  backdrop-filter: none;
  border-bottom-color: #e9ebe5;
}
.brand { display: block; }
.brand .brand-mark { display: none; }
.brand-word {
  display: block;
  width: 124px;
  height: 77.376px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background: white url('./assets/canna-reference.png') 6.8695% 2.4672% / 915.2% auto no-repeat;
}
.desktop-nav { gap: clamp(24px, 3.5vw, 58px); }
.desktop-nav a, .mobile-nav a, .footer-links a {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}
.header-actions { gap: 5px; }
.mobile-nav { border-top: 1px solid var(--line); box-shadow: 0 12px 24px #0a0b090a; }
.search-panel { padding: 24px max(32px, calc((100% - 1320px) / 2)); }
.search-panel label { font-family: var(--display); font-size: .9375rem; }
.search-line input { font-family: var(--display); font-size: 2rem; }

.hero {
  min-height: clamp(420px, 35vw, 520px);
  background-position: center;
}
.hero-shade {
  background: linear-gradient(90deg, #050803a8 0%, #05080361 28%, transparent 58%);
}
.hero-content { padding: 42px 0 54px 40px; }
.hero-bracket {
  top: 35px;
  bottom: 140px;
  width: 132px;
  height: auto;
  min-height: 230px;
  border: 0;
  background: var(--green-bright);
  clip-path: polygon(18% 0, 100% 0, 100% 2.3%, 20% 2.3%, 4% 8%, 4% 92%, 20% 97.7%, 100% 97.7%, 100% 100%, 18% 100%, 0 94%, 0 6%);
}
.hero-bracket::before, .hero-bracket::after { display: none; }
.hero-kicker { font-family: var(--display); font-size: .875rem; font-weight: 600; letter-spacing: .16em; }
.hero h1 {
  width: 46%;
  max-width: 630px;
  font-family: var(--display);
  font-size: clamp(88px, 11.4vw, 160px);
  line-height: .95;
  letter-spacing: .045em;
  text-shadow: 0 4px 22px #0003;
}
.hero h1 small { margin-top: 9px; font-size: .215em; line-height: 1.2; letter-spacing: .34em; }
.hero-long-title h1 { font-size: clamp(3.5rem, 6.5vw, 6rem); line-height: 1.05; }
.hero-long-title h1 small { font-size: .3em; }
.hero-copy { max-width: 375px; margin-top: 24px; font-size: 1rem; line-height: 1.6; color: #fff; }
.hero-actions { margin-top: 24px; gap: 10px; }
.hero-actions .button { font-family: var(--display); font-size: .9375rem; letter-spacing: .08em; padding-inline: 18px; box-shadow: none; }
.hero-arrow { width: 40px; font-family: Arial, sans-serif; font-size: 48px; }
.hero-prev { left: 8px; }
.hero-next { right: 8px; }
.hero-dots button { width: 12px; height: 12px; }

.catalog { padding-block: 60px 72px; }
.section-heading { grid-template-columns: 24px minmax(0, 1fr); gap: 22px; }
.section-heading h2, .collections-heading h2 {
  font-family: var(--display);
  font-size: clamp(2.125rem, 3.3vw, 3rem);
  letter-spacing: .12em;
  line-height: 1.1;
  text-wrap: balance;
}
.section-heading .eyebrow { margin: 8px 0 0; font-family: var(--display); font-size: .8125rem; color: var(--ink); letter-spacing: .66em; }
.mini-bracket {
  width: 24px;
  height: 65px;
  border: 0;
  background: var(--green);
  clip-path: polygon(34% 0, 100% 0, 100% 9%, 43% 9%, 22% 17%, 22% 83%, 43% 91%, 100% 91%, 100% 100%, 34% 100%, 0 87%, 0 13%);
}
.catalog-toolbar { margin: 30px 0 28px; gap: 20px; }
.filters { gap: 8px; }
.filter-button { min-height: 44px; padding-inline: 22px; font-family: var(--display); font-size: 1rem; letter-spacing: .055em; border-color: #bfc3ba; }
.filter-button.active { box-shadow: none; }
.results-count { font-size: .8125rem; font-weight: 500; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; row-gap: 44px; }
.product-card { padding: 0; border: 0; background: white; }
.product-card:hover { box-shadow: none; transform: none; }
.product-media {
  aspect-ratio: 225 / 240;
  min-height: 0;
  width: 100%;
  background-color: white;
  background-image: url('./assets/canna-reference.png');
  background-size: 508.4444% 572.9167%;
  background-position-y: 58.5903%;
}
.product-media.sprite-0 { background-position-x: 2.8292%; }
.product-card[data-product='zooted'] .product-media { background-position-x: 26.7682%; }
.product-media.sprite-1 { background-position-x: 51.5778%; }
.product-media.sprite-2 { background-position-x: 99.1295%; }
.product-media.sprite-3 { background-position-x: 74.864%; }
.product-media.sprite-4 {
  background-image: url('./assets/catalog-products.png');
  background-size: 500% auto;
  background-position: 100% 80%;
}
.product-badge { top: 6px; padding: 5px 9px; background: #f2f4ee; color: #35432b; font-family: var(--display); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.product-favorite { top: 6px; right: 4px; border-color: #dce0d6; box-shadow: none; }
.product-category { margin: 16px 0 4px; font-family: var(--display); font-size: .8125rem; letter-spacing: .12em; }
.product-name { min-height: 0; font-family: var(--display); font-size: 1.625rem; line-height: 1.16; letter-spacing: .005em; }
.product-detail { margin: 8px 0 18px; min-height: 0; font-size: .875rem; line-height: 1.5; }

.collections { padding-block: 48px 42px; background: #050604; }
.collections-heading { align-items: center; }
.collections-heading h2 { font-size: 2.375rem; }
.collections-heading .eyebrow { color: #bdc8b4; font-family: var(--display); font-size: .8125rem; font-weight: 500; letter-spacing: .12em; }
.collection-grid { margin-top: 18px; gap: 18px; }
.collection-card { padding: 0; background: transparent; border: 0; }
.collection-card:hover { transform: none; }
.collection-image {
  height: auto;
  aspect-ratio: 275 / 190;
  background-color: #050604;
  background-image: url('./assets/canna-reference.png');
  background-size: 416% 723.6842%;
  background-position-y: 88.0169%;
}
.collection-image.sprite-0 { background-position-x: 3.4522%; }
.collection-image.sprite-1 { background-position-x: 39.2405%; }
.collection-image.sprite-2 { background-position-x: 67.8941%; }
.collection-image.sprite-3 { background-position-x: 96.6628%; }
.collection-meta { padding: 16px 14px 5px; text-align: center; border: 0; }
.collection-meta b { font-family: var(--display); font-size: 1.375rem; letter-spacing: .06em; }
.collection-meta small { margin-top: 6px; font-size: .8125rem; color: #bdc4b7; }
.collection-arrow { display: none; }
.trade-strip b { font-family: var(--display); }
.trade-strip span { font-size: .8125rem; line-height: 1.55; }
.site-footer { min-height: 168px; padding: 26px max(56px, calc((100% - 1320px) / 2)); gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 25px; }
.footer-brand p { margin: 0; color: #545d4e; font-family: var(--display); font-size: .875rem; }
.footer-links { gap: 28px; }
.legal { font-size: .8125rem; line-height: 1.6; }

@media (min-width: 1440px) {
  .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
  .product-name { min-height: 3.125rem; font-size: 1.375rem; }
}
@media (max-width: 1100px) {
  :root { --shell: calc(100% - 64px); }
  .site-header { padding-inline: 32px; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; }
  .desktop-nav { gap: 24px; }
  .desktop-nav a { font-size: .9375rem; }
  .brand-word { width: 110px; height: 68.64px; }
  .hero h1 { width: 52%; }
  .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .collection-meta { padding-inline: 3px; }
  .collection-meta b { font-size: 1.25rem; }
  .section-heading { grid-template-columns: 24px minmax(0, 1fr); }
  .site-footer { padding-inline: 32px; }
}
@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 84px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-content { padding-left: 34px; }
  .hero h1 { max-width: 54%; font-size: 6rem; }
  .hero-copy { max-width: 320px; }
  .hero-kicker { max-width: 270px; }
  .hero-actions .button { padding-inline: 14px; font-size: .875rem; }
  .catalog-toolbar { align-items: start; }
  .product-grid { gap: 36px 20px; }
}
@media (max-width: 780px) {
  :root { --shell: calc(100% - 40px); }
  html { scroll-padding-top: 88px; }
  .topline { grid-template-columns: 1fr auto; padding-inline: 20px; min-height: 28px; font-size: .75rem; }
  .site-header { padding-inline: 20px; min-height: 76px; gap: 10px; }
  .brand-word { width: 94px; height: 58.656px; }
  .hero { min-height: 590px; background-position: 62% top; background-size: auto 370px; align-items: end; }
  .hero::after { background: linear-gradient(180deg, transparent 27%, #0b1108 63%); }
  .hero-shade { background: linear-gradient(180deg, transparent 10%, #0b11081a 35%, #0b1108 64%); }
  .hero-content { padding: 290px 26px 48px 44px; width: 100%; }
  .hero-bracket { left: 20px; top: 304px; bottom: 135px; width: 85px; min-height: 170px; }
  .hero h1 { width: 100%; max-width: none; font-size: clamp(4.375rem, 14vw, 6.25rem); letter-spacing: .04em; }
  .hero h1 small { font-size: .22em; letter-spacing: .25em; }
  .hero-long-title h1 { font-size: clamp(2.75rem, 8.5vw, 4.5rem); }
  .hero-kicker { max-width: none; font-size: .8125rem; margin-bottom: 10px; }
  .hero-copy { margin-top: 18px; max-width: 430px; font-size: 1rem; line-height: 1.45; }
  .hero-actions { margin-top: 18px; gap: 8px; }
  .hero-actions .button { min-height: 44px; padding: 0 12px; font-size: .875rem; }
  .hero-arrow { top: 27%; }
  .hero-dots { bottom: 18px; }
  .catalog { padding-block: 40px 48px; }
  .section-heading { gap: 14px; grid-template-columns: 20px minmax(0, 1fr); }
  .section-heading h2 { font-size: clamp(1.875rem, 5.5vw, 2.625rem); letter-spacing: .065em; text-wrap: initial; }
  .section-heading .eyebrow { font-size: .75rem; letter-spacing: .42em; }
  .mini-bracket { width: 20px; height: 58px; }
  .catalog-toolbar { margin: 24px 0; }
  .filters { margin-inline: -20px; padding-inline: 20px; padding-bottom: 10px; }
  .filter-button { font-size: .9375rem; padding-inline: 19px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
  .product-card { padding: 0; }
  .product-media { min-height: 0; }
  .product-name { font-size: 1.375rem; min-height: 3.125rem; }
  .product-category { margin-top: 12px; font-size: .75rem; }
  .product-detail { font-size: .8125rem; margin: 6px 0 14px; min-height: 2.45rem; }
  .product-badge { font-size: .75rem; padding: 4px 6px; }
  .product-favorite { right: 0; }
  .collections { padding-block: 38px 34px; }
  .collections-heading h2 { font-size: 2rem; }
  .collections-heading p:last-child { margin-top: 0; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .collection-image { height: auto; }
  .collection-meta { padding-top: 10px; }
  .collection-meta b { font-size: 1.25rem; }
  .collection-meta small { font-size: .75rem; line-height: 1.5; }
  .trade-strip > div { min-height: 130px; }
  .trade-strip b { font-size: 1rem; }
  .site-footer { padding: 30px 20px; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-content: center; margin: 26px 0; gap: 24px; }
  .footer-links a { font-size: .9375rem; }
  .legal { text-align: center; max-width: 420px; margin: auto; font-size: .75rem; }
}
@media (max-width: 380px) {
  :root { --shell: calc(100% - 32px); }
  .site-header { padding-inline: 16px; }
  .header-actions { gap: 0; }
  .brand-word { width: 82px; height: 51.168px; }
  .hero-content { padding-left: 38px; padding-right: 16px; }
  .hero h1 { font-size: 4.5rem; }
  .hero h1 small { font-size: .21em; }
  .hero-kicker { font-size: .75rem; }
  .hero-actions { flex-direction: column; align-items: start; }
  .hero-bracket { bottom: 192px; }
  .product-grid { column-gap: 12px; }
  .product-name { font-size: 1.25rem; }
}
