@font-face {
    font-family: "Chiron GoRound TC";
    src: url("/assets/fonts/ChironGoRoundTC-700B.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --orange: #fb4d12;
    --teal: #00ccbb;
    --green: #08766f;
    --green-2: #005a54;
    --ink: #12302d;
    --muted: #5d7773;
    --line: #d8e7e5;
    --soft: #f3fbfa;
    --white: #ffffff;
    --danger: #d8341f;
    --font-brand: "Chiron GoRound TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    --font-body: "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-2); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 12px; }
.skip-link:focus { left: 12px; z-index: 50; background: var(--white); padding: 8px 12px; border: 1px solid var(--line); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px clamp(18px, 5vw, 72px);
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.brand img { width: min(210px, 46vw); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); font-size: 15px; }
.site-nav > a:not(.line-button) { color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--teal); }
.language-switch { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); }
.language-switch a[aria-current="true"] { color: var(--green); font-weight: 700; }
.line-button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--green);
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}
.line-button, .button.primary { background: var(--green); color: var(--white); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.line-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 22px;
    padding: 0 7px;
    border-radius: 7px;
    background: var(--green);
    color: var(--white);
    font-family: system-ui, sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    vertical-align: middle;
    flex: 0 0 auto;
}
.line-mark::after {
    content: "";
    position: absolute;
    left: 8px;
    bottom: -4px;
    width: 8px;
    height: 7px;
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 20% 100%);
}
.button.primary .line-mark, .line-button .line-mark {
    background: var(--white);
    color: var(--green);
}
.button.secondary { background: var(--white); color: var(--green); }
.button.wide { width: 100%; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--green); }

.flash {
    max-width: 1120px;
    margin: 18px auto 0;
    padding: 12px 16px;
    border-left: 4px solid var(--teal);
    background: var(--soft);
}
.flash.error { border-color: var(--danger); background: #fff4f2; }
.flash.success { border-color: var(--teal); }

.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    gap: clamp(24px, 4vw, 58px);
    min-height: 560px;
    padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0 40%, rgba(255,255,255,.78) 58%, rgba(255,255,255,0) 100%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}
.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 720px;
    align-self: center;
}
h1, h2, h3, .brand-text {
    font-family: var(--font-brand);
    color: var(--green);
    line-height: 1.18;
    letter-spacing: 0;
}
h1 { font-size: clamp(38px, 5.2vw, 68px); margin: 0 0 14px; }
h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 14px; }
h3 { font-size: 22px; margin: 0 0 10px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--green-2); max-width: 760px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 38px 0 0;
}
.trust-row div { display: flex; align-items: center; gap: 10px; color: var(--green); }
.trust-row svg { width: 30px; height: 30px; color: var(--green); flex: 0 0 auto; }
.trust-row dt, .trust-row dd { margin: 0; }

.hero-media {
    position: absolute;
    z-index: 1;
    inset: 0 0 0 38%;
    min-height: auto;
    overflow: hidden;
    background: var(--soft);
}
.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.92) 14%, rgba(255,255,255,.38) 35%, rgba(255,255,255,0) 62%),
        linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,0) 22%, rgba(247,251,251,.7) 100%);
    pointer-events: none;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-block, .section-band, .page-title {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(42px, 6vw, 74px) clamp(18px, 4vw, 34px);
}
.section-band {
    max-width: none;
    padding-inline: clamp(18px, 5vw, 72px);
    background: var(--soft);
    border-block: 1px solid var(--line);
}
.section-heading { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 22px; }
.category-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(130px, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.category-tile {
    min-height: 210px;
    padding: 24px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}
.category-tile svg { width: 42px; height: 42px; color: var(--green); margin-bottom: 18px; }
.category-tile strong { display: block; color: var(--green); line-height: 1.35; }
.category-tile span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.subsidy-preview { display: grid; grid-template-columns: 340px 1fr; gap: 42px; align-items: center; }
.process-mini, .process-list {
    --process-gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--process-gap);
    counter-reset: steps;
}
.process-mini {
    position: relative;
    align-items: start;
}
.process-mini li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 40px;
    top: 19px;
    width: calc(100% + var(--process-gap) - 20px);
    height: 2px;
    background: var(--teal);
    opacity: .8;
}
.process-mini li, .process-list li {
    position: relative;
    padding-top: 48px;
    color: var(--green-2);
}
.process-list li { border-top: 1px solid var(--teal); }
.process-mini li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--teal);
    color: var(--green);
    font-weight: 700;
    z-index: 2;
}
.split-contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; border-top: 1px solid var(--line); }
.hours-panel { padding-left: 30px; border-left: 1px solid var(--line); }
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px clamp(18px, 5vw, 72px);
    background: var(--green);
    color: var(--white);
    font-size: 14px;
}
.site-footer a { color: var(--white); }
.site-footer span { margin-left: 12px; opacity: .9; }

