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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #fcfaf7;
  color: #2f2a25;
}

#best-seller,
#serum-reparateur,
#masque-restructurant {
  scroll-margin-top: 56px;
}

.top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #1f1a17;
  padding: 10px 60px;
  max-height: 48px;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.28s ease;
}

.top-bar__left,
.top-bar__center,
.top-bar__right {
  display: flex;
  align-items: center;
}

.top-bar__left {
  justify-self: start;
  gap: 18px;
}

.top-bar__center {
  justify-self: center;
}

.top-bar__right {
  justify-self: end;
  gap: 12px;
}

.top-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.top-bar__icon:hover {
  opacity: 1;
}

.top-bar__icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.9;
}

.top-bar__icon i {
  font-size: 14px;
  line-height: 1;
  color: #fff;
}

.top-bar__divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: #555;
}

.top-bar__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.top-bar__flag {
  display: flex;
  width: 18px;
  height: 12px;
}

.flag-blue {
  width: 6px;
  height: 12px;
  background: #0055a4;
}

.flag-white {
  width: 6px;
  height: 12px;
  background: #fff;
}

.flag-red {
  width: 6px;
  height: 12px;
  background: #ef4135;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 10px;
  background: linear-gradient(180deg, #fff 0%, #fbf3e8 100%);
  transition: padding 0.28s ease, background 0.28s ease;
}

.logo {
  text-align: center;
  margin-bottom: 10px;
  max-height: 260px;
  overflow: hidden;
  transition: max-height 0.28s ease, margin 0.28s ease, opacity 0.28s ease;
}

.logo__image {
  width: 140px;
  max-width: 100%;
  display: block;
  margin: 0 auto 12px;
  border-radius: 16px;
}

.logo__main {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: #3b2c22;
}

.logo__sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  color: #8c6b4f;
  margin-top: 2px;
}

.nav-shell {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 1320px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(110, 82, 40, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #2f2a25;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__icon {
  font-size: 14px;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1320px;
  min-height: 62px;
  margin: 0 auto;
  padding: 0 32px;
  transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease, padding 0.28s ease;
}

.nav__link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.nav__link--dropdown {
  justify-content: center;
}

.nav__chevron {
  width: 12px;
  height: 12px;
  color: currentColor;
  flex: 0 0 auto;
  transform: translateY(1px);
}

.nav__chevron.fa-chevron-down {
  width: auto;
  height: auto;
  font-size: 10px;
  line-height: 1;
}

.nav__link:hover {
  color: #000;
}

.nav__link--active {
  color: #000;
  font-weight: 600;
}

.nav__item {
  position: relative;
}

.nav__submenu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 12px;
  cursor: pointer;
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
}

.nav__submenu-list {
  list-style: none;
}

.nav__submenu-list li a {
  display: block;
  padding: 10px 22px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
}

.nav__submenu-list li a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

body.nav-scrolled .top-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

body.nav-scrolled .header {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}

body.nav-scrolled .logo {
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
}

body.nav-scrolled .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: none;
  padding: 0 40px;
  background: #000;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  z-index: 2000;
}

body.nav-scrolled .nav__link,
body.nav-scrolled .nav__link--active {
  color: #fff;
}

body.nav-scrolled .nav__link:hover {
  color: rgba(255, 255, 255, 0.78);
}

body.nav-jumping .top-bar,
body.nav-jumping .header,
body.nav-jumping .logo,
body.nav-jumping .nav {
  transition: none !important;
}

.hero {
  position: relative;
  width: min(100%, 1586px);
  margin: 0 auto;
  height: clamp(320px, 42.4vw, 672px);
  overflow: hidden;
  background: #f5f1ec;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.75s ease;
  will-change: transform;
}

.hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #f5f1ec;
}

.hero__caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: block;
  max-width: min(44vw, 560px);
  text-shadow: 0 10px 28px rgba(255, 250, 243, 0.45);
}

