:root {
  --cream: #f7f1e5;
  --caramel: #a86b3c;
  --sage: #8a9a7b;
  --cocoa: #3b2a20;
  --latte: #c9a27a;
  --pitch: rgb(188, 221, 122);
  --oatmeal: #eadbc4;
}

* {
  margin: 0;
}

.spot__light {
  color: var(--sage);
  text-shadow: 1px 1px 1px var(--cocoa);
}

body {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  background-color: var(--oatmeal);
  max-width: 900px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
}

input,
button {
  font-family: inherit;
  border-radius: 8px;
  border-color: var(--cocoa);
}

section {
  padding: 24px;
}

/*
PITCH
*/

.sticky__pitch--right {
  background-color: var(--pitch);
  border-radius: 8px;
  box-shadow: 4px 4px 4px var(--cocoa);
  padding: 8px;
  transform: rotate(3deg);
  max-width: 400px;
  margin: 24px;
}

.sticky__pitch--left {
  background-color: var(--pitch);
  border-radius: 8px;
  box-shadow: 4px 4px 4px var(--cocoa);
  padding: 8px;
  transform: rotate(-3deg);
  max-width: 400px;
  margin: 24px;
}

.pitch__call {
  font-weight: 800;
  font-size: larger;
}

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

.pitch {
  position: fixed;
  max-width: 380px;
  background-color: rgb(225, 241, 223);
  z-index: 100;
  transform: translateX(120%);
  transition: transform 0.6s ease;
  border: 8px solid var(--caramel);
  box-shadow:
    0 0 0 12px var(--cocoa),
    16px 16px 10px var(--cocoa);
  padding-bottom: 16px;
  max-height: 80vh;
  overflow-y: auto;
  padding-top: 24px;
  right: 24px;
  bottom: 24px;
}

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

.pitch__tab {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background-color: transparent;
  border: none;
  font-size: 48px;
  cursor: pointer;
}

.pitch__tip {
  font-size: 16px;
  color: var(--cocoa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pitch__tab:hover .pitch__tip {
  opacity: 1;
}

.pitch__head {
  padding: 0 16px 16px;
}

.pitch__para {
  margin: 0 24px;
  padding: 8px;
}

.pitch__name {
  text-align: right;
  margin-right: 48px;
  padding-bottom: 16px;
}

.pitch__btn {
  display: flex;
  justify-content: space-evenly;
}

.chat__btn {
  text-decoration: none;
  border: 2px solid var(--cocoa);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  background-color: var(--oatmeal);
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: var(--cocoa);
  box-shadow: 4px 4px 4px var(--cocoa);
}

.chat__btn:hover {
  background-color: var(--cocoa);
  color: var(--cream);
}

.look__btn {
  border: 2px solid var(--cocoa);
  cursor: pointer;
  background-color: var(--oatmeal);
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: var(--caramel);
  box-shadow: 4px 4px 4px var(--cocoa);
}

.look__btn:hover {
  background-color: var(--latte);
  color: var(--cocoa);

}

/*
HEADER
*/

.nav {
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
}

.nav__links {
  display: flex;
  margin: 32px;
  gap: 8px;
}

.fa-cart-shopping {
  color: #c96b7a;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.fa-cart-shopping:hover {
  color: #a8324a;
  transform: translateY(-3px);
  cursor: pointer;
}

.nav__link {
  text-decoration: none;
  color: var(--cocoa);
  font-weight: 800;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.nav__link:hover {
  color: var(--sage);
  transform: translateY(-3px);
}

.nav__logo--wrapper {
  display: flex;
  align-items: center;
}

.nav__logo--img {
  width: 80px;
}

/*
HERO
*/
.hero__container {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 32px;
}

.hero__pic {
  display: flex;
  flex: 0 0 280px;
  width: 100%;
}

.hero__img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 4px 4px 8px var(--cocoa);
}

.hero__title {
  font-size: 42px;
  text-align: center;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  max-width: 650px;
  text-align: center;
}

.btn__link {
  text-decoration: none;
  color: var(--cocoa);
  text-shadow: 1px 1px 1px var(--cream);
  background-color: var(--sage);
  box-shadow: 4px 4px 5px var(--cocoa);
  border-radius: 999px;
  padding: 12px;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.btn__link {
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.btn__link:hover {
  background-color: var(--caramel);
  transform: translateY(-3px);
}

/*
GIFT CARD
*/

.gift__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding: 24px;
  gap: 24px;
  margin: 24px;
}

.gift__title {
  font-size: 32px;
  text-align: center;
}

.gift__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 24px;
  gap: 24px;
  max-width: 650px;
  text-align: center;
}

.gift__card--wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--latte);
  padding: 16px;
  border-radius: 8px;
  border-style: groove;
  border-color: var(--cocoa);
  padding: 24px;
  gap: 16px;
  max-width: 1150px;
}

