/*
 * 檔案名稱：assets/css/app.css
 * 修改日期：2026/07/25 02:25（UTC+8）
 * 檔案用途：今達・今今食品前台響應式視覺系統
 * 修改說明：修正正式 LOGO、商品選單操作緩衝與企業聯絡頁
 */

:root {
    --brand-red: #a4141a;
    --brand-red-dark: #741014;
    --brand-red-soft: #f5e4e3;
    --nut-brown: #6d412d;
    --nut-brown-dark: #39261e;
    --leaf-green: #657f54;
    --leaf-green-soft: #edf3e8;
    --cream: #f7f0e7;
    --cream-deep: #ecdfd0;
    --paper: #fffdf9;
    --white: #ffffff;
    --ink: #2f2420;
    --muted: #776a63;
    --line: #e5d7ca;
    --shadow-sm: 0 8px 24px rgba(63, 39, 27, .08);
    --shadow-lg: 0 24px 70px rgba(63, 39, 27, .13);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 34px;
    --container: 1240px;
    --header-height: 96px;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--cream);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 5% 4%, rgba(218, 181, 137, .20), transparent 28rem),
        var(--cream);
    color: var(--ink);
    line-height: 1.7;
}

body.is-menu-open {
    overflow: hidden;
}

img,
picture,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
.btn {
    white-space: nowrap;
}

button {
    cursor: pointer;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-topbar {
    border-bottom: 1px solid rgba(105, 65, 45, .10);
    background: rgba(255, 253, 249, .86);
    color: var(--muted);
    font-size: 13px;
}

.site-topbar__inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.site-topbar__links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-topbar a:hover {
    color: var(--brand-red);
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(105, 65, 45, .10);
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: var(--header-height);
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
}

.brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: auto;
    height: 86px;
    max-width: none;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand__companies {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nut-brown-dark);
    font-size: 19px;
    font-weight: 900;
    letter-spacing: .04em;
    white-space: nowrap;
}

.brand__companies b,
.mobile-drawer__brand b {
    color: var(--brand-red);
    font-size: 1.15em;
    line-height: 1;
}

.main-nav {
    justify-self: center;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__link,
.main-nav__button {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
}

.main-nav__link::after,
.main-nav__button::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-red);
    content: "";
    opacity: 0;
    transform: scaleX(.5);
    transition: .2s ease;
}