.hero__caption--right {
  right: 56px;
  text-align: right;
}

.hero__caption-title {
  margin: 0 0 16px;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 2.6px;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero__caption-subtitle {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: #2f2a25;
}

.hero__caption-text {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  color: #4c4239;
}

.hero__caption--blue {
  color: #4a7ba7;
}

.hero__caption--gold {
  color: #c4a35a;
}

.hero__caption--red {
  color: #c84c4c;
}

.hero__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero__dot {
  appearance: none;
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero__dot.active {
  width: 28px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  border-color: transparent;
}


.intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 40px 24px;
}

.intro__eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b88945;
  margin-bottom: 10px;
}

.intro h2 {
  font-size: 34px;
  color: #2e241d;
  margin-bottom: 16px;
}

.intro p {
  max-width: 760px;
  line-height: 1.8;
  color: #5f5147;
}

.featured-products {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 40px 56px;
}

.featured-products__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.featured-products__title {
  font-size: 28px;
  color: #2f241c;
}

.featured-products__text {
  max-width: 620px;
  color: #6c5b4f;
  line-height: 1.7;
}

.featured-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.featured-product-card {
  background: #fff;
  border: 1px solid rgba(110, 82, 40, 0.12);
  box-shadow: 0 18px 40px rgba(67, 45, 25, 0.06);
  overflow: hidden;
}

.featured-product-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.featured-product-card__body {
  padding: 20px;
}

.featured-product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8d6f52;
  margin-bottom: 10px;
}

.featured-product-card__title {
  font-size: 20px;
  color: #2e241d;
  margin-bottom: 10px;
}

.featured-product-card__text {
  color: #5f5147;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 16px;
}

.product-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 56px 0;
}

.product-section--light {
  background: #fff;
}

.product-section--dark {
  background: #1a1a1a;
  color: #fff;
}

.product-section--serum {
  background-color: #1a1a1a;
  background-image: url("img/best-saller/serum-reparateur.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.product-section--serum .product-section__container {
  justify-content: flex-start;
}

.product-section--serum .product-section__content {
  max-width: 620px;
}

.product-section--pattern {
  background: #f8f3ed;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, #efe6dc 10px, #efe6dc 11px);
}

.product-section--mask {
  background-color: #f8f3ed;
  background-image: url("img/best-saller/masque reparateur ok.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.product-section--mask .product-section__content {
  transform: translateX(48px);
}

.product-section__container {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 96px;
  padding: 0 56px;
}

.product-section__container--reverse {
  flex-direction: row-reverse;
}

.product-section__image {
  flex: 1.18;
  display: flex;
  justify-content: center;
}

.product-section__image img {
  max-width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
}

.product-section__content {
  flex: 1;
}

.product-section__content--feature {
  max-width: 620px;
}

.product-section__title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 2.6px;
  margin-bottom: 18px;
}

.product-section__title--blue {
  color: #4a7ba7;
}

.product-section__title--gold {
  color: #c4a35a;
}

.product-section__title--red {
  color: #c84c4c;
}

.product-section__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(196, 163, 90, 0.14);
  color: #6e5228;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.product-section__subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-section__lead {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.product-section__text {
  font-size: 18px;
  line-height: 2;
  color: #666;
  margin-bottom: 32px;
}

.btn--ghost {
  background: transparent;
  color: #4a7ba7;
  border: 1px solid rgba(74, 123, 167, 0.28);
}

.product-section--feature .product-section__title {
  font-size: 40px;
}

