:root {
  --paper: #fffbf1;
  --ink: #574533;
  --line: rgba(87, 69, 51, 0.72);
  --white: #fffbf1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #ebe4d7;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-weight: 400;
  padding-top: 74px;
}

body.menu-open {
  overflow: hidden;
}

button {
  font: inherit;
}

.site {
  width: 1024.5px;
  margin: 0 auto;
  background: var(--paper);
  overflow: hidden;
}

#site-top,
#style-gallery,
#customizer-entry,
#customizer-flow,
#product-list {
  scroll-margin-top: 94px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  display: grid;
  width: min(1024.5px, 100%);
  height: 74px;
  padding: 0 22px;
  align-items: center;
  grid-template-columns: 56px 1fr 56px;
  transform: translateX(-50%);
  background: rgba(255, 251, 241, 0.96);
  border-bottom: 1px solid rgba(87, 69, 51, 0.12);
  backdrop-filter: blur(10px);
}

.site-header-button {
  display: grid;
  width: 56px;
  height: 56px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #1e1812;
}

.menu-toggle {
  justify-self: start;
  gap: 0;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.site-header-logo {
  justify-self: center;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 33px;
  letter-spacing: 0.42em;
  line-height: 1;
  text-decoration: none;
  text-indent: 0.42em;
}

.cart-button {
  position: relative;
  justify-self: end;
}

.cart-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-count-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 1px solid rgba(255, 251, 241, 0.95);
  border-radius: 999px;
  background: #574533;
  color: #fffbf1;
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1;
}

.cart-count-badge[hidden],
.cart-backdrop[hidden],
.cart-empty[hidden],
.checkout-empty[hidden] {
  display: none !important;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(39, 31, 24, 0.28);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 50%;
  z-index: 71;
  width: min(420px, calc(100% - 28px));
  height: 100dvh;
  transform: translateX(calc(50vw + 100%));
  transition: transform 220ms ease;
}

.cart-drawer.is-open {
  transform: translateX(50vw);
}

.cart-panel {
  display: grid;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  background: #fffdf8;
  box-shadow: -18px 0 48px rgba(39, 31, 24, 0.18);
}

.cart-head {
  display: flex;
  min-height: 92px;
  padding: 24px 22px 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(87, 69, 51, 0.14);
}

.cart-head p,
.cart-head h2 {
  margin: 0;
}

