@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Manrope:wght@400;500;600;700;800&family=Nanum+Pen+Script&family=Kalam:wght@400;700&display=swap');

:root {
  --red: #e30613;
  --black: #101010;
  --blue: #1d69b7;
  --green: #07804f;
  --yellow: #f4be26;
  --paper: #fcfbf9;
  --line: #cfc8be;
  --muted: #736d65;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", "Gowun Dodum", sans-serif;
  color: var(--black);
  background: var(--paper)
}

button,
input {
  font: inherit
}

button {
  cursor: pointer
}

a {
  color: inherit;
  text-decoration: none
}

.page {
  min-height: 100vh
}

.brand {
  display: none
}

.app-stage {
  min-height: 100vh;
  background: var(--paper)
}

.app {
  min-height: 100vh;
  background:
    repeating-linear-gradient(transparent, transparent 31px, rgba(0, 0, 0, 0.035) 31px, rgba(0, 0, 0, 0.035) 32px),
    #fdfcfb;
  display: flex;
  flex-direction: column;
  position: relative;
}

.app__header {
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  background: #fff;
  border-bottom: 2px solid #1d1d1d;
  position: sticky;
  top: 0;
  z-index: 20;
  border-radius: 31px 31px 0 0;
}

.app__icon {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center
}

.app__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #151515;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.app__cart {
  position: relative;
}

.app__cart-badge {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 5px;
  height: 5px;
  background-color: var(--red);
  border-radius: 50%;
}

.app__logo {
  text-align: center;
  color: var(--red);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -1.1px
}

.app__logo span {
  margin-left: 4px
}

.app__scroll {
  flex: 1;
  padding-bottom: 88px
}

.hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 18px;
  box-sizing: border-box
}

.hero__copy {
  flex: 1;
  max-width: 55%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.hero__copy h3 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 0;
  font-weight: 400;
  color: var(--black)
}

.hero__copy h3 em {
  font-style: normal;
  color: var(--red)
}

.hero__sub {
  font-size: 11px;
  color: #766f67;
  margin: 10px 0 14px;
  font-weight: 500
}

.hero__link {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  display: inline-flex;
  align-items: center;
  text-decoration: none
}

.hero__dots {
  display: flex;
  gap: 5px;
  margin-top: 20px
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dcd9d2
}

.hero__dot--active {
  background: var(--red)
}

.hero__visual {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 95%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: none
}

.hero__drawing {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  display: flex
}

.hero__drawing .line {
  flex: 1;
  height: 100%
}

.hero__drawing .line--black {
  background: #161616
}

.hero__drawing .line--blue {
  background: #2d70bd
}

.hero__drawing .line--red {
  background: #ec1724
}

.hero__drawing .line--green {
  background: #067747
}

.hero__drawing .line--yellow {
  background: #f6c63c
}

.line-up {
  padding: 32px 20px 40px;
  background: transparent;
}

.line-up__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px
}

.line-up__head h2 {
  font-size: 20px;
  font-weight: 900;
  margin: 0;
  position: relative;
  display: inline-block;
}

.line-up__head h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: -5px;
  bottom: -3px;
  height: 3px;
  background: var(--red);
  border-radius: 50% 50% 50% 50% / 20% 20% 80% 80%;
  transform: rotate(-1.5deg);
  opacity: 0.85;
}

.line-up__head a {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  text-decoration: none
}

.line-up__tabs {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none
}

.line-up__tabs::-webkit-scrollbar {
  display: none
}

.line-up__tabs button {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.line-up__tabs .is-active {
  color: var(--red);
}

.line-up__tabs .is-active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: -2px;
  bottom: -3px;
  height: 3px;
  background: var(--red);
  border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%;
  transform: rotate(1deg);
  opacity: 0.85;
}

.line-up__products {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none
}

.line-up__products::-webkit-scrollbar {
  display: none
}

.product {
  flex: 0 0 140px;
  background: #f4f2ee;
  border: 1px solid #e2ded8;
  border-radius: 12px;
  padding: 14px
}

.product__image {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px
}

.product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.product__info h3 {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #222
}

.product__info p {
  font-size: 11px;
  color: #666;
  margin: 0 0 6px
}

.product__info strong {
  font-size: 12px;
  font-weight: 800;
  color: #111
}

.product__colors {
  display: flex;
  gap: 4px;
  margin-top: 10px
}

.product__colors span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1)
}

.special-banner {
  position: relative;
  margin: 0 20px 40px;
  border-radius: 16px;
  overflow: hidden;
  background: #a8a096;
  height: 160px;
  display: flex;
  align-items: center
}

.special-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 1
}

.special-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.special-banner__content {
  position: relative;
  z-index: 2;
  padding-left: 24px;
  color: #fff
}

.special-banner__content p {
  font-size: 10px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0.05em
}

.special-banner__content h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px
}

.special-banner__btn {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  border-radius: 20px;
  text-decoration: none
}

.special-banner__product {
  position: absolute;
  right: 10px;
  bottom: 0;
  height: 90%;
  z-index: 2
}

.special-banner__product img {
  height: 100%;
  object-fit: contain
}

.special-banner__dots {
  position: absolute;
  bottom: 16px;
  left: 24px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.special-banner__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.special-banner__dot--active {
  background: #ffffff;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 67px;
  background: #f3f1ec;
  border: 1px solid #9e9a93;
  border-radius: 28px 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 30
}

.bottom-nav button {
  border: 0;
  background: transparent;
  color: #72524b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  position: relative;
  z-index: 1;
}

.bottom-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.bottom-nav .is-active {
  color: var(--red);
  background: transparent;
}

.bottom-nav .is-active svg {
  fill: none;
  stroke: var(--red);
}

.bottom-nav .is-active::before,
.bottom-nav .is-active::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: -1;
  background: rgba(255, 90, 90, 0.22);
  mix-blend-mode: multiply;
}

.bottom-nav .is-active::before {
  width: 32px;
  height: 18px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  transform: translateX(-50%) rotate(-6deg);
}

.bottom-nav .is-active::after {
  width: 26px;
  height: 15px;
  top: 13px;
  background: rgba(255, 90, 90, 0.28);
  border-radius: 50% 40% 60% 30% / 50% 30% 70% 40%;
  transform: translateX(-40%) rotate(4deg);
}

/* DESKTOP */
body {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  margin: 0
}

.page {
  width: min(calc(100% - 60px), 1600px);
  height: 100vh;
  max-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 100px;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  transform-origin: none
}

.brand {
  display: block;
  position: relative;
  overflow: visible;
  padding: 80px 48px 0;
  background: var(--paper)
}

.brand__header {
  position: relative;
  z-index: 8;
  margin-bottom: 42px
}

.brand__logo {
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px
}

.brand__logo span {
  margin-left: 4px;
  font-size: 18px
}

.brand__copy {
  position: relative;
  z-index: 6;
  margin-top: 28px;
  max-width: none
}

.brand__eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
  margin: 0 0 14px
}

.brand__copy h1 {
  font-size: 77px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 0;
  white-space: nowrap
}

.brand__copy h1 em {
  font-style: normal;
  color: var(--red)
}

.brand__lead {
  font-size: 20px;
  color: #111;
  line-height: 1.5;
  margin: 28px 0 42px;
  font-weight: 500
}

.brand__search {
  width: 100%;
  max-width: 420px;
  height: 45px;
  border: 1px solid #e2ded8;
  border-radius: 70px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 21px;
  box-shadow: 0 6px 17px rgba(0, 0, 0, 0.03)
}

.brand__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: #333
}

.brand__search input::placeholder {
  color: #999;
}

.brand__search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2
}

