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

html {
  /* 10px / 16px = 0.625 = 62.5% */
  /* Now 1rem = 10px */
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}

body {
  font-family: "Jost", sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #211c19;
  background-color: #f6f1ea;
}

/* GENERAL REUSABLE COMPONENTS */

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  width: 100%;
  display: block;
}

.container {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 4.8rem;
}

/* ANNOUNCEMENT BAR */

.announcement {
  background-color: #211c19;
  color: #f6f1ea;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-align: center;
  padding: 0.8rem 1.6rem;
}

/* HEADER */

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.6rem 4.8rem;
  border-bottom: 1px solid #e3dacd;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #f6f1ea;
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.header--scrolled {
  background-color: rgba(246, 241, 234, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: transparent;
}

.header--scrolled.nav-open {
  background-color: #f6f1ea;
}

.btn-mobile-nav {
  display: none;
  justify-self: start;
  background: none;
  border: none;
  cursor: pointer;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.nav-open .icon-mobile-nav[name="close-outline"] {
  display: block;
}

.nav-open .icon-mobile-nav[name="menu-outline"] {
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-nav-link:link,
.mobile-nav-link:visited,
button.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  padding: 1.6rem 2rem;
  color: #211c19;
}

button.mobile-nav-link {
  background: none;
  border: none;
  border-bottom: 1px solid #e3dacd;
  font-family: inherit;
  cursor: pointer;
}

.mobile-nav-link:link,
.mobile-nav-link:visited {
  border-bottom: 1px solid #e3dacd;
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  font-size: 1.4rem;
  font-weight: 500;
  color: #211c19;
  transition: color 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #6b625b;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.6rem;
  letter-spacing: 0.4rem;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3.2rem;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
}

.icon {
  width: 2.4rem;
  height: 2.4rem;
  color: #211c19;
}

button.main-nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  color: #211c19;
  transition: color 0.3s;
}

button.main-nav-link:hover {
  color: #6b625b;
}

/* HERO SECTION */

.section-hero {
  background-color: #2b1a10;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: right 45%;
  min-height: 50rem;
  display: flex;
  align-items: center;
}

.hero {
  max-width: 56rem;
  padding: 0 4.8rem;
  color: #f6f1ea;
}

.hero-eyebrow {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.heading-primary {
  font-family: "Cormorant Garamond", serif;
  font-size: 5.2rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 2.4rem;
}

.heading-primary em {
  font-style: italic;
}

.hero-description {
  font-size: 1.6rem;
  margin-bottom: 3.2rem;
}

/* BUTTONS */

.btn:link,
.btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  padding: 1.6rem 3.2rem;
  transition: all 0.3s;
}

.btn--full:link,
.btn--full:visited {
  background-color: #211c19;
  color: #f6f1ea;
}

.btn--full:hover,
.btn--full:active {
  background-color: #4a403a;
}

.btn--light:link,
.btn--light:visited {
  background-color: #f6f1ea;
  color: #211c19;
}

.btn--light:hover,
.btn--light:active {
  background-color: #e3dacd;
}

/* SHOP BY CATEGORY SECTION */

.section-category {
  padding: 6.4rem 0;
}

.heading-secondary {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-bottom: 2.4rem;
}

.heading-secondary::after {
  content: "";
  width: 6rem;
  height: 1px;
  background-color: #211c19;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.category {
  position: relative;
  height: 28rem;
  overflow: hidden;
  background-color: #2b1a10;
}

.category img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.category:hover img {
  transform: scale(1.06);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 4.8rem 1.6rem 1.6rem 1.6rem;
  background-image: linear-gradient(
    to top,
    rgba(20, 10, 5, 0.85),
    rgba(20, 10, 5, 0)
  );
  color: #f6f1ea;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.category-text {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
}

/* BESTSELLERS SECTION */

.section-bestsellers {
  padding-bottom: 6.4rem;
}

.bestsellers-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.4rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.4rem;
}

.section-head .heading-secondary {
  margin-bottom: 0;
}

.link-view-all:link,
.link-view-all:visited {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  transition: color 0.3s;
}

.link-view-all:hover,
.link-view-all:active {
  color: #6b625b;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

/* .product-img {
  height: 18rem;
  object-fit: cover;
  background-color: #e8dfd3;
  margin-bottom: 1.2rem;
} */

.product-img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  background-color: #e8dfd3;
  margin-bottom: 1.2rem;
}

.product-name {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.product-details {
  margin-bottom: 0.8rem;
}

.product-details li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  color: #6b625b;
}

/* .product-details li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: #6b625b;
} */

.product-price {
  font-size: 1.4rem;
  font-weight: 500;
}

