/* ====== ОБЩИЕ НАСТРОЙКИ ====== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ====== HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10001; /* ← вот это добавляет поверх модалки */
  background: rgba(160, 160, 160, 0.95); /* можешь вернуть свой цвет */
  height: 100px;
  backdrop-filter: blur(4px);
}




.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 40px;
}

.header-center {
  justify-content: center;
  flex: 1;
}

.header-center img {
  height: 80px;
}

.header-right {
  position: relative;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px; /* высота как у .site-header */
}

.cart-icon img {
  height: 60px;   /* под шапку 100px — идеально */
  width: auto;    /* убирает растяжение */
  display: block;
  transition: 0.15s ease-in-out;
}

#cartCount {
  position: absolute;
  top: -4px;
  right: -4px;
  background: black;
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
}

/* ====== ЛОГО ====== */
.logo-link {
  display: flex;
  align-items: center;
  height: 100px;
}

.logo-link:hover img {
  content: url("/static/images/logo.png"); /* заменишь если нужно */
  animation: bounce 0.4s ease;
}

/* ====== ФУТЕР ====== */
.site-footer {
  background-color: #f5e9f0;
  padding: 40px 20px;
  text-align: center;
  color: #3a1c1c;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.footer-block {
  min-width: 200px;
}

.footer-logo-img {
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.footer-block a {
  text-decoration: none;
  color: #3a1c1c;
  transition: color 0.3s ease;
}

.footer-block a:hover {
  color: #ff5e84;
}

.footer-social-icon {
  width: 90px;
  height: 90px;
  margin: 0 10px;
  transition: 0.2s ease;
}

.footer-social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* ====== КНОПКИ, ЭФФЕКТЫ, АНИМАЦИИ ====== */
.collection-button {
  padding: 10px 18px;
  background: white;
  color: black;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collection-button:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cart-button {
  padding: 8px 14px;
  background: #000000;
  color: #999999;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.cart-button:hover {
  background: #818181;
  color: #000000;
}

.section-title-line {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.section-title-line::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 70%;
  height: 3px;
  background-color: hsl(0, 96%, 81%);
  border-radius: 2px;
}

.header-left,
.header-center,
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  position: relative;
  z-index: 0;
}

html, body, .wrapper, main, section, .parallax-bg {
   position: relative !important;
  overflow: visible !important;
  transform: none !important;
}

.site-header {
    position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
}

html, body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}





body {
  max-width: 100%;
  overflow-x: hidden;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.container, section, .parallax-bg, .content-block {
  max-width: 100%;
  overflow-x: hidden;
}


.nav-link {
  text-decoration: none;            /* убираем подчёркивание */
  color: #1a1a1a;                   /* основной цвет — замени на свой */
  transition: color 0.2s ease;
  margin: 0 5px;
  font-weight: 500;
}

.nav-link:hover {
  color: #ff4c4c;                   /* цвет при наведении — замени на свой */
}


.nav-link {
  text-decoration: none;
  color: #1a1a1a;         /* основной цвет */
  position: relative;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ff4c4c;  /* цвет линии */
  transition: width 0.5s ease;
}

.nav-link:hover {
  color: #ff4c4c; /* цвет текста при наведении */
}

.nav-link:hover::after {
  width: 70%;
}


.footer-socials {
  display: flex;
  justify-content: center;   /* выравнивание по центру */
  align-items: center;       /* выравнивание по вертикали */
  gap: 20px;                 /* расстояние между иконками */
  margin-top: 20px;
}

.footer-social-icon {
  width: 90px;
  height: 90px;
  transition: 0.2s ease;
}

.footer-social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-block:first-child {
  text-align: center;
}

.footer-block:first-child a {
  display: inline-block;
}



.femme-card {
  background-image: url('/static/images/femme-card.jpg');
}


.left-card {
  justify-content: flex-start;
}

.right-card {
  justify-content: flex-end;
}

.collection-card {
  width: 500px;        /* ← ← ← фиксируем ширину чётко */
  height: 500px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
}

.femme-card {
  background-image: url('/static/images/femme-card.jpg');
}



@media (max-width: 768px) {
  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 22px !important;
    line-height: 1.3;
  }

  h3 {
    font-size: 18px !important;
  }

  p {
    font-size: 16px !important;
    line-height: 1.5;
  }

  .collection-button {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }

  .section-title-line {
    font-size: 20px !important;
  }

  .drop-link {
    font-size: 16px !important;
  }

  .mobile-menu a {
    font-size: 17px !important;
  }

  .cart-button {
    font-size: 14px !important;
    padding: 6px 10px !important;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 20px;
  }
}