:root {
  --white: #fffefa;
  --ink: #362f25;
  --muted: #756e63;
  --yellow: #f8edaf;
  --blue: #dfe9f1;
  --line: #dedbd1;
  --page: 1360px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  line-height: 1.6;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #426680;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  display: block;
}
button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.skip {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 20;
  padding: 14px;
  background: white;
}
.skip:focus {
  top: 12px;
}
.announcement {
  text-align: center;
  background: var(--yellow);
  padding: 9px 16px;
  font-size: 12px;
}
.store-header {
  height: 100px;
  max-width: var(--page);
  margin: auto;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo {
  font-family: Georgia, serif;
  letter-spacing: -5px;
  font-size: 58px;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.logo span {
  font-family: 'Apple SD Gothic Neo', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 400;
}
.store-header nav {
  display: flex;
  gap: 35px;
  font-size: 14px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 8px;
  display: flex;
}
.bag-button {
  border: 0;
  background: transparent;
  font-size: 13px;
  padding: 10px 0;
}
.bag-button span {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  margin-left: 5px;
  font-size: 11px;
}
.hero {
  max-width: var(--page);
  margin: auto;
  position: relative;
  min-height: 610px;
  height: min(670px, 49vw);
  background: #eee9dd;
  isolation: isolate;
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 25%;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f7f3e4c9, transparent 70%);
  z-index: -1;
}
.hero-copy {
  padding: 90px 7%;
  max-width: 650px;
}
.hero-copy > p:first-child {
  font-size: 14px;
  margin: 0 0 24px;
}
.hero h1 {
  font-size: clamp(48px, 5.2vw, 74px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.2;
  margin: 0 0 28px;
}
.hero-description {
  font-size: 15px;
  line-height: 1.9;
}
.primary-link {
  display: inline-flex;
  gap: 38px;
  align-items: center;
  margin-top: 22px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  font-size: 14px;
}
.hero-caption {
  position: absolute;
  bottom: 22px;
  left: 7%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.brand-note {
  max-width: var(--page);
  margin: auto;
  text-align: center;
  padding: 50px 20px 60px;
}
.brand-note p {
  font-size: 21px;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.brand-note span {
  font-size: 12px;
  color: var(--muted);
}
.mobile-break {
  display: none;
}
.products-section {
  max-width: var(--page);
  margin: auto;
  padding: 30px 50px 95px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 15px;
}
.section-title p,
.edit-copy > p:first-child {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 9px;
}
.section-title h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0;
}
.section-title > span {
  font-size: 13px;
  color: var(--muted);
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  padding-bottom: 13px;
}
.filters {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.filters button {
  background: none;
  border: 0;
  padding: 9px 0;
  color: var(--muted);
  font-size: 14px;
}
.filters button[aria-pressed='true'] {
  color: var(--ink);
  box-shadow: 0 2px var(--ink);
}
.sort-label {
  font-size: 0;
  flex-shrink: 0;
}
.sort-label select {
  font-size: 12px;
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--ink);
}
.result-count {
  font-size: 11px;
  color: var(--muted);
  margin: 14px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  min-width: 0;
  position: relative;
}
.product-card > a,
.product-card > button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
}
.product-photo {
  aspect-ratio: 1;
  background-image: url('assets/skincare-products.png');
  background-size: 200% 200%;
  background-repeat: no-repeat;
  background-color: #ece9e1;
}
.photo-0 {
  background-position: 0 0;
}
.photo-1 {
  background-position: 100% 0;
}
.photo-2 {
  background-position: 0 100%;
}
.photo-3 {
  background-position: 100% 100%;
}
.product-card .product-photo {
  transition: filter 0.2s;
}
.product-card > button:hover .product-photo {
  filter: brightness(0.97);
}
.product-card h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 13px 0 3px;
}
.product-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 9px;
}
.product-price {
  font-size: 14px;
  margin: 0;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.texture-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid #0002;
}
.product-meta > span:last-child {
  font-size: 10px;
  color: var(--muted);
}
.search-row {
  background: #f1efe8;
  padding: 20px;
  margin-top: 20px;
}
.search-row > label {
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}
.search-row > div {
  display: flex;
  gap: 10px;
}
.search-row input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
}
.search-row button {
  background: transparent;
  border: 0;
  text-decoration: underline;
  font-size: 12px;
}
.empty-products {
  text-align: center;
  padding: 40px 15px;
}
.empty-products h3 {
  font-weight: 500;
}
.empty-products p {
  color: var(--muted);
  font-size: 14px;
}
.edit-section {
  max-width: 1260px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--blue);
}
.edit-image {
  position: relative;
  background: #e9e5dc;
}
.edit-image .product-photo {
  width: 100%;
}
.edit-image > span {
  position: absolute;
  bottom: 25px;
  left: 30px;
  font-size: 12px;
}
.edit-copy {
  padding: 60px 15%;
  align-self: center;
}
.edit-copy h2 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.35;
  margin: 17px 0 24px;
}
.edit-copy > p {
  font-size: 14px;
  line-height: 1.9;
}
.text-button {
  padding: 12px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  margin-top: 18px;
}
.text-button span {
  margin-left: 16px;
}
.story-section {
  background: var(--yellow);
  padding: 70px max(7%, calc((100% - 1160px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.story-word {
  font:
    700 clamp(90px, 16vw, 230px) / 1 Georgia,
    serif;
  letter-spacing: -0.09em;
  margin: 0;
  transform: rotate(-8deg);
}
.story-section h2 {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.04em;
  margin: 18px 0;
}
.story-section div > p {
  font-size: 14px;
  line-height: 1.9;
}
.care-section {
  max-width: 1000px;
  margin: 65px auto;
  padding: 0 40px;
}
.care-section details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
}
.care-section summary {
  padding: 21px 0;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  list-style: none;
}
.care-section summary::-webkit-details-marker {
  display: none;
}
.care-section details[open] summary span {
  transform: rotate(45deg);
}
.care-section details p {
  font-size: 14px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 0 25px;
}
footer {
  border-top: 1px solid var(--line);
  max-width: var(--page);
  margin: auto;
  padding: 45px 50px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
footer .logo {
  font-size: 48px;
}
footer p {
  font-size: 12px;
}
.footer-note {
  color: var(--muted);
  text-align: right;
}
.footer-note a {
  display: inline-block;
  color: var(--ink);
  font-size: 12px;
  border-bottom: 1px solid var(--ink);
  margin-top: 10px;
}
dialog {
  border: 0;
  padding: 25px;
  background: var(--white);
  color: var(--ink);
  width: min(900px, 94vw);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #302b256b;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
}
.dialog-top > span {
  font-size: 12px;
  color: var(--muted);
}
.dialog-top h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}
.close-button {
  border: 0;
  background: none;
  font-size: 29px;
  line-height: 1;
  width: 42px;
  height: 42px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.detail-copy > p:first-child {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.detail-copy h2 {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 500;
  margin: 12px 0;
}
.detail-price {
  font-size: 20px;
}
#detail-description {
  font-size: 14px;
  color: var(--muted);
}
#add-form > label {
  display: block;
  font-size: 12px;
  margin: 15px 0 6px;
}
#add-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  color: var(--ink);
}
.volume-guide {
  margin-top: 12px;
  font-size: 12px;
}
.volume-guide p {
  color: var(--muted);
}
.quantity-control {
  display: flex;
  width: max-content;
  border: 1px solid var(--line);
}
.quantity-control button {
  width: 40px;
  border: 0;
  background: transparent;
}
.quantity-control input {
  width: 55px;
  text-align: center;
  border: 0;
  background: transparent;
  padding: 8px 0;
  -moz-appearance: textfield;
}
.quantity-control input::-webkit-inner-spin-button {
  appearance: none;
}
.primary-button {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  padding: 13px 20px;
}
.secondary-button {
  background: transparent;
  border: 1px solid var(--ink);
  padding: 10px 20px;
}
.add-button {
  width: 100%;
  margin-top: 25px;
}
.demo-note {
  font-size: 11px;
  color: var(--muted);
}
#cart-dialog {
  width: min(520px, 94vw);
}
.cart-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.cart-row h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 6px;
}
.cart-row p {
  font-size: 12px;
  margin: 4px 0;
  color: var(--muted);
}
.cart-row-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 5px;
}
.cart-row-actions button {
  border: 1px solid var(--line);
  background: transparent;
  min-width: 32px;
  min-height: 32px;
}
.cart-row-actions span {
  padding: 0 8px;
  font-size: 12px;
}
.cart-row-actions .remove-item {
  border: 0;
  text-decoration: underline;
  font-size: 12px;
}
.cart-summary {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.cart-summary > div {
  display: flex;
  justify-content: space-between;
}
.cart-summary p {
  font-size: 12px;
  color: var(--muted);
}
.cart-summary .primary-button {
  width: 100%;
}
.cart-empty {
  padding: 50px 0;
  text-align: center;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: white;
  padding: 14px 24px;
  border-radius: 4px;
  z-index: 30;
  font-size: 13px;
  width: max-content;
  max-width: 90vw;
  text-align: center;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript-note {
  text-align: center;
  padding: 20px;
}
@media (min-width: 1500px) {
  .hero {
    height: 650px;
  }
  .hero-copy {
    padding-top: 115px;
  }
}
@media (max-width: 900px) {
  .store-header {
    padding: 0 28px;
    gap: 20px;
  }
  .store-header nav {
    gap: 18px;
    font-size: 12px;
  }
  .header-actions {
    gap: 10px;
  }
  .hero {
    min-height: 540px;
  }
  .hero-copy {
    padding: 85px 5%;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-photo {
    object-position: 60% center;
  }
  .products-section {
    padding-inline: 28px;
  }
  .product-grid {
    gap: 15px;
  }
  .product-card h3 {
    font-size: 13px;
  }
  .edit-section {
    margin-inline: 28px;
  }
  .edit-copy {
    padding: 30px;
  }
  .edit-copy h2 {
    font-size: 34px;
  }
  .story-section {
    gap: 35px;
    padding: 60px 40px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 20px;
  }
  .announcement {
    font-size: 10px;
    padding: 8px;
  }
  .store-header {
    height: auto;
    padding: 19px 22px 0;
    flex-wrap: wrap;
    gap: 14px;
  }
  .logo {
    font-size: 45px;
    letter-spacing: -4px;
    gap: 12px;
  }
  .logo span {
    font-size: 10px;
  }
  .header-actions {
    margin-left: auto;
  }
  .bag-button {
    font-size: 11px;
  }
  .store-header nav {
    order: 3;
    justify-content: center;
    width: 100%;
    gap: 35px;
    border-top: 1px solid var(--line);
    padding: 13px 0;
  }
  .hero {
    height: 690px;
    min-height: 0;
    display: flex;
    align-items: flex-end;
  }
  .hero-photo {
    height: 58%;
    object-position: 70% center;
  }
  .hero::after {
    background: linear-gradient(0deg, #f4f0e6 40%, #f4f0e600 62%);
  }
  .hero-copy {
    padding: 0 26px 65px;
    max-width: none;
  }
  .hero-copy > p:first-child {
    font-size: 12px;
    margin-bottom: 13px;
  }
  .hero h1 {
    font-size: 43px;
    margin-bottom: 15px;
  }
  .hero-description {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .primary-link {
    margin-top: 9px;
    font-size: 12px;
    padding: 12px 18px;
  }
  .hero-caption {
    left: 26px;
    right: 26px;
    bottom: 19px;
    font-size: 9px;
  }
  .brand-note {
    padding: 38px 22px;
  }
  .brand-note p {
    font-size: 18px;
  }
  .mobile-break {
    display: block;
  }
  .products-section {
    padding: 20px 22px 55px;
  }
  .section-title {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .section-title h2 {
    font-size: 28px;
  }
  .section-title > span {
    display: none;
  }
  .catalog-tools {
    gap: 8px;
    align-items: flex-start;
  }
  .filters {
    gap: 15px;
  }
  .filters button {
    font-size: 12px;
  }
  .sort-label select {
    font-size: 11px;
    max-width: 83px;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 12px;
  }
  .product-card h3 {
    font-size: 13px;
  }
  .product-subtitle {
    font-size: 11px;
  }
  .product-price {
    font-size: 13px;
  }
  .product-meta {
    margin-top: 8px;
  }
  .edit-section {
    grid-template-columns: 1fr;
    margin: 0 22px 55px;
  }
  .edit-image {
    max-height: 360px;
    overflow: hidden;
  }
  .edit-copy {
    padding: 32px;
  }
  .edit-copy h2 {
    font-size: 34px;
  }
  .story-section {
    grid-template-columns: 1fr;
    padding: 45px 32px;
    gap: 30px;
  }
  .story-word {
    font-size: 125px;
    justify-self: center;
  }
  .story-section h2 {
    font-size: 31px;
  }
  .story-section div > p {
    font-size: 13px;
  }
  .care-section {
    padding: 0 22px;
    margin: 30px auto;
  }
  .care-section summary {
    font-size: 13px;
  }
  .care-section details p {
    font-size: 12px;
  }
  footer {
    padding: 30px 22px;
    flex-direction: column;
    gap: 15px;
  }
  .footer-note {
    text-align: left;
  }
  .footer-note p {
    font-size: 11px;
  }
  dialog {
    padding: 18px;
    max-height: 92dvh;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #detail-photo {
    width: 65%;
    margin: auto;
  }
  .detail-copy h2 {
    font-size: 23px;
  }
  .dialog-top {
    padding-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