/* FRAGRANCE EDIT + BRAND STORY SECTION */
.heading-card {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.6rem;
}

.section-promo {
  padding-bottom: 6.4rem;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  max-width: 190rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}

.promo {
  display: flex;
  align-items: center;
  min-height: 23rem;
  background-size: cover;
  background-repeat: no-repeat;
}

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.4rem 3.2rem;
}

.promo .heading-card {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

.promo-label {
  font-size: 1rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.promo-text {
  font-size: 1.3rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.promo .btn:link,
.promo .btn:visited {
  padding: 1.2rem 2.4rem;
  font-size: 1.1rem;
}

.fragrance-edit {
  justify-content: flex-end;
  background-color: #211c19;
  background-image:
    linear-gradient(
      to right,
      rgba(33, 28, 25, 0) 0%,
      rgba(33, 28, 25, 0) 29%,
      #211c19 68%
    ),
    url("../images/fragrance-edit.jpg");
  background-position: right center;
  color: #f6f1ea;
}

.fragrance-edit .promo-content {
  width: 50%;
}

.brand-story {
  background-color: #efe5da;
  background-image:
    linear-gradient(
      to right,
      #efe5da 0%,
      #efe5da 20%,
      rgba(239, 229, 218, 0) 80%
    ),
    url("../images/fragrance-edit.jpg");
  background-position: right center;
}

.brand-story .promo-content {
  width: 68%;
}

.brand-story .promo-text {
  color: #4a403a;
}

/* COLLECTIONS SECTION */

.section-collections {
  padding-bottom: 6.4rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
}

.collection-img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: #e8dfd3;
  margin-bottom: 1.2rem;
  transition: opacity 0.3s;
}

.collection:hover .collection-img {
  opacity: 0.85;
}

.collection-name {
  font-size: 1.3rem;
  font-weight: 500;
}

.collection-text {
  font-size: 1.1rem;
  color: #6b625b;
}

/* BANNER SECTION */

.section-banner {
  padding-bottom: 6.4rem;
}

.banner {
  display: flex;
  align-items: center;
  min-height: 20rem;
  padding: 3.2rem 4.8rem;
  background-color: #2f3a24;
  background-image:
    linear-gradient(to right, #2f3a24 0%, #2f3a24 40%, rgba(47, 58, 36, 0) 75%),
    url("../images/category-roll-ons.jpg");
  background-size: cover;
  background-position: right center;
  color: #f6f1ea;
}

.banner-content {
  max-width: 42rem;
}

.banner-text {
  font-size: 1.4rem;
  margin-bottom: 2.4rem;
}

/* DISTRIBUTOR SECTION */

.section-distributor {
  padding: 4.4rem 0;
}

.distributor {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 26rem;
  padding: 4.8rem;
  background-color: #efe5da;
  overflow: hidden;
}

.distributor::after {
  content: "";
  position: absolute;
  top: 0%;
  right: 0;
  width: 50%;
  height: 100%;
  background-image:
    linear-gradient(to right, #efe5da 0%, rgba(239, 229, 218, 0) 35%),
    url("../images/category-gift-sets.jpg");
  background-size: cover;
  background-position: center 12%;
  background-repeat: no-repeat;
}

.distributor-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.distributor .heading-card {
  font-size: 3.2rem;
  color: #7a3f26;
  margin-bottom: 1.2rem;
}

.distributor-text {
  font-size: 1.4rem;
  color: #4a403a;
  margin-bottom: 2.4rem;
}

button.btn--outline-dark {
  background-color: transparent;
  border: 1px solid #7a3f26;
  color: #7a3f26;
}

button.btn--outline-dark:hover {
  background-color: #7a3f26;
  color: #f6f1ea;
}

button.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 1.6rem 3.2rem;
  border: 1px solid #7a3f26;
  cursor: pointer;
  transition: all 0.3s;
}

/* JOURNAL + TRUST SECTION */

.section-journal {
  padding-bottom: 6.4rem;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.post-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: #e8dfd3;
  margin-bottom: 1.2rem;
  transition: opacity 0.3s;
}

.post:hover .post-img {
  opacity: 0.85;
}

.post-category {
  font-size: 1rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  color: #6b625b;
  margin-bottom: 0.4rem;
}

.post-title {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.post-time {
  font-size: 1.1rem;
  color: #6b625b;
}

/* TRUST SECTION */

.section-trust {
  background-color: #efe5da;
  padding: 2.4rem 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 0.8rem 2.4rem;
}

.trust-item:not(:last-child) {
  border-right: 1px solid #d8cbbb;
}

.trust-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.trust-text {
  font-size: 1.2rem;
  color: #6b625b;
}

/* FOOTER */

.footer {
  background-color: #211c19;
  color: #f6f1ea;
  padding: 4.8rem 0 2.4rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 3.2rem;
}

.footer .logo {
  align-items: flex-start;
  justify-self: start;
}

.footer .logo-name {
  font-size: 3rem;
}

.footer-nav {
  display: flex;
  gap: 4.8rem;
}

.footer-link:link,
.footer-link:visited,
button.footer-link {
  font-size: 1.3rem;
  color: #d9c9b8;
  transition: color 0.3s;
}

.footer-link:hover,
.footer-link:active,
button.footer-link:hover {
  color: #f6f1ea;
}

button.footer-link {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.social-list {
  display: flex;
  gap: 2.4rem;
  justify-self: end;
}

.social-link:link,
.social-link:visited {
  display: flex;
  font-size: 2rem;
  color: #f6f1ea;
  transition: color 0.3s;
}

.social-link:hover,
.social-link:active {
  color: #d9c9b8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 1.2rem;
  color: #d9c9b8;
}

.legal-list {
  display: flex;
  align-items: center;
}

.legal-list li:not(:last-child) {
  padding-right: 1.6rem;
  margin-right: 1.6rem;
  border-right: 1px solid #6b5d52;
}

.legal-list .footer-link:link,
.legal-list .footer-link:visited {
  font-size: 1.2rem;
}

/* DISTRIBUTOR POPUP */

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50rem;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #f6f1ea;
  padding: 4.8rem 4rem;
  z-index: 1000;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 28, 25, 0.7);
  z-index: 999;
}

.hidden {
  display: none !important;
}

.btn-close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 3.6rem;
  line-height: 1;
  background: none;
  border: none;
  color: #211c19;
  cursor: pointer;
}

.modal-text {
  font-size: 1.4rem;
  color: #6b625b;
  margin-bottom: 2.4rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.modal-form label {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  margin-top: 0.8rem;
}

.modal-form input,
.modal-form textarea {
  font-family: inherit;
  font-size: 1.4rem;
  color: inherit;
  padding: 1.2rem 1.6rem;
  background-color: #fff;
  border: 1px solid #d8cbbb;
  transition: border-color 0.3s;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #211c19;
}

.modal-form .btn {
  margin-top: 1.6rem;
  align-self: flex-start;
}

/* SHOP PAGE */

.section-page-head {
  padding: 6.4rem 0 3.2rem 0;
}

.heading-page {
  font-family: "Cormorant Garamond", serif;
  font-size: 5.2rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.page-text {
  font-size: 1.6rem;
  color: #6b625b;
}

.section-shop {
  padding-bottom: 9.6rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.filter-btn {
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: none;
  border: 1px solid #d8cbbb;
  color: #211c19;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: #211c19;
}

.filter-btn--active {
  background-color: #211c19;
  border-color: #211c19;
  color: #f6f1ea;
}

.product-grid--shop {
  row-gap: 4rem;
}

.product .btn-add {
  width: 100%;
  justify-content: center;
  margin-top: 1.2rem;
  padding: 1.2rem;
}

/* CART */

.btn-cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -0.6rem;
  right: -0.8rem;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 0.4rem;
  border-radius: 10rem;
  background-color: #211c19;
  color: #f6f1ea;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 42rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f6f1ea;
  box-shadow: -1rem 0 3rem rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.4s;
  z-index: 1101;
}

.cart--open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 28, 25, 0.6);
  z-index: 1100;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.4rem 3.2rem;
  border-bottom: 1px solid #e3dacd;
}

.cart-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 500;
}

.btn-close-cart {
  font-size: 3.6rem;
  line-height: 1;
  background: none;
  border: none;
  color: #211c19;
  cursor: pointer;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.6rem 3.2rem;
  display: flex;
  flex-direction: column;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.8rem;
  padding: 2.4rem 0;
}

.cart-empty-icon {
  width: 6.4rem;
  height: 6.4rem;
  color: #d9c9b8;
  margin-bottom: 0.8rem;
}

.cart-empty-title {
  font-size: 1.8rem;
  font-weight: 500;
}

.cart-empty-text {
  font-size: 1.4rem;
  color: #6b625b;
  max-width: 26rem;
}

.btn-checkout {
  width: 100%;
  justify-content: center;
}

.btn-checkout ion-icon {
  font-size: 2rem;
}

.btn-checkout:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-checkout:disabled:hover {
  background-color: #211c19;
  transform: none;
}

.btn-clear-cart {
  display: block;
  margin: 1.6rem auto 0 auto;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.3rem;
  color: #6b625b;
  cursor: pointer;
  transition: color 0.3s;
}

.btn-clear-cart:hover {
  color: #b3261e;
}

.btn-clear-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-clear-cart:disabled:hover {
  color: #6b625b;
}

.cart-item {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid #e3dacd;
}

.cart-item-img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #e8dfd3;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.cart-item-size {
  font-size: 1.2rem;
  color: #6b625b;
}

