:root {
    --wmp-ink: #122526;
    --wmp-ink-soft: #294344;
    --wmp-paper: #f6f1e7;
    --wmp-paper-deep: #e8dfcf;
    --wmp-white: #fffdf8;
    --wmp-gold: #c6a15b;
    --wmp-coral: #ee5c61;
    --wmp-green: #2e6b57;
    --wmp-line: rgba(18, 37, 38, 0.16);
    --wmp-shadow: 0 22px 60px rgba(18, 37, 38, 0.14);
}

.wmp-container {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.wmp-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;
}

.wmp-page,
.wmp-home,
.wmp-dialog {
    color: var(--wmp-ink);
    font-family: "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
}

.wmp-page *,
.wmp-home *,
.wmp-dialog * {
    box-sizing: border-box;
}

.wmp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--wmp-ink-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.wmp-eyebrow > span {
    width: 1.8rem;
    height: 2px;
    background: var(--wmp-coral);
}

.wmp-button {
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 1.25rem;
    border: 1.5px solid transparent;
    border-radius: 0.35rem;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.wmp-button:hover {
    transform: translateY(-2px);
}

.wmp-button--primary {
    border-color: var(--wmp-ink);
    background: var(--wmp-ink);
    color: var(--wmp-white);
    box-shadow: 5px 5px 0 var(--wmp-gold);
}

.wmp-button--primary:hover {
    background: var(--wmp-ink-soft);
    color: #fff;
    box-shadow: 7px 7px 0 var(--wmp-gold);
}

.wmp-button--ghost {
    border-color: var(--wmp-line);
    background: transparent;
    color: var(--wmp-ink);
}

.wmp-button--ghost:hover {
    border-color: var(--wmp-ink);
    background: var(--wmp-white);
    color: var(--wmp-ink);
}

.wmp-button--light {
    border-color: var(--wmp-white);
    background: var(--wmp-white);
    color: var(--wmp-ink);
}

.wmp-button--light:hover {
    border-color: var(--wmp-gold);
    background: var(--wmp-gold);
    color: var(--wmp-ink);
}

.wmp-button--wide {
    width: 100%;
}

.wmp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 25%, rgba(198, 161, 91, 0.3), transparent 26%),
        linear-gradient(120deg, var(--wmp-paper) 0%, #f1e7d7 52%, #e5d5bc 100%);
    border-bottom: 1px solid var(--wmp-line);
}

.wmp-hero::after {
    position: absolute;
    top: 2rem;
    right: max(1rem, calc((100vw - 1180px) / 2));
    width: 17rem;
    height: 17rem;
    border: 1px solid rgba(18, 37, 38, 0.12);
    border-radius: 50%;
    content: "";
    transform: translateX(35%);
}

.wmp-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 29rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
    align-items: end;
    gap: 4rem;
    padding-block: 5.5rem 4rem;
}

.wmp-hero__copy h1 {
    max-width: 13ch;
    margin: 1rem 0 1.15rem;
    color: var(--wmp-ink);
    font-family: Georgia, "Songti TC", "Noto Serif TC", serif;
    font-size: clamp(2.8rem, 7vw, 5.7rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.wmp-hero__copy > p {
    max-width: 42rem;
    margin: 0;
    color: #455a59;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.8;
}

.wmp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.wmp-hero__trust {
    display: grid;
    border-top: 1px solid var(--wmp-line);
}

.wmp-hero__trust > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--wmp-line);
}

.wmp-hero__trust strong {
    color: var(--wmp-ink);
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.25rem;
    font-weight: 500;
}

.wmp-hero__trust span {
    color: var(--wmp-ink-soft);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: right;
    text-transform: uppercase;
}

.wmp-catalogue {
    padding: 5rem 0 6rem;
    background: var(--wmp-white);
}

.wmp-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.3rem;
}

