.banner {
  display: flex;
  position: relative;
  z-index: 10;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: var(--font-serif);
  font-style: normal;
  color: #A80000;
  width: 100%;
  height: auto;
  background-color: #FFE6E6;
}

.logo-group {
  display: flex;
  flex-direction: column;
  padding: var(--logo-pad);
}

#primal-text {
  font-size: var(--logo-primal);
  line-height: 0.9;
}

#cosmetics-text {
  font-family: var(--font-sans);
  font-weight: 100;
  font-size: var(--logo-cosmetics);
}

.nav-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.nav {
  display: flex;
  flex-direction: row;
  width: 60%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: clamp(16px, 6vw, 120px);
  font-weight: 400;
  font-size: var(--nav-size);

}

.home span:hover,
.products span:hover,
.contact span:hover {
  color: #E95B87;
  cursor: pointer;
}

.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  height: 45vh;
  width: 100%;
  padding: var(--space-1) 0 min(var(--space-1)) var(--page-pad);
  font-family: var(--font-serif);
  background-color: #FFFFFF;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(360px, 38vw, 640px);
  height: 120%;
  transform: translateY(-10%) translateX(-25%) scale(1.5);
  background-image: url('./assets/floral-bg-none.png');
  opacity: 0;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  animation: fadeIn 3s forwards;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-weight: 500;
}

#htext-l1, #htext-l2 {
  font-size: var(--hero-title);
}

#htext-l2 {
  line-height: 0.8;
}

#htext-l3 {
  padding-top: var(--space-4);
}

#htext-l3, #htext-l4, #htext-l5 {
  font-size: var(--hero-subtitle);
  font-weight: 300;
  line-height: 0.9;
}

.cta-container {
  padding-top: var(--space-3);
}

.hero-cta {
  display: inline-block;
  color: black;
  background-color: white;
  padding: 17px 40px;
  border-radius: 50px;
  cursor: pointer;
  border: 0;
  box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 15px;
  text-decoration-line: none;
  transition: all 0.5s ease;
}

.hero-cta:hover {
  letter-spacing: 3px;
  background-color: hsl(0 100% 95%);
  box-shadow: rgb(93 24 220) 0px 7px 29px 0px;
}

.hero-cta:active {
  letter-spacing: 3px;
  background-color: hsl(261deg 80% 48%);
  box-shadow: rgb(93 24 220) 0px 0px 0px 0px;
  transform: translateY(10px);
  transition: 100ms;
}

.social-link {
  text-decoration: none;
  color: black;
}

.social-bar {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  min-height: clamp(1.5vh, 3vh, 4vh);
  font-family: var(--font-serif);
  font-size: 1.25em;
  background-color: #FFE6E6;
  z-index: 2;
  box-shadow: 
    0 -12px 48px -10px rgba(0, 0, 0, 0.35),
    0 -6px 12px -10px rgba(0, 0, 0, 0.2);
}

.social-bar::-webkit-scrollbar {
  display: none;
}

.social-ticker {
  display: flex;
  will-change: transform;
  animation: scroll-left 30s linear infinite;
  gap: var(--space-5);
  padding-right: var(--space-5);
}

.social-bar:hover .social-ticker {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from { translate: 0; }
  to { translate: -100%; }
}

.product-section {
  box-shadow: none;
}

.section-title {
  display: none;
}

body[data-page="home"] .product-carousel::-webkit-scrollbar {
  display: none;
}

body[data-page="home"] .product-carousel {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  /*padding-bottom: var(--space-1);*.
  /*padding-top: var(--space-1);*/
  overflow-x: scroll;
  z-index: 3;
  box-shadow: 
    0 16px 48px -12px rgba(0, 0, 0, 0.35),
    0 4px 12px -12px rgba(0, 0, 0, 0.2);
}

body[data-page="home"] .product-card-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: var(--space-3);
  padding: var(--space-4);
  width: var(--product-card-small);
  flex: 0 0 var(--product-card-small);
  border-radius: 12px;
  background-color: #FFE6E6;
}

.editorial-section {
  margin: var(--space-5) 0;
  display: flex;
  font-family: var(--font-playfair);
  justify-content: center;
  background-color: #FFE6E6;
}

.editorial-inner {
  padding: var(--space-2) var(--space-4);
  width: 100%;
  max-width: 2400px;
  text-align: center;
}

.editorial-header {
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  font-size: clamp(18px, 3.5vw, 32px);
  font-weight: 200;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.editorial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.editorial-image-wrap {
  width: var(--editorial-layflat-size);
  margin-bottom: var(--space-3);
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 clamp(5px, 1vw, 10px) 10px rgba(0, 0, 0, .55);;
}

.editorial-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.editorial-card-title {
  margin-bottom: var(--space-2);
  font-size: clamp(14px, 1.75vw, 24px); 
}

.editorial-card-text {
  width: 65%;
  font-size: clamp(12px, 1.5vw, 20px);
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: black;
  width: 100%;
  font-family: var(--font-playfair);
}

.footer-logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align:  center;
  color: #876d58;
  margin: var(--space-4);
  justify-self: end;
}

.footer-contact-group {
  display: flex;
  margin: var(--space-4);
  align-items: center;
  justify-self: start;
}

.footer-contact-group ul {
  list-style: none;
}

.footer-contact-group li {
  margin: var(--space-1) 0;
}

.footer-contact {
  text-decoration: none;
  color: white;
}

.footer-logo {
  width: clamp(65px, 10vw, 200px);
  aspect-ratio: 3666 / 2232;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-logo-text {
  margin-top: var(--space-1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  body[data-page="home"] .product-carousel {
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-pad: clamp(4px, .25vw, 8px);
  }

  .banner { 
    flex-direction: column;
  }

  .logo-group {
    align-items: center;
  }

  .nav {
    align-items: center;
    padding: var(--nav-pad);
  }

  .hero::after {
    transform: translateX(10%);
  }

  .hero-text {
    width: min(80%, 28rem);
  }

  #htext-l1 {
    font-size: 32px;
    font-weight: 400;
  }

  #htext-l2 {
    font-size: 24px;
    font-weight: 400;
    line-height: .33;
  }

  #htext-l3 {
    margin-top: var(--space-3);
  }

  #htext-l3, #htext-l4, #htext-l5 {
    font-size: 16px;
    font-weight: 300;
  }

  .hero-cta {
    margin-top: var(--space-5);
  }

  .product-carousel::-webkit-scrollbar {
    display: none;
  }

  .product-card-small {
    flex: 0 0 180px;
    min-height: 188px;
    margin: 0;
    padding: 18px 14px;
    border-radius: 16px;
    scroll-snap-align: start;
    justify-content: space-between;
  }

  .product-img {
    width: 72%;
    max-width: 95px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
  }

  .buy-button {
    display: inline-flex;
    align-self: center;
    width: 82px;
    min-height: 32px;
    padding: 10px 8 px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .editorial-card-text {
    width: 100%;
    font-size: 10px;

  }
}