.cart-item-price {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 0.4rem;
}

.qty {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.8rem;
  font-size: 1.4rem;
}

.qty-btn {
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
  line-height: 1;
  background: none;
  border: 1px solid #d8cbbb;
  color: #211c19;
  cursor: pointer;
  transition: border-color 0.3s;
}

.qty-btn:hover {
  border-color: #211c19;
}

.cart-item-remove {
  align-self: flex-start;
  font-size: 2.4rem;
  line-height: 1;
  background: none;
  border: none;
  color: #6b625b;
  cursor: pointer;
}

.cart-item-remove:hover {
  color: #211c19;
}

.cart-footer {
  padding: 2.4rem 3.2rem;
  border-top: 1px solid #e3dacd;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-form label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

.cart-form input,
.cart-form textarea {
  font-family: inherit;
  font-size: 1.4rem;
  color: inherit;
  padding: 1rem 1.4rem;
  background-color: #fff;
  border: 1px solid #d8cbbb;
}

.cart-form input:focus,
.cart-form textarea:focus {
  outline: none;
  border-color: #211c19;
}

.cart-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.2rem;
}

/* JOURNAL PAGE */

.journal-grid--page {
  row-gap: 4rem;
}

/* ARTICLE PAGE */

.section-article {
  padding: 6.4rem 0 9.6rem 0;
}

