@charset "UTF-8";

/* ==========================================================================
   CSS Variables — La Famiglia Light Luxury Edition
   ========================================================================== */
:root {
  --brand-blue: #182F5A;
  --brand-blue-dark: #0E1B38;
  --accent-gold: #C8A96E;

  --bg-white: #FFFFFF;
  --bg-cream: #FBF9F7;
  --bg-cream-dark: #F2EDE4;

  --text-main: #1A1A1A;
  --text-secondary: #636363;

  --border-light: rgba(26, 26, 26, 0.08);

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  --smooth: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--brand-blue);
  /* Акцентні заголовки */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

::selection {
  background: var(--brand-blue);
  color: white;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--smooth), transform 1s var(--smooth);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.img-zoom {
  overflow: hidden;
  display: block;
}

.img-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-zoom:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-block;
  background: var(--brand-blue);
  color: white;
  padding: 16px 40px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: var(--smooth);
  border: 1px solid var(--brand-blue);
}

.btn-primary:hover {
  background: white;
  color: var(--brand-blue);
  box-shadow: 0 10px 20px rgba(161, 43, 47, 0.15);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px 20px;
  border: 1px solid var(--border-light);
  transition: var(--smooth);
}

.cart-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.cart-count {
  background: var(--brand-blue);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  transition: transform 0.3s ease;
}

.cart-count-bounce {
  transform: scale(1.5);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 0;
  z-index: 1000;
  transition: var(--smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 40px;
  transition: var(--smooth);
  filter: brightness(0) saturate(100%) invert(14%) sepia(48%) saturate(2339%) hue-rotate(204deg) brightness(94%) contrast(97%);
}

.header.scrolled .logo-img {
  height: 35px;
}

/* ==========================================================================
   Screen 1: Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: #0a0605;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.05) brightness(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(6, 2, 1, 0.45) 0%,
      rgba(6, 2, 1, 0.22) 45%,
      rgba(6, 2, 1, 0.05) 100%);
  transition: opacity 0.1s linear;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 50px;
}

.hero-subtitle {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 25px;
  display: block;
}

.hero-title {
  font-size: clamp(36px, 5.6vw, 82px);
  line-height: 0.95;
  margin-bottom: 30px;
  color: #ffffff;
  white-space: nowrap;
}

.hero-container {
  max-width: min(960px, 92vw);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 40px;
}

/* ==========================================================================
   General Layout
   ========================================================================== */
.section-padding {
  padding: 120px 0;
}

.subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 15px;
}

.title-main {
  font-size: clamp(36px, 5vw, 55px);
  margin-bottom: 40px;
}

/* ==========================================================================
   Screen 2: Story
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-weight: 300;
}

.story-image {
  aspect-ratio: 3/4;
}

/* ==========================================================================
   Screen 3: Shop Collection
   ========================================================================== */
.shop {
  background: var(--bg-cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.product-card {
  background: white;
  padding: 20px;
  transition: transform 0.4s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.product-img-wrap {
  aspect-ratio: 4/5;
  margin-bottom: 25px;
}

.product-info {
  text-align: center;
}

.product-name {
  font-size: 24px;
  margin-bottom: 15px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 300;
  min-height: 45px;
}

.product-meta {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.product-price {
  font-size: 24px;
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-weight: 600;
}

.product-weight {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.btn-add {
  width: 100%;
  border: 1px solid var(--brand-blue);
  background: white;
  color: var(--brand-blue);
  padding: 15px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: var(--smooth);
}

.btn-add:hover {
  background: var(--brand-blue);
  color: white;
}

/* ==========================================================================
   Screen 4: Features
   ========================================================================== */
.features {
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  text-align: left;
  margin: 60px 0;
}

.feature-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 300;
}

.feature-full {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Screen 5: Gallery — Accordion Panels
   ========================================================================== */
.gallery-section {
  padding: 50px 0 80px;
  background: var(--bg-cream-dark);
  overflow: hidden;
}

.gallery-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
}

.gallery-flex-container {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  height: 52vh;
  min-height: 400px;
  gap: 15px;
  padding: 0 40px;
  transition: none;
}

.gallery-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  transition: flex 1.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: flex;
}

.gallery-panel:nth-child(even) {
  margin-top: 30px;
  margin-bottom: -30px;
}

.gallery-panel:hover {
  flex: 4;
}

.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
  filter: saturate(1.05);
}

.gallery-panel:hover img {
  transform: scale(1.03);
}

.gallery-panel:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   Screen 6: Colomba Tradition
   ========================================================================== */
.colomba {
  background: var(--brand-blue);
  color: white;
}

.colomba h2 {
  color: white;
}

.colomba .subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.colomba p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 300;
}

.btn-white {
  border-color: white;
  color: white;
  background: transparent;
}

.btn-white:hover {
  background: white;
  color: var(--brand-blue);
}

/* ==========================================================================
   Screen 7: Where to Buy
   ========================================================================== */
.where-to-buy {
  text-align: center;
}

.where-to-buy .subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.22em;
}

