html {
  scroll-behavior: smooth;
}

body {
  background-color: #fdfaf4;
  color: #2a2a2a;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #6b3f7f;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

header {
  background-color: #fdfaf4;
  border-bottom: 1px solid #e8dfd1;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a2a2a;
  text-decoration: none;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: #2a2a2a;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 200ms ease;
}

nav a:hover {
  color: #6b3f7f;
}

.btn-catalog {
  background-color: #6b3f7f;
  color: #fdfaf4;
  padding: 0.6rem 1.5rem;
  border: 2px solid #6b3f7f;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.btn-catalog:hover {
  background-color: transparent;
  color: #6b3f7f;
  transform: scale(1.04);
}

.btn-outline {
  background-color: transparent;
  color: #6b3f7f;
  padding: 0.6rem 1.5rem;
  border: 2px solid #6b3f7f;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.btn-outline:hover {
  background-color: #e8dfd1;
  transform: scale(1.04);
}

.btn-filled {
  background-color: #6b3f7f;
  color: #fdfaf4;
  padding: 0.7rem 1.8rem;
  border: 2px solid #6b3f7f;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 200ms ease;
}

.btn-filled:hover {
  background-color: #5a3168;
  transform: scale(1.04);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(107, 63, 127, 0.08) 0%, rgba(107, 63, 127, 0.04) 100%);
  border-radius: 8px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  flex: 1;
  z-index: 1;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  color: #2a2a2a;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #2a2a2a;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.featured-product {
  flex: 0 1 280px;
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(107, 63, 127, 0.1);
  transition: all 200ms ease;
  z-index: 1;
}

.featured-product:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(107, 63, 127, 0.15);
}

.featured-product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: transform 200ms ease;
}

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

.featured-product h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #2a2a2a;
}

.featured-product p {
  font-size: 0.85rem;
  color: #666;
  margin: 0.5rem 0 1rem 0;
}

.featured-product .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #6b3f7f;
  margin: 0.5rem 0;
}

.quick-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(107, 63, 127, 0.05) 0%, rgba(232, 223, 209, 0.3) 100%);
  border-radius: 8px;
}

.tile {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(107, 63, 127, 0.02) 0%, rgba(215, 205, 230, 0.05) 100%);
  pointer-events: none;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(107, 63, 127, 0.12);
}

.tile h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  color: #2a2a2a;
  position: relative;
  z-index: 1;
}

.tile-subtitle {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.tile-desc {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin: 1rem 0;
  position: relative;
  z-index: 1;
}

.notes-section {
  background-color: #f5f0e8;
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
}

.notes-section h2 {
  font-size: 1.5rem;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.note-item {
  background-color: white;
  padding: 1rem;
  border-left: 3px solid #6b3f7f;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #2a2a2a;
  line-height: 1.5;
}

.ritual-section {
  background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 100%);
  color: #fdfaf4;
  padding: 3rem 2rem;
  border-radius: 8px;
  margin: 3rem 0;
}

.ritual-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.ritual-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.ritual-item {
  padding: 1.5rem;
  background-color: rgba(107, 63, 127, 0.15);
  border-radius: 6px;
  border-left: 2px solid #d7cde6;
}

.ritual-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.ritual-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 200ms ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(107, 63, 127, 0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #6b3f7f;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0 0 0.5rem 0;
}

.product-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.8rem;
}

.product-desc {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-availability {
  font-size: 0.85rem;
  color: #2a2a2a;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6b3f7f;
  margin-bottom: 1rem;
}

.faq-section {
  margin: 3rem 0;
  padding: 2rem;
  background-color: #f5f0e8;
  border-radius: 8px;
}

.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #2a2a2a;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: #2a2a2a;
  background-color: white;
  border: none;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 200ms ease;
}

.faq-question:hover {
  background-color: #f5f0e8;
}

.faq-toggle {
  font-size: 1.2rem;
  color: #6b3f7f;
  transition: transform 200ms ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 200ms ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 1.2rem;
  margin: 0;
  color: #444;
  line-height: 1.6;
}

.cta-section {
  background: linear-gradient(135deg, #6b3f7f 0%, #8a5fa7 100%);
  color: #fdfaf4;
  padding: 3rem 2rem;
  border-radius: 8px;
  margin: 3rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

footer {
  background-color: #2a2a2a;
  color: #fdfaf4;
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #d7cde6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 200ms ease;
}

.footer-section a:hover {
  color: #fdfaf4;
}

.footer-bottom {
  border-top: 1px solid #555;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #bbb;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
  align-items: center;
}

.product-detail-image {
  position: relative;
}

.product-detail-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(107, 63, 127, 0.15);
}

.product-detail-content h1 {
  font-size: 2rem;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
}

.product-detail-content p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.specs-block {
  background-color: #f5f0e8;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.specs-block h3 {
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid #e8dfd1;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: #2a2a2a;
}

.spec-value {
  color: #666;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #f5f0e8;
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2a2a2a;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d7cde6;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6b3f7f;
  box-shadow: 0 0 0 3px rgba(107, 63, 127, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.9rem;
}

.checkbox-group a {
  color: #6b3f7f;
}

.thank-you-page {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-page h1 {
  font-size: 2.5rem;
  color: #6b3f7f;
  margin-bottom: 1rem;
}

.thank-you-page p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-hero {
  background: linear-gradient(135deg, rgba(107, 63, 127, 0.1) 0%, rgba(107, 63, 127, 0.05) 100%);
  padding: 3rem 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  color: #2a2a2a;
  margin-bottom: 1rem;
}

.about-sections {
  display: grid;
  gap: 2rem;
}

.about-block {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-block h2 {
  font-size: 1.5rem;
  color: #2a2a2a;
  margin-bottom: 1rem;
}

.about-block p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.about-list li {
  padding: 0.5rem 0;
  color: #444;
  line-height: 1.6;
}

.about-list li::before {
  content: '→ ';
  color: #6b3f7f;
  font-weight: 600;
  margin-right: 0.5rem;
}

.legal-section {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-section h2 {
  color: #6b3f7f;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.legal-section h3 {
  color: #2a2a2a;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.legal-section p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 2rem;
  color: #444;
}

.legal-section ul li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2a2a2a;
  color: #fdfaf4;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
}

.cookie-notice.hidden {
  display: none;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.cookie-notice a {
  color: #d7cde6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.cookie-accept {
  background-color: #6b3f7f;
  color: white;
}

.cookie-accept:hover {
  background-color: #5a3168;
}

.cookie-decline {
  background-color: transparent;
  color: #fdfaf4;
  border: 1px solid #fdfaf4;
}

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  header {
    padding: 0.8rem 0;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-catalog,
  .btn-outline,
  .btn-filled {
    width: 100%;
    text-align: center;
  }

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

  .quick-tiles {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }

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

  .ritual-list {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-container {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cookie-notice {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }

  nav {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .btn-catalog,
  .btn-outline,
  .btn-filled {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .quick-tiles {
    grid-template-columns: 1fr;
  }

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

  .ritual-section h2 {
    font-size: 1.4rem;
  }

  .ritual-list {
    grid-template-columns: 1fr;
  }

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

  .faq-question {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .cta-section h2 {
    font-size: 1.4rem;
  }

  .product-detail-content h1 {
    font-size: 1.5rem;
  }
}