.card__amount--question {
  font-size: 24px;
  text-align: center;
}

.custom__wrapper--price {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  padding: 16px;
  border-radius: 8px;
  background-color: var(--sage);
  box-shadow: 4px 4px 4px var(--cocoa);
  font-size: 24px;
}

textarea {
  text-wrap: wrap;
  border-radius: 18px;
  width: 100%;
  max-width: 650px;
}

.custom__message--title {
  font-size: 24px;
}

.card__amount--answer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

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

.custom__wrapper--message {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  padding: 16px;
  border-radius: 8px;
  background-color: var(--sage);
  box-shadow: 4px 4px 4px var(--cocoa);
}

.card__form {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px 16px;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  padding: 16px;
  border-radius: 8px;
  background-color: var(--sage);
  box-shadow: 4px 4px 4px var(--cocoa);
}

.occasion__message--box {
  min-height: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 250px;
  background-color: var(--oatmeal);
  background-size: cover;
  background-position: center;
  box-shadow: 6px 6px 8px var(--cocoa);
  border-radius: 8px;
  padding: 8px;
  gap: 8px;
  color: var(--cocoa);
  text-shadow: 1px 1px 3px var(--sage);
  aspect-ratio: 1.6;
  transform: rotate(7deg);
  width: 100%;
  margin: 24px 0;
}

.card__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 8px;
}

.card__title {
  font-size: 28px;
}

.card__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.show__card--price {
  font-size: 40px;
  font-weight: 500;
}

.show__gift--img {
  max-width: 48px;
}

.card--birthday {
  background-image:
    linear-gradient(rgba(247, 241, 229, 0.4), rgba(247, 241, 229, 0.4)),
    url("./assets/birthday-bg.jpg");
  color: teal;
  text-shadow: 1px 1px 1px var(--cocoa);
}

.card--anniversary {
  background-image:
    linear-gradient(rgba(247, 241, 229, 0.2), rgba(247, 241, 229, 0.2)),
    url("./assets/anniversary2-bg.jpg");
  color: var(--cream);
  text-shadow: 2px 2px 1px var(--cocoa);
}

.card--anniversary .card__logo {
  margin-top: 24px;
}

.card--christmas {
  background-image: url("./assets/christmas-bg.jpg");
  color: var(--cream);
  text-shadow: 3px 3px 1px var(--cocoa);
  font-weight: 800;
}

.card--christmas .card__logo {
  margin-top: 32px;
}

.card--custom {
  background-image:
    linear-gradient(rgba(247, 241, 229, 0.4), rgba(247, 241, 229, 0.4)),
    url("./assets/puppy-bg.jpg");
  color: rgb(245, 100, 124);
  text-shadow: 1px 1px 1px var(--cocoa);
}

.buy__gift {
  background-color: var(--sage);
  border-radius: 999px;
  padding: 12px;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  color: var(--cocoa);
  text-shadow: 1px 2px 4px var(--cream);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.gift__btn {
  justify-content: center;
  align-items: center;
}

.buy__gift:hover {
  background-color: var(--caramel);
  transform: translateY(-3px);
}

.send__gift {
  display: none;
  justify-content: center;
  text-align: center;
  padding: 24px;
  max-width: auto;
  font-size: 18px;
  color: var(--cream);
  text-shadow: 1px 1px 2px var(--caramel);
  background-color: var(--sage);
  border: var(--cocoa);
  border-width: 4px;
  border-style: dashed;
  border-radius: 8px;
  box-shadow: 4px 4px 8px var(--cocoa);
  margin-top: 24px;
}

/*
SHOP
*/

.shop__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shop__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.shop__title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
}