.page-title { padding-bottom: 30px; }
.page-title p { max-width: 820px; font-size: 18px; color: var(--muted); }
.compact-title { padding-bottom: 12px; }
.meta { color: var(--green); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; margin: 0 0 6px; }
.back-link { display: inline-block; margin-bottom: 16px; }
.product-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.filter-rail { border-block: 1px solid var(--line); }
.filter-rail a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}
.filter-rail a[aria-current="page"] { color: var(--green); font-weight: 700; }
.filter-rail svg { width: 24px; height: 24px; color: var(--green); flex: 0 0 auto; }
.product-list { border-top: 1px solid var(--line); }
.product-row {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.product-row h2 { font-size: 24px; margin: 0 0 4px; }
.product-row p { margin: 0; color: var(--muted); }
.product-thumb {
    width: 130px;
    aspect-ratio: 1.2;
    display: grid;
    place-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.product-thumb svg { width: 46px; height: 46px; color: var(--green); }
.row-action { font-weight: 700; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 42px; }
.gallery { display: grid; gap: 12px; align-content: start; }
.gallery-main {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
    background: var(--soft);
    cursor: zoom-in;
}
.gallery-main img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 420px;
    object-fit: contain;
    background: var(--white);
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gallery-thumb {
    flex: 0 0 92px;
    width: 92px;
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: var(--soft);
    cursor: pointer;
}
.gallery-thumb.is-active {
    border-color: var(--green);
}
.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--white);
}
.empty-gallery { min-height: 360px; background: var(--soft); border: 1px solid var(--line); border-radius: 7px; object-fit: cover; }
.empty-gallery { display: grid; place-items: center; text-align: center; padding: 26px; color: var(--muted); }
.empty-gallery svg { width: 72px; height: 72px; color: var(--green); }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(16, 28, 24, .82);
}
.has-lightbox { overflow: hidden; }
.lightbox.is-open { display: grid; }
.lightbox img {
    width: min(1120px, 94vw);
    min-width: min(520px, 88vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 20px 70px rgba(0,0,0,.3);
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.24); }
.cta-panel { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

.flat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.flat-grid div { display: flex; gap: 12px; align-items: center; min-height: 86px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flat-grid svg { width: 28px; height: 28px; color: var(--green); flex: 0 0 auto; }
.process-section { max-width: none; }
.process-section > h2, .process-section > .note { max-width: 1180px; margin-inline: auto; }
.process-list { max-width: 1180px; margin: 28px auto; }
.process-list li { padding: 18px 14px 0; }
.process-list strong {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    margin-bottom: 14px;
}
.note { font-size: 14px; color: var(--muted); }
.subsidy-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
    gap: clamp(30px, 5vw, 72px);
    min-height: 620px;
    padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.subsidy-hero-copy { align-self: center; max-width: 760px; }
.subsidy-kicker {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--orange);
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 20px;
}
.hero-checks {
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: var(--green-2);
    font-weight: 700;
}
.hero-checks li {
    position: relative;
    padding-left: 34px;
}
.hero-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: inset 0 0 0 5px var(--white);
    border: 1px solid var(--teal);
}
.subsidy-visual {
    position: relative;
    min-height: 460px;
    align-self: center;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
}
.subsidy-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,0) 56%),
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(8,118,111,.08));
    pointer-events: none;
}
.subsidy-visual img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    object-position: center;
}
.subsidy-tracks { padding-top: clamp(46px, 6vw, 80px); }
.track-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.track-panel {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: clamp(22px, 4vw, 36px);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}
.track-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--green);
}
.track-icon svg { width: 42px; height: 42px; }
.track-panel h3 { font-size: 28px; }
.track-panel p { margin: 0; color: var(--muted); font-weight: 700; }
.track-panel ul {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, max-content));
    gap: 10px;
    align-items: start;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.track-panel li {
    width: fit-content;
    max-width: 100%;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--green);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.eligibility-section {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
}
.eligibility-copy { max-width: 460px; margin-left: auto; }
.eligibility-copy p { color: var(--muted); }
.eligibility-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 860px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: var(--white);
}
.eligibility-board div {
    min-height: 150px;
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.eligibility-board span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
}
.eligibility-board strong {
    display: block;
    color: var(--green-2);
    line-height: 1.55;
    word-break: normal;
}
.product-subsidy-strip h2 { margin-bottom: 24px; }
.subsidy-item-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.subsidy-item {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 190px;
    padding: 22px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.subsidy-item svg { width: 42px; height: 42px; color: var(--green); }
.subsidy-item strong { color: var(--green); font-family: var(--font-brand); font-size: 20px; line-height: 1.25; }
.subsidy-item span { color: var(--muted); font-size: 14px; }
.compare-section { padding-top: clamp(48px, 6vw, 82px); }
.compare-heading {
    max-width: 1180px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: end;
}
.compare-heading p { color: var(--muted); margin: 0; }
.compare-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.flow-column {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.flow-column h3 {
    margin: 0;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 28px;
}
.flow-column.active h3 { background: var(--green); color: var(--white); }
.flow-column.muted h3 { background: #f7fbfb; }
.flow-column ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.flow-column li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}
.flow-column li:last-child { border-bottom: 0; }
.flow-column li > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--green);
    font-weight: 800;
}
.flow-column.active li > span { background: var(--teal); color: var(--white); }
.flow-column strong { color: var(--green-2); font-size: 18px; }
.flow-column p { margin: 4px 0 0; color: var(--muted); }
.home-improvement-band {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(340px, 1fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}
.home-improvement-band p { color: var(--muted); max-width: 680px; }
.home-safety-diagram {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-left: clamp(18px, 4vw, 42px);
    border-left: 1px solid var(--line);
}
.safety-card {
    min-height: 270px;
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    gap: 12px;
    position: relative;
    overflow: hidden;
}
.safety-card::after {
    content: "";
    align-self: end;
    min-height: 84px;
    border-radius: 7px;
    background: var(--soft);
    border: 1px solid var(--line);
}
.safety-card svg { width: 38px; height: 38px; color: var(--green); }
.safety-card strong {
    color: var(--green);
    font-family: var(--font-brand);
    font-size: 22px;
    line-height: 1.25;
}
.safety-card span { color: var(--muted); font-weight: 700; font-size: 14px; }
.safety-card.grabbar::after {
    background:
        linear-gradient(90deg, transparent 0 28%, var(--orange) 28% 72%, transparent 72%),
        linear-gradient(180deg, transparent 0 44%, rgba(0,204,187,.12) 44% 100%),
        var(--white);
}
.safety-card.threshold::after {
    clip-path: polygon(0 100%, 100% 24%, 100% 100%);
    background: rgba(0,204,187,.22);
    border-bottom: 5px solid var(--teal);
}
.safety-card.antislip::after {
    background:
        repeating-linear-gradient(135deg, rgba(8,118,111,.18) 0 8px, transparent 8px 18px),
        var(--soft);
}
.subsidy-final-cta {
    max-width: 1180px;
    margin: clamp(34px, 6vw, 74px) auto 0;
    padding: 30px clamp(18px, 4vw, 34px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    border-block: 1px solid var(--line);
}
.subsidy-final-cta h2 { margin-bottom: 8px; }
.subsidy-final-cta p { margin: 0; color: var(--muted); }
.subsidy-legal-note {
    max-width: 1180px;
    margin: 20px auto 58px;
    padding: 0 clamp(18px, 4vw, 34px);
    color: var(--muted);
    font-size: 14px;
}
.contact-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    padding-top: clamp(34px, 5vw, 58px);
    padding-bottom: clamp(34px, 5vw, 58px);
}
.contact-title-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.contact-quick { padding-block: 24px; }
.contact-quick-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 4vw, 52px);
}
.contact-quick-grid div {
    padding-left: 18px;
    border-left: 2px solid var(--teal);
}
.contact-quick-grid strong {
    display: block;
    color: var(--green);
    font-family: var(--font-brand);
    font-size: 20px;
    line-height: 1.3;
}
.contact-quick-grid span { display: block; margin-top: 6px; color: var(--muted); }
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
    gap: clamp(34px, 5vw, 64px);
    align-items: start;
    padding-top: clamp(38px, 5vw, 60px);
}
.contact-form-panel {
    padding-top: 4px;
}
.contact-form-panel h2, .contact-info h2 { margin-bottom: 8px; }
.contact-form-panel p { margin: 0 0 24px; color: var(--muted); max-width: 720px; }
.contact-info dl { margin: 22px 0 0; border-top: 1px solid var(--line); }
.contact-info dl div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-weight: 700; color: var(--green); }
.contact-info dd { margin: 0; }
.map-frame, .map-placeholder { width: 100%; height: 280px; margin-top: 20px; border: 1px solid var(--line); border-radius: 7px; }
.map-placeholder { display: grid; place-items: center; text-align: center; padding: 24px; background: linear-gradient(90deg, #f7fbfb 24px, transparent 1%) center / 48px 48px, linear-gradient(#f7fbfb 24px, transparent 1%) center / 48px 48px, var(--white); color: var(--green); }
.map-placeholder span { display: block; color: var(--muted); }
.form-errors {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-left: 4px solid var(--danger);
    background: #fff4f2;
    color: var(--ink);
}
.form-errors strong { color: var(--danger); }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.contact-form, .admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.contact-message-form {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
span.line-mark {
    display: inline-flex;
    width: auto;
    justify-self: start;
    align-self: center;
    color: var(--white);
}
.button.primary span.line-mark, .line-button span.line-mark {
    color: var(--green);
}
label { display: grid; gap: 7px; color: var(--green-2); font-weight: 700; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 11px 12px;
    background: var(--white);
    color: var(--ink);
}
textarea { resize: vertical; }
.span-2 { grid-column: span 2; }

.admin-auth-body { min-height: 100vh; display: grid; place-items: center; background: var(--soft); }
.auth-shell { width: min(440px, calc(100vw - 32px)); }
.login-panel { background: var(--white); padding: 30px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 16px; }
.login-panel img { width: 240px; }
.login-panel h1 { font-size: 32px; }
.small-note { color: var(--muted); font-size: 13px; }
.admin-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; background: #fbfefe; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px; background: var(--green); color: var(--white); }
.admin-brand { display: block; padding: 12px; }
.admin-brand img { width: 180px; height: auto; display: block; }
.admin-sidebar nav { display: grid; gap: 4px; margin-top: 34px; }
.admin-sidebar a, .sidebar-logout { color: var(--white); border: 0; background: transparent; text-align: left; padding: 12px; border-radius: 7px; cursor: pointer; }
.admin-sidebar a[aria-current="page"], .admin-sidebar a:hover, .sidebar-logout:hover { background: rgba(255,255,255,.14); }
.admin-sidebar form { margin-top: auto; }
.admin-main { padding: 32px clamp(20px, 4vw, 50px); }
.admin-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.admin-title-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-title h1 { font-size: 36px; margin: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.admin-stats div, .admin-panel { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.admin-stats span { display: block; color: var(--green); font-size: 38px; font-weight: 800; line-height: 1; }
.admin-stats span.stat-text { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.admin-stats strong { color: var(--muted); }
.sales-date-filter { display: flex; align-items: end; gap: 12px; margin-bottom: 22px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.sales-date-filter label { display: grid; gap: 6px; min-width: 180px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.sales-date-filter input { color: var(--ink); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.sales-stats span { font-size: clamp(24px, 2.6vw, 38px); }
.profit-coverage { margin: -10px 0 24px; color: var(--muted); font-size: 12px; }
.sales-overview-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 18px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.panel-heading h2 { margin: 0; }
.panel-heading > span { color: var(--muted); font-size: 13px; }
.sales-bars { display: grid; gap: 14px; }
.sales-bar-row { display: grid; grid-template-columns: 100px minmax(100px, 1fr) 100px; align-items: center; gap: 14px; font-size: 13px; }
.sales-bar-row > span { color: var(--muted); }
.sales-bar-row > div { height: 10px; overflow: hidden; border-radius: 999px; background: var(--soft); }
.sales-bar-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--green)); }
.sales-bar-row strong { text-align: right; color: var(--ink); }
.sales-breakdown dl { margin: 8px 0 0; }
.sales-breakdown dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sales-breakdown dt { color: var(--muted); }
.sales-breakdown dd { margin: 0; color: var(--ink); font-weight: 800; }
.coverage-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.report-tabs { display: flex; gap: 5px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.report-tabs a { padding: 11px 16px; color: var(--muted); font-weight: 800; border-bottom: 3px solid transparent; }
.report-tabs a[aria-current="page"] { color: var(--green); border-bottom-color: var(--teal); }
.sales-report-panel { padding: 0; }
.sales-report-panel .panel-heading { padding: 20px 20px 0; }
.sales-report-table { min-width: 1040px; }
.money-cell { color: var(--green); font-weight: 800; }
.money-cell > strong { display: block; color: var(--green) !important; }
.money-cell .profit-line { margin-top: 4px; color: var(--green-2); font-size: 11px; font-weight: 800; white-space: nowrap; }
.transaction-products-row > td { padding: 0 12px 12px; background: #fbfefe; }
.transaction-products { border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.transaction-products summary { padding: 10px 14px; color: var(--green); font-size: 13px; font-weight: 800; cursor: pointer; }
.transaction-products[open] summary { border-bottom: 1px solid var(--line); }
.transaction-product-list { display: grid; gap: 10px; padding: 12px; }
.transaction-product-card { display: grid; grid-template-columns: 64px minmax(220px, 1fr) auto; align-items: center; gap: 14px; padding: 10px; border-radius: 6px; background: var(--soft); }
.transaction-product-card img,
.transaction-product-image-empty { width: 64px; height: 52px; object-fit: contain; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.transaction-product-image-empty { display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.transaction-product-card > div:nth-child(2) { display: grid; gap: 3px; }
.transaction-product-card code { color: var(--muted); font-size: 11px; }
.transaction-product-card span { color: var(--muted); font-size: 12px; }
.transaction-product-card .product-profit { color: var(--green-2); font-weight: 800; }
.transaction-product-total { display: grid; justify-items: end; gap: 5px; }
.transaction-product-total a { color: var(--green); font-size: 12px; font-weight: 800; text-decoration: underline; }
.empty-report { padding: 40px 12px; color: var(--muted); text-align: center; }
.report-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; color: var(--muted); font-size: 13px; }
.report-pagination > div { display: flex; gap: 8px; }
.checklist { margin: 0; padding-left: 20px; color: var(--muted); }
.admin-filters { display: grid; grid-template-columns: 260px 1fr auto; gap: 12px; margin-bottom: 18px; }
.catalog-product-filters { grid-template-columns: 240px 180px minmax(260px, 1fr) auto; }
.table-panel { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.catalog-products-table { min-width: 1640px; }
.admin-table th { text-align: left; color: var(--green); font-size: 13px; border-bottom: 1px solid var(--line); padding: 12px; }
.admin-table td { border-bottom: 1px solid var(--line); padding: 12px; vertical-align: middle; }
.admin-table td span { display: block; color: var(--muted); font-size: 13px; }
.admin-table code { display: inline-block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.admin-table td strong { color: var(--ink); }
.catalog-image-cell { width: 190px; min-width: 190px; }
.catalog-product-thumb { width: 160px; aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: var(--white); display: block; margin-bottom: 7px; }
.catalog-product-thumb.empty { display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.catalog-image-upload { display: grid; gap: 7px; margin-top: 9px; }
.catalog-image-upload input[type="file"] { width: 160px; padding: 7px; font-size: 12px; }
.catalog-image-upload .button { width: max-content; min-height: 34px; padding: 7px 12px; font-size: 13px; }
.catalog-description-cell { width: 320px; min-width: 320px; }
.catalog-description-form { display: grid; gap: 8px; }
.catalog-description-form textarea { min-height: 120px; font-size: 13px; line-height: 1.45; }
.catalog-description-form .button { width: max-content; min-height: 34px; padding: 7px 12px; font-size: 13px; }
.product-info-cell { min-width: 260px; }
.price-stack strong,
.inventory-cell strong {
    display: block;
    color: var(--orange-2);
    font-size: 18px;
}
.price-stack .product-margin { margin-top: 4px; color: var(--green-2); font-weight: 800; }
.inventory-cell .status {
    margin-top: 6px;
}
.thumb-cell img, .thumb-empty { width: 64px; height: 54px; object-fit: contain; border-radius: 6px; background: var(--white); border: 1px solid var(--line); display: block; }
.status { display: inline-block !important; width: max-content; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--green) !important; font-size: 12px; }
.status.off { background: #f1f1f1; color: #666 !important; }
.status.warm { background: #fff1e9; color: var(--orange) !important; margin-top: 4px; }
.actions { display: flex; gap: 10px; align-items: center; }
.actions form { display: inline; }
.actions button, .link-danger { color: var(--danger); background: none; border: 0; padding: 0; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-form.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
.checkboxes { display: flex; gap: 18px; align-items: center; }
.checkboxes label, .admin-form label:has(input[type="checkbox"]) { display: flex; gap: 8px; align-items: center; }
input[type="checkbox"] { width: auto; }
.form-actions { margin: 18px 0 28px; }
.image-strip { display: flex; gap: 14px; flex-wrap: wrap; }
.image-strip figure { margin: 0; width: 150px; }
.image-strip img { width: 150px; height: 112px; object-fit: contain; background: var(--white); border-radius: 7px; border: 1px solid var(--line); }
.image-strip button { margin-top: 8px; color: var(--danger); background: none; border: 0; padding: 0; cursor: pointer; }

@media (max-width: 1240px) {
    .eligibility-section { grid-template-columns: 1fr; }
    .eligibility-copy { margin-left: 0; max-width: 720px; }
    .eligibility-board { max-width: none; }
}

@media (max-width: 1050px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute;
        inset: 100% 16px auto;
        display: none;
        padding: 18px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 14px 38px rgba(8,118,111,.12);
    }
    .site-nav.is-open { display: grid; }
    .hero-section, .product-detail, .contact-title, .contact-layout, .split-contact, .subsidy-preview, .subsidy-hero, .eligibility-section, .compare-heading, .home-improvement-band { grid-template-columns: 1fr; }
    .contact-title-actions { justify-content: flex-start; }
    .contact-quick-grid { grid-template-columns: 1fr; gap: 18px; }
    .hero-section { padding-bottom: 0; background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%); }
    .hero-media {
        position: relative;
        inset: auto;
        order: 2;
        min-height: 300px;
        border: 0;
        border-radius: 0;
        margin-inline: calc(clamp(18px, 5vw, 72px) * -1);
    }
    .hero-media::before { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.2)); }
    .hero-media img { min-height: 300px; }
    .category-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-layout { grid-template-columns: 1fr; }
    .filter-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flat-grid, .track-grid, .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eligibility-copy { margin-left: 0; }
    .eligibility-board, .subsidy-item-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-safety-diagram { grid-template-columns: 1fr; padding-left: 0; border-left: 0; }
    .process-mini, .process-list { grid-template-columns: 1fr; gap: 26px; }
    .process-mini li:not(:last-child)::after { display: none; }
    .admin-body { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; }
    .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sales-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .site-header { padding: 12px 16px; }
    .brand img { width: 170px; }
    .hero-section { min-height: auto; }
    .trust-row, .contact-form, .admin-form, .form-grid, .admin-form.compact, .admin-filters { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .category-rail, .flat-grid, .filter-rail, .track-grid, .compare-grid, .eligibility-board, .subsidy-item-rail { grid-template-columns: 1fr; }
    .subsidy-hero { padding-top: 34px; }
    .subsidy-visual { min-height: 360px; }
    .subsidy-visual img { min-height: 360px; }
    .track-panel { grid-template-columns: 58px 1fr; }
    .track-icon { width: 58px; height: 58px; }
    .track-panel ul { grid-column: 1 / -1; }
    .subsidy-final-cta { grid-template-columns: 1fr; }
    .safety-card { min-height: 220px; }
    .product-row { grid-template-columns: 92px 1fr; }
    .product-thumb { width: 92px; }
    .row-action { grid-column: 2; }
    .gallery { grid-template-columns: 1fr; }
    .contact-info dl div { grid-template-columns: 1fr; gap: 4px; }
    .contact-title-actions .button { width: 100%; }
    .site-footer { display: grid; }
    .admin-title { display: grid; }
    .admin-stats { grid-template-columns: 1fr; }
    .sales-date-filter { display: grid; }
    .sales-date-filter label { min-width: 0; }
    .sales-bar-row { grid-template-columns: 82px minmax(70px, 1fr) 82px; gap: 8px; font-size: 11px; }
    .transaction-product-card { grid-template-columns: 54px 1fr; }
    .transaction-product-card img,
    .transaction-product-image-empty { width: 54px; height: 48px; }
    .transaction-product-total { grid-column: 2; justify-items: start; }
    .report-pagination { align-items: stretch; flex-direction: column; }
}

/* Taiwan-first public restyle */
:root {
    --orange: #f04a16;
    --orange-2: #d9390f;
    --teal: #00bba8;
    --green: #00736a;
    --green-2: #00574f;
    --ink: #163631;
    --muted: #60766f;
    --line: #d8d0c3;
    --soft: #f7f3ea;
    --shop-paper: #fffaf1;
    --shadow-shop: 0 16px 38px rgba(32, 45, 38, .14);
}

body {
    background:
        linear-gradient(180deg, #ffffff 0 560px, #f8f4ec 560px 100%);
}

.site-header {
    min-height: 86px;
    padding: 12px clamp(18px, 4vw, 58px);
    background: rgba(255, 255, 255, .97);
    border-bottom: 2px solid rgba(0, 115, 106, .18);
    box-shadow: 0 5px 18px rgba(20, 48, 44, .08);
}

.brand img {
    width: min(255px, 48vw);
}

.site-nav {
    gap: clamp(14px, 2.4vw, 34px);
    font-size: 17px;
    font-weight: 700;
}

.site-nav > a:not(.line-button) {
    color: #172f2b;
    border-bottom: 3px solid transparent;
}

.site-nav a[aria-current="page"] {
    color: var(--green-2);
    border-bottom-color: var(--orange);
}

.language-switch {
    font-size: 16px;
    color: #364f49;
}

.line-button,
.button {
    min-height: 46px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: none;
}

.line-button,
.button.primary {
    border-color: var(--green);
    background: linear-gradient(180deg, #078675, #006a60);
    color: var(--white);
}

.button.secondary {
    border-color: var(--orange);
    color: var(--orange-2);
    background: #fffdf8;
}

.line-button {
    padding-inline: 20px;
    border-radius: 6px;
    font-size: 18px;
}

.hero-section.shop-hero {
    min-height: clamp(460px, 44vw, 640px);
    display: grid;
    grid-template-columns: minmax(360px, 46%) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-bottom: 4px solid var(--green);
    background: #0d221f;
}

.shop-hero .hero-media {
    position: absolute;
    inset: 0;
    background: #0d221f;
}

.shop-hero .hero-media::before {
    background:
        linear-gradient(90deg, rgba(7, 25, 22, .86) 0%, rgba(7, 25, 22, .76) 32%, rgba(7, 25, 22, .28) 54%, rgba(7, 25, 22, .04) 76%),
        linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .18));
}

.shop-hero .hero-media img {
    object-position: center;
}

.shop-hero .hero-copy {
    width: min(650px, 100%);
    max-width: none;
    padding: clamp(48px, 7vw, 84px) clamp(22px, 5vw, 72px);
    align-self: center;
}

.shop-hero h1 {
    color: #ffffff;
    font-size: clamp(40px, 4.6vw, 72px);
    line-height: 1.22;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .34);
}

.shop-hero .lead {
    max-width: 620px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 700;
}

.shop-hero .hero-actions {
    margin-top: 26px;
}

.service-stamps {
    grid-template-columns: repeat(3, minmax(142px, 1fr));
    gap: 12px;
    max-width: 650px;
    margin-top: 30px;
}

.service-stamps div {
    min-height: 78px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 6px;
    background: rgba(255, 255, 255, .9);
    color: var(--green-2);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .14);
}

.service-stamps dd {
    font-weight: 800;
    line-height: 1.35;
}

.service-stamps svg {
    color: var(--green);
}

.section-block,
.section-band,
.page-title {
    max-width: 1240px;
}

.section-block {
    padding-block: clamp(34px, 5vw, 64px);
}

.section-band {
    background:
        linear-gradient(90deg, rgba(240, 74, 22, .055), rgba(255, 255, 255, 0) 34%),
        var(--shop-paper);
    border-block: 1px solid var(--line);
}

.section-heading {
    align-items: center;
    margin-bottom: 18px;
}

.section-heading h2,
.page-title h1 {
    position: relative;
    color: var(--green-2);
}

.section-heading h2::before,
.page-title h1::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: .92em;
    margin-right: 12px;
    border-radius: 999px;
    background: var(--orange);
    vertical-align: -.1em;
}

.section-heading p {
    margin: 6px 0 0 18px;
    color: var(--muted);
    font-weight: 700;
}

.section-heading > a,
.row-action,
.back-link {
    color: var(--orange-2);
    font-weight: 800;
}

.catalog-section {
    padding-top: clamp(22px, 3vw, 36px);
    padding-bottom: clamp(28px, 4vw, 48px);
}

.catalog-section .category-rail {
    grid-template-columns: repeat(7, minmax(145px, 1fr));
    gap: 12px;
    border: 0;
}

.catalog-section .category-tile {
    min-height: 176px;
    display: grid;
    grid-template-rows: auto minmax(48px, auto) 1fr;
    padding: 18px 16px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 68%, rgba(0, 115, 106, .08) 68%),
        var(--white);
    box-shadow: 0 8px 18px rgba(39, 55, 48, .08);
}

.catalog-section .category-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 74, 22, .55);
    color: var(--green-2);
}

.category-tile svg {
    width: 38px;
    height: 38px;
    color: var(--green);
    margin-bottom: 12px;
}

.category-tile strong {
    color: var(--green-2);
    font-size: 18px;
}

.category-tile span {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
}

.counter-preview {
    max-width: none;
    grid-template-columns: minmax(220px, 290px) minmax(520px, 1fr) minmax(260px, 350px);
    align-items: stretch;
    gap: 28px;
    padding-block: clamp(28px, 4vw, 48px);
}

.counter-preview > div:first-child {
    align-self: center;
}

.counter-preview p {
    color: var(--muted);
    font-weight: 700;
}

.counter-photo {
    margin: 0;
    min-height: 220px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-shop);
}

.counter-photo img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
}

.process-mini {
    align-self: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .8);
}

.process-mini li {
    padding-top: 58px;
    color: var(--green-2);
    font-weight: 800;
    text-align: center;
}

.process-mini li::before {
    left: 50%;
    width: 38px;
    height: 38px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 0;
    background: var(--orange);
    color: #fff;
}

.process-mini li:not(:last-child)::after {
    left: calc(50% + 26px);
    top: 19px;
    background: rgba(0, 87, 79, .48);
}

.shop-contact {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    padding-inline: clamp(18px, 5vw, 72px);
    background:
        linear-gradient(135deg, rgba(0, 115, 106, .98), rgba(0, 78, 72, .98)),
        var(--green-2);
    color: #fff;
    border-top: 0;
}

.shop-contact h2,
.shop-contact h3 {
    color: #fff;
}

.shop-contact p {
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    font-weight: 700;
}

.shop-contact .hours-panel {
    padding: 22px 28px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
}

.page-title {
    padding-top: clamp(38px, 5vw, 62px);
}

.page-title p {
    color: var(--muted);
    font-weight: 700;
}

.product-layout {
    grid-template-columns: 250px 1fr;
    gap: 28px;
}

.filter-rail {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.filter-rail a {
    min-height: 52px;
    padding: 13px 16px;
}

.filter-rail a[aria-current="page"] {
    background: var(--green);
    color: #fff;
}

.filter-rail a[aria-current="page"] svg {
    color: #fff;
}

.product-list {
    border-top: 2px solid var(--green);
}

.product-row {
    grid-template-columns: 128px minmax(0, 1fr) 76px;
    padding: 18px;
    border: 1px solid var(--line);
    border-top: 0;
    background: rgba(255, 255, 255, .86);
}

.product-row h2 {
    font-size: 25px;
}

.product-thumb,
.gallery-main,
.empty-gallery,
.map-frame,
.map-placeholder,
.flow-column,
.safety-card,
.track-panel {
    border-radius: 6px;
}

.product-thumb {
    background:
        linear-gradient(135deg, rgba(0, 187, 168, .12), rgba(240, 74, 22, .06)),
        #fff;
}

.subsidy-hero {
    min-height: 560px;
    background: linear-gradient(180deg, #fff, var(--shop-paper));
}

.subsidy-kicker {
    color: var(--orange);
}

.subsidy-visual {
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow-shop);
}

.subsidy-visual::before {
    background: linear-gradient(90deg, rgba(255, 250, 241, .72), rgba(255, 250, 241, .06) 38%, rgba(255, 255, 255, 0) 68%);
}

.track-grid,
.eligibility-board,
.subsidy-item-rail,
.flat-grid {
    gap: 12px;
    border: 0;
}

.track-panel,
.eligibility-board div,
.subsidy-item,
.flat-grid div,
.flow-column,
.safety-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 18px rgba(39, 55, 48, .06);
}

.track-icon,
.flow-column li > span,
.hero-checks li::before,
.eligibility-board span {
    background: var(--orange);
    color: #fff;
    border: 0;
    box-shadow: none;
}

.flow-column.active h3 {
    background: var(--green);
}

.contact-quick {
    background: var(--green);
    color: #fff;
}

.contact-quick-grid div {
    border-left-color: var(--orange);
}

.contact-quick-grid strong,
.contact-quick-grid span {
    color: #fff;
}

.contact-form-panel,
.contact-info {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .9);
}

.contact-message-form {
    border-top: 2px solid var(--green);
}

input,
select,
textarea {
    border-radius: 5px;
    background: #fffdf8;
}

.map-placeholder {
    background:
        linear-gradient(90deg, rgba(0, 115, 106, .08) 24px, transparent 1%) center / 48px 48px,
        linear-gradient(rgba(0, 115, 106, .08) 24px, transparent 1%) center / 48px 48px,
        #fffdf8;
}

@media (max-width: 1180px) {
    .catalog-section .category-rail {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(168px, 1fr);
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
    }

    .catalog-section .category-tile {
        scroll-snap-align: start;
    }

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

    .counter-photo {
        min-height: 300px;
    }
}

@media (max-width: 1050px) {
    .site-header {
        min-height: 74px;
    }

    .site-nav {
        gap: 10px;
        box-shadow: var(--shadow-shop);
    }

    .shop-hero {
        grid-template-columns: 1fr;
    }

    .hero-section.shop-hero {
        min-height: auto;
        padding: 0;
        background: #102b27;
    }

    .shop-hero .hero-media {
        position: relative;
        min-height: 320px;
        order: 2;
        margin-inline: 0;
    }

    .shop-hero .hero-copy {
        padding: 36px clamp(18px, 5vw, 52px);
    }

    .shop-hero .hero-media::before {
        background: linear-gradient(180deg, rgba(6, 22, 20, .04), rgba(6, 22, 20, .28));
    }

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

    .shop-contact {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .site-header {
        padding: 10px 14px;
    }

    .brand img {
        width: 184px;
    }

    .line-button,
    .button {
        width: 100%;
    }

    .shop-hero h1 {
        font-size: 38px;
    }

    .service-stamps {
        grid-template-columns: 1fr;
    }

    .catalog-section .category-rail,
    .filter-rail {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    .counter-photo {
        min-height: 240px;
    }

    .process-mini {
        padding: 18px;
        text-align: left;
    }

    .process-mini li {
        text-align: left;
        padding: 0 0 0 52px;
        min-height: 40px;
    }

    .process-mini li::before {
        left: 0;
        transform: none;
    }

    .product-row {
        grid-template-columns: 88px 1fr;
        padding: 14px;
    }

    .product-row h2 {
        font-size: 21px;
    }

    .contact-form-panel,
    .contact-info {
        padding: 18px;
    }
}

/* Image-led refinements to match the approved concept more closely */
.catalog-section {
    display: grid;
    grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
    gap: 24px;
    max-width: none;
    padding-inline: clamp(18px, 5vw, 72px);
    background: #fffdf8;
}

.catalog-section .section-heading {
    display: block;
    margin: 0;
    padding-top: 14px;
}

.catalog-section .section-heading h2 {
    margin-bottom: 10px;
}

.catalog-section .section-heading p {
    margin-left: 18px;
    max-width: 190px;
}

.catalog-section .section-heading > a {
    display: inline-flex;
    margin: 20px 0 0 18px;
    padding: 9px 16px;
    border-radius: 5px;
    background: var(--orange);
    color: #fff;
}

.catalog-section .category-rail {
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    gap: 12px;
}

.catalog-section .category-tile {
    min-height: 0;
    grid-template-rows: minmax(104px, 1fr) auto;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-color: rgba(216, 208, 195, .9);
    box-shadow: 0 10px 20px rgba(39, 55, 48, .11);
}

.catalog-section .category-tile > svg {
    display: none;
}

.category-photo {
    margin: 0;
    aspect-ratio: 1.08 / .78;
    overflow: hidden;
    background: var(--soft);
}

.category-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-section .category-photo {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
}

.catalog-section .category-tile strong {
    display: grid;
    min-height: 52px;
    place-items: center;
    padding: 9px 10px 10px;
    background: linear-gradient(180deg, #087d72, #006d64);
    color: #fff;
    text-align: center;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.28;
}

.catalog-section .category-tile span {
    display: none;
}

.counter-preview {
    grid-template-columns: minmax(190px, 245px) minmax(0, 1fr) minmax(230px, 320px);
    padding-inline: clamp(18px, 5vw, 72px);
}

.counter-preview .process-mini {
    min-height: 142px;
    padding: 18px 22px;
}

.shop-contact {
    grid-template-columns: minmax(240px, .9fr) minmax(210px, .72fr) minmax(220px, .72fr) minmax(390px, 1.05fr);
    align-items: center;
}

.line-consult-card {
    display: grid;
    grid-template-rows: auto auto minmax(82px, 1fr);
    gap: 12px;
    min-height: 168px;
    padding: 14px;
    border: 2px solid rgba(0, 115, 106, .34);
    border-radius: 6px;
    background: #fffdf8;
    box-shadow: var(--shadow-shop);
}

.line-consult-card strong {
    display: block;
    color: var(--green-2);
    font-family: var(--font-brand);
    font-size: 22px;
    line-height: 1.15;
}

.line-consult-card span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.35;
}

.line-consult-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 5px;
    background: var(--green);
    color: #fff;
    font-weight: 900;
}

.line-consult-card > a .line-mark {
    background: #fff;
    color: var(--green);
}

.line-consult-card figure {
    min-height: 82px;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.line-consult-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-column {
    min-height: 154px;
}

.shop-contact .contact-column h2,
.shop-contact .contact-column h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.shop-contact .contact-column h2 span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
}

.shop-contact .trust-icon {
    width: 32px;
    height: 32px;
    color: #fff;
}

.contact-methods {
    padding-left: 26px;
    border-left: 1px solid rgba(255, 255, 255, .34);
}

.contact-methods p {
    margin: 6px 0;
}

.contact-methods strong {
    font-size: 23px;
    letter-spacing: .01em;
}

.contact-methods .hero-actions {
    gap: 10px;
    margin-top: 16px;
}

.contact-methods .button {
    min-height: 40px;
    padding: 8px 12px;
}

.contact-visuals {
    display: grid;
    grid-template-columns: minmax(160px, .95fr) minmax(190px, 1.05fr);
    gap: 14px;
    align-items: stretch;
}

.contact-visuals figure,
.mini-map-card {
    min-height: 132px;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .32);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
}

.contact-visuals figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 48%;
}

.mini-map-card {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 18px;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(0, 115, 106, .14) 1px, transparent 1px) 0 0 / 34px 34px,
        linear-gradient(rgba(0, 115, 106, .14) 1px, transparent 1px) 0 0 / 34px 34px,
        #fffaf1;
    color: var(--green-2);
}

