/* ==========================================================================
   Salon Reservation SaaS — 5 Templates × 5 Colors Design Comparison Gallery
   Zero-Base CSS Architecture (5 Independent Design Systems + Studio Dock)
   ========================================================================== */

:root {
  /* Default Brand Color Tokens (Dynamically updated by computeHarmonizedTokens) */
  --brand-raw: #A49178;
  --brand-action: #A49178;
  --brand-on-action: #FFFFFF;
  --brand-deep: #5C4E3C;
  --brand-tint: rgba(164, 145, 120, 0.07);
  --brand-tint-strong: rgba(164, 145, 120, 0.14);
  --brand-border: rgba(164, 145, 120, 0.38);
  --brand-focus: rgba(164, 145, 120, 0.22);

  /* Font Stacks for the 5 Design Systems */
  --font-ml-serif: "Cormorant Garamond", "Shippori Mincho", "Yu Mincho", serif;
  --font-ml-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --font-sf-sans: "Plus Jakarta Sans", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-sf-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --font-me-display: "Syne", "Inter", "Helvetica Neue", sans-serif;
  --font-me-sans: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --font-no-serif: "Zen Old Mincho", "Shippori Mincho", serif;
  --font-no-sans: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;

  --font-ps-sans: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
}

body {
  min-height: 100vh;
  background-color: #F9F6F0;
  color: #1C1A17;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   COMPARISON STUDIO DOCK (Visually Separated Admin/Evaluator Switcher)
   ========================================================================== */

.studio-dock {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(18, 18, 21, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #F3F3F6;
  border-bottom: 1px solid #2D2D35;
  font-family: var(--font-ps-sans);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.studio-dock-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-row-templates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.studio-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: #23232A;
  border: 1px solid #353540;
  border-radius: 4px;
  flex-shrink: 0;
}

.studio-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-raw);
  box-shadow: 0 0 8px var(--brand-raw);
}

.studio-badge-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #B6B6C2;
}

.studio-template-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 2px 0;
}

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

.studio-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #1D1D24;
  border: 1px solid #2E2E38;
  color: #A2A2B0;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.studio-tab-btn:hover {
  background: #272730;
  color: #FFFFFF;
}

.studio-tab-btn.is-active {
  background: #FFFFFF;
  color: #121215;
  border-color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.studio-tab-num {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

.studio-tab-btn.is-active .studio-tab-num {
  opacity: 1;
  color: #55555E;
}

.studio-collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 5px;
  background: #23232B;
  border: 1px solid #363642;
  color: #C8C8D4;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.studio-collapse-btn:hover {
  background: #30303B;
  color: #FFFFFF;
}

/* Bottom Row of Studio Dock */
.studio-row-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid #25252D;
  flex-wrap: wrap;
}

.studio-template-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.studio-meta-num {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.studio-meta-desc {
  font-size: 11px;
  color: #9A9AA8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-Controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.studio-palette-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-control-label {
  font-size: 11px;
  color: #9A9AA8;
  white-space: nowrap;
}

.studio-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-swatch-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.studio-swatch-btn:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.studio-swatch-btn.is-active {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 2px #121215, 0 0 0 4px #FFFFFF;
  transform: scale(1.08);
}

.studio-active-color-name {
  font-size: 11px;
  color: #D8D8E2;
  font-variant-numeric: tabular-nums;
  min-width: 125px;
  white-space: nowrap;
}

.studio-hex-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-hex-field {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1E1E26;
  border: 1px solid #343442;
  border-radius: 5px;
  padding: 2px 6px 2px 3px;
}

#customHexPicker {
  width: 20px;
  height: 20px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

#customHexPicker::-webkit-color-swatch-wrapper {
  padding: 0;
}

#customHexPicker::-webkit-color-swatch {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

#customHexInput {
  width: 66px;
  background: transparent;
  border: none;
  color: #F3F3F6;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  outline: none;
}

.studio-thumb-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 5px;
  background: #23232C;
  border: 1px solid #383846;
  color: #E2E2EC;
  font-size: 11px;
  white-space: nowrap;
}

