:root {
  color: #241b1c;
  background: #faf8f5;
  font-family: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #386815; outline-offset: 5px; }

.site-header,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 1.05rem clamp(1.2rem, 4vw, 4rem);
}

.site-header .wordmark { grid-column: 2; }
.site-header nav { justify-self: end; font-size: .85rem; }
.site-header nav a { text-decoration: none; }
.site-header button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.wordmark {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.1em;
  text-decoration: none;
}

.campaign {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  min-height: clamp(420px, 74svh, 780px);
  margin-inline: clamp(.5rem, 2vw, 2rem);
  overflow: hidden;
  color: #fff9ed;
  background: #4a272b;
}

.campaign-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.campaign-content {
  position: relative;
  padding: clamp(1.2rem, 5vw, 5rem);
  background: linear-gradient(0deg, #210d14a8, transparent);
}

.campaign h1 {
  margin: 0 0 1.1rem;
  font: 400 clamp(3rem, 7vw, 7.2rem) / .96 Georgia, serif;
  letter-spacing: -.075em;
}

.campaign-content a { text-underline-offset: .35em; }

.paper {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  color: #241915;
  background: repeating-linear-gradient(174deg, #42352c08 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at 55% 80%, #cbbfb2, transparent 67%), #eae1d8;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}

.paper p {
  width: max-content;
  max-width: 53%;
  margin: 0 15% 0 auto;
  font: 400 clamp(1.1rem, 3vw, 2.4rem) / 1.5 Georgia, "Apple SD Gothic Neo", serif;
}

.paper p span { display: inline-block; }

.paper-control {
  z-index: 1;
  position: absolute;
  inset: auto clamp(1rem, 3vw, 3rem) 1rem auto;
  border: 1px solid #362527;
  padding: .6rem .95rem;
  color: #24191b;
  background: #faf8f5;
}

.collection {
  max-width: 1800px;
  margin: auto;
  padding: 2.3rem clamp(.75rem, 3vw, 3rem) 5rem;
}

.collection h2 { margin: 0 0 1.15rem; font-size: 1.05rem; font-weight: 500; }
.collection p { line-height: 1.55; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.65rem, 1.5vw, 1.75rem);
}

.product-grid cafe24-list-context { display: contents; }
.product-detail h3 { margin: .7rem 0 .3rem; font-size: 1rem; }
.product-detail p { margin: 0 0 .6rem; font-size: .88rem; }
.product-detail a { text-decoration: none; }
.product-detail a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.product-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #eeebe7; }
.product-detail cafe24-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #eeebe7; }
.product-detail cafe24-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail summary { cursor: pointer; font-size: .875rem; }
.product-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.product-buttons button {
  border: 1px solid #241915;
  padding: .65rem 1rem;
  background: transparent;
  color: inherit;
}

.product-buttons button:disabled { opacity: .5; cursor: default; }

@media (max-width: 560px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header .wordmark { grid-column: 1; }
  .site-header nav { gap: .85rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign h1 { font-size: clamp(2.75rem, 10vw, 4rem); }
  .campaign-content { padding-bottom: 5rem; }
}
