:root {
  --primary-blue: #0057FF;
  --sky-blue: #C2DAFF;
}

body {
  color: #000000;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  margin: 0 5px;
}

h1, h2, h3 {
  font-family: 'Average', serif;
  font-weight: 400;
}

h1 {
  font-size: 52px;
  line-height: 60px;
}

h2, h3 {
  font-size: 40px;
  line-height: 60px;
}

h4 {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

ul {
  list-style: none;
  padding: 0;
}

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

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

a:hover {
  text-decoration: underline;
}

a,
.button {
  position: relative;
}

.button {
  border: 0;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  padding: 12px 36px;
  position: relative;
  text-transform: uppercase;
}

a:active,
a:focus,
.button:active,
.button:focus {
  outline: none;
}

a:active:before,
a:focus:before,
.button:active:before,
.button:focus:before {
  border: 3px solid var(--primary-blue);
  border-radius: 4px;
  filter: drop-shadow(0px 0px 4px rgba(0, 87, 255, 0.5));
  content: '';
  display: block;
  height: calc(100% + 6px);
  position: absolute;
  top: -6px;
}

a:active:before,
a:focus:before {
  left: -12px;
  width: calc(100% + 18px);
}

.button:active:before,
.button:focus:before {
  left: -6px;
  width: calc(100% + 6px);
}

.primary-button {
  background-color: black;
  color: white;
}

.secondary-button {
  background-color: #FFF1ED;
}

.secondary-button:active:before,
.secondary-button:focus:before {
  border: 3px solid var(--sky-blue);
}

.container {
  margin: 0 auto;
  max-width: 1312px;
  width: 100%;
}

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

.header li {
  display: inline-block;
  padding: 0 26px;
}

.header a {
  display: inline-block;
}

.hero {
  display: flex;
  height: 691px;
  background: url('./assets/hero-bg.jpg') no-repeat right center;
}

.hero-copy {
  background-color: #1D6860;
  color: white;
  flex-direction: column;
  text-align: center;
  width: 440px;
}

.hero-copy h2 {
  width: 340px;
}

.section-header {
  margin: 0;
  text-align: center;
  padding-bottom: 84px;
  padding-top: 108px;
}

.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 24px;
  width: 100%;
}

.product-card {
  position: relative;
  margin-bottom: 1%;
}

.category {
  /* height: 290px; */
  width: calc(97% / 3);
  aspect-ratio: 1.475 / 1;
}

.details,
.inspire-list-card {
  width: calc(97% / 3);
}

.details .product-card-hero {
  margin-bottom: 32px;
}

.inspire-list-card img,
.details .product-card-hero img {
  max-width: 100%;
}

.category > a {
  width: 100%;
  height: 100%;
}

.category img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: 100%;
}

.category .button {
  font-family: 'Average', serif;
  font-size: 24px;
  text-transform: none;
}

.sale-banner {
  background: url('./assets/sale.png') no-repeat right center;
  height: 175px;
}

.style-wrapper {
  border-top: 2px solid #EDEDED;
  margin-top: 74px;
}

.style-wrapper .section-header {
  padding-bottom: 108px;
  padding-top: 37px;
}

.style-section {
  background: url('./assets/couch.jpg') no-repeat top center;
  height: 691px;
  position: relative;
}

.style-section-copy {
  position: absolute;
  right: 64px;
  text-align: right;
  top: 64px;
}

.style-section-copy h3 {
  margin-bottom: 24px;
  margin-top: 0;
}

.product-card-hero {
  position: relative;
}
.product-card-hero h4 {
  position: absolute;
  bottom: 8px;
  right: 8px;
  margin: 0;
  color: white;
}

.inspire-header {
  margin: 60px auto 48px;
  text-align: center;
}

.inspire-list-card {
  display: flex;
  position: relative;
}

.inspire-list-card div {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: black;
  color: white;
  font-size: 24px;
  padding: 15px;
  font-family: 'Average', serif;
  font-weight: 400;
}

footer {
  background-color: #ECF4F4;
  margin-top: 92px;
  padding-top: 54px;
  padding-bottom: 32px;
}

.site-map-wrapper p {
  margin-bottom: 36px;
  max-width: 300px;
}

.site-map,
.site-map-wrapper {
  display: flex;
}

.site-map {
  justify-content: space-between;
  width: calc(100% - 519px);
}

.site-map ul {
  width: 25%;
}

.site-map li {
  margin-bottom: 25px;
}

.site-map-header {
  font-family: 'Average', serif;
  font-size: 28px;
  line-height: 60px;
}

.site-map-login {
  width: 40%;
}

.site-map-legal {
  display: flex;
  margin: 0;
}

.site-map-legal li:not(:last-child):after {
  content: '•';
  display: inline-block;
  padding: 0 8px;
}

.copyright {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