.thumb-toggle-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
}

.studio-thumb-toggle.is-off .thumb-toggle-indicator {
  background: #71717A;
}

/* Floating Restore Pill when Studio Dock is Collapsed */
.studio-restore-pill {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(18, 18, 21, 0.92);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-ps-sans);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.studio-restore-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-raw);
  border: 1px solid #FFFFFF;
}

.studio-restore-action {
  font-size: 11px;
  font-weight: 400;
  color: #B8B8C6;
  padding-left: 6px;
  border-left: 1px solid #3A3A46;
}

@media (max-width: 768px) {
  .studio-dock-inner {
    padding: 8px 10px;
    gap: 6px;
  }
  .studio-row-templates {
    flex-wrap: wrap;
    gap: 6px;
  }
  .studio-brand-badge {
    display: none;
  }
  .studio-template-tabs {
    order: 2;
    width: 100%;
    flex: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    overflow: visible;
  }
  .studio-tab-btn {
    padding: 6px 6px;
    font-size: 11px;
    justify-content: center;
  }
  .studio-collapse-btn {
    order: 1;
    margin-left: auto;
    padding: 3px 8px;
    font-size: 10.5px;
  }
  .studio-template-meta {
    display: none;
  }
  .studio-Controls-right {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }
  .studio-active-color-name {
    display: none;
  }
}


/* ==========================================================================
   TEMPLATE 01: MINIMAL LUXURY (.ml-*)
   Worldview: High-Class Spa & Fine-Dining Menu Book
   Typography: Cormorant Garamond × Shippori Mincho
   Structure: Symmetrical Header + Leader-Line Menu Ledger + 0px Sharp Frames
   ========================================================================== */

.ml-canvas {
  min-height: 100vh;
  background-color: #F9F6F0;
  color: #1C1A17;
  font-family: var(--font-ml-jp);
  padding: 40px 20px 136px;
  transition: background-color 0.25s ease;
}

.ml-sheet {
  max-width: 680px;
  margin: 0 auto;
  background-color: #FDFBF7;
  border: 1px solid #DED6C8;
  outline: 1px solid #EAE3D5;
  outline-offset: -6px;
  padding: 52px 48px 44px;
  box-shadow: 0 16px 48px rgba(28, 26, 23, 0.04);
}

.ml-header {
  text-align: center;
  padding-bottom: 32px;
}

.ml-eyebrow {
  font-family: var(--font-ml-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: #7D756B;
  margin-bottom: 10px;
}

.ml-brand {
  font-family: var(--font-ml-serif);
  font-size: 46px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.05;
  color: #1C1A17;
}

.ml-vertical-rule {
  width: 1px;
  height: 26px;
  background-color: var(--brand-action);
  margin: 18px auto;
}

.ml-lead {
  font-size: 13.5px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: #544E46;
  max-width: 460px;
  margin: 0 auto;
}

/* Roman Numeral Stepper */
.ml-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  margin-bottom: 36px;
  border-top: 1px solid #E5DEC9;
  border-bottom: 1px solid #E5DEC9;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #9A9186;
}

.ml-step {
  white-space: nowrap;
}

.ml-step.is-active {
  color: var(--brand-deep);
  font-weight: 600;
  position: relative;
}

.ml-step-line {
  width: 18px;
  height: 1px;
  background-color: #DCD4C6;
}

/* Section Head */
.ml-section-head {
  text-align: center;
  margin-bottom: 28px;
}

.ml-section-title {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #1C1A17;
  margin-bottom: 8px;
}

