* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fafafa;
  color: #111;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Noto Sans KR",
    Arial,
    sans-serif;
}


/* =========================
   HEADER
========================= */

header {
  width: min(1200px, 90%);
  height: 76px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #e5e5e5;
}

header a {
  color: #111;
  text-decoration: none;

  font-size: 14px;
  font-weight: 800;

  letter-spacing: .13em;
}

header span {
  color: #999;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: .16em;
}


/* =========================
   MAIN
========================= */

main {
  width: min(1200px, 90%);
  margin: auto;
}


/* =========================
   HERO
========================= */

.hero {
  padding: 120px 0 90px;
}

.hero p {
  margin: 0 0 20px;

  color: #999;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: .25em;
}

.hero h1 {
  margin: 0;

  font-size: clamp(55px, 9vw, 120px);
  font-weight: 900;

  line-height: .85;

  letter-spacing: -.085em;
}


/* =========================
   ALBUM GRID
========================= */

.album-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 45px 28px;

  padding-bottom: 100px;
}


.album {
  display: block;

  color: #111;
  text-decoration: none;

  transition: opacity .25s;
}

.album:hover {
  opacity: .92;
}


/* COVER */

.album-cover {
  position: relative;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #e8e8e8;

  margin-bottom: 17px;
}

.album-cover img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform .6s cubic-bezier(.2,.7,.2,1);
}

.album:hover .album-cover img {
  transform: scale(1.045);
}


/* PLACEHOLDER */

.placeholder {
  position: absolute;

  inset: 0;

  display: grid;
  place-items: center;

  color: #777;

  font-size: 11px;
  font-weight: 800;

  line-height: 1.6;

  text-align: center;

  letter-spacing: .12em;
}


/* ALBUM TEXT */

.album-info {
  display: flex;

  align-items: baseline;
  justify-content: space-between;

  gap: 20px;
}

.album-title {
  font-size: 14px;
  font-weight: 700;

  letter-spacing: -.02em;
}

.album-price {
  color: #555;

  font-size: 13px;

  white-space: nowrap;
}

.album-type {
  margin-top: 7px;

  color: #aaa;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: .16em;
}


/* =========================
   BACK
========================= */

.back {
  display: inline-flex;

  margin: 38px 0 30px;

  color: #777;

  text-decoration: none;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: .12em;

  transition: color .2s;
}

.back:hover {
  color: #111;
}


/* =========================
   DETAIL
========================= */

.detail {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(350px, .95fr);

  gap: clamp(40px, 7vw, 90px);

  padding-bottom: 100px;
}


/* COVER */

.detail-cover {
  position: relative;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #e8e8e8;
}

.detail-cover img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


/* INFO */

.detail-info {
  padding-top: 8px;
}

.badge {
  display: inline-block;

  padding: 6px 10px;

  background: #111;
  color: #fff;

  border-radius: 100px;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .14em;
}


.detail-info h1 {
  margin: 18px 0 14px;

  font-size: clamp(30px, 4vw, 46px);

  font-weight: 800;

  letter-spacing: -.065em;

  line-height: 1.05;
}


.description {
  margin: 0;

  color: #777;

  font-size: 13px;

  line-height: 1.9;

  white-space: pre-line;
}


.price {
  margin-top: 32px;

  font-size: 25px;
  font-weight: 800;

  letter-spacing: -.04em;
}


.quantity {
  display: flex;

  align-items: center;

  gap: 13px;

  margin: 28px 0;
}

.quantity button {
  width: 38px;
  height: 38px;

  padding: 0;

  background: #fff;

  border: 1px solid #ddd;

  border-radius: 50%;

  font-size: 18px;

  cursor: pointer;

  transition:
    background .2s,
    color .2s,
    border .2s;
}

.quantity button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.quantity span {
  min-width: 25px;

  text-align: center;

  font-size: 14px;
  font-weight: 700;
}


/* =========================
   ORDER
========================= */

.order {
  margin-top: 35px;

  padding-top: 30px;

  border-top: 1px solid #ddd;
}

.order h2 {
  margin: 0 0 25px;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: .18em;
}