.wmp-section-head h2,
.wmp-home h2,
.wmp-merchant-banner h2,
.wmp-account-hero h1 {
    margin: 0.55rem 0 0;
    color: var(--wmp-ink);
    font-family: Georgia, "Songti TC", "Noto Serif TC", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.wmp-search {
    display: flex;
    align-items: stretch;
    min-width: min(100%, 24rem);
    border: 1.5px solid var(--wmp-ink);
    background: var(--wmp-white);
}

.wmp-search label {
    min-width: 0;
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.65rem;
    padding-inline: 0.9rem;
}

.wmp-search svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.wmp-search input {
    width: 100%;
    min-width: 0;
    padding: 0.8rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--wmp-ink);
    font-size: 0.88rem;
}

.wmp-search button {
    padding: 0.75rem 1.15rem;
    border: 0;
    background: var(--wmp-ink);
    color: #fff;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.wmp-search-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: -1rem 0 1.5rem;
    color: #617170;
    font-size: 0.84rem;
}

.wmp-search-summary a {
    color: var(--wmp-coral);
    font-weight: 800;
    text-decoration: underline;
}

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

.wmp-product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--wmp-line);
    background: #fff;
    box-shadow: 0 0 0 rgba(18, 37, 38, 0);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.wmp-product-card:hover {
    border-color: rgba(18, 37, 38, 0.32);
    box-shadow: var(--wmp-shadow);
    transform: translateY(-5px);
}

.wmp-product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--wmp-paper);
}

.wmp-product-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 500ms ease;
}

.wmp-product-card:hover .wmp-product-card__image img {
    transform: scale(1.035);
}

.wmp-product-card__featured,
.wmp-product-card__stock {
    position: absolute;
    top: 0.8rem;
    padding: 0.38rem 0.58rem;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.wmp-product-card__featured {
    left: 0.8rem;
    background: var(--wmp-gold);
    color: var(--wmp-ink);
}

.wmp-product-card__stock {
    right: 0.8rem;
    max-width: 55%;
    overflow: hidden;
    background: rgba(18, 37, 38, 0.9);
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wmp-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.wmp-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #73817f;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wmp-product-card__meta span:last-child {
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wmp-product-card h3 {
    margin: 0.8rem 0 0.55rem;
    color: var(--wmp-ink);
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.18;
}

.wmp-product-card__body > p {
    margin: 0 0 1rem;
    color: #667675;
    font-size: 0.85rem;
    line-height: 1.65;
}

.wmp-product-card__numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0;
    margin-top: auto;
    border-top: 1px solid var(--wmp-line);
}

.wmp-product-card__numbers div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wmp-product-card__numbers span {
    color: #788684;
    font-size: 0.68rem;
    font-weight: 700;
}

.wmp-product-card__numbers strong {
    color: var(--wmp-ink);
    font-size: 1rem;
}

.wmp-product-card__numbers div:first-child strong {
    color: #a4423c;
    font-family: Georgia, serif;
    font-size: 1.25rem;
}

.wmp-product-card__lead {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-bottom: 0.8rem;
    color: #697977;
    font-size: 0.75rem;
}

.wmp-product-card__lead svg {
    width: 1rem;
    height: 1rem;
}

.wmp-button--inquiry {
    width: 100%;
    margin-top: 0.45rem;
    justify-content: space-between;
    border-color: var(--wmp-ink);
    background: transparent;
    color: var(--wmp-ink);
}

.wmp-button--inquiry svg {
    width: 1.15rem;
    height: 1.15rem;
    transition: transform 180ms ease;
}

.wmp-button--inquiry:hover {
    background: var(--wmp-ink);
    color: #fff;
}

.wmp-button--inquiry:hover svg {
    transform: translateX(4px);
}

.wmp-empty {
    grid-column: 1 / -1;
    padding: 5rem 1rem;
    border: 1px dashed rgba(18, 37, 38, 0.3);
    text-align: center;
}

.wmp-empty > span {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--wmp-ink);
    color: var(--wmp-gold);
    font-family: Georgia, serif;
    font-size: 1.35rem;
}

.wmp-empty h3 {
    margin: 0 0 0.5rem;
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.6rem;
    font-weight: 500;
}

.wmp-empty p {
    margin: 0;
    color: #6b7977;
}

.wmp-pagination {
    margin-top: 2.5rem;
}