.main-nav__link:hover,
.main-nav__link.is-active,
.main-nav__button:hover {
    color: var(--brand-red);
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after,
.main-nav__button:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-item {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    width: min(720px, 75vw);
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    z-index: 1100;
    transform: translate(-50%, 12px);
    transition: opacity .18s ease, transform .18s ease;
}

.mega-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 12px;
    content: "";
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

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

.mega-menu__link {
    display: grid;
    min-height: 76px;
    align-content: center;
    gap: 3px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8f1e8;
    transition: .18s ease;
}

.mega-menu__link:hover {
    background: var(--brand-red-soft);
    color: var(--brand-red-dark);
    transform: translateY(-2px);
}

.mega-menu__link strong {
    font-size: 15px;
}

.mega-menu__link small {
    color: var(--muted);
    font-size: 12px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    position: relative;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    transition: .18s ease;
}

.icon-button:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 5px;
    border: 2px solid var(--paper);
    border-radius: 999px;
    background: var(--brand-red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.menu-toggle {
    display: none;
}

.mobile-drawer,
.mobile-backdrop {
    display: none;
}

.hero {
    padding: clamp(46px, 8vw, 100px) 0 70px;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(40px, 6vw, 88px);
}

.hero__eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero__eyebrow::before,
.section-eyebrow::before {
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.hero__title {
    max-width: 720px;
    margin: 0;
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-size: clamp(42px, 6.3vw, 82px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.12;
}

.hero__title em {
    color: var(--brand-red);
    font-style: normal;
}

.hero__text {
    max-width: 640px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.9;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: .2s ease;
}

.btn--primary {
    background: var(--brand-red);
    color: #fff;
    box-shadow: 0 12px 28px rgba(164, 20, 26, .20);
}

.btn--primary:hover {
    background: var(--brand-red-dark);
    transform: translateY(-2px);
}

.btn--secondary {
    border-color: var(--nut-brown);
    background: transparent;
    color: var(--nut-brown);
}

.btn--secondary:hover {
    background: var(--nut-brown);
    color: #fff;
    transform: translateY(-2px);
}

.btn--light {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.btn--light:hover {
    background: #fff;
    color: var(--brand-red-dark);
}

.btn--small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.hero__visual {
    position: relative;
}

.hero__visual::before {
    position: absolute;
    z-index: -1;
    top: -12%;
    right: -16%;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(164, 20, 26, .08);
    content: "";
}

.hero__image {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.hero__stamp {
    position: absolute;
    right: -22px;
    bottom: 28px;
    display: grid;
    width: 126px;
    height: 126px;
    place-items: center;
    padding: 16px;
    border: 6px solid rgba(255,255,255,.85);
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    transform: rotate(-7deg);
}

.trust-strip {
    padding: 0 0 34px;
}

.trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 249, .82);
    box-shadow: var(--shadow-sm);
}

.trust-item {
    display: grid;
    min-height: 108px;
    align-content: center;
    gap: 3px;
    padding: 20px 24px;
    border-right: 1px solid var(--line);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item strong {
    color: var(--nut-brown-dark);
    font-size: 17px;
}

.trust-item span {
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: clamp(64px, 8vw, 112px) 0;
}

.section--paper {
    background: var(--paper);
}

.section--dark {
    background: var(--nut-brown-dark);
    color: #fff;
}

.section--green {
    background: var(--leaf-green-soft);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 36px;
}

.section-heading__title {
    margin: 0;
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -.04em;
    line-height: 1.2;
}

.section-heading__text {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
}

.section--dark .section-heading__text {
    color: rgba(255, 255, 255, .68);
}

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

.company-card {
    position: relative;
    display: grid;
    min-height: 390px;
    overflow: hidden;
    align-content: end;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(46,31,24,.88)),
        url("../images/hero-nuts.svg") center/cover;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.company-card:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(95,24,26,.90)),
        url("../images/hero-nuts.svg") 65% center/cover;
}

.company-card__badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 800;
}

.company-card h3 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 42px);
}

.company-card p {
    max-width: 540px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.78);
}

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

.category-card {
    position: relative;
    min-height: 218px;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: .22s ease;
}

.category-card::after {
    position: absolute;
    right: -40px;
    bottom: -56px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--brand-red-soft);
    content: "";
    transition: .22s ease;
}

.category-card:nth-child(2n)::after {
    background: var(--leaf-green-soft);
}

.category-card:hover {
    border-color: rgba(164, 20, 26, .45);
    transform: translateY(-5px);
}

.category-card:hover::after {
    transform: scale(1.12);
}

.category-card__number {
    position: relative;
    z-index: 1;
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.category-card h3 {
    position: relative;
    z-index: 1;
    margin: 28px 0 8px;
    font-size: 24px;
}

.category-card p {
    position: relative;
    z-index: 1;
    max-width: 76%;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.category-card__arrow {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
}

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

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: .22s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1e4d5;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .3s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.025);
}

.product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--brand-red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.product-card__body {
    padding: 22px;
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
}

.product-card h3 {
    margin: 10px 0 6px;
    font-size: 22px;
}

.product-card__english {
    min-height: 22px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
}

.product-card__summary {
    display: -webkit-box;
    min-height: 54px;
    overflow: hidden;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price {
    color: var(--brand-red);
    font-size: 20px;
    font-weight: 900;
}

.price small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.quality-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    overflow: hidden;
    border-radius: 36px;
    background: var(--brand-red);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.quality-panel__content {
    padding: clamp(36px, 6vw, 72px);
}

.quality-panel__content h2 {
    margin: 0 0 18px;
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.25;
}

.quality-panel__content p {
    max-width: 700px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.78);
}

.quality-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.quality-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.quality-list li::before {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    content: "✓";
    font-size: 13px;
}

.quality-panel__visual {
    display: grid;
    min-height: 440px;
    place-items: center;
    padding: 36px;
    background:
        linear-gradient(135deg, rgba(45,24,19,.12), rgba(45,24,19,.52)),
        url("../images/hero-nuts.svg") center/cover;
}

