:root {
  --color-background: #FFF6EF;
  --color-accent: #D37B47;
  --color-secondary: #A45E37;
  --color-text: #2B1C16;
  --color-button: #D37B47;
  --color-button-hover: #B96336;
  --color-light: #FFFFFF;
  --color-error: #D32F2F;
  --color-success: #388E3C;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Josefin Sans', sans-serif;
  --font-accent: 'Pacifico', cursive;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-round: 50%;
  --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-hard: 0 10px 40px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --grid-gap-sm: 1rem;
  --grid-gap-md: 2rem;
  --grid-gap-lg: 3rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  min-width: 320px;
  overflow-x: hidden;
  position: relative;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, a {
    hyphens: auto;
    word-wrap: anywhere;
  }
}

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: 2rem;
  position: relative;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--color-secondary);
}

.accent-text {
  font-family: var(--font-accent);
  color: var(--color-accent);
}

.title-background {
  background: linear-gradient(to right, rgba(211, 123, 71, 0.1), rgba(255, 246, 239, 0));
  display: inline-block;
  margin-left: -1rem;
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  position: relative;
  z-index: -1;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 var(--spacing-sm);
  width: 100%;
}

.header {
  align-items: center;
  background-color: var(--color-background);
  display: flex;
  gap: var(--spacing-md);
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-sm);
  position: relative;
  width: 100%;
  z-index: 100;
}

.header__logo-link {
  align-items: center;
  display: flex;
  gap: var(--spacing-xs);
  text-decoration: none;
}

.header__logo-icon {
  height: 40px;
  width: 40px;
}