.wmp-merchant-banner {
    padding: 3.5rem 0;
    background:
        linear-gradient(120deg, var(--wmp-ink), #1e403e);
    color: #fff;
}

.wmp-merchant-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.wmp-merchant-banner .wmp-eyebrow {
    color: #d8cebd;
}

.wmp-merchant-banner h2 {
    color: #fff;
}

.wmp-merchant-banner p {
    max-width: 47rem;
    margin: 0.8rem 0 0;
    color: #d9dfdd;
    line-height: 1.7;
}

.wmp-home {
    padding: 4.5rem 0;
    background:
        linear-gradient(180deg, rgba(246, 241, 231, 0.88), #f6f1e7);
    border-top: 1px solid rgba(18, 37, 38, 0.12);
    border-bottom: 1px solid rgba(18, 37, 38, 0.12);
}

.wmp-home__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.wmp-home__head > div {
    max-width: 48rem;
}

.wmp-home__head p {
    margin: 0.8rem 0 0;
    color: #5f706e;
    line-height: 1.75;
}

.wmp-home__all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--wmp-ink);
    color: var(--wmp-ink);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.wmp-home__all span {
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.wmp-home__all:hover {
    color: var(--wmp-ink);
}

.wmp-home__all:hover span {
    transform: translateX(4px);
}

.wmp-home__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.wmp-home-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 13rem;
    overflow: hidden;
    border: 1px solid rgba(18, 37, 38, 0.2);
    background: #fffdf8;
    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}

.wmp-home-card:hover {
    box-shadow: 0 18px 36px rgba(18, 37, 38, 0.12);
    transform: translateY(-4px);
}

.wmp-home-card__image {
    position: relative;
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: var(--wmp-paper-deep);
}

.wmp-home-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 450ms ease;
}

.wmp-home-card:hover .wmp-home-card__image img {
    transform: scale(1.04);
}

.wmp-home-card__image > span {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    background: var(--wmp-gold);
    color: var(--wmp-ink);
    font-size: 0.8rem;
}

.wmp-home-card__body {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.wmp-home-card__location {
    overflow: hidden;
    color: #77837f;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.wmp-home-card h3 {
    margin: 0.55rem 0;
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.wmp-home-card__price {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    margin-top: auto;
}

.wmp-home-card__price strong {
    color: #a4423c;
    font-family: Georgia, serif;
    font-size: 1.15rem;
}

.wmp-home-card__price span {
    color: #6f7d7a;
    font-size: 0.7rem;
}

.wmp-home-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    margin-top: 0.8rem;
    padding: 0.6rem 0;
    border: 0;
    border-top: 1px solid var(--wmp-line);
    background: transparent;
    color: var(--wmp-ink);
    font-size: 0.73rem;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.wmp-home-card__cta span {
    color: var(--wmp-coral);
    font-size: 1rem;
}

.wmp-home__empty {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.35rem;
    border: 1px dashed rgba(18, 37, 38, 0.28);
    background: rgba(255, 253, 248, 0.65);
}

.wmp-home__empty-mark {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--wmp-ink);
    color: var(--wmp-gold);
    font-family: Georgia, serif;
    font-size: 1.15rem;
}

.wmp-home__empty > div {
    flex: 1;
}

.wmp-home__empty h3 {
    margin: 0 0 0.3rem;
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.wmp-home__empty p {
    margin: 0;
    color: #687775;
    font-size: 0.82rem;
    line-height: 1.6;
}

.wmp-home__empty .wmp-button {
    flex: 0 0 auto;
}

.wmp-dialog {
    width: min(42rem, calc(100% - 1.5rem));
    max-height: min(90vh, 54rem);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 0.5rem;
    background: var(--wmp-white);
    color: var(--wmp-ink);
    box-shadow: 0 35px 90px rgba(9, 24, 25, 0.38);
}

.wmp-dialog::backdrop {
    background: rgba(10, 25, 26, 0.66);
    backdrop-filter: blur(6px);
}

.wmp-dialog__shell {
    position: relative;
    padding: 2rem;
}

.wmp-dialog__close {
    position: absolute;
    z-index: 2;
    top: 0.8rem;
    right: 0.8rem;
    display: grid;
    width: 2.3rem;
    height: 2.3rem;
    place-items: center;
    border: 1px solid var(--wmp-line);
    border-radius: 50%;
    background: var(--wmp-white);
    color: var(--wmp-ink);
    cursor: pointer;
}

.wmp-dialog__close span {
    font-size: 1.4rem;
    line-height: 1;
}

.wmp-dialog__head {
    padding-right: 2.5rem;
    margin-bottom: 1.2rem;
}

.wmp-dialog__eyebrow {
    color: #8b6c34;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wmp-dialog__head h2 {
    margin: 0.45rem 0;
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    font-weight: 500;
    line-height: 1.1;
}

.wmp-dialog__head p {
    margin: 0;
    color: #6d7b78;
    font-size: 0.8rem;
    line-height: 1.6;
}

.wmp-gate {
    padding: 2rem 1rem;
    text-align: center;
}

.wmp-gate__icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--wmp-paper);
    color: var(--wmp-ink);
}