.brand__tags {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 21px
}

.brand__tags button {
  border: 1px solid #eaeaea;
  border-radius: 70px;
  background: #fff;
  padding: 8px 17px;
  font-size: 10px;
  color: #111;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.brand__tags button:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.brand__watermark {
  position: absolute;
  left: 33%;
  top: 31%;
  font-size: 171px;
  line-height: .8;
  font-weight: 900;
  letter-spacing: -13px;
  color: rgba(218, 214, 205, .22);
  z-index: 1
}

.brand__click {
  position: absolute;
  right: 8.3%;
  top: 22%;
  font-family: "Comic Sans MS", cursive;
  color: var(--red);
  font-size: 17px;
  transform: rotate(-6deg);
  z-index: 7
}

.brand__click:before {
  content: "〃";
  position: absolute;
  left: -14px;
  top: -13px;
  font-size: 14px
}

.ink-index {
  position: absolute;
  left: 38px;
  bottom: 58px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 7
}

.ink-index li {
  display: grid;
  grid-template-columns: 22px 70px 52px;
  align-items: center;
  font-size: 9px
}

.ink-index span {
  opacity: .65
}

.ink-index b {
  font-weight: 800
}

.ink-index i {
  height: 11px;
  position: relative
}

.ink-index i:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 2px;
  background: currentColor;
  clip-path: polygon(0 40%, 12% 6%, 25% 80%, 38% 25%, 51% 78%, 64% 10%, 76% 86%, 88% 26%, 100% 50%, 100% 70%, 88% 48%, 76% 98%, 64% 34%, 51% 96%, 38% 48%, 25% 98%, 12% 32%, 0 72%)
}

.ink-black {
  color: #111
}

.ink-blue {
  color: #1d69b7
}

.ink-red {
  color: #df222b
}

.ink-green {
  color: #0a8351
}

.ink-yellow {
  color: #e7ad12
}

.brand__visual {
  position: absolute;
  right: -28px;
  bottom: 224px;
  width: 63%;
  height: 61%;
  z-index: 5;
  pointer-events: none
}

.brand__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom
}

.app-stage {
  height: 100%;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(20px, 4vh, 40px) 0;
  background: var(--paper)
}

.app {
  height: clamp(600px, 85vh, 760px);
  width: 480px;
  max-width: 480px;
  min-height: 0;
  border-radius: 32px;
  overflow: visible;
  background:
    repeating-linear-gradient(transparent, transparent 31px, rgba(0, 0, 0, 0.035) 31px, rgba(0, 0, 0, 0.035) 32px),
    #fdfcfb;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}

.app::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background-image: url('data:image/svg+xml;utf8,<svg width="40" height="8" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="4" r="3" fill="%23e0deda" /></svg>');
  background-repeat: repeat-x;
  background-position: left center;
  z-index: 99;
  pointer-events: none;
}

.app::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg width="40" height="16" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="0"><stop offset="0%25" stop-color="%23d6d6d3"/><stop offset="30%25" stop-color="%23f7f7f5"/><stop offset="70%25" stop-color="%23e8e8e6"/><stop offset="100%25" stop-color="%23c9c9c6"/></linearGradient></defs><rect x="18" y="0" width="4" height="16" rx="2" fill="url(%23g)"/></svg>');
  background-repeat: repeat-x;
  background-position: left center;
  z-index: 100;
  pointer-events: none;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.08));
}

.app__header {
  height: 51px;
  flex-basis: 51px;
  border-bottom: 1px solid #eee;
  position: relative;
  border-radius: 31px 31px 0 0;
}

.app__scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: 0;
  scrollbar-width: thin
}

.hero {
  height: 256px;
  background: transparent;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 25px;
  right: 35px;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L60 40 L90 45 L65 65 L75 95 L50 75 L25 95 L35 65 L10 45 L40 40 Z" fill="none" stroke="%23e30613" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/></svg>') no-repeat center;
  background-size: contain;
  transform: rotate(15deg);
  opacity: 0.75;
  pointer-events: none;
}

.hero__visual {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 95%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: none
}

.hero__copy {
  position: static;
  top: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  max-width: 55%;
  z-index: 2;
}

.hero__copy h3 {
  font-size: 22px;
}

.hero__sub {
  font-size: 9px;
  margin: 8px 0 11px;
}

.hero__link {
  font-size: 9px;
}

.hero__dots {
  margin-top: 16px;
  gap: 4px;
}

.hero__dot {
  width: 5px;
  height: 5px;
}

/* old mobile layout desktop overrides removed */
.bottom-nav {
  position: relative;
  height: 51px;
  border: 0;
  border-top: 1px solid #eee;
  border-radius: 0 0 31px 31px;
}


.brand__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 560px;
  max-width: none;
  margin-top: 42px;
}

.brand-card {
  background: #ffffff;
  border: 1px solid #f0eee9;
  border-radius: 17px;
  padding: 20px 20px 18px 20px;
  /* padding-top: 20px, 좌/우 20px, bottom: 18px */
  box-shadow: 0 7px 21px rgba(0, 0, 0, 0.04);
  height: 176px;
  /* 가로폭(약 176px)과 유사하게 맞추어 안정적인 정사각형 비율 달성 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
}

.brand-card__title {
  display: block;
  width: 100%;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--red);
  margin: 0;
}

.brand-card__body {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--black);
  margin: 0;
}

.brand-card__content {
  margin-top: 16px;
}

.brand-card__content-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-top: 16px;
  /* 본문 시작 간격 */
}

.brand-card__footer {
  position: absolute;
  bottom: 18px;
  /* 다른 카드들과 동일한 하단 여백 */
  left: 20px;
  /* 동일한 좌측 여백 */
  width: calc(100% - 40px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.brand-card__btn {
  width: 36px;
  /* 버튼 크기 기존 디자인 수준으로 복원 */
  height: 36px;
  /* 버튼 크기 기존 디자인 수준으로 복원 */
  border-radius: 50%;
  background: var(--red);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.brand-card__btn:hover {
  transform: scale(1.1);
}

.brand-card__btn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-card__illust {
  position: absolute;
  right: 16px;
  /* 약 14~18px */
  bottom: 15px;
  /* 약 12~18px (153 STORY 기준) */
  height: 75px;
  /* 충분히 크게 유지하되 위쪽 텍스트와 겹치지 않게 높이 제한 */
  width: auto;
}

/* COLOR PICK 드로잉 이미지 전용 */
.brand-card__illust--colorpick {
  right: 18px;
  /* 본문과 겹치지 않게 우측 배치 */
  bottom: 15px;
  height: 85px;
  /* 세로형 그래픽이므로 약간 더 길게 부여 */
}

/* GIFT SHOP 이미지 (선물상자) 전용 조정 클래스가 없다면 
   추가 클래스 없이 HTML 구조에 따라 적용됩니다. */
.brand-card__illust--gift {
  bottom: 13px;
  /* 약 10~16px */
  right: 16px;
  /* 약 14~18px */
}

.brand-card__illust img {
  width: auto;
  height: 100%;
  max-width: 90px;
  /* 가로로 너무 넓어지는 것 방지 */
  object-fit: contain;
  display: block;
}

/* COLOR PICK 스와치 구조 제거됨 */

.brand-card__gift-icon {
  position: absolute;
  right: 16px;
  /* 약 14~18px */
  bottom: 13px;
  /* 약 10~16px */
  height: 72px;
  /* 충분히 크게 유지하되 위쪽 텍스트와 겹치지 않게 높이 제한 */
  width: auto;
}

.brand-card__gift-icon img {
  width: auto;
  height: 100%;
  max-width: 90px;
  object-fit: contain;
  display: block;
}

@media (max-width:375px) {
  .hero {
    height: 510px
  }

  .hero__copy h3 {
    font-size: 29px
  }

  .colors__row i {
    width: 54px;
    height: 54px
  }

  .product__image {
    height: 180px
  }
}

@media (max-width: 1100px) {
  body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
  }

  .page {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    max-height: none;
    overflow: hidden;
  }

  .brand {
    display: none;
  }

  .app {
    width: 100vw;
    max-width: none;
    height: 100vh;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .app__header {
    border-radius: 0;
  }

  .bottom-nav {
    border-radius: 0;
  }

  .app-stage {
    padding: 0;
    width: 100vw;
    height: 100vh;
  }
}

/* --- PRODUCT PAGE --- */
.prod-hero {
  position: relative;
  background: #fbf8f2;
  padding: 40px 20px 30px;
  overflow: hidden;
  border-bottom: 2px solid #111;
}

.prod-hero__bg {
  position: absolute;
  top: -10px;
  right: -25px;
  font-size: 180px;
  font-weight: 900;
  color: #ebe7de;
  line-height: 1;
  z-index: 0;
  letter-spacing: -0.05em;
  opacity: 0.8;
}

.prod-hero__content {
  position: relative;
  z-index: 1;
}

.prod-hero__eyebrow {
  color: var(--red);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}

.prod-hero__title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.prod-hero__btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 20px;
  position: relative;
  box-shadow: 2px 2px 0 var(--red);
  letter-spacing: 0.05em;
}

.prod-tabs {
  display: flex;
  border-bottom: 2px solid #e0ddd7;
  padding: 0 20px;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--paper);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.prod-tabs::-webkit-scrollbar {
  display: none;
}

.prod-tabs button {
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 800;
  color: #777;
  position: relative;
  white-space: nowrap;
}

.prod-tabs button.active {
  color: var(--red);
}

.prod-tabs button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
}

.prod-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 2px solid #111;
  background: var(--paper);
}