.quality-panel__seal {
    display: grid;
    width: 210px;
    height: 210px;
    place-items: center;
    padding: 28px;
    border: 2px solid rgba(255,255,255,.58);
    border-radius: 50%;
    background: rgba(50,31,23,.42);
    backdrop-filter: blur(10px);
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.video-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.video-feature__player {
    position: relative;
    min-height: 390px;
    background: var(--nut-brown-dark);
}

.video-feature__player iframe,
.video-feature__player img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    border: 0;
    object-fit: cover;
}

.video-feature__content {
    display: grid;
    align-content: center;
    padding: clamp(28px, 5vw, 58px);
}

.video-feature__content h3 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.35;
}

.video-feature__content p {
    margin: 0 0 24px;
    color: var(--muted);
}

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

.news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: .22s ease;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1e4d5;
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.news-card__date {
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
}

.news-card h3 {
    margin: 10px 0 12px;
    font-size: 21px;
    line-height: 1.45;
}

.news-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-card__more {
    margin-top: auto;
    color: var(--brand-red);
    font-weight: 800;
}

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

.exhibition-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: rgba(255,255,255,.05);
    transition: .2s ease;
}

.exhibition-item:hover {
    background: rgba(255,255,255,.09);
    transform: translateX(5px);
}

.exhibition-item__year {
    color: #e6c39f;
    font-size: 34px;
    font-weight: 900;
}

.exhibition-item h3 {
    margin: 0 0 5px;
    font-size: 22px;
}

.exhibition-item p {
    margin: 0;
    color: rgba(255,255,255,.62);
}

.page-hero {
    padding: 72px 0 54px;
    background:
        radial-gradient(circle at 80% 20%, rgba(164, 20, 26, .10), transparent 24rem),
        linear-gradient(180deg, #fffaf4, var(--cream));
}

.page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 30px;
}

.page-hero h1 {
    margin: 0;
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -.05em;
    line-height: 1.18;
}

.page-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--brand-red);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-chip {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: .18s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 36px;
    align-items: start;
}

.sidebar-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.sidebar-card + .sidebar-card {
    margin-top: 18px;
}

.sidebar-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.sidebar-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--muted);
}

.sidebar-list a:hover,
.sidebar-list a.is-active {
    background: var(--brand-red-soft);
    color: var(--brand-red-dark);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    gap: clamp(30px, 6vw, 76px);
    align-items: start;
}

.product-gallery__main {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--paper);
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info__category {
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}

.product-info h1 {
    margin: 8px 0 4px;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.25;
}

.product-info__english {
    margin: 0 0 22px;
    color: var(--muted);
}

.product-info__summary {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 17px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 24px 0;
}

.product-price strong {
    color: var(--brand-red);
    font-size: 34px;
}

.product-price del {
    color: var(--muted);
}

