:root {
  --bg-primary: #F8F5F0;
  --bg-secondary: #E4DCC8;
  --accent-pink: #D4A5A8;
  --accent-green: #7A9686;
  --accent-cream: #F0E6D8;
  --accent-terracotta: #C8967A;
  --text-dark: #3A3A3A;
  --text-light: #6B6B6B;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
  --space-2xl: 3.5rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --shadow-sm: 0 2px 8px rgba(58, 58, 58, 0.08);
  --shadow-md: 0 4px 12px rgba(58, 58, 58, 0.12);
  --shadow-lg: 0 8px 24px rgba(58, 58, 58, 0.15);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

p {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  margin-bottom: var(--space-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

header {
  background: linear-gradient(to bottom, var(--bg-primary) 0%, rgba(248, 245, 240, 0.95) 100%);
  padding: var(--space-xs) 0;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(122, 150, 134, 0.1);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dark);
  font-weight: 400;
  letter-spacing: 0.03em;
}

nav {
  display: none;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-cream) 100%);
  padding: var(--space-2xl) var(--space-lg);
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(58, 58, 58, 0.2);
  border-left: 2px solid rgba(212, 165, 168, 0.3);
}

.nav-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(212, 165, 168, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.nav-menu.active {
  transform: translateY(0);
}

.nav-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.nav-menu a {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dark);
  position: relative;
  padding-left: var(--space-md);
  padding-bottom: var(--space-xs);
}

.nav-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--accent-pink) 0%, var(--accent-terracotta) 100%);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.nav-menu a:hover::before {
  height: 60%;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-md);
  width: 0;
  height: 1px;
  background: var(--accent-green);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: calc(100% - var(--space-md));
}

.menu-toggle {
  background: none;
  border: none;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--text-dark);
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1000;
  position: relative;
}

.menu-toggle.active {
  display: none;
}

.close-menu {
  background: none;
  border: none;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--text-dark);
  cursor: pointer;
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  padding: var(--space-xs);
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
  background-image: url('../pictures/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(248, 245, 240, 0.65) 0%, rgba(244, 230, 216, 0.70) 50%, rgba(240, 228, 212, 0.68) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 168, 0.2) 0%, rgba(122, 150, 134, 0.15) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1) translate(0, 0) rotate(0deg);
    opacity: 0.2;
  }
  33% {
    transform: scale(1.15) translate(-25px, 25px) rotate(120deg);
    opacity: 0.3;
  }
  66% {
    transform: scale(0.95) translate(15px, -15px) rotate(240deg);
    opacity: 0.25;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: var(--space-lg);
  background: rgba(248, 245, 240, 0.4);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 165, 168, 0.2);
  box-shadow: 0 8px 32px rgba(58, 58, 58, 0.1);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  .hero-content {
    padding-left: var(--space-xl);
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, var(--accent-pink), var(--accent-green), var(--accent-terracotta)) 1;
    margin-left: var(--space-lg);
    background: rgba(248, 245, 240, 0.5);
  }
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--text-dark);
  position: relative;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(58, 58, 58, 0.1);
  animation: fadeInUp 1s ease-out 0.2s both;
}

@media (min-width: 480px) {
  .hero h1::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-pink), var(--accent-green), var(--accent-terracotta));
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(212, 165, 168, 0.4);
  }
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-green), transparent);
  border-radius: 2px;
  opacity: 0.6;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-lg);
  color: var(--text-dark);
  line-height: 1.8;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.animated-figure {
  position: absolute;
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-terracotta) 50%, var(--accent-green) 100%);
  border-radius: 45% 35% 65% 40% / 60% 30% 70% 45%;
  opacity: 0.75;
  animation: float 12s ease-in-out infinite;
  z-index: 2;
  right: 6%;
  top: 12%;
  box-shadow: 0 12px 32px rgba(212, 165, 168, 0.4), 0 0 40px rgba(122, 150, 134, 0.2);
  filter: blur(0.5px);
}