.mini-map-card::before {
    content: "";
    width: 26px;
    height: 26px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--orange);
    box-shadow: inset 0 0 0 8px #fffaf1;
}

.mini-map-card strong,
.mini-map-card span {
    position: relative;
    z-index: 1;
}

.mini-map-card span {
    color: var(--green-2);
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .catalog-section {
        grid-template-columns: 1fr;
    }

    .catalog-section .section-heading {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 16px;
    }

    .catalog-section .section-heading p {
        max-width: none;
    }

    .catalog-section .category-rail {
        grid-auto-columns: minmax(174px, 1fr);
    }

    .shop-contact {
        grid-template-columns: 1fr;
    }

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

    .contact-methods {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 680px) {
    .catalog-section {
        padding-inline: 16px;
    }

    .catalog-section .section-heading {
        display: grid;
    }

    .catalog-section .section-heading > a {
        justify-self: start;
        margin-top: 4px;
    }

    .catalog-section .category-rail {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    .catalog-section .category-tile {
        grid-template-rows: 156px auto auto;
    }

    .catalog-section .category-tile span {
        display: block;
        padding: 13px 14px 14px;
        border-top: 1px solid var(--line);
        background: #fffdf8;
        color: var(--green-2);
        font-size: 15px;
        line-height: 1.48;
        overflow-wrap: anywhere;
    }

    .contact-visuals {
        grid-template-columns: 1fr;
    }

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

    .line-consult-card {
        grid-template-rows: auto auto 160px;
    }
}

/* Smaller Taiwan storefront hero pass */
.site-header {
    min-height: 72px;
    padding-block: 9px;
}

.brand img {
    width: min(220px, 45vw);
}

.brand {
    display: grid;
    gap: 2px;
}

.brand span {
    display: block;
    margin-left: 58px;
    margin-top: -8px;
    color: var(--orange);
    font-family: var(--font-brand);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.site-nav {
    font-size: 16px;
}

.line-button {
    min-height: 42px;
    font-size: 17px;
}

.hero-section.shop-hero {
    min-height: clamp(340px, 31vw, 430px);
    border-bottom-width: 3px;
}

.shop-hero .hero-media::before {
    background:
        linear-gradient(90deg, rgba(5, 24, 21, .9) 0%, rgba(5, 24, 21, .82) 28%, rgba(5, 24, 21, .28) 52%, rgba(5, 24, 21, .04) 76%),
        linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .16));
}

.shop-hero .hero-copy {
    width: min(535px, 100%);
    padding: clamp(26px, 3.7vw, 44px) clamp(20px, 5vw, 72px);
}

.shop-hero h1 {
    max-width: 520px;
    font-size: clamp(32px, 3.1vw, 50px);
    line-height: 1.18;
    margin-bottom: 12px;
}

.shop-hero .lead {
    max-width: 500px;
    margin-top: 12px;
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.58;
}

.shop-hero .hero-actions {
    margin-top: 14px;
}

.service-stamps {
    display: flex;
    flex-wrap: wrap;
    max-width: 560px;
    margin: 12px 0 0;
    gap: 10px;
}

.service-stamps div {
    min-height: 52px;
    flex: 1 1 0;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .92);
}

