@charset "UTF-8";

/* ==========================================================================
   CSS Variables & Theme Setup
   Theme: Luxury/Refined Organic (Elegant Cream, Deep Charcoal, Antique Gold)
   Fonts: NinaCTT (Headings), Montserrat Alternates (Body)
   ========================================================================== */

:root {
  /* Colors */
  --bg-color: #F8F5F0;
  /* Elegant Cream */
  --bg-color-alt: #EFEADD;
  /* Slightly darker cream for sections */
  --text-primary: #1A1A1A;
  /* Deep Charcoal */
  --text-secondary: #5C5C5C;
  --accent-brand: #00669D;
  /* Brand Blue */
  --accent-brand-hover: #004D7A;
  --border-color: rgba(26, 26, 26, 0.1);

  /* Typography */
  --font-heading: 'Montserrat Alternates', 'Montserrat', sans-serif;
  --font-body: 'Montserrat Alternates', 'Montserrat', sans-serif;

  /* Grid & Spacing */
  --container-width: 1400px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Effects */
  --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-elegant: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Local Fonts Imports */

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('fonts/MontserratAlternates-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('fonts/MontserratAlternates-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('fonts/MontserratAlternates-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Decorative floating elements */
.deco-el {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: deco-float 8s ease-in-out infinite;
}

.deco-el:nth-child(odd) {
  animation-direction: alternate;
}

.deco-el:nth-child(even) {
  animation-delay: -4s;
  animation-direction: alternate-reverse;
}

@keyframes deco-float {
  0% {
    transform: translateY(0px) rotate(var(--r, 0deg));
  }

  100% {
    transform: translateY(-18px) rotate(var(--r, 0deg));
  }
}

/* ==========================================================================
   Add to Cart — Fly Animation
   ========================================================================== */

.fly-to-cart {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 99999;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.75s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.75s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.cart-count-bounce {
  animation: count-bounce 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes count-bounce {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.7);
    background-color: #27ae60;
  }

  60% {
    transform: scale(0.85);
  }

  100% {
    transform: scale(1);
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
  cursor: default;
}

/* ==========================================================================
   Page Loader
   ========================================================================== */

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-logo-wrapper {
  position: relative;
  width: 250px;
}

.loader-logo-grey,
.loader-logo-color {
  width: 100%;
  height: auto;
  display: block;
}

.loader-logo-grey {
  filter: grayscale(1) invert(0.1) opacity(0.3);
}

.loader-logo-color {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: inset(0 100% 0 0);
  animation: wipe-in 1.5s cubic-bezier(0.75, 0, 0, 1) forwards;
}

@keyframes wipe-in {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}


/* Noise overlay for organic texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

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

.btn-primary {
  background-color: var(--accent-brand);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 102, 157, 0.22);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.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;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }

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

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md) 0;
  z-index: 100;
  transition: background-color var(--transition-smooth), padding var(--transition-smooth);
}

.header.scrolled {
  background-color: rgba(248, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

/* Header is transparent over dark video hero — make everything white */
.header:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.header:not(.scrolled) .nav-links a:hover {
  color: #ffffff;
}

.header:not(.scrolled) .cart-btn {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}

.header:not(.scrolled) .cart-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.08);
}

.header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

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

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width var(--transition-bounce);
}

.nav-links a:hover::after {
  width: 100%;
}

.logo-container {
  text-align: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.cart-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-smooth);
}

.cart-count {
  background-color: var(--accent-brand);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
}

/* ==========================================================================
   Hero Section — Video Background
   ========================================================================== */

.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #1a1208;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.mobile-video {
  display: none;
}