.wmp-gate__icon svg {
    width: 1.8rem;
    height: 1.8rem;
}

.wmp-gate h3 {
    margin: 0 0 0.6rem;
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.55rem;
    font-weight: 500;
}

.wmp-gate p {
    max-width: 31rem;
    margin: 0 auto;
    color: #62716f;
    line-height: 1.7;
}

.wmp-gate__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.35rem 0 0.9rem;
}

.wmp-gate small {
    color: #84908d;
    font-size: 0.72rem;
}

.wmp-gate--pending .wmp-gate__icon {
    background: #f5ead0;
    color: #7d5a1d;
}

.wmp-form-note,
.wmp-form-alert,
.wmp-verified-strip {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--wmp-gold);
    background: #f3eddf;
    color: #546360;
    font-size: 0.8rem;
    line-height: 1.55;
}

.wmp-form-note strong,
.wmp-form-alert strong {
    color: var(--wmp-ink);
}

.wmp-form-alert--error {
    border-left-color: #b33c42;
    background: #f9e9e8;
    color: #7c2f33;
}

.wmp-verified-strip {
    flex-direction: row;
    align-items: center;
    border-left-color: var(--wmp-green);
    background: #eaf3ed;
}

.wmp-verified-strip svg {
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 auto;
    color: var(--wmp-green);
}

.wmp-verified-strip span {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.wmp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.wmp-field {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
}

.wmp-field--full {
    grid-column: 1 / -1;
}

.wmp-field > span {
    color: #394c4b;
    font-size: 0.76rem;
    font-weight: 800;
}

.wmp-field input,
.wmp-field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(18, 37, 38, 0.24);
    border-radius: 0.25rem;
    outline: 0;
    background: #fff;
    color: var(--wmp-ink);
    font: inherit;
    font-size: 0.86rem;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.wmp-field textarea {
    resize: vertical;
}

.wmp-field input:focus,
.wmp-field textarea:focus {
    border-color: var(--wmp-ink);
    box-shadow: 0 0 0 3px rgba(18, 37, 38, 0.09);
}

.wmp-field small {
    color: #ad3f45;
    font-size: 0.71rem;
}

.wmp-merchant-form > form > .wmp-button,
.wmp-dialog > .wmp-dialog__shell > form > .wmp-button {
    margin-top: 1rem;
}

.wmp-account-page {
    background: var(--wmp-paper);
}

.wmp-account-hero {
    padding: 4rem 0 3rem;
    background:
        radial-gradient(circle at 82% 20%, rgba(198, 161, 91, 0.28), transparent 24%),
        var(--wmp-paper);
    border-bottom: 1px solid var(--wmp-line);
}

.wmp-account-hero__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.wmp-account-hero p {
    max-width: 45rem;
    margin: 0.8rem 0 0;
    color: #5f706e;
    line-height: 1.7;
}

.wmp-account-layout {
    min-height: 38rem;
    display: grid;
    grid-template-columns: 20rem minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 2rem 5rem;
}

.wmp-account-list,
.wmp-account-conversation {
    border: 1px solid var(--wmp-line);
    background: var(--wmp-white);
}

.wmp-account-list {
    align-self: start;
    overflow: hidden;
}

.wmp-account-list > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--wmp-line);
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wmp-account-list > header strong {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    border-radius: 50%;
    background: var(--wmp-ink);
    color: #fff;
    font-size: 0.72rem;
}