.service-stamps svg {
    width: 24px;
    height: 24px;
}

.service-stamps dd {
    font-size: 14px;
}

.storefront-sign {
    position: absolute;
    z-index: 3;
    right: clamp(28px, 5vw, 72px);
    top: clamp(26px, 4vw, 48px);
    width: min(230px, 22vw);
    min-height: 154px;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 20px 18px;
    border: 5px solid var(--orange);
    background: rgba(255, 250, 241, .94);
    color: var(--green-2);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
    text-align: center;
}

.storefront-sign::before {
    content: "";
    width: 46px;
    height: 10px;
    margin: 0 auto 2px;
    border-radius: 999px;
    background: var(--orange);
}

.storefront-sign strong {
    font-family: var(--font-brand);
    font-size: clamp(24px, 2.1vw, 34px);
    line-height: 1.08;
}

.storefront-sign span {
    padding-top: 10px;
    border-top: 2px solid var(--orange);
    font-weight: 900;
    line-height: 1.35;
}

.storefront-sign small {
    color: var(--orange-2);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.45;
}

.catalog-section {
    padding-top: 26px;
    padding-bottom: 26px;
}

.counter-preview {
    padding-top: 26px;
    padding-bottom: 26px;
}

@media (max-width: 1180px) {
    .storefront-sign {
        display: none;
    }
}

