:root {
  --page-panel: #fffaf4;
  --page-panel-strong: #ffffff;
  --page-border: rgba(53, 39, 30, 0.1);
  --page-shadow: 0 20px 54px rgba(39, 24, 13, 0.08);
}

body.page-body {
  background:
    radial-gradient(circle at top right, rgba(230, 206, 182, 0.35), transparent 22%),
    linear-gradient(180deg, #fffdf9 0%, #f8f2eb 100%);
}

.page-main {
  padding: 12px 0 0;
}

.page-section {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 28px 0;
}

.page-title-pill,
.section-pill-neutral {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 14px 22px 12px;
  border: 1px solid rgba(176, 106, 63, 0.14);
  border-radius: 28px;
  background: #fffaf4;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.page-title-pill p,
.section-pill-neutral p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6f4a33;
}

.page-title-pill img,
.section-pill-neutral img {
  width: 88px;
}

.page-hero-grid,
.page-split-grid,
.contact-page-grid,
.detail-hero-grid,
.detail-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  align-items: center;
}

.page-hero-grid {
  padding-top: 24px;
}

.page-copy-card,
.page-feature-panel,
.page-white-card,
.contact-form-panel,
.detail-copy-panel,
.detail-diagram-panel,
.comparison-panel,
.review-card,
.contact-meta-card {
  border: 1px solid var(--page-border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--page-shadow);
}

.page-text-block,
.contact-copy-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-copy-card {
  padding: 28px;
}

.page-kicker {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a5f3a;
}

.page-copy-card h1,
.page-copy-card h2,
.page-text-block h2,
.page-feature-panel h2,
.detail-copy-panel h1,
.detail-section-heading h2,
.contact-copy-panel h1 {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
  color: #191614;
}

.page-copy-card h1,
.contact-copy-panel h1,
.detail-copy-panel h1 {
  font-size: clamp(2.35rem, 4.4vw, 4rem);
}

.page-copy-card h2,
.page-text-block h2,
.page-feature-panel h2,
.detail-section-heading h2 {
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
}

.page-copy-card p,
.page-feature-panel p,
.page-text-block p,
.philosophy-copy p,
.contact-copy-panel p,
.contact-meta-card p,
.detail-copy-panel p,
.detail-section-body p,
.review-card p {
  color: #665c54;
  line-height: 1.74;
}

.page-copy-card .button,
.page-feature-panel .button,
.contact-copy-panel .button {
  margin-top: 10px;
}

.page-hero-stack {
  position: relative;
  min-height: 420px;
}

.page-stack-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(53, 39, 30, 0.08);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(39, 24, 13, 0.14);
}

.page-stack-card--large {
  left: 0;
  top: 0;
  width: 74%;
  padding: 22px;
}

.page-stack-card--small {
  right: 0;
  bottom: 0;
  width: 48%;
}

.page-stack-card--large p {
  margin: 0 0 18px;
  max-width: 28ch;
  color: #65584d;
  line-height: 1.7;
}

.page-stack-image {
  border-radius: 24px;
  overflow: hidden;
  height: 190px;
}