.cart-head p {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.cart-head h2 {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.cart-close-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(87, 69, 51, 0.24);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.cart-list {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: 18px;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(87, 69, 51, 0.16);
  background: #fffbf1;
}

.cart-item img {
  width: 92px;
  height: 122px;
  object-fit: cover;
  background: #f7f4f0;
}

.cart-item-body {
  min-width: 0;
}

.cart-item-body h3,
.cart-item-body p {
  margin: 0;
}

.cart-item-body h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.cart-item-body p {
  margin-top: 8px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.cart-item-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.cart-item-parts span {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid rgba(87, 69, 51, 0.16);
  background: rgba(255, 253, 248, 0.88);
  font-size: 11px;
  line-height: 1.3;
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.cart-item-controls button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(87, 69, 51, 0.22);
  background: #fffdf8;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
}

.cart-item-controls span {
  min-width: 20px;
  text-align: center;
}

.cart-empty {
  margin: 0;
  padding: 28px 22px;
  color: rgba(87, 69, 51, 0.68);
  text-align: center;
}

.cart-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(87, 69, 51, 0.14);
  border-bottom: 1px solid rgba(87, 69, 51, 0.14);
}

.cart-summary div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.cart-summary div + div {
  border-left: 1px solid rgba(87, 69, 51, 0.14);
}

.cart-summary span {
  color: rgba(87, 69, 51, 0.66);
  font-size: 12px;
}

.cart-summary strong {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.cart-actions {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.cart-actions button {
  min-height: 50px;
  border: 1px solid rgba(87, 69, 51, 0.72);
  background: #574533;
  color: #fffbf1;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.cart-actions button:disabled {
  border-color: rgba(87, 69, 51, 0.18);
  background: rgba(87, 69, 51, 0.12);
  color: rgba(87, 69, 51, 0.48);
  cursor: default;
}

.cart-actions .cart-cancel-button {
  background: transparent;
  color: var(--ink);
}

body.cart-open {
  overflow: hidden;
}

.checkout-body {
  background: #ebe4d7;
}

.checkout-logo {
  grid-column: 1 / -1;
}

.checkout-page {
  width: min(1024.5px, 100%);
  min-height: calc(100dvh - 74px);
  margin: 0 auto;
  padding: 28px 22px 44px;
  background: var(--paper);
}

.checkout-back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.checkout-panel,
.checkout-summary {
  border: 1px solid rgba(87, 69, 51, 0.16);
  background: #fffdf8;
}

.checkout-panel {
  padding: 24px;
}

.checkout-kicker,
.checkout-panel h1,
.checkout-empty,
.checkout-item h2,
.checkout-item p {
  margin: 0;
}

.checkout-kicker {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.checkout-panel h1 {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.checkout-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(87, 69, 51, 0.14);
  background: #fffbf1;
}

.checkout-item img {
  width: 104px;
  height: 138px;
  object-fit: cover;
  background: #f7f4f0;
}

.checkout-item h2 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.checkout-item p {
  margin-top: 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.checkout-item-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.checkout-item-parts span {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid rgba(87, 69, 51, 0.16);
  background: rgba(255, 253, 248, 0.9);
  font-size: 12px;
}

.checkout-empty {
  margin-top: 22px;
  color: rgba(87, 69, 51, 0.68);
}

.checkout-summary {
  display: grid;
}

.checkout-summary > div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(87, 69, 51, 0.14);
}

.checkout-summary span,
.checkout-form label {
  color: rgba(87, 69, 51, 0.7);
  font-size: 12px;
}

.checkout-summary strong {
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.checkout-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(87, 69, 51, 0.22);
  background: #fffbf1;
  color: var(--ink);
  font: inherit;
}

.checkout-form input {
  height: 44px;
  padding: 0 12px;
}

.checkout-form input[aria-invalid="true"] {
  border-color: rgba(156, 63, 44, 0.72);
  background: #fff7f2;
}

.checkout-form textarea {
  resize: vertical;
  padding: 10px 12px;
}

.form-error,
.form-help {
  min-height: 18px;
  color: #9c3f2c;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.form-help {
  color: rgba(87, 69, 51, 0.62);
}

.form-help[data-tone="error"] {
  color: #9c3f2c;
}

.checkout-submit-button,
.checkout-cancel-button {
  min-height: 50px;
  border: 1px solid rgba(87, 69, 51, 0.72);
  background: #574533;
  color: #fffbf1;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.checkout-submit-button:disabled {
  border-color: rgba(87, 69, 51, 0.18);
  background: rgba(87, 69, 51, 0.12);
  color: rgba(87, 69, 51, 0.48);
  cursor: default;
}

.checkout-cancel-button {
  background: transparent;
  color: var(--ink);
}

.site-menu-backdrop {
  position: fixed;
  inset: 74px 0 0;
  z-index: 44;
  background: rgba(87, 69, 51, 0.16);
}

.site-menu-drawer {
  position: fixed;
  top: 90px;
  left: 50%;
  z-index: 45;
  width: min(1024.5px, 100%);
  pointer-events: none;
  transform: translateX(-50%);
}

.site-menu-panel {
  display: grid;
  width: 304px;
  margin-left: 28px;
  padding: 26px 28px;
  gap: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(87, 69, 51, 0.16);
  pointer-events: auto;
}

.site-menu-panel a {
  display: block;
  padding: 26px 6px;
  border-top: 1px solid rgba(87, 69, 51, 0.34);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.site-menu-panel a:last-child {
  border-bottom: 1px solid rgba(87, 69, 51, 0.34);
}

@media (max-width: 760px) {
  body {
    padding-top: 64px;
  }

  .site-header {
    height: 64px;
    padding: 0 12px;
    grid-template-columns: 48px 1fr 48px;
  }

  .site-header-button {
    width: 48px;
    height: 48px;
  }

  .menu-toggle span {
    width: 24px;
  }

  .site-header-logo {
    font-size: 23px;
    letter-spacing: 0.26em;
    text-indent: 0.26em;
  }

  .cart-button svg {
    width: 24px;
    height: 24px;
  }

  .site-menu-backdrop {
    inset: 64px 0 0;
  }

  .site-menu-drawer {
    top: 76px;
    width: 100%;
  }

  .site-menu-panel {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 18px 20px;
    border-radius: 24px;
  }

  .site-menu-panel a {
    padding: 20px 2px;
    font-size: 15px;
  }
}

.hero {
  position: relative;
  height: 576px;
  overflow: hidden;
  background: #ddd0bf;
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: default;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #ddd0bf;
}

.hero-stage.is-adjusting-enabled {
  cursor: grab;
}

.hero-stage.is-adjusting {
  cursor: grabbing;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: opacity 1400ms ease;
  will-change: opacity, transform;
}

.hero-image.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  top: 92px;
  left: 57px;
  color: var(--white);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.hero-subtitle {
  margin-top: 24px !important;
}

.outline-button {
  display: grid;
  width: 194px;
  height: 41px;
  margin-top: 56px;
  place-items: center;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
}

.hero-zoom-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-zoom-controls button,
.hero-save-control {
  border: 1px solid rgba(255, 251, 241, 0.42);
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.92);
  color: rgba(77, 64, 56, 0.96);
}

.hero-zoom-controls button {
  width: 34px;
  height: 34px;
  font-size: 18px;
  line-height: 1;
}

.hero-save-control {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  font-size: 11px;
}

.hero-save-control.is-saved {
  background: #5f4a3c;
  color: #fff9f1;
}

.first-message {
  position: relative;
  height: 576px;
  background: var(--paper);
}

.message-copy {
  position: absolute;
  top: 134px;
  left: 34px;
  z-index: 1;
}

.message-copy p {
  margin: 0;
}

.lead-small {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.lead-main {
  margin-top: 42px !important;
  font-size: 18px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  white-space: nowrap;
}

.lead-body {
  margin-top: 123px !important;
  font-size: 17px;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.lead-body + .lead-body {
  margin-top: 40px !important;
}

.plate-image {
  position: absolute;
  top: 12px;
  left: 512px;
  width: 480px;
  height: 720px;
  object-fit: cover;
}

.page-two {
  position: relative;
  height: 5420px;
  background: var(--paper);
}

.page-two p,
.page-two h2,
.page-two h3,
.page-two h4 {
  margin: 0;
}

.top-message {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 21px;
  letter-spacing: 0.22em;
  line-height: 1.5;
}

.top-message.first {
  top: 169px;
}

.top-message.second {
  top: 219px;
}

.intro-paragraph {
  position: absolute;
  top: 651px;
  left: 74px;
  width: 365px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.2em;
  line-height: 1.7;
}

.intro-paragraph .spaced {
  margin-top: 41px;
}

.side-model {
  position: absolute;
  top: 414px;
  left: 510px;
  width: 483px;
  height: 645px;
  object-fit: cover;
}

.how {
  position: absolute;
  inset: 0;
}

.how h2 {
  position: absolute;
  top: 1081px;
  left: 0;
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 47px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.title-line {
  position: absolute;
  top: 1168px;
  left: 341px;
  width: 346px;
  height: 1px;
  background: var(--line);
}

.how-subtitle {
  position: absolute;
  top: 1254px;
  left: 0;
  width: 100%;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-align: center;
}

.step-card {
  position: absolute;
  top: 1364px;
  width: 264px;
  height: 430px;
  border: 1px solid rgba(87, 69, 51, 0.82);
  text-align: center;
}

.card-one {
  left: 65px;
}

.card-two {
  left: 380px;
}

.card-three {
  left: 697px;
}

.step-number {
  margin-top: 24px !important;
  font-size: 24px;
  line-height: 1.2;
}

.step-en {
  margin-top: 35px !important;
  font-size: 24px;
  line-height: 1.1;
}

.step-ja {
  margin-top: 5px !important;
  font-size: 21px;
  line-height: 1.2;
}

.step-card img {
  position: absolute;
  left: 50%;
  bottom: 52px;
  width: 176px;
  height: 176px;
  transform: translateX(-50%);
  border-radius: 50%;
  object-fit: cover;
}

.custom-note {
  position: absolute;
  left: 0;
  width: 100%;
  font-size: 18px;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-align: center;
}

.note-one {
  top: 1877px;
}

.note-two {
  top: 1932px;
}

.customizer-flow {
  position: absolute;
  top: 2084px;
  left: 36px;
  width: 956px;
}

.accordion-stack {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 14px;
}

.parts-section {
  position: absolute;
  left: 0;
  width: 100%;
}

.customizer-flow .parts-section {
  position: relative;
  left: auto;
  width: 100%;
  height: auto;
  min-height: 70px;
  overflow: hidden;
}

.parts-section h3,
.preview-section h3,
.catalog-section h3 {
  position: absolute;
  left: 48px;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.customizer-flow .parts-section h3 {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  font-size: 20px;
}

.accordion-trigger {
  display: grid;
  width: 100%;
  min-height: 68px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid rgba(87, 69, 51, 0.74);
  background: rgba(255, 251, 241, 0.78);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.2;
  text-align: left;
}

.accordion-trigger::after {
  content: "＋";
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.parts-section.is-open .accordion-trigger {
  background: #fffdf8;
  box-shadow: 0 10px 22px rgba(87, 69, 51, 0.1);
}

.parts-section.is-open .accordion-trigger::after {
  content: "−";
}

.accordion-choice {
  color: rgba(87, 69, 51, 0.72);
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.parts-section .section-line,
.preview-section .section-line,
.catalog-section .section-line {
  position: absolute;
  left: 38px;
  width: 436px;
  height: 1px;
  background: var(--line);
}

.side-parts {
  top: 2084px;
  height: 560px;
}

.customizer-flow .side-parts,
.customizer-flow .ribbon-parts,
.customizer-flow .flower-parts {
  top: auto;
  height: auto;
}

.side-parts h3,
.ribbon-parts h3,
.flower-parts h3 {
  top: 0;
}

.side-parts .section-line,
.ribbon-parts .section-line,
.flower-parts .section-line {
  top: 48px;
}

.customizer-flow .parts-section .section-line {
  display: none;
}

.product-frame {
  position: absolute;
  left: 36px;
  width: 956px;
  border: 1px solid rgba(87, 69, 51, 0.82);
  background: rgba(255, 251, 241, 0.42);
  overflow: hidden;
  --rail-x: 82px;
  --rail-top: 48px;
  --rail-bottom: 98px;
  --card-width: 244px;
  --card-gap: 22px;
}

.customizer-flow .product-frame {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  margin-top: 12px;
  --rail-x: 82px;
  --rail-top: 48px;
  --rail-bottom: 98px;
  --card-width: 244px;
  --card-gap: 22px;
}

.customizer-flow .parts-section:not(.is-open) .product-frame,
.customizer-flow .parts-section:not(.is-open) .template-frame,
.customizer-flow .parts-section:not(.is-open) .step-confirm {
  display: none;
}

.customizer-flow .parts-section {
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.customizer-flow .parts-section.is-open {
  box-shadow: 0 14px 28px rgba(87, 69, 51, 0.08);
}

.customizer-flow .parts-section.is-open .product-frame,
.customizer-flow .parts-section.is-open .template-frame {
  animation: stepFadeIn 260ms ease;
}

.customizer-flow .parts-section.is-complete .accordion-choice {
  color: rgba(91, 133, 69, 0.92);
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-frame::before,
.product-frame::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 76px;
  content: "";
  pointer-events: none;
}

.product-frame::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 251, 241, 0) 100%);
}

.product-frame::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper) 0%, rgba(255, 251, 241, 0) 100%);
}

.carousel-viewport {
  position: absolute;
  inset: var(--rail-top) var(--rail-x) var(--rail-bottom);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.product-frame.is-card-hover .carousel-viewport:not(.is-dragging) {
  cursor: pointer;
}

.carousel-track {
  display: flex;
  gap: var(--card-gap);
  width: max-content;
  height: 100%;
  padding: 0 4px;
}

.side-track {
  width: max-content;
}

.ribbon-track,
.flower-track {
  width: max-content;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(87, 69, 51, 0.78);
  border-radius: 50%;
  background: rgba(255, 251, 241, 0.94);
  box-shadow: 0 8px 18px rgba(87, 69, 51, 0.16);
  color: var(--ink);
  cursor: pointer;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-button:disabled {
  opacity: 0.28;
  cursor: default;
  box-shadow: none;
}

.carousel-prev {
  left: 18px;
}

.carousel-next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  right: var(--rail-x);
  bottom: 20px;
  left: var(--rail-x);
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(87, 69, 51, 0.24);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: rgba(87, 69, 51, 0.76);
}

.side-frame {
  top: 66px;
  height: 419px;
  --card-width: 238px;
}

.customizer-flow .side-frame {
  height: 419px;
  --card-width: 238px;
}

.option {
  position: relative;
  display: grid;
  flex: 0 0 var(--card-width);
  width: var(--card-width);
  height: 100%;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  padding: 14px;
  border: 1px solid rgba(87, 69, 51, 0.26);
  background: rgba(255, 251, 241, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  scroll-snap-align: center;
  user-select: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.option.is-selected {
  border-color: rgba(87, 69, 51, 0.86);
  background: #fffdf8;
  box-shadow: 0 12px 24px rgba(87, 69, 51, 0.15);
  transform: translateY(-3px);
}

.option:hover,
.option.is-hovered {
  border-color: rgba(87, 69, 51, 0.58);
  background: #fffdf8;
  box-shadow: 0 10px 22px rgba(87, 69, 51, 0.12);
  transform: translateY(-2px);
}

.option.is-selected::after {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  min-width: 58px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(87, 69, 51, 0.62);
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.92);
  content: "選択中";
  font-size: 12px;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.option > * {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.option:focus-visible,
.carousel-button:focus-visible,
.carousel-dot:focus-visible,
.step-confirm:focus-visible {
  outline: 2px solid rgba(87, 69, 51, 0.82);
  outline-offset: 3px;
}

.option img,
.blank-thumb {
  display: block;
  width: 100%;
  min-height: 0;
  height: 100%;
  object-fit: cover;
  background: #f7f4f2;
}

.option h4 {
  overflow: hidden;
  margin-top: 13px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.option p {
  margin-top: 10px;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.option-line {
  width: 100%;
  height: 1px;
  margin-top: 10px;
  background: var(--line);
}

.side-option-one {
  top: 40px;
  left: 44px;
  width: 282px;
}

.side-option-one img {
  height: 244px;
}

.side-option-two {
  top: 66px;
  left: 391px;
  width: 216px;
}

.side-option-three {
  top: 66px;
  left: 648px;
  width: 216px;
}

.ribbon-parts {
  top: 2631px;
  height: 620px;
}

.ribbon-parts .section-line {
  width: 436px;
}

.ribbon-frame {
  top: 67px;
  height: 475px;
  --card-width: 250px;
}

.customizer-flow .ribbon-frame {
  height: 475px;
  --card-width: 250px;
}

.ribbon-option-one {
  top: 106px;
  left: 31px;
  width: 276px;
}

.ribbon-option-two {
  top: 151px;
  left: 340px;
  width: 216px;
}

.ribbon-option-three {
  top: 151px;
  left: 590px;
  width: 216px;
}

.ribbon-option-four {
  top: 151px;
  left: 840px;
  width: 216px;
}

.flower-parts {
  top: 3200px;
  height: 705px;
}

.flower-frame {
  top: 66px;
  height: 560px;
  --rail-top: 82px;
  --rail-bottom: 92px;
  --card-width: 250px;
}

.customizer-flow .flower-frame {
  height: 560px;
  --rail-top: 82px;
  --rail-bottom: 106px;
  --card-width: 250px;
}

.flower-option-one {
  top: 97px;
  left: 40px;
  width: 283px;
}

.flower-option-one img {
  height: 213px;
}

.flower-option-two {
  top: 120px;
  left: 358px;
  width: 216px;
}

.flower-option-three {
  top: 120px;
  left: 600px;
  width: 216px;
}

.flower-option-four {
  top: 120px;
  left: 844px;
  width: 216px;
}

.carousel-track .option {
  top: auto;
  left: auto;
  width: var(--card-width);
  scroll-snap-align: start;
}

.carousel-track .side-option-one img,
.carousel-track .flower-option-one img {
  height: 100%;
}

.step-confirm {
  position: absolute;
  right: 32px;
  bottom: 18px;
  z-index: 6;
  display: block;
  width: 160px;
  height: 42px;
  margin: 0;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #eefb85 0%, #8bd75c 100%);
  box-shadow: 0 5px 8px rgba(87, 69, 51, 0.25);
  color: var(--ink);
  cursor: pointer;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  line-height: 1;
}

.step-confirm:hover {
  filter: brightness(1.02);
}

.preview-section {
  position: absolute;
  top: 3868px;
  left: 0;
  width: 100%;
  height: 1120px;
}

.customizer-flow .preview-section {
  position: relative;
  top: auto;
  left: auto;
  width: 956px;
  height: 1160px;
  margin-top: 54px;
}

.preview-section h3 {
  top: 0;
  left: 64px;
}

.customizer-flow .preview-section h3 {
  position: relative;
  top: auto;
  left: auto;
  font-size: 22px;
}

.preview-section .section-line {
  top: 69px;
  width: 435px;
}

.customizer-flow .preview-section .section-line {
  top: 45px;
  left: 0;
  width: 360px;
}

.preview-image {
  position: absolute;
  top: 205px;
  left: 210px;
  width: 605px;
  height: 908px;
  object-fit: cover;
}

.customizer-flow .preview-image {
  top: 176px;
  left: 176px;
  width: 605px;
  height: 908px;
}

.customizer-flow .preview-section.is-complete .preview-canvas {
  box-shadow: 0 14px 28px rgba(87, 69, 51, 0.16);
}

.preview-canvas {
  display: block;
  background: #f7f4f2;
}

.preview-fallback[hidden],
.preview-canvas[hidden] {
  display: none;
}

.lp-template-control {
  position: absolute;
  top: 91px;
  left: 210px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 605px;
  min-height: 58px;
  gap: 12px;
  border: 1px solid rgba(87, 69, 51, 0.62);
  background: rgba(255, 251, 241, 0.88);
  padding: 10px 14px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

.customizer-flow .lp-template-control {
  top: 82px;
  left: 176px;
  width: 605px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 76px;
}

.customizer-flow #lpPreviewStatus {
  grid-column: 1 / -1;
  text-align: left;
}

.lp-template-label {
  font-size: 16px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.lp-template-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(74px, 1fr);
  gap: 6px;
  min-width: 0;
}

.lp-template-tab {
  display: grid;
  min-width: 0;
  height: 34px;
  padding: 0 9px;
  place-items: center;
  border: 1px solid rgba(87, 69, 51, 0.54);
  background: rgba(255, 251, 241, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}

.lp-template-tab.is-selected {
  border-color: rgba(87, 69, 51, 0.88);
  background: rgba(87, 69, 51, 0.1);
}

#lpPreviewStatus {
  color: rgba(87, 69, 51, 0.78);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: right;
}

.buy-area {
  position: absolute;
  top: 950px;
  left: 573px;
  width: 297px;
  text-align: right;
}

.customizer-flow .buy-area {
  top: 930px;
  left: 534px;
  width: 330px;
}

.buy-area p {
  padding-right: 18px;
  font-size: 22px;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.buy-line {
  width: 100%;
  height: 1px;
  margin-top: 21px;
  background: var(--line);
}

.buy-area button {
  display: block;
  width: 160px;
  height: 42px;
  margin: 12px 0 0 auto;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #eefb85 0%, #8bd75c 100%);
  box-shadow: 0 5px 8px rgba(87, 69, 51, 0.25);
  color: var(--ink);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  line-height: 1;
}

.lp-download {
  display: grid;
  width: 160px;
  height: 34px;
  margin: 10px 0 0 auto;
  place-items: center;
  border: 1px solid rgba(87, 69, 51, 0.72);
  border-radius: 18px;
  color: var(--ink);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  text-decoration: none;
}

.lp-download[hidden] {
  display: none;
}

.catalog-section {
  position: absolute;
  top: 4310px;
  left: 0;
  width: 100%;
  height: 982px;
}

.catalog-section h3 {
  top: 0;
  left: 72px;
}

.catalog-section .section-line {
  top: 55px;
  left: 62px;
  width: 298px;
}

.catalog-frame {
  position: absolute;
  top: 75px;
  left: 64px;
  width: 894px;
  height: 920px;
  border: 1px solid rgba(87, 69, 51, 0.82);
}

.catalog-card {
  position: absolute;
  width: 300px;
}

.catalog-card img {
  display: block;
  width: 300px;
  height: 200px;
  object-fit: cover;
}

.catalog-card h4 {
  margin-top: 45px;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.2;
}

.catalog-line {
  width: 100%;
  height: 1px;
  margin-top: 24px;
  background: var(--line);
}

.catalog-card p {
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.2;
}

.catalog-one {
  top: 181px;
  left: 89px;
}

.catalog-two {
  top: 181px;
  left: 519px;
}

.catalog-three {
  top: 604px;
  left: 89px;
}

.catalog-four {
  top: 604px;
  left: 519px;
}

/* Wide customizer studio */
.site {
  width: min(100%, 1440px);
  max-width: 1440px;
}

.hero {
  height: 640px;
}

.hero-copy {
  top: 245px;
  left: clamp(57px, 7vw, 104px);
}

.first-message {
  height: 640px;
}

.message-copy {
  left: clamp(34px, 6vw, 96px);
}

.plate-image {
  right: clamp(32px, 6vw, 96px);
  left: auto;
  width: min(560px, 43vw);
}

.page-two {
  height: 4550px;
}

.intro-paragraph {
  left: clamp(74px, 9vw, 150px);
}

.side-model {
  right: clamp(48px, 8vw, 150px);
  left: auto;
}

.title-line {
  left: 50%;
  transform: translateX(-50%);
}

.card-one {
  left: calc(50% - 478px);
}

.card-two {
  left: calc(50% - 132px);
}

.card-three {
  left: calc(50% + 214px);
}

.customizer-flow {
  left: 50%;
  display: grid;
  width: min(1320px, calc(100% - 72px));
  min-height: 1060px;
  grid-template-columns: minmax(0, 1.7fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(87, 69, 51, 0.74);
  background: rgba(255, 251, 241, 0.84);
  box-shadow: 0 18px 48px rgba(87, 69, 51, 0.12);
  overflow: visible;
  transform: translateX(-50%);
}

.accordion-stack {
  gap: 16px;
}

.customizer-flow .parts-section {
  overflow: visible;
}

.customizer-flow .parts-section h3 {
  font-size: 21px;
}

.accordion-trigger {
  min-height: 72px;
  padding: 0 24px;
  background: rgba(255, 253, 248, 0.9);
}

.customizer-flow .product-frame {
  --rail-x: 44px;
  --rail-top: 40px;
  --rail-bottom: 104px;
  --card-width: clamp(148px, 11vw, 176px);
  --card-gap: 16px;
}

.customizer-flow .side-frame {
  height: 350px;
  --card-width: clamp(148px, 11vw, 176px);
}

.customizer-flow .ribbon-frame {
  height: 380px;
  --card-width: clamp(148px, 11vw, 176px);
}

.customizer-flow .flower-frame {
  height: 430px;
  --rail-top: 56px;
  --rail-bottom: 108px;
  --card-width: clamp(148px, 11vw, 176px);
}

.customizer-flow .option {
  padding: 12px;
}

.customizer-flow .option h4 {
  font-size: 16px;
}

.customizer-flow .option p {
  font-size: 13px;
}

.step-confirm {
  right: 28px;
  bottom: 24px;
}

.customizer-flow .preview-section {
  position: sticky;
  top: 24px;
  width: 100%;
  height: min(calc(100vh - 48px), 1020px);
  min-height: 760px;
  margin-top: 0;
  border: 1px solid rgba(87, 69, 51, 0.74);
  background: #fffdf8;
  overflow: hidden;
}

.customizer-flow .preview-section h3 {
  position: absolute;
  top: 26px;
  left: 28px;
  font-size: 24px;
}

.customizer-flow .preview-section .section-line {
  top: 64px;
  left: 28px;
  width: 250px;
}

.customizer-flow .lp-template-control {
  top: 92px;
  right: 28px;
  left: 28px;
  width: auto;
  min-height: 76px;
}

.customizer-flow .preview-image {
  top: 190px;
  left: 50%;
  width: min(500px, calc(100% - 40px));
  height: calc(100% - 380px);
  min-height: 420px;
  max-height: 650px;
  transform: translateX(-50%);
}

.customizer-flow .buy-area {
  top: auto;
  right: 32px;
  bottom: 28px;
  left: auto;
  width: min(330px, calc(100% - 64px));
}

.catalog-section {
  top: 3300px;
}

.catalog-section h3 {
  left: calc(50% - 590px);
}

.catalog-section .section-line {
  left: calc(50% - 600px);
}

.catalog-frame {
  left: 50%;
  width: min(1180px, calc(100% - 96px));
  transform: translateX(-50%);
}

.catalog-one,
.catalog-three {
  left: 140px;
}

.catalog-two,
.catalog-four {
  left: calc(100% - 440px);
}

@media (max-width: 1100px) {
  .site {
    width: 1024.5px;
  }

  .customizer-flow {
    width: 956px;
    grid-template-columns: 1fr;
  }

  .customizer-flow .preview-section {
    position: relative;
    top: auto;
    width: 100%;
    margin-top: 24px;
  }
}

/* Reference style LP polish */
:root {
  --paper: #fffdf9;
  --ink: #574533;
  --line: rgba(87, 69, 51, 0.18);
  --soft-line: #eee8df;
  --accent: #98d866;
  --accent-dark: #6eaf43;
  --blush: #f3d4cf;
}

html,
body {
  background:
    radial-gradient(circle at 12% 6%, rgba(243, 212, 207, 0.2), transparent 30%),
    linear-gradient(180deg, #fffefd 0%, #faf6ef 100%);
}

body {
  padding: 10px 0 56px;
  color: var(--ink);
}

.site {
  width: min(100% - 48px, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #fffefb;
  box-shadow: 0 22px 70px rgba(87, 69, 51, 0.08);
}

.hero {
  height: clamp(460px, 48vw, 540px);
  border-radius: 8px 8px 0 0;
  background-position: 50% 24%;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(68, 52, 38, 0.26) 0%, rgba(68, 52, 38, 0.1) 38%, rgba(68, 52, 38, 0) 68%);
  content: "";
}

.hero-copy {
  top: 190px;
  left: 74px;
}

.hero h1 {
  font-size: 58px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.hero-copy p {
  margin: 0;
}

.hero-subtitle {
  margin-top: 20px !important;
  font-family: inherit;
  font-size: 17px;
  letter-spacing: 0.2em;
}

.hero-tagline {
  margin-top: 36px !important;
  font-size: 17px;
  letter-spacing: 0.2em;
  line-height: 2;
}

.outline-button {
  display: none;
}

.first-message {
  display: grid;
  height: auto;
  min-height: 430px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 72px;
  align-items: center;
  padding: 56px 62px 64px;
  border-bottom: 1px solid var(--soft-line);
  background: #fffefb;
}

.message-copy,
.plate-image {
  position: static;
}

.message-copy {
  max-width: 430px;
  padding: 32px 0;
}

.lead-small,
.lead-main {
  font-size: 24px;
  letter-spacing: 0.08em;
}

.lead-main {
  margin-top: 18px !important;
}

.lead-body {
  margin-top: 64px !important;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 2;
}

.lead-body + .lead-body {
  margin-top: 4px !important;
}

.plate-image {
  width: 100%;
  height: 380px;
  border: 0;
  object-fit: cover;
}

.page-two {
  height: auto;
  padding: 0;
  background: #fffefb;
}

.top-message {
  position: static;
  width: auto;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.top-message.first {
  margin-top: 92px;
}

.top-message.second {
  margin-top: 10px;
}

.intro-paragraph {
  position: static;
  display: inline-block;
  width: 320px;
  margin: 62px 0 78px 164px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 2.2;
}

.intro-paragraph p + p {
  margin-top: 10px;
}

.intro-paragraph .spaced {
  margin-top: 0;
}

.side-model {
  position: static;
  display: inline-block;
  width: 300px;
  height: 410px;
  margin: 48px 0 82px 146px;
  vertical-align: middle;
  object-fit: cover;
}

.how {
  position: static;
  padding: 54px 72px 58px;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  text-align: center;
}

.how h2 {
  position: static;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.title-line {
  display: none;
}

.how-subtitle {
  position: static;
  margin-top: 24px !important;
  color: rgba(87, 69, 51, 0.78);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.step-card {
  position: relative;
  display: inline-grid;
  width: 30%;
  height: auto;
  min-height: 182px;
  margin-top: 46px;
  padding: 0 38px;
  border: 0;
  vertical-align: top;
  text-align: center;
}

.card-one,
.card-two,
.card-three {
  top: auto;
  left: auto;
}

.card-two {
  border-right: 1px solid rgba(87, 69, 51, 0.26);
  border-left: 1px solid rgba(87, 69, 51, 0.26);
}

.step-number {
  display: none;
}

.step-en {
  margin-top: 0 !important;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.step-ja {
  margin-top: 8px !important;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.step-card img {
  position: static;
  width: 104px;
  height: 104px;
  margin: 28px auto 0;
  transform: none;
}

.custom-note {
  position: static;
  width: auto;
  color: rgba(87, 69, 51, 0.74);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.note-one {
  margin-top: 38px !important;
}

.note-two {
  margin-top: 8px !important;
}

.customizer-flow {
  position: static;
  display: grid;
  width: min(920px, calc(100% - 124px));
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 0;
  align-items: stretch;
  margin: 58px auto 72px;
  padding: 0;
  border: 1px solid var(--soft-line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(87, 69, 51, 0.1);
  transform: none;
}

.customizer-flow::before {
  grid-column: 1 / -1;
  padding: 36px 32px 18px;
  border-bottom: 1px solid var(--soft-line);
  content: "カンタンにご購入いただけます。";
  font-size: 23px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
}

.accordion-stack {
  gap: 18px;
  padding: 28px 32px 32px;
  border-right: 1px solid var(--soft-line);
}

.customizer-flow .parts-section {
  min-height: 0;
}

.customizer-flow .parts-section h3 {
  font-size: 15px;
  letter-spacing: 0.06em;
}

.accordion-trigger {
  min-height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(87, 69, 51, 0.18);
  background: transparent;
  box-shadow: none;
  cursor: default;
  font-size: 15px;
}

.parts-section.is-open .accordion-trigger {
  background: transparent;
  box-shadow: none;
}

.accordion-trigger::after {
  content: "";
  font-size: 0;
}

.accordion-choice {
  color: rgba(87, 69, 51, 0.58);
  font-size: 12px;
}

.customizer-flow .product-frame {
  height: 174px;
  margin-top: 14px;
  border: 0;
  background: #fff;
  overflow: hidden;
  --rail-x: 36px;
  --rail-top: 2px;
  --rail-bottom: 48px;
  --card-width: 106px;
  --card-gap: 13px;
}

.customizer-flow .step-confirm {
  display: none;
}

.customizer-flow .side-frame,
.customizer-flow .ribbon-frame,
.customizer-flow .flower-frame {
  height: 174px;
  --rail-top: 2px;
  --rail-bottom: 48px;
  --card-width: 106px;
}

.product-frame::before,
.product-frame::after {
  width: 34px;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.product-frame::after {
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.carousel-button {
  width: 28px;
  height: 28px;
  border-color: rgba(87, 69, 51, 0.24);
  background: #fff;
  box-shadow: 0 6px 14px rgba(87, 69, 51, 0.08);
  font-size: 20px;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.customizer-flow .option {
  padding: 8px;
  border-color: rgba(87, 69, 51, 0.12);
  background: #faf8f7;
  box-shadow: none;
}

.customizer-flow .option.is-selected {
  border-color: rgba(152, 216, 102, 0.95);
  background: #fff;
  box-shadow: 0 8px 18px rgba(114, 168, 72, 0.12);
  transform: translateY(-2px);
}

.customizer-flow .option.is-selected::after {
  top: 6px;
  right: 6px;
  min-width: 44px;
  height: 19px;
  border-color: rgba(152, 216, 102, 0.9);
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-dark);
  font-size: 10px;
}

.customizer-flow .option h4 {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.customizer-flow .option-line {
  margin-top: 6px;
  background: rgba(87, 69, 51, 0.12);
}

.customizer-flow .option p {
  margin-top: 5px;
  color: rgba(87, 69, 51, 0.72);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.carousel-dots {
  right: 178px;
  bottom: 17px;
  left: 42px;
  justify-content: flex-start;
  gap: 6px;
}

.carousel-dot {
  width: 18px;
  height: 3px;
  background: rgba(87, 69, 51, 0.16);
}

.carousel-dot.is-active {
  background: var(--accent-dark);
}

.step-confirm {
  right: 0;
  bottom: 4px;
  width: 126px;
  height: 34px;
  border-radius: 18px;
  background: linear-gradient(180deg, #b7e974 0%, #8bd75c 100%);
  box-shadow: none;
  font-size: 14px;
}

.customizer-flow .preview-section {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 28px 32px 32px;
  border: 0;
  background: #fff;
  overflow: visible;
}

.customizer-flow .preview-section h3 {
  position: static;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.customizer-flow .preview-section .section-line {
  position: static;
  width: 100%;
  margin-top: 14px;
  background: rgba(87, 69, 51, 0.16);
}

.customizer-flow .lp-template-control {
  position: static;
  display: grid;
  width: 100%;
  min-height: 0;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.lp-template-label {
  color: rgba(87, 69, 51, 0.68);
  font-size: 12px;
}

.lp-template-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-template-tab {
  width: auto;
  min-width: 72px;
  height: 28px;
  padding: 0 10px;
  border-color: rgba(87, 69, 51, 0.18);
  border-radius: 999px;
  background: #faf8f7;
  font-size: 12px;
}

.lp-template-tab.is-selected {
  border-color: rgba(152, 216, 102, 0.95);
  background: rgba(152, 216, 102, 0.18);
}

.customizer-flow #lpPreviewStatus {
  color: rgba(87, 69, 51, 0.62);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.customizer-flow .preview-image {
  position: static;
  display: block;
  width: 100%;
  height: 360px;
  min-height: 0;
  max-height: none;
  margin-top: 20px;
  border-radius: 3px;
  background: #f4f1ee;
  object-fit: cover;
  transform: none;
}

.customizer-flow .preview-image[hidden] {
  display: none;
}

.customizer-flow .preview-section.is-complete .preview-canvas {
  box-shadow: 0 12px 24px rgba(87, 69, 51, 0.1);
}

.customizer-flow .buy-area {
  position: static;
  width: 100%;
  margin-top: 18px;
  text-align: right;
}

.buy-area p {
  padding-right: 0;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.buy-line {
  margin-top: 12px;
  background: rgba(87, 69, 51, 0.16);
}

.buy-area button,
.lp-download {
  width: 138px;
  height: 36px;
  border-radius: 18px;
  box-shadow: none;
  font-size: 13px;
}

.buy-area button:first-of-type {
  border: 1px solid rgba(87, 69, 51, 0.2);
  background: #fff;
}

.buy-area button:last-of-type {
  background: linear-gradient(180deg, #b7e974 0%, #8bd75c 100%);
}

.catalog-section {
  position: static;
  width: auto;
  height: auto;
  padding: 62px 72px 86px;
  border-top: 1px solid var(--soft-line);
  text-align: center;
}

.catalog-section h3 {
  position: static;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.catalog-subtitle {
  margin-top: 26px !important;
  color: rgba(87, 69, 51, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.catalog-section .section-line {
  display: none;
}

.catalog-frame {
  position: static;
  display: grid;
  width: min(740px, 100%);
  height: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 78px;
  margin: 38px auto 0;
  border: 0;
  transform: none;
}

.catalog-card,
.catalog-one,
.catalog-two,
.catalog-three,
.catalog-four {
  position: static;
  width: auto;
  text-align: center;
}

.catalog-card img {
  width: 100%;
  height: 154px;
  object-fit: cover;
}

.catalog-card h4 {
  margin-top: 18px;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.catalog-line {
  display: none;
}

.catalog-card p {
  margin-top: 8px;
  color: rgba(87, 69, 51, 0.68);
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  body {
    padding: 0;
  }

  .site {
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .first-message,
  .customizer-flow {
    grid-template-columns: 1fr;
  }

  .first-message {
    gap: 34px;
    padding: 48px 32px;
  }

  .intro-paragraph,
  .side-model {
    display: block;
    margin-right: auto;
    margin-left: auto;
  }

  .how {
    padding-right: 32px;
    padding-left: 32px;
  }

  .step-card {
    width: 100%;
    margin-top: 34px;
    border: 0;
  }

  .customizer-flow {
    width: calc(100% - 40px);
  }

  .accordion-stack {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .catalog-section {
    padding-right: 32px;
    padding-left: 32px;
  }
}

/* Editorial luxury polish */
:root {
  --paper: #fffdf9;
  --ink: #4f3d2d;
  --soft-line: #ece2d7;
  --rose: #e9c6bf;
  --rose-soft: #fbefec;
  --sage: #8fcf74;
  --sage-deep: #5f963e;
  --gold: #b9935f;
}

html,
body {
  background:
    linear-gradient(90deg, rgba(185, 147, 95, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fffdfb 0%, #f7f1e9 100%);
  background-size: 56px 100%, auto;
}

body {
  padding: 18px 0 72px;
}

.site {
  width: min(100% - 64px, 1160px);
  max-width: 1160px;
  border-color: rgba(185, 147, 95, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffefd 0%, #fffaf4 100%);
  box-shadow:
    0 38px 100px rgba(74, 52, 35, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.hero {
  height: clamp(500px, 50vw, 590px);
  border-radius: 14px 14px 0 0;
  background-position: 50% 22%;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(54, 39, 29, 0.42) 0%, rgba(54, 39, 29, 0.14) 39%, rgba(54, 39, 29, 0.02) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 35%);
}

.hero::before {
  position: absolute;
  z-index: 1;
  right: 48px;
  bottom: 42px;
  width: 148px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  color: rgba(255, 255, 255, 0.82);
  content: "BRIDAL HAIR ORNAMENT";
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  line-height: 1.8;
  text-align: right;
}

.hero-copy {
  top: 205px;
  left: 78px;
  text-shadow: 0 8px 24px rgba(48, 32, 22, 0.18);
}

.hero h1 {
  font-size: 68px;
  letter-spacing: 0.2em;
}

.hero-subtitle {
  margin-top: 18px !important;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.18em;
}

.hero-tagline {
  margin-top: 34px !important;
  font-size: 16px;
  letter-spacing: 0.18em;
}

.first-message {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 380px) minmax(0, 500px);
  justify-content: space-between;
  gap: 64px;
  padding: 70px 76px;
}

.first-message::before {
  position: absolute;
  top: 54px;
  right: 52px;
  bottom: 54px;
  width: 42%;
  border: 1px solid rgba(185, 147, 95, 0.18);
  background: linear-gradient(135deg, var(--rose-soft), rgba(255, 255, 255, 0));
  content: "";
}

.message-copy,
.plate-image {
  position: relative;
  inset: auto;
  z-index: 1;
}

.message-copy {
  max-width: 380px;
}

.lead-small,
.lead-main {
  color: #4c3929;
  font-size: 25px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.lead-main {
  max-width: 380px;
}

.lead-body {
  color: rgba(79, 61, 45, 0.78);
  font-size: 13px;
  line-height: 2.15;
}

.plate-image {
  justify-self: end;
  max-width: 500px;
  height: 400px;
  border-radius: 4px;
  box-shadow:
    0 24px 54px rgba(84, 56, 40, 0.12),
    18px 18px 0 rgba(233, 198, 191, 0.18);
}

.top-message {
  color: #4d3929;
  font-size: 23px;
  line-height: 1.8;
}

.top-message.first {
  margin-top: 104px;
}

.intro-paragraph {
  width: 350px;
  margin: 68px 0 92px 174px;
  color: rgba(79, 61, 45, 0.78);
  font-size: 13px;
  line-height: 2.35;
}

.side-model {
  width: 322px;
  height: 430px;
  margin: 54px 0 96px 150px;
  border-radius: 4px;
  box-shadow:
    0 26px 64px rgba(84, 56, 40, 0.11),
    -16px 16px 0 rgba(185, 147, 95, 0.08);
}

.how {
  padding: 68px 78px 66px;
  background:
    linear-gradient(180deg, rgba(251, 239, 236, 0.32), rgba(255, 255, 255, 0) 45%),
    #fffdf9;
}

.how h2,
.catalog-section h3 {
  color: #5a4634;
  font-size: 42px;
  letter-spacing: 0.02em;
}

.how h2::after,
.catalog-section h3::after {
  display: block;
  width: 44px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--gold);
  content: "";
}

.how-subtitle {
  margin-top: 20px !important;
  color: rgba(79, 61, 45, 0.62);
  font-size: 12px;
}

.step-card {
  margin-top: 52px;
}

.step-en {
  color: #5a4634;
  font-size: 17px;
  letter-spacing: 0.11em;
}

.step-ja {
  color: rgba(79, 61, 45, 0.68);
}

.step-card img {
  width: 112px;
  height: 112px;
  padding: 8px;
  background: linear-gradient(180deg, #f7efed, #fffdf9);
  box-shadow:
    0 16px 34px rgba(84, 56, 40, 0.09),
    0 0 0 1px rgba(185, 147, 95, 0.12);
}

.custom-note {
  color: rgba(79, 61, 45, 0.62);
}

.customizer-flow {
  width: min(980px, calc(100% - 112px));
  grid-template-columns: minmax(0, 1fr) 365px;
  margin-top: 70px;
  margin-bottom: 84px;
  border-color: rgba(185, 147, 95, 0.22);
  border-radius: 6px;
  background: #fffefd;
  box-shadow:
    0 34px 80px rgba(84, 56, 40, 0.12),
    0 0 0 10px rgba(255, 255, 255, 0.38);
}

.customizer-flow::before {
  min-width: 0;
  padding: 38px 36px 22px;
  background:
    linear-gradient(90deg, rgba(251, 239, 236, 0.8), rgba(255, 255, 255, 0) 50%, rgba(143, 207, 116, 0.08)),
    #fffefd;
  color: #4d3929;
  content: "カスタムして、完成イメージをすぐ確認。";
  font-size: 24px;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.accordion-stack {
  gap: 22px;
  padding: 32px 36px 36px;
  border-right-color: rgba(185, 147, 95, 0.18);
  background: linear-gradient(180deg, #fffefd 0%, #fffaf5 100%);
}

.accordion-trigger {
  min-height: 42px;
  border-bottom-color: rgba(185, 147, 95, 0.2);
  color: #4d3929;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.accordion-choice {
  color: rgba(79, 61, 45, 0.56);
  font-size: 11px;
}

.customizer-flow .product-frame {
  height: 190px;
  --rail-x: 34px;
  --rail-top: 4px;
  --rail-bottom: 36px;
  --card-width: 118px;
  --card-gap: 14px;
}

.customizer-flow .side-frame,
.customizer-flow .ribbon-frame,
.customizer-flow .flower-frame {
  height: 190px;
  --rail-top: 4px;
  --rail-bottom: 36px;
  --card-width: 118px;
}

.carousel-button {
  border-color: rgba(185, 147, 95, 0.28);
  color: rgba(79, 61, 45, 0.72);
}

.customizer-flow .option {
  border-radius: 4px;
  border-color: rgba(185, 147, 95, 0.16);
  background: linear-gradient(180deg, #fffefd, #faf6f3);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.customizer-flow .option:hover,
.customizer-flow .option.is-hovered {
  border-color: rgba(185, 147, 95, 0.34);
  box-shadow: 0 10px 24px rgba(84, 56, 40, 0.08);
  transform: translateY(-2px);
}

.customizer-flow .option.is-selected {
  border-color: rgba(95, 150, 62, 0.85);
  background: #fff;
  box-shadow:
    0 12px 26px rgba(95, 150, 62, 0.12),
    0 0 0 1px rgba(95, 150, 62, 0.14) inset;
}

.customizer-flow .option img,
.customizer-flow .blank-thumb {
  border-radius: 3px;
}

.customizer-flow .option h4 {
  color: #4d3929;
}

.customizer-flow .option p {
  color: rgba(79, 61, 45, 0.62);
}

.carousel-dot.is-active {
  background: var(--gold);
}

.customizer-flow .preview-section {
  padding: 32px 34px 34px;
  background:
    linear-gradient(180deg, rgba(251, 239, 236, 0.42), rgba(255, 255, 255, 0) 34%),
    #fffefd;
}

.customizer-flow .preview-section h3 {
  color: #4d3929;
  font-size: 15px;
}

.lp-template-tab {
  border-color: rgba(185, 147, 95, 0.2);
  background: #fffaf5;
  color: #4d3929;
}

.lp-template-tab.is-selected {
  border-color: rgba(95, 150, 62, 0.7);
  background: rgba(143, 207, 116, 0.16);
  color: #41682d;
}

.customizer-flow .preview-image {
  height: 380px;
  border-radius: 5px;
  box-shadow: 0 20px 46px rgba(84, 56, 40, 0.12);
}

.buy-area p {
  color: #4d3929;
  font-size: 19px;
}

.buy-area button,
.lp-download {
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.buy-area button:first-of-type {
  border-color: rgba(185, 147, 95, 0.28);
  background: #fffefd;
}

.buy-area button:last-of-type {
  background: linear-gradient(180deg, #aee37b 0%, #82cf55 100%);
  color: #3f612b;
  box-shadow: 0 10px 22px rgba(95, 150, 62, 0.18);
}

.customizer-flow .option p {
  display: none !important;
}

#lpAddToCartButton {
  border: 1px solid rgba(95, 74, 60, 0.18);
  background: #e7dfd4;
  color: rgba(95, 74, 60, 0.58);
  cursor: not-allowed;
}

#lpAddToCartButton.is-ready {
  background: #5f4a3c;
  color: #fff9f1;
  cursor: pointer;
}

#lpAddToCartButton:disabled {
  opacity: 1;
}

.checkout-flow-actions {
  padding: 0 18px 22px !important;
}

.checkout-flow-actions #checkoutSubmitButton {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 32px auto 0 !important;
  padding: 16px 24px !important;
  opacity: 1 !important;
}

.checkout-flow-actions #checkoutCancelButton {
  display: block !important;
  visibility: visible !important;
  width: fit-content !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #574533 !important;
  text-decoration: underline;
  opacity: 1 !important;
}

body.checkout-body {
  padding-top: 74px !important;
}

.checkout-body .order-page {
  margin-top: 0 !important;
  padding-top: 28px !important;
}

body.checkout-body {
  padding-top: 74px;
}

.checkout-body .order-page {
  margin-top: 0;
  padding-top: 28px;
}

.order-page {
  width: min(100% - 28px, 900px);
  margin: 24px auto 64px;
  padding: 0;
}

.order-steps {
  display: flex;
  overflow: hidden;
  margin: 0 0 30px;
  border-radius: 5px;
  background: #ececec;
}

.order-steps span {
  position: relative;
  display: grid;
  flex: 1 1 0;
  min-height: 64px;
  padding: 0 10px 0 22px;
  place-items: center;
  background: #ececec;
  color: #6f6f6f;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
}

.order-steps span::before,
.order-steps span::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
}

.order-steps span::before {
  right: -30px;
  z-index: 2;
  border-left: 30px solid #ececec;
}

.order-steps span::after {
  right: -34px;
  z-index: 1;
  border-left: 34px solid #cfcfcf;
}

.order-steps span:last-child::before,
.order-steps span:last-child::after {
  display: none;
}

.order-steps .is-current {
  background: #151515;
  color: #fff;
}

.order-steps .is-current::before {
  border-left-color: #151515;
}

.order-cart-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
}

.order-cart-panel h1 {
  text-align: center;
}

.order-cart-item {
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  background: #fffdf8;
}

.order-cart-copy {
  min-width: 0;
}

.order-cart-copy h2 {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(87, 69, 51, 0.22);
}

.order-part {
  display: inline-grid;
  gap: 2px;
}

.order-part small {
  color: rgba(87, 69, 51, 0.54);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.order-line-price {
  margin-top: 10px !important;
  font-size: 18px !important;
}

.order-quantity {
  display: grid;
  grid-template-columns: 34px 34px 34px;
  gap: 0;
  align-items: center;
  justify-items: center;
}

.order-quantity button,
.order-quantity span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(87, 69, 51, 0.42);
  background: #fffdf8;
  color: #574533;
  font-family: inherit;
}

.order-quantity button {
  cursor: pointer;
}

.order-quantity .order-remove-button {
  grid-column: 1 / -1;
  width: auto;
  min-width: 68px;
  height: 34px;
  margin-top: 10px;
  border-radius: 999px;
}

.order-summary {
  align-self: start;
}

.order-summary .checkout-submit-button {
  margin: 18px;
  width: calc(100% - 36px);
  border-color: rgba(95, 74, 60, 0.72);
  background: #5f4a3c;
}

.order-summary .checkout-cancel-button {
  margin: 0 18px 18px;
  width: calc(100% - 36px);
}

.order-confirm-details {
  display: grid;
  gap: 0;
}

.order-confirm-row {
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(87, 69, 51, 0.14);
}

.order-confirm-row span {
  color: rgba(87, 69, 51, 0.62);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.order-confirm-row strong {
  color: #574533;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.order-confirm-section-title {
  padding: 16px 18px 4px;
  color: rgba(87, 69, 51, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.payment-method-form {
  gap: 12px;
}

.payment-method-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid rgba(87, 69, 51, 0.18);
  background: #fffdf8;
}

.payment-method-option input {
  width: 18px;
  height: 18px;
}

.order-link-button {
  display: grid;
  width: min(280px, 100%);
  margin: 24px auto 0;
  place-items: center;
  text-decoration: none;
}

.checkout-summary > .checkout-form {
  display: none !important;
}

.checkout-summary > #checkoutSubmitButton,
.checkout-summary > #checkoutCancelButton,
.order-summary > #checkoutSubmitButton,
.order-summary > #checkoutCancelButton,
.order-summary > #editButton,
.order-summary > #paymentButton,
.order-summary > #paymentEditButton,
.order-summary > #completeButton,
.order-info-form > .checkout-submit-button {
  display: block !important;
}

.order-info-form + .checkout-back-link,
.checkout-back-link {
  display: inline-grid;
  min-height: 42px;
  padding: 0 18px;
  place-items: center;
  border: 1px solid rgba(87, 69, 51, 0.28);
  background: #fffdf8;
}

.checkout-flow-actions {
  padding: 0 18px 22px;
}

.checkout-flow-actions #checkoutSubmitButton {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 32px auto 0 !important;
  padding: 16px 24px !important;
  opacity: 1 !important;
}

.checkout-flow-actions #checkoutCancelButton {
  display: block !important;
  visibility: visible !important;
  width: fit-content !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #574533 !important;
  text-decoration: underline;
  opacity: 1 !important;
}

@media (max-width: 760px) {
  .order-page {
    width: 100%;
    margin: 0 auto 48px;
    padding: 0 14px;
  }

  .order-steps {
    margin-top: 12px;
  }

  .order-steps span {
    min-height: 52px;
    padding: 0 5px 0 16px;
    font-size: 11px;
  }

  .order-steps span::before,
  .order-steps span::after {
    border-top-width: 26px;
    border-bottom-width: 26px;
  }

  .order-steps span::before {
    right: -18px;
    border-left-width: 18px;
  }

  .order-steps span::after {
    right: -21px;
    border-left-width: 21px;
  }

  .order-cart-layout {
    grid-template-columns: 1fr;
  }

  .order-cart-item {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
  }

  .order-quantity {
    grid-column: 2;
    justify-self: start;
    margin-top: 10px;
  }

  .order-summary {
    margin-top: 18px;
  }
}

.catalog-section {
  padding: 76px 82px 98px;
  background:
    linear-gradient(180deg, #fffefd, #fffaf4);
}

.catalog-subtitle {
  color: rgba(79, 61, 45, 0.62);
}

.catalog-frame {
  width: min(820px, 100%);
  gap: 54px 82px;
  margin-top: 44px;
}

.catalog-card img {
  height: 188px;
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(84, 56, 40, 0.1);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.catalog-card:hover img {
  box-shadow: 0 24px 54px rgba(84, 56, 40, 0.14);
  transform: translateY(-2px);
}

.catalog-card h4 {
  color: #4d3929;
  font-size: 17px;
}

.catalog-card p {
  color: rgba(79, 61, 45, 0.62);
}

@media (max-width: 980px) {
  body {
    padding: 0;
  }

  .site {
    width: 100%;
    border-radius: 0;
  }

  .hero {
    border-radius: 0;
  }

  .hero::before {
    display: none;
  }

  .first-message::before {
    display: none;
  }

  .customizer-flow {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
  }

  .accordion-stack {
    border-right: 0;
  }
}

/* Mosaic gallery before customizer */
.catalog-section {
  padding: 78px 86px 84px;
  border-top: 1px solid rgba(185, 147, 95, 0.14);
  border-bottom: 1px solid rgba(185, 147, 95, 0.14);
  background: #fffefd;
}

.catalog-section h3 {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-section h3::after {
  display: none;
}

.catalog-subtitle {
  margin-top: 18px !important;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.catalog-frame {
  display: grid;
  width: min(780px, 100%);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 96px;
  grid-auto-flow: dense;
  gap: 14px;
  margin: 42px auto 0;
}

.catalog-card,
.catalog-one,
.catalog-two,
.catalog-three,
.catalog-four {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  overflow: hidden;
  border-radius: 2px;
  background: #f4f0ec;
  box-shadow: none;
  transform: none;
}

.catalog-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  filter: grayscale(1) contrast(0.95) brightness(1.05);
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.catalog-five img,
.catalog-twelve img {
  object-position: 50% 28%;
}

.catalog-card:hover img {
  filter: grayscale(0.15) contrast(0.98) brightness(1.02);
  transform: scale(1.025);
}

.catalog-one {
  grid-column: 1 / span 4;
  grid-row: span 2;
}

.catalog-two {
  grid-column: 5 / span 4;
  grid-row: span 2;
}

.catalog-three {
  grid-column: 9 / span 4;
  grid-row: span 2;
}

.catalog-four {
  grid-column: 1 / span 3;
  grid-row: span 2;
}

.catalog-five {
  grid-column: 4 / span 4;
  grid-row: span 2;
}

.catalog-six {
  grid-column: 8 / span 5;
  grid-row: span 2;
}

.catalog-seven {
  grid-column: 1 / span 4;
  grid-row: span 2;
}

.catalog-eight {
  grid-column: 5 / span 3;
  grid-row: span 2;
}

.catalog-nine {
  grid-column: 8 / span 5;
  grid-row: span 2;
}

.catalog-ten {
  grid-column: 1 / span 4;
  grid-row: span 2;
}

.catalog-eleven {
  grid-column: 5 / span 4;
  grid-row: span 2;
}

.catalog-twelve {
  grid-column: 9 / span 4;
  grid-row: span 2;
}

.catalog-card h4,
.catalog-card p,
.catalog-line {
  display: none;
}

.customizer-flow {
  margin-top: 86px;
}

@media (max-width: 980px) {
  .catalog-section {
    padding: 56px 28px 62px;
  }

  .catalog-section h3 {
    font-size: 21px;
  }

  .catalog-frame {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 76px;
    gap: 10px;
  }

  .catalog-card,
  .catalog-one,
  .catalog-two,
  .catalog-three,
  .catalog-four,
  .catalog-five,
  .catalog-six,
  .catalog-seven,
  .catalog-eight,
  .catalog-nine,
  .catalog-ten,
  .catalog-eleven,
  .catalog-twelve {
    grid-column: span 3;
    grid-row: span 2;
  }
}

/* Refined statement section */
.style-statement {
  display: grid;
  grid-template-columns: minmax(0, 390px) 330px;
  gap: 104px;
  align-items: center;
  justify-content: center;
  padding: 88px 86px 96px;
  border-bottom: 1px solid rgba(185, 147, 95, 0.14);
  background:
    linear-gradient(180deg, rgba(251, 239, 236, 0.18), rgba(255, 255, 255, 0) 42%),
    #fffefd;
}

.style-statement-copy {
  position: relative;
  padding-left: 28px;
}

.style-statement-copy::before {
  position: absolute;
  top: 5px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(185, 147, 95, 0.7), rgba(185, 147, 95, 0.08));
  content: "";
}

.style-kicker {
  margin: 0;
  color: var(--gold);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
}

.style-statement h2 {
  margin: 22px 0 0;
  color: #4d3929;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.style-body {
  max-width: 330px;
  margin: 24px 0 0;
  color: rgba(79, 61, 45, 0.68);
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.style-statement-figure {
  position: relative;
  width: 330px;
  margin: 0;
}

.style-statement-figure::before {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 86%;
  height: 82%;
  border: 1px solid rgba(185, 147, 95, 0.16);
  background: rgba(251, 239, 236, 0.28);
  content: "";
}

.style-statement-figure img {
  position: relative;
  display: block;
  width: 100%;
  height: 420px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 28px 68px rgba(84, 56, 40, 0.12);
}

.style-statement-figure figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .style-statement {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 58px 32px 68px;
  }

  .style-statement-copy {
    max-width: 420px;
    margin: 0 auto;
  }

  .style-statement-figure {
    width: min(330px, 100%);
    margin: 0 auto;
  }
}

/* Wider customizer usability */
.customizer-flow {
  width: min(1112px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) 405px;
  margin-top: 76px;
}

.customizer-flow::before {
  padding: 40px 44px 24px;
}

.accordion-stack {
  padding: 36px 44px 40px;
}

.customizer-flow .product-frame {
  height: 208px;
  --rail-x: 38px;
  --rail-top: 4px;
  --rail-bottom: 38px;
  --card-width: 142px;
  --card-gap: 16px;
}

.customizer-flow .side-frame,
.customizer-flow .ribbon-frame,
.customizer-flow .flower-frame {
  height: 208px;
  --rail-top: 4px;
  --rail-bottom: 38px;
  --card-width: 142px;
}

.customizer-flow .option {
  padding: 10px;
}

.customizer-flow .option h4 {
  margin-top: 9px;
  font-size: 13px;
}

.customizer-flow .option p {
  font-size: 11px;
}

.customizer-flow .preview-section {
  padding: 36px 40px 38px;
}

.customizer-flow .preview-image {
  height: 430px;
}

.lp-template-tab {
  min-width: 82px;
}

.customizer-flow .template-frame {
  margin-top: 14px;
}

.customizer-flow .template-parts .lp-template-control {
  position: static;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

.customizer-flow .template-parts .lp-template-tabs {
  display: grid;
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.customizer-flow .template-parts .lp-template-tab {
  display: grid;
  height: auto;
  min-width: 0;
  grid-template-rows: 94px minmax(0, auto);
  gap: 10px;
  padding: 8px;
  place-items: stretch;
  border-color: rgba(185, 147, 95, 0.18);
  border-radius: 5px;
  background: linear-gradient(180deg, #fffefd, #faf6f3);
  color: #4d3929;
  font: inherit;
  text-align: left;
  white-space: normal;
}

.customizer-flow .template-parts .lp-template-tab img {
  display: block;
  width: 100%;
  height: 94px;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 3px;
}

.customizer-flow .template-parts .lp-template-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.customizer-flow .template-parts .lp-template-copy strong {
  color: #4d3929;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.customizer-flow .template-parts .lp-template-copy small {
  color: rgba(79, 61, 45, 0.58);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.customizer-flow .template-parts .lp-template-tab.is-selected {
  border-color: rgba(95, 150, 62, 0.85);
  background: #fff;
  box-shadow:
    0 12px 26px rgba(95, 150, 62, 0.12),
    0 0 0 1px rgba(95, 150, 62, 0.14) inset;
}

.customizer-flow .preview-section > #lpPreviewStatus {
  display: block;
  margin-top: 12px;
}

.buy-area button,
.lp-download {
  width: 150px;
}

@media (max-width: 980px) {
  .customizer-flow {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }
}

/* Interactive hairstyle gallery */
.hairstyle-gallery {
  padding: 86px 54px 92px;
  background:
    linear-gradient(180deg, #fffefd 0%, #fbf8f3 58%, #fffefd 100%);
  border-top: 1px solid rgba(185, 147, 95, 0.14);
  border-bottom: 1px solid rgba(185, 147, 95, 0.16);
}

.gallery-heading {
  display: grid;
  width: min(1052px, 100%);
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 38px;
  align-items: end;
  margin: 0 auto;
  text-align: left;
}

.gallery-kicker {
  margin: 0 0 12px;
  color: #a17d60;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hairstyle-gallery h3 {
  margin: 0;
  color: #574533;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.12;
  text-align: left;
  text-transform: uppercase;
}

.hairstyle-gallery .catalog-subtitle {
  max-width: 420px;
  margin: 0 !important;
  color: rgba(87, 69, 51, 0.74);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 2;
  text-align: left;
}

.hair-gallery {
  display: grid;
  width: min(1052px, 100%);
  grid-template-columns: minmax(0, 1fr) 324px;
  grid-template-areas:
    "main panel";
  gap: 26px;
  margin: 44px auto 0;
}

.hair-gallery-figure {
  position: relative;
  grid-area: main;
  height: 620px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 147, 95, 0.16);
  border-radius: 6px;
  background: #f4f0ea;
  box-shadow: 0 22px 48px rgba(77, 58, 40, 0.12);
}

.hair-gallery-figure::after {
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(180deg, rgba(30, 24, 18, 0), rgba(30, 24, 18, 0.58));
  content: "";
  pointer-events: none;
}

.hair-gallery-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition:
    opacity 180ms ease,
    transform 360ms ease;
}

.hair-gallery[data-active-style="low-chignon"] .hair-gallery-figure img,
.hair-gallery[data-active-style="natural-up"] .hair-gallery-figure img {
  object-position: 50% 43%;
}

.hair-gallery[data-active-style="braid-long"] .hair-gallery-figure img,
.hair-gallery[data-active-style="pony-braid"] .hair-gallery-figure img,
.hair-gallery[data-active-style="minimal-braid"] .hair-gallery-figure img {
  object-position: 50% 39%;
}

.hair-gallery[data-active-style="half-up"] .hair-gallery-figure img {
  object-position: 50% 37%;
}

.hair-gallery-figure.is-changing img {
  opacity: 0.48;
  transform: scale(1.018);
}

.hair-gallery-figure figcaption {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 30px;
  left: 32px;
  color: #fffdf9;
  text-align: left;
}

.hair-gallery-figure figcaption span {
  display: block;
  margin-bottom: 9px;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hair-gallery-figure figcaption strong {
  display: block;
  font-family: "IPAexMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

.hair-gallery-figure figcaption p {
  max-width: 460px;
  margin: 10px 0 0;
  color: rgba(255, 253, 249, 0.86);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.hair-gallery-panel {
  grid-area: panel;
  padding: 20px 0 20px 24px;
  border-left: 1px solid rgba(117, 94, 72, 0.18);
}

.hair-gallery-panel-title {
  margin: 0 0 16px;
  color: #8f735b;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hair-gallery-tabs {
  display: grid;
  gap: 9px;
}

.hair-style-tab {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0 12px;
  width: 100%;
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid rgba(117, 94, 72, 0.13);
  border-radius: 5px;
  background: rgba(255, 253, 249, 0.72);
  color: #574533;
  cursor: pointer;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hair-style-tab span {
  align-self: start;
  color: #b9935f;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.hair-style-tab strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.hair-style-tab small {
  grid-column: 2;
  margin-top: 3px;
  color: rgba(87, 69, 51, 0.58);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.hair-style-tab:hover,
.hair-style-tab:focus-visible {
  border-color: rgba(145, 112, 78, 0.34);
  background: #fffdf9;
  transform: translateX(3px);
}

.hair-style-tab.is-active {
  border-color: rgba(87, 69, 51, 0.9);
  background: #574533;
  color: #fffdf9;
}

.hair-style-tab.is-active span,
.hair-style-tab.is-active small {
  color: rgba(255, 253, 249, 0.72);
}

@media (max-width: 980px) {
  .hairstyle-gallery {
    padding: 64px 24px 72px;
  }

  .gallery-heading,
  .hair-gallery {
    grid-template-columns: 1fr;
  }

  .hair-gallery {
    grid-template-areas:
      "main"
      "panel";
  }

  .hair-gallery-figure {
    height: 560px;
  }

  .hair-gallery-panel {
    padding: 0;
    border-left: 0;
  }

}

/* Mobile usability pass */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
    background: #fffdf9;
  }

  body {
    padding: 0;
  }

  .site {
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero {
    height: min(560px, 138vw);
    min-height: 488px;
    border-radius: 0;
    background-position: 58% 22%;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(43, 31, 23, 0.1) 0%, rgba(43, 31, 23, 0.38) 72%, rgba(43, 31, 23, 0.56) 100%),
      linear-gradient(90deg, rgba(43, 31, 23, 0.24), rgba(43, 31, 23, 0));
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    top: auto;
    right: 24px;
    bottom: 58px;
    left: 26px;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: 0.16em;
    line-height: 1.05;
  }

  .hero-subtitle {
    margin-top: 14px !important;
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .hero-tagline {
    margin-top: 28px !important;
    font-size: 14px;
    letter-spacing: 0.12em;
    line-height: 2;
  }

  .first-message {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 22px 52px;
  }

  .message-copy {
    max-width: none;
    padding: 220px 0;
  }

  .lead-small,
  .lead-main {
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1.7;
    white-space: nowrap;
  }

  .lead-main {
    margin-top: 120px !important;
  }

  .lead-body {
    margin-top: 320px !important;
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 2.05;
  }

  .plate-image {
    width: 100%;
    max-width: none;
    height: 280px;
    border-radius: 6px;
    object-position: 50% 48%;
    box-shadow: 0 18px 38px rgba(84, 56, 40, 0.1);
  }

  .page-two {
    height: auto;
    overflow: visible;
  }

  .style-statement {
    gap: 30px;
    padding: 52px 22px 58px;
  }

  .style-statement h2 {
    font-size: 21px;
    letter-spacing: 0.08em;
    line-height: 1.8;
  }

  .style-body {
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 2.05;
  }

  .style-statement-figure {
    width: 100%;
  }

  .style-statement-figure img {
    max-height: 430px;
    object-fit: cover;
  }

  .hairstyle-gallery {
    padding: 54px 16px 62px;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
  }

  .gallery-kicker {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .hairstyle-gallery h3 {
    font-size: 28px;
    letter-spacing: 0.11em;
  }

  .hairstyle-gallery .catalog-subtitle {
    max-width: none;
    font-size: 12px;
    letter-spacing: 0.05em;
    line-height: 1.9;
  }

  .hair-gallery {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "panel";
    gap: 16px;
    margin-top: 28px;
  }

  .hair-gallery > * {
    min-width: 0;
  }

  .hair-gallery-figure {
    width: 100%;
    min-width: 0;
    height: min(500px, 118vw);
    min-height: 414px;
    border-radius: 6px;
  }

  .hair-gallery-figure img {
    min-width: 0;
  }

  .hair-gallery-figure figcaption {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .hair-gallery-figure figcaption strong {
    font-size: 25px;
    letter-spacing: 0.08em;
  }

  .hair-gallery-figure figcaption p {
    max-width: 300px;
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 1.8;
  }

  .hair-gallery-panel {
    padding: 0;
    border-left: 0;
  }

  .hair-gallery-panel-title {
    margin-bottom: 10px;
  }

  .hair-gallery-tabs {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding: 0 2px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hair-gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .hair-style-tab {
    min-width: 178px;
    min-height: 68px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 12px 13px;
    scroll-snap-align: start;
  }

  .hair-style-tab:hover,
  .hair-style-tab:focus-visible {
    transform: none;
  }

  .customizer-flow {
    width: calc(100% - 18px);
    grid-template-columns: 1fr;
    margin: 44px auto 58px;
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(84, 56, 40, 0.1);
  }

  .customizer-flow::before {
    order: -2;
    padding: 28px 18px 18px;
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 1.65;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .customizer-flow .preview-section {
    order: 1;
    padding: 18px 16px 20px;
    border-top: 1px solid rgba(185, 147, 95, 0.18);
    border-bottom: 1px solid rgba(185, 147, 95, 0.18);
  }

  .customizer-flow .preview-section h3 {
    font-size: 14px;
  }

  .customizer-flow .lp-template-control {
    gap: 9px;
    margin-top: 14px;
  }

  .lp-template-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .lp-template-tabs::-webkit-scrollbar {
    display: none;
  }

  .lp-template-tab {
    min-width: 104px;
    height: 36px;
    font-size: 12px;
  }

  .customizer-flow .template-frame {
    margin-top: 12px;
  }

  .customizer-flow .template-parts .lp-template-tabs {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding: 0 2px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .customizer-flow .template-parts .lp-template-tabs::-webkit-scrollbar {
    display: none;
  }

  .customizer-flow .template-parts .lp-template-tab {
    flex: 0 0 172px;
    min-width: 172px;
    height: auto;
    grid-template-rows: 92px minmax(0, auto);
    scroll-snap-align: start;
  }

  .customizer-flow .template-parts .lp-template-tab img {
    height: 92px;
  }

  .customizer-flow #lpPreviewStatus {
    font-size: 10px;
    line-height: 1.6;
  }

  .customizer-flow .preview-image {
    height: min(432px, 112vw);
    margin-top: 16px;
    border-radius: 6px;
  }

  .customizer-flow .buy-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
    text-align: left;
  }

  .buy-area p,
  .buy-line {
    grid-column: 1 / -1;
  }

  .buy-area p {
    font-size: 18px;
  }

  .buy-area button,
  .lp-download {
    width: 100%;
    min-width: 0;
    height: 42px;
    margin-top: 0;
    font-size: 12px;
  }

  .accordion-stack {
    order: 0;
    gap: 26px;
    padding: 22px 12px 26px;
    border-right: 0;
    background: #fffefd;
  }

  .customizer-flow .parts-section h3 {
    font-size: 13px;
  }

  .accordion-trigger {
    min-height: 46px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 4px;
    line-height: 1.6;
  }

  .accordion-trigger span:first-child {
    overflow-wrap: anywhere;
  }

  .accordion-choice {
    font-size: 11px;
  }

  .customizer-flow .product-frame,
  .customizer-flow .side-frame,
  .customizer-flow .ribbon-frame,
  .customizer-flow .flower-frame {
    height: 202px;
    margin-top: 12px;
    --rail-x: 18px;
    --rail-top: 0px;
    --rail-bottom: 40px;
    --card-width: 128px;
    --card-gap: 12px;
  }

  .carousel-button {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }

  .customizer-flow .option {
    min-height: 0;
    padding: 9px;
    touch-action: pan-x;
  }

  .customizer-flow .option.is-selected {
    transform: none;
  }

  .customizer-flow .option h4 {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
  }

  .customizer-flow .option p {
    font-size: 10px;
  }

  .carousel-dots {
    right: 48px;
    bottom: 14px;
    left: 22px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 39px;
  }

  .hairstyle-gallery h3 {
    font-size: 25px;
  }

  .hair-gallery-figure {
    height: 430px;
  }

  .customizer-flow .preview-image {
    height: 380px;
  }

  .customizer-flow .product-frame,
  .customizer-flow .template-frame,
  .customizer-flow .side-frame,
  .customizer-flow .ribbon-frame,
  .customizer-flow .flower-frame {
    --card-width: 122px;
  }

  .customizer-flow .template-parts .lp-template-tab {
    flex-basis: 158px;
    min-width: 158px;
  }
}

@media (hover: hover) {
  .customizer-flow .option:hover,
  .customizer-flow .option.is-hovered {
    border-color: rgba(185, 147, 95, 0.42);
    background: #fff;
    box-shadow: 0 10px 24px rgba(84, 56, 40, 0.1);
    transform: translateY(-2px);
  }

  .customizer-flow .option.is-selected:hover,
  .customizer-flow .option.is-selected.is-hovered {
    box-shadow:
      0 12px 26px rgba(95, 150, 62, 0.14),
      0 0 0 1px rgba(95, 150, 62, 0.16) inset;
  }
}

/* Reference editorial polish */
:root {
  --ref-paper: #fbfaf7;
  --ref-ink: #4d4038;
  --ref-muted: rgba(77, 64, 56, 0.62);
  --ref-hairline: rgba(77, 64, 56, 0.16);
  --ref-warm: #eee7de;
}

html,
body {
  background: #f1ece4;
}

body {
  padding: 0;
}

.site {
  width: min(1280px, 100%);
  max-width: 1280px;
  background: var(--ref-paper);
  border: 0;
  border-radius: 0;
  color: var(--ref-ink);
  box-shadow: none;
}

.hero {
  height: 610px;
  border-radius: 0;
  background-position: 64% 30%;
  background-size: cover;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58px;
  width: 1px;
  background: linear-gradient(180deg, rgba(77, 64, 56, 0.28), rgba(77, 64, 56, 0.04) 68%, rgba(77, 64, 56, 0.22));
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.82) 0%, rgba(251, 250, 247, 0.54) 28%, rgba(251, 250, 247, 0.02) 58%),
    linear-gradient(180deg, rgba(251, 250, 247, 0) 70%, rgba(251, 250, 247, 0.08) 100%);
  content: "";
}

.hero-copy {
  top: 218px;
  left: 170px;
  color: var(--ref-ink);
  text-shadow: none;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1;
}

.hero-subtitle {
  margin-top: 24px !important;
  font-family: inherit;
  font-size: 16px !important;
  letter-spacing: 0.16em !important;
  text-transform: none;
}

.hero-tagline {
  margin-top: 52px !important;
  color: rgba(77, 64, 56, 0.84);
  font-size: 16px !important;
  letter-spacing: 0.16em !important;
  line-height: 2.1 !important;
}

.outline-button {
  display: none;
}

.first-message {
  display: grid;
  min-height: 650px;
  height: auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 420px);
  align-items: center;
  gap: 64px;
  padding: 72px 142px 70px 166px;
  background:
    radial-gradient(circle at 80% 28%, rgba(212, 203, 193, 0.28), rgba(251, 250, 247, 0) 36%),
    var(--ref-paper);
}

.message-copy {
  position: static;
}

.lead-small,
.lead-main {
  color: var(--ref-ink);
  font-size: 24px;
  letter-spacing: 0.12em;
  line-height: 1.9;
}

.lead-main {
  margin-top: 0 !important;
}

.lead-body {
  max-width: 390px;
  margin-top: 46px !important;
  color: var(--ref-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 2.05;
}

.lead-body + .lead-body {
  margin-top: 8px !important;
}

.plate-image {
  position: static;
  width: 420px;
  max-width: 100%;
  height: auto;
  justify-self: end;
  object-fit: contain;
  object-position: 50% 50%;
  border-radius: 3px;
  box-shadow: 0 18px 48px rgba(77, 64, 56, 0.08);
  filter: saturate(0.72) brightness(1.08) contrast(0.94);
}

.page-two {
  height: auto;
  background: var(--ref-paper);
}

.how-to-choose {
  width: min(1020px, calc(100% - 140px));
  margin: 44px auto 0;
  padding: 8px 0 28px;
  color: var(--ink);
  text-align: center;
}

.how-to-choose-head h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.how-to-choose-line {
  width: 302px;
  max-width: 72%;
  height: 1px;
  margin: 18px auto 0;
  background: rgba(77, 64, 56, 0.28);
}

.how-to-choose-head p {
  margin: 28px 0 0;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.how-to-choose-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin-top: 54px;
}

.choose-card {
  display: grid;
  grid-template-rows: 28px 74px 72px 184px;
  align-items: start;
  justify-items: center;
  box-sizing: border-box;
  min-width: 0;
  padding: 18px 22px 28px;
  border: 1px solid rgba(168, 139, 111, 0.5);
  background: rgba(255, 253, 249, 0.46);
  text-align: center;
}

.choose-card-number {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.choose-card-number,
.choose-card h3,
.choose-card > p:last-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  justify-self: stretch;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}

.choose-card h3 {
  margin: 18px 0 0;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.35;
  align-self: center;
}

.choose-card > p:last-of-type {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  align-self: center;
}

.choose-card-image {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 184px;
  height: 184px;
  margin: 0 auto;
  align-self: start;
  border-radius: 999px;
  background: #ece4ea;
  overflow: hidden;
}

.choose-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.choose-card-controls {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  pointer-events: none;
}

.choose-card-move,
.choose-card-zoom,
.choose-card-save {
  pointer-events: auto;
}

.choose-card-move {
  align-self: end;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.choose-card-move > div,
.choose-card-zoom {
  display: flex;
  gap: 4px;
}

.choose-card-controls button {
  border: 1px solid rgba(87, 69, 51, 0.18);
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.94);
  color: rgba(77, 64, 56, 0.92);
}

.choose-card-move button,
.choose-card-zoom button {
  width: 24px;
  height: 24px;
  font-size: 11px;
  line-height: 1;
}

.choose-card-save {
  align-self: start;
  padding: 5px 8px;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.choose-card-save.is-saved {
  background: #5f4a3c;
  color: #fff9f1;
}

.how-to-choose-foot {
  margin-top: 56px;
}

.how-to-choose-foot p {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.12em;
  line-height: 2.1;
}

.how-to-choose-foot p + p {
  margin-top: 8px;
}

.style-statement {
  display: grid;
  min-height: 460px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 72px;
  align-items: center;
  padding: 86px 152px 0 168px;
  border-top: 1px solid var(--ref-hairline);
  background:
    linear-gradient(90deg, var(--ref-paper) 0%, #fff 48%, #eee9e2 100%);
}

.style-statement-copy {
  max-width: 430px;
}

.style-kicker {
  display: flex;
  gap: 16px;
  align-items: center;
  color: rgba(77, 64, 56, 0.54);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.style-kicker::after {
  display: block;
  width: 70px;
  height: 1px;
  background: rgba(77, 64, 56, 0.42);
  content: "";
}

.style-statement h2 {
  margin-top: 30px;
  color: var(--ref-ink);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 2.05;
}

.style-body {
  max-width: 410px;
  margin-top: 36px !important;
  color: var(--ref-muted);
  font-size: 13px;
  letter-spacing: 0.07em;
  line-height: 2.05;
}

.style-statement-figure {
  width: 100%;
  margin: 0;
  align-self: end;
}

.style-statement-figure img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: 50% 36%;
  border-radius: 0;
}

.style-statement-figure figcaption {
  display: none;
}

.hairstyle-gallery {
  padding: 88px 146px 88px;
  border-top: 1px solid var(--ref-hairline);
  border-bottom: 1px solid var(--ref-hairline);
  background: linear-gradient(180deg, #fffefa 0%, var(--ref-paper) 100%);
}

.gallery-heading {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 82px;
}

.gallery-heading > div {
  position: relative;
  padding-left: 26px;
}

.gallery-heading > div::before {
  position: absolute;
  top: 0;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: rgba(77, 64, 56, 0.36);
  content: "";
}

.gallery-kicker {
  display: none;
}

.hairstyle-gallery h3 {
  color: var(--ref-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hairstyle-gallery .catalog-subtitle {
  max-width: 380px;
  color: var(--ref-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 2;
}

.hair-gallery {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 60px;
  margin-top: 46px;
}

.hair-gallery-figure {
  height: 402px;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}

.hair-gallery-figure::after {
  inset: 44% 0 0;
  background: linear-gradient(180deg, rgba(38, 30, 24, 0), rgba(38, 30, 24, 0.46));
}

.hair-gallery-figure figcaption {
  right: 34px;
  bottom: 30px;
  left: 34px;
}

.hair-gallery-figure figcaption strong {
  font-size: 26px;
  letter-spacing: 0.12em;
}

.hair-gallery-panel {
  padding: 2px 0 0;
  border-left: 0;
}

.hair-gallery-panel-title {
  margin-bottom: 22px;
  color: rgba(77, 64, 56, 0.7);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hair-gallery-panel-title::before {
  margin-right: 8px;
  content: "☆";
}

.hair-gallery-tabs {
  gap: 0;
  border-top: 1px solid var(--ref-hairline);
}

.hair-style-tab {
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 8px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--ref-hairline);
  border-radius: 0;
  background: transparent;
}

.hair-style-tab span,
.hair-style-tab small {
  display: none;
}

.hair-style-tab strong {
  grid-column: 1;
  color: rgba(77, 64, 56, 0.72);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.hair-style-tab::after {
  align-self: center;
  color: rgba(77, 64, 56, 0.58);
  content: "›";
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.hair-style-tab.is-active {
  background: transparent;
  color: var(--ref-ink);
}

.hair-style-tab.is-active strong {
  color: var(--ref-ink);
}

.customizer-heading {
  width: min(1020px, calc(100% - 140px));
  margin: 94px auto 18px;
}

.customizer-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.customizer-flow {
  width: min(1020px, calc(100% - 140px));
  grid-template-columns: minmax(0, 1fr) 410px;
  margin: 0 auto 86px;
  border-color: rgba(77, 64, 56, 0.08);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(77, 64, 56, 0.07);
}

.customizer-flow::before {
  display: none;
  content: none;
}

.accordion-stack {
  gap: 20px;
  padding: 30px 32px 34px;
  border-right-color: rgba(77, 64, 56, 0.1);
  background: rgba(255, 255, 255, 0.64);
}

.customizer-flow .parts-section h3 {
  font-size: 12px;
}

.accordion-trigger {
  min-height: 34px;
  border-bottom-color: var(--ref-hairline);
  color: var(--ref-ink);
  font-family: "Work Sans", "Yu Mincho", serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.accordion-choice {
  color: rgba(77, 64, 56, 0.5);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.customizer-flow .template-frame {
  margin-top: 12px;
}

.customizer-flow .template-parts .lp-template-tabs {
  gap: 14px;
}

.customizer-flow .template-parts .lp-template-tab {
  grid-template-rows: 76px minmax(0, auto);
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.customizer-flow .template-parts .lp-template-tab img {
  height: 76px;
  border: 1px solid var(--ref-hairline);
  border-radius: 2px;
}

.customizer-flow .template-parts .lp-template-copy strong {
  font-size: 11px;
}

.customizer-flow .template-parts .lp-template-copy small {
  font-size: 9px;
}

.customizer-flow .template-parts .lp-template-tab.is-selected {
  background: transparent;
  box-shadow: none;
}

.customizer-flow .template-parts .lp-template-tab.is-selected img {
  border-color: rgba(91, 133, 69, 0.8);
  box-shadow: 0 0 0 1px rgba(91, 133, 69, 0.25);
}

.customizer-flow .product-frame,
.customizer-flow .side-frame,
.customizer-flow .ribbon-frame,
.customizer-flow .flower-frame {
  height: 142px;
  margin-top: 12px;
  --rail-x: 34px;
  --rail-top: 0px;
  --rail-bottom: 28px;
  --card-width: 96px;
  --card-gap: 18px;
}

.customizer-flow .option {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.customizer-flow .option img,
.customizer-flow .blank-thumb {
  height: 76px;
  border: 1px solid var(--ref-hairline);
  border-radius: 2px;
  background: #f4f1ed;
  display: block !important;
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.customizer-flow .option h4 {
  margin-top: 9px;
  color: var(--ref-ink);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.customizer-flow .option p {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.customizer-flow .option.is-selected {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.customizer-flow .option.is-selected img,
.customizer-flow .option.is-selected .blank-thumb {
  border-color: rgba(91, 133, 69, 0.8);
  box-shadow: 0 0 0 1px rgba(91, 133, 69, 0.24);
}

.customizer-flow .option.is-selected::after {
  top: 4px;
  right: 4px;
  min-width: 40px;
  height: 18px;
  border-color: rgba(91, 133, 69, 0.65);
  color: #5b8545;
  font-size: 9px;
}

.carousel-button {
  width: 28px;
  height: 28px;
  border-color: rgba(77, 64, 56, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  color: rgba(77, 64, 56, 0.5);
  font-size: 20px;
}

.carousel-dots {
  right: 38px;
  bottom: 7px;
  left: 38px;
}

.carousel-dot {
  width: 20px;
  height: 2px;
  background: rgba(77, 64, 56, 0.14);
}

.carousel-dot.is-active {
  background: #a88b6f;
}

.customizer-flow .preview-section {
  padding: 32px 58px 36px;
  background: rgba(255, 255, 255, 0.72);
}

.customizer-flow .preview-section h3 {
  color: var(--ref-ink);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.customizer-flow .preview-section > #lpPreviewStatus {
  margin-top: 8px;
  color: rgba(77, 64, 56, 0.54);
  font-size: 11px;
}

.customizer-flow .preview-stage {
  display: grid;
  position: relative;
  width: 100%;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 3px;
  touch-action: none;
  cursor: grab;
}

.customizer-flow .preview-stage > .preview-image {
  grid-area: 1 / 1;
}

.customizer-flow .preview-stage.is-adjusting {
  cursor: grabbing;
}

.customizer-flow .preview-stage:not(.is-adjusting-enabled) {
  cursor: default;
}

.customizer-flow .preview-image {
  height: 200px;
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
  object-position: 50% 82%;
  pointer-events: auto;
  touch-action: none;
  transition: none;
}

.customizer-flow .preview-image.is-switching {
  animation: none;
}

.customizer-flow .preview-stage.is-switching .preview-selection-chip {
  animation: none;
}

.preview-layout {
  position: relative;
  display: block;
}

.preview-selection-aside {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: block;
  width: 104px;
  max-width: 104px;
  pointer-events: none;
}

.preview-selection-stack {
  display: flex;
  max-width: 104px;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.preview-zoom-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.preview-zoom-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(87, 69, 51, 0.18);
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.92);
  color: rgba(77, 64, 56, 0.92);
  font-size: 18px;
  line-height: 1;
}

.preview-move-controls {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.preview-move-controls > div {
  display: flex;
  gap: 6px;
}

.preview-move-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(87, 69, 51, 0.18);
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.92);
  color: rgba(77, 64, 56, 0.92);
  font-size: 14px;
  line-height: 1;
}

.preview-save-control {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  padding: 7px 10px;
  border: 1px solid rgba(87, 69, 51, 0.18);
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.92);
  color: rgba(77, 64, 56, 0.92);
  font-size: 10px;
}

.preview-save-control.is-saved {
  background: #5f4a3c;
  color: #fff9f1;
}

.preview-selection-chip {
  display: block;
  padding: 5px 7px;
  border: 1px solid rgba(87, 69, 51, 0.2);
  border-radius: 10px;
  background: rgba(255, 251, 241, 0.9);
  box-shadow: 0 8px 18px rgba(87, 69, 51, 0.12);
}

.preview-selection-chip strong {
  display: block;
  color: rgba(77, 64, 56, 0.96);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
  word-break: break-word;
}


@media (min-width: 560px) {
  .customizer-flow .preview-section {
    position: relative;
    min-height: 520px;
  }

  .preview-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .customizer-flow .preview-stage {
    width: min(420px, 100%);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .customizer-flow .preview-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .preview-selection-aside {
    position: static;
    width: 136px;
    min-width: 136px;
    max-width: none;
    padding-top: 96px;
  }

  .preview-selection-stack {
    max-width: 136px;
    gap: 10px;
  }
}

.preview-image[hidden] {
  display: none !important;
}


#stylePreviewCanvas[hidden] {
  display: none !important;
}

.buy-area {
  margin-top: 20px;
}

.buy-area p {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.buy-area button,
.lp-download {
  width: 230px;
  height: 36px;
  border-radius: 999px;
  font-size: 12px;
}

.buy-area button:last-child {
  background: #5f4a3c;
  color: #fff9f1;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 40px 24px 34px;
  border-top: 1px solid var(--ref-hairline);
  background: linear-gradient(180deg, #f6f1eb, #fbfaf7);
  color: rgba(77, 64, 56, 0.68);
  text-align: center;
}

.footer-logo {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.3em;
}

.footer-subtitle,
.footer-copy {
  margin: 0;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
}

@media (max-width: 900px) {
  .site {
    width: 100%;
  }

  .hero {
    height: min(610px, 130vw);
    min-height: 520px;
    background-position: 62% 28%;
  }

  .hero::before {
    left: 26px;
  }

  .hero-copy {
    top: auto;
    right: 28px;
    bottom: 60px;
    left: 56px;
  }

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

  .first-message,
  .style-statement {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 58px 28px;
  }

  .plate-image {
    width: min(340px, 100%);
    height: auto;
    justify-self: center;
    margin-top: -72px;
    margin-bottom: 22px;
  }

  .style-statement-figure img {
    height: min(460px, 116vw);
  }

  .hairstyle-gallery {
    padding: 64px 26px 66px;
  }

  .gallery-heading,
  .hair-gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hair-gallery-figure {
    height: min(460px, 116vw);
  }

  .hair-gallery-tabs {
    display: grid;
  }

  .customizer-flow {
    width: calc(100% - 18px);
    grid-template-columns: 1fr;
    margin: 44px auto 60px;
  }

  .customizer-flow::before {
    padding: 28px 22px 20px;
    font-size: 17px;
    text-align: left;
  }

  .accordion-stack {
    padding: 24px 18px 28px;
    border-right: 0;
  }

  .customizer-flow .template-parts .lp-template-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .customizer-flow .template-parts .lp-template-tabs::-webkit-scrollbar {
    display: none;
  }

  .customizer-flow .template-parts .lp-template-tab {
    flex: 0 0 172px;
    scroll-snap-align: start;
  }

  .customizer-flow .product-frame,
  .customizer-flow .side-frame,
  .customizer-flow .ribbon-frame,
  .customizer-flow .flower-frame {
    height: 154px;
    --rail-x: 18px;
    --rail-bottom: 32px;
    --card-width: 116px;
    --card-gap: 14px;
  }

  .customizer-flow .option img,
  .customizer-flow .blank-thumb {
    height: 86px;
  }

  .customizer-flow .preview-section {
    order: 1;
    padding: 22px 18px 28px;
    border-top: 1px solid var(--ref-hairline);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .customizer-flow .preview-section h3,
  .customizer-flow .preview-section .section-line,
  .customizer-flow #lpPreviewStatus,
  .customizer-flow .buy-area {
    width: 100%;
  }

  .customizer-flow .preview-stage {
    width: min(420px, 100%) !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .customizer-flow .preview-image {
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }

  .buy-area button,
  .lp-download {
    width: 100%;
  }
}

.style-chat {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(77, 64, 56, 0.12);
  border-radius: 6px;
  background: rgba(255, 253, 249, 0.78);
}

.accordion-stack > .style-chat {
  margin-top: 6px;
}

.style-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.style-chat-head p {
  margin: 0;
  color: var(--ref-ink, var(--ink));
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.style-chat-head span {
  flex: 0 0 auto;
  color: rgba(77, 64, 56, 0.54);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.style-chat-head span[data-tone="pending"] {
  color: #a07236;
}

.style-chat-head span[data-tone="ready"] {
  color: #5b8545;
}

.style-chat-head span[data-tone="error"] {
  color: #a04b43;
}

.style-chat-log {
  display: flex;
  max-height: 124px;
  margin-top: 12px;
  padding-right: 4px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
}

.style-chat-message {
  max-width: 92%;
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.65;
}

.style-chat-message-assistant {
  align-self: flex-start;
  border: 1px solid rgba(77, 64, 56, 0.08);
  background: rgba(246, 241, 235, 0.9);
  color: rgba(77, 64, 56, 0.82);
}

.style-chat-message-user {
  align-self: flex-end;
  background: #5f4a3c;
  color: #fff9f1;
}

.style-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.style-chat-suggestions button,
.style-chat-form button {
  min-height: 32px;
  border: 1px solid rgba(77, 64, 56, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(77, 64, 56, 0.72);
  cursor: pointer;
  font-family: "Work Sans", "Yu Mincho", serif;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.style-chat-suggestions button {
  padding: 0 10px;
}

.style-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 8px;
  margin-top: 10px;
}

.style-chat-form input {
  min-width: 0;
  height: 36px;
  border: 1px solid rgba(77, 64, 56, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ref-ink, var(--ink));
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.03em;
  outline: none;
  padding: 0 11px;
}

.style-chat-form input:focus-visible {
  border-color: rgba(91, 133, 69, 0.78);
  box-shadow: 0 0 0 2px rgba(91, 133, 69, 0.12);
}

.style-chat-form button {
  background: #5f4a3c;
  color: #fff9f1;
}

@media (max-width: 900px) {
  .style-chat {
    margin-top: 16px;
  }

  .style-chat-log {
    max-height: 150px;
  }
}

@media (max-width: 420px) {
  .style-chat-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .style-chat-form {
    grid-template-columns: 1fr;
  }
}

.customizer-flow .preview-section {
  grid-column: 1 / -1;
  order: 2;
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
  margin-top: 8px;
}

.customizer-flow .preview-image {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  transform: none;
}

.customizer-flow .buy-area {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  margin-top: 18px;
}

.product-list-section {
  grid-column: 1 / -1;
  order: 3;
  margin-top: 40px;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.product-list-heading h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.product-list-heading p {
  margin: 0;
  color: rgba(87, 69, 51, 0.72);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.product-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(87, 69, 51, 0.16);
  background: rgba(255, 253, 248, 0.86);
}

.product-list-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(87, 69, 51, 0.16);
  background: #fffefb;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.product-list-card:hover {
  border-color: rgba(87, 69, 51, 0.34);
  box-shadow: 0 14px 30px rgba(87, 69, 51, 0.1);
  transform: translateY(-2px);
}

.product-list-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f7f4f0;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-list-meta {
  display: grid;
  gap: 6px;
  padding: 12px 12px 14px;
}

.product-list-meta p,
.product-list-meta h4 {
  margin: 0;
}

.product-list-meta p {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.product-list-meta h4 {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.product-list-meta a {
  color: rgba(87, 69, 51, 0.64);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.product-list-meta button {
  min-height: 38px;
  margin-top: 4px;
  border: 1px solid rgba(87, 69, 51, 0.55);
  background: #574533;
  color: #fffbf1;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .product-list-section {
    margin-top: 34px;
  }

  .product-list-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 16px;
    gap: 6px;
  }

  .product-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
  }

  .product-list-meta {
    padding: 10px 10px 12px;
  }

  .product-list-meta p {
    font-size: 11px;
  }

  .product-list-meta h4 {
    font-size: 14px;
  }
}

.product-page {
  width: min(100% - 48px, 1120px);
  margin: 32px auto 64px;
  padding: 0 0 28px;
  border: 1px solid var(--soft-line);
  background: #fffefb;
  box-shadow: 0 22px 70px rgba(87, 69, 51, 0.08);
}

.product-back-link {
  display: inline-block;
  padding: 28px 34px 0;
  color: rgba(87, 69, 51, 0.74);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: start;
  padding: 22px 34px 20px;
}

.product-detail-figure {
  margin: 0;
}

.product-detail-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f7f4f0;
}

.product-detail-kicker {
  margin: 0;
  color: rgba(87, 69, 51, 0.62);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.product-detail-copy h1 {
  margin: 14px 0 0;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
}

.product-detail-price {
  margin: 20px 0 0;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 28px;
  letter-spacing: 0.06em;
}

.product-detail-description {
  margin: 26px 0 0;
  color: rgba(87, 69, 51, 0.82);
  font-size: 15px;
  line-height: 2;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.product-detail-actions button,
.product-detail-actions a {
  display: inline-grid;
  min-width: 180px;
  min-height: 52px;
  padding: 0 22px;
  place-items: center;
  border: 1px solid rgba(87, 69, 51, 0.2);
  background: #fffefb;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.product-detail-actions button {
  border-color: rgba(87, 69, 51, 0.72);
  background: #6f5645;
  color: #fff9f2;
}

@media (max-width: 900px) {
  .product-page {
    width: calc(100% - 18px);
    margin: 16px auto 40px;
  }

  .product-back-link {
    padding: 20px 18px 0;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px 18px 22px;
  }

  .product-detail-copy h1 {
    font-size: 30px;
  }

  .product-detail-price {
    font-size: 24px;
  }

  .product-detail-actions {
    flex-direction: column;
  }

  .product-detail-actions button,
  .product-detail-actions a {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .how-to-choose {
    width: calc(100vw - 32px);
    margin: 24px auto 0;
    padding: 0 0 16px;
  }

  .how-to-choose-head h2 {
    font-size: 28px;
  }

  .how-to-choose-line {
    width: 220px;
    max-width: 82%;
    margin-top: 14px;
  }

  .how-to-choose-head p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
  }

  .how-to-choose-cards {
    gap: 0;
    margin-top: 34px;
    border: 1px solid rgba(168, 139, 111, 0.5);
    background: rgba(255, 253, 249, 0.46);
  }

  .choose-card {
    grid-template-rows: 24px 66px 64px min(26vw, 108px);
    justify-items: center;
    padding: 12px 6px 16px;
    border: 0;
    background: transparent;
  }

  .choose-card + .choose-card {
    border-left: 1px solid rgba(168, 139, 111, 0.38);
  }

  .choose-card-number {
    font-size: 16px;
  }

  .choose-card h3 {
    margin-top: 12px;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.35;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .choose-card > p:last-of-type {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.45;
  }

  .choose-card-image {
    width: min(26vw, 108px);
    height: min(26vw, 108px);
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .choose-card-controls {
    padding: 4px;
  }

  .choose-card-move {
    gap: 2px;
  }

  .choose-card-move > div,
  .choose-card-zoom {
    gap: 2px;
  }

  .choose-card-move button,
  .choose-card-zoom button {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .choose-card-save {
    padding: 4px 6px;
    font-size: 7px;
  }

  .how-to-choose-foot {
    margin-top: 34px;
  }

  .how-to-choose-foot p {
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 1.9;
  }

  .customizer-heading {
    width: calc(100vw - 16px);
    margin: 56px auto 16px;
  }

  .customizer-heading h3 {
    font-size: 22px;
  }

  .customizer-flow {
    display: block !important;
    box-sizing: border-box !important;
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    margin: 28px auto 44px !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  .accordion-stack {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .customizer-flow > *,
  .accordion-stack > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .customizer-flow .parts-section {
    box-sizing: border-box !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(185, 147, 95, 0.16) !important;
    background: #fffefb !important;
  }

  .customizer-flow .parts-section h3 {
    min-width: 0;
    font-size: 14px;
  }

  .accordion-trigger {
    min-height: 58px;
    padding: 0 14px;
  }

  .accordion-trigger span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }

  .customizer-flow .template-frame,
  .customizer-flow .product-frame,
  .customizer-flow .side-frame,
  .customizer-flow .ribbon-frame,
  .customizer-flow .flower-frame {
    box-sizing: border-box !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding: 12px 0 10px !important;
    overflow: hidden !important;
    --rail-x: 0px !important;
    --rail-top: 0px !important;
    --rail-bottom: 0px !important;
  }

  .customizer-flow .template-parts .lp-template-control {
    box-sizing: border-box !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .customizer-flow .template-parts .lp-template-tabs {
    display: flex !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 14px 8px !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  .customizer-flow .template-parts .lp-template-tab {
    flex: 0 0 156px !important;
    min-width: 156px !important;
    max-width: 156px !important;
    grid-template-rows: 88px auto !important;
    scroll-snap-align: start !important;
  }

  .customizer-flow .template-parts .lp-template-tab img {
    height: 88px;
  }

  .customizer-flow .carousel-viewport {
    box-sizing: border-box !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 14px 8px !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  .customizer-flow .carousel-track {
    gap: 10px;
    padding: 0;
  }

  .customizer-flow .option {
    flex: 0 0 116px;
    width: 116px;
    min-width: 116px;
    height: auto;
    padding: 8px;
  }

  .customizer-flow .option img,
  .customizer-flow .blank-thumb {
    height: 86px;
  }

  .customizer-flow .preview-section {
    order: 2 !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 14px 18px !important;
    overflow: hidden !important;
  }

  .customizer-flow .preview-section h3,
  .customizer-flow .preview-section .section-line,
  .customizer-flow #lpPreviewStatus {
    position: static;
  }

  .customizer-flow .preview-section .section-line {
    width: 100%;
    margin: 10px 0 12px;
  }

  .customizer-flow #lpPreviewStatus {
    display: block;
    margin: 0 0 12px;
  }

  .customizer-flow .preview-image {
    display: block !important;
    width: min(340px, 100%) !important;
    max-width: 340px !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 340 / 454 !important;
    margin-top: 0 !important;
    object-fit: cover !important;
    transition:
      transform 220ms ease,
      object-position 220ms ease !important;
  }

  .style-chat {
    margin-top: 14px;
    padding: 12px;
  }

  .style-chat-form {
    grid-template-columns: 1fr;
  }

  .customizer-flow .buy-area {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 14px !important;
  }

  .product-list-section {
    order: 3 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 18px 14px 20px !important;
    overflow: hidden !important;
  }

  .product-list-grid {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .product-list-card,
  .product-list-card img,
  .product-list-meta {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

.hero::before,
.hero::after {
  pointer-events: none !important;
}

.hero-stage {
  z-index: 2 !important;
}

.hero-image {
  pointer-events: auto !important;
}

.hero {
  height: calc(100vh - 64px) !important;
  min-height: 720px !important;
  max-height: 900px !important;
}

.hero-stage {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(580px, 100%) !important;
  height: 100% !important;
  transform: none !important;
}

.hero-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 32% !important;
}

.hero-copy {
  z-index: 3 !important;
  top: 338px !important;
  right: auto !important;
  bottom: auto !important;
  left: 56px !important;
  pointer-events: none !important;
}

.hero-tagline {
  margin-top: 0 !important;
  line-height: 1.9 !important;
}

.hero-subtitle-row {
  display: flex;
  justify-content: center;
  padding: 104px 24px 0;
  background: var(--paper);
}

.hero-subtitle {
  position: static;
  margin: 0 !important;
  color: rgba(77, 64, 56, 0.88) !important;
  font-size: 16px !important;
  letter-spacing: 0.16em !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  .checkout-page {
    padding: 22px 14px 34px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .checkout-panel {
    padding: 18px 14px;
  }

  .checkout-panel h1 {
    font-size: 24px;
  }

  .checkout-item {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }

  .checkout-item img {
    width: 86px;
    height: 114px;
  }

  .hero {
    height: calc(100vh - 64px) !important;
    min-height: 640px !important;
    max-height: 820px !important;
  }

  .hero-stage {
    width: min(520px, 100%) !important;
    height: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
  }

  .hero-copy {
    top: 356px !important;
    right: auto !important;
    bottom: auto !important;
    left: 28px !important;
  }

  .hero-subtitle-row {
    padding: 96px 20px 0;
  }

  .hero-subtitle {
    margin: 0 !important;
    font-size: 16px !important;
  }
}

.ribbon-frame .option img {
  object-fit: contain !important;
  object-position: 50% 34% !important;
  padding: 6px 10px 0 !important;
  background: #f7f4f2 !important;
  image-rendering: auto !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (min-width: 761px) {
  .customizer-flow .preview-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .customizer-flow .preview-section h3,
  .customizer-flow .preview-section .section-line,
  .customizer-flow #lpPreviewStatus,
  .customizer-flow .buy-area {
    width: 100% !important;
  }

  .customizer-flow .preview-stage {
    width: 320px !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .customizer-flow .preview-image {
    width: 100% !important;
    height: auto !important;
    max-width: 320px !important;
    aspect-ratio: 320 / 427 !important;
  }
}

.customizer-flow .option p {
  display: none !important;
}

#lpAddToCartButton {
  border: 1px solid rgba(95, 74, 60, 0.18) !important;
  background: #e7dfd4 !important;
  color: rgba(95, 74, 60, 0.58) !important;
  cursor: not-allowed;
}

#lpAddToCartButton.is-ready {
  background: #5f4a3c !important;
  color: #fff9f1 !important;
  cursor: pointer;
}

#lpAddToCartButton:disabled {
  opacity: 1;
}

/* Editor-only image framing controls. Hidden on public builds unless local/edit mode is active. */
.hero-zoom-controls,
.hero-save-control,
.choose-card-controls,
.preview-move-controls,
.preview-zoom-controls,
.preview-save-control {
  display: none !important;
}

html.kirali-editor-tools .hero-zoom-controls,
html.kirali-editor-tools .hero-save-control,
html.kirali-editor-tools .choose-card-controls,
html.kirali-editor-tools .preview-move-controls,
html.kirali-editor-tools .preview-zoom-controls,
html.kirali-editor-tools .preview-save-control {
  display: flex !important;
}

html.kirali-editor-tools .choose-card-controls {
  display: flex !important;
}

html.kirali-editor-tools .preview-move-controls {
  display: grid !important;
}

/* Refined hero layout: framed image on a soft beige brand field. */
:root {
  --kirali-hero-bg: #e9dfd2;
  --kirali-hero-paper: #fbf7ee;
  --kirali-hero-frame: #fffaf1;
  --kirali-hero-ink: #1f1a16;
}

html,
body {
  background: var(--kirali-hero-bg) !important;
}

.site {
  background: var(--kirali-hero-paper) !important;
}

.site-header {
  background: rgba(251, 247, 238, 0.96) !important;
}

.hero {
  position: relative !important;
  display: grid !important;
  min-height: min(920px, calc(100svh - 74px)) !important;
  height: auto !important;
  max-height: none !important;
  padding: 26px 28px 74px !important;
  align-items: start !important;
  background: var(--kirali-hero-bg) !important;
  overflow: hidden !important;
}

.hero::before,
.hero::after {
  display: none !important;
}

.hero-stage {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  width: min(86%, 840px) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 24px 0 0 auto !important;
  aspect-ratio: 10 / 15 !important;
  padding: 16px !important;
  transform: none !important;
  background: var(--kirali-hero-frame) !important;
  box-shadow: 0 28px 70px rgba(80, 62, 48, 0.08) !important;
  touch-action: pan-y !important;
}

.hero-slides {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #f4f1eb !important;
  contain: layout paint !important;
}

.hero-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  opacity: 0 !important;
  transform: translateZ(0);
  transition: opacity 1200ms ease !important;
  will-change: opacity !important;
  backface-visibility: hidden !important;
}

.hero-image.is-active {
  opacity: 1 !important;
}

html.kirali-editor-tools .hero-stage {
  touch-action: none !important;
}

.hero-copy {
  position: absolute !important;
  z-index: 3 !important;
  top: clamp(260px, 42vw, 470px) !important;
  left: clamp(44px, 7vw, 76px) !important;
  right: auto !important;
  bottom: auto !important;
  width: min(280px, 34%) !important;
  pointer-events: none !important;
}

.hero-tagline {
  margin: 0 !important;
  color: var(--kirali-hero-ink) !important;
  font-size: clamp(18px, 2.3vw, 25px) !important;
  letter-spacing: 0.38em !important;
  line-height: 1.9 !important;
  writing-mode: horizontal-tb !important;
  text-align: left !important;
  text-shadow: 0 1px 12px rgba(251, 247, 238, 0.58) !important;
}

.hero-copy .outline-button {
  display: none !important;
}

.page-two {
  margin-top: 0 !important;
  padding-top: clamp(36px, 6vw, 72px) !important;
  background: var(--kirali-hero-paper) !important;
}

.how-to-choose {
  margin-top: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    transition: opacity 1ms linear !important;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 28px !important;
  }

  .hero-stage {
    width: min(84%, 860px) !important;
    margin-right: 8px !important;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: min(780px, calc(100svh - 64px)) !important;
    padding: 16px 14px 48px !important;
  }

  .hero-stage {
    width: calc(100% - 18px) !important;
    margin: 12px 0 0 auto !important;
    padding: 10px !important;
    aspect-ratio: 9 / 14 !important;
    box-shadow: 0 18px 46px rgba(80, 62, 48, 0.07) !important;
  }

  .hero-copy {
    top: clamp(230px, 58vw, 360px) !important;
    left: 24px !important;
    width: min(260px, 58%) !important;
  }

  .hero-tagline {
    font-size: clamp(16px, 5vw, 22px) !important;
    letter-spacing: 0.28em !important;
    line-height: 1.85 !important;
  }
}