.wmp-account-thread {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    border-bottom: 1px solid var(--wmp-line);
    color: var(--wmp-ink);
    text-decoration: none;
}

.wmp-account-thread:hover,
.wmp-account-thread.is-active {
    background: #f4eee2;
    color: var(--wmp-ink);
}

.wmp-account-thread.is-active {
    box-shadow: inset 3px 0 var(--wmp-coral);
}

.wmp-account-thread strong {
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.35;
}

.wmp-account-thread small {
    color: #7d8987;
    font-size: 0.68rem;
}

.wmp-account-thread__status {
    align-self: flex-start;
    margin-bottom: 0.1rem;
}

.wmp-account-thread__unread {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    border-radius: 50%;
    background: var(--wmp-coral);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 900;
}

.wmp-account-empty {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 2rem 1rem;
    color: #72817e;
    font-size: 0.8rem;
    line-height: 1.6;
}

.wmp-account-empty strong {
    color: var(--wmp-ink);
}

.wmp-account-conversation {
    min-width: 0;
}

.wmp-account-conversation__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-bottom: 1px solid var(--wmp-line);
}

.wmp-account-conversation__head > div > span {
    color: #93743e;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wmp-account-conversation__head h2 {
    margin: 0.35rem 0;
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.7rem;
    font-weight: 500;
}

.wmp-account-conversation__head p {
    margin: 0;
    color: #677673;
    font-size: 0.8rem;
}

.wmp-account-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 20rem;
    padding: 1.5rem;
    background:
        linear-gradient(rgba(246, 241, 231, 0.64) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246, 241, 231, 0.64) 1px, transparent 1px),
        #fbf8f1;
    background-size: 24px 24px;
}

.wmp-account-message {
    display: flex;
}

.wmp-account-message.is-japhk {
    justify-content: flex-start;
}

.wmp-account-message.is-merchant {
    justify-content: flex-end;
}

.wmp-account-message > div {
    max-width: min(80%, 38rem);
    padding: 0.9rem 1rem;
    border: 1px solid var(--wmp-line);
    background: #fff;
}

.wmp-account-message.is-merchant > div {
    background: var(--wmp-ink);
    color: #fff;
}