@media (max-width: 768px) {
  .desktop-video {
    display: none;
  }

  .mobile-video {
    display: block;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(10, 8, 4, 0.72) 0%,
      rgba(10, 8, 4, 0.40) 60%,
      rgba(10, 8, 4, 0.60) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

.hero-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.hero-top-text {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  display: block;
}

/* White only inside dark video hero */
.hero-video .hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.hero-massive-typog {
  width: 100%;
  position: relative;
  pointer-events: none;
  z-index: 1;
}

.hero-title-left,
.hero-title-right {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9;
  color: #ffffff;
  margin: 0;
  display: block;
  white-space: nowrap;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.hero-title-left {
  text-align: left;
}

.hero-title-right {
  text-align: left;
}

.hero-bottom-info {
  margin-top: 2.5rem;
  max-width: 420px;
  position: relative;
  z-index: 3;
}

.hero-desc {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  max-width: 320px;
}

.hero-cta {
  background-color: #ffffff !important;
  color: var(--text-primary) !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 0.03em;
  display: inline-block;
  text-decoration: none;
}

.hero-cta::before {
  display: none;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background-color: var(--accent-brand) !important;
  color: #fff !important;
}

@media (max-width: 991px) {

  .hero-title-left,
  .hero-title-right {
    font-size: clamp(3rem, 16vw, 7rem);
  }

  .hero-bottom-info {
    max-width: 100%;
  }
}

.placeholder-img {
  width: 100%;
  height: 100%;
  background-color: #E6DFD3;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.placeholder-img::after {
  content: 'ФОТО';
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(26, 26, 26, 0.2);
  letter-spacing: 0.2em;
}

/* ==========================================================================
   About/Philosophy Section
   ========================================================================== */

.philosophy {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-color-alt);
  position: relative;
  overflow: hidden;
}

/* When video is active — dark mode */
.philosophy.philosophy-video {
  background-color: #110e08;
  overflow: hidden;
}

.philosophy-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.philosophy-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg,
      rgba(8, 6, 3, 0.80) 0%,
      rgba(8, 6, 3, 0.55) 50%,
      rgba(8, 6, 3, 0.75) 100%);
}

.philosophy-video .philosophy-grid {
  position: relative;
  z-index: 3;
}

/* White text in video mode */
.philosophy-video .hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.philosophy-video h2 {
  color: #ffffff;
}

.philosophy-video .philosophy-text p {
  color: rgba(255, 255, 255, 0.65);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.philosophy-text .hero-subtitle {
  color: var(--accent-brand);
}

.philosophy-text h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.philosophy-text p {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  max-width: 480px;
  opacity: 0.75;
  line-height: 1.7;
}

/* Paska accordion gallery inside philosophy section */
.paska-gallery-group {
  display: flex;
  gap: 10px;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
}

.paska-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.paska-panel:hover {
  flex: 3.5;
}

.paska-panel .placeholder-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.paska-panel:hover .placeholder-img {
  transform: scale(1.06);
}

/* Dark overlay on each panel */
.paska-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.paska-panel:hover::before {
  opacity: 1;
}

/* Name label — hidden by default, shown on hover */
.paska-panel-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.paska-panel:hover .paska-panel-label {
  opacity: 1;
  transform: translateY(0);
}

.paska-panel-label span {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.plus-icon {
  font-family: sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: #B0B0B0;
}

.feature-img-wrap {
  width: 170px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  align-self: flex-start;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card:hover .feature-img-wrap {
  transform: scale(1.05);
}

.feature-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 2rem;
  color: #000;
}

/* ==========================================================================
   Shop/Products Section
   ========================================================================== */

.shop {
  padding: var(--spacing-xl) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-md);
}

.section-header h2 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.product-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.product-img-wrap .placeholder-img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .placeholder-img {
  transform: scale(1.08);
}

.add-to-cart-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  justify-content: center;
}

.product-card:hover .add-to-cart-overlay {
  opacity: 1;
  transform: translateY(0);
}

.btn-add {
  background-color: var(--bg-color);
  color: var(--text-primary);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background-color 0.3s, color 0.3s;
}

.btn-add:hover {
  background-color: var(--accent-brand);
  color: #fff;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
}

.product-name {
  font-size: clamp(1.15rem, 5vw, 1.5rem);
  margin-bottom: 0.25rem;
}

.product-weight {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-price {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  color: var(--accent-brand);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

/* ==========================================================================
   Interactive Photo Gallery
   ========================================================================== */

.gallery-section {
  padding: var(--spacing-md) 0 var(--spacing-xl) 0;
  overflow: hidden;
}

.gallery-flex-container {
  display: flex;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-width: var(--container-width);
  margin: 0 auto;
  gap: 12px;
  padding: 0 5%;
}

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

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

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

.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.8s ease;
  will-change: transform;
}

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

@media (max-width: 991px) {
  .gallery-flex-container {
    height: 50vh;
  }
}

@media (max-width: 768px) {
  .gallery-flex-container {
    flex-direction: column;
    height: 80vh;
  }

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

  .gallery-panel:nth-child(even) {
    margin-left: 20px;
    margin-right: -20px;
  }
}

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

.footer {
  background-color: var(--text-primary);
  color: var(--bg-color);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-brand h2 {
  color: var(--bg-color);
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.footer-brand p {
  color: rgba(248, 245, 240, 0.6);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
  color: var(--accent-brand);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a,
.footer-col p {
  color: rgba(248, 245, 240, 0.8);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--bg-color);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 245, 240, 0.1);
  padding-top: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(248, 245, 240, 0.5);
}

/* ==========================================================================
   Cart Sidebar
   ========================================================================== */

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 1000;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

.cart-header h3 {
  font-size: 2rem;
}

.close-cart {
  font-size: 2rem;
  line-height: 1;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.close-cart:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.cart-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-right: var(--spacing-xs);
}

.cart-empty {
  text-align: center;
  color: var(--text-secondary);
  margin-top: var(--spacing-xl);
  font-size: 1.1rem;
}

.cart-footer {
  position: sticky;
  bottom: 0;
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-md);
  margin-top: auto;
  padding-bottom: calc(var(--spacing-md) + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(248, 245, 240, 0.92) 0%, var(--bg-color) 18%);
  box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.04);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.btn-checkout {
  width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background-color: var(--accent-brand);
  color: #ffffff;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

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

/* ==========================================================================
   Checkout Form
   ========================================================================== */

.checkout-form-container {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--spacing-md) + env(safe-area-inset-bottom));
}

