:root {
  --colour-1: #666666;
  --colour-2: #01A79D;
  --colour-3: black;
  --colour-4: white;
  --background-colour: #EEF6F5;
  --cta-colour: #01A79D;

  --colour-5:  #757575;
  --colour-6:  #F5F5F5;
  --colour-7:  #303030;
  --colour-8:  #F6EEF0;
  --colour-9:  #F76188;
  --colour-10: #3F3F47;

  --footer-bg: #C0EAE6;

  --pill-1: #FFEFC3;
  --pill-2: #ECFCCA;
  --pill-3: #CEFAFE;
  --pill-4: #F3E8FF;
  --pill-5: #FFE2E2;

  /* Dashed chip borders — a deeper tint of each pill fill above. */
  --pill-1-edge: #E8B931;
  --pill-2-edge: #8CC63F;
  --pill-3-edge: #4BC5D8;
  --pill-4-edge: #B07DE0;
  --pill-5-edge: #F08A8A;
}

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

html, body {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--colour-10);
  background-color: white;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--colour-10);
  text-decoration: none;
}
a:hover, a:active { color: var(--colour-2); }

::selection {
  background: var(--colour-2);
  color: white;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; }

h1 {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
}
h2 {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--colour-1);
}
h3 {
  font-weight: 600;
  font-size: 1.125rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

.fold-intro {
  width: min(90vw, 1000px);
  margin: 0 auto 2.5rem;
  text-align: center;
}
.fold-intro h2 { margin: 0 0 0.75rem; }
.fold-intro p {
  margin: 0;
  color: var(--colour-1);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: min(90vw, 1200px);
  margin: auto;
}

.product-cards > .card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--colour-6);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.product-cards > .card > .sale-badge {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  outline: 2px dashed var(--colour-9);
  outline-offset: 3px;
  background: var(--colour-9);
  color: white;
  font-size: .6875rem;
  font-weight: 600;
}

.product-cards > .card > .oos-badge {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--colour-5);
  padding: .25rem .625rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: .6875rem;
  font-weight: 600;
}

.product-cards > .card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-cards > .card > h3 {
  margin: 0 0 .5rem;
  color: var(--colour-7);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-cards > .card > .price {
  margin: auto 0 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--colour-9);
}

.product-cards > .card > .price > .price-was {
  font-weight: 500;
  font-size: .9375rem;
  color: var(--colour-5);
  text-decoration: line-through;
}

.product-cards > .card > .view-product {
  border: 1px dashed var(--colour-2);
  border-radius: 10px;
  padding: .625rem 1rem;
  color: var(--colour-2);
  font-size: .875rem;
  font-weight: 600;
}
.product-cards > .card > .view-product:hover,
.product-cards > .card > .view-product:focus {
  background: var(--colour-2);
  border-style: solid;
  color: white;
}

@media screen and (min-width: 425px) {}
@media screen and (min-width: 600px) {}
@media screen and (min-width: 768px) {
  .product-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
@media screen and (min-width: 769px) {
  h1 { font-size: 3rem; }
}
@media screen and (min-width: 1024px) {
  .product-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
@media screen and (min-width: 1200px) {}
@media screen and (min-width: 1440px) {}