.animated-figure::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 190px;
  height: 190px;
  border: 3px solid var(--accent-pink);
  border-radius: 50% 40% 60% 50% / 55% 35% 65% 50%;
  opacity: 0.35;
  animation: float-ring 14s ease-in-out infinite;
}

.animated-figure::after {
  content: '';
  position: absolute;
  top: -25px;
  left: -25px;
  width: 210px;
  height: 210px;
  border: 2px dashed var(--accent-green);
  border-radius: 40% 50% 55% 45% / 60% 30% 70% 40%;
  opacity: 0.25;
  animation: float-ring-reverse 16s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    border-radius: 45% 35% 65% 40% / 60% 30% 70% 45%;
  }
  25% {
    transform: translateY(-30px) rotate(10deg) scale(1.08);
    border-radius: 50% 40% 60% 45% / 55% 35% 65% 50%;
  }
  50% {
    transform: translateY(-20px) rotate(-8deg) scale(0.95);
    border-radius: 40% 30% 70% 45% / 65% 25% 75% 40%;
  }
  75% {
    transform: translateY(-40px) rotate(6deg) scale(1.05);
    border-radius: 50% 35% 65% 40% / 60% 30% 70% 45%;
  }
}

@keyframes float-ring {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: rotate(180deg) scale(1.15);
    opacity: 0.2;
  }
}

@keyframes float-ring-reverse {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: rotate(-180deg) scale(1.1);
    opacity: 0.15;
  }
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent-green);
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-md);
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--space-md);
  font-family: var(--font-body);
}

.btn:hover {
  background: var(--accent-pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:hover .btn-text {
  color: var(--bg-primary);
}

section {
  padding: var(--space-2xl) 0;
  position: relative;
}


section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-pink) 20%, var(--accent-green) 50%, var(--accent-pink) 80%, transparent);
  opacity: 0.3;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  display: inline-block;
  width: 100%;
  padding-bottom: var(--space-md);
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-pink) 20%, var(--accent-green) 50%, var(--accent-pink) 80%, transparent);
  border-radius: 2px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-terracotta);
  opacity: 0.6;
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.featured-card {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-cream) 100%);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid rgba(122, 150, 134, 0.15);
  position: relative;
  overflow: hidden;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 168, 0.1), transparent);
  transition: left 0.6s ease;
}

.featured-card:hover::before {
  left: 100%;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(122, 150, 134, 0.3);
}

.featured-card h3 {
  margin-bottom: var(--space-sm);
  font-size: clamp(1rem, 2.2vw, 1.375rem);
  position: relative;
  z-index: 1;
}

.featured-card p {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.image-section {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
}

.image-section img {
  width: 100%;
  border-radius: var(--radius-md);
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.product-card {
  background: var(--bg-primary);
  border: 2px solid var(--accent-green);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--accent-pink);
  box-shadow: var(--shadow-md);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.product-card h3 {
  margin-bottom: var(--space-sm);
  font-size: clamp(1rem, 2.2vw, 1.375rem);
}

.product-price {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--accent-green);
  font-weight: 600;
  margin-top: var(--space-sm);
}

.contact-section {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info p {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  margin: 0;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--accent-green);
  border-radius: var(--radius-md);
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-dark);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: clamp(0.875rem, 2vw, 1rem);
  margin: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background: var(--text-dark);
  color: var(--bg-primary);
  padding: var(--space-xl) 0;
  margin-top: var(--space-2xl);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  list-style: none;
}

.footer-menu a {
  color: var(--bg-primary);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.footer-menu a:hover {
  color: var(--accent-pink);
}

.thank-you-page,
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-cream) 50%, var(--bg-primary) 100%);
}

.thank-you-page::before,
.error-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 165, 168, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(122, 150, 134, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.thank-you-page > .container,
.error-page > .container {
  position: relative;
  z-index: 2;
}

.thank-you-page h1,
.error-page h1 {
  position: relative;
  margin-bottom: var(--space-lg);
}

.thank-you-page h1::after,
.error-page h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-green), var(--accent-pink), transparent);
  border-radius: 2px;
}