.header__logo-text {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.nav {
  display: flex;
}

.nav__toggle {
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  font-size: 1.5rem;
  padding: var(--spacing-xs);
}

.nav__menu {
  background-color: var(--color-background);
  display: none;
  flex-direction: column;
  left: 0;
  list-style: none;
  padding: var(--spacing-md);
  position: absolute;
  top: 100%;
  width: 100%;
}

.nav__menu--active {
  display: flex;
}

.nav__item {
  margin-bottom: var(--spacing-sm);
}

.nav__link {
  border-top: 2px solid transparent;
  color: var(--color-text);
  display: inline-block;
  font-weight: 600;
  padding: var(--spacing-xs) 0;
  position: relative;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav__link::before {
  content: "•";
  margin-right: 5px;
  color: var(--color-accent);
}

.nav__link:hover, .nav__link:focus, .nav__link--active {
  border-top-color: var(--color-accent);
  color: var(--color-accent);
}

.hero {
  align-items: center;
  background: url('../images/img01.webp') center/cover no-repeat;
  display: flex;
  height: 80vh;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  min-height: 600px;
  position: relative;
  text-align: center;
}

.hero::before {
  background-color: rgba(0, 0, 0, 0.3);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero__content {
  color: var(--color-light);
  max-width: 800px;
  padding: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.hero__cta {
  display: inline-block;
}

.section {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md) 0;
}

.section__header {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.section__title {
  display: inline-block;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.section__description {
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 800px;
}

.products {
  display: grid;
  gap: var(--grid-gap-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--spacing-lg);
}

.product {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.product:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.product__image {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.product__content {
  padding: var(--spacing-md);
}

.product__title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.product__description {
  margin-bottom: var(--spacing-sm);
}

.product__price {
  color: var(--color-accent);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.process {
  display: grid;
  gap: var(--grid-gap-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--spacing-lg);
}

.process__step {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  position: relative;
  text-align: center;
}

.process__step::before {
  background-color: var(--color-accent);
  border-radius: var(--radius-round);
  content: attr(data-step);
  color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  height: 40px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  width: 40px;
}

.process__icon {
  background-color: rgba(211, 123, 71, 0.1);
  border-radius: var(--radius-round);
  color: var(--color-accent);
  font-size: 2rem;
  height: 80px;
  line-height: 80px;
  margin-bottom: var(--spacing-sm);
  text-align: center;
  width: 80px;
}

.process__title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.testimonials {
  display: grid;
  gap: var(--grid-gap-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--spacing-lg);
}

.testimonial {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--spacing-md);
  position: relative;
}

.testimonial::before {
  color: var(--color-accent);
  content: '"';
  font-family: var(--font-accent);
  font-size: 4rem;
  left: var(--spacing-sm);
  line-height: 1;
  opacity: 0.2;
  position: absolute;
  top: var(--spacing-sm);
}

.testimonial__text {
  font-style: italic;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.testimonial__author {
  align-items: center;
  display: flex;
  gap: var(--spacing-sm);
}

.testimonial__name {
  font-weight: 700;
}

.testimonial__location {
  color: var(--color-accent);
  font-size: 0.9rem;
}

.contact {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin: 0 auto var(--spacing-lg);
  max-width: 600px;
  padding: var(--spacing-md);
}

.contact__title {
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.contact__description {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.form__group {
  margin-bottom: var(--spacing-md);
}

.form__label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.form__input,
.form__textarea {
  background-color: var(--color-background);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--spacing-sm);
  transition: border-color var(--transition-fast);
  width: 100%;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}

.form__input--error,
.form__textarea--error {
  border-color: var(--color-error);
}

.form__error {
  color: var(--color-error);
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__checkbox-group {
  align-items: flex-start;
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.form__checkbox {
  margin-top: 3px;
}

.form__checkbox-label {
  font-size: 0.875rem;
}

.button {
  align-items: center;
  background-color: var(--color-button);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-light);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  gap: var(--spacing-xs);
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.button:hover, .button:focus {
  background-color: var(--color-button-hover);
  color: var(--color-light);
}

.button--secondary {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.button--secondary:hover, .button--secondary:focus {
  background-color: var(--color-accent);
  color: var(--color-light);
}

.button--small {
  font-size: 0.875rem;
  padding: 0.5rem var(--spacing-sm);
}

.button--large {
  font-size: 1.1rem;
  padding: var(--spacing-sm) var(--spacing-lg);
}

.button--icon {
  padding: var(--spacing-xs);
}

.features {
  display: grid;
  gap: var(--grid-gap-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--spacing-lg);
}

.feature {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.feature__icon {
  align-items: center;
  background-color: rgba(211, 123, 71, 0.1);
  border-radius: var(--radius-round);
  color: var(--color-accent);
  display: flex;
  font-size: 1.5rem;
  height: 60px;
  justify-content: center;
  line-height: 60px;
  text-align: center;
  width: 60px;
}

.feature__title {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
}

.about {
  align-items: center;
  display: grid;
  gap: var(--grid-gap-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--spacing-lg);
}

.about__content {
  padding: var(--spacing-md) 0;
}

.about__title {
  margin-bottom: var(--spacing-sm);
}

.about__text {
  margin-bottom: var(--spacing-md);
}

.about__image {
  border-radius: var(--radius-md);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about__list {
  list-style: disc;
  margin-bottom: var(--spacing-md);
  margin-left: var(--spacing-md);
  padding-left: var(--spacing-sm);
  text-align: left;
}

.about__list li {
  margin-bottom: var(--spacing-xs);
}

.text-center {
  text-align: center;
}

.shop-filter {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
}

.shop-filter__group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.shop-filter__label {
  font-weight: 600;
}

.shop-filter__select {
  background-color: var(--color-background);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--spacing-sm);
  transition: border-color var(--transition-fast);
  width: 100%;
}

.shop-filter__select:focus {
  border-color: var(--color-accent);
  outline: none;
}

.contact__form {
  margin-top: var(--spacing-md);
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.gallery {
  display: grid;
  gap: var(--grid-gap-sm);
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: var(--spacing-lg);
}

.gallery__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.gallery__image {
  aspect-ratio: 1;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
  width: 100%;
}

.gallery__item:hover .gallery__image {
  transform: scale(1.05);
}

.cta {
  background-color: var(--color-secondary);
  border-radius: var(--radius-md);
  color: var(--color-light);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}

.cta__title {
  margin-bottom: var(--spacing-sm);
}

.cta__text {
  margin: 0 auto var(--spacing-md);
  max-width: 600px;
}

.footer {
  background-color: var(--color-text);
  color: var(--color-light);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer__content {
  display: grid;
  gap: var(--grid-gap-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--spacing-md);
}

.footer__column {
  padding: 0 var(--spacing-sm);
}

.footer__title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
}

.footer__list {
  list-style: none;
}

.footer__item {
  margin-bottom: var(--spacing-xs);
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover, .footer__link:focus {
  color: var(--color-accent);
}

.footer__contact,
.contact__item {
  align-items: flex-start;
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.footer__contact-icon,
.contact-icon {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 5px;
}

.footer__contact-info {
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-md);
  text-align: center;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer__policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
}

.footer__policy-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.cookie-consent {
  background-color: var(--color-light);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  bottom: 0;
  box-shadow: var(--shadow-medium);
  display: none;
  left: 0;
  padding: var(--spacing-md);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.cookie-consent--active {
  display: block;
}

.cookie-consent__title {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
}

.cookie-consent__text {
  margin-bottom: var(--spacing-md);
}

.cookie-consent__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.cookie-settings {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  display: none;
  left: 50%;
  max-height: 80vh;
  max-width: 600px;
  overflow-y: auto;
  padding: var(--spacing-md);
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 1001;
}

.cookie-settings--active {
  display: block;
}

.cookie-settings__header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
}

.cookie-settings__title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.cookie-settings__description {
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.cookie-settings__category {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.cookie-settings__category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cookie-settings__category-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.cookie-settings__category-title {
  font-size: 1.1rem;
  margin: 0;
}

.cookie-settings__category-description {
  font-size: 0.9rem;
}

.cookie-settings__switch {
  position: relative;
}

.cookie-settings__checkbox {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}

.cookie-settings__slider {
  background-color: #ccc;
  border-radius: 34px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.cookie-settings__slider:before {
  background-color: white;
  border-radius: 50%;
  bottom: 4px;
  content: "";
  height: 16px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 16px;
}

.cookie-settings__checkbox:checked + .cookie-settings__slider {
  background-color: var(--color-accent);
}

.cookie-settings__checkbox:checked + .cookie-settings__slider:before {
  transform: translateX(18px);
}

.cookie-settings__checkbox:disabled + .cookie-settings__slider {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-settings__footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-end;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1000;
}

.overlay--active {
  display: block;
}

.back-to-top {
  align-items: center;
  background-color: var(--color-accent);
  border-radius: var(--radius-round);
  bottom: var(--spacing-md);
  box-shadow: var(--shadow-medium);
  color: var(--color-light);
  display: flex;
  font-size: 1.2rem;
  height: 50px;
  justify-content: center;
  opacity: 0;
  position: fixed;
  right: var(--spacing-md);
  text-decoration: none;
  transition: opacity var(--transition-fast), background-color var(--transition-fast);
  visibility: hidden;
  width: 50px;
  z-index: 99;
}

.back-to-top--active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover, .back-to-top:focus {
  background-color: var(--color-button-hover);
  color: white;
}

.policy {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin: 0 auto var(--spacing-lg);
  max-width: 800px;
  padding: var(--spacing-md);
}

@media (min-width: 768px) {
  .policy {
    padding: var(--spacing-lg);
  }
}

.policy__title {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.policy__section {
  margin-bottom: var(--spacing-md);
}

.policy__section-title {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-xs);
}

.policy__text {
  margin-bottom: var(--spacing-md);
}

.policy__list {
  margin-bottom: var(--spacing-md);
  margin-left: var(--spacing-md);
}

.policy__item {
  margin-bottom: var(--spacing-xs);
}

.thank-you {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 600px;
  min-height: 50vh;
  padding: var(--spacing-md);
  text-align: center;
}

@media (min-width: 768px) {
  .thank-you {
    padding: var(--spacing-lg);
  }
}

.thank-you__icon {
  color: var(--color-accent);
  font-size: 5rem;
  margin-bottom: var(--spacing-md);
}

.thank-you__title {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.thank-you__text {
  margin-bottom: var(--spacing-md);
}

@media (min-width: 576px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cookie-consent__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .products,
  .features,
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .header {
    padding: var(--spacing-md);
  }
  
  .nav__toggle {
    display: none;
  }
  
  .nav__menu {
    background-color: transparent;
    display: flex;
    flex-direction: row;
    gap: var(--spacing-md);
    position: static;
    padding: 0;
  }
  
  .nav__item {
    margin-bottom: 0;
  }
  
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer__content {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__bottom {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .about {
    gap: var(--grid-gap-lg);
  }

  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}