﻿:root {
  --cream: #fffaf3;
  --cream-2: #f8efe4;
  --rose: #eeb9ad;
  --rose-soft: #f8ddd6;
  --sage: #9bab8d;
  --brown: #5e4639;
  --brown-2: #8a6d5b;
  --ink: #342923;
  --line: #e9d8ca;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(94, 70, 57, 0.14);
}

/* Four-panel portrait product */
.four-panel-page {
  padding-inline: clamp(18px, 4vw, 56px);
}

.four-panel-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.four-panel-hero {
  display: block;
  width: 100%;
  min-height: 520px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(92, 63, 47, 0.12);
}

.four-panel-gallery {
  width: min(100%, 520px);
}

.four-panel-gallery .gallery-stage {
  box-shadow: 0 18px 50px rgba(92, 63, 47, 0.12);
}

.four-panel-gallery .gallery-stage .product-detail-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--cream);
}

.four-panel-summary {
  max-width: 580px;
}

.four-panel-lead {
  margin: 12px 0 0;
  color: var(--brown-2);
  font-size: 1.05rem;
  line-height: 1.9;
}

.four-panel-base {
  margin-top: 32px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(92, 63, 47, 0.07);
}

.four-panel-section-label {
  margin: 0 0 6px;
  color: #a66358;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.four-panel-base h2 {
  margin: 0 0 18px;
  color: var(--brown);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.four-panel-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.four-panel-checklist li {
  position: relative;
  padding-left: 26px;
}

.four-panel-checklist li::before {
  position: absolute;
  left: 0;
  color: #a66358;
  content: "✓";
  font-weight: 900;
}

.frame-options-section {
  width: min(1180px, 100%);
  margin: clamp(64px, 9vw, 104px) auto 0;
}

.frame-options-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.frame-options-heading h2 {
  margin: 2px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.frame-options-heading p:last-child {
  margin: 0;
  color: var(--brown-2);
}

.frame-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.frame-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 34px rgba(92, 63, 47, 0.07);
}

.frame-option-card.is-standard {
  border: 2px solid #b76f62;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(139, 77, 67, 0.14);
}

.frame-option-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #a66358;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.frame-option-name p {
  margin: 0 0 2px;
  color: #a66358;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.frame-option-name h3 {
  margin: 0;
  color: var(--brown);
  font-size: 1.35rem;
}

.frame-image-placeholder {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin: 20px 0 18px;
  border: 1px dashed #c9ada1;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(183, 111, 98, 0.05) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(315deg, rgba(183, 111, 98, 0.05) 25%, transparent 25%) 0 0 / 22px 22px,
    var(--cream);
  color: var(--brown-2);
}

.frame-image-placeholder span {
  font-weight: 900;
}

.frame-image-placeholder small {
  color: #a88778;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.frame-image-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.frame-specs {
  margin: 0;
}

.frame-specs div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.frame-specs dt {
  color: #8c6c5b;
  font-size: 0.86rem;
  font-weight: 800;
}

.frame-specs dd {
  margin: 0;
  color: var(--brown);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.55;
}

.frame-option-price {
  margin: auto 0 0;
  padding-top: 22px;
  color: #9b554b;
  font-size: 1.35rem;
  font-weight: 900;
}

.frame-option-price-standard span {
  font-size: 0.9rem;
}

.four-panel-price-formula {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 24px 0 0;
  padding: 18px 22px;
  border-left: 4px solid #b76f62;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown-2);
}

.four-panel-price-formula span {
  flex: 0 0 auto;
  color: var(--brown);
  font-weight: 900;
}

.four-panel-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: clamp(54px, 8vw, 88px) auto 0;
}

.four-panel-note-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.four-panel-note-card h2 {
  margin: 0 0 16px;
  font-size: 1.45rem;
}

.four-panel-note-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.four-panel-note-card li + li {
  margin-top: 10px;
}