.product-purchase {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-label {
    font-weight: 800;
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    border: 1px solid #d2c1b0;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
}

.form-control,
.form-select {
    min-height: 46px;
    padding: 0 13px;
}

.form-textarea {
    min-height: 140px;
    padding: 12px 13px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 3px solid rgba(164, 20, 26, .12);
    border-color: var(--brand-red);
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
}

.detail-table th,
.detail-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.detail-table th {
    width: 150px;
    color: var(--muted);
    font-size: 14px;
}

.cms-content {
    max-width: 860px;
    color: #3d302a;
    font-size: 17px;
    line-height: 1.95;
}

.cms-content > :first-child {
    margin-top: 0;
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
    color: var(--nut-brown-dark);
    font-family: "Noto Serif TC", "PMingLiU", serif;
    line-height: 1.4;
}

.cms-content h2 {
    margin: 2.1em 0 .7em;
    font-size: 32px;
}

.cms-content h3 {
    margin: 1.8em 0 .65em;
    font-size: 25px;
}

.cms-content p,
.cms-content ul,
.cms-content ol,
.cms-content blockquote,
.cms-content figure,
.cms-content table {
    margin-block: 1.1em;
}

.cms-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.cms-content table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.cms-content table th,
.cms-content table td {
    padding: 12px 14px;
    border: 1px solid var(--line);
    text-align: left;
}

.cms-content .content-table-wrap {
    overflow-x: auto;
}

.cms-content blockquote,
.cms-content .content-highlight,
.cms-content .content-note,
.cms-content .content-warning {
    padding: 18px 20px;
    border-left: 4px solid var(--brand-red);
    border-radius: 0 14px 14px 0;
    background: var(--brand-red-soft);
}

.cms-content .content-note {
    border-color: var(--leaf-green);
    background: var(--leaf-green-soft);
}

.cms-content .content-warning {
    border-color: #c77b27;
    background: #fff4df;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.gallery-item figcaption {
    padding: 12px 14px;
    color: var(--muted);
    font-size: 13px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.cart-table-wrap {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.cart-table tr:last-child td {
    border-bottom: 0;
}

.cart-product {
    display: flex;
    min-width: 240px;
    align-items: center;
    gap: 14px;
}

.cart-product img {
    width: 76px;
    height: 62px;
    border-radius: 10px;
    object-fit: contain;
    background: #f1e4d5;
}

.summary-card {
    position: sticky;
    top: 114px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.summary-card h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    color: var(--muted);
}

.summary-line--total {
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
}

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

.form-grid .full {
    grid-column: 1 / -1;
}

.form-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.form-card h2 {
    margin: 0 0 20px;
    font-size: 24px;
}

.empty-state {
    display: grid;
    min-height: 300px;
    place-items: center;
    padding: 40px;
    border: 1px dashed #ceb9a5;
    border-radius: 24px;
    background: rgba(255,253,249,.55);
    text-align: center;
}

.empty-state h2 {
    margin: 0 0 8px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.pagination__link {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--muted);
    font-weight: 800;
}

.pagination__link:hover,
.pagination__link.is-active {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}

.cta {
    padding: 70px 0;
    background:
        radial-gradient(circle at 75% 20%, rgba(255,255,255,.11), transparent 25rem),
        var(--brand-red);
    color: #fff;
}

.cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
}

.cta h2 {
    margin: 0 0 8px;
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-size: clamp(32px, 4vw, 52px);
}

.cta p {
    margin: 0;
    color: rgba(255,255,255,.74);
}

.site-footer {
    padding: 60px 0 28px;
    background: #271d18;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(160px, .8fr));
    gap: 36px;
}

.footer-brand img {
    width: auto;
    height: 96px;
    max-width: none;
    object-fit: contain;
}

.footer-brand p {
    max-width: 420px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.62);
}

.footer-column h3 {
    margin: 0 0 16px;
    font-size: 16px;
}

.footer-links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255,255,255,.62);
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.48);
    font-size: 12px;
}

.swal2-popup {
    border-radius: 22px !important;
    font-family: inherit !important;
}

.swal2-confirm {
    border-radius: 999px !important;
    background: var(--brand-red) !important;
}

.swal2-cancel {
    border-radius: 999px !important;
}

.fallback-toast {
    position: fixed;
    z-index: 9999;
    right: 18px;
    bottom: 18px;
    max-width: min(420px, calc(100vw - 36px));
    padding: 14px 18px;
    border-radius: 14px;
    background: #2f2420;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 1080px) {
    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
    }

    .brand img {
        width: auto;
        height: 68px;
        max-width: none;
    }

    .brand__companies {
        gap: 5px;
        font-size: 15px;
        letter-spacing: 0;
    }

    .main-nav__list {
        gap: 9px;
    }

    .main-nav__link,
    .main-nav__button {
        font-size: 14px;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    }

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