.page-stack-image img,
.story-media-card img,
.daily-card img,
.contact-feature-media img,
.catalog-card__media img,
.detail-main-image img,
.thumb-button img,
.detail-diagram-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-stack-card--small .page-stack-image {
  height: 210px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  padding: 22px 20px;
  border: 1px solid var(--page-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.metric-card .stat-number,
.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1.95rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #b06a3f;
}

.metric-card .metric-label {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.metric-card p {
  margin: 0;
  color: #544a43;
}

.feature-card-grid,
.daily-grid,
.review-grid,
.catalog-grid {
  display: grid;
  gap: 22px;
}

.feature-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.daily-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.daily-card {
  padding: 22px;
  border: 1px solid var(--page-border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(39, 24, 13, 0.08);
}

.feature-card h3,
.daily-card h3,
.catalog-card__body h3,
.review-card h3 {
  margin: 0 0 8px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #261f1a;
}

.feature-card p,
.daily-card p {
  margin: 0;
  color: #665c54;
  line-height: 1.68;
}

.story-band {
  padding: 26px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(247, 228, 201, 0.8), rgba(255, 248, 240, 0.98));
  border: 1px solid rgba(176, 106, 63, 0.12);
  box-shadow: var(--page-shadow);
}

.story-media-card {
  overflow: hidden;
  min-height: 430px;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(39, 24, 13, 0.16);
}

.page-feature-panel {
  padding: 24px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.philosophy-shell {
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f8e4c2, #f2d7b2);
  border: 1px solid rgba(176, 106, 63, 0.16);
}

.philosophy-preview {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 18px;
  margin-bottom: 16px;
  align-items: center;
}

.philosophy-preview-media {
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(39, 24, 13, 0.18);
}

.philosophy-tabs {
  display: grid;
}

.philosophy-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid rgba(176, 106, 63, 0.22);
  background: transparent;
  text-align: left;
  color: #5b4638;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.philosophy-tab .indicator {
  opacity: 0;
  transition: opacity 180ms ease;
}

.philosophy-tab.is-active {
  color: #241b16;
}

.philosophy-tab.is-active .indicator {
  opacity: 1;
}

.philosophy-copy {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--page-border);
  box-shadow: var(--page-shadow);
}

.philosophy-copy p {
  margin: 0 0 12px;
}

.philosophy-copy p:last-child {
  margin-bottom: 0;
}

.daily-card {
  padding: 0;
  overflow: hidden;
}

.daily-card img {
  height: 200px;
}

.daily-card__body {
  padding: 18px 20px 22px;
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--page-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(39, 24, 13, 0.08);
  overflow: hidden;
}

.catalog-card.is-filtered-out {
  display: none;
}

.catalog-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  aspect-ratio: 1 / 1.04;
  padding: 18px;
  background: linear-gradient(180deg, #4b4948, #242322);
}

.catalog-card__media.is-light {
  background: linear-gradient(180deg, #ede1d0, #fbf5ea);
}

.catalog-card__media img {
  object-fit: contain;
}

.catalog-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  flex: 1 1 auto;
}

.catalog-card__body p {
  margin: 0;
  color: #665c54;
  line-height: 1.58;
}

.catalog-card__body > p:not(.catalog-card__price) {
  display: none;
}

.catalog-card__price {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a5f3a;
}

.catalog-card__body h3 {
  min-height: 2.8em;
}

.catalog-card .button {
  width: 100%;
  margin-top: auto;
}

.catalog-empty {
  padding: 28px;
  border: 1px solid var(--page-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.catalog-empty h3 {
  margin: 0 0 8px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #261f1a;
}

.catalog-empty p {
  margin: 0;
  color: #665c54;
}

.detail-hero {
  position: relative;
}

.detail-hero::before,
.detail-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: url("./assets/page-kit/element-1.png") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.detail-hero::before {
  left: -130px;
  top: 110px;
}

.detail-hero::after {
  right: -130px;
  top: 36px;
}

.detail-hero-grid {
  align-items: start;
  position: relative;
  z-index: 1;
}

.detail-gallery {
  display: grid;
  gap: 16px;
}

.detail-main-image {
  overflow: hidden;
  min-height: 430px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(39, 24, 13, 0.18);
  background: #ffffff;
}

.detail-thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thumb-button {
  overflow: hidden;
  width: 82px;
  height: 82px;
  padding: 4px;
  border: 1px solid rgba(176, 106, 63, 0.18);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.thumb-button img {
  border-radius: 10px;
}

.thumb-button.is-active {
  border-color: #b06a3f;
}

.detail-copy-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.detail-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(176, 106, 63, 0.12);
  color: #8c522d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-sales-note {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a5f3a;
}

.detail-subtitle {
  margin: 0;
  color: #9a5f3a;
  font-weight: 700;
  line-height: 1.65;
}

.detail-rating {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #5d5148;
  font-size: 0.95rem;
}

.detail-rating .stars {
  color: #b06a3f;
  letter-spacing: 0.08em;
}

.detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-info-card {
  padding: 16px;
  border-radius: 20px;
  background: #fbf7f1;
}

.detail-info-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8c522d;
}

.detail-info-card strong {
  color: #241d18;
  line-height: 1.5;
}

.detail-benefits {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-benefits li {
  position: relative;
  padding-left: 30px;
  color: #4d433c;
  line-height: 1.65;
}

.detail-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8864d, #9a5f3a);
}

.detail-benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.detail-benefit-box {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--page-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  color: #665c54;
}

.detail-benefit-box img {
  width: 28px;
  height: 28px;
}

.detail-section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  text-align: center;
}

.detail-section-heading p {
  margin: 0;
  color: #6b6057;
}

.detail-diagram-panel,
.comparison-panel {
  padding: 22px;
}

.detail-diagram-panel img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #fbf7f1;
  border-radius: 22px;
}

