.brandFlavorsPage {
  --coverflow-gold: #d0a954;
  --coverflow-ivory: #f2ece2;
  --coverflow-bg: #080604;
  background: var(--coverflow-bg);
  color: #eee8df;
  overflow-x: hidden;
}

.brandFlavorsPage header {
  position: absolute;
  background: linear-gradient(180deg, rgba(6, 4, 3, .94), transparent);
  border-bottom-color: rgba(208, 169, 84, .2);
}

.brandFlavorsPage header nav a.active { color: var(--gold); }
.brandFlavorsMain { min-height: 100vh; }

.brandFlavorsTop {
  position: relative;
  min-height: 0;
  padding: 145px 4vw 72px;
  overflow: hidden;
  background: #0a0705;
}

.brandBarBackdrop {
  position: absolute;
  inset: 0;
  background: url('assets/images/roppongi-interior-reference.jpg') center 47% / cover no-repeat;
  filter: saturate(.68) contrast(1.08) brightness(.34);
  transform: scale(1.025);
}

.brandBarShade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(208, 169, 84, .13), transparent 42%),
    linear-gradient(180deg, rgba(5, 3, 2, .88), rgba(8, 5, 3, .58) 33%, #090604 94%);
}

.brandFlavorsHeading {
  position: relative;
  z-index: 3;
  max-width: 1500px;
  margin: 0 auto 24px;
}

.brandBack {
  display: inline-flex;
  margin-bottom: 27px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(208, 169, 84, .55);
  color: #d8b868;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.brandFlavorsHeading .eyebrow { margin: 0 0 10px; }

.brandFlavorsHeading h1 {
  margin: 0;
  color: var(--coverflow-ivory);
  font: 500 clamp(48px, 5.6vw, 82px) / .92 'Playfair Display', Georgia, serif;
  letter-spacing: -.035em;
}

.brandFlavorsHeading h1 em {
  color: var(--coverflow-gold);
  font-style: normal;
  font-weight: 400;
}

.brandFlavorsHeading > p:last-child {
  margin: 18px 0 0;
  color: #b0aaa1;
  font-size: 13px;
  line-height: 1.7;
}

.brandStage {
  --light-x: 50%;
  --light-y: 38%;
  position: relative;
  z-index: 2;
  max-width: 1500px;
  height: 500px;
  margin: 0 auto;
  border: 1px solid rgba(218, 183, 102, .3);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at var(--light-x) var(--light-y), rgba(208, 169, 84, .14), transparent 36%),
    linear-gradient(180deg, rgba(18, 13, 9, .83), rgba(5, 4, 3, .98));
  box-shadow: inset 0 0 100px rgba(0, 0, 0, .46), 0 35px 90px rgba(0, 0, 0, .58);
  overflow: hidden;
  isolation: isolate;
  outline: none;
  touch-action: pan-y;
}

.brandStage::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: -6%;
  right: -6%;
  bottom: -7%;
  height: 49%;
  background:
    linear-gradient(180deg, rgba(208, 169, 84, .05), rgba(6, 5, 4, .98) 38%),
    repeating-linear-gradient(90deg, rgba(208, 169, 84, .03) 0 1px, transparent 1px 96px);
  border-top: 1px solid rgba(208, 169, 84, .13);
  transform: perspective(650px) rotateX(55deg);
  transform-origin: bottom;
  pointer-events: none;
}

.brandStage::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 12%;
  right: 12%;
  bottom: 168px;
  height: 35px;
  border-radius: 50%;
  background: rgba(208, 169, 84, .1);
  filter: blur(24px);
  pointer-events: none;
}

.brandStage:focus-visible { border-color: rgba(239, 202, 111, .7); }

.brandStageGlow {
  position: absolute;
  z-index: 1;
  left: var(--light-x);
  top: var(--light-y);
  width: min(54vw, 720px);
  height: 370px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(208, 169, 84, .12);
  filter: blur(78px);
  pointer-events: none;
  transition: left .22s ease-out, top .22s ease-out;
}

.coverflowDeck {
  --scene-rx: 0deg;
  --scene-ry: 0deg;
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 18px;
  width: min(1440px, 100%);
  height: 315px;
  perspective: 1450px;
  perspective-origin: 50% 47%;
  transform: translateX(-50%) rotateX(var(--scene-rx)) rotateY(var(--scene-ry));
  transform-style: preserve-3d;
  transition: transform .42s cubic-bezier(.2, .75, .25, 1);
  pointer-events: none;
}

