/* CSS RESET 
        https://www.joshwcomeau.com/css/custom-css-reset/
        */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

/* SITE STYLES */

:root {
  --clr-primary: hsl(43, 87%, 31%);
  --clr-secondary: hsl(29, 100%, 96%);

  --clr-neutral-100: hsl(0, 0%, 100%);

  --clr-neutral-800: hsl(8, 16%, 19%);

  --clr-neutral-900: hsl(0, 0%, 0%);

  --ff-body: "Inter", sans-serif;
  /* --ff-accent: "acumin-pro-extra-condensed", sans-serif; */

  --fs-300: 0.875em;
  --fs-400: 1em;
  --fs-450: 1.25em;
  --fs-500: 1.5em;
  --fs-600: 2em;
  --fs-700: 3em;
  --fs-800: 3.5em;
  --fs-850: 4.5em;
  --fs-900: 5.375em;

  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 900;
}

body {
  font-family: var(--ff-body);
}
header {
  height: 130px;
  position: relative;
  background: var(--clr-secondary);
  display: flex;
  align-items: end;
  justify-content: center;
}
.logo {
  width: 160px;
  height: 96px;
}

section.image {
  width: 100%;
}

.upper_image img,
.middle_image img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  object-position: 25% 60%;
}

.middle_image img {
  object-position: 25% 30%;
}

.upper_container,
.lower_container {
  position: relative;
  background: var(--clr-secondary);
  padding: 24px 32px;
}

.middle_container {
  position: relative;
  background: var(--clr-neutral-100);
  padding: 24px 32px;
}

.text_content {
  font-size: var(--fs-400);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  margin-bottom: 12px;
}

.packs_planted_container {
  height: 100px;
  background: var(--clr-primary);
  border-radius: 8px;
  display: flex;
  margin: 24px 0 8px;
}

