/* ==========================================================================
   Kultowe Alkohole — Component Styles
   Premium minimalist alcohol distributor website
   ========================================================================== */

/* --- Design Token Import ------------------------------------------------- */
@import url('./variables.css');

/* --- Google Fonts (redundant safety import) ------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Belleza&family=Josefin+Sans:wght@300;400;500&family=Jost:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');


/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes liquidWave {
  0% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
  25% {
    transform: scale(1.02) rotate(0.5deg);
    filter: brightness(1.03);
  }
  50% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
  75% {
    transform: scale(1.01) rotate(-0.3deg);
    filter: brightness(1.02);
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}


/* ==========================================================================
   1. Menu / Navigation
   ========================================================================== */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--menu-height);
  background-color: var(--color-white);
  z-index: var(--z-menu);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-section);
  transition: height var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base);
}

.menu__logo {
  flex-shrink: 0;
}

.menu__logo img {
  width: 124px;
  height: 96px;
  object-fit: contain;
}

.menu__nav {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.menu__nav-link {
  font-family: var(--ff-nav);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-black);
  text-transform: capitalize;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-fast);
}

.menu__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-black);
  transition: width var(--transition-base);
}

.menu__nav-link:hover::after,
.menu__nav-link--active::after {
  width: 100%;
}

.menu__search {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.menu__search:hover {
  opacity: 0.6;
}

.menu__search svg {
  width: 20px;
  height: 20px;
}

/* Scrolled state */
.menu--scrolled {
  height: 80px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.95);
}

.menu--scrolled .menu__logo img {
  height: 60px;
  width: auto;
}

/* Mobile hamburger (hidden on desktop) */
.menu__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.menu__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}


/* ==========================================================================
   2. Hero Banner
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  animation: zoomIn 1.8s ease-out forwards;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0 var(--space-section);
}

.hero__title-line1 {
  display: block;
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-5xl);
  color: var(--color-white);
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__title-line2 {
  display: block;
  font-family: var(--ff-decorative);
  font-weight: var(--fw-bold);
  font-size: var(--fs-6xl);
  color: var(--color-white);
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__subtitle {
  font-family: var(--ff-accent);
  font-weight: var(--fw-regular);
  font-size: 22px;
  color: var(--color-white);
  margin-top: var(--space-6);
  line-height: 1.6;
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero__scroll-btn,
.hero__scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  animation: bounceDown 2s ease-in-out infinite;
  padding: 0;
  width: auto;
  height: auto;
}

.hero__scroll-btn:hover,
.hero__scroll-arrow:hover {
  opacity: 0.7;
}

.hero__scroll-btn svg,
.hero__scroll-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-black);
}


/* ==========================================================================
   3. Stats Section
   ========================================================================== */

.stats {
  background-color: var(--color-white);
}

.stats__inner {
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 78px;
}

.stats__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.stats__logo img {
  width: 100px;
  height: auto;
}

.stats__description {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-3xl);
  line-height: 1.5;
  max-width: 1440px;
  margin: 0 auto 64px;
  text-align: center;
}

.stats__description strong {
  font-weight: var(--fw-semibold);
}

.stats__description span {
  font-weight: var(--fw-light);
}

.stats__counters {
  display: flex;
  justify-content: center;
  gap: 120px;
  margin-bottom: 40px;
}

.stats__counter {
  text-align: center;
}

.stats__number {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: 120px;
  line-height: 1;
  color: var(--color-ink);
}

.stats__prefix {
  font-weight: 200;
  font-size: 64px;
  vertical-align: baseline;
}

.stats__label {
  display: block;
  font-family: var(--ff-nav);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  margin-top: -10px;
}

.stats__counter-number {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-hero-num);
  color: var(--color-ink-dark);
  line-height: 1;
}

.stats__counter-prefix {
  font-weight: var(--fw-thin);
  font-size: var(--fs-5xl);
}

.stats__counter-label {
  font-family: var(--ff-nav);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  color: var(--color-ink-dark);
  margin-top: var(--space-4);
}

.stats__cta {
  margin-top: var(--space-10);
}


/* ==========================================================================
   4. CTA Button
   ========================================================================== */

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--ff-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  color: var(--color-ink-button);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.btn-cta__arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.btn-cta__arrow svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: stroke var(--transition-fast);
}

.btn-cta:hover .btn-cta__arrow {
  transform: translateX(4px);
}