.four-panel-action {
  display: flex;
  justify-content: center;
  width: min(1180px, 100%);
  margin: 34px auto 0;
}

@media (max-width: 900px) {
  .four-panel-intro,
  .four-panel-notes {
    grid-template-columns: 1fr;
  }

  .four-panel-hero {
    min-height: 0;
    max-height: 660px;
    aspect-ratio: 4 / 3;
  }

  .four-panel-summary {
    max-width: none;
  }

  .frame-option-grid {
    grid-template-columns: 1fr;
  }

  .frame-image-placeholder {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 640px) {
  .four-panel-page {
    padding-inline: 16px;
  }

  .four-panel-base,
  .frame-option-card,
  .four-panel-note-card {
    padding: 22px 20px;
  }

  .frame-option-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 14px;
  }

  .frame-image-placeholder {
    aspect-ratio: 4 / 3;
  }

  .four-panel-price-formula {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .four-panel-action .button {
    width: 100%;
    text-align: center;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "GenSenRounded TW", "GenSenRounded2 TW", "GenSenRounded", "jf open 粉圓", "M PLUS Rounded 1c", "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  cursor: url("assets/cursor-default.png") 4 4, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
.button,
.hero-line-button,
.announcement-close {
  cursor: url("assets/cursor-pointer.png") 8 4, pointer;
}

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

.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 38px;
  background: var(--brown);
  color: var(--white);
  border-bottom: 1px solid rgba(138, 109, 91, 0.16);
}

.announcement-bar p {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.announcement-close {
  grid-column: 1;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: rgba(255, 250, 243, 0.78);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.announcement-close:hover {
  color: var(--white);
}

body.notice-dismissed .announcement-bar {
  display: none;
}

body.notice-dismissed .site-header {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px clamp(16px, 3vw, 36px) 7px;
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid rgba(233, 216, 202, 0.86);
  backdrop-filter: blur(16px);
}

body.has-announcement .site-header {
  top: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-weight: 900;
  white-space: nowrap;
}

.logo-brand img {
  width: clamp(96px, 9vw, 132px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: min(92vw, 860px);
  overflow: visible;
  white-space: nowrap;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a,
.filters a {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  flex: 1 1 0;
  text-align: center;
}

.site-nav a:hover,
.filters a:hover {
  background: var(--rose-soft);
}
.site-nav > a,
.nav-dropdown {
  flex: 1 1 0;
}

.site-nav > a,
.nav-dropdown-toggle {
  text-align: center;
}

.nav-dropdown {
  position: relative;
  display: flex;
  justify-content: center;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
}

.nav-arrow {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin-top 0.2s ease;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 80;
  min-width: 270px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 18px 44px rgba(94, 70, 57, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover > .nav-submenu,
.nav-dropdown:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow {
  margin-top: 3px;
  transform: rotate(225deg);
}

.nav-submenu a {
  display: block;
  flex: none;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--brown);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus {
  background: var(--rose-soft);
}

.nav-submenu-item {
  position: relative;
}

.nav-submenu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.nav-side-arrow {
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-submenu-nested {
  top: -10px;
  left: calc(100% + 10px);
  min-width: 180px;
  transform: translateX(8px);
}

.nav-submenu-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 14px;
  height: 100%;
}

.nav-submenu-item:hover > .nav-submenu-nested,
.nav-submenu-item:focus-within > .nav-submenu-nested {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}

.hero::after {
  display: none;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-line-button {
  position: absolute;
  left: 11.5%;
  top: 88.2%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(9.2vw, 172px);
  min-width: 112px;
  min-height: clamp(34px, 3.1vw, 58px);
  padding: 0 12px;
  border-radius: 9px;
  background: transparent;
  color: var(--white);
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.hero-line-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brown-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe5dc;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-title {
  color: var(--brown);
}

h2 {
  margin-bottom: 12px;
  color: var(--brown);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  color: var(--brown);
  font-size: 1.38rem;
  line-height: 1.3;
}

h4 {
  margin-bottom: 8px;
  color: var(--brown);
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 540px;
  color: #fff6ef;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 900;
}

.button.primary {
  background: var(--brown);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--brown);
}

.button.line {
  background: var(--brown);
  color: var(--white);
}

.button.small {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--brown);
  color: var(--white);
  font-size: 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--white);
}

.intro p:last-child,
.section-heading p {
  color: var(--brown-2);
  font-size: 1.05rem;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 34px;
}

.home-heading {
  margin-bottom: 22px;
}

.home-heading .eyebrow {
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.home-heading h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.page-heading-small {
  margin-bottom: 22px;
}

.page-heading-small .eyebrow {
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.page-heading-small .page-title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.product-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.product-page {
  padding-top: clamp(24px, 3vw, 42px);
}

.filters {
  margin-bottom: 34px;
}

.filters a {
  background: var(--white);
  border: 1px solid var(--line);
}

.product-group {
  margin-top: 42px;
}

.product-group-heading {
  width: min(980px, 100%);
  margin: 0 auto 22px;
}

.product-group-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.product-group-heading p:not(.eyebrow) {
  color: var(--brown-2);
  font-weight: 700;
}

.product-category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 26px;
}

.product-category-filter {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brown-2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-category-filter:hover {
  border-color: #c9857b;
  color: #8f4e46;
  transform: translateY(-1px);
}

.product-category-filter.is-active {
  border-color: #a95f55;
  background: #a95f55;
  color: var(--white);
}

.product-category-filter:focus-visible {
  outline: 3px solid rgba(169, 95, 85, 0.25);
  outline-offset: 2px;
}

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

.product-card[hidden] {
  display: none;
}

.product-card,
.step-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.product-card img {
  display: block;
  width: 100%;
  height: 220px;
  padding: 12px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #fffaf5 0%, #f7eee8 100%);
  box-sizing: border-box;
}

.product-card div {
  padding: 18px;
}

.product-card ul,
.notice-band ul {
  margin: 0;
  padding-left: 1.1rem;
}

.price {
  margin-bottom: 10px;
  color: #9f574d;
  font-size: 1.08rem;
  font-weight: 900;
}

.catalog-card div {
  display: grid;
  gap: 12px;
}

.catalog-card h4,
#popular .product-card h4 {
  margin-bottom: 0;
}

.stock-products {
  margin-top: clamp(56px, 8vw, 92px);
}

.stock-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  width: min(1100px, 100%);
  margin: 0 auto;
}

.stock-product-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.stock-product-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--warm-white);
}

.stock-product-card h3 {
  margin: 0;
  color: var(--brown);
  font-size: 1.02rem;
  line-height: 1.45;
}

.stock-product-card p {
  margin: 6px 0 0;
  color: var(--brown-2);
  font-weight: 900;
}

.stock-product-tag {
  display: block;
  margin-bottom: 4px;
  color: var(--brown-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.stock-product-card .button {
  white-space: nowrap;
}

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

#popular .product-card img {
  height: clamp(260px, 28vw, 380px);
}

.drawing-block {
  margin-top: clamp(42px, 7vw, 76px);
}

.drawing-page > .section-heading {
  display: none;
}

.drawing-page {
  padding-top: clamp(24px, 3vw, 42px);
}

.drawing-page .drawing-block:first-of-type {
  margin-top: 0;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.drawing-page .section-heading.compact {
  margin-bottom: 18px;
}

.drawing-page .section-heading.compact .eyebrow {
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.drawing-page .section-heading.compact h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.icon-grid,
.part-grid,
.notice-grid,
.comparison-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

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

.part-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
}

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

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

.icon-card,
.part-card,
.notice-card,
.comparison-card,
.detail-layout,
.review-placeholder {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.icon-card,
.part-card,
.notice-card {
  padding: 24px;
}

.part-card {
  display: grid;
  align-items: end;
  gap: 10px;
  min-height: 260px;
  padding: 16px;
  text-align: center;
}

.part-card h3 {
  margin: 0;
  color: var(--brown);
  font-size: 1rem;
}

.part-card img {
  width: 100%;
  height: clamp(170px, 18vw, 230px);
  object-fit: contain;
  object-position: center bottom;
}

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

.delivery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.delivery-card-heading {
  padding: 24px 24px 22px;
  background: var(--rose-soft);
}

.delivery-card.is-commercial .delivery-card-heading {
  background: #f6eadb;
}

.delivery-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.delivery-card h3 {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: 1.3rem;
}

.delivery-card-heading p {
  margin: 0;
}

.delivery-details {
  display: grid;
  margin: 0;
  padding: 6px 24px 12px;
  list-style: none;
}

.delivery-details li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.delivery-details li:last-child {
  border-bottom: 0;
}

.delivery-details strong {
  color: var(--brown);
}

.draw-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--brown);
  font-size: 1.35rem;
  font-weight: 900;
}

.comparison-card {
  overflow: hidden;
}

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

.comparison-card div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 18px;
  color: var(--brown);
  font-weight: 900;
  text-align: center;
}

.notice-card ul,
.notice-card ol,
.detail-layout ul {
  margin: 0;
  padding-left: 1.1rem;
}

.notice-list {
  display: grid;
  gap: 18px;
}

.schedule-widget {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.schedule-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid #e7d1a4;
  border-radius: 9px;
  background: #fff9ec;
  color: #9a753a;
  font-size: 0.95rem;
  font-weight: 900;
}

.schedule-status::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
}

.schedule-status.open {
  border-color: rgba(155, 171, 141, 0.38);
  background: #f8fbf5;
  color: var(--sage);
}

.schedule-status.closed {
  border-color: #e6c1ba;
  background: #fff4f2;
  color: #b66a5f;
}

.schedule-start p {
  margin-bottom: 8px;
  color: var(--brown-2);
  font-weight: 900;
}

.schedule-start strong {
  display: block;
  color: var(--brown);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.schedule-start span,
.schedule-helper {
  display: block;
  margin-top: 10px;
  color: var(--brown-2);
  font-size: 0.9rem;
}

.schedule-closed {
  display: none;
  margin: 0 0 22px;
  color: #b66a5f;
  font-weight: 900;
}

.schedule-widget.is-closed .schedule-start {
  display: none;
}

.schedule-widget.is-closed .schedule-closed {
  display: block;
}

.schedule-update {
  margin: 22px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--brown-2);
  font-size: 0.92rem;
}

.schedule-update strong {
  color: var(--brown);
}

.schedule-notes {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--brown-2);
  text-align: left;
  font-size: 0.92rem;
}

.schedule-notes p {
  margin: 0;
}

.schedule-actions {
  display: grid;
  gap: 10px;
}

.review-section {
  padding-bottom: clamp(32px, 4vw, 54px);
  background: var(--white);
}

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

.review-placeholder {
  min-height: 240px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.25), rgba(248, 221, 214, 0.72)),
    var(--white);
}

.review-placeholder span {
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: #8b4d43;
  font-size: 0.8rem;
  font-weight: 900;
}

.review-placeholder p {
  margin-bottom: 0;
  color: var(--brown-2);
}

.review-preview {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  background: var(--white);
}

.review-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.review-preview div {
  padding: 18px;
}

.review-page {
  padding-top: clamp(24px, 3vw, 42px);
  background: linear-gradient(180deg, var(--cream), var(--white));
}

.review-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.review-card {
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.review-card-feature {
  grid-column: auto;
}

.review-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.review-card div {
  padding: 18px;
}

.review-card span {
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: #8b4d43;
  font-size: 0.8rem;
  font-weight: 900;
}

.review-card p {
  margin: 0;
  color: var(--brown-2);
  font-size: 0.95rem;
}

.detail-page {
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 56px);
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px);
}