.prod-filter__col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prod-filter span {
  font-size: 10px;
  font-weight: 800;
  color: #777;
  letter-spacing: 0.05em;
}

.prod-filter__swatches {
  display: flex;
  gap: 6px;
}

.prod-filter__swatches span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #111;
}

.prod-filter__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prod-filter__sort select {
  border: 2px solid #111;
  background: #f4f0e6;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 20px 4px 8px;
  outline: none;
  border-radius: 0;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6" fill="none" stroke="%23111" stroke-width="2"/></svg>');
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px;
}

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
  background: var(--paper);
}

.p-card {
  background: var(--paper);
  border: 1px solid #e8e5e1;
  border-radius: 16px;
  padding: 12px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.p-card__checkbox {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #fff;
  z-index: 2;
  display: grid;
  place-items: center;
}

.p-card__checkbox.checked {
  background: var(--red);
  border-color: var(--red);
}

.p-card__checkbox.checked::after {
  content: '';
  width: 7px;
  height: 4px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.p-card__heart {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 0;
}

.p-card__heart svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #555;
  stroke-width: 2.2;
}

.p-card__img {
  width: 100%;
  aspect-ratio: 1.25;
  border: none;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.p-card__img img {
  width: 85%;
  height: auto;
  object-fit: contain;
  transform: rotate(-45deg);
}

.p-card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.p-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #222;
}

.p-card__desc {
  font-size: 11px;
  color: #777;
  font-weight: 500;
  margin: 0 0 14px;
  line-height: 1.4;
}

.p-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.p-card__price {
  font-size: 14px;
  font-weight: 900;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #c8c8c8;
  border-radius: 14px;
  height: 26px;
  background: #fff;
}

.qty-selector button {
  width: 24px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}

.qty-selector span {
  font-size: 12px;
  font-weight: 600;
  color: #222;
  border-left: 1px solid #c8c8c8;
  border-right: 1px solid #c8c8c8;
  padding: 0 8px;
  height: 100%;
  display: flex;
  align-items: center;
}

.prod-more {
  padding: 0 20px calc(env(safe-area-inset-bottom, 0px) + 100px);
  background: var(--paper);
}

.prod-more .btn-outline {
  width: 100%;
  padding: 16px;
  background: var(--paper);
  border: 3px solid #111;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 4px 4px 0 #111;
  cursor: pointer;
}

.prod-more .btn-outline svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #111;
  stroke-width: 2;
}

@media (max-width:375px) {
  .prod-hero__title {
    font-size: 24px;
  }

  .p-card h3 {
    font-size: 14px;
  }

  .p-card__price {
    font-size: 13px;
  }
}

/* --- DETAIL PAGE --- */
.dt-page {
  background: #fbf8f2;
}

.dt-hero {
  background: #d9dbda;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dt-hero img {
  width: 120%;
  transform: rotate(-15deg);
  position: relative;
  z-index: 1;
}

.dt-hero__sleek {
  position: absolute;
  top: 40px;
  left: 30px;
  color: var(--red);
  font-size: 22px;
  z-index: 2;
  font-style: italic;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dt-hero__sleek svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  margin-bottom: 5px;
  transform: rotate(15deg);
}