.back-to-cart {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
  display: inline-flex;
  transition: color 0.3s;
}

.back-to-cart:hover {
  color: var(--accent-brand);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: calc(var(--spacing-lg) + env(safe-area-inset-bottom));
}

.checkout-form-container .btn-checkout {
  position: sticky;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 -10px 24px rgba(248, 245, 240, 0.95);
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input {
  font-family: var(--font-body);
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: transparent;
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-brand);
}

.form-group input:disabled {
  background-color: rgba(26, 26, 26, 0.05);
  cursor: not-allowed;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  list-style: none;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

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

.autocomplete-list li {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.autocomplete-list li:hover {
  background-color: rgba(0, 102, 157, 0.05);
  color: var(--accent-brand);
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-section-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.order-type-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 2rem;
  background: var(--bg-color-alt);
  padding: 1rem;
  border-radius: 8px;
}

.toggle-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.toggle-text.active {
  color: var(--accent-brand);
  font-weight: 700;
}

.toggle-container {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-container input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 26px;
}

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

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

input:checked+.toggle-slider:before {
  transform: translateX(24px);
}

/* ==========================================================================
    Responsive & Mobile Menu
    ========================================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 201; /* Ensure above mobile-menu for toggle */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

.header:not(.scrolled) .menu-btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

.header:not(.scrolled) .menu-btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.08);
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header:not(.scrolled) .menu-btn span {
  background-color: rgba(255, 255, 255, 0.85);
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Make hamburger dark if menu is open since background is light */
.menu-btn.active {
  color: var(--text-primary);
  border-color: var(--border-color);
}
.menu-btn.active span {
  background-color: var(--text-primary) !important;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  transition: color 0.3s;
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--accent-brand);
}

@media (max-width: 1024px) {
  .hero-title-left,
  .hero-title-right {
    font-size: clamp(3rem, 12vw, 6rem);
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .menu-btn {
    display: flex;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-container {
    padding-top: 80px;
    padding-bottom: 60px;
    justify-content: center;
  }

  .logo-img {
    height: 32px;
  }

  .cart-btn {
    font-size: 0;
    padding: 0.5rem;
    gap: 0;
  }
  
  .cart-btn .cart-count {
    font-size: 0.75rem;
  }

  .hero-title-left,
  .hero-title-right {
    font-size: clamp(2.2rem, 14vw, 4rem);
  }
  
  .hero-bottom-info {
    max-width: 100%;
    margin-top: 2rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .philosophy-text h2 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  
  .paska-gallery-group {
    flex-direction: column;
    height: 700px;
  }
  
  .paska-panel {
    border-radius: 12px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .gallery-section .container {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
  .gallery-section .container h2 {
    line-height: 1 !important;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .product-img-wrap {
    aspect-ratio: auto;
    height: 380px;
  }

  .add-to-cart-overlay {
    opacity: 1;
    transform: translateY(0);
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
  }

  .btn-add {
    width: 65%;
    padding: 0.9rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .footer-brand h2 {
    font-size: 2.5rem;
  }
  
  .cart-sidebar {
    max-width: 100%;
    padding: 1rem;
  }

  .order-type-toggle {
    flex-direction: column;
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title-left,
  .hero-title-right {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  
  .product-img-wrap {
    height: 330px;
  }
  
  .gallery-flex-container {
    height: 60vh;
  }
  
  .paska-gallery-group {
    height: 600px;
  }
}