.where-to-buy h2 {
  font-family: var(--font-body);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  color: var(--brand-blue);
}

.where-to-buy p {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.highlight-text {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--brand-blue);
  margin: 40px auto 0;
  max-width: 980px;
}

/* ==========================================================================
   Cart & Checkout Form Forms & Overlays
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: var(--smooth);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  background: white;
  z-index: 2000;
  padding: 40px;
  transition: var(--smooth);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.close-cart {
  font-size: 24px;
  color: var(--text-main);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-item-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand-blue);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--brand-blue);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.qty-btn:hover {
  background: var(--brand-blue);
  color: white;
}

.cart-qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.cart-remove-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cart-remove-btn:hover {
  background: var(--bg-cream);
  color: var(--brand-blue);
}

.cart-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 40px 0;
}

/* Form styles */
.input-field {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.input-field:focus {
  border-color: var(--brand-blue);
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--border-light);
  z-index: 100;
  display: none;
  list-style: none;
  margin: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.autocomplete-list.active {
  display: block;
}

.autocomplete-list li {
  padding: 12px;
  cursor: pointer;
  font-size: 13px;
  border-bottom: 1px solid #f9f9f9;
}

.autocomplete-list li:hover {
  background: var(--bg-cream);
  color: var(--brand-blue);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--brand-blue);
}

input:checked+.slider:before {
  transform: translateX(20px);
}

/* Animation Utils */
.fly-to-cart {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Visual Enhancements — Animations & Polish
   ========================================================================== */

/* Reveal delay extensions */
.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* Keep hero reveal-up elements hidden until hero is loaded */
.hero:not(.loaded) .reveal-up {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: none !important;
}

/* --- Page Loader --- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo {
  height: 55px;
  opacity: 0;
  filter: brightness(0) saturate(100%) invert(14%) sepia(48%) saturate(2339%) hue-rotate(204deg) brightness(94%) contrast(97%);
  animation: loaderLogoIn 0.7s 0.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes loaderLogoIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader-bar {
  width: 100px;
  height: 1px;
  background: rgba(26, 26, 26, 0.1);
  margin-top: 28px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0;
  background: var(--brand-blue);
  animation: loaderFill 0.9s 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--brand-blue), var(--accent-gold));
  z-index: 9998;
  transition: width 0.08s linear;
}

/* --- Hero dark-bg button override --- */
.hero-container .btn-primary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: white;
}

.hero-container .btn-primary:hover {
  background: white;
  color: var(--brand-blue);
  border-color: white;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.12);
}

/* --- Hero Title Letter Animation --- */
.hero-title {
  opacity: 1;
}

.hero-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero.loaded .hero-letter {
  opacity: 1;
  transform: translateY(0);
}

/* Gold underline on hero title */
.hero-title::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  margin: 14px auto 0;
  transition: width 1.1s 0.4s ease;
}

.hero.loaded .hero-title::after {
  width: 0;
}

/* --- Floating Deco Elements --- */
.deco-float {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero.loaded .deco-float {
  opacity: 0.11;
}

.deco-tl {
  top: 12%;
  left: 4%;
  width: 110px;
  animation: floatDeco1 11s 1.5s ease-in-out infinite;
}

.deco-br {
  bottom: 14%;
  right: 5%;
  width: 90px;
  animation: floatDeco2 13s 0.5s ease-in-out infinite;
}

@keyframes floatDeco1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(10deg);
  }
}

@keyframes floatDeco2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(-8deg);
  }
}

/* --- Hero Background Parallax --- */
.hero {
  perspective: 1px;
}

.hero-video-bg {
  height: 115%;
  will-change: transform;
}

/* --- Button Shimmer Effect --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-add {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-add::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-add:hover::after {
  animation: btnShimmer 0.65s ease forwards;
}

@keyframes btnShimmer {
  to {
    left: 145%;
  }
}

/* --- Product Card Top Accent Line --- */
.product-card {
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--brand-blue), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover::before {
  transform: scaleX(1);
}


/* --- Feature Items Left Gold Border + Numbers --- */
.features-grid {
  counter-reset: feature-count;
}

.feature-item {
  padding-left: 24px;
  border-left: 2px solid var(--border-light);
  transition: border-color 0.7s ease;
  counter-increment: feature-count;
}

