/* РЎР‚РЎСџР Р‰РЎвЂ Р  РЎвЂєР  Р’В±Р  Р вЂ¦Р  РЎвЂўР  Р вЂ Р  Р’В»Р РЋРІР‚ВР  Р вЂ¦Р  Р вЂ¦Р РЋРІР‚в„–Р  РІвЂћвЂ“ styles.css */

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

body, html {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #fff;
  color: #333;
  height: 100%;
  overflow-x: hidden;
}

button {
  background: transparent;
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #111;
  color: white;
}

/* === HERO === */
.hero {
  background: url('../images/background.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  position: static;
  overflow: visible;
  z-index: 0;
  padding: 40px 20px 20px;
}

.hero nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
}

.hero nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 300;
}

.hero-content {
  margin-top: 1vh;
  z-index: 1;
}

.hero-content h1 {
  margin: 0 0 20px;
  font-size: 48px;
  font-family: 'Georgia', serif;
  font-weight: normal;
}

.hero-content p,
.hero-content .description {
  font-size: 20px;
  line-height: 1.4;
  opacity: 0.95;
  margin: 0 0 30px;
}

.hero .btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 30px;
  border: 1px solid white;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  transition: all 0.3s;
}

.hero-content .btn {
  margin: 0 0 2rem;
}

.hero .btn:hover {
  background: white;
  color: #111;
}

/* === Р  РЎв„ўР  РЎвЂ™Р   Р  Р в‚¬Р  Р Р‹Р  РІР‚СћР  РІР‚С”Р  Р’В¬ === */
.carousel-section.in-hero {
  padding-top: 200px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  padding: 30px 0 50px;
  border-radius: 20px;
  position: relative;
  z-index: 3;

}

.carousel-section.in-hero h2 {
  margin-bottom: 40px;  /* РЎР‚Р В°РЎРѓРЎРѓРЎвЂљР С•РЎРЏР Р…Р С‘Р Вµ Р Т‘Р С• Р С”Р В°РЎР‚РЎвЂљР С•РЎвЂЎР ВµР С” */
  margin-top: -20px;    /* СЂСџвЂ™Тђ РЎРЊРЎвЂљР С• Р С—Р С•Р Т‘Р Р…Р С‘Р СР ВµРЎвЂљ РЎРѓР В°Р С Р В·Р В°Р С–Р С•Р В»Р С•Р Р†Р С•Р С” */
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-slider {
  max-width: 100vw;
}

.carousel-wrapper {
  padding: 33px 0 33px 32px;
}

.carousel-item {
  width: 280px;
  height: 380px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 15px;
  text-align: center;
  opacity: 0.6;
  flex-shrink: 0;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1.1);
}

.carousel-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.carousel-item h3 {
  margin: 10px 0 5px;
}

.carousel-item p {
  color: #333;
  font-size: 16px;
  margin-bottom: 8px;
}

.carousel-item a.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #111;
  border-radius: 20px;
  color: #111;
  text-decoration: none;
  background: rgba(255,255,255,0.8);
  position: relative;
  z-index: 5;
}

.carousel-item a.btn:hover {
  background: #111;
  color: white;
}

.carousel-btn {
  font-size: 2rem;
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  z-index: 4;
}
@media (max-width: 600px) {
  .about-hero {
    margin-bottom: 1px; /* РЎС“Р СР ВµР Р…РЎРЉРЎв‚¬Р С‘Р В»Р С‘ РЎР‚Р В°РЎРѓРЎРѓРЎвЂљР С•РЎРЏР Р…Р С‘Р Вµ Р Т‘Р С• "Р СџР С•Р С—РЎС“Р В»РЎРЏРЎР‚Р Р…РЎвЂ№Р Вµ Р В±РЎС“Р С”Р ВµРЎвЂљРЎвЂ№" */
  }

  /* РЈРјРµРЅСЊС€Р°РµРј РѕС‚СЃС‚СѓРїС‹ РґРѕ Рё РїРѕСЃР»Рµ "РџРѕРїСѓР»СЏСЂРЅС‹Рµ Р±СѓРєРµС‚С‹" */
.carousel-title {
  margin-top: 5px !important;
  margin-bottom: 1С‹px !important;
}

/* РЈРјРµРЅСЊС€Р°РµРј РІРµСЂС‚РёРєР°Р»СЊРЅС‹Рµ РѕС‚СЃС‚СѓРїС‹ РєР°СЂСѓСЃРµР»Рё */
.carousel-section.raised-over-hero {
  padding-top: 10px !important;
  padding-bottom: 30px !important;
}


  .carousel-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
}

.catalog-header {
  text-align: center;
  padding: 40px 20px 20px;
}

.catalog-header .back {
  display: block;
  text-align: left;
  margin-bottom: 20px;
  color: #888;
  text-decoration: none;
  font-size: 14px;
  padding-left: 20px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  height: 100%;
}

.product:hover {
  transform: scale(1.05);
}

.product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}


.product h3 {
  font-size: 18px;
  margin: 12px 0;
}