.wmp-account-message span {
    display: block;
    margin-bottom: 0.35rem;
    color: #8c744a;
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wmp-account-message.is-merchant span {
    color: #d8caad;
}

.wmp-account-message div > div {
    font-size: 0.87rem;
    line-height: 1.65;
}

.wmp-account-message time {
    display: block;
    margin-top: 0.5rem;
    color: #8c9895;
    font-size: 0.65rem;
}

.wmp-account-message.is-merchant time {
    color: #b9c5c2;
}

.wmp-account-reply {
    display: flex;
    align-items: end;
    gap: 0.8rem;
    padding: 1rem 1.4rem 1.4rem;
    border-top: 1px solid var(--wmp-line);
}

.wmp-account-reply label {
    display: none;
}

.wmp-account-reply textarea {
    width: 100%;
    min-height: 5rem;
    flex: 1;
    resize: vertical;
    padding: 0.8rem;
    border: 1px solid rgba(18, 37, 38, 0.24);
    border-radius: 0.3rem;
    outline: 0;
    font: inherit;
    font-size: 0.86rem;
}

.wmp-account-reply textarea:focus {
    border-color: var(--wmp-ink);
}

.wmp-account-closed {
    padding: 1rem 1.4rem;
    border-top: 1px solid var(--wmp-line);
    background: #eee9df;
    color: #697774;
    font-size: 0.8rem;
}

.wmp-account-placeholder {
    display: grid;
    min-height: 35rem;
    place-items: center;
    align-content: center;
    gap: 0.8rem;
    padding: 2rem;
    text-align: center;
}

.wmp-account-placeholder > span {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border-radius: 50%;
    background: var(--wmp-ink);
    color: var(--wmp-gold);
    font-family: Georgia, serif;
}

.wmp-account-placeholder h2 {
    margin: 0;
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.wmp-account-placeholder p {
    max-width: 28rem;
    margin: 0;
    color: #6c7977;
    line-height: 1.7;
}

.wmp-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #eee9df;
    color: #5b6664;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.wmp-status-pill--open {
    background: #f7e9d1;
    color: #8a5e18;
}

.wmp-status-pill--replied,
.wmp-status-pill--approved,
.wmp-status-pill--active {
    background: #e6f0ea;
    color: #286148;
}

.wmp-status-pill--closed,
.wmp-status-pill--inactive {
    background: #eceae7;
    color: #696b6a;
}

.wmp-status-pill--rejected {
    background: #f7e8e8;
    color: #9c353b;
}

@media (max-width: 1024px) {
    .wmp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wmp-home__grid {
        grid-template-columns: 1fr 1fr;
    }

    .wmp-home-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .wmp-container {
        width: min(100% - 1.2rem, 42rem);
    }

    .wmp-hero__inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 2.2rem;
        padding-block: 3.5rem 2.5rem;
    }

    .wmp-hero::after {
        width: 11rem;
        height: 11rem;
        top: 1rem;
    }

    .wmp-hero__copy h1 {
        max-width: 10ch;
        font-size: clamp(2.65rem, 15vw, 4.2rem);
    }

    .wmp-hero__trust {
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid var(--wmp-line);
    }

    .wmp-hero__trust > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.9rem 0.6rem;
        border-right: 1px solid var(--wmp-line);
        border-bottom: 0;
    }

    .wmp-hero__trust > div:first-child {
        padding-left: 0;
    }

    .wmp-hero__trust > div:last-child {
        border-right: 0;
    }

    .wmp-hero__trust span {
        text-align: left;
    }

    .wmp-catalogue {
        padding: 3.5rem 0 4rem;
    }

    .wmp-section-head,
    .wmp-home__head,
    .wmp-merchant-banner__inner,
    .wmp-account-hero__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .wmp-section-head {
        gap: 1.25rem;
    }

    .wmp-search {
        width: 100%;
        min-width: 0;
    }

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

    .wmp-home-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .wmp-merchant-banner__inner .wmp-button,
    .wmp-account-hero__inner .wmp-button {
        align-self: flex-start;
    }

    .wmp-home {
        padding: 3.5rem 0;
    }

    .wmp-home-card {
        min-height: 12rem;
    }

    .wmp-home__empty {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .wmp-home__empty > div {
        min-width: calc(100% - 5rem);
    }

    .wmp-home__empty .wmp-button {
        width: 100%;
    }

    .wmp-dialog {
        width: calc(100% - 0.9rem);
        max-height: calc(100vh - 1.2rem);
    }

    .wmp-dialog__shell {
        padding: 1.25rem;
    }

    .wmp-form-grid {
        grid-template-columns: 1fr;
    }

    .wmp-field--full {
        grid-column: auto;
    }

    .wmp-account-hero {
        padding: 3rem 0 2rem;
    }

    .wmp-account-layout {
        grid-template-columns: 1fr;
        padding-block: 1rem 4rem;
    }

    .wmp-account-list {
        max-height: 20rem;
        overflow: auto;
    }

    .wmp-account-reply {
        align-items: stretch;
        flex-direction: column;
    }

    .wmp-account-reply .wmp-button {
        width: 100%;
    }

    .wmp-account-message > div {
        max-width: 92%;
    }
}

@media (max-width: 430px) {
    .wmp-hero__actions {
        flex-direction: column;
    }

    .wmp-hero__actions .wmp-button {
        width: 100%;
    }

    .wmp-home-card {
        grid-template-columns: 40% 60%;
    }

    .wmp-home-card h3 {
        font-size: 1.05rem;
    }

    .wmp-product-card__body {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wmp-page *,
    .wmp-home *,
    .wmp-dialog * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