@media (max-width: 1050px) {
    .hero-section.shop-hero {
        min-height: auto;
    }

    .shop-hero .hero-copy {
        width: 100%;
        padding-bottom: 24px;
    }

    .service-stamps {
        flex-wrap: wrap;
        max-width: none;
        margin: 18px 0 0;
    }
}

@media (max-width: 680px) {
    .site-header {
        min-height: 62px;
    }

    .brand img {
        width: 156px;
    }

    .brand span {
        display: none;
    }

    .shop-hero h1 {
        font-size: 30px;
    }

    .shop-hero .hero-copy {
        padding: 24px 16px;
    }

    .shop-hero .hero-media {
        min-height: 170px;
    }
}

@media (max-width: 680px) {
    .hero-section.shop-hero {
        display: block;
        overflow: visible;
        border-bottom-width: 3px;
        background: #fffaf3;
    }

    .shop-hero .hero-media {
        position: relative;
        inset: auto;
        height: 220px;
        min-height: 0;
        border-bottom: 3px solid var(--green);
        background: #0d221f;
    }

    .shop-hero .hero-media::before {
        background:
            linear-gradient(180deg, rgba(5, 24, 21, .06), rgba(5, 24, 21, .38)),
            linear-gradient(90deg, rgba(5, 24, 21, .12), rgba(5, 24, 21, 0) 44%);
    }

    .shop-hero .hero-media img {
        height: 100%;
        object-position: center;
    }

    .shop-hero .hero-copy {
        width: auto;
        margin: -40px 16px 20px;
        padding: 18px 16px 20px;
        border-radius: 8px;
        background: #0b322d;
        box-shadow: 0 18px 34px rgba(0, 0, 0, .2);
    }

    .shop-hero h1 {
        font-size: 29px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .shop-hero .lead {
        margin-top: 0;
        font-size: 16px;
        line-height: 1.52;
    }

    .shop-hero .hero-actions {
        margin-top: 16px;
        gap: 10px;
    }

    .shop-hero .button {
        justify-content: center;
        min-height: 48px;
    }

    .shop-hero .service-stamps {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 12px;
    }

    .shop-hero .service-stamps div {
        display: grid;
        justify-items: center;
        gap: 6px;
        min-height: 76px;
        padding: 10px 6px;
        text-align: center;
    }

    .shop-hero .service-stamps svg {
        width: 22px;
        height: 22px;
    }

    .shop-hero .service-stamps dd {
        font-size: 13px;
        line-height: 1.25;
    }
}

/* Storefront catalog treatment for public product pages */
.page-title {
    max-width: none;
    padding: clamp(28px, 4vw, 46px) clamp(18px, 5vw, 72px);
    background:
        linear-gradient(90deg, rgba(240, 74, 22, .06), rgba(255, 255, 255, 0) 42%),
        #fffdf8;
    border-bottom: 1px solid var(--line);
}

.page-title h1 {
    font-size: clamp(34px, 4vw, 58px);
}

.page-title p {
    max-width: 760px;
    margin: 8px 0 0 18px;
}

.product-layout {
    max-width: none;
    padding-inline: clamp(18px, 5vw, 72px);
    padding-top: clamp(28px, 4vw, 44px);
    background: linear-gradient(180deg, #fffdf8, #f8f4ec);
}

.product-list {
    display: grid;
    gap: 10px;
    border-top: 3px solid var(--green);
}

.product-row {
    grid-template-columns: 170px minmax(0, 1fr) 82px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 18px rgba(39, 55, 48, .06);
}

.product-row + .product-row {
    border-top: 1px solid var(--line);
}

.product-thumb {
    width: 170px;
    aspect-ratio: 1.34;
    display: block;
    position: relative;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 5px 14px rgba(39, 55, 48, .08);
}

.product-list .product-row .product-thumb > img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    background: var(--white);
}

.product-row h2 {
    font-size: clamp(23px, 2vw, 31px);
}

.product-row .meta {
    color: var(--orange-2);
}

.row-action {
    display: inline-grid;
    place-items: center;
    min-height: 38px;
    padding: 6px 10px;
    border-radius: 5px;
    background: var(--orange);
    color: #fff;
}

.row-action:hover {
    color: #fff;
    background: var(--orange-2);
}

.filter-rail {
    position: sticky;
    top: 92px;
    align-self: start;
}

.filter-rail a {
    font-weight: 800;
}

.product-detail {
    background: #fffdf8;
}

.gallery-main img {
    width: 100%;
    min-height: 300px;
    object-fit: contain;
}

@media (max-width: 1050px) {
    .filter-rail {
        position: static;
    }

    .product-list {
        border-top-width: 2px;
    }
}

@media (max-width: 680px) {
    .page-title {
        padding: 26px 16px;
    }

    .page-title h1 {
        font-size: 34px;
    }

    .product-layout {
        padding-inline: 16px;
    }

    .product-row {
        grid-template-columns: 104px 1fr;
        gap: 14px;
        padding: 12px;
    }

    .product-thumb {
        width: 104px;
        aspect-ratio: 1;
    }

    .row-action {
        grid-column: 2;
        justify-self: start;
        min-height: 34px;
    }
}

/* Contact page storefront imagery */
.store-contact-title {
    grid-template-columns: minmax(0, 1fr) auto minmax(260px, 390px);
    align-items: center;
    gap: clamp(22px, 4vw, 56px);
}

.contact-title-photo {
    margin: 0;
    height: 168px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-shop);
}