.product-section--feature {
  background-color: #f7f1ea;
  background-image:
    linear-gradient(90deg, rgba(247, 241, 234, 0) 0%, rgba(247, 241, 234, 0.04) 38%, rgba(247, 241, 234, 0.18) 58%, rgba(247, 241, 234, 0.56) 78%, rgba(247, 241, 234, 0.82) 100%),
    url("img/best-saller/huilaantichut.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
}

.product-section--feature .product-section__subtitle {
  font-size: 21px;
}

.product-section--feature .product-section__lead {
  font-size: 19px;
}

.product-section--feature .product-section__text {
  font-size: 16px;
  line-height: 1.9;
}

.product-page {
  background: linear-gradient(180deg, #fcfaf7 0%, #f7efe5 100%);
}

.product-breadcrumb {
  padding: 26px 0 0;
}

.product-breadcrumb__container,
.product-offer__container,
.product-related__container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 56px;
}

.product-breadcrumb__container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.8px;
  color: #7f6f61;
}

.product-breadcrumb__container a {
  color: #7f6f61;
  text-decoration: none;
}

.product-breadcrumb__container strong {
  color: #3d3027;
}

.product-hero {
  padding: 72px 0 56px;
}

.product-hero--rosemary {
  background:
    radial-gradient(circle at 20% 20%, rgba(74, 123, 167, 0.16), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(74, 123, 167, 0.09), transparent 26%),
    linear-gradient(180deg, #fcfaf7 0%, #f5ede3 100%);
}

.product-hero--serum-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(196, 163, 90, 0.18), transparent 34%),
    radial-gradient(circle at 78% 22%, rgba(196, 163, 90, 0.1), transparent 26%),
    linear-gradient(180deg, #fcfaf7 0%, #f4ede2 100%);
}

.product-hero--mask-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 76, 76, 0.14), transparent 34%),
    radial-gradient(circle at 80% 22%, rgba(200, 76, 76, 0.08), transparent 26%),
    linear-gradient(180deg, #fcfaf7 0%, #f3ece3 100%);
}

.product-hero__container,
.product-facts__container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 56px;
}

.product-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 72px;
  align-items: center;
}

.product-hero__container--textual {
  grid-template-columns: 1fr;
  gap: 0;
}

.product-hero__media {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 0%, rgba(249, 243, 234, 0.86) 48%, rgba(236, 227, 214, 0.86) 100%);
  box-shadow: 0 26px 60px rgba(65, 48, 31, 0.12);
}

.product-hero__media--pack {
  min-height: 420px;
  background: #fff;
}

.product-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.product-hero__media--pack .product-hero__image {
  object-fit: contain;
  background: #fff;
}

.product-hero__content {
  max-width: 620px;
}

.product-hero__content--wide {
  max-width: 920px;
}

.product-hero__chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.product-hero__title {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: 2.6px;
  line-height: 1.04;
  color: #4a7ba7;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-hero__title--gold {
  color: #c4a35a;
}

.product-hero__title--red {
  color: #c84c4c;
}

.product-hero__subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #2f2a25;
}

.product-hero__lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 22px;
  color: #4a3a2c;
}

.product-hero__text {
  font-size: 17px;
  line-height: 1.9;
  color: #5f5448;
  margin-bottom: 32px;
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.product-offer {
  padding: 0 0 34px;
}

.product-offer__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.product-offer__summary,
.product-buybox,
.product-ecom-card,
.product-related__card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(110, 82, 40, 0.12);
  box-shadow: 0 18px 44px rgba(67, 45, 25, 0.06);
}

.product-offer__summary {
  border-radius: 28px;
  padding: 30px;
}

.product-offer__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #8c6b4f;
  margin-bottom: 14px;
}

.product-offer__title {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #2f2a25;
}

.product-offer__text {
  font-size: 16px;
  line-height: 1.8;
  color: #5f5448;
}

.product-buybox {
  border-radius: 28px;
  padding: 28px;
}

.product-buybox__price {
  font-size: 42px;
  font-weight: 700;
  color: #4a7ba7;
  margin-bottom: 8px;
}

.product-buybox__status {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2e7d52;
  margin-bottom: 14px;
}

.product-buybox__note {
  font-size: 15px;
  line-height: 1.75;
  color: #5f5448;
  margin-bottom: 20px;
}