.product p {
  font-size: 16px;
  color: #777;
  margin: auto 0 0;
}

/* === Р  РІР‚СњР  РЎвЂєР  Р Р‹Р  РЎС›Р  РЎвЂ™Р  РІР‚в„ўР  РЎв„ўР  РЎвЂ™ === */
.delivery {
  text-align: center;
  padding: 60px 20px;
  background: #f0f0f0;
}

.delivery h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.delivery p {
  margin: 0 0 16px;
}

/* === Р  РЎвЂєР  РЎС›Р  РІР‚вЂќР  Р’В«Р  РІР‚в„ўР  Р’В« === */
.reviews {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.review {
  max-width: 500px;
  margin: 30px auto;
  font-style: italic;
  color: #444;
}

.review .stars {
  color: gold;
  font-size: 22px;
  margin-bottom: 10px;
}

.review span {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  color: #222;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #aaa;
}
.catalog-container {
  display: flex;
  padding: 1px;
}

.sidebar {
  width: 210px;
  height: min-content;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sidebar h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin-bottom: 12px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}

.sidebar ul li a:hover {
  color: #f06292;
}

/* Р С›Р В±Р Р…Р С•Р Р†Р С‘Р С .products Р Т‘Р В»РЎРЏ РЎРѓР ВµРЎвЂљР С”Р С‘ */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Р В±РЎС“Р Т‘Р ВµРЎвЂљ 2 Р Р† РЎР‚РЎРЏР Т‘ Р Р…Р В° Р СР В°Р В»Р ВµР Р…РЎРЉР С”Р С‘РЎвЂ¦, Р В°Р Т‘Р В°Р С—РЎвЂљР С‘Р Р† */
  gap: 20px;
  flex: 1;
}

@media screen and (min-width: 1024px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1280px) {
  .products {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
.hero nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  padding: 10px 0;
}
/* Р С™Р Р…Р С•Р С—Р С”Р В° Р Р…Р В°Р Р†Р ВµРЎР‚РЎвЂ¦ */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #333;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 10;
}

/* Р В¤Р С‘Р С”РЎРѓР С‘РЎР‚Р С•Р Р†Р В°Р Р…Р Р…Р В°РЎРЏ РЎв‚¬Р В°Р С—Р С”Р В° Р С”Р В°РЎвЂљР В°Р В»Р С•Р С–Р В° */
.catalog-header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 5;
  padding: 20px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.catalog-header h1 {
  margin-top: 10px;
}
/* Р С•РЎвЂљР В·РЎвЂ№Р Р†РЎвЂ№ Р С”Р В»Р С‘Р ВµР Р…РЎвЂљР С•Р Р† */
.reviews-carousel {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.reviews-carousel h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.review-track {
  display: flex;
  gap: 20px;
  animation: scrollReviews 60s linear infinite;
  width: max-content;
}

.review-card {
  flex: 0 0 300px;
  background: #f7f7f7;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card .stars {
  font-size: 20px;
  color: gold;
  margin: 10px 0;
}

.review-card .text {
  font-style: italic;
  color: #444;
  margin-bottom: 12px;
}

.review-card .author {
  font-weight: bold;
  color: #222;
}

.review-card .date {
  font-size: 14px;
  color: #999;
  margin-bottom: 5px;
}

@keyframes scrollReviews {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Р С—Р С•РЎвЂљР С•Р СРЎС“ РЎвЂЎРЎвЂљР С• Р СРЎвЂ№ Р Т‘РЎС“Р В±Р В»Р С‘РЎР‚Р С•Р Р†Р В°Р В»Р С‘ 50% Р С•РЎвЂљР В·РЎвЂ№Р Р†Р С•Р Р† */
}
/* Р С”Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р С‘ Р В±РЎС“Р С”Р ВµРЎвЂљР С•Р Р† */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  max-width: 500px;
  position: relative;
}

.modal-content img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.close-modal {
  position: absolute;
  top: -45px;
  right: -45px;
  font-size: 66px;
  line-height: 0.3;
  color: white;
  cursor: pointer;
}

.price-qty {
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.price-qty input {
  width: 60px;
  padding: 6px;
  font-size: 16px;
}
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #fefefe;
  color: #333;
}

.order-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.order-container h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: normal;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 14px;
  color: #555;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  background: #fafafa;
  transition: border 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-color: #999;
  outline: none;
}

form button {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background: black;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #333;
}

@media (max-width: 600px) {
  .order-container {
    margin: 30px 15px;
    padding: 20px;
  }
}
.cart-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  text-decoration: none;
  color: #333;
  background: #fff;
  border-radius: 30px;
  padding: 6px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
}