/* ==========================================================================
   5. Dark CTA Button
   ========================================================================== */

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-btn-dark);
  color: var(--color-white);
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-md);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.btn-dark:hover {
  background-color: #2a2d3a;
}

.btn-dark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1.5;
  flex-shrink: 0;
}


/* ==========================================================================
   6. Cocktail Section
   ========================================================================== */

.cocktail-section {
  width: 100%;
}

/* --- 6a. Split layout (50/50) --- */

.cocktail-section--split {
  display: flex;
  min-height: 700px;
}

.cocktail-section__image-side {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.cocktail-section__image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cocktail-section__image-overlay-btn {
  position: absolute;
  bottom: var(--space-10);
  left: var(--space-10);
  z-index: 2;
}

.cocktail-section__content-side {
  flex: 1;
  background-color: var(--color-cream);
  padding: var(--space-16) var(--space-20);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- 6b. Full width cream variant --- */

.cocktail-section--full {
  background-color: var(--color-cream);
  padding: var(--space-16) var(--space-20);
}

/* --- Shared content styles --- */

.cocktail-section__label {
  font-family: var(--ff-decorative);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xl);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.cocktail-section__title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-5xl);
  color: var(--color-ink-dark);
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.cocktail-section__description {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-3xl);
  color: var(--color-ink-dark);
  line-height: 1.45;
  margin-bottom: var(--space-10);
}

/* --- Cocktail feature card (inside cream panel) --- */

.cocktail-feature-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.cocktail-feature-card__image {
  width: 100%;
  aspect-ratio: 444 / 444;
  overflow: hidden;
}

.cocktail-feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.cocktail-feature-card:hover .cocktail-feature-card__image img {
  transform: scale(1.03);
}

.cocktail-feature-card__body {
  padding: var(--space-6) var(--space-6) var(--space-8);
  position: relative;
}

.cocktail-feature-card__meta {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.cocktail-feature-card__tag {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.cocktail-feature-card__name {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xl);
  color: var(--color-ink-dark);
}

.cocktail-feature-card__arrow {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 36px;
  height: 36px;
}


/* ==========================================================================
   7. Brand Tiles
   ========================================================================== */

.brand-tiles {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-section);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.brand-tiles::-webkit-scrollbar {
  display: none;
}

.brand-tile {
  flex: 0 0 500px;
  width: 500px;
  height: 780px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.brand-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.brand-tile__image {
  width: 100%;
  height: 578px;
  overflow: hidden;
}

.brand-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.brand-tile:hover .brand-tile__image img {
  transform: scale(1.03);
}

.brand-tile__body {
  flex: 1;
  height: 202px;
  background-color: var(--color-white);
  padding: var(--space-10) 29px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.brand-tile__name {
  font-family: var(--ff-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xl);
  color: var(--color-ink-dark);
  margin-bottom: var(--space-2);
}

.brand-tile__category {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  color: var(--color-muted);
}

.brand-tile__arrow {
  position: absolute;
  bottom: var(--space-8);
  right: 29px;
  width: 36px;
  height: 36px;
}

.brand-tile__arrow svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--color-ink-dark);
  stroke-width: 1.5;
}


/* ==========================================================================
   8. Blog / News Tiles
   ========================================================================== */

.blog-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.blog-tile {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition-base);
}

.blog-tile:hover {
  box-shadow: var(--shadow-card-hover);
}

.blog-tile__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-tile:hover .blog-tile__image img {
  transform: scale(1.05);
}

.blog-tile__body {
  background-color: var(--color-white);
  padding: var(--space-6) var(--space-5) var(--space-10);
  position: relative;
  flex: 1;
}

.blog-tile__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.blog-tile__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--color-muted);
}

.blog-tile__title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  color: var(--color-ink-dark);
  line-height: 1.35;
}

.blog-tile__arrow {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  width: 36px;
  height: 36px;
}


/* ==========================================================================
   9. Product Cards
   ========================================================================== */

.product-cards {
  display: flex;
  gap: var(--space-6);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 400 / 497;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  overflow: hidden;
}

.product-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.product-card:hover .product-card__image img {
  transform: scale(1.02);
}

.product-card__category {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
  margin-top: var(--space-3);
}

.product-card__name {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xl);
  color: var(--color-ink-dark);
}

.product-card__variant {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
}