.product-buybox__actions {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.product-buybox__list {
  margin: 0;
  padding-left: 18px;
}

.product-buybox__list li {
  font-size: 15px;
  line-height: 1.7;
  color: #5f5448;
}

.product-facts {
  padding: 0 0 88px;
}

.product-facts__intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.product-facts__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #8c6b4f;
  margin-bottom: 14px;
}

.product-facts__title {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 1.4px;
  color: #2f2a25;
  margin-bottom: 16px;
}

.product-facts__text {
  font-size: 17px;
  line-height: 1.8;
  color: #65594d;
}

.product-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.product-card-detail,
.product-story__card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(110, 82, 40, 0.12);
  box-shadow: 0 18px 44px rgba(67, 45, 25, 0.06);
}

.product-card-detail {
  padding: 24px 26px;
  border-radius: 24px;
}

.product-card-detail__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #8c6b4f;
  margin-bottom: 12px;
}

.product-card-detail__value {
  font-size: 22px;
  line-height: 1.3;
  color: #2f2a25;
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
}

.product-story__card {
  padding: 30px;
  border-radius: 28px;
}

.product-story__card--accent {
  background: linear-gradient(180deg, #fff 0%, #f7f0e7 100%);
}

.product-story__title {
  font-size: 22px;
  letter-spacing: 1px;
  color: #3c3027;
  margin-bottom: 16px;
}

.product-story__text,
.product-story__list li {
  font-size: 16px;
  line-height: 1.85;
  color: #5f5448;
}

.product-story__text + .product-story__text {
  margin-top: 14px;
}

.product-story__list {
  margin: 0;
  padding-left: 20px;
}

.product-ecom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.product-ecom-card {
  border-radius: 24px;
  padding: 26px;
}

.product-ecom-card__title {
  font-size: 18px;
  letter-spacing: 0.8px;
  color: #3c3027;
  margin-bottom: 12px;
}

.product-ecom-card__text {
  font-size: 15px;
  line-height: 1.8;
  color: #5f5448;
}

.product-related {
  padding: 0 0 88px;
}

.product-related__head {
  margin-bottom: 24px;
}

.product-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-related__grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-related__card {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-related__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(67, 45, 25, 0.1);
}

.product-related__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  padding: 18px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.96) 0%, rgba(248, 241, 232, 0.92) 100%);
}

.product-related__name,
.product-related__price {
  display: block;
  padding: 0 22px;
}

.product-related__name {
  padding-top: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #2f2a25;
}

.product-related__price {
  padding-top: 8px;
  padding-bottom: 22px;
  font-size: 15px;
  color: #8c6b4f;
}

.category-page {
  background: linear-gradient(180deg, #fcfaf7 0%, #f7efe5 100%);
}

.category-hero {
  padding: 32px 0 34px;
}

.category-hero--shampoo {
  background: transparent;
}

.category-hero--care {
  background: transparent;
}

.category-hero__container,
.category-products__container,
.category-benefits__container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 56px;
}

.category-hero__container--textual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

.category-hero__title {
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: 1.8px;
  color: #2f2a25;
  margin-bottom: 18px;
}

.category-hero__text {
  max-width: 780px;
  font-size: 18px;
  line-height: 1.85;
  color: #5f5448;
}

.category-benefits__card,
.category-product {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(110, 82, 40, 0.12);
  box-shadow: 0 18px 44px rgba(67, 45, 25, 0.06);
}

.category-hero__panel {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(110, 82, 40, 0.12);
  box-shadow: 0 18px 44px rgba(67, 45, 25, 0.06);
  border-radius: 28px;
  padding: 28px;
}

.category-hero__panel-item + .category-hero__panel-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(110, 82, 40, 0.12);
}

.category-hero__panel-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8c6b4f;
  margin-bottom: 8px;
}

