/* ===== Flix Theme (digital) - does NOT touch original styles.css ===== */

:root {
    --flix-black: #0d0d0d;
    --flix-black-soft: #191919;
    --flix-white: #ffffff;
    --flix-white-muted: #ebeae4;
  
    --flix-gold: #e1aa21;
    --flix-gold-dark: #d6a21f;
  
    --flix-gray-900: #212020;
    --flix-gray-700: #3f3f3f;
  
    --flix-border: #223042;

    /* Type scale (55\" displays @ ~7ft) */
    --flix-product-name-size: 34px;
    --flix-section-title-size: 52px;
  }
  
  .theme-flix {
    background: var(--flix-black);
    color: var(--flix-white);
  }
  
  .flix-header {
    border-bottom: 1px solid var(--flix-border);
    padding-bottom: 14px;
  }
  
  .flix-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .flix-logo {
    height: 44px;
    width: auto;
  }
  
  .flix-card {
    background: transparent;
    border: none;
    border-radius: 0;
  }
  
  .theme-flix .card-title {
    color: var(--flix-gold);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: var(--flix-section-title-size);
  }

  /* Board title */
  .theme-flix .title {
    text-transform: uppercase;
    letter-spacing: 0.6px;
  }
  
  .flix-promo {
    background: linear-gradient(180deg, rgba(225,170,33,0.18), rgba(225,170,33,0.08));
    border: 1px solid var(--flix-gold);
  }

  /* Core Four (beer row) */
  .core-four {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .core-four-title {
    color: var(--flix-gold);
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: var(--flix-section-title-size);
    margin-bottom: 10px;
  }
  
  .core-four-title-core { color: var(--flix-gold-dark); }
  .core-four-title-four { color: var(--flix-white); }

  .core-four-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
  }

  .core-four-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    min-width: 0;
  }

  .core-four-img {
    width: 100%;
    /* 2160x1560 ≈ 1.385 aspect */
    height: 420px;
    border-radius: 0;
    object-fit: contain; /* show the full beer art (no cropping) */
    object-position: center;
    display: block;
  }

  /* Remove "framed" look from bottom category columns + each item image */
  .theme-flix .card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .theme-flix .item-img,
  .theme-flix .item-img.placeholder {
    border-radius: 0;
  }

  .theme-flix .item-img.placeholder {
    background: rgba(255,255,255,0.06);
  }
  
  .flix-item {
    align-items: flex-start;
  }

  /* Override base .layout-16x9 .item (higher specificity) so price aligns with name line */
  .theme-flix.layout-16x9 .item {
    align-items: center;
  }

  .theme-flix.layout-16x9 .item-left {
    align-items: center;
  }
  
  .item-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }
  
  .item-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  /* Product names in ALL CAPS */
  .theme-flix .item-name {
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: var(--flix-product-name-size);
  }
  
  .item-desc {
    color: var(--flix-white-muted);
    font-size: 14px;
    line-height: 1.25;
  }
  
  .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
  }
  
  .badge {
    border: 1px solid var(--flix-border);
    background: rgba(255,255,255,0.04);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--flix-white-muted);
    white-space: nowrap;
  }
  
  /* Dietary badges (upgrade #2) */
  .badge-gf { border-color: rgba(225,170,33,0.7); color: var(--flix-white); }
  .badge-v  { border-color: rgba(255,255,255,0.35); color: var(--flix-white); }
  .badge-sp { border-color: rgba(225,170,33,0.7); color: var(--flix-white); }
  
  /* ABV badge (upgrade #3) */
  .badge-abv { border-color: rgba(225,170,33,0.7); color: var(--flix-white); }
  
  /* Price formatting (upgrade #1) */
  .price {
    font-weight: 800;
    letter-spacing: 0.2px;
    white-space: nowrap;
    line-height: 1;
    /* align name + price to the vertical center of the image */
    align-self: center;
    margin-top: 0;
  }
  /* match product name sizing */
  .price-dollars { font-size: var(--flix-product-name-size); }
  .price-cents {
    font-size: 22px;
    vertical-align: top;
    position: relative;
    top: -2px;
    margin-left: 1px;
    color: var(--flix-white-muted);
  }
  
  /* Slightly tighter footer like Flix */
  .flix-footer {
    border-top: 1px solid var(--flix-border);
    padding-top: 10px;
    color: var(--flix-white-muted);
  }

  /* ===== Hero Promo (split: video + copy) ===== */
  .flix-hero {
    background: #000;
    font-family: "Neutra2", "Neutra 2", "NeutraText", "Neutra Text", "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  }

  .flix-hero .flix-hero-split {
    width: 100vw;
    height: 100vh;
    background: #000;
    display: grid;
    /* Left (video) slimmer than right (copy) */
    grid-template-columns: 1fr 1.7fr;
    gap: 0;
  }

  .flix-hero .flix-hero-left,
  .flix-hero .flix-hero-right {
    height: 100%;
  }

  .flix-hero .flix-hero-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 24px; /* push video slightly toward left margin */
    box-sizing: border-box;
  }

  .flix-hero .flix-hero-stage {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* no longer centered */
    overflow: hidden;
  }

  /* Keep the video at (or below) its native size: don't scale up to fill */
  .flix-hero .flix-hero-video {
    width: 800px;
    height: 1184px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
  }

  .flix-hero .flix-hero-right {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px; /* more padding so copy sits closer to screen center */
    box-sizing: border-box;
  }

  .flix-hero .flix-hero-right-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 46px;
  }

  .flix-hero .flix-hero-logo {
    height: 84px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    align-self: center; /* prevent flex stretch distortion */
  }

  .flix-hero .flix-hero-copy {
    width: 100%;
    text-align: justify;
    text-justify: inter-word;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 900;
  }

  .flix-hero .flix-hero-fallback {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--flix-white-muted);
    font-size: 42px;
    line-height: 1.3;
    max-width: none;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
  }

  .flix-hero .flix-hero-copy-line {
    line-height: 1.05;
  }

  .flix-hero .flix-hero-copy-happy {
    font-size: 76px;
    color: var(--flix-gold-dark);
  }

  .flix-hero .flix-hero-copy-beer {
    font-size: 76px;
    color: var(--flix-white);
  }
  