@media (max-width: 900px) {
    :root {
        --header-height: 74px;
    }

    .site-topbar {
        display: none;
    }

    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .brand {
        gap: 9px;
    }

    .brand img {
        width: auto;
        height: 58px;
        max-width: none;
    }

    .brand__companies {
        gap: 5px;
        font-size: 14px;
        letter-spacing: 0;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        justify-self: end;
    }

    .menu-toggle {
        display: inline-grid;
    }

    .mobile-backdrop {
        position: fixed;
        z-index: 1400;
        inset: 0;
        display: block;
        background: rgba(25, 16, 12, .55);
        opacity: 0;
        pointer-events: none;
        transition: .2s ease;
    }

    .mobile-drawer {
        position: fixed;
        z-index: 1500;
        top: 0;
        right: 0;
        display: flex;
        width: min(420px, 88vw);
        height: 100dvh;
        flex-direction: column;
        overflow: hidden;
        background: var(--paper);
        box-shadow: -18px 0 60px rgba(34, 22, 16, .20);
        transform: translateX(105%);
        transition: .24s ease;
    }

    body.is-menu-open .mobile-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body.is-menu-open .mobile-drawer {
        transform: translateX(0);
    }

    .mobile-drawer__brand {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 10px;
    }

    .mobile-drawer__brand img {
        width: auto;
        height: 58px;
        max-width: none;
        object-fit: contain;
    }

    .mobile-drawer__brand span {
        color: var(--nut-brown-dark);
        font-size: 14px;
        font-weight: 900;
        white-space: nowrap;
    }

    .mobile-drawer__header {
        display: flex;
        min-height: 78px;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 18px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-drawer__header img {
        width: auto;
        height: 58px;
    }

    .mobile-drawer__content {
        flex: 1;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 18px;
    }

    .mobile-nav {
        display: grid;
        gap: 5px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-nav > li > a,
    .mobile-nav__toggle {
        display: flex;
        width: 100%;
        min-height: 50px;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--ink);
        font-weight: 800;
        text-align: left;
    }

    .mobile-nav > li > a:hover,
    .mobile-nav__toggle:hover,
    .mobile-nav__toggle[aria-expanded="true"] {
        background: var(--brand-red-soft);
        color: var(--brand-red-dark);
    }

    .mobile-subnav {
        display: none;
        gap: 4px;
        margin: 4px 0 8px;
        padding: 4px 0 4px 16px;
        list-style: none;
    }

    .mobile-subnav.is-open {
        display: grid;
    }

    .mobile-subnav a {
        display: block;
        padding: 10px 14px;
        border-radius: 10px;
        color: var(--muted);
        font-size: 14px;
    }

    .mobile-subnav a:hover {
        background: #f5eee5;
        color: var(--brand-red-dark);
    }

    .mobile-drawer__footer {
        display: grid;
        gap: 10px;
        padding: 18px;
        border-top: 1px solid var(--line);
        background: #f8f1e8;
    }

    .hero__grid,
    .quality-panel,
    .video-feature,
    .product-detail,
    .content-layout,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        width: min(680px, 100%);
        justify-self: center;
    }

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

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

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

    .summary-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .brand {
        gap: 6px;
    }

    .brand img {
        width: auto;
        height: 50px;
        max-width: none;
    }

    .brand__companies {
        gap: 3px;
        font-size: 12px;
    }

    .header-actions .icon-button:first-child {
        display: none;
    }

    .hero {
        padding-top: 38px;
    }

    .hero__title {
        font-size: clamp(40px, 13vw, 60px);
    }

    .hero__stamp {
        right: 10px;
        bottom: 14px;
        width: 102px;
        height: 102px;
        border-width: 4px;
        font-size: 12px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .trust-strip__inner,
    .company-grid,
    .category-grid,
    .product-grid,
    .news-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .section-heading,
    .page-hero__inner,
    .cta__inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading,
    .page-hero__inner,
    .cta__inner {
        display: flex;
    }

    .quality-list {
        grid-template-columns: 1fr;
    }

    .quality-panel__visual,
    .video-feature__player,
    .video-feature__player iframe,
    .video-feature__player img {
        min-height: 300px;
    }

    .exhibition-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .exhibition-item__year {
        font-size: 24px;
    }

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

    .cart-table-wrap {
        overflow-x: auto;
    }

    .cart-table {
        min-width: 760px;
    }

    .form-grid .full {
        grid-column: auto;
    }

    .footer-bottom {
        display: flex;
    }
}

/*
 * 2026/07/25 01:45（UTC+8）
 * 前台品牌區、商品 Mega Menu 與聯絡頁補強
 */
.brand {
    gap: 4px;
}

.brand img {
    height: 92px;
}

.brand__companies {
    gap: 7px;
    margin-left: -2px;
}

.mega-menu {
    top: calc(100% + 8px);
}

.mega-menu::before {
    height: 24px;
}

.contact-page-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(164, 20, 26, .10), transparent 28%),
        linear-gradient(135deg, #fffaf4, #f4eadf);
}

