* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
body {
  font-family: 'DM Sans', sans-serif;
  color: white;
  background: linear-gradient(to bottom, #4a8ec8, #7ab0e2);
  min-height: 100vh;
}
 
img {
  max-width: 100%;
  display: block;
}
 
a {
  text-decoration: none;
  color: inherit;
}
 
 
/* navbar */
 
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 10;
}
 
.logo {
  width: 28px;
  height: 28px;
}
 
.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
 
.bar {
  width: 24px;
  height: 2px;
  background: white;
}
 
 
/* hero */
 
.hero {
  text-align: center;
  padding: 0 24px 40px;
  max-width: 600px;
  margin: 0 auto;
}
 
.hero-cloud {
  width: 280px;
  margin: 0 auto 8px;
}
 
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 16px;
}
 
.quote {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-style: italic;
  margin-bottom: 14px;
  color: #ffffffeb;
}
 
.intro-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 23px;
  color: #ffffffe0;
  max-width: 320px;
  margin: 0 auto;
}
 
 
/* overcast section */
 
.overcast-section {
  text-align: center;
  padding: 40px 24px 32px;
  max-width: 600px;
  margin: 0 auto;
}
 
.overcast-heading {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}
 
.body-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #ffffffd9;
  max-width: 340px;
  margin: 0 auto 16px;
}
 
.badges {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #ffffffbf;
  margin-bottom: 24px;
}
 
.product-img-container {
  position: relative;
  max-width: 320px;
  margin: 0 auto 20px;
}
 
.product-photo {
  width: 100%;
  border-radius: 12px;
  min-height: 180px;
  object-fit: cover;
}
 
.view-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: hsl(206, 77%, 45%);
  color: white;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
 
.handwriting {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  margin-top: 8px;
}
 
 
/* top 3 section */
 
.top3 {
  padding: 48px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
 
.top3-heading {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}
 
.product-card {
  margin-bottom: 40px;
}
 
.card-img-wrapper {
  position: relative;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
}
 
.card-img-wrapper img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
}
 
.product-name {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}
 
 
/* tablet */
 
@media (min-width: 768px) {
  .hero {
    padding: 20px 40px 60px;
  }
 
  .hero-cloud {
    width: 360px;
  }
 
  .hero h1 {
    font-size: 96px;
  }
 
  .intro-text {
    max-width: 460px;
    font-size: 16px;
  }
 
  .overcast-section {
    padding: 60px 40px 48px;
  }
 
  .overcast-heading {
    font-size: 56px;
  }
 
  .body-text {
    max-width: 480px;
    font-size: 15px;
  }
 
  .product-img-container {
    max-width: 420px;
  }
 
  .top3 {
    padding: 60px 40px 80px;
  }
 
  .top3-heading {
    font-size: 56px;
    margin-bottom: 40px;
  }
 
  .product-card {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
 
  .product-name {
    font-size: 26px;
  }
}
 
 
/* desktop */
 
@media (min-width: 1024px) {
  .hero {
    max-width: 900px;
    padding: 40px 60px 80px;
  }
 
  .hero h1 {
    font-size: 112px;
  }
 
  .hero-cloud {
    width: 400px;
  }
 
  .intro-text {
    max-width: 520px;
    font-size: 17px;
  }
 
  .quote {
    font-size: 20px;
  }
 
  .overcast-section {
    max-width: 900px;
    padding: 80px 60px 64px;
  }
 
  .overcast-heading {
    font-size: 60px;
  }
 
  .product-img-container {
    max-width: 480px;
  }
 
  .top3 {
    padding: 80px 60px 100px;
  }
 
  .top3-heading {
    font-size: 60px;
    margin-bottom: 48px;
  }
 
  .top3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
 
  .product-card {
    max-width: none;
    margin-bottom: 0;
  }
 
  .product-card .body-text {
    max-width: 100%;
  }
 
  .card-img-wrapper img {
    min-height: 240px;
  }
}
 
 
/* product page */
 
.product-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}
 
.back-link {
  font-size: 13px;
  color: #ffffffbf;
  display: inline-block;
  margin-bottom: 24px;
}
 
.product-image-box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}
 
.product-image-box img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 8px;
  min-height: 200px;
  object-fit: cover;
}
 
.image-counter {
  font-size: 12px;
  color: #ffffffa0;
  margin-top: 12px;
}
 
.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}
 
.product-subtitle {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: #ffffffbf;
  margin-bottom: 16px;
}
 
.product-description {
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
  color: #ffffffd9;
  margin-bottom: 20px;
}
 
.product-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
 
.size-options {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
 
.size-option {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}
 
.size-option.selected {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
}
 
.color-options {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
 
.color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
}
 
.color-dot.selected {
  border-color: white;
}
 
.qty-select {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 24px;
}
 
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}
 
.add-to-cart-btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: hsl(206, 77%, 45%);
  color: white;
  border-radius: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}
 
.product-details {
  margin-bottom: 24px;
}
 
 
/* product page tablet */
 
@media (min-width: 768px) {
  .product-page {
    max-width: 700px;
    padding: 30px 40px 80px;
  }
 
  .product-image-box img {
    max-width: 360px;
  }
 
  .product-title {
    font-size: 40px;
  }
 
  .product-description {
    font-size: 14px;
  }
}
 
 
/* product page desktop */
 
@media (min-width: 1024px) {
  .product-page {
    max-width: 1100px;
    padding: 40px 60px 100px;
  }
 
  .product-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
  }
 
  .product-image-box {
    flex: 1;
    max-width: 500px;
    margin-bottom: 0;
  }
 
  .product-image-box img {
    max-width: 100%;
  }
 
  .product-info {
    flex: 1;
  }
 
  .product-title {
    font-size: 44px;
  }
 
  .product-price {
    font-size: 32px;
  }
}