.ml-section-sub {
  font-size: 12.5px;
  color: #766E64;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* Fine-Dining Ledger Rows */
.ml-ledger {
  border-top: 1px solid #D8CFC0;
}

.ml-item {
  padding: 26px 20px;
  border-bottom: 1px solid #E5DEC9;
  border-left: 3px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.ml-item:hover {
  background-color: rgba(244, 239, 229, 0.55);
}

.ml-item.is-selected {
  background-color: var(--brand-tint);
  border-left-color: var(--brand-action);
}

.ml-item-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.ml-item-titles {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.ml-item-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1C1A17;
}

.ml-item-en {
  font-family: var(--font-ml-serif);
  font-style: italic;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: #847B70;
}

.ml-item-leader {
  flex: 1;
  min-width: 24px;
  height: 1px;
  border-bottom: 1px dotted #C6BCAE;
  transform: translateY(-4px);
}

.ml-item-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}

.ml-item-price {
  font-family: var(--font-ml-serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1C1A17;
  font-variant-numeric: tabular-nums;
}

.ml-item-tax {
  font-size: 10.5px;
  color: #847B70;
}

.ml-item-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.ml-item-text {
  flex: 1;
  min-width: 0;
}

.ml-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brand-deep);
  margin-bottom: 8px;
}

.ml-meta-divider {
  color: #CFC6B8;
}

.ml-meta-badge {
  font-weight: 600;
}

.ml-item-desc {
  font-size: 13.5px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: #544E46;
  margin-bottom: 16px;
}

.ml-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ml-detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #6E665C;
  border-bottom: 1px solid #C8BFAF;
  padding-bottom: 2px;
}

.ml-detail-toggle:hover {
  color: #1C1A17;
  border-bottom-color: #1C1A17;
}

.ml-select-btn {
  padding: 8px 18px;
  border-radius: 0;
  border: 1px solid var(--brand-action);
  background-color: transparent;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all 0.18s ease;
}

.ml-select-btn:hover {
  background-color: var(--brand-tint-strong);
}

.ml-select-btn.is-selected {
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  border-color: var(--brand-action);
}

.ml-detail-list {
  margin-top: 14px;
  padding: 12px 16px;
  background-color: #F6F2E9;
  border-left: 2px solid var(--brand-action);
  list-style: none;
  font-size: 12.5px;
  line-height: 1.8;
  color: #544E46;
}

.ml-detail-list li::before {
  content: "・";
  color: var(--brand-deep);
}

.ml-thumb-frame {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid #D8CFC0;
  background-color: #FFFFFF;
}

.ml-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.ml-salon-info {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #E5DEC9;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.8;
  color: #847B70;
}

/* Minimal Luxury Sticky Bottom Bar */
.ml-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background-color: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #D8CFC0;
  box-shadow: 0 -8px 28px rgba(28, 26, 23, 0.06);
}

.ml-sticky-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ml-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ml-summary-label {
  font-family: var(--font-ml-serif);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #847B70;
}

.ml-summary-val {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #544E46;
}

.ml-summary-val strong {
  font-size: 15px;
  font-weight: 600;
  color: #1C1A17;
  letter-spacing: 0.05em;
}

.ml-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 0;
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.ml-cta-btn:hover {
  opacity: 0.92;
}

@media (max-width: 640px) {
  .ml-canvas {
    padding: 16px 14px 128px;
  }
  .ml-sheet {
    padding: 32px 20px 28px;
  }
  .ml-brand {
    font-size: 36px;
  }
  .ml-stepper {
    font-size: 10.5px;
    gap: 6px;
  }
  .ml-step-line {
    width: 10px;
  }
  .ml-item {
    padding: 22px 12px;
  }
  .ml-item-en {
    display: none;
  }
  .ml-sticky-inner {
    padding: 12px 16px;
  }
  .ml-cta-btn {
    padding: 12px 18px;
    font-size: 12px;
  }
}


/* ==========================================================================
   TEMPLATE 02: SOFT FEMININE (.sf-*)
   Worldview: Graceful Curves, Pill Badges & Nuance Layers
   Typography: Plus Jakarta Sans × Zen Kaku Gothic New
   Structure: Capsule Header + 20px Soft Cushion Cards + 999px Pill Buttons
   ========================================================================== */

.sf-canvas {
  min-height: 100vh;
  background-color: #FAF6F4;
  background-image: radial-gradient(circle at 50% 0%, var(--brand-tint-strong) 0%, transparent 55%);
  color: #362E30;
  font-family: var(--font-sf-jp);
  padding: 36px 20px 136px;
}