.contact-page-hero .page-hero__inner {
    max-width: 850px;
}

.contact-section {
    background:
        linear-gradient(180deg, rgba(255, 253, 249, .55), rgba(247, 240, 232, .78));
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: -66px;
    margin-bottom: 34px;
    position: relative;
    z-index: 3;
}

.contact-channel-card {
    display: flex;
    min-height: 146px;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(105, 65, 45, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 45px rgba(75, 45, 28, .10);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.contact-channel-card:hover {
    border-color: rgba(164, 20, 26, .35);
    box-shadow: 0 22px 52px rgba(75, 45, 28, .15);
    transform: translateY(-3px);
}

.contact-channel-card__icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 17px;
    background: var(--brand-red-soft);
    color: var(--brand-red-dark);
    font-size: 24px;
    font-weight: 900;
}

.contact-channel-card > span:last-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.contact-channel-card small {
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.contact-channel-card strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
}

.contact-channel-card em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.5;
}

.contact-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr);
    gap: 24px;
    align-items: start;
}

.contact-form-panel,
.contact-guide {
    border: 1px solid rgba(105, 65, 45, .14);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(75, 45, 28, .09);
}

.contact-form-panel {
    padding: clamp(24px, 4vw, 42px);
}

.contact-form-panel__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-form-panel__heading h2,
.contact-guide h2 {
    margin: 4px 0 0;
    color: var(--ink);
}

.contact-form-panel__heading > span {
    color: var(--muted);
    font-size: 13px;
}

.contact-form-error {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(164, 20, 26, .24);
    border-radius: 14px;
    background: #fff0f0;
    color: var(--brand-red-dark);
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 24px;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-type-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-type-fieldset legend {
    margin-bottom: 10px;
    font-weight: 900;
}

.contact-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contact-type-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.contact-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-type-option > span {
    display: grid;
    min-height: 88px;
    align-content: center;
    gap: 4px;
    padding: 15px 16px;
    border: 1px solid #dacbbb;
    border-radius: 16px;
    background: #fffdf9;
    transition: .18s ease;
}

.contact-type-option strong {
    color: var(--ink);
    font-size: 15px;
}

.contact-type-option small {
    color: var(--muted);
    line-height: 1.45;
}

.contact-type-option:hover > span,
.contact-type-option input:focus-visible + span {
    border-color: rgba(164, 20, 26, .45);
}

.contact-type-option input:checked + span {
    border-color: var(--brand-red);
    background: var(--brand-red-soft);
    box-shadow: inset 0 0 0 1px var(--brand-red);
}

.contact-type-option input:checked + span strong {
    color: var(--brand-red-dark);
}

.contact-product-reference {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 13px 15px;
    border-radius: 14px;
    background: #f7efe6;
}

.contact-product-reference span,
.contact-product-reference small {
    color: var(--muted);
    font-size: 13px;
}

.contact-product-reference strong {
    color: var(--ink);
}

.contact-form-grid {
    gap: 18px;
}

.contact-message {
    min-height: 190px;
}

.contact-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 4px;
}

.contact-form-actions p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.contact-form-actions .btn {
    min-width: 150px;
}

.contact-guide {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    overflow: hidden;
}

.contact-guide__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 26px 20px;
    background: linear-gradient(135deg, #4d2d22, #2e211d);
    color: #fff;
}

.contact-guide__heading > span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    font-size: 20px;
}

.contact-guide__heading small {
    color: rgba(255, 255, 255, .72);
    font-weight: 700;
}

.contact-guide__heading h2 {
    color: #fff;
    font-size: 21px;
}

.contact-guide-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 26px;
    list-style: none;
    counter-reset: contact-guide;
}

.contact-guide-list li {
    position: relative;
    display: grid;
    gap: 5px;
    padding: 20px 0 20px 42px;
    border-bottom: 1px solid var(--line);
    counter-increment: contact-guide;
}

.contact-guide-list li:last-child {
    border-bottom: 0;
}