/* FIELD */

.field {
  margin: 17px 0;
}

.field label {
  display: block;

  margin-bottom: 8px;

  color: #555;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: .04em;
}

.field input,
.field textarea {
  width: 100%;

  padding: 13px 14px;

  background: #fff;

  border: 1px solid #ddd;

  border-radius: 8px;

  color: #111;

  font-family: inherit;
  font-size: 13px;

  outline: none;

  transition:
    border .2s,
    box-shadow .2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #bbb;
}

.field input:focus,
.field textarea:focus {
  border-color: #111;

  box-shadow:
    0 0 0 3px rgba(0,0,0,.04);
}

.field textarea {
  min-height: 90px;

  resize: vertical;
}


/* =========================
   SUMMARY
========================= */

.summary {
  margin-top: 28px;

  padding: 18px 0;

  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.row {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 7px 0;

  color: #888;

  font-size: 12px;
}

.row strong {
  color: #333;

  font-weight: 600;
}

.row.total {
  margin-top: 9px;

  padding-top: 16px;

  border-top: 1px solid #eee;

  color: #111;

  font-size: 15px;
}

.row.total strong {
  color: #111;

  font-size: 17px;
  font-weight: 800;
}


/* =========================
   BANK
========================= */

.bank {
  margin: 20px 0;

  padding: 19px;

  background: #f0f0f0;

  border-radius: 10px;
}

.bank small {
  display: block;

  margin-bottom: 8px;

  color: #999;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .13em;
}

.account {
  font-size: 16px;
  font-weight: 800;

  letter-spacing: -.02em;
}

.owner {
  display: block;

  margin-top: 5px;

  color: #888;

  font-size: 11px;
}

.copy {
  margin-top: 12px;

  padding: 8px 11px;

  background: #fff;

  border: 1px solid #ddd;

  border-radius: 7px;

  color: #333;

  font-size: 11px;

  cursor: pointer;

  transition: .2s;
}

.copy:hover {
  background: #111;
  border-color: #111;

  color: #fff;
}


/* =========================
   CHECKBOX
========================= */

.agree {
  display: flex;

  align-items: center;

  gap: 7px;

  margin-top: 18px;

  color: #777;

  font-size: 10px;

  cursor: pointer;
}

.agree input {
  width: 14px;
  height: 14px;

  accent-color: #111;
}


/* =========================
   SUBMIT
========================= */

.submit {
  width: 100%;

  margin-top: 15px;

  padding: 16px;

  background: #111;
  color: #fff;

  border: 0;

  border-radius: 8px;

  font-family: inherit;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: .08em;

  cursor: pointer;

  transition:
    transform .2s,
    opacity .2s;
}

.submit:hover {
  opacity: .86;

  transform: translateY(-1px);
}

.submit:active {
  transform: translateY(0);
}


/* =========================
   NOTICE
========================= */

.notice {
  margin-bottom: 40px;

  padding: 22px;

  background: #f0f0f0;

  border-radius: 10px;
}

.notice h3 {
  margin: 0 0 10px;

  font-size: 10px;

  letter-spacing: .15em;
}

.notice p {
  margin: 0;

  color: #888;

  font-size: 10px;

  line-height: 1.9;
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 70px 0;

  color: #aaa;

  text-align: center;

  font-size: 9px;

  letter-spacing: .12em;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 750px) {

  header {
    height: 64px;
  }

  header span {
    display: none;
  }

  main {
    width: 90%;
  }

  .hero {
    padding: 75px 0 55px;
  }

  .hero h1 {
    font-size: 58px;
  }

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

    gap: 30px 15px;

    padding-bottom: 60px;
  }

  .album-info {
    display: block;
  }

  .album-price {
    display: block;

    margin-top: 5px;
  }

  .detail {
    grid-template-columns: 1fr;

    gap: 30px;

    padding-bottom: 60px;
  }

  .detail-info {
    padding-top: 0;
  }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 430px) {

  .album-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 52px;
  }

  .detail-info h1 {
    font-size: 32px;
  }

}
.detail-cover .placeholder {
  display: none !important;
}