.coverflowCard {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 175px;
  height: 285px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: var(--card-opacity);
  filter: brightness(var(--card-brightness)) saturate(var(--card-saturation));
  transform:
    translateX(calc(-50% + var(--x)))
    translateZ(var(--z))
    rotateY(var(--ry))
    scale(var(--scale));
  transform-style: preserve-3d;
  transition:
    transform .72s cubic-bezier(.16, .82, .2, 1),
    opacity .5s ease,
    filter .5s ease;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.coverflowCardInner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(208, 169, 84, .37);
  border-radius: 15px;
  background: linear-gradient(155deg, rgba(31, 27, 21, .98), rgba(8, 7, 6, .99));
  box-shadow: 0 28px 46px rgba(0, 0, 0, .68), inset 0 0 0 1px rgba(255, 255, 255, .025);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .36s cubic-bezier(.2, .8, .2, 1);
  -webkit-box-reflect: below 13px linear-gradient(transparent 42%, rgba(208, 169, 84, .03) 63%, rgba(208, 169, 84, .14));
}

.coverflowCardInner::after {
  content: '';
  position: absolute;
  z-index: 5;
  inset: -40% 35%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 242, 204, .13), transparent);
  transform: translateX(-500%) rotate(14deg);
  pointer-events: none;
}

.coverflowCard.is-active {
  z-index: 12;
  opacity: 1;
  filter: none;
}

.coverflowCard.is-active .coverflowCardInner {
  border-color: #e4c16a;
  box-shadow: 0 32px 55px rgba(0, 0, 0, .75), 0 0 37px rgba(208, 169, 84, .27), inset 0 0 35px rgba(208, 169, 84, .06);
}

.coverflowCard.is-active .coverflowCardInner::after { animation: coverflowSheen 4.6s ease-in-out infinite; }
.coverflowCard.is-active:hover .coverflowCardInner { transform: translateZ(24px) translateY(-8px) scale(1.025); box-shadow: 0 36px 64px rgba(0, 0, 0, .8), 0 0 48px rgba(208, 169, 84, .38); }
.coverflowCard:focus-visible { outline: none; }
.coverflowCard:focus-visible .coverflowCardInner { outline: 2px solid #f1ce75; outline-offset: 5px; }

.coverflowVisual {
  position: relative;
  height: 205px;
  margin: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
}

.brandIsSebero .coverflowVisual {
  background: radial-gradient(circle at 50% 42%, rgba(62, 62, 62, .3), rgba(0, 0, 0, .06) 64%, transparent 78%);
}

.coverflowImage {
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
  object-position: center;
  color: transparent;
  filter: drop-shadow(0 13px 13px rgba(0, 0, 0, .24));
  transform: translateZ(1px);
  backface-visibility: hidden;
}

.coverflowCardCopy {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 14px;
  min-width: 0;
  text-align: center;
}

.coverflowCardCopy small,
.coverflowCardCopy strong,
.coverflowCardCopy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coverflowCardCopy small { margin-bottom: 4px; color: #9c7c3e; font-size: 7px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.coverflowCardCopy strong { color: #f1e7d8; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.coverflowCardCopy span { margin-top: 4px; color: var(--gold); font-size: 12px; }

@keyframes coverflowSheen {
  0%, 48% { transform: translateX(-500%) rotate(14deg); }
  72%, 100% { transform: translateX(500%) rotate(14deg); }
}

@supports not (-webkit-box-reflect: below) {
  .coverflowCard::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: calc(100% + 14px);
    height: 48%;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(208, 169, 84, .1), transparent 80%);
    opacity: .35;
    transform: scaleY(-1);
    filter: blur(7px);
    pointer-events: none;
  }
}

.brandDeckCounter {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 119px;
  transform: translateX(-50%);
  color: #e1bd68;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.brandSelectedCard {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 43px;
  width: min(430px, calc(100% - 190px));
  min-height: 78px;
  padding: 10px 22px;
  transform: translateX(-50%);
  text-align: center;
}