.sf-container {
  max-width: 620px;
  margin: 0 auto;
}

.sf-header {
  text-align: center;
  margin-bottom: 24px;
}

.sf-location-capsule {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background-color: var(--brand-tint-strong);
  color: var(--brand-deep);
  font-family: var(--font-sf-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.sf-brand {
  font-family: var(--font-sf-sans);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #362E30;
  margin-bottom: 10px;
}

.sf-lead {
  font-size: 13.5px;
  line-height: 1.85;
  color: #786C6F;
  max-width: 440px;
  margin: 0 auto;
}

/* Soft Pill Stepper */
.sf-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #EFE6E8;
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0 auto 30px;
  max-width: 480px;
}

.sf-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9E9094;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.sf-step-pill.is-active {
  background-color: var(--brand-tint-strong);
  color: var(--brand-deep);
  font-weight: 700;
}

.sf-step-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #EFE6E8;
  color: #8A7C80;
  font-family: var(--font-sf-sans);
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sf-step-pill.is-active .sf-step-circle {
  background-color: var(--brand-action);
  color: var(--brand-on-action);
}

.sf-step-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #E2D5D8;
}

.sf-section-intro {
  text-align: center;
  margin-bottom: 20px;
}

.sf-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #362E30;
  margin-bottom: 6px;
}

.sf-section-sub {
  font-size: 12.5px;
  color: #786C6F;
}

/* Soft Cushion Cards (20px Radius) */
.sf-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sf-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid #EFE7E9;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(100, 75, 82, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.sf-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(100, 75, 82, 0.07);
}

.sf-card.is-selected {
  border-color: var(--brand-action);
  background-image: linear-gradient(180deg, var(--brand-tint) 0%, #FFFFFF 48%);
  box-shadow: 0 10px 28px var(--brand-focus);
}

.sf-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.sf-pill-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sf-time-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background-color: #F5EFEF;
  color: #6E6063;
  font-size: 11.5px;
  font-weight: 500;
}

.sf-tag-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background-color: var(--brand-tint-strong);
  color: var(--brand-deep);
  font-size: 11.5px;
  font-weight: 700;
}

.sf-price-tag {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-shrink: 0;
}

.sf-price-num {
  font-family: var(--font-sf-sans);
  font-size: 21px;
  font-weight: 700;
  color: #362E30;
  font-variant-numeric: tabular-nums;
}

.sf-price-tax {
  font-size: 10.5px;
  color: #8C7E81;
}

.sf-card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sf-card-info {
  flex: 1;
  min-width: 0;
}

.sf-card-title {
  font-size: 17.5px;
  font-weight: 700;
  color: #362E30;
  margin-bottom: 6px;
}

.sf-card-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #786C6F;
}

.sf-thumb-box {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #F0E6E8;
}

.sf-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-detail-box {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background-color: #FAF6F5;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.8;
  color: #695D60;
}

.sf-detail-box li::before {
  content: "・";
  color: var(--brand-deep);
}

.sf-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #F4ECED;
}

.sf-expand-link {
  font-size: 12px;
  font-weight: 500;
  color: #8A7C80;
}

.sf-expand-link:hover {
  color: #362E30;
}

.sf-select-pill {
  padding: 8px 20px;
  border-radius: 999px;
  background-color: var(--brand-tint-strong);
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.18s ease;
}

.sf-select-pill:hover {
  filter: brightness(0.96);
}

.sf-select-pill.is-selected {
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  box-shadow: 0 4px 12px var(--brand-focus);
}

.sf-footer-note {
  margin-top: 32px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.8;
  color: #938588;
}

/* Soft Feminine Sticky Bar */
.sf-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid #EFE6E8;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 30px rgba(80, 58, 64, 0.08);
}

.sf-sticky-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sf-sticky-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sf-sticky-caption {
  font-size: 11px;
  color: #8E8084;
}