/* ==========================================================================
   10. Section Headers
   ========================================================================== */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-16);
}

.section-header__title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-5xl);
  color: var(--color-ink-dark);
  line-height: 1.15;
}

.section-header__action {
  flex-shrink: 0;
}


/* ==========================================================================
   11. Cocktail Cards (product page)
   ========================================================================== */

.cocktail-cards {
  display: flex;
  gap: var(--space-6);
  width: 100%;
}

.cocktail-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  flex: 1;
  transition: box-shadow var(--transition-base);
}

.cocktail-card:hover {
  box-shadow: none;
}

.cocktail-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 288 / 554;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cocktail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--transition-base);
}

.cocktail-card:hover .cocktail-card__image img {
  filter: brightness(0.85);
}

.cocktail-card__image-overlay,
.cocktail-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition-base);
}

.cocktail-card:hover .cocktail-card__image-overlay,
.cocktail-card:hover .cocktail-card__overlay {
  transform: translateY(-4px);
}

.cocktail-card__prep-time,
.cocktail-card__prep {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-1);
}

.cocktail-card__ingredients {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-base);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.cocktail-card__name {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xl);
  color: var(--color-white);
}

.cocktail-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3);
}

.cocktail-card__tag {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-muted-dark);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.cocktail-card__tag svg {
  width: 14px;
  height: 14px;
}


/* ==========================================================================
   12. Tasting Notes
   ========================================================================== */

.tasting-notes {
  background-color: var(--color-bg-alt);
  width: 100%;
  padding: 100px 120px;
}

.tasting-notes__header {
  margin-bottom: var(--space-16);
}

.tasting-notes__category {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.tasting-notes__title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-4xl);
  color: var(--color-ink-dark);
  line-height: 1.2;
}

.tasting-notes__brand {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-4xl);
  color: var(--color-ink-dark);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tasting-notes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-10);
}

.tasting-notes__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.tasting-notes__item:nth-child(1) { animation-delay: 0.1s; }
.tasting-notes__item:nth-child(2) { animation-delay: 0.2s; }
.tasting-notes__item:nth-child(3) { animation-delay: 0.3s; }
.tasting-notes__item:nth-child(4) { animation-delay: 0.4s; }

/* Pause animation until in view — JS adds .is-visible */
.tasting-notes:not(.is-visible) .tasting-notes__item {
  animation-play-state: paused;
}

.tasting-notes__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--color-gray-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.tasting-notes__icon svg {
  width: 28px;
  height: 28px;
}

.tasting-notes__item-title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  color: var(--color-ink-dark);
  margin-bottom: var(--space-3);
}

.tasting-notes__item-description {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-muted-dark);
  line-height: 1.55;
}


/* ==========================================================================
   13. Medals Section
   ========================================================================== */

.medals-section {
  padding: var(--space-20) var(--space-section);
}

.medals-section__title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-4xl);
  color: var(--color-ink-dark);
  margin-bottom: var(--space-10);
}

.medals-section__toggle {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
  background: none;
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: var(--space-8);
  transition: background-color var(--transition-fast);
}

.medals-section__toggle:hover {
  background-color: var(--color-bg-alt);
}

/* --- 13a. Packshot + medals layout --- */

.medals-section--packshot {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.medals-section__product-image {
  flex: 0 0 auto;
  position: relative;
}

.medals-section__product-image img {
  max-height: 500px;
  object-fit: contain;
}

.medals-section__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
}

/* --- 13b. Box grid layout --- */

.medals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-6);
}

.medal-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-base);
}

.medal-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.medal-card__image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: var(--space-4);
}

.medal-card__award {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
  margin-bottom: var(--space-1);
}

.medal-card__category {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-muted-dark);
  margin-bottom: var(--space-1);
}

.medal-card__year {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  color: var(--color-muted);
}


/* ==========================================================================
   14. Product Detail
   ========================================================================== */

.product-detail {
  display: flex;
  min-height: 100vh;
}

.product-detail__images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-detail__main-image {
  flex: 1;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
}

.product-detail__main-image img {
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
}

.product-detail__secondary-image {
  position: relative;
  overflow: hidden;
}

.product-detail__secondary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail__lifestyle-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.product-detail__lifestyle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__lifestyle-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.product-detail__info {
  flex: 1;
  padding: var(--space-16) var(--space-20);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail__category {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.product-detail__brand {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-3xl);
  color: var(--color-ink-dark);
  line-height: 1.2;
  text-transform: uppercase;
}

.product-detail__variant {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-3xl);
  color: var(--color-ink-dark);
  line-height: 1.2;
  margin-bottom: var(--space-10);
}