.category-hero__panel-value {
  font-size: 22px;
  line-height: 1.3;
  color: #2f2a25;
}

.category-hero__banner {
  width: 100%;
}

.category-hero__banner-image {
  display: block;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.category-products {
  padding: 18px 0 34px;
}

.category-products__container {
  display: grid;
  gap: 24px;
}

.category-product {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  border-radius: 32px;
  overflow: hidden;
  padding: 28px;
  align-items: center;
}

.category-product--reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.category-product--reverse .category-product__media {
  order: 2;
}

.category-product--reverse .category-product__content {
  order: 1;
}

.category-product__media {
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 0%, rgba(249, 243, 234, 0.86) 48%, rgba(236, 227, 214, 0.86) 100%);
}

.category-product__media--pack {
  background: #fff;
}

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

.category-product__media--pack .category-product__image {
  object-fit: contain;
  background: #fff;
}

.category-product__content {
  max-width: 680px;
}

.category-product__chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.category-product__title {
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 1.6px;
  color: #2f2a25;
  margin-bottom: 14px;
}

.category-product__subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #4a3a2c;
  margin-bottom: 16px;
}

.category-product__text {
  font-size: 17px;
  line-height: 1.9;
  color: #5f5448;
}

.category-product__text + .category-product__text {
  margin-top: 14px;
}

.category-product__actions {
  margin-top: 24px;
}

.category-benefits {
  padding: 0 0 88px;
}

.category-benefits__intro {
  max-width: 780px;
  margin-bottom: 24px;
}

.category-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-benefits__card {
  border-radius: 26px;
  padding: 28px;
}

.category-benefits__title {
  font-size: 20px;
  letter-spacing: 0.8px;
  color: #2f2a25;
  margin-bottom: 12px;
}

.category-benefits__text {
  font-size: 15px;
  line-height: 1.8;
  color: #5f5448;
}

.product-section--feature .product-section__content {
  max-width: 660px;
}

.product-section--dark .product-section__text {
  color: #d0c7c0;
}

.products-grid-section {
  padding: 18px 0 72px;
}

.products-grid-section__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.products-grid-section__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
}

.products-grid-section__title {
  font-size: 28px;
  color: #2f241c;
}

.products-grid-section__desc {
  color: #6c5b4f;
  max-width: 620px;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid rgba(110, 82, 40, 0.12);
  padding: 24px;
  box-shadow: 0 18px 40px rgba(67, 45, 25, 0.06);
}

.product-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  align-items: start;
}

.product-card__title {
  font-size: 20px;
  color: #2e241d;
}

.product-card__price {
  white-space: nowrap;
  color: #b17d34;
  font-size: 18px;
  font-weight: 700;
}

.product-card__size {
  display: inline-block;
  margin-bottom: 12px;
  color: #8d6f52;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-card__text {
  color: #5f5147;
  line-height: 1.75;
  font-size: 14px;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn--blue {
  background: #4a7ba7;
  color: #fff;
}

.btn--gold {
  background: #c4a35a;
  color: #fff;
}

.btn--red {
  background: #c84c4c;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-menu {
  background: #f7f0e8;
  padding: 50px 0;
  border-top: 1px solid #eadfce;
}

.footer-menu__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  padding: 0 40px;
}

.footer-menu__col {
  min-width: 200px;
}

.footer-menu__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: #3d2e23;
}

.footer-menu__list {
  list-style: none;
}

.footer-menu__list li {
  margin-bottom: 14px;
}

.footer-menu__list a {
  font-size: 12px;
  color: #7b695d;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-menu__list a:hover {
  color: #3d2e23;
}

.contact-section {
  background: linear-gradient(180deg, #fcfaf7 0%, #f7f0e8 100%);
  padding: 72px 0;
  border-top: 1px solid #eadfce;
}

.contact-section__container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 56px;
}