.sf-sticky-selected {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
  color: #362E30;
}

.sf-sticky-price {
  font-family: var(--font-sf-sans);
  font-weight: 700;
  color: var(--brand-deep);
}

.sf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px var(--brand-focus);
  transition: transform 0.15s ease;
}

.sf-cta-btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .sf-canvas {
    padding: 24px 16px 128px;
  }
  .sf-brand {
    font-size: 32px;
  }
  .sf-stepper {
    padding: 6px 10px;
    gap: 4px;
  }
  .sf-step-pill {
    padding: 4px 7px;
    font-size: 11px;
  }
  .sf-card {
    padding: 18px 18px;
  }
}


/* ==========================================================================
   TEMPLATE 03: MODERN EDITORIAL (.me-*)
   Worldview: Fashion Magazine Masthead & Architectural Grid
   Typography: Syne × Inter / Noto Sans JP
   Structure: Asymmetric Masthead + 01–05 Big Index 3-Column Exposed Grid
   ========================================================================== */

.me-canvas {
  min-height: 100vh;
  background-color: #FFFFFF;
  color: #111111;
  font-family: var(--font-me-sans);
  padding: 36px 20px 136px;
}

.me-shell {
  max-width: 780px;
  margin: 0 auto;
  border: 2px solid #111111;
  background-color: #FFFFFF;
}

/* Asymmetric Magazine Masthead */
.me-masthead {
  display: grid;
  grid-template-columns: 1fr 250px;
  border-bottom: 2px solid #111111;
}

.me-masthead-brand {
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.me-brand {
  font-family: var(--font-me-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: #111111;
  margin-bottom: 12px;
}

.me-brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #4A4A4A;
}

.me-masthead-meta {
  border-left: 1.5px solid #111111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #F8F8F8;
}

.me-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #111111;
}

.me-meta-row:last-child {
  border-bottom: none;
  background-color: var(--brand-tint-strong);
  color: var(--brand-deep);
}

.me-meta-row span {
  color: #666666;
  font-weight: 600;
}

.me-meta-row strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Section Structural Bar */
.me-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background-color: #111111;
  color: #FFFFFF;
  border-bottom: 1.5px solid #111111;
}