.product-detail__accordion {
  margin-bottom: var(--space-10);
}

.product-detail__price {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: #606060;
  margin-bottom: var(--space-6);
}

.product-detail__buy-btn {
  align-self: flex-start;
}


/* ==========================================================================
   15. Accordion Tabs
   ========================================================================== */

.accordion {
  width: 100%;
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.accordion__label {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-md);
  color: var(--color-ink-dark);
}

.accordion__chevron {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion__chevron svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-ink-dark);
  fill: none;
  stroke-width: 1.5;
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.accordion__content-inner {
  padding: 0 0 var(--space-6);
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-muted-dark);
  line-height: 1.65;
}

/* Active / open state */
.accordion__item--active .accordion__chevron,
.accordion__item.active .accordion__chevron {
  transform: rotate(180deg);
}

/* Per client feedback #7: ensure text NOT truncated — use large enough max-height */
.accordion__item--active .accordion__content,
.accordion__item.active .accordion__content {
  max-height: 2000px;
}

.accordion__content p {
  padding: 0 0 var(--space-6);
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-muted-dark);
  line-height: 1.65;
}


/* ==========================================================================
   16. Auth Pages
   ========================================================================== */

.auth-page {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* --- Form side --- */

.auth-page__form-side {
  flex: 1;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-10);
}

.auth-page__logo {
  margin-bottom: var(--space-12);
}

.auth-page__logo img {
  width: 124px;
  height: 96px;
  object-fit: contain;
}

.auth-page__form-container {
  width: 100%;
  max-width: var(--auth-form-width);
}

.auth-page__form-container--register {
  max-width: 632px;
}

.auth-page__title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-4xl);
  color: var(--color-ink-dark);
  text-align: center;
  margin-bottom: var(--space-3);
}

.auth-page__subtitle {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-md);
  color: var(--color-muted-dark);
  text-align: center;
  margin-bottom: var(--space-10);
}

.auth-page__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* --- Image side --- */

.auth-page__image-side {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.auth-page__image-side img,
.auth-page__image-side video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: liquidWave 8s ease-in-out infinite;
}

.auth-page__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}

/* --- Inputs --- */

.input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0 var(--space-4);
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast);
  outline: none;
}

.input::placeholder {
  color: var(--color-muted);
}

.input:focus {
  border-color: var(--color-ink-dark);
}

/* --- Submit button --- */

.auth-page__submit {
  width: 100%;
  height: 52px;
  background-color: var(--color-btn-dark);
  color: var(--color-white);
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-md);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.auth-page__submit:hover {
  background-color: #2a2d3a;
}

/* --- Links --- */

.auth-page__links {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-5);
}

.auth-page__link {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.auth-page__link:hover {
  color: var(--color-muted-dark);
}

/* --- Registration: 2-column grid --- */

.auth-page__section-label {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-1);
}

.auth-page__field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

/* --- Checkbox --- */

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.checkbox__input {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast);
}

.checkbox__input:checked {
  background-color: var(--color-btn-dark);
  border-color: var(--color-btn-dark);
}

.checkbox__input:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox__label {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  color: var(--color-muted-dark);
  line-height: 1.5;
}

/* --- Additional auth classes used by HTML --- */

.auth-page__form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  gap: 80px;
}

.auth-page__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  width: 100%;
}

.auth-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 52px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0 var(--space-4);
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input::placeholder {
  color: var(--color-muted);
}

.form-group input:focus {
  border-color: var(--color-ink-dark);
}

.form-hint {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  color: var(--color-muted);
  text-align: right;
  margin-top: 4px;
}

.form-hint:hover {
  color: var(--color-ink-dark);
}

.form-section-label {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-password-hint {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

.form-required-hint {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin-top: var(--space-2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox input[type="checkbox"]:checked {
  background-color: var(--color-btn-dark);
  border-color: var(--color-btn-dark);
}

.form-checkbox span {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  color: var(--color-muted-dark);
  line-height: 1.5;
}

.btn-dark--full {
  width: 100%;
  display: flex;
  justify-content: center;
}

.liquid-animate {
  animation: liquidWave 8s ease-in-out infinite;
}

/* Auth footer bar */
.auth-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg-footer);
  border-top: 1px solid var(--color-border);
  z-index: 10;
}

.auth-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-footer__links {
  display: flex;
  gap: var(--space-4);
}

.auth-footer__links a {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-footer-text);
}

.auth-footer__links a:hover {
  color: var(--color-ink-dark);
}

.auth-footer__rights span {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-footer-text);
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}