.dt-info {
  background: #fbf8f2;
  border-radius: 30px 30px 0 0;
  padding: 30px 20px;
  position: relative;
  margin-top: -30px;
  z-index: 10;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.dt-info__eyebrow {
  font-size: 10px;
  font-weight: 800;
  color: #777;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}

.dt-info__title {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 16px;
  color: #111;
  letter-spacing: -0.03em;
}

.dt-info__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.dt-info__price {
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.02em;
}

.dt-info__original-price {
  font-size: 14px;
  font-weight: 600;
  color: #999;
  text-decoration: line-through;
}

.dt-divider {
  height: 2px;
  background: #111;
  margin: 0 0 24px;
}

.dt-section-title {
  font-size: 11px;
  font-weight: 800;
  color: #111;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

.dt-colors {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.dt-color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
  cursor: pointer;
  position: relative;
  display: grid;
  place-items: center;
}

.dt-color-btn.selected {
  box-shadow: 0 0 0 3px #eedcdc;
}

.dt-color-btn.selected::after {
  content: '';
  width: 10px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.dt-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.dt-qty-control {
  display: flex;
  align-items: center;
  border: 2px solid #111;
  border-radius: 12px;
  height: 30px;
  background: #fff;
}

.dt-qty-control button {
  width: 30px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.dt-qty-control span {
  font-size: 12px;
  font-weight: 800;
  border-left: 2px solid #111;
  border-right: 2px solid #111;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
}

.dt-feature {
  background: #b30000;
  background: linear-gradient(135deg, #cc0000 0%, #800000 100%);
  padding: 40px 20px;
  color: #fff;
}

.dt-feature__title {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.dt-feature__img-box {
  width: 100%;
  aspect-ratio: 2/1.1;
  background: #333;
  border-radius: 20px;
  border: 2px solid #111;
  box-shadow: 4px 4px 0 #111;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dt-feature__img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-feature__img-text {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--red);
  font-size: 24px;
  font-family: Arial, sans-serif;
  opacity: 0.8;
  font-weight: 100;
  letter-spacing: 0.1em;
}

.dt-feature__desc {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: #ffcccc;
}

.dt-scroll-hint {
  text-align: center;
  padding: 40px 20px 80px;
  font-size: 12px;
  color: #777;
  background: #fbf8f2;
}

/* FIXED BOTTOM BAR */
.dt-bottom-bar {
  position: sticky;
  bottom: 0;
  background: #f4f1ea;
  padding: 15px 20px;
  border-top: 2px solid #e0ddd7;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 50;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

.dt-btn-heart {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dt-btn-heart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #111;
  stroke-width: 2;
}

.dt-btn-cart {
  flex: 1;
  height: 48px;
  border-radius: 25px;
  border: 2px solid #111;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 0.05em;
}

.dt-btn-buy {
  flex: 1;
  height: 48px;
  border-radius: 25px;
  border: 2px solid #111;
  background: #b30000;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 0.05em;
  box-shadow: 3px 3px 0 #111;
}

/* --- COLOR PAGE --- */
.col-page {
  background: #fff;
  padding-bottom: 20px;
}

.col-hero {
  position: relative;
  background: #fbf8f2;
  overflow: hidden;
  border-bottom: 2px solid #111;
}

.col-hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 20px 30px;
  max-width: 65%;
}

.col-hero__bg-img {
  position: absolute;
  top: 10px;
  right: -30px;
  width: 200px;
  height: auto;
  z-index: 1;
}

.col-hero__label {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
}

.col-hero__title {
  font-size: 26px;
  font-weight: 900;
  color: #111;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.col-hero__desc {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 20px;
  font-weight: 500;
}

.col-hero__btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 2px 2px 0 var(--red);
}

.col-tabs {
  display: flex;
  border-bottom: 2px solid #e0ddd7;
  padding: 0 20px;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--paper);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.col-tabs::-webkit-scrollbar {
  display: none;
}

.col-tabs button {
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 800;
  color: #777;
  position: relative;
  white-space: nowrap;
}

.col-tabs button.active {
  color: var(--red);
}

.col-tabs button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
}

.col-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 2px solid #111;
  background: var(--paper);
}

.col-filter__col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.col-filter span {
  font-size: 10px;
  font-weight: 800;
  color: #777;
  letter-spacing: 0.05em;
}

.col-filter__swatches {
  display: flex;
  gap: 6px;
}

.col-filter__swatches span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #111;
}

.col-filter__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-filter__sort select {
  border: 2px solid #111;
  background: #f4f0e6;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 20px 4px 8px;
  outline: none;
  border-radius: 0;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m6 9 6 6 6-6" fill="none" stroke="%23111" stroke-width="2"/></svg>');
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px;
}

.col-section {
  padding: 20px;
  background: #fff;
}

.col-blue-box {
  border: 1.5px solid #111;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.col-blue-header {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
}

.col-blue-header h2 {
  font-size: 28px;
  font-weight: 900;
  color: #1565c0;
  margin: 0 0 10px;
}

.col-blue-header p {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.col-blue-header img {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 60%;
  transform: rotate(-15deg);
  z-index: 1;
}

.col-blue-inner-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 16px;
  border-bottom: 1.5px solid #e0ddd7;
}

.col-blue-inner-tabs button {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 800;
  color: #777;
  padding: 4px 0;
  position: relative;
}

.col-blue-inner-tabs button.active {
  color: var(--red);
}

.col-blue-inner-tabs button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
}

.col-blue-grid {
  display: flex;
  padding: 20px;
  gap: 8px;
  overflow-x: hidden;
}

.col-mini-card {
  flex: 0 0 calc(33.333% - 5px);
  border: 1.5px solid #111;
  border-radius: 12px;
  padding: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.col-mini-card__img {
  background: #f0f4f8;
  border: 1px solid #111;
  border-radius: 8px;
  aspect-ratio: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-mini-card__img img {
  width: 80%;
  transform: rotate(-45deg);
}

.col-mini-card h4 {
  font-size: 10px;
  font-weight: 900;
  margin: 0 0 2px;
  color: #111;
}

.col-mini-card p {
  font-size: 8px;
  color: #777;
  margin: 0 0 6px;
}

.col-mini-card__price {
  font-size: 11px;
  font-weight: 900;
  margin: 0 0 8px;
}

.col-mini-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.col-mini-qty {
  display: flex;
  align-items: center;
  border: 1px solid #111;
  border-radius: 6px;
  height: 18px;
}

.col-mini-qty button {
  width: 14px;
  background: none;
  border: none;
  font-size: 10px;
  font-weight: bold;
}

.col-mini-qty span {
  font-size: 9px;
  font-weight: 800;
  border-left: 1px solid #111;
  border-right: 1px solid #111;
  padding: 0 4px;
  height: 100%;
  display: flex;
  align-items: center;
}

.col-mini-heart {
  background: none;
  border: none;
  padding: 0;
}

.col-mini-heart svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #777;
  stroke-width: 2;
}

.col-blue-btn {
  padding: 0 20px 20px;
}

.col-blue-btn button {
  width: 100%;
  background: #1565c0;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 12px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.col-mood {
  padding: 40px 20px 20px;
  background: #fbf8f2;
}

.col-mood__eyebrow {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  margin: 0 0 4px;
}

.col-mood__title {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin: 0 0 20px;
}

.col-mood-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.col-mood-card {
  height: 140px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.col-mood-card.active {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.col-mood-card.active::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 14px;
  height: 14px;
  background: var(--red) url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') center/8px no-repeat;
  border-radius: 50%;
  z-index: 10;
}

.col-mood-card.c-black { background: #f8f8f8; color: #111; }
.col-mood-card.c-blue { background: #eff4fa; color: #1565c0; }
.col-mood-card.c-red { background: #fdf2f2; color: #d32f2f; }
.col-mood-card.c-green { background: #edf7f0; color: #2e7d32; }
.col-mood-card.c-yellow { background: #fefbf0; color: #f57f17; }

.mood-text-area {
  padding: 16px 4px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.col-mood-card h4 {
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 2px;
  word-break: break-all;
  letter-spacing: -0.02em;
}

.col-mood-card .mood-sub {
  font-size: 9px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
  opacity: 0.75;
}

.col-mood-card .mood-desc {
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
  color: #444;
}

.mood-img-area {
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.mood-img-area img {
  width: 110%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  transform-origin: right bottom;
  transform: scale(0.88);
}

/* --- NOTEBOOK BANNER --- */
/* --- NOTEBOOK BANNER --- */
.note-banner {
  margin: 20px 16px 40px;
  position: relative;
  background-color: #fdfbf7;
  background-image: 
    linear-gradient(90deg, transparent 38px, rgba(220, 50, 50, 0.4) 38px, rgba(220, 50, 50, 0.4) 39px, transparent 39px),
    repeating-linear-gradient(180deg, transparent, transparent 27px, rgba(0, 0, 0, 0.04) 27px, rgba(0, 0, 0, 0.04) 28px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 2px 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  width: calc(100% - 32px);
  min-height: 280px; /* Ensure sufficient height so content is not cut off */
  font-family: inherit;
  container-type: inline-size;
}

.note-holes {
  position: absolute;
  left: 12px;
  top: 15px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 8px;
  z-index: 10;
}
.note-holes span {
  width: 8px;
  height: 8px;
  background: #f0ede6;
  border-radius: 50%;
  box-shadow: inset 1px 2px 3px rgba(0,0,0,0.15);
}

.note-content {
  display: flex;
  width: 100%;
  min-height: 280px;
  padding: 24px 16px 24px 48px; /* Clear the holes and red line */
  box-sizing: border-box;
}

/* LEFT CONTENT AREA */
.note-left-flow {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 5;
}

.note-eyebrow {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(10px, 3.5cqi, 12px);
  font-weight: 700;
  color: var(--pick-color, #1565c0);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 24px;
}
.note-underline-scribble {
  position: absolute; bottom: -4px; left: -2px; width: 105%; height: 2px;
  background: var(--pick-color, #1565c0); border-radius: 2px; transform: rotate(-1deg);
}

.note-subtitle {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(13px, 4.5cqi, 16px);
  font-weight: 600;
  color: #111;
  margin: 0 0 4px 0;
}

.note-title-wrap {
  position: relative;
  align-self: flex-start;
  margin-bottom: 32px;
}
.note-title {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: clamp(48px, 16cqi, 70px); /* Massive BLUE text */
  font-weight: 700;
  color: var(--pick-color, #1565c0);
  line-height: 1;
  letter-spacing: -1px;
  margin: 0;
}
.note-title-scribble { position: absolute; bottom: -6px; left: -2%; width: 104%; height: 3px; background: var(--pick-color, #1565c0); border-radius: 3px; transform: rotate(-1.5deg); }
.note-title-scribble2 { position: absolute; bottom: -12px; left: 0%; width: 96%; height: 2px; background: var(--pick-color, #1565c0); opacity: 0.8; transform: rotate(-0.5deg); }

.note-click {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(11px, 3.8cqi, 14px);
  font-weight: 600;
  color: var(--pick-color, #1565c0);
  margin-bottom: 6px;
}

.note-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(12px, 4cqi, 16px);
  font-weight: 500;
  color: #111;
  position: relative;
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 24px 0;
}
.note-desc::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px;
  background: var(--pick-color, #1565c0); opacity: 0.6; transform: rotate(-0.5deg);
}
.note-desc span { color: var(--pick-color, #1565c0); font-weight: 700; }

.note-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.note-tags span {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(10px, 3.2cqi, 12px);
  font-weight: 600;
  color: var(--pick-color, #1565c0);
  background: #fff;
  border: 1px solid var(--pick-color, #1565c0);
  border-radius: 20px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* RIGHT VISUAL AREA */
.note-right-visual {
  width: 45%;
  position: relative;
}

.note-spec {
  position: absolute;
  top: 10%;
  left: 10%;
  font-family: 'Kalam', cursive;
  font-size: clamp(11px, 3.8cqi, 15px);
  color: var(--pick-color, #1565c0);
  text-align: center;
  transform: rotate(-6deg);
  z-index: 4;
  line-height: 1.2;
}
.note-spec-underline { margin-top: 3px; width: 100%; height: 1.5px; background: var(--pick-color, #1565c0); transform: rotate(2deg); }

.note-star-scribble {
  position: absolute;
  top: 0%;
  right: 15%;
  font-family: 'Kalam', cursive;
  font-size: clamp(18px, 6cqi, 26px);
  color: var(--pick-color, #1565c0);
  transform: rotate(15deg);
}

.note-memo {
  position: absolute;
  top: 40%;
  right: 0%;
  width: 50%;
  background: #fdfdfd;
  border: 1px solid var(--pick-color, #1565c0);
  padding: 12px 6px;
  font-family: 'Kalam', cursive;
  font-size: clamp(10px, 3.5cqi, 14px);
  font-weight: 700;
  color: var(--pick-color, #1565c0);
  text-align: center;
  transform: rotate(6deg);
  box-shadow: 1px 2px 5px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; gap: 8px;
  z-index: 1;
}
.note-memo span { border-bottom: 1px solid var(--pick-soft-color, #cce0ff); padding-bottom: 2px; }
.note-memo-tape { position: absolute; top: -7px; right: 50%; transform: translateX(50%) rotate(-5deg); width: 22px; height: 10px; background: rgba(180,190,220,0.4); }

.note-pen-img {
  position: absolute;
  top: 10%;
  left: -40%;
  width: 170%;
  height: 80%;
  object-fit: contain;
  transform: rotate(-5deg);
  z-index: 3;
}

.note-bottom-scribble {
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 70%;
  height: auto;
  object-fit: contain;
  transform: rotate(-5deg);
  z-index: 2;
}

/* --- CART PAGE --- */
.crt-page {
  background: #fbf8f2;
}

.app__scroll.crt-page {
  overflow-y: auto;
  min-height: 0;
}

.crt-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: #fff;
  border-bottom: 2px solid #111;
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}

.crt-header__back {
  position: absolute;
  left: 10px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.crt-header__back svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #111;
  stroke-width: 2;
}

.crt-header__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.05em;
  margin: 0;
}

.crt-intro {
  padding: 30px 20px 20px;
}

.crt-intro p {
  font-size: 18px;
  font-weight: 900;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.4;
}

.crt-intro p span {
  color: var(--red);
}

.crt-intro .crt-intro__sub {
  font-size: 14px;
  font-weight: 700;
  color: #777;
  margin: 0;
}

.crt-list {
  padding: 0 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crt-item {
  background: #fbf8f2;
  border: 2px solid #111;
  border-radius: 16px;
  padding: 16px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: rotate(-1deg);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.crt-item:nth-child(even) {
  transform: rotate(1deg);
}

.crt-item__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #111;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 10px;
}

.crt-item__check svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
}

.crt-item__img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px solid #111;
  overflow: hidden;
  background: #fbf8f2;
}

.crt-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crt-item__info {
  flex: 1;
}

.crt-item__title {
  font-size: 13px;
  font-weight: 900;
  color: #111;
  margin: 0 0 4px;
}

.crt-item__color {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #777;
  margin: 0 0 8px;
}

.crt-item__color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #111;
  display: inline-block;
}

.crt-item__price {
  font-size: 16px;
  font-weight: 900;
  color: #111;
  margin: 0 0 12px;
}

.crt-item__qty {
  display: inline-flex;
  align-items: center;
  border: 2px solid #111;
  border-radius: 12px;
  height: 26px;
  background: #fff;
}

.crt-item__qty button {
  width: 26px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.crt-item__qty span {
  font-size: 11px;
  font-weight: 800;
  border-left: 2px solid #111;
  border-right: 2px solid #111;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
}

.crt-item__delete {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.crt-item__delete svg {
  width: 16px;
  height: 16px;
  stroke: #777;
  stroke-width: 2;
}

.crt-summary {
  background: var(--red);
  padding: 24px 24px 30px;
  border-radius: 30px 30px 0 0;
  border: 2px solid #111;
  border-bottom: none;
  color: #fff;
  z-index: 50;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  margin-top: auto;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
}

.crt-summary__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.crt-summary__selected {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.crt-summary__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.crt-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #ffdada;
}

.crt-summary__row--price {
  font-weight: 700;
  color: #fff;
}

.crt-summary__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 16px 0 24px;
}

.crt-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.crt-summary__total-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #a00;
}

.crt-summary__total-val {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.crt-btn-order {
  width: 100%;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  border-radius: 30px;
  padding: 16px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: -0.02em;
  box-shadow: 3px 3px 0 #111;
}

/* --- CHECKOUT PAGE --- */
.chk-page {
  background: #fbf8f2;
}

.app__scroll.chk-page {
  overflow-y: auto;
  min-height: 0;
}

.chk-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: #fbf8f2;
  border-bottom: 2px solid #111;
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}

.chk-header__back {
  position: absolute;
  left: 10px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.chk-header__back svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #111;
  stroke-width: 2;
}

.chk-header__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.05em;
  margin: 0;
}

.chk-intro {
  padding: 40px 24px;
}

.chk-intro h2 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin: 0;
  color: #111;
}

.chk-intro h2 span {
  position: relative;
  display: inline-block;
}

.chk-intro h2 span::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--red);
  border-radius: 2px;
}

.chk-section {
  padding: 0 24px 40px;
}

.chk-section__title {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.chk-section__title svg {
  width: 20px;
  height: 20px;
  fill: var(--red);
}

.chk-product {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 24px;
}

.chk-product__img {
  width: 72px;
  height: 72px;
  border: 2px solid #111;
  background: #fff;
  flex-shrink: 0;
}

.chk-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chk-product__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chk-product__name {
  font-size: 12px;
  font-weight: 900;
  color: #111;
  margin: 0 0 4px;
}

.chk-product__opt {
  font-size: 12px;
  color: #777;
  margin: 0 0 8px;
  font-weight: 500;
}

.chk-product__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chk-product__qty {
  font-size: 11px;
  font-weight: 800;
  color: #111;
}

.chk-product__price {
  font-size: 15px;
  font-weight: 900;
  color: #111;
}

.chk-form-group {
  margin-bottom: 24px;
}

.chk-form-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #777;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.chk-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.chk-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  outline: none;
}

.chk-input::placeholder {
  color: #aaa;
}

.chk-input:focus {
  border-bottom-color: #111;
  color: #111;
}

.chk-btn-search {
  background: #e4e2dd;
  border: 2px solid #111;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 900;
  color: #111;
  white-space: nowrap;
}

.chk-payment-btns {
  display: flex;
  gap: 12px;
}

.chk-payment-btns button {
  flex: 1;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 900;
  border: 2px solid #111;
  background: #fff;
  color: #111;
}

.chk-payment-btns button.active {
  background: var(--red);
  color: #fff;
}

.chk-summary {
  background: #eceae3;
  border: 2px solid #111;
  padding: 24px;
  margin-top: 10px;
}

.chk-summary__title {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 20px;
}

.chk-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.chk-summary__divider {
  border-top: 2px dashed #555;
  margin: 20px 0;
}

.chk-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 900;
}

.chk-summary__total-val {
  font-size: 16px;
  color: var(--red);
}

.chk-bottom-bar {
  background: #fbf8f2;
  padding: 20px 24px 30px;
  border-top: 2px solid #111;
  position: sticky;
  bottom: 0;
  margin-top: auto;
  flex-shrink: 0;
  z-index: 50;
}

.chk-btn-pay {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: 2px solid #700;
  border-radius: 30px;
  padding: 18px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

/* --- MY PAGE --- */
.myp-page {
  background: #fbf8f2;
}

.myp-hero {
  position: relative;
  padding: 40px 16px 0;
  /* 강제로 하단 여백 제거 */
  height: auto !important;
  /* 고정 높이 방지 */
  min-height: 0 !important;
  overflow: hidden;
}

.myp-hero__bg {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(230, 20, 30, 0.6) 0%, rgba(240, 200, 40, 0.6) 40%, rgba(30, 100, 200, 0.6) 80%, rgba(251, 248, 242, 0) 100%);
  filter: blur(40px);
  z-index: 0;
}

.myp-hero__content {
  position: relative;
  z-index: 1;
}

.myp-hero__title {
  font-size: 36px;
  font-weight: 900;
  color: #111;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.myp-hero__subtitle {
  font-size: 16px;
  font-weight: 900;
  color: #111;
  margin: 0;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.myp-hero__subtitle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.myp-sparkle {
  position: absolute;
  left: 10px;
  top: 90px;
  width: 40px;
  height: 40px;
  z-index: 1;
}

.myp-sparkle svg {
  width: 100%;
  height: 100%;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}

.myp-profile-card {
  margin: 20px 16px 0;
  /* 하단 여백 제거 */
  background: #fff;
  border: 2px solid #111;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.myp-profile__top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.myp-profile__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid #eaeaea;
  overflow: hidden;
  flex-shrink: 0;
  background: #fbf8f2;
}

.myp-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.myp-profile__info {
  flex: 1;
}

.myp-profile__name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.myp-profile__name {
  font-size: 24px;
  font-weight: 900;
  color: #111;
  margin: 0;
}

.myp-profile__badge {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.myp-profile__badge svg {
  width: 100%;
  height: 100%;
}

.myp-profile__intro {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  margin: 0 0 10px;
}

.myp-profile__account {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #777;
}

.myp-profile__account svg {
  flex-shrink: 0;
}

.myp-profile__divider {
  color: #ddd;
  margin: 0 6px;
}

.myp-profile__email {
  color: #111;
  font-weight: 700;
}

.myp-profile__stats {
  display: flex;
  gap: 12px;
}

.myp-profile__stat {
  flex: 1;
  background: #fdfdf9;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.myp-profile__stat svg {
  flex-shrink: 0;
}

.myp-profile__stat-text {
  display: flex;
  flex-direction: column;
}

.myp-profile__stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}

.myp-profile__stat-val {
  font-size: 16px;
  font-weight: 900;
  color: #111;
}

.myp-color {
  margin: 20px 16px 30px;
  /* 상단 여백으로만 간격 조절 */
  background: #fff;
  border: 2px solid #111;
  border-radius: 40px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 4px 4px 0 #111;
  position: relative;
  z-index: 2;
}

.myp-color__badge {
  width: 64px;
  height: 64px;
  background: #b30000;
  border-radius: 50%;
  border: 2px solid #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.myp-color__info {
  flex: 1;
}

.myp-color__label {
  font-size: 12px;
  font-weight: 800;
  color: #111;
  margin: 0 0 2px;
}

.myp-color__title {
  font-size: 14px;
  font-weight: 800;
  color: #777;
  margin: 0 0 4px;
}

.myp-color__name {
  font-size: 15px;
  font-weight: 900;
  color: var(--red);
  margin: 0;
}

.myp-quick {
  display: flex;
  gap: 12px;
  margin: 0 16px 40px;
}

.myp-quick__btn {
  flex: 1;
  background: #fff;
  border: 2px solid #111;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 3px 3px 0 #111;
  cursor: pointer;
}

.myp-quick__btn:nth-child(1) {
  box-shadow: 3px 3px 0 #1d69b7;
}

.myp-quick__btn:nth-child(2) {
  box-shadow: 3px 3px 0 var(--red);
}

.myp-quick__btn:nth-child(3) {
  box-shadow: 3px 3px 0 #111;
}

.myp-quick__btn svg {
  width: 28px;
  height: 28px;
}

.myp-quick__btn:nth-child(1) svg {
  fill: #1d69b7;
}

.myp-quick__btn:nth-child(2) svg {
  fill: var(--red);
}

.myp-quick__btn:nth-child(3) svg {
  fill: #07804f;
}

.myp-quick__btn span {
  font-size: 13px;
  font-weight: 900;
  color: #111;
}

.myp-section {
  margin: 0 16px 40px;
}

.myp-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.myp-section__title {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.myp-section__title::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: var(--red);
}

.myp-section__link {
  font-size: 11px;
  font-weight: 800;
  color: #777;
  letter-spacing: 0.05em;
}

.myp-order {
  background: #e1edf8;
  border: 2px solid #111;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.myp-order__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.myp-order__status {
  background: #b30000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid #111;
}

.myp-order__date {
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.myp-order__content {
  display: flex;
  gap: 12px;
  z-index: 1;
}

.myp-order__img {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 1.5px solid #111;
  flex-shrink: 0;
}

.myp-order__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.myp-order__info {
  flex: 1;
}

.myp-order__name {
  font-size: 12px;
  font-weight: 900;
  color: #111;
  margin: 0 0 4px;
}

.myp-order__opt {
  font-size: 12px;
  color: #555;
  margin: 0 0 8px;
  line-height: 1.3;
}

.myp-order__price {
  font-size: 13px;
  font-weight: 900;
  color: #111;
  margin: 0 0 8px;
}

.myp-order__track {
  font-size: 11px;
  font-weight: 800;
  color: #1d69b7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.myp-wish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.myp-wish {
  background: #fff;
  border: 2px solid #111;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 4px 4px 0 #111;
  display: flex;
  flex-direction: column;
}

.myp-wish--red {
  box-shadow: 4px 4px 0 var(--red);
}

.myp-wish__img-wrap {
  position: relative;
  border-bottom: 2px solid #111;
  background: #fbf8f2;
  aspect-ratio: 1;
}

.myp-wish__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.myp-wish__heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.myp-wish__heart svg {
  width: 14px;
  height: 14px;
  fill: var(--red);
}

.myp-wish__info {
  padding: 12px;
  background: #fbf8f2;
}

.myp-wish--red .myp-wish__info {
  background: #fae6e6;
}

.myp-wish__name {
  font-size: 11px;
  font-weight: 900;
  color: #111;
  margin: 0 0 2px;
}

.myp-wish__opt {
  font-size: 11px;
  font-weight: 500;
  color: #777;
  margin: 0 0 8px;
}

.myp-wish__price {
  font-size: 13px;
  font-weight: 900;
  color: #111;
  margin: 0;
}

/* --- SIDE DRAWER --- */
.drawer-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 31px 31px 31px 31px;
  pointer-events: none;
  z-index: 100;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 400px;
  background: #fdfaf4;
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
}

.drawer-panel.is-active {
  transform: translateX(0);
}

.drawer-panel__header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-panel__close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.drawer-panel__close svg {
  width: 28px;
  height: 28px;
  color: #111;
}

.drawer-panel__auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 12px;
  background-color: transparent;
  border: 1px solid #cfc8bd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-panel__auth span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1;
}

.drawer-auth-icon {
  width: 20px;
  height: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0;
}

.drawer-panel__auth:hover {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: #C1B9AC;
  color: var(--red);
}

.drawer-panel__scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 40px;
}

.drawer-panel__scroll::-webkit-scrollbar {
  width: 4px;
}

.drawer-panel__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-panel__scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.drawer-panel__hero {
  padding: 10px 24px 30px;
  position: relative;
}

.drawer-panel__hero-bg {
  position: absolute;
  top: -40px;
  right: -20px;
  font-size: 160px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  pointer-events: none;
}

.drawer-panel__hero-lines {
  display: flex;
  gap: 4px;
  position: absolute;
  top: -30px;
  right: -10px;
}

.drawer-panel__hero-lines span {
  display: inline-block;
  width: 50px;
  height: 6px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.drawer-panel__hero-lines span:nth-child(2) {
  transform: translateX(10px);
}

.drawer-panel__hero-lines span:nth-child(3) {
  transform: translateX(20px);
}

.drawer-panel__hero-lines span:nth-child(4) {
  transform: translateX(30px);
}

.drawer-panel__hero h3 {
  font-size: 32px;
  font-weight: 900;
  color: #111;
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
}

.drawer-panel__hero h3 span {
  color: var(--red);
}

.drawer-panel__hero-color {
  font-size: 12px;
  font-weight: 900;
  color: var(--red);
  margin: 0 0 4px;
  letter-spacing: 0.05em;
}

.drawer-panel__hero-since {
  font-size: 10px;
  font-weight: 800;
  color: #999;
  margin: 0;
  letter-spacing: 0.05em;
}

.drawer-menu {
  list-style: none;
  padding: 0 24px;
  margin: 0 0 40px;
}

.drawer-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.drawer-menu a {
  display: flex;
  align-items: center;
  padding: 16px 0;
  text-decoration: none;
  color: #111;
}

.drawer-menu__icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  display: grid;
  place-items: center;
  color: #111;
}

.drawer-menu__text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.drawer-menu__text strong {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.drawer-menu__text span {
  font-size: 11px;
  font-weight: 500;
  color: #777;
}

.drawer-menu__dots i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 2px;
}

.drawer-menu__arrow {
  color: #ccc;
}

.drawer-menu__arrow svg {
  width: 20px;
  height: 20px;
}

.drawer-brand {
  margin: 0 24px;
  background: #900;
  border-radius: 20px;
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.drawer-brand h4 {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}

.drawer-brand p {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 24px;
  line-height: 1.4;
}

.drawer-brand__eng {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
}

.drawer-brand__bg {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* --- DETAIL POPUP --- */
.dt-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.dt-popup-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.dt-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 80%;
  max-width: 320px;
  background: #fdfaf4;
  border-radius: 20px;
  padding: 30px 20px 24px;
  text-align: center;
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #111;
}

.dt-popup.is-active {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.dt-popup__check {
  font-family: 'Righteous', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.dt-popup__eyebrow {
  font-size: 9px;
  font-weight: 800;
  color: #777;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.dt-popup__title {
  font-size: 14px;
  font-weight: 900;
  color: #111;
  margin-bottom: 16px;
}

.dt-popup__item {
  font-size: 10px;
  font-weight: 500;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dt-popup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dt-popup__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dt-popup__btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid #111;
  border-radius: 24px;
  padding: 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.dt-popup__btn-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #111;
  border-radius: 24px;
  padding: 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

/* --- CHECKOUT POPUP --- */
.chk-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.chk-popup-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.chk-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 85%;
  max-width: 320px;
  background: #fdfaf4;
  border-radius: 24px;
  padding: 36px 24px 30px;
  text-align: center;
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #111;
}

.chk-popup.is-active {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.chk-popup__eyebrow {
  font-size: 10px;
  font-weight: 800;
  color: #777;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.chk-popup__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin-bottom: 24px;
}

.chk-popup__title span {
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

.chk-popup__check {
  width: 24px;
  height: 24px;
  margin-right: 2px;
}

.chk-popup__desc {
  font-size: 11px;
  font-weight: 500;
  color: #111;
  margin-bottom: 24px;
}

.chk-popup__img {
  width: 140px;
  height: auto;
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
}

.chk-popup__img img {
  width: 100%;
  height: auto;
  transform: rotate(-10deg);
}

.chk-popup__divider {
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
  margin-bottom: 16px;
}

.chk-popup__info {
  margin-bottom: 24px;
}

.chk-popup__info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
}

.chk-popup__info-row span {
  font-weight: 700;
  color: #777;
}

.chk-popup__info-row strong {
  font-weight: 900;
  color: #111;
}

.chk-popup__info-total span {
  color: #111;
}

.chk-popup__info-total strong {
  color: var(--red);
  font-size: 13px;
}

.chk-popup__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chk-popup__btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid #111;
  border-radius: 30px;
  padding: 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.chk-popup__btn-secondary {
  background: #fdfaf4;
  color: #111;
  border: 1px solid #111;
  border-radius: 30px;
  padding: 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

/* --- LOGIN PAGE --- */
.login-page {
  background: #fdfaf4;
  display: flex;
  flex-direction: column;
}

.login-intro {
  padding: 0 20px 32px;
  text-align: center;
}

.login-intro p {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin: 0 0 12px;
}

.login-intro .login-intro__sub {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin: 0;
}

.login-actions {
  padding: 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 1px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  position: relative;
  transition: opacity 0.2s;
  cursor: pointer;
}

.login-btn:hover {
  opacity: 0.85;
}

.login-btn__icon {
  position: absolute;
  left: 20px;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.login-btn--google {
  background: #fff;
  color: #333;
  border-color: #ddd;
}

.login-btn--kakao {
  background: #FEE500;
  color: #000000;
  border-color: #111;
}

.login-btn--apple {
  background: #000;
  color: #fff;
  border-color: #000;
}

.login-btn--temp {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* --- LOGIN TOAST --- */
.login-toast {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(34, 34, 34, 0.95);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 9999;
  pointer-events: none;
  width: 90%;
  max-width: 320px;
}

.login-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* --- LOGIN AUTH VIEW --- */
.login-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

.auth-info {
  margin: 0 20px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-info__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.auth-info__row:last-child {
  margin-bottom: 0;
}

.auth-info__row span:first-child {
  color: #888;
  font-weight: 500;
}

.auth-info__row span:last-child {
  color: #111;
  font-weight: 700;
}

.login-btn--logout {
  background: #fff;
  color: #111;
  border-color: #ddd;
}

/* --- MY PAGE UNAUTH --- */
.myp-unauth {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fdfaf4;
}

.myp-unauth__content {
  text-align: center;
  padding: 0 20px;
}

.myp-unauth__title {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin-bottom: 12px;
}

.myp-unauth__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 32px;
}

.myp-unauth__btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 26px;
  padding: 0 40px;
  height: 52px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.myp-unauth__btn:hover {
  opacity: 0.85;
}

.myp-user-info {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.myp-hero__username {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.myp-hero__userdetail {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* --- MY PAGE LOGOUT --- */
.myp-logout-container {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.myp-logout-btn {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 10px 32px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.myp-logout-btn:hover {
  background: #fbf8f2;
  border-color: #ccc;
}

/* --- NEW LOGIN UI --- */
.login-custom-header {
  border-bottom: 1px solid #111;
}

.login-custom-title {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.login-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px 24px;
}

.login-intro__img {
  width: 50px;
  margin-bottom: 20px;
}

.login-intro p:first-of-type {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  line-height: 1.4;
  margin-bottom: 10px;
}

.login-intro .login-intro__sub {
  font-size: 13px;
  margin: 0;
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  padding: 0 20px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.login-divider span {
  padding: 0 16px;
  color: #666;
  font-size: 12px;
}

.login-extra-menus {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  padding: 0 20px;
}

.login-menu-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #111;
  border-radius: 1px;
  padding: 0;
  height: 48px;
  gap: 4px;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.login-menu-btn:hover {
  background: #fbf8f2;
}

.login-footer-text {
  text-align: center;
  font-size: 11px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 20px;
}

.login-highlight {
  color: var(--red);
  font-weight: 700;
}

/* ==========================================================================
   STORY PAGE
   ========================================================================== */

.story-hero {
  padding: 60px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.story-hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 150px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  z-index: -1;
  user-select: none;
}

.story-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}

.story-hero__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
}

.story-hero__sub {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: #555;
}

.story-intro {
  padding: 0 20px 40px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.story-timeline {
  padding: 0 20px 60px;
  position: relative;
}

.story-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--red);
  opacity: 0.3;
}

.story-timeline__item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 32px;
}

.story-timeline__item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--red);
}

.story-timeline__year {
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}

.story-timeline__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.story-number {
  padding: 40px 20px;
  background: #fdfbf7;
  border-top: 1px solid #f0eee9;
  border-bottom: 1px solid #f0eee9;
  text-align: center;
}

.story-number h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.story-number__img {
  max-width: 150px;
  margin: 0 auto 24px;
}

.story-number__img img {
  width: 100%;
  height: auto;
  display: block;
}

.story-number p {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

.story-message {
  padding: 60px 20px;
  text-align: center;
}

.story-message h3 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.story-underline {
  position: relative;
  display: inline-block;
  color: var(--red);
}

.story-underline::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  height: 6px;
  background-color: rgba(227, 6, 19, 0.2);
  z-index: -1;
  transform: rotate(-1.5deg);
}

.story-today {
  padding: 0 20px 60px;
  text-align: center;
}

.story-today p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 30px;
}

.story-today__img {
  max-width: 200px;
  margin: 0 auto;
}

.story-today__img img {
  width: 100%;
  height: auto;
  display: block;
}

.story-cta {
  padding: 0 20px 60px;
  text-align: center;
}

.story-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.story-cta__btn:hover {
  background-color: #c0000a;
}

/* ==========================================================================
   BRAND SHOWCASE ANIMATIONS
   ========================================================================== */

/* 153 STORY - 건물 일러스트 */
.anim-building-wrapper {
  transition: transform 0.35s ease-in-out;
}
.anim-building {
  animation: floatBuilding 3s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes floatBuilding {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.brand-card:hover .anim-building-wrapper {
  transform: translateY(-4px) scale(1.04);
}
.brand-card:hover .anim-building {
  animation: none;
}

/* GIFT SHOP - 선물상자 */
.anim-giftbox-wrapper {
  transition: transform 0.35s ease-in-out;
}
.anim-giftbox {
  animation: bounceGift 2.8s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes bounceGift {
  0%, 60%, 100% { transform: translateY(0) rotate(0); }
  15% { transform: translateY(-5px) rotate(-1deg); }
  30% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-5px) rotate(1deg); }
}
.brand-card:hover .anim-giftbox-wrapper {
  transform: translateY(-6px) scale(1.06) rotate(1.5deg);
}
.brand-card:hover .anim-giftbox {
  animation: none;
}

/* COLOR PICK - 컬러칩 순차 애니메이션 */
.anim-colorpick-wrapper {
  /* No additional positioning needed if container handles it, 
     but ensure it stays relative/absolute appropriately */
}
.anim-chip {
  animation: chipFlow 3.5s ease-in-out infinite;
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}
/* Ensure the first chip dictates container size if container doesn't have fixed width/height */
.anim-chip-1 {
  position: relative !important;
  clip-path: inset(0 0 80% 0);
  animation-delay: 0s;
}
.anim-chip-2 {
  position: absolute !important;
  top: 0; left: 0; width: 100%; height: 100%;
  clip-path: inset(20% 0 60% 0);
  animation-delay: 0.15s;
}
.anim-chip-3 {
  position: absolute !important;
  top: 0; left: 0; width: 100%; height: 100%;
  clip-path: inset(40% 0 40% 0);
  animation-delay: 0.3s;
}
.anim-chip-4 {
  position: absolute !important;
  top: 0; left: 0; width: 100%; height: 100%;
  clip-path: inset(60% 0 20% 0);
  animation-delay: 0.45s;
}
.anim-chip-5 {
  position: absolute !important;
  top: 0; left: 0; width: 100%; height: 100%;
  clip-path: inset(80% 0 0 0);
  animation-delay: 0.6s;
}

@keyframes chipFlow {
  0%, 70%, 100% { transform: translateX(0) scale(1); }
  15% { transform: translateX(4px) scale(1.03); }
}

.brand-card:hover .anim-chip {
  animation: chipHoverWave 0.6s ease-in-out forwards;
}
.brand-card:hover .anim-chip-1 { animation-delay: 0s; }
.brand-card:hover .anim-chip-2 { animation-delay: 0.08s; }
.brand-card:hover .anim-chip-3 { animation-delay: 0.16s; }
.brand-card:hover .anim-chip-4 { animation-delay: 0.24s; }
.brand-card:hover .anim-chip-5 { animation-delay: 0.32s; }

@keyframes chipHoverWave {
  0% { transform: translateX(0) scale(1); }
  40% { transform: translateX(4px) scale(1.03); }
  100% { transform: translateX(0) scale(1); }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .anim-building,
  .anim-chip,
  .anim-giftbox,
  .brand-card:hover .anim-building-wrapper,
  .brand-card:hover .anim-giftbox-wrapper,
  .brand-card:hover .anim-chip {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   TEXT REVEAL ANIMATION (index.html Desktop Only)
   ========================================================================== */
#brand-text-reveal .rev-char {
  opacity: 0;
  animation: charReveal 0.25s ease forwards;
}

@keyframes charReveal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