.contact-guide-list li::before {
    position: absolute;
    top: 20px;
    left: 0;
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-red-soft);
    color: var(--brand-red-dark);
    content: counter(contact-guide);
    font-size: 12px;
    font-weight: 900;
}

.contact-guide-list strong {
    color: var(--ink);
}

.contact-guide-list span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.contact-guide__details {
    display: grid;
    gap: 14px;
    padding: 22px 26px 26px;
    background: #faf5ef;
}

.contact-guide__details div {
    display: grid;
    gap: 4px;
}

.contact-guide__details span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.contact-guide__details a,
.contact-guide__details strong {
    color: var(--ink);
    font-size: 14px;
    word-break: break-word;
}

@media (max-width: 1080px) {
    .brand {
        gap: 3px;
    }

    .brand img {
        height: 72px;
    }

    .contact-channel-grid {
        margin-top: -54px;
    }
}

@media (max-width: 900px) {
    .brand {
        gap: 4px;
    }

    .brand img {
        height: 62px;
    }

    .contact-channel-grid {
        grid-template-columns: 1fr;
        margin-top: -34px;
    }

    .contact-channel-card {
        min-height: 112px;
    }

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

    .contact-guide {
        position: static;
    }
}

@media (max-width: 640px) {
    .brand img {
        height: 54px;
    }

    .brand__companies {
        margin-left: -1px;
    }

    .contact-form-panel__heading,
    .contact-form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .contact-form-actions .btn {
        width: 100%;
    }
}


/* v1.0.0-alpha1.5｜前台視覺救火與聯絡頁重新收斂 */
.site-topbar {
    display: none;
}

.site-header__inner {
    min-height: 82px;
    gap: clamp(12px, 1.35vw, 20px);
}

.brand {
    gap: 5px;
}

.brand img {
    height: 70px;
}

.brand__companies {
    gap: 6px;
    font-size: 18px;
}

.main-nav__list {
    gap: clamp(10px, 1.2vw, 20px);
}

.main-nav__link,
.main-nav__button {
    white-space: nowrap;
}

.page-hero {
    padding: 42px 0 36px;
}

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

.contact-page-hero .page-hero__inner {
    max-width: none;
}

.contact-section {
    padding-top: 30px;
}

.contact-channel-grid {
    margin-top: 0;
    margin-bottom: 24px;
}

.contact-channel-card {
    min-height: 118px;
    padding: 18px 20px;
    border-radius: 18px;
}

.contact-workspace {
    grid-template-columns: minmax(0, 1fr) 330px;
}

.contact-form-panel,
.contact-guide {
    border-radius: 20px;
}

.contact-form-panel {
    padding: clamp(22px, 3vw, 34px);
}

.contact-type-option > span {
    min-height: 76px;
}

.contact-guide {
    top: 102px;
}

@media (max-width: 1180px) {
    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .brand img {
        height: 62px;
    }

    .brand__companies {
        font-size: 15px;
    }

    .main-nav__list {
        gap: 10px;
    }

    .main-nav__link,
    .main-nav__button {
        font-size: 14px;
    }
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
    }

    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        min-height: 70px;
    }

    .brand img {
        height: 52px;
    }

    .brand__companies {
        font-size: 12px;
    }

    .page-hero {
        padding: 30px 0 26px;
    }

    .page-hero h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .contact-section {
        padding-top: 20px;
    }

    .contact-channel-card {
        min-height: 100px;
    }
}

/* =========================================================
 * 商品分類頁視覺重整｜v1.0.0-alpha1.6
 * ========================================================= */
.product-catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 46px 0 42px;
    border-bottom: 1px solid rgba(229, 215, 202, .72);
    background:
        radial-gradient(circle at 82% 20%, rgba(164, 20, 26, .055), transparent 24rem),
        linear-gradient(135deg, #fffdf9 0%, #fbf4eb 56%, #f8eee3 100%);
}

.product-catalog-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    min-height: 205px;
    align-items: center;
    gap: clamp(28px, 5vw, 84px);
}

.product-catalog-hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.product-catalog-hero .breadcrumb {
    margin-bottom: 16px;
}

.product-catalog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    color: var(--brand-red);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
}