.packs_planted_container img {
  width: 125px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.text-semibold {
  font-weight: var(--fw-medium);
}

.packs_planted_text {
  text-align: center;
  margin: 6px 16px;
  color: var(--clr-neutral-100);
  font-size: var(--fs-300);
}

.counter {
  font-weight: 700;
  font-size: var(--fs-600);
  margin-bottom: -6px;
}

.packs_planted_text p {
  margin-top: 0;
  line-height: 1.2;
}

footer {
  background: var(--clr-neutral-800);
  position: relative;
  padding: 24px 32px;
}

footer .text_content {
  color: var(--clr-neutral-100);
}

label {
  color: var(--clr-neutral-100);
  font-style: italic;
  font-size: var(--fs-300);
  display: block;
  margin-bottom: 4px;
}

label.qty {
  color: var(--clr-neutral-900);
}

.form-input {
  border: none;
  height: 42px;
  width: 100%;
  margin-bottom: 8px;
  padding-left: 16px;
}

.form-input.honeytype {
  border: 1px solid var(--clr-neutral-900);
  height: 50px;
  width: 90%;
  margin-bottom: 16px;
  font-size: var(--fs-400);
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 0;
}

.btn {
  display: inline-block;
  border: none;
  height: 50px;
  width: 60%;
  border-radius: 8px;
  background: var(--clr-primary);
  color: var(--clr-neutral-100);
  font-size: var(--fs-500);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  text-decoration: none;
  line-height: 50px;
  text-align: center;
}

.form-submit {
  width: 100%;
}

.address {
  color: var(--clr-neutral-100);
  text-align: center;
  margin-top: 16px;
  margin-bottom: 16px;
}

.upper_container.subscribed {
  background: var(--clr-neutral-100);
}

.upper_container.subscribed a {
  border: none;
  display: block;
  height: 50px;
  width: 100%;
  border-radius: 8px;
  background: var(--clr-primary);
  color: var(--clr-neutral-100);
  font-size: var(--fs-500);
  font-weight: var(--fw-medium);
  cursor: pointer;
  text-align: center;
  line-height: 50px;
  text-decoration: none;
  bottom: 32px;
  position: fixed;
}

/* .price {
  font-weight: 700;
  font-size: var(--fs-500);
  margin-top: -10px;
} */

.buy-again-topsection {
  height: 120px;
  width: 100%;
  background: var(--clr-neutral-100);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  padding: 8px;
}
.buy-again-bottomsection {
  height: 150px;
  width: 100%;
  background: var(--clr-neutral-100);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.form__honeytype {
  /* display: flex;
  justify-content: space-evenly;
  align-items: end; */
  margin-top: -16px;
}

.buyagain_text {
  text-align: center;
  margin: 16px 16px;
  color: var(--clr-neutral-900);
  line-height: 1.2;
}

.info-tabs__link {
  display: inline-block;
  border: 1px solid var(--clr-primary);
  border-radius: 30px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: var(--fs-300);
  color: var(--clr-primary);
  text-decoration: none;
  cursor: pointer;
}

.active {
  background: var(--clr-primary);
  color: var(--clr-neutral-100);
}

.info-tabs__item {
  display: none;
  padding: 10px;
}

.show-content {
  display: block;
  background: var(--clr-neutral-100);
  margin-bottom: 24px;
  font-size: var(--fs-300);
}

.info-tabs__links {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 16px;
  width: 100%;
}

.video-bees {
  margin: 6px 0 16px;
}

/* SCROLLER */

.recipe-scroller {
  width: 100%;
  background: var(--clr-neutral-100);
  margin-top: 16px;
  margin-bottom: 16px;
}

.recipe-scroller-inner {
  padding: 0 0 0 20px;
}

.recipe-item p {
  font-weight: var(--fw-semibold);
}

.scroller_cont {
  --_spacer: var(--size-3);
  display: grid;
  gap: var(--_spacer);
  grid-auto-flow: column;
  grid-auto-columns: 43%;
  padding: 0 var(--_spacer) var(--_spacer) 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

/*https://www.youtube.com/watch?v=3yfswsnD2sw*/
.scroller_element {
  display: grid;
  grid-template-rows: min-content;
  /* gap: var(--_spacer); */
  margin-right: 1em;
  cursor: pointer;
}

/* .scroller_cont :where(:not(:last-child)) {
  margin-right: 1em;
} */

.scroller_element > img {
  inline-size: 100%;
  /* aspect-ratio: 16 / 9; */
  object-fit: cover;
}

.scroller_element > h3 {
  padding: 0 var(--_spacer) var(--_spacer);
}

.snaps-inline {
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: var(--_spacer, 1rem);
}

.snaps-inline > * {
  scroll-snap-align: start;
}

/* HONEYS */

.content_cont {
  padding: 0 40px;
}

.content_cont p {
  margin-top: 0;
  line-height: 1.2;
  margin-bottom: 12px;
}

.honey {
  background: var(--clr-secondary);
  position: fixed;
  top: 0;
  max-width: 500px;
  display: none;
  height: 100vh;
  overflow-y: scroll;
  z-index: 100;
  color: var(--clr-neutral-900);
  padding-bottom: 24px;
}

.honey.active {
  display: block;
}

.honey .heading {
  color: var(--clr-primary);
  font-size: var(--fs-700);
  font-weight: var(--fw-semibold);
  line-height: 1;
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
}

.bgr {
  width: 100%;
}

.drink {
  position: absolute;
  right: 20px;
  height: 250px;
}

.three-steps {
  font-size: var(--fs-800);
  line-height: calc(var(--fs-800) - 4px);
  text-align: right;
  margin-top: 30px;
}

.step {
  display: flex;
  text-align: left;
  margin-bottom: 16px;
}

.step .step-number {
  font-size: var(--fs-900);
  color: var(--clr-primary);
  line-height: 1;
  flex-basis: 65px;
  flex-grow: 0;
  flex-shrink: 0;
}

.step span {
  font-family: var(--ff-primary);
  font-size: var(--fs-450);
  font-weight: var(--fw-semibold);
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.step .instruction {
  margin-top: 10px;
}

.xmark-cont {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
}
.recipe-steps button {
  margin: 0 auto;
}

.btn-cont {
  display: flex;
  margin: 24px 0;
}

.xmark {
  width: 20px;
}