.toast {
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: var(--ff-primary);
  font-size: var(--fs-sm);
  color: var(--color-white);
  background: var(--color-btn-dark);
  box-shadow: var(--shadow-dropdown);
  transform: translateX(-120%);
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  cursor: pointer;
  max-width: 400px;
}

.toast--visible {
  transform: translateX(0);
}

.toast--hiding {
  opacity: 0;
  transform: translateX(-120%);
}

.toast--success { background: #12b76a; }
.toast--warning { background: #f79009; }
.toast--info { background: var(--color-btn-dark); }


/* ==========================================================================
   17. Footer
   ========================================================================== */

.footer {
  background-color: var(--color-bg-footer);
  width: 100%;
}

.footer__main {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding: var(--space-16) var(--space-footer) var(--space-10);
}

.footer__logo img {
  width: 124px;
  height: 96px;
  object-fit: contain;
}

.footer__column-title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
  margin-bottom: var(--space-5);
}

.footer__column-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__column-link {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-base);
  color: var(--color-footer-text);
  transition: color var(--transition-fast);
}

.footer__column-link:hover {
  color: var(--color-ink-dark);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-8) var(--space-footer);
  border-top: 1px solid var(--color-border);
}

.footer__bottom-text {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-footer-text);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-8);
}

.footer__bottom-link {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-footer-text);
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: var(--color-ink-dark);
}


/* ==========================================================================
   18. Collection Grid
   ========================================================================== */

.collection-grid {
  display: flex;
  width: 100%;
}

.collection-grid__image {
  flex: 1;
  overflow: hidden;
}

.collection-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-grid__content {
  flex: 1;
  padding: var(--space-20);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.collection-grid__title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-3xl);
  color: var(--color-ink-dark);
  margin-bottom: var(--space-4);
}

.collection-grid__description {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-muted-dark);
  line-height: 1.6;
  margin-bottom: var(--space-10);
}

.collection-grid__products {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.collection-grid__product {
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
}

.collection-grid__product-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: var(--space-2);
}

.collection-grid__product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.collection-grid__product-category {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.collection-grid__product-name {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  color: var(--color-ink-dark);
}

.collection-grid__product-variant {
  font-family: var(--ff-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-sm);
  color: var(--color-ink-dark);
}


/* ==========================================================================
   19. Vintage Section
   ========================================================================== */

.vintage-section {
  padding: var(--space-20) var(--space-section);
}

.vintage-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-10);
}

.vintage-section__title {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-4xl);
  color: var(--color-ink-dark);
}

.vintage-section__year-nav {
  display: flex;
  gap: var(--space-3);
}

.vintage-section__year-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-ink-dark);
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast);
}

.vintage-section__year-btn:hover,
.vintage-section__year-btn--active {
  background-color: var(--color-btn-dark);
  border-color: var(--color-btn-dark);
  color: var(--color-white);
}

.vintage-section__year-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.vintage-section__content {
  display: flex;
  gap: var(--space-16);
}

.vintage-section__description {
  flex: 1;
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-muted-dark);
  line-height: 1.7;
}

.vintage-section__description h3 {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xl);
  color: var(--color-ink-dark);
  margin-bottom: var(--space-4);
}

.vintage-section__description p + p {
  margin-top: var(--space-4);
}

.vintage-section__pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  color: var(--color-ink-button);
  border: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.vintage-section__pdf-btn:hover {
  background-color: var(--color-bg-alt);
}

.vintage-section__pdf-btn svg {
  width: 18px;
  height: 18px;
}


/* ==========================================================================
   20. Video Support
   ========================================================================== */

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-black);
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.video-player__overlay:hover {
  background: rgba(0, 0, 0, 0.15);
}

.video-player__play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base),
              background-color var(--transition-fast);
}

.video-player__overlay:hover .video-player__play-btn {
  transform: scale(1.08);
  background-color: var(--color-white);
}

.video-player__play-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--color-btn-dark);
  margin-left: 3px; /* optical centering for play triangle */
}