.product-catalog-hero__eyebrow::before {
    width: 4px;
    height: 20px;
    border-radius: 999px;
    background: var(--brand-red);
    content: "";
}

.product-catalog-hero h1 {
    margin: 0;
    font-family: "Noto Serif TC", "PMingLiU", serif;
    font-size: clamp(44px, 5vw, 66px);
    letter-spacing: -.05em;
    line-height: 1.14;
}

.product-catalog-hero p {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.product-catalog-hero__art {
    width: 100%;
    max-height: 210px;
    justify-self: end;
    object-fit: contain;
    opacity: .72;
}

.product-catalog-section {
    padding: 34px 0 72px;
}

.product-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 22px;
}

.product-search__field {
    position: relative;
    min-width: 0;
}

.product-search__field .form-control {
    width: 100%;
    height: 58px;
    padding-right: 18px;
    padding-left: 52px;
    border-color: #dcc9b8;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px rgba(63, 39, 27, .045);
}

.product-search__field .form-control:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(164, 20, 26, .08), 0 10px 28px rgba(63, 39, 27, .07);
}

.product-search__icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 20px;
    color: var(--nut-brown);
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-52%);
}

.product-search__submit {
    min-width: 154px;
    min-height: 58px;
    padding-inline: 24px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(164, 20, 26, .18);
}

.product-category-tabs {
    display: flex;
    overflow-x: auto;
    align-items: center;
    gap: 10px;
    margin: 0 0 30px;
    padding: 2px 0 10px;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}

.product-category-tabs .filter-chip {
    min-height: 44px;
    flex: 0 0 auto;
    padding-inline: 18px;
    border-color: #decdbd;
    background: rgba(255, 253, 249, .9);
    color: var(--nut-brown);
    box-shadow: 0 4px 14px rgba(63, 39, 27, .035);
}

.product-category-tabs .filter-chip:hover,
.product-category-tabs .filter-chip.is-active {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
    box-shadow: 0 8px 22px rgba(164, 20, 26, .14);
}

.product-result-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.product-result-summary a {
    color: var(--brand-red);
    font-weight: 800;
}

.product-empty-state {
    display: flex;
    min-height: 270px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 42px 24px;
    border: 1px solid #e1cdbb;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 251, 246, .92));
    box-shadow: 0 14px 42px rgba(63, 39, 27, .055);
    text-align: center;
}

.product-empty-state__icon {
    position: relative;
    width: 86px;
    height: 72px;
    margin-bottom: 16px;
    color: #c3946e;
}

.product-empty-state__box {
    position: absolute;
    top: 2px;
    left: 8px;
    font-size: 68px;
    line-height: 1;
}

.product-empty-state__search {
    position: absolute;
    right: 0;
    bottom: -2px;
    font-size: 48px;
    line-height: 1;
}

.product-empty-state h2 {
    margin: 0 0 7px;
    font-size: clamp(22px, 2.2vw, 28px);
}

.product-empty-state p {
    margin: 0 0 20px;
    color: var(--muted);
}

.product-empty-state .btn {
    min-width: 190px;
}

@media (max-width: 900px) {
    .product-catalog-hero__inner {
        grid-template-columns: minmax(0, 1fr) 250px;
        min-height: 180px;
    }

    .product-catalog-hero__art {
        max-height: 165px;
    }
}

@media (max-width: 700px) {
    .product-catalog-hero {
        padding: 30px 0 28px;
    }

    .product-catalog-hero__inner {
        display: block;
        min-height: 0;
    }

    .product-catalog-hero__art {
        position: absolute;
        right: -70px;
        bottom: -35px;
        width: 250px;
        opacity: .18;
    }

    .product-catalog-hero h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .product-catalog-section {
        padding: 24px 0 50px;
    }

    .product-search {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .product-search__submit {
        width: 100%;
        min-height: 52px;
    }

    .product-category-tabs {
        margin-bottom: 22px;
    }

    .product-empty-state {
        min-height: 240px;
        padding: 34px 18px;
        border-radius: 20px;
    }
}

.product-search__icon svg,
.product-search__button-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.product-search__button-icon {
    display: inline-flex;
    align-items: center;
}

.product-empty-state__icon svg {
    display: block;
    width: 86px;
    height: 76px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
