:root {
  --color-bg: #f9f7f4;
  --color-text: #3d3631;
  --color-primary: #d4a5a0;
  --color-secondary: #e8e0f0;
  --color-dark: #2d2a26;
  --color-white: #ffffff;
  --color-border: #e5e0da;
  --radius: 2px;
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

body {
  padding: 0;
}

header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo:hover {
  color: var(--color-primary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--color-primary);
}

.btn-catalog {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--color-primary);
}

.btn-catalog:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #3d3a36 100%);
  color: var(--color-white);
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

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

.hero-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stack-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.hero-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stack-item:nth-child(2) {
  transform: translateY(2rem);
}

.hero-stack-item:nth-child(4) {
  transform: translateY(2rem);
}

.quick-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.compare-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem;
}

.compare-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.compare-card p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 3rem 0;
}

.section-light {
  background-color: var(--color-white);
}

.section-accent {
  background-color: var(--color-secondary);
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--color-dark);
}

.section-dark h2 {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
  line-height: 1.6;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.tile {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  text-align: left;
}

.tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.tile p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.tile-image {
  width: 100%;
  height: 200px;
  margin-top: 1rem;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.shelf-snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.shelf-item {
  background-color: var(--color-secondary);
  padding: 1rem;
  border: 1px solid var(--color-border);
}

.shelf-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.shelf-item p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.shelf-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border: 1px solid var(--color-border);
  margin-top: 0.5rem;
}

.product-guide {
  background-color: var(--color-secondary);
  padding: 2rem;
  border: 1px solid var(--color-border);
  margin: 2rem 0;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.guide-item {
  padding: 0;
}

.guide-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.guide-item p {
  font-size: 0.85rem;
  opacity: 0.8;
}

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

.product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--color-text);
  display: block;
}

.product-card:hover {
  border-color: var(--color-primary);
}

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

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.3s;
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-description {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  opacity: 0.8;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.product-button {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  padding: 0.625rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.product-button:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.featured-product {
  grid-column: span 2;
}

.featured-product .product-image {
  height: 400px;
}

.mini-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.mini-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 1rem;
  align-items: start;
}

.mini-card-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mini-card-text p {
  font-size: 0.8rem;
  opacity: 0.75;
}

.mini-card-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.faq-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

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

.faq-question {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
}

.section-dark .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.section-dark .faq-question {
  color: var(--color-white);
}

.section-dark .faq-answer {
  opacity: 0.9;
}

footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 2rem 1rem;
  margin-top: 3rem;
}

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

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 1.5rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  display: flex;
}

.cookie-text {
  font-size: 0.9rem;
  flex: 1;
}

.cookie-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-primary);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.cookie-btn-accept {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--color-primary);
}

.page-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #3d3a36 100%);
  color: var(--color-white);
  padding: 2rem 1rem;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.page-hero p {
  font-size: 1rem;
  opacity: 0.95;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.product-detail-image {
  width: 100%;
  border: 1px solid var(--color-border);
}

.product-detail-info h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-detail-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.quick-specs {
  background-color: var(--color-secondary);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.quick-specs h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spec-item {
  font-size: 0.9rem;
}

.spec-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.spec-value {
  opacity: 0.8;
  font-size: 0.85rem;
}

.product-detail-price {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-form {
  max-width: 600px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2rem;
  margin: 2rem 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.9rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #fdfbf8;
}

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

.checkbox-group input {
  margin-top: 0.25rem;
  width: auto;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.85rem;
}

.checkbox-group a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-submit {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}

.form-submit:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.thank-you-message {
  text-align: center;
  padding: 2rem;
}

.thank-you-message h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.legal-content {
  max-width: 900px;
  margin: 2rem auto;
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  margin-top: 2rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0.75rem;
  font-weight: 600;
}

.legal-content ul {
  margin: 1rem 0 1rem 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.switcher {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.switcher-btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.switcher-btn:hover {
  border-color: var(--color-primary);
  background-color: #fdfbf8;
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

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

  .hero-stack {
    grid-template-columns: 1fr;
  }

  .hero-stack-item:nth-child(2),
  .hero-stack-item:nth-child(4) {
    transform: none;
  }

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

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

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

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

  .featured-product {
    grid-column: span 1;
  }

  .featured-product .product-image {
    height: 300px;
  }

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

  .mini-card {
    grid-template-columns: 1fr;
  }

  .mini-card-image {
    width: 100%;
    height: 120px;
  }

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

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

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

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

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

  h2 {
    font-size: 1.5rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

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

  .shelf-snapshot {
    grid-template-columns: 1fr;
  }

  .mini-picker {
    grid-template-columns: 1fr;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.2rem;
  }
}