.contact-form {
  background: #fff;
  border: 1px solid rgba(110, 82, 40, 0.12);
  box-shadow: 0 18px 40px rgba(67, 45, 25, 0.06);
  padding: 36px;
  width: 100%;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form__field {
  display: block;
  margin-bottom: 18px;
}

.contact-form__field span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6e5228;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid rgba(110, 82, 40, 0.16);
  background: #fcfaf7;
  padding: 14px 16px;
  font: inherit;
  color: #2f2a25;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: #b88945;
  box-shadow: 0 0 0 3px rgba(184, 137, 69, 0.12);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  background: #1f1a17;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-form__submit:hover {
  opacity: 0.9;
}

.footer {
  background: #1a1a1a;
  color: #999;
  padding: 30px 0;
  text-align: center;
}

.footer__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer__text {
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 5px;
}

.footer__text strong {
  color: #ccc;
  font-weight: 600;
}

.footer__text a {
  color: #ccc;
  text-decoration: none;
}

.footer__text a:hover {
  text-decoration: underline;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.footer__links a {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #d6c8b9;
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

.info-page {
  background: linear-gradient(180deg, #fcfaf7 0%, #f7efe5 100%);
  padding-bottom: 88px;
}

.info-page__hero {
  padding: 34px 0 20px;
}

.info-page__container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 56px;
}

.info-page__title {
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: 1.8px;
  color: #2f2a25;
  max-width: 980px;
  margin-bottom: 16px;
}

.info-page__lead {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.85;
  color: #5f5448;
}

.info-page__section + .info-page__section {
  margin-top: 24px;
}

.info-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.info-aside,
.info-cta {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(110, 82, 40, 0.12);
  box-shadow: 0 18px 44px rgba(67, 45, 25, 0.06);
}

.info-card {
  border-radius: 28px;
  padding: 28px;
}

.info-card__title {
  font-size: 24px;
  color: #2f2a25;
  margin-bottom: 12px;
}

.info-card__text {
  font-size: 16px;
  line-height: 1.8;
  color: #5f5448;
}

.info-page__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.info-list {
  padding-left: 20px;
}

.info-list li {
  font-size: 16px;
  line-height: 1.85;
  color: #5f5448;
}

.info-list li + li {
  margin-top: 10px;
}

.info-aside {
  border-radius: 28px;
  padding: 28px;
}

.info-aside__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #8c6b4f;
  margin-bottom: 10px;
}

.info-aside__value {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  color: #2f2a25;
  margin-bottom: 12px;
}

.info-aside__text {
  font-size: 15px;
  line-height: 1.8;
  color: #5f5448;
}

.info-cta {
  border-radius: 30px;
  padding: 34px;
}

.info-cta__title {
  font-size: 34px;
  line-height: 1.18;
  color: #2f2a25;
  margin-bottom: 12px;
}

.info-cta__text {
  font-size: 16px;
  line-height: 1.8;
  color: #5f5448;
  margin-bottom: 22px;
}

.info-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1280px) {
  .nav {
    gap: 22px;
    padding: 0 24px;
  }

  .product-section__container,
  .product-hero__container,
  .product-facts__container,
  .product-breadcrumb__container,
  .product-offer__container,
  .product-related__container,
  .category-hero__container,
  .category-products__container,
  .category-benefits__container,
  .info-page__container,
  .contact-section__container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .product-section__container,
  .product-hero__container {
    gap: 48px;
  }

  .product-section__title,
  .product-hero__title {
    font-size: 48px;
  }

  .category-product__title {
    font-size: 36px;
  }
}