.brandSelectedCard > span { display: none; }
.brandSelectedCard h2 { margin: 0 0 7px; color: #f1ece4; font: 400 27px / 1.05 Arial, sans-serif; letter-spacing: 4px; text-transform: uppercase; overflow-wrap: anywhere; }
.brandSelectedCard p { margin: 0; color: var(--gold); font-size: 18px; line-height: 1.45; letter-spacing: .7px; }
.brandSelectedCard small { display: none; }

.brandArrow {
  position: absolute;
  z-index: 8;
  bottom: 54px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(218, 183, 102, .38);
  border-radius: 50%;
  background: rgba(10, 8, 6, .84);
  color: #f1e8da;
  font-size: 27px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.brandArrow:hover { border-color: var(--coverflow-gold); background: var(--coverflow-gold); color: #111; transform: scale(1.06); }
.brandArrow:focus-visible { outline: 2px solid #efca6f; outline-offset: 3px; }
.brandArrowLeft { left: 26px; }
.brandArrowRight { right: 26px; }

.coverflowDots {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 21px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.coverflowDot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #575049;
  cursor: pointer;
  transition: width .25s ease, background .25s ease, box-shadow .25s ease;
}

.coverflowDot.is-active { width: 22px; border-radius: 8px; background: #dfba60; box-shadow: 0 0 11px rgba(208, 169, 84, .4); }

.brandFlavorsCatalog {
  max-width: 1500px;
  margin: 0 auto;
  padding: 34px 6% 110px;
  background: radial-gradient(circle at 50% 0, rgba(101, 58, 16, .15), transparent 38%);
}

.brandCatalogControls {
  position: sticky;
  z-index: 10;
  top: 0;
  margin: 0 0 18px;
  padding: 14px 0 12px;
  background: rgba(5, 6, 5, .94);
  backdrop-filter: blur(14px);
}
.brandFlavorSearch {
  width: min(100%, 460px);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid rgba(208, 169, 84, .4);
  background: #0a0b09;
  color: #d0a954;
}
.brandFlavorSearch:focus-within { border-color: #d0a954; box-shadow: 0 0 22px rgba(208, 169, 84, .13); }
.brandFlavorSearch > span { font-size: 23px; }
.brandFlavorSearch input { width: 100%; border: 0; outline: 0; background: transparent; color: #eee8df; font-size: 14px; }
.brandFlavorSearch input::placeholder { color: #77736c; }
.brandFlavorSearch input::-webkit-search-cancel-button { filter: invert(1); cursor: pointer; }
.brandFilterList { display: flex; gap: 8px; margin-top: 11px; padding-bottom: 3px; overflow-x: auto; scrollbar-width: thin; }
.brandFilterList a { flex: 0 0 auto; padding: 12px 18px; border: 1px solid #3e3521; background: #090a08; color: #a39988; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; transition: .2s ease; }
.brandFilterList a:hover,
.brandFilterList a.active { border-color: #d0a954; background: #d0a954; color: #111; }
.brandCategoryFilters { display: flex; flex-wrap: wrap; gap: 9px; padding: 0 0 25px; }
.brandCategoryFilters button { flex: 0 0 auto; padding: 11px 18px; border: 1px solid #403326; border-radius: 30px; background: #0e0a07; color: #a99f95; font-size: 9px; letter-spacing: 1.4px; cursor: pointer; text-transform: uppercase; }
.brandCategoryFilters button.active,
.brandCategoryFilters button:hover { border-color: #b48734; background: #271b0d; color: #f2cb72; }
.brandFlavorCount { margin: 0 0 16px; color: #756e67; font-size: 9px; letter-spacing: 1.6px; text-transform: uppercase; }
.brandFlavorList {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.brandFlavorOption {
  min-width: 0;
  min-height: 240px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #332b1c;
  border-radius: 0;
  background: radial-gradient(circle at 50% 25%, rgba(40, 29, 12, .4), #060706 43%);
  color: #eee8df;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.brandFlavorOption:hover,
.brandFlavorOption.active {
  border-color: #b88724;
  background: radial-gradient(circle at 50% 25%, rgba(65, 43, 14, .52), #080705 48%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(208, 169, 84, .06);
  transform: translateY(-3px);
}
.brandFlavorOption img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto 18px;
  padding: 5px;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .48));
  transition: transform .22s ease, filter .22s ease;
}
.brandIsSebero .brandFlavorOption img { background: transparent; }
.brandFlavorOption:hover img,
.brandFlavorOption.active img { transform: scale(1.04); filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .62)); }
.brandFlavorOption > span { display: block; margin-top: auto; }
.brandFlavorOption strong { display: block; margin-bottom: 8px; color: #f0ebe2; font: 500 22px / 1.12 Georgia, serif; overflow-wrap: anywhere; }
.brandFlavorOption span span { display: block; color: var(--gold); font-size: 16px; line-height: 1.6; }
.brandFlavorOption small { display: none; }
.brandFlavorsEmpty { grid-column: 1 / -1; padding: 35px; border: 1px solid #3b3025; color: #999; text-align: center; }

@media (max-width: 1050px) {
  .brandFlavorsPage header { position: fixed; background: rgba(5, 5, 5, .94); }
  .brandFlavorsTop { padding: 145px 18px 50px; }
  .brandStage { height: 500px; }
  .coverflowDeck { top: 24px; height: 315px; perspective: 1150px; }
  .coverflowCard { width: 164px; height: 276px; transform: translateX(calc(-50% + var(--x-tablet))) translateZ(var(--z-tablet)) rotateY(var(--ry-tablet)) scale(var(--scale-tablet)); }
  .coverflowCard[data-distance='3'] { display: none; }
  .coverflowVisual { height: 195px; }
  .brandDeckCounter { bottom: 119px; font-size: 11px; }
  .brandFlavorsCatalog { padding: 28px 18px 95px; }
  .brandCatalogControls { top: 72px; margin-right: -18px; margin-left: -18px; padding-right: 18px; padding-left: 18px; }
  .brandFlavorList { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .brandFlavorsTop { min-height: 0; padding-left: 10px; padding-right: 10px; }
  .brandFlavorsHeading h1 { font-size: 47px; }
  .brandStage { height: 500px; border-radius: 17px; }
  .coverflowDeck { top: 48px; height: 300px; perspective: 850px; }
  .coverflowCard { top: 8px; width: 126px; height: 220px; transform: translateX(calc(-50% + var(--x-mobile))) translateZ(var(--z-mobile)) rotateY(var(--ry-mobile)) scale(var(--scale-mobile)); }
  .coverflowCard[data-distance='2'],
  .coverflowCard[data-distance='3'] { display: none; }
  .coverflowCardInner { border-radius: 11px; -webkit-box-reflect: below 7px linear-gradient(transparent 58%, rgba(208, 169, 84, .08)); }
  .coverflowVisual { height: 152px; margin: 7px; border-radius: 7px; }
  .coverflowImage { padding: 2px; }
  .coverflowCardCopy { left: 8px; right: 8px; bottom: 10px; }
  .coverflowCardCopy small { font-size: 6px; }
  .coverflowCardCopy strong { font-size: 9px; }
  .coverflowCardCopy span { font-size: 11px; }
  .brandDeckCounter { bottom: 125px; font-size: 10px; }
  .brandSelectedCard { bottom: 44px; width: 230px; min-height: 66px; padding: 8px 5px; }
  .brandSelectedCard h2 { font-size: 18px; letter-spacing: 2px; }
  .brandSelectedCard p { font-size: 16px; line-height: 1.4; white-space: normal; overflow: visible; }
  .brandArrow { bottom: 57px; width: 40px; height: 40px; }
  .brandArrowLeft { left: 11px; }
  .brandArrowRight { right: 11px; }
  .coverflowDots { bottom: 21px; gap: 6px; }
  .brandFlavorList { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brandFlavorOption { min-height: 240px; padding: 10px; }
  .brandFlavorOption img { margin-bottom: 12px; padding: 2px; }
  .brandFlavorOption strong { margin-bottom: 7px; font-size: 17px; }
  .brandFlavorOption span span { font-size: 15px; }
  .brandCategoryFilters { padding-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .coverflowCard,
  .coverflowCardInner,
  .coverflowDeck,
  .brandStageGlow,
  .coverflowDot { transition-duration: .01ms !important; animation: none !important; }
  .coverflowCardInner { -webkit-box-reflect: unset; }
}

/* Elegant, readable Bulgarian flavor descriptions. */
.coverflowCardCopy span,
.brandSelectedCard p,
.brandFlavorOption span span{font-family:'Playfair Display',Georgia,serif;font-weight:500;letter-spacing:.015em}