.video-player--playing .video-player__overlay {
  opacity: 0;
  pointer-events: none;
}


/* ==========================================================================
   21. Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-section);
  padding-right: var(--space-section);
}

.section-padding {
  padding-top: 200px;
  padding-bottom: 200px;
  padding-left: var(--space-section);
  padding-right: var(--space-section);
}

.section-padding--sm {
  padding-top: 110px;
  padding-bottom: 100px;
  padding-left: var(--space-section);
  padding-right: var(--space-section);
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll-reveal fade in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible,
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-child.visible,
.fade-in-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-up entrance */
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   Slider Component
   ========================================================================== */

.slider {
  position: relative;
  overflow: visible;
  min-height: 500px;
}

.slider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 40px 0;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slider__item {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: block;
}

.slider__item img {
  display: block;
  height: auto;
  border-radius: 0;
}

/* Brand tile items - ~25% width each for 4 visible */
.brand-tile-item {
  width: calc(25% - 12px);
  min-width: 350px;
}

.brand-tile-wrap {
  position: relative;
  overflow: hidden;
}

.brand-tile-wrap img {
  width: 100%;
  display: block;
  transition: transform 600ms ease;
}

.brand-tile-item:hover .brand-tile-wrap img {
  transform: translateY(-20px);
}

.brand-tile-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  transition: transform 400ms ease;
  pointer-events: none;
}

.brand-tile-item:hover .brand-tile-arrow {
  transform: rotate(-30deg);
}

/* News tile items */
.news-tile-item {
  width: calc(25% - 12px);
  min-width: 300px;
}

.news-tile-wrap {
  overflow: hidden;
}

.news-tile-wrap img {
  width: 100%;
  display: block;
  transition: transform 600ms ease;
}

.news-tile-item:hover .news-tile-wrap img {
  transform: scale(1.5);
  transform-origin: top center;
}

/* Product tile items - 33% width for 3 visible */
.product-tile-item {
  width: calc(33.333% - 11px);
  min-width: 280px;
}

.product-tile-wrap {
  position: relative;
  overflow: hidden;
}

.product-tile-wrap img {
  width: 100%;
  display: block;
  transition: transform 600ms ease;
}

.product-tile-item:hover .product-tile-wrap img {
  transform: scale(1.2);
}

.product-tile-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  transition: transform 400ms ease;
  pointer-events: none;
}

.product-tile-item:hover .product-tile-arrow {
  transform: rotate(-30deg);
}

/* ==========================================================================
   New Card Components (replacements for tile-wrap patterns)
   ========================================================================== */

/* Brand card component */
.brand-card {
  display: block;
  text-decoration: none;
  color: inherit;
  width: calc(25% - 12px);
  min-width: 350px;
  flex-shrink: 0;
  scroll-snap-align: start;
  position: relative;
}

.brand-card__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.brand-card__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.brand-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.brand-card:hover .brand-card__photo img {
  transform: translateY(-30px);
}

.brand-card__bottle {
  position: absolute;
  bottom: 0;
  right: 16px;
  left: auto;
  transform: none;
  max-height: 250px;
  height: auto;
  width: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.brand-card__info {
  background: #fff;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.brand-card__name {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #000;
}

.brand-card__category {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #ABABAB;
}

.brand-card__arrow {
  margin-top: 8px;
  transition: transform 0.4s ease;
}

.brand-card:hover .brand-card__arrow {
  transform: rotate(-30deg);
}

/* News card component */
.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  width: calc(25% - 12px);
  min-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.news-card__photo {
  width: 100%;
}

.news-card__photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  transform-origin: top left;
}

/* scale handled on .news-card itself */

.news-card__info {
  background: #fff;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card__meta {
  display: flex;
  gap: 5px;
  align-items: center;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #ABABAB;
}

.news-card__title {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #000;
  line-height: 1.3;
}

.news-card__arrow {
  margin-top: 8px;
}
.news-card__info {
  position: relative;
}

/* Product card item - selected products */
.product-card-item {
  display: block;
  text-decoration: none;
  color: inherit;
  width: calc(33.333% - 11px);
  min-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
  text-align: left;
}

.product-card-item__bottle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  height: 400px;
  overflow: hidden;
}

.product-card-item__bottle img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card-item:hover .product-card-item__bottle img {
  transform: scale(1.2);
}