.contact-title-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 66% 52%;
}

.contact-line-card {
    display: grid;
    gap: 10px;
    margin: 16px 0 18px;
    padding: 16px;
    border: 2px solid rgba(240, 74, 22, .38);
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(0, 115, 106, .08), transparent 52%),
        #fffaf1;
}

.contact-line-card strong {
    color: var(--green-2);
    font-family: var(--font-brand);
    font-size: 22px;
    line-height: 1.2;
}

.contact-line-card span {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.5;
}

.contact-line-card a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 5px;
    background: var(--green);
    color: #fff;
    font-weight: 900;
}

.contact-line-card .line-mark {
    background: #fff;
    color: var(--green);
}

.contact-store-photo {
    margin: 16px 0 0;
    height: 210px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-shop);
}

.contact-store-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* API-backed catalog */
.catalog-toolbar {
    max-width: none;
    display: grid;
    gap: 10px;
    padding: 0 clamp(18px, 5vw, 72px) clamp(18px, 3vw, 28px);
    background: #fffdf8;
}

.catalog-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.catalog-search input[type="search"] {
    min-width: min(100%, 360px);
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
}

.catalog-status {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.catalog-status span {
    color: var(--orange-2);
    font-weight: 800;
}

.price-line,
.detail-price {
    color: var(--orange-2) !important;
    font-weight: 900;
}

.price-line span,
.detail-price span {
    color: var(--muted);
    font-weight: 700;
}

.product-code {
    margin-top: 4px !important;
    color: var(--green-2) !important;
    font-size: 14px;
    font-weight: 800;
}

.detail-price {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 38px);
}

.member-price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--green-2);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 900;
}

.member-price span {
    color: var(--muted);
    font-size: .82em;
    font-weight: 800;
}

.product-facts {
    display: grid;
    margin: 22px 0 0;
    border-top: 1px solid var(--line);
}

.product-facts div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.product-facts dt,
.product-facts dd {
    margin: 0;
}

.product-facts dt {
    color: var(--muted);
    font-weight: 800;
}

.product-facts dd {
    color: var(--ink);
    overflow-wrap: anywhere;
}

@media (max-width: 1050px) {
    .store-contact-title {
        grid-template-columns: 1fr;
    }

    .contact-title-photo {
        height: 240px;
    }
}

@media (max-width: 680px) {
    .contact-title-photo {
        height: 180px;
    }

    .contact-store-photo {
        height: 180px;
    }

    .catalog-search {
        align-items: stretch;
    }

    .catalog-search input[type="search"],
    .catalog-search .button {
        width: 100%;
    }

    .product-facts div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}