.article {
  max-width: 72rem;
  margin: 0 auto;
}

.article-back:link,
.article-back:visited {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  margin-bottom: 3.2rem;
  transition: color 0.3s;
}

.article-back:hover,
.article-back:active {
  color: #6b625b;
}

.article-category {
  font-size: 1.1rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #6b625b;
  margin-bottom: 1.2rem;
}

.article-meta {
  font-size: 1.3rem;
  color: #6b625b;
  margin-bottom: 3.2rem;
}

.article-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #e8dfd3;
  margin-bottom: 3.2rem;
}

.article-body p {
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: 2.4rem;
}

/* DISCOVER PAGE */

.section-quiz {
  padding-bottom: 9.6rem;
}

.quiz {
  max-width: 76rem;
  margin: 0 auto;
  padding: 4.8rem;
  background-color: #efe5da;
}

.quiz-progress {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #6b625b;
  margin-bottom: 1.6rem;
}

.quiz-question {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.quiz-option {
  font-family: inherit;
  font-size: 1.6rem;
  text-align: left;
  padding: 1.6rem 2.4rem;
  background-color: #f6f1ea;
  border: 1px solid #d8cbbb;
  color: #211c19;
  cursor: pointer;
  transition: all 0.3s;
}

.quiz-option:hover {
  background-color: #211c19;
  border-color: #211c19;
  color: #f6f1ea;
}

.quiz-result {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.quiz-result-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #e8dfd3;
}

.quiz-result-label {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #6b625b;
  margin-bottom: 1.2rem;
}

.quiz-result-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 4.4rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.quiz-result-details {
  font-size: 1.4rem;
  color: #6b625b;
  margin-bottom: 0.4rem;
}

.quiz-result-price {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}

.quiz-result-text {
  font-size: 1.5rem;
  margin-bottom: 2.4rem;
}

.quiz-result-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.btn-chat {
  position: fixed;
  right: 2.4rem;
  bottom: 2.4rem;
  z-index: 90;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: #1fa855;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}

.btn-chat:hover {
  transform: scale(1.08);
}

/* ANIMATIONS */

section {
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.section--hidden {
  opacity: 0;
  transform: translateY(6rem);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.js-enabled img[loading="lazy"]:not(.img--loaded) {
  opacity: 0;
}

.img--loaded {
  animation: fade-in 0.8s ease-out;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(2.4rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero > * {
  animation: fade-up 0.8s ease-out backwards;
}

.hero > *:nth-child(2) {
  animation-delay: 0.15s;
}

.hero > *:nth-child(3) {
  animation-delay: 0.3s;
}

.hero > *:nth-child(4) {
  animation-delay: 0.45s;
}

.product-grid--shop .product,
.journal-grid--page .post {
  animation: fade-up 0.6s ease-out backwards;
}

.btn:hover {
  transform: translateY(-0.2rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .section--hidden {
    opacity: 1;
    transform: none;
  }
}
