:root {
  --color-text-primary: #000000;
  --color-text-secondary: #666666;
  --color-text-accent: #006bff;
  --color-border-light: #ededed;
  --color-border-medium: #ebebeb;
  --color-background-light-gray: #fafafa;
  --color-background-white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Pretendard", sans-serif;
  background-color: var(--color-background-white);
  color: var(--color-text-primary);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

ul,
li {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.page-wrapper {
  width: 100%;
  overflow-x: hidden;
  padding-bottom: 50px;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 345px;
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  height: 345px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 22px 22px;
  color: #ffffff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 345px;
}

.hero-bg {
  background-image: url("../images/hero-image.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 262px;
  height: 44px;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}

.intro-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 54px;
}

.intro-title-wrapper {
  padding: 0 22px;
}

.intro-title-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intro-title-box h1 {
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
}

.intro-title-box p {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.intro-description-wrapper {
  padding: 0 22px;
}

.intro-description {
  font-size: 13px;
  line-height: 22px;
  font-weight: 400;
}

.section-title {
  font-size: 19.5px;
  font-weight: 600;
  text-align: center;
}

.styling-tips {
  display: flex;
  flex-direction: column;
  padding: 0 22px;
}

.styling-tips .section-title {
  margin-bottom: 22px;
  align-items: center;
}

.tip-grid {
  display: grid;
}

.tip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tip-card__image-wrapper {
  position: relative;
  width: 100%;
}

.tip-card__image-wrapper img {
  width: 100%;
  display: block;
}

.tip-card__badge {
  position: absolute;
  bottom: -25px;
  left: 15px;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.tip-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  align-self: stretch;
  padding: 47px 15px 40px 15px;
}

.tip-card__content h3 {
  font-size: 15.2px;
  font-weight: 600;
  line-height: 21.67px;
  margin-bottom: 13px;
}

.tip-card__content h4 {
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
}

.tip-card__content p {
  font-size: 13px;
  line-height: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}

.tip-card__point {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--color-text-secondary);
}

.tip-card__point hr {
  border: none;
  border-top: 1px solid var(--color-border-light);
  width: 60.5px;
  margin: 0 0 5px 0;
}

.product-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.product-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  row-gap: 48.75px;
  padding-bottom: 48.75px;
}

.product-item {
  display: flex;
  flex-direction: column;
}

.product-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.33%;
  background-color: var(--color-background-white);
}

.product-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 16.25px 16.25px 0;
  display: flex;
  flex-direction: column;
  gap: 2.2px;
  flex-grow: 1;
}

.product-info .brand {
  font-size: 13px;
  font-weight: 500;
}

.product-info .name {
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 19.5px;
}

.price-container {
  display: flex;
  align-items: center;
  margin-top: 11.89px;
}

.price {
  font-size: 13px;
  font-weight: 500;
  margin-right: 6.5px;
}

.original-price {
  font-size: 10.8px;
  color: #aaaaaa;
  text-decoration: line-through;
  margin-right: 6.5px;
}

.discount-rate {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-accent);
}

.btn-more {
  border: 1px solid var(--color-border-light);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.1px;
  color: #000000;
  min-width: 147.33px;
  height: 37.91px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-background-white);
}

.btn-wrapper {
  display: flex;
  justify-content: center;
}

.color-guide-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.color-guide-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.color-guide-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 22px;
  background-color: var(--color-background-light-gray);
  border-top: 1px solid var(--color-border-medium);
  border-bottom: 1px solid var(--color-border-medium);
}

.color-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.color-guide-title h3 {
  font-size: 15.2px;
  font-weight: 600;
  line-height: 21.67px;
}

.color-guide-title p {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 22px;
}

.color-swatches {
  display: flex;
  align-items: center;
}

.color-swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border-medium);
}

.color-swatch:last-child {
  margin-left: -10px;
}

.color-swatch.gray {
  background-color: #9c9c9c;
}

.color-swatch.white {
  background-color: #ffffff;
}

.color-swatch.navy {
  background-color: #000080;
}

.color-swatch.black {
  background-color: #000000;
}

.color-swatch.beige {
  background-color: #f5f5dc;
}

.color-swatch.skyblue {
  background-color: #add8e6;
}

.color-guide-description {
  font-size: 13px;
  line-height: 22px;
}

.magazine-banner-image {
  width: 100%;
  height: 86px;
  object-fit: cover;
  align-self: stretch;
  flex-shrink: 0;
}

.promo-banner-image {
  width: 100%;
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.faq-question {
  display: flex;
  gap: 10px;
  padding: 13px 22px 14px;
  width: 100%;
}

.faq-question .q-icon {
  font-size: 15.2px;
  font-weight: 600;
}

.faq-question h3 {
  font-size: 15.2px;
  font-weight: 600;
  line-height: 21.67px;
}

.faq-answer {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 13px 22px;
}

.faq-answer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background-color: var(--color-border-light);
}

.faq-answer .a-icon {
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}

.faq-answer p {
  font-size: 13px;
  line-height: 22px;
}

@media (max-width: 767px) {
  .promo-banner-image {
    height: 58px;
    object-fit: cover;
    align-self: stretch;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 22px 100px;
  }

  .main-content {
    gap: 100px;
  }

  .intro-section {
    gap: 22px;
  }

  .intro-title-wrapper,
  .intro-description-wrapper {
    padding: 0;
  }

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

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