.shop__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.shop__card {
  display: flex;
  background-color: var(--sage);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 4px 4px 8px var(--cocoa);
  gap: 4px;
}

.candle__box {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 8px;
}

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

.product__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.custom__wrapper--candle {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  border-radius: 16px;
  border: 2px dashed var(--caramel);
  background-color: var(--oatmeal);
  height: 62px;
  display: none;
}

.product__btn {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  gap: 8px;
}

.cart__add:hover {
  background-color: var(--cream);
  transform: translateY(-3px);
  cursor: pointer;
}

.cart__wish:hover {
  background-color: var(--caramel);
  transform: translateY(-3px);
  cursor: pointer;
}

.cart__add {
  background-color: var(--latte);
  border-radius: 8px;
  border-color: var(--cream);
  color: var(--cocoa);
  font-weight: 800;
  text-shadow: 1px 2px 3px var(--sage);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.cart__wish {
  background-color: var(--oatmeal);
  border-radius: 8px;
  border-color: var(--cream);
  color: var(--cocoa);
  font-weight: 800;
  text-shadow: 1px 1px 3px var(--sage);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

/*
CONTACT 
*/

.contact__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: auto 0;
}

.contact__title {
  text-align: center;
}

.contact__maps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 700px;
}

.contact__map {
  max-width: 260px;
  border-radius: 8px;
}

.contact__items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.contact__num {
  text-decoration: none;
  color: var(--cocoa);
  font-size: 24px;
}

.hour__title {
  list-style: none;
  font-size: 32px;
  text-decoration: underline;
}

.contact__hours {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 16px;
}

.contact__hour {
  list-style: none;
}

/*
FOOTER
*/

.footer__container {
  background-color: var(--sage);
  width: 100%;
}

.footer__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 32px;
}

.spot__light--footer {
  color: var(--oatmeal);
  text-shadow: 1px 1px 3px var(--cocoa);
}

.footer__logo--img {
  width: 80px;
}

.footer__links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: var(--oatmeal);
  padding-top: 32px;
}

.footer__link {
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.footer__link:hover {
  color: var(--caramel);
  transform: translateY(-3px);
  cursor: pointer;
}

.copy__right {
  padding-top: 32px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer__link {
  color: var(--oatmeal);
}

/*
LAPTOP (1199px and smaller)
*/

@media (max-width: 1199px) {
  .hero__container {
    flex-direction: row;
  }

  .hero__intro {
    flex: 1;
  }

  .hero__pic {
    flex: 0 0 280px;
  }

  .hero__img {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

/*
TABLET (768px and smaller)
*/

@media (max-width: 768px) {
  .hero__container {
    flex-direction: column-reverse;
  }

  .hero__pic {
    flex: none;
    width: 100%;
  }

  .hero__img {
    aspect-ratio: 16 / 9;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    padding-bottom: 24px;
  }

  .nav__links {
    margin: 16px 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero__container {
    margin: 16px 0;
  }

  .hero__title {
    font-size: 34px;
  }

  .gift__wrapper {
    margin: 16px 0;
  }

  .sticky__pitch--left,
  .sticky__pitch--right {
    margin: 16px auto;
  }

  .shop__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__maps {
    flex-direction: column;
    gap: 24px;
  }
}

/*
PHONE (480px and smaller)
*/

@media (max-width: 480px) {
  .hero__pic {
    display: none;
  }

  section {
    padding: 16px;
  }

  .hero__title {
    font-size: 28px;
  }

  .gift__title,
  .shop__title {
    font-size: 26px;
  }

  .gift__wrapper {
    padding: 0 8px;
  }

  .gift__card--wrapper {
    padding: 16px;
  }

  .card__amount--answer {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card__occasion--answer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .custom__wrapper--price {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
  }

  .product__img {
    height: 150px;
  }

  .sticky__pitch--left,
  .sticky__pitch--right {
    max-width: 85%;
  }

  .contact__hours,
  .contact__items {
    padding-left: 0;
  }

  .pitch {
  left: 16px;
  right: 16px;
  max-width: none;
  }
}