.comparison-panel {
  overflow: hidden;
}

.comparison-scroll {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(176, 106, 63, 0.16);
  text-align: center;
  color: #7e5e50;
  font-size: 0.92rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  color: #7a5d50;
}

.comparison-table .highlight {
  background: #a86536;
  color: #ffffff;
}

.comparison-table .highlight div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.review-card {
  padding: 18px;
}

.detail-note-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.detail-note-card .page-kicker {
  margin-bottom: 0;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card__header img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.review-card__header span {
  margin-left: auto;
  color: #b06a3f;
  letter-spacing: 0.08em;
}

.review-card__name {
  margin: 0;
  font-weight: 800;
  color: #251d18;
}

.review-card__role {
  margin: 0;
  font-size: 0.84rem;
  color: #8d8278;
}

.contact-page-grid {
  align-items: center;
}

.contact-feature-media {
  overflow: hidden;
  min-height: 420px;
  border-radius: 32px;
  box-shadow: 0 20px 46px rgba(39, 24, 13, 0.18);
}

.contact-form-panel {
  padding: 24px;
}

.contact-form-panel .page-kicker {
  margin-bottom: 4px;
}

.contact-form-panel.contact-copy-panel {
  gap: 10px;
}

.contact-form-panel.contact-copy-panel h1 {
  font-size: clamp(2rem, 3vw, 2.85rem);
}

.contact-form-stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.line-field {
  display: grid;
  gap: 6px;
}

.line-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #6d594a;
}

.line-field input,
.line-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(176, 106, 63, 0.28);
  background: transparent;
  padding: 0 0 0.7rem;
  color: #201a16;
}

.line-field textarea {
  min-height: 88px;
  resize: vertical;
}

.line-field input:focus,
.line-field textarea:focus {
  outline: none;
  border-color: #a86536;
}

.contact-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-meta-card {
  padding: 18px;
}

.contact-meta-card h3 {
  margin: 0 0 10px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #2c241f;
}

.contact-meta-card p,
.contact-meta-card a {
  margin: 0;
  display: block;
  color: #655a52;
  line-height: 1.7;
}

.page-cta-band {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #2b2019, #1d1612);
  color: #f7f1ea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.page-cta-band p {
  margin: 0;
  color: rgba(247, 241, 234, 0.72);
}

.page-cta-band h2 {
  margin: 0 0 10px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

@media (max-width: 1100px) {
  .catalog-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-benefit-strip,
  .feature-card-grid,
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .page-hero-grid,
  .page-split-grid,
  .contact-page-grid,
  .detail-hero-grid,
  .detail-section-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-stack {
    min-height: 540px;
  }

  .philosophy-preview {
    grid-template-columns: 1fr;
  }

  .detail-main-image {
    min-height: 380px;
  }

  .contact-feature-media {
    min-height: 380px;
  }

  .page-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .page-section {
    width: min(calc(100% - 28px), 1240px);
    padding: 32px 0;
  }

  .page-stack-card--large {
    position: relative;
    width: 100%;
  }

  .page-stack-card--small {
    position: relative;
    width: min(74%, 280px);
    margin: -34px 0 0 auto;
  }

  .page-hero-stack {
    min-height: 0;
  }

  .metric-row,
  .feature-card-grid,
  .catalog-grid,
  .review-grid,
  .contact-meta-grid,
  .detail-benefit-strip {
    grid-template-columns: 1fr;
  }

  .detail-cta-row .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-copy-card,
  .page-feature-panel,
  .contact-form-panel,
  .detail-copy-panel,
  .detail-diagram-panel,
  .comparison-panel,
  .review-card,
  .contact-meta-card,
  .story-band {
    padding: 20px;
    border-radius: 24px;
  }

  .page-copy-card h1,
  .contact-copy-panel h1,
  .detail-copy-panel h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .page-copy-card h2,
  .page-feature-panel h2,
  .detail-section-heading h2 {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .page-title-pill,
  .section-pill-neutral {
    padding: 14px 18px 12px;
    border-radius: 22px;
  }

  .page-stack-card--large {
    padding: 20px;
  }

  .page-stack-image,
  .page-stack-card--small .page-stack-image,
  .daily-card img {
    height: 190px;
  }

  .detail-main-image {
    min-height: 300px;
  }

  .thumb-button {
    width: 68px;
    height: 68px;
  }
}