@media (max-width: 1024px) {
  .nav {
    gap: 16px;
    padding: 0 20px;
  }

  .nav__link {
    font-size: 12px;
  }

  .hero {
    height: clamp(320px, 48vw, 620px);
  }

  .product-section {
    min-height: auto;
    padding: 72px 0;
  }

  .product-section__container,
  .product-section__container--reverse {
    gap: 36px;
  }

  .product-hero__container,
  .product-offer__container,
  .product-story,
  .category-hero__container--textual,
  .category-product,
  .category-product--reverse,
  .info-page__split {
    grid-template-columns: 1fr;
  }

  .product-hero__container,
  .product-section__container,
  .product-section__container--reverse,
  .contact-section__container {
    flex-direction: column;
  }

  .product-section__content,
  .product-section__content--feature,
  .product-section--serum .product-section__content,
  .category-product__content {
    max-width: none;
  }

  .product-section--mask .product-section__content {
    transform: none;
  }

  .product-section__image img {
    max-height: 520px;
  }

  .product-hero {
    padding: 56px 0 40px;
  }

  .product-hero__media {
    min-height: 480px;
  }

  .product-hero__media--pack {
    min-height: 320px;
  }

  .product-facts__grid,
  .product-ecom-grid,
  .product-related__grid--compact,
  .category-benefits__grid,
  .info-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-product--reverse .category-product__media,
  .category-product--reverse .category-product__content {
    order: initial;
  }

  .category-product__media {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    grid-template-columns: 1fr auto;
    padding: 10px 20px;
  }

  .top-bar__left {
    justify-self: start;
    gap: 14px;
  }

  .top-bar__center {
    display: none;
  }

  .header {
    padding: 12px 20px 8px;
  }

  .logo__image {
    width: 110px;
    margin-bottom: 8px;
  }

  .nav-shell {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    min-height: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    padding: 0 16px;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.2s ease;
  }

  .nav__link {
    font-size: 11px;
    letter-spacing: 0.3px;
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(110, 82, 40, 0.12);
  }

  .nav__link .nav__chevron {
    display: none;
  }

  .nav__link,
  .nav__link--active,
  body.nav-scrolled .nav__link,
  body.nav-scrolled .nav__link--active {
    color: #2f2a25;
  }

  body.mobile-nav-open .nav {
    max-height: calc(100vh - 180px);
    opacity: 1;
    pointer-events: auto;
    padding: 0 0 10px;
    overflow-y: auto;
  }

  .nav__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    width: 100%;
  }

  .nav__item > .nav__link {
    border-right: 0;
    min-width: 0;
  }

  .nav__submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(110, 82, 40, 0.12);
    border-left: 0;
    color: #2f2a25;
    grid-column: 2;
    grid-row: 1;
  }

  .nav__submenu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    grid-column: 1 / -1;
    max-height: 0;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    min-width: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    transition: max-height 0.24s ease, margin 0.24s ease;
  }

  .nav__item--open .nav__submenu {
    max-height: 320px;
    margin-top: 8px;
  }

  .nav__item--open .nav__submenu-toggle {
    background: #1f1a17;
    color: #fff;
  }

  .nav__submenu-list li a {
    padding: 12px 18px;
    background: #f7f0e8;
    border-bottom: 1px solid rgba(110, 82, 40, 0.08);
    color: #2f2a25;
  }

  .hero__content {
    max-width: none;
  }

  .hero {
    width: 100%;
    height: clamp(240px, 56vw, 420px);
  }

  .hero__caption {
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
    top: auto;
    bottom: 52px;
    transform: none;
  }

  .hero__caption-title {
    font-size: 24px;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
  }

  .hero__caption-subtitle {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .hero__caption-text {
    font-size: 14px;
  }

  .hero__caption--right {
    text-align: left;
  }

  body.nav-scrolled .nav-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 8px 16px 10px;
    background: #000;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  }

  body.nav-scrolled .nav-toggle {
    max-width: none;
    min-height: 48px;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  body.nav-scrolled .nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    max-width: none;
    padding: 0 16px;
    background: transparent;
    box-shadow: none;
  }

  body.nav-scrolled .nav__link,
  body.nav-scrolled .nav__link--active {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.14);
    color: #2f2a25;
  }

  body.nav-scrolled .nav__submenu-toggle {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.14);
    color: #2f2a25;
  }

  body.nav-scrolled .nav__submenu-list li a {
    background: #f7f0e8;
    color: #2f2a25;
  }

  .intro,
  .featured-products,
  .products-grid-section__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-section__container,
  .product-section__container--reverse {
    flex-direction: column;
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-hero__container,
  .product-facts__grid,
  .product-story,
  .product-offer__container,
  .product-ecom-grid,
  .product-related__grid,
  .product-related__grid--compact,
  .category-hero__container--textual,
  .category-benefits__grid,
  .info-page__grid,
  .info-page__split {
    grid-template-columns: 1fr;
  }

  .product-hero__container,
  .product-facts__container,
  .product-breadcrumb__container,
  .product-offer__container,
  .product-related__container,
  .category-hero__banner,
  .category-hero__container,
  .category-products__container,
  .category-benefits__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .category-hero__title {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .info-page__title {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .category-product__text,
  .category-hero__text,
  .category-benefits__text,
  .info-page__lead,
  .info-card__text,
  .info-list li,
  .info-aside__text,
  .info-cta__text {
    font-size: 15px;
  }

  .category-product,
  .category-product--reverse {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .category-product--reverse .category-product__media,
  .category-product--reverse .category-product__content {
    order: initial;
  }

  .category-product__media {
    min-height: 300px;
  }

  .category-product__title {
    font-size: 28px;
    letter-spacing: 0.8px;
  }

  .category-product__subtitle {
    font-size: 18px;
  }

  .product-hero__media {
    min-height: 360px;
  }

  .product-hero__media--pack {
    min-height: 240px;
  }

  .product-hero__title {
    font-size: 32px;
    letter-spacing: 1.2px;
  }

  .product-hero__subtitle {
    font-size: 18px;
  }

  .product-hero__lead {
    font-size: 17px;
  }

  .product-hero__text,
  .product-facts__text,
  .product-story__text,
  .product-story__list li {
    font-size: 15px;
  }

  .product-facts__title {
    font-size: 28px;
    letter-spacing: 0.6px;
  }

  .product-offer__title {
    font-size: 24px;
  }

  .product-buybox__price {
    font-size: 34px;
  }

  .product-section--feature {
    background-image:
      linear-gradient(180deg, rgba(247, 241, 234, 0.2) 0%, rgba(247, 241, 234, 0.42) 54%, rgba(247, 241, 234, 0.72) 100%),
      url("img/best-saller/huilaantichut.png");
    background-position: center center;
  }

  .product-section {
    min-height: auto;
    padding: 56px 0;
  }

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

  .featured-products__head,
  .products-grid-section__head,
  .product-card__top,
  .footer-menu__container {
    flex-direction: column;
  }

  .footer-menu__container {
    gap: 40px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-section__container {
    padding: 0 20px;
  }

  .info-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .top-bar {
    padding: 8px 14px;
  }

  .top-bar__left {
    gap: 12px;
  }

  .nav {
    gap: 10px;
    padding: 10px 12px;
  }

  .nav__submenu {
    min-width: 200px;
  }

  .hero {
    height: 230px;
  }

  .product-chip {
    font-size: 10px;
    padding: 6px 10px;
  }

  .product-section__title,
  .product-hero__title,
  .category-product__title,
  .info-page__title {
    font-size: 28px;
  }

  .product-breadcrumb__container {
    gap: 6px;
    font-size: 11px;
  }

  .product-hero__media,
  .category-product__media {
    min-height: 280px;
  }

  .product-hero__media--pack {
    min-height: 220px;
  }

  .product-card-detail,
  .product-story__card,
  .product-buybox,
  .product-offer__summary,
  .product-ecom-card,
  .category-product,
  .category-benefits__card,
  .info-card,
  .info-aside,
  .info-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer__container {
    padding: 0 20px;
  }
}