#cart-count {
  background: crimson;
  color: white;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 20px;
}
.back-button {
  display: inline-block;
  margin: 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  border: 1px solid #ccc;
  padding: 8px 16px;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.back-button:hover {
  background: #111;
  color: white;
}
/* === Р С’Р вЂќР С’Р СџР СћР С’Р В¦Р ВР Р‡ Р вЂќР вЂєР Р‡ Р СљР С›Р вЂР ВР вЂєР В¬Р СњР В«Р Тђ Р Р€Р РЋР СћР  Р С›Р в„ўР РЋР СћР вЂ™ === */
@media screen and (max-width: 768px) {
  body, html {
    font-size: 16px;
  }

  .top-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 13px;
    z-index: 10;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    background-color: rgba(0,0,0,0.6);
    border-radius: 10px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p.description {
    font-size: 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 15px;
  }

  .about-hero {
    font-size: 15px;
    padding: 15px;
  }

  .carousel-section {
    padding: 20px 10px;
  }

  .carousel-title {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
    font-size: 22px;
    margin-top: 3px;
  }
  .carousel-item {
    width: 240px;
    height: auto;
    padding: 10px;
    margin-right: 10px;
  }

  .carousel-item img {
    height: 180px;
  }

  .review {
    font-size: 15px;
    margin: 10px auto;
    padding: 10px;
  }

  footer {
    font-size: 13px;
    padding: 15px 10px;
  }

  .catalog-header h1 {
    font-size: 24px;
    margin: 10px;
  }

  .sidebar ul {
    padding-left: 10px;
  }

  .sidebar ul li a {
    font-size: 15px;
  }

  .products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .product {
    height: auto;
    padding: 15px;
  }

  .modal-content {
    max-width: 90%;
    padding: 20px 15px;
  }

  .order-container {
    padding: 20px 10px;
  }

  form input, form textarea {
    font-size: 14px;
  }

  form button {
    padding: 12px;
    font-size: 16px;
  }
}
.carousel-track {
  display: flex;
  overflow-x: x;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 10px 0;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

@media (max-width: 768px) {
  .catalog-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    background: #f8f8f8;
  }

  .sidebar ul {
    display: flex;
    flex-direction: row;
    gap: 12px;
    white-space: nowrap;
  }

  .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 16px;
  }

  .product {
    width: 45%;
  }
}
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
    padding: 8px 0 4px;
    background: rgba(0, 0, 0, 0.4);
  }

  .top-bar .contacts {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 4px;
  }

  .top-bar .phone {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: white;
  }

  .hero nav {
    background: transparent;
    margin-top: 4px;
  }

  .hero nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px;
    margin: 10px auto 20px;
    width: 90%;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.5);
  }

  .hero nav ul li {
    margin: 0;
  }

  .hero nav ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    padding: 6px 10px;
  }

  .hero-content {
    margin-top: 60px; /* Р С•Р С—РЎС“РЎРѓРЎвЂљР С‘РЎвЂљРЎРЉ РЎвЂљР ВµР С”РЎРѓРЎвЂљ РЎвЂЎРЎС“РЎвЂљРЎРЉ Р Р…Р С‘Р В¶Р Вµ */
    text-align: center;
    padding: 0 16px;
  }

  .about-hero {
    margin-top: 20px;
    font-size: 15px;
    padding: 16px;
  }

  .carousel-title {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
    margin-top: 40px;
    font-size: 20px;
  }

  .carousel-section {
    margin-top: 20px;
  }
}
/* Р вЂРЎС“РЎР‚Р С–Р ВµРЎР‚ Р С‘ Р СР С•Р В±Р С‘Р В»РЎРЉР Р…Р С•Р Вµ Р СР ВµР Р…РЎР‹ */
.burger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
  z-index: 101;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 14px;
  padding: 15px;
  z-index: 100;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  margin: 8px 0;
  font-size: 18px;
  text-align: center;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С• Р Т‘Р В»РЎРЏ Р СР С•Р В±Р С‘Р В»РЎРЉР Р…РЎвЂ№РЎвЂ¦ */
@media (max-width: 768px) {
  .burger {
    display: block;
    position: absolute;
    top: 10px;
    right: 20px;
  }

  .hero nav {
    display: none !important;
  }

  .mobile-nav.show {
    display: flex;
  }
}
@media (max-width: 768px) {
  .about-hero {
    margin-bottom: 10px !important; /* Р В±РЎвЂ№Р В»Р С• РЎРѓР В»Р С‘РЎв‚¬Р С”Р С•Р С Р СР Р…Р С•Р С–Р С• */
  }

  .carousel-title {
    padding-bottom: 10 !important;
    margin-top: 10px !important;
    margin-bottom: 30px !important;
  }

  .carousel-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}
.sidebar {
  position: sticky;
  top: 180px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

.sidebar h2 {
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 12px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #444;
  font-weight: bold;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: linear-gradient(to right, #e9a2bd, #ff88ba);
  color: #333;
}

.sidebar ul li a:hover {
  background: linear-gradient(to right, #ffa3c9, #ff84ad);
  color: #fff;
}
@media (max-width: 768px) {
  .sidebar h2 {
    display: none;
  }
}
.extra-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.extra-item {
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.extra-item img {
  width: 100%;
  max-height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item {
  position: relative;
}

.delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.delete-btn:hover {
  color: #e74c3c;
}

.fade-in h2 {
  margin: 0 0 1rem;
}