.thank-you-page p,
.error-page p {
  max-width: none;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.legal-page {
  padding: var(--space-xl) 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-primary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.legal-content h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: var(--space-md);
}

.legal-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
}

.legal-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.legal-content p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
}

.legal-content ul {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-xs);
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.legal-content table th,
.legal-content table td {
  padding: var(--space-sm);
  border: 1px solid var(--accent-green);
  text-align: left;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.legal-content table th {
  background: var(--accent-green);
  color: var(--bg-primary);
}

.home-button {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent-green);
  color: var(--bg-primary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.home-button:hover {
  background: var(--accent-pink);
  transform: translateY(-2px);
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-md);
  right: var(--space-md);
  background: var(--bg-primary);
  border: 2px solid var(--accent-green);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  max-width: 600px;
  margin: 0 auto;
  display: none;
}

.privacy-popup.active {
  display: block;
}

.privacy-popup p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .animated-figure {
    width: 150px;
    height: 150px;
  }
}

@media (min-width: 1024px) {
  nav {
    display: block;
  }

  nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
  }

  nav a {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    position: relative;
    padding-bottom: var(--space-xs);
  }

    nav a {
    position: relative;
    padding: var(--space-xs) 0;
  }

  nav a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 6px;
    background: var(--accent-pink);
    border-radius: 50%;
    transition: transform 0.3s ease;
  }

  nav a:hover::before {
    transform: translateY(-50%) scale(1);
  }

  nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink) 0%, var(--accent-terracotta) 100%);
    transition: width 0.3s ease;
  }

  nav a:hover::after {
    width: 100%;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .container {
    padding: 0 var(--space-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  section[style*="grid-template-columns: 1fr 2fr"],
  section[style*="grid-template-columns: 2fr 1fr"],
  section[style*="grid-template-columns: 1.2fr 1fr"],
  section > div[style*="grid-template-columns: 1fr 2fr"],
  section > div[style*="grid-template-columns: 2fr 1fr"],
  section > div[style*="grid-template-columns: 1.2fr 1fr"],
  section > div > div[style*="grid-template-columns: 1fr 2fr"],
  section > div > div[style*="grid-template-columns: 2fr 1fr"],
  section > div > div[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 1fr 1fr 1fr"],
  section[style*="grid-template-columns: repeat(4, 1fr)"],
  section > div[style*="grid-template-columns: 1fr 1fr 1fr"],
  section > div[style*="grid-template-columns: repeat(4, 1fr)"],
  section > div > div[style*="grid-template-columns: 1fr 1fr 1fr"],
  section > div > div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="grid-template-columns: 1fr 1.1fr"],
  section > div[style*="grid-template-columns: 1fr 1.1fr"],
  section > div > div[style*="grid-template-columns: 1fr 1.1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[style*="margin-top: var(--space-xl)"],
  section > div[style*="margin-top: var(--space-xl)"] {
    margin-top: 0 !important;
  }

  .featured-grid,
  .products-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  section div[style*="display: grid"][style*="grid-template-columns: repeat"],
  section div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr 1fr"],
  section div[style*="display: grid"][style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .section-title {
    text-align: center !important;
  }

  h2.section-title[style*="text-align: left"],
  h2.section-title[style*="text-align: right"] {
    text-align: center !important;
  }

  .hero {
    overflow-x: hidden;
  }

  .hero::after {
    width: 300px !important;
    height: 300px !important;
    right: -20% !important;
    top: -20% !important;
  }

  .animated-figure {
    display: none;
  }

  .hero-content {
    padding-left: 0 !important;
    border-left: none !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    padding: var(--space-md) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  section > div {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }

  section {
    padding: var(--space-lg) 0;
  }

  .hero {
    min-height: 50vh;
  }
}