.detail-layout > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 8px;
}

.detail-layout > .product-detail-image {
  width: min(100%, 440px);
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  justify-self: center;
  align-self: start;
}

.product-gallery {
  width: min(100%, 460px);
  justify-self: center;
  align-self: start;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.gallery-stage .product-detail-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

.detail-layout .product-info-image {
  display: block;
  width: min(100%, 560px);
  height: auto;
  min-height: 0;
  margin: 18px 0 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.detail-layout .product-price-block {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--rose);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.72);
}

.detail-layout .product-price-block p {
  margin: 0;
}

.detail-layout .product-price-block p + p {
  margin-top: 8px;
}

.detail-layout .pillow-size-guide {
  width: min(100%, 680px);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(106, 76, 60, 0.76);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.gallery-arrow:disabled {
  opacity: 0.35;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #d8c8bc;
  padding: 0;
}

.gallery-dot.is-active {
  background: var(--brown);
}

.detail-layout h2 {
  margin-top: 26px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.product-tagline {
  margin: 8px 0 10px;
  color: var(--brown);
  font-weight: 900;
  letter-spacing: 0;
}

.size-chart {
  margin: 18px 0 28px;
}

.size-chart img {
  display: block;
  width: min(100%, 680px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.keychain-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
  margin: 16px 0 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.keychain-option-card {
  margin: 0;
  text-align: center;
}

.keychain-option-photo {
  aspect-ratio: 1.25 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
}

.keychain-option-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.keychain-option-card figcaption {
  margin-top: 10px;
  color: var(--brown);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.rug-style-group {
  margin: 18px 0 32px;
}

.rug-style-group h3 {
  margin: 0 0 6px;
  color: var(--brown);
  font-size: 1.12rem;
  font-weight: 800;
}

.rug-style-group > p {
  margin: 0 0 14px;
}

.rug-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rug-style-card {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  text-align: center;
}

.rug-style-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}

.rug-style-card figcaption {
  margin-top: 9px;
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 700;
}

.rug-style-group--text {
  margin-bottom: 34px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.tool-section {
  padding-top: clamp(32px, 4vw, 54px);
  background: var(--white);
}

.tool-section:nth-of-type(5) {
  background: var(--cream);
}

.calculator-home-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 221, 214, 0.36)),
    var(--cream);
  box-shadow: var(--shadow);
}

.calculator-home-copy {
  display: grid;
  gap: 8px;
}

.calculator-home-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.calculator-home-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--brown-2);
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.calculator-page {
  padding-top: clamp(24px, 3vw, 42px);
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
}

.embedded-tool {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(82, 59, 46, 0.08);
}

.embedded-tool iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: var(--white);
}