.me-section-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.me-section-code {
  padding: 3px 8px;
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  font-family: var(--font-me-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.me-section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.me-section-count {
  font-family: var(--font-me-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #CCCCCC;
}

/* 3-Column Architectural Index Grid */
.me-grid-list {
  display: flex;
  flex-direction: column;
}

.me-row {
  display: grid;
  grid-template-columns: 76px 1fr 210px;
  border-bottom: 1.5px solid #111111;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.me-row:last-child {
  border-bottom: none;
}

.me-row:hover {
  background-color: #FAFAFA;
}

.me-row.is-selected {
  background-color: var(--brand-tint);
}

/* Column 1: Big Index Number */
.me-col-index {
  border-right: 1.5px solid #111111;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: #F4F4F4;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.me-row.is-selected .me-col-index {
  background-color: var(--brand-action);
  color: var(--brand-on-action);
}

.me-index-num {
  font-family: var(--font-me-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.me-index-check {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  margin-top: 12px;
  opacity: 0.75;
}

/* Column 2: Main Editorial Description */
.me-col-main {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.me-title-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.me-item-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111111;
}

.me-item-en {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666666;
}

.me-item-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 16px;
}

.me-meta-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.me-tag-box {
  padding: 3px 8px;
  border: 1px solid #111111;
  background-color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.me-spec-toggle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.me-spec-list {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #111111;
  background-color: #FFFFFF;
  list-style: none;
  font-size: 12px;
  line-height: 1.75;
  color: #222222;
}

.me-spec-list li::before {
  content: "— ";
  font-weight: 700;
}

/* Column 3: Price, Square Thumbnail & Action Box */
.me-col-aside {
  border-left: 1.5px solid #111111;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.me-aside-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.me-price-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.me-price {
  font-family: var(--font-me-sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111111;
  font-variant-numeric: tabular-nums;
}

.me-duration {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #555555;
}

.me-thumb-wrap {
  width: 56px;
  height: 56px;
  border: 1.5px solid #111111;
  flex-shrink: 0;
}

.me-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.me-select-box {
  width: 100%;
  padding: 9px 10px;
  border: 1.5px solid #111111;
  background-color: #FFFFFF;
  color: #111111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  transition: all 0.15s ease;
}

.me-select-box:hover {
  background-color: #F0F0F0;
}

.me-select-box.is-selected {
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  border-color: #111111;
}

.me-footer {
  border-top: 2px solid #111111;
  padding: 16px 20px;
  background-color: #F4F4F4;
  font-size: 11px;
  line-height: 1.7;
  color: #444444;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Modern Editorial Sticky Bar */
.me-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background-color: #FFFFFF;
  border-top: 2px solid #111111;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.me-sticky-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.me-sticky-status {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.me-status-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-deep);
}

.me-status-val {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
}

.me-status-val strong {
  font-size: 15px;
  font-weight: 800;
}

.me-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  border: 1.5px solid #111111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .me-canvas {
    padding: 16px 12px 136px;
  }
  .me-masthead {
    grid-template-columns: 1fr;
  }
  .me-masthead-brand {
    padding: 20px 18px;
  }
  .me-brand {
    font-size: 38px;
  }
  .me-masthead-meta {
    border-left: none;
    border-top: 1.5px solid #111111;
  }
  .me-section-bar {
    padding: 10px 14px;
  }
  .me-section-heading {
    font-size: 11.5px;
    letter-spacing: 0.04em;
  }
  .me-section-count {
    display: none;
  }
  .me-row {
    grid-template-columns: 52px 1fr;
  }
  .me-col-index {
    grid-row: 1 / 3;
    padding: 16px 6px;
  }
  .me-index-num {
    font-size: 20px;
  }
  .me-col-main {
    padding: 16px 16px 12px;
  }
  .me-col-aside {
    grid-column: 2;
    border-left: none;
    border-top: 1px dashed #111111;
    padding: 12px 16px 16px;
  }
  .me-sticky-inner {
    padding: 10px 14px;
    gap: 10px;
  }
  .me-status-val {
    gap: 4px;
    font-size: 11.5px;
  }
  .me-status-val strong {
    font-size: 13.5px;
  }
  .me-cta-btn {
    padding: 11px 14px;
    font-size: 11px;
    gap: 6px;
    letter-spacing: 0.04em;
  }
}


/* ==========================================================================
   TEMPLATE 04: NATURAL ORGANIC (.no-*)
   Worldview: Unbleached Linen, Deep Umber Ink & Categorized Panels
   Typography: Zen Old Mincho × Zen Kaku Gothic New
   Structure: Guidance Box + Category Groups + Split Dashed Footer Panels
   ========================================================================== */

.no-canvas {
  min-height: 100vh;
  background-color: #F4EFE6;
  color: #2C2620;
  font-family: var(--font-no-sans);
  padding: 36px 20px 136px;
}

.no-container {
  max-width: 650px;
  margin: 0 auto;
}

.no-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.no-header-main {
  text-align: left;
}

.no-kicker {
  font-family: var(--font-no-serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--brand-deep);
  margin-bottom: 6px;
}

.no-brand {
  font-family: var(--font-no-serif);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2C2620;
  line-height: 1.1;
  margin-bottom: 6px;
}

.no-area {
  font-size: 12.5px;
  color: #70665B;
  letter-spacing: 0.04em;
}

.no-guidance-card {
  background-color: #EBE4D8;
  border-left: 3px solid var(--brand-action);
  border-radius: 4px 10px 10px 4px;
  padding: 14px 18px;
}

.no-guidance-text {
  font-size: 13px;
  line-height: 1.85;
  color: #4A4239;
}

/* Organic Breadcrumb Stepper */
.no-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background-color: #FAF8F3;
  border: 1px solid #DFD7CA;
  border-radius: 8px;
  margin-bottom: 32px;
  font-size: 12px;
  color: #8C8275;
}

.no-step.is-active {
  color: var(--brand-deep);
  font-weight: 700;
}

.no-step-sep {
  color: #C9BFAEE0;
}

/* Categorized Menu Blocks */
.no-menus-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.no-category-head {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #D8CFC1;
}

.no-category-title {
  font-family: var(--font-no-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #2C2620;
  margin-bottom: 4px;
}

.no-category-sub {
  font-size: 12.5px;
  color: #6E655A;
}

.no-panel-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Two-Tier Linen Panels (10px Radius + Split Dashed Footer) */
.no-panel {
  background-color: #FAF8F3;
  border: 1.5px solid #DFD7CA;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.no-panel:hover {
  border-color: #C7BCAE;
}

.no-panel.is-selected {
  border-color: var(--brand-action);
  box-shadow: 0 6px 20px rgba(44, 38, 32, 0.06);
}

.no-panel-upper {
  padding: 20px 22px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.no-panel-text {
  flex: 1;
  min-width: 0;
}

.no-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.no-item-title {
  font-family: var(--font-no-serif);
  font-size: 18px;
  font-weight: 600;
  color: #2C2620;
  letter-spacing: 0.04em;
}

.no-item-badge {
  padding: 3px 9px;
  border-radius: 6px;
  background-color: var(--brand-tint-strong);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 700;
}

.no-item-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: #5C5349;
  margin-bottom: 10px;
}

.no-detail-btn {
  font-size: 12px;
  color: var(--brand-deep);
  font-weight: 500;
}

.no-thumb-box {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #E2D9CC;
}

.no-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-detail-drawer {
  margin: 0 22px 16px;
  padding: 12px 16px;
  background-color: #F2ECE1;
  border-radius: 8px;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.8;
  color: #4E463D;
}

.no-detail-drawer li::before {
  content: "・";
  color: var(--brand-deep);
}

/* Split Dashed Footer inside Each Panel */
.no-panel-footer {
  padding: 12px 22px;
  background-color: #F2ECE1;
  border-top: 1px dashed #D3C9BA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.no-panel.is-selected .no-panel-footer {
  background-color: var(--brand-tint-strong);
  border-top-color: var(--brand-border);
}

.no-duration-label {
  font-size: 12px;
  color: #6E655A;
}

.no-footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.no-price-label {
  font-family: var(--font-no-serif);
  font-size: 18px;
  font-weight: 600;
  color: #2C2620;
  font-variant-numeric: tabular-nums;
}

.no-price-label small {
  font-size: 11px;
  font-weight: 400;
  color: #6E655A;
}

.no-select-btn {
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid var(--brand-action);
  background-color: #FAF8F3;
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.18s ease;
}

.no-select-btn.is-selected {
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  border-color: var(--brand-action);
}

.no-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #D8CFC1;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.8;
  color: #7D7266;
}

/* Natural Organic Sticky Bar */
.no-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background-color: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #D8CFC1;
  box-shadow: 0 -6px 24px rgba(44, 38, 32, 0.07);
}

.no-sticky-inner {
  max-width: 650px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.no-sticky-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.no-sticky-label {
  font-size: 11px;
  color: #70665B;
}

.no-sticky-val {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #4A4239;
}

.no-sticky-val strong {
  font-family: var(--font-no-serif);
  font-size: 15.5px;
  color: #2C2620;
}

.no-cta-btn {
  padding: 13px 24px;
  border-radius: 8px;
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .no-canvas {
    padding: 20px 14px 128px;
  }
  .no-brand {
    font-size: 32px;
  }
  .no-panel-upper {
    padding: 16px 16px 14px;
  }
  .no-panel-footer {
    padding: 12px 16px;
  }
}


/* ==========================================================================
   TEMPLATE 05: PURE SIMPLE (.ps-*)
   Worldview: Functional Swiss Minimalism & High-Speed Scannability
   Typography: Inter × Noto Sans JP
   Structure: Split Progress Header + Inset Grouped Radio List + 6px Radius
   ========================================================================== */

.ps-canvas {
  min-height: 100vh;
  background-color: #FFFFFF;
  color: #111111;
  font-family: var(--font-ps-sans);
  padding: 28px 20px 132px;
}

.ps-container {
  max-width: 600px;
  margin: 0 auto;
}

/* Compact Split Header with Progress Bar */
.ps-header {
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #E5E5EA;
}

.ps-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ps-brand-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ps-brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
}

.ps-area-tag {
  font-size: 12px;
  font-weight: 500;
  color: #6E6E73;
}

.ps-step-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.ps-step-text {
  font-size: 11.5px;
  font-weight: 600;
  color: #6E6E73;
  font-variant-numeric: tabular-nums;
}

.ps-progress-bar {
  width: 88px;
  height: 4px;
  background-color: #E5E5EA;
  border-radius: 999px;
  overflow: hidden;
}

.ps-progress-fill {
  display: block;
  width: 25%;
  height: 100%;
  background-color: var(--brand-action);
  border-radius: 999px;
}

/* Section Heading */
.ps-section-head {
  margin-bottom: 16px;
}

.ps-section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111111;
  margin-bottom: 4px;
}

.ps-section-desc {
  font-size: 13px;
  color: #6E6E73;
  line-height: 1.6;
}

/* Inset Grouped Radio List Container */
.ps-list-group {
  border: 1px solid #E5E5EA;
  border-radius: 10px;
  background-color: #FFFFFF;
  overflow: hidden;
}

.ps-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #E5E5EA;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ps-row:last-child {
  border-bottom: none;
}