.product-card-item__info {
  padding: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card-item__name {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #000;
}

.product-card-item__category {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #ABABAB;
  text-transform: uppercase;
}

.product-card-item__arrow {
  margin-top: 8px;
  transition: transform 0.4s ease;
}

.product-card-item:hover .product-card-item__arrow {
  transform: rotate(-30deg);
}

/* Slider arrows */
.slider__arrow {
  position: absolute;
  top: 250px; /* 50% of min-height: 500px */
  z-index: 20;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border, #E5E5E5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slider__arrow:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.slider__arrow--prev {
  left: -8px;
}

.slider__arrow--next {
  right: -8px;
}

.slider__arrow svg {
  width: 20px;
  height: 20px;
  stroke: #000;
}


/* ==========================================================================
   Brand Tile Hover Animation
   ========================================================================== */

/* Brand tile hover animation */
.brand-tile-wrap {
  position: relative;
  overflow: hidden;
  display: block;
}

.brand-tile-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.brand-tile-item:hover .brand-tile-wrap img {
  transform: translateY(-20px);
}

.brand-tile-arrow {
  position: absolute;
  bottom: 44px;
  right: 28px;
  z-index: 2;
  pointer-events: none;
}

.brand-tile-arrow svg {
  transition: transform 0.4s ease;
}

.brand-tile-item:hover .brand-tile-arrow svg {
  transform: rotate(-30deg);
}


/* ==========================================================================
   News Tile Hover Animation
   ========================================================================== */

/* News tile hover - photo zoom only */
.news-tile-wrap {
  overflow: hidden;
  display: block;
}

.news-tile-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.news-tile-item:hover .news-tile-wrap img {
  transform: scale(1.5);
  transform-origin: center center;
}


/* ==========================================================================
   Selected Product Hover Animation
   ========================================================================== */

/* Selected product hover - bottle zoom + arrow rotate */
.product-tile-wrap {
  position: relative;
  overflow: hidden;
  display: block;
}

.product-tile-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.product-tile-item:hover .product-tile-wrap img {
  transform: scale(1.2);
}

.product-tile-arrow {
  position: absolute;
  bottom: 16px;
  left: 28px;
  z-index: 2;
  pointer-events: none;
}

.product-tile-arrow svg {
  transition: transform 0.4s ease;
}

.product-tile-item:hover .product-tile-arrow svg {
  transform: rotate(-30deg);
}


/* ==========================================================================
   Footer Overrides
   ========================================================================== */

.footer__title {
  text-transform: uppercase !important;
}


/* ==========================================================================
   22. Responsive Design
   ========================================================================== */

/* --- 1400px: Reduce large values ----------------------------------------- */

@media (max-width: 1400px) {
  :root {
    --fs-5xl: 52px;
    --fs-6xl: 76px;
    --fs-hero-num: 96px;
  }

  .section-padding {
    padding-top: 140px;
    padding-bottom: 140px;
  }

  .tasting-notes {
    padding: 80px 80px;
  }

  .footer__main {
    padding-left: var(--space-section);
    padding-right: var(--space-section);
  }

  .footer__bottom {
    padding-left: var(--space-section);
    padding-right: var(--space-section);
  }
}

/* --- 1200px: Stack split layouts ----------------------------------------- */

@media (max-width: 1200px) {
  :root {
    --fs-5xl: 44px;
    --fs-6xl: 64px;
    --fs-hero-num: 80px;
    --fs-4xl: 32px;
    --fs-3xl: 26px;
  }

  .cocktail-section--split {
    flex-direction: column;
  }

  .cocktail-section__image-side {
    min-height: 400px;
  }

  .product-detail {
    flex-direction: column;
  }

  .product-detail__info {
    padding: var(--space-10) var(--space-section);
  }

  .collection-grid {
    flex-direction: column;
  }

  .collection-grid__image {
    min-height: 350px;
  }

  .collection-grid__products {
    flex-wrap: wrap;
  }

  .tasting-notes__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10) var(--space-8);
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__logo {
    grid-column: 1 / -1;
  }

  .medals-section--packshot {
    flex-direction: column;
    align-items: flex-start;
  }

  .vintage-section__content {
    flex-direction: column;
  }

  .brand-tile {
    flex: 0 0 400px;
    width: 400px;
    height: 640px;
  }

  .brand-tile__image {
    height: 450px;
  }

  .brand-tile__body {
    height: 190px;
  }

  .auth-page__field-grid {
    grid-template-columns: 1fr;
  }

  .stats__counters {
    gap: var(--space-8);
  }
}