.tool-fallback {
  width: min(1180px, 100%);
  margin: 16px auto 0;
  text-align: center;
  color: var(--brown-2);
  font-weight: 700;
}

.tool-fallback a {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(380px, 1.28fr);
  gap: 24px;
  align-items: stretch;
}

.tool-layout.reverse {
  grid-template-columns: minmax(380px, 1.28fr) minmax(260px, 0.72fr);
}

.tool-layout.reverse .tool-copy {
  order: 2;
}

.tool-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.tool-copy p {
  color: var(--brown-2);
}

iframe {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.order-section {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}

.order-page {
  padding-top: clamp(24px, 3vw, 42px);
  background: linear-gradient(180deg, var(--cream), var(--white));
}

.order-intro-card,
.order-step-block {
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.order-intro-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.order-intro-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.order-intro-card p {
  max-width: 680px;
  margin: 0;
  color: var(--brown-2);
}

.order-intro-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.3rem;
  color: var(--brown-2);
}

.order-step-list {
  display: grid;
  gap: 22px;
}

.order-step-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
}

.order-step-copy span,
.order-stage-list span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: #8b4d43;
  font-size: 0.82rem;
  font-weight: 900;
}

.order-step-copy h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.order-step-copy p,
.order-step-copy li,
.order-stage-list p {
  color: var(--brown-2);
}