.ps-row:hover {
  background-color: #FAFAFC;
}

.ps-row.is-selected {
  background-color: var(--brand-tint);
  border-left-color: var(--brand-action);
}

/* Circular Radio Control */
.ps-radio-col {
  padding-top: 2px;
  flex-shrink: 0;
}

.ps-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #C7C7CC;
  background-color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.ps-row.is-selected .ps-radio-circle {
  border-color: var(--brand-action);
  background-color: var(--brand-action);
}

.ps-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-on-action);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s ease;
}

.ps-row.is-selected .ps-radio-dot {
  opacity: 1;
  transform: scale(1);
}

/* Main Content Column */
.ps-main-col {
  flex: 1;
  min-width: 0;
}

.ps-row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.ps-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ps-item-title {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
}

.ps-duration-chip {
  padding: 2px 7px;
  border-radius: 4px;
  background-color: #F2F2F7;
  color: #48484A;
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ps-badge-chip {
  padding: 2px 7px;
  border-radius: 4px;
  background-color: var(--brand-tint-strong);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 600;
}

.ps-price-group {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-shrink: 0;
}

.ps-item-price {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  font-variant-numeric: tabular-nums;
}

.ps-item-tax {
  font-size: 10.5px;
  color: #8E8E93;
}

.ps-item-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #555558;
  margin-bottom: 8px;
}

.ps-detail-toggle {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
}

.ps-detail-list {
  margin-top: 10px;
  padding: 10px 14px;
  background-color: #F5F5F7;
  border-radius: 6px;
  list-style: none;
  font-size: 12px;
  line-height: 1.75;
  color: #48484A;
}

.ps-detail-list li::before {
  content: "• ";
  color: var(--brand-deep);
}

.ps-thumb-col {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #E5E5EA;
}

.ps-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.75;
  color: #8E8E93;
}

/* Pure Simple Sticky Bar */
.ps-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid #E5E5EA;
}

.ps-sticky-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ps-sticky-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ps-sticky-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #8E8E93;
}

.ps-sticky-val {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #111111;
}

.ps-sticky-meta {
  font-size: 12.5px;
  color: #6E6E73;
  font-variant-numeric: tabular-nums;
}

.ps-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  background-color: var(--brand-action);
  color: var(--brand-on-action);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ps-canvas {
    padding: 20px 16px 124px;
  }
  .ps-row {
    padding: 16px 14px;
    gap: 12px;
  }
}
