/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, .product-price, section h2 + p, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ======== DON'T CHANGE ANYTHING ABOVE THIS LINE ======== */
/*==========================================================
Box Sizing
==========================================================*/
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/*==========================================================
Variable Colors
==========================================================*/
:root {
  --chestnut: #937261;
  --white: #FFFFFF;
  --dark: #333333;
  --light: #F4F0EF;
  --silver: #CCBEB5;
  --teal: #618293;
  --lava: #d0171f;
  --green: #a6b1a0;
  --light-gray: #EBE5E5;
  --font-heading: "Domine", serif;
  --font-body: "Inter", sans-serif;
  --font-logo: "Allura", cursive;
}

img {
  line-height: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

/*==========================================================
Global Styling
==========================================================*/
body {
  font-size: 18px;
  line-height: 1.4;
  font-family: var(--font-body);
  color: var(--chestnut);
  background-color: var(--white);
}

@media (min-width: 768px) {
  body {
    font-size: 20px;
  }
}
@media (min-width: 1024px) {
  body {
    font-size: 24px;
  }
}
a {
  text-decoration: none;
  color: var(--chestnut);
}

h1 + a.btn, h1 + p, h2 + a.btn, h2 + p, h3 + a.btn, .product-price + a.btn, section h2 + p + a.btn, h3 + p, .product-price + p, section h2 + p + p, h4 + a.btn, h4 + p, h5 + a.btn, h5 + p, h6 + a.btn, h6 + p {
  margin-top: 24px;
}

h3 + ul, .product-price + ul, section h2 + p + ul {
  margin-top: 24px;
}

p + p,
p + a {
  margin-top: 24px;
}

/*==========================================================
Typography Styling
==========================================================*/
h1, h2, h3, .product-price, section h2 + p, h4, h5, h6 {
  font-family: var(--font-heading);
}

h1 {
  font-size: 28px;
}
@media (min-width: 768px) {
  h1 {
    font-size: 42px;
  }
}
@media (min-width: 1024px) {
  h1 {
    font-size: 64px;
  }
}

h2 {
  font-size: 24px;
}
@media (min-width: 768px) {
  h2 {
    font-size: 34px;
  }
}
@media (min-width: 1024px) {
  h2 {
    font-size: 48px;
  }
}

h3, .product-price, section h2 + p, .p-lg, .btn {
  font-size: 20px;
}
@media (min-width: 768px) {
  h3, .product-price, section h2 + p, .p-lg, .btn {
    font-size: 26px;
  }
}
@media (min-width: 1024px) {
  h3, .product-price, section h2 + p, .p-lg, .btn {
    font-size: 32px;
  }
}

h4, p {
  font-size: 18px;
}
@media (min-width: 768px) {
  h4, p {
    font-size: 20px;
  }
}
@media (min-width: 1024px) {
  h4, p {
    font-size: 24px;
  }
}

h5, .p-sm, .error-form div:nth-of-type(8) p, .customisation-form div:nth-of-type(7) p, footer h5 + p, .variation-size a, header p {
  font-size: 16px;
}
@media (min-width: 768px) {
  h5, .p-sm, .error-form div:nth-of-type(8) p, .customisation-form div:nth-of-type(7) p, footer h5 + p, .variation-size a, header p {
    font-size: 18px;
  }
}
@media (min-width: 1024px) {
  h5, .p-sm, .error-form div:nth-of-type(8) p, .customisation-form div:nth-of-type(7) p, footer h5 + p, .variation-size a, header p {
    font-size: 20px;
  }
}

h6 {
  font-size: 12px;
}
@media (min-width: 768px) {
  h6 {
    font-size: 14px;
  }
}
@media (min-width: 1024px) {
  h6 {
    font-size: 16px;
  }
}

/*-------------------------------------------------*
Buttons
*--------------------------------------------------*/
.btn {
  display: inline-block;
}
.btn--primary, .btn--secondary {
  padding: 12px 54px;
  border-radius: 40px;
  color: var(--light);
}
.btn--primary {
  background-color: var(--chestnut);
}
.btn--secondary {
  background-color: var(--teal);
}
.btn--underline {
  border-bottom: 2px solid var(--chestnut);
}

/*-------------------------------------------------*
spacing & container
*--------------------------------------------------*/
.nav,
section,
footer > div,
footer > div + p,
main.pages {
  max-width: 1320px;
  margin: 0 auto;
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
}
section ul {
  margin-top: 40px;
}
section h2 + p {
  margin-top: 32px;
  font-family: var(--font-body);
}
section h2 + p + a.btn {
  margin-top: 32px;
}

main.pages {
  padding-top: 60px;
}
main.pages > h2 + * {
  margin-top: 60px;
}

/*-------------------------------------------------*
Forms
*--------------------------------------------------*/
form * {
  margin-top: 24px;
}

textarea,
input {
  display: block;
  background-color: var(--light-gray);
  border: 1px solid var(--chestnut);
  padding: 12px 12px;
  height: 60px;
  width: 100%;
  border-radius: 8px;
}
textarea::-moz-placeholder, input::-moz-placeholder {
  font-family: var(--font-body);
  font-style: italic;
  opacity: 0.8;
  color: var(--chestnut);
}
textarea::placeholder,
input::placeholder {
  font-family: var(--font-body);
  font-style: italic;
  opacity: 0.8;
  color: var(--chestnut);
}
textarea[type=checkbox],
input[type=checkbox] {
  padding: 4px;
  border: 0;
  width: 32px;
  height: 32px;
}

textarea {
  min-height: 250px;
}

label span {
  color: var(--lava);
}

/*-------------------------------------------------*
Header
*--------------------------------------------------*/
header p {
  background-color: var(--chestnut);
  color: var(--light);
  text-align: center;
  padding: 8px 60px;
}

.top-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 40px;
  padding: 24px 60px;
  align-items: center;
}
.top-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: flex-end;
}
.top-nav ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--chestnut);
}
.top-nav .search-wrap {
  color: var(--chestnut);
}
.top-nav .search-wrap input {
  display: none;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 60px;
}
nav ul li a {
  color: var(--chestnut);
  padding: 16px 0;
  display: inline-block;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .logo {
  justify-content: flex-start;
}
.logo h1 {
  font-family: var(--font-logo);
  margin-top: 32px;
  margin-left: -24px;
}
.logo span {
  color: var(--lava);
  padding-left: 4px;
}
.logo svg {
  width: 120px;
}
footer .logo svg {
  width: 100px;
}
.logo h2 {
  font-family: var(--font-logo);
  margin-top: 24px;
  margin-left: -16px;
}
.logo + p {
  margin-top: 24px;
}

/*-------------------------------------------------*
banner img
*--------------------------------------------------*/
main > img {
  width: 100%;
  margin-bottom: 60px;
}

/*-------------------------------------------------*
Featured Products
*--------------------------------------------------*/
ul.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
ul.product-list figure {
  position: relative;
}
ul.product-list figure .variation-color {
  position: absolute;
  right: 20px;
  bottom: 20px;
}
ul.product-list h4 {
  margin-top: 20px;
}
ul.product-list h4 + p {
  font-family: var(--font-heading);
  margin-top: 8px;
}
ul.product-list + div {
  margin-top: 60px;
  text-align: center;
}

.variation-color {
  display: flex;
  align-items: center;
  gap: 10px;
}
.variation-color span {
  width: 24px;
  height: 24px;
  font-size: 0;
  border-radius: 50%;
}
.variation-color span.color-chestnut {
  background: var(--chestnut);
}
.variation-color span.color-lava {
  background: var(--lava);
}

.variation-size {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.variation-size span {
  width: 40px;
  height: 40px;
  border: 1px solid var(--chestnut);
  display: flex;
  align-items: center;
  justify-content: center;
}
.variation-size span.selected {
  background-color: var(--light);
}
.variation-size a {
  text-decoration: underline;
  display: inline-block;
  flex: 0 0 100%;
  font-weight: 400;
}

/*-------------------------------------------------*
50-50 Blocks section
*--------------------------------------------------*/
.section-blocks {
  display: flex;
  align-items: center;
  gap: 40px;
}
.section-blocks--reverse {
  flex-direction: row-reverse;
}

/*-------------------------------------------------*
Collection List Section
*--------------------------------------------------*/
ul.collection-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}
ul.collection-list a.btn {
  margin-top: 20px;
}

/*-------------------------------------------------*
Footer Styling
*--------------------------------------------------*/
footer {
  background-color: var(--light);
  margin-top: 100px;
  border-bottom: 20px solid var(--chestnut);
}
footer > div {
  display: grid;
  padding-top: 80px;
  padding-bottom: 80px;
  gap: 40px;
  grid-template-columns: repeat(6, 1fr);
}
footer > div div {
  grid-area: 1/1/2/3;
}
footer > div ul:nth-of-type(1) {
  grid-area: 1/3/2/4;
}
footer > div ul:nth-of-type(2) {
  grid-area: 1/4/2/5;
}
footer > div div.subscribe-form {
  grid-area: 1/5/2/7;
}
footer > div + p {
  padding: 40px 0;
  border-top: 1px solid var(--chestnut);
  text-align: center;
  font-weight: 600;
}
footer ul li + li {
  margin-top: 24px;
}
/*-------------------------------------------------*
Product Page
*--------------------------------------------------*/
.pages > div + div {
  padding-top: 60px;
  padding-bottom: 60px;
}
.pages div h3, .pages div .product-price, .pages div section h2 + p, section .pages div h2 + p {
  max-width: 960px;
}

.product {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 60px;
}
.product img {
  width: 100%;
}
.product-review {
  display: flex;
  gap: 24px;
}
.product-review a {
  text-decoration: underline;
}
.product-price {
  font-weight: 500;
  margin-top: 20px;
}
.product div + div {
  margin-top: 40px;
}
.product .variation-color span {
  width: 32px;
  height: 32px;
  opacity: 0.6;
  position: relative;
}
.product .variation-color span::after {
  position: absolute;
  content: "";
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.product .variation-color span.selected {
  opacity: 1;
}
.product .variation-color span.selected::after {
  border: 1px solid var(--chestnut);
}
.product div div p {
  text-decoration: underline;
  margin-top: 20px;
}
.product .product-description {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--chestnut);
}
.product .product-description span {
  font-weight: 500;
}
.product .product-description ul {
  margin-top: 20px;
}
.product .product-description ul li + li {
  margin-top: 10px;
}

.variation {
  display: flex;
  gap: 12px;
  font-weight: 500;
  margin-top: 20px;
}

.maker {
  display: flow-root;
  max-width: 1100px;
}
.maker img {
  float: left;
  margin-right: 40px;
}
.maker * {
  margin-top: 24px;
}

.review form {
  margin-top: 120px;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 40px;
}
.review form h2 {
  grid-area: 1/1/2/3;
}
.review form div {
  grid-area: 2/1/3/2;
}
.review form div + div {
  grid-area: 2/2/3/3;
}
.review form div + div + div {
  grid-area: 3/1/4/3;
}
.review form div + div + div + div {
  grid-area: 4/1/5/3;
}

.customisation-form {
  margin-bottom: 120px;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
.customisation-form div:nth-of-type(1) {
  grid-area: 1/1/2/2;
}
.customisation-form div:nth-of-type(2) {
  grid-area: 1/2/2/3;
}
.customisation-form div:nth-of-type(3) {
  grid-area: 2/1/3/2;
}
.customisation-form div:nth-of-type(4) {
  grid-area: 2/2/3/3;
}
.customisation-form div:nth-of-type(5) {
  grid-area: 3/1/4/3;
}
.customisation-form div:nth-of-type(6) {
  grid-area: 4/1/5/3;
}
.customisation-form div:nth-of-type(6) div {
  display: flex;
  gap: 40px;
}
.customisation-form div:nth-of-type(6) div * {
  margin-top: 0;
}
.customisation-form div:nth-of-type(6) div div {
  gap: 12px;
}
.customisation-form textarea {
  grid-area: 5/1/6/3;
}
.customisation-form div:nth-of-type(7) {
  grid-area: 6/1/7/3;
}
.customisation-form div:nth-of-type(7) * {
  margin-top: 0;
}
.customisation-form div:nth-of-type(7) img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}
.customisation-form div:nth-of-type(7) p {
  text-decoration: underline;
  margin: 12px 0 24px 0;
  text-underline-offset: 4px;
}
.customisation-form div:nth-of-type(8) {
  grid-area: 7/1/8/3;
}

.error-form {
  margin-bottom: 120px;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
.error-form div:nth-of-type(1) {
  grid-area: 1/1/2/2;
}
.error-form div:nth-of-type(2) {
  grid-area: 2/1/3/2;
}
.error-form div:nth-of-type(3) {
  grid-area: 2/2/3/3;
}
.error-form div:nth-of-type(4) {
  grid-area: 3/1/4/2;
}
.error-form div:nth-of-type(5) {
  grid-area: 3/2/4/3;
}
.error-form div:nth-of-type(6) {
  grid-area: 4/1/5/3;
}
.error-form div:nth-of-type(7) {
  grid-area: 5/1/6/3;
}
.error-form div:nth-of-type(7) div {
  display: flex;
  gap: 40px;
}
.error-form div:nth-of-type(7) div * {
  margin-top: 0;
}
.error-form div:nth-of-type(7) div div {
  gap: 12px;
}
.error-form textarea {
  grid-area: 6/1/7/3;
}
.error-form div:nth-of-type(8) {
  grid-area: 7/1/8/3;
}
.error-form div:nth-of-type(8) * {
  margin-top: 0;
}
.error-form div:nth-of-type(8) img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}
.error-form div:nth-of-type(8) p {
  text-decoration: underline;
  margin: 12px 0 24px 0;
  text-underline-offset: 4px;
}
.error-form div:nth-of-type(9) {
  grid-area: 8/1/9/3;
}/*# sourceMappingURL=style.css.map */