.feature-item.active {
  border-left-color: var(--accent-gold);
}

.feature-item:not(.feature-full)::before {
  content: "0" counter(feature-count);
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-style: italic;
  color: var(--accent-gold);
  letter-spacing: 0.25em;
  margin-bottom: 10px;
  opacity: 0.75;
}

.feature-item.feature-full {
  border-left: none;
  padding-left: 0;
  counter-increment: none;
}

.feature-item.feature-full.active {
  border-left: none;
}

/* --- Colomba Image --- */
.colomba-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.colomba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.02);
  display: block;
  transition: transform 1.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.colomba-img:hover img {
  transform: scale(1.04);
}

.colomba {
  overflow: hidden;
}

/* Colomba layout */
.colomba-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.colomba-text {
  align-self: center;
}

/* --- Story Visual: double image --- */
.story-visual {
  position: relative;
  padding-bottom: 80px;
  /* room for secondary image */
}

/* Decorative offset frame behind primary image */
.story-visual::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  right: 18px;
  bottom: 80px;
  border: 1px solid var(--border-light);
  pointer-events: none;
  z-index: 0;
}

.story-img-primary {
  height: 480px;
  position: relative;
  z-index: 1;
}

.story-img-primary img {
  object-position: center 60%;
  filter: saturate(1.1) contrast(1.02);
}

.story-img-secondary {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 58%;
  aspect-ratio: 5/4;
  border: 6px solid white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
  z-index: 3;
}

.story-img-secondary img {
  filter: saturate(1.08);
  object-position: center top;
}

/* --- Where-to-buy highlight pulse --- */
.highlight-text {
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  right: 0;
  height: 1px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.highlight-text.active::after {
  transform: scaleX(1);
}

/* --- Story Pull-Quote --- */
.story-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 21px !important;
  font-weight: 400 !important;
  color: var(--brand-blue) !important;
  line-height: 1.55;
  padding: 20px 0 20px 22px;
  border-left: 3px solid var(--brand-blue);
  margin-top: 10px;
}

/* --- Product Image Bottom Gradient --- */
.product-img-wrap {
  position: relative;
}

.product-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
  pointer-events: none;
}

/* --- Subtle section ornament --- */
.section-ornament {
  display: block;
  text-align: center;
  color: var(--accent-gold);
  font-size: 18px;
  opacity: 0.55;
  margin: 0 0 50px;
  letter-spacing: 0.3em;
}

/* ==========================================================================
   Brands Grid
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 68px 48px;
  align-items: center;
  justify-items: center;
  margin: 40px auto;
  max-width: 1180px;
}

.brand-logo {
  height: 96px;
  width: auto;
  object-fit: contain;
  opacity: 0.82;
  filter: grayscale(0.12);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.brand-logo[alt="Al Fresco"] {
  height: 26px;
}

.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

/* ==========================================================================
   Mobile Responsiveness
   ========================================================================== */
@media (max-width: 991px) {

  .story-grid,
  .features-grid,
  .colomba-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .section-padding {
    padding: 80px 0;
  }

  .gallery-flex-container {
    height: auto;
    min-height: 0;
    flex-direction: column;
  }

  .gallery-panel {
    flex: none;
    height: 300px;
    min-height: 300px;
    border-radius: 4px;
  }

  .gallery-panel:nth-child(even) {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .title-main {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .hero-title {
    font-size: 42px;
    margin-bottom: 20px;
    white-space: normal;
  }

  .hero-subtitle {
    margin-bottom: 15px;
  }

  .hero-desc {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-img-secondary {
    display: none;
  }

  /* Hide decorative secondary image on small mobile */
  .story-visual {
    padding-bottom: 0px;
  }

  .story-visual::before {
    bottom: -18px;
  }

  .story-img-primary {
    height: auto;
    aspect-ratio: 4/5;
  }

  .brands-grid {
    gap: 36px 24px;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    margin: 20px auto;
  }

  .brand-logo {
    height: 62px;
  }

  .brand-logo[alt="Al Fresco"] {
    height: 16px;
  }

  .cart-sidebar {
    max-width: 100%;
    padding: 20px;
  }

  .cart-item {
    padding: 18px 0;
  }

  .cart-item-name {
    font-size: 18px;
  }

  .cart-item-meta {
    align-items: flex-start;
    gap: 12px;
  }

  .cart-item-actions {
    flex-shrink: 0;
  }

  .colomba-img {
    max-width: 100%;
  }

  .where-to-buy h2 {
    font-size: 32px;
  }

  .gallery-panel {
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

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

  .feature-item {
    padding-left: 15px;
  }
}