/* --- 900px: Single column, smaller hero ---------------------------------- */

@media (max-width: 900px) {
  :root {
    --fs-5xl: 36px;
    --fs-6xl: 48px;
    --fs-hero-num: 64px;
    --fs-4xl: 28px;
    --fs-3xl: 22px;
    --space-section: 32px;
  }

  .menu {
    padding: var(--space-4) var(--space-section);
  }

  .menu__nav {
    display: none;
  }

  .menu__hamburger {
    display: flex;
  }

  /* Mobile nav overlay */
  .menu__nav--mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--menu-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-white);
    padding: var(--space-10) var(--space-section);
    gap: var(--space-8);
    z-index: var(--z-overlay);
    animation: fadeInUp 0.3s ease-out;
  }

  .menu__nav--mobile-open .menu__nav-link {
    font-size: var(--fs-xl);
  }

  .hero__content {
    padding-left: var(--space-section);
    padding-right: var(--space-section);
    padding-bottom: 80px;
  }

  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-padding--sm {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
    margin-bottom: var(--space-10);
  }

  .stats__counters {
    flex-direction: column;
    align-items: center;
    gap: var(--space-12);
  }

  .tasting-notes {
    padding: 60px var(--space-section);
  }

  .tasting-notes__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cocktail-cards {
    flex-direction: column;
  }

  .cocktail-card__image {
    aspect-ratio: 1 / 1;
  }

  .product-cards {
    flex-wrap: wrap;
  }

  .product-card {
    flex: 1 1 calc(50% - var(--space-6));
    min-width: 200px;
  }

  .blog-tiles {
    flex-direction: column;
  }

  .blog-tile {
    flex: 1 1 100%;
  }

  .auth-page {
    flex-direction: column;
  }

  .auth-page__image-side {
    min-height: 300px;
    order: -1;
  }

  .auth-page__form-side {
    padding: var(--space-10) var(--space-section);
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer__bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .medals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-grid__content {
    padding: var(--space-10) var(--space-section);
  }

  .brand-tile {
    flex: 0 0 320px;
    width: 320px;
    height: 540px;
  }

  .brand-tile__image {
    height: 360px;
  }

  .brand-tile__body {
    height: 180px;
    padding: var(--space-6) var(--space-5);
  }
}

/* --- 600px: Mobile adjustments ------------------------------------------- */

@media (max-width: 600px) {
  :root {
    --fs-5xl: 28px;
    --fs-6xl: 38px;
    --fs-hero-num: 48px;
    --fs-4xl: 24px;
    --fs-3xl: 20px;
    --fs-2xl: 22px;
    --fs-xl: 20px;
    --space-section: 20px;
    --menu-height: 80px;
  }

  .menu__logo img {
    width: 80px;
    height: auto;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__scroll-arrow {
    width: 44px;
    height: 44px;
  }

  .stats__description {
    font-size: var(--fs-xl);
  }

  .tasting-notes__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .cocktail-section__content-side {
    padding: var(--space-10) var(--space-section);
  }

  .cocktail-section--full {
    padding: var(--space-10) var(--space-section);
  }

  .product-card {
    flex: 1 1 100%;
  }

  .collection-grid__products {
    flex-direction: column;
    align-items: center;
  }

  .collection-grid__product {
    width: 100%;
    max-width: 200px;
  }

  .vintage-section {
    padding: var(--space-10) var(--space-section);
  }

  .vintage-section__header {
    flex-direction: column;
    gap: var(--space-4);
  }

  .medals-grid {
    grid-template-columns: 1fr;
  }

  .brand-tile {
    flex: 0 0 280px;
    width: 280px;
    height: 480px;
  }

  .brand-tile__image {
    height: 300px;
  }

  .brand-tile__body {
    height: 180px;
  }

  .brand-tile__name {
    font-size: var(--fs-xl);
  }

  .brand-tile__category {
    font-size: var(--fs-base);
  }

  .auth-page__image-side {
    min-height: 200px;
  }

  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-padding--sm {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .product-detail__main-image {
    padding: var(--space-8);
  }

  .product-detail__info {
    padding: var(--space-8) var(--space-section);
  }
}

/* Header full-width override */
.menu__inner {
  max-width: 100% !important;
}