.order-step-copy ul {
  margin: 0;
  padding-left: 1.1rem;
}

.order-step-copy .button {
  margin-top: 8px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.order-step-media {
  display: grid;
  gap: 14px;
}

.order-step-media.two-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-step-media img {
  width: 100%;
  max-height: 540px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: var(--cream);
}

.order-step-media.chat-preview {
  justify-items: center;
}

.order-step-media.chat-preview img {
  width: min(100%, 480px);
  max-height: 500px;
}

.order-stage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-stage-list div {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.order-stage-list img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--white);
}

.order-stage-list p {
  margin: 0;
}

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

.step-card {
  padding: 26px;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: #8b4d43;
  font-size: 0.82rem;
  font-weight: 900;
}

.step-card p {
  color: var(--brown-2);
}

.notice-band {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: var(--brown);
  color: var(--cream);
}

.notice-band h3 {
  color: var(--white);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--brown);
  color: var(--cream);
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .intro,
  .tool-layout,
  .tool-layout.reverse,
  .calculator-home-card,
  .steps,
  .order-step-block,
  .order-step-media.two-images,
  .order-stage-list,
  .icon-grid,
  .notice-grid,
  .comparison-grid,
  .delivery-grid,
  .review-grid,
  .review-wall,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .review-card-feature {
    grid-column: auto;
  }

  .tool-layout.reverse .tool-copy {
    order: 0;
  }

  .order-intro-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator-home-card {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  #popular .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .delivery-details li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero {
    overflow-x: auto;
  }

  .hero-image {
    width: 180%;
    max-width: none;
  }

  .hero-line-button {
    left: 20.7%;
    top: 88.2%;
    width: 18vw;
    min-width: 96px;
    min-height: 36px;
    font-size: 0.78rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 118px 1fr;
  }

  .stock-product-grid {
    grid-template-columns: 1fr;
  }

  .stock-product-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .stock-product-card img {
    width: 84px;
    height: 84px;
  }

  .stock-product-card .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .catalog-card {
    grid-template-columns: 132px 1fr;
  }

  .part-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .part-card {
    min-height: 230px;
    padding: 14px;
  }

  .part-card img {
    height: 180px;
  }

  .product-card img {
    height: 100%;
    min-height: 184px;
  }

  #popular .product-card {
    grid-template-columns: 1fr;
  }

  #popular .product-card img {
    height: 360px;
    min-height: 0;
  }

  .comparison-card img,
  .detail-layout > img {
    min-height: 260px;
    height: 260px;
  }

  .detail-layout > .product-detail-image {
    width: min(100%, 360px);
    height: auto;
    min-height: 0;
  }

  .product-gallery {
    width: min(100%, 360px);
  }

  .gallery-stage .product-detail-image {
    height: auto;
    min-height: 0;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.7rem;
  }

  iframe {
    min-height: 620px;
  }

  .keychain-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
  }

  .keychain-option-card figcaption {
    font-size: 0.95rem;
  }

  .rug-style-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}





/* Keychain hook option cards final */
.product-detail-section .keychain-hook-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
  max-width: 760px;
}

.product-detail-section .keychain-hook-card {
  margin: 0;
  text-align: center;
}

.product-detail-section .keychain-hook-photo {
  aspect-ratio: 4 / 3;
  background: #fffaf3;
  border: 1px solid #ead8cc;
  border-radius: 8px;
  padding: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-section .keychain-hook-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
}

.product-detail-section .keychain-hook-card figcaption {
  margin-top: 10px;
  color: #5f4436;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .product-detail-section .keychain-hook-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

section.four-panel-page {
  padding-inline: clamp(18px, 4vw, 56px);
}

@media (max-width: 640px) {
  section.four-panel-page {
    padding-inline: 16px;
  }
}
