/**
 * 澳門國泰藥房 — 高級感主題（暖白 + 國泰橙紅 + 香檳金）
 * 由 cathay_public_premium_print_stylesheet() 在舊主題與各頁內嵌樣式之後載入，
 * 僅在 body.public-premium-theme 時生效。
 * 共用外殼（頂欄、頁尾、底欄、卡片底色）全站套用；首頁版面以 .page-home 限定。
 */

/* ================== 設計變數 ================== */
body.public-premium-theme {
    --pm-primary: #dd5418;
    --pm-primary-strong: #c24410;
    --pm-primary-deep: #8a3410;
    --pm-primary-soft: #fff0e3;
    --pm-primary-line: rgba(221, 84, 24, 0.24);
    --pm-peach: #ffe9d6;
    --pm-peach-2: #fff4ea;

    --pm-gold: #b98a45;
    --pm-gold-bright: #e6c48a;
    --pm-gold-soft: #f6e8d2;

    --pm-ink: #3a2a20;
    --pm-ink-2: #5e4b3e;
    --pm-muted: #8c7666;

    --pm-bg: #fdf6ee;
    --pm-surface: #fffcf8;
    --pm-surface-2: #fbefe3;
    --pm-line: #f1e1cf;

    --pm-radius: 22px;
    --pm-radius-sm: 14px;
    --pm-shadow-sm: 0 1px 2px rgba(150, 82, 30, 0.05), 0 6px 18px rgba(150, 82, 30, 0.07);
    --pm-shadow: 0 2px 8px rgba(150, 82, 30, 0.06), 0 16px 40px rgba(150, 82, 30, 0.10);
    --pm-shadow-hover: 0 4px 14px rgba(150, 82, 30, 0.08), 0 24px 52px rgba(196, 80, 20, 0.16);
    --pm-ease: cubic-bezier(0.22, 0.8, 0.36, 1);

    --pm-section-gap: 44px;

    /* 舊變數改指向新色系，各頁內嵌樣式一併跟隨 */
    --primary: #dd5418;
    --primary-dark: #c24410;
    --primary-light: #f28a4c;
    --light: #fdf6ee;
    --dark: #3a2a20;
    --gray: #7a6556;

    /* 舊玻璃變數改為實色，減少毛玻璃 */
    --glass-bg: #fffcf8;
    --glass-bg-strong: rgba(255, 252, 248, 0.95);
    --glass-bg-tint: #fffcf8;
    --glass-border: #f1e1cf;
    --glass-border-accent: rgba(221, 84, 24, 0.28);
    --glass-shadow: 0 1px 2px rgba(150, 82, 30, 0.05), 0 6px 18px rgba(150, 82, 30, 0.07);
    --glass-shadow-hover: 0 4px 14px rgba(150, 82, 30, 0.08), 0 24px 52px rgba(196, 80, 20, 0.16);
    --glass-inset: 0 0 0 transparent;
    --glass-radius: 22px;
    --glass-radius-sm: 14px;
    --glass-text: #3a2a20;
    --glass-text-muted: #5e4b3e;
    --glass-text-subtle: #8c7666;

    color: var(--pm-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (min-width: 992px) {
    body.public-premium-theme {
        --pm-section-gap: 72px;
    }
}

/* ================== 頁面底色 ================== */
html:has(body.public-premium-theme) {
    background: #f6e7d8 !important;
}

@media (min-width: 768px) {
    html:has(body.public-premium-theme) {
        background: linear-gradient(90deg, #f1dcc6 0%, #f8eadc 22%, #f8eadc 78%, #f1dcc6 100%) !important;
    }

    body.public-premium-theme {
        box-shadow: 0 0 60px rgba(160, 90, 40, 0.10) !important;
        border-left: 1px solid rgba(190, 120, 60, 0.10);
        border-right: 1px solid rgba(190, 120, 60, 0.10);
    }
}

body.public-premium-theme {
    background: var(--pm-bg) !important;
    background-attachment: scroll !important;
}

body.public-premium-theme .glass-ambient {
    display: none;
}

body.public-premium-theme ::selection {
    background: rgba(217, 72, 15, 0.18);
    color: var(--pm-ink);
}

body.public-premium-theme :focus-visible {
    outline: 2px solid var(--pm-primary);
    outline-offset: 2px;
}

/* ================== 頂欄 ================== */
body.public-premium-theme .cathay-top-bar {
    background: rgba(255, 252, 247, 0.9);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--pm-line);
    box-shadow: 0 6px 22px rgba(150, 82, 30, 0.08);
}

body.public-premium-theme .cathay-top-bar::after {
    content: '';
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: -1px;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(221, 84, 24, 0) 0%, rgba(221, 84, 24, 0.55) 30%, rgba(240, 160, 80, 0.55) 70%, rgba(240, 160, 80, 0) 100%);
    transform: none;
    opacity: 1;
    pointer-events: none;
    animation: none;
}

body.public-premium-theme .cathay-top-bar__inner {
    min-height: 54px;
    gap: 10px;
}

body.public-premium-theme .cathay-top-bar__title,
body.public-premium-theme .cathay-top-bar__title:hover {
    color: var(--pm-primary);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-shadow: none;
}

body.public-premium-theme .cathay-top-bar__tagline {
    color: var(--pm-gold);
    letter-spacing: 0.18em;
    text-shadow: none;
}

body.public-premium-theme .cathay-top-bar__phone,
body.public-premium-theme .cathay-top-bar__phone:hover {
    color: var(--pm-ink);
    letter-spacing: 0.02em;
    text-shadow: none;
}

body.public-premium-theme .cathay-top-bar__phone i {
    color: var(--pm-primary);
}

body.public-premium-theme .cathay-top-bar__back,
body.public-premium-theme .cathay-top-bar__back:hover {
    color: var(--pm-ink-2);
}

body.public-premium-theme .cathay-top-bar__back:hover {
    background: var(--pm-primary-soft);
}

body.public-premium-theme .cathay-top-bar .cathay-font-scale__btn {
    border-color: var(--pm-primary-line);
    background: var(--pm-primary-soft);
    color: var(--pm-primary-strong);
    text-shadow: none;
}

body.public-premium-theme .cathay-top-bar .cathay-font-scale__btn:hover {
    background: #ffe4cf;
}

body.public-premium-theme .cathay-top-nav {
    display: none;
}

@media (min-width: 992px) {
    body.public-premium-theme .cathay-top-bar__inner {
        min-height: 68px;
        gap: 18px;
        padding-left: var(--site-content-pad-x, 28px);
        padding-right: var(--site-content-pad-x, 28px);
    }

    body.public-premium-theme .cathay-top-bar__logo {
        height: 38px;
        max-width: 86px;
    }

    body.public-premium-theme .cathay-top-bar__title {
        flex: 0 0 auto;
        font-size: 23px;
    }

    body.public-premium-theme .cathay-top-nav {
        display: flex;
        flex: 1 1 auto;
        justify-content: center;
        align-items: center;
        gap: 2px;
        min-width: 0;
    }

    body.public-premium-theme .cathay-top-bar__contact {
        order: 5;
    }

    body.public-premium-theme .cathay-top-bar__inner .cathay-font-scale {
        order: 6;
    }

    body.public-premium-theme .cathay-top-bar__back {
        order: 7;
    }

    body.public-premium-theme .cathay-top-bar__rx {
        order: 8;
    }

    body.public-premium-theme .cathay-top-bar__phone {
        font-size: 14px;
    }

    body.public-premium-theme .cathay-top-bar__tagline {
        font-size: 10px;
    }
}

body.public-premium-theme .cathay-top-nav__link {
    position: relative;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--pm-ink-2);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.public-premium-theme .cathay-top-nav__link:hover {
    background: var(--pm-primary-soft);
    color: var(--pm-primary-strong);
}

body.public-premium-theme .cathay-top-nav__link.is-active {
    background: var(--pm-primary-soft);
    color: var(--pm-primary-strong);
}

body.public-premium-theme .cathay-top-nav__link.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--pm-primary);
    transform: translateX(-50%);
}

body.public-premium-theme .cathay-top-nav__drmiu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 8px 16px;
    border: 1px solid var(--pm-primary);
    border-radius: 999px;
    background: var(--pm-primary);
    box-shadow: 0 6px 16px rgba(221, 84, 24, 0.22);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.public-premium-theme .cathay-top-nav__drmiu:hover {
    background: var(--pm-primary-strong);
    border-color: var(--pm-primary-strong);
    color: #fff;
}

body.public-premium-theme .cathay-carousel__arrow {
    background: rgba(255, 250, 244, 0.88);
    border: 1px solid rgba(221, 84, 24, 0.18);
    box-shadow: 0 4px 14px rgba(150, 82, 30, 0.14);
    color: var(--pm-primary-strong);
}

body.public-premium-theme .cathay-carousel__arrow:hover {
    background: #fff;
    color: var(--pm-primary);
}

/* 輪播標題膠囊：柔化後台「橙色玻璃」款 */
body.public-premium-theme .cathay-carousel__name--orange-glass {
    background: rgba(255, 250, 244, 0.92);
    border: 1px solid rgba(221, 84, 24, 0.22);
    box-shadow: 0 6px 18px rgba(150, 82, 30, 0.14);
    color: var(--pm-primary-strong);
    text-shadow: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
    body.public-premium-theme .cathay-top-nav__link {
        padding: 8px 9px;
        font-size: 14px;
    }

    body.public-premium-theme .cathay-top-bar__tagline {
        display: none;
    }
}

/* ================== 底部導覽（手機與平板） ================== */
body.public-premium-theme .bottom-navbar-dock {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid var(--pm-line);
    border-bottom: none;
    box-shadow: 0 -8px 28px rgba(90, 44, 20, 0.07);
}

body.public-premium-theme .bottom-navbar .nav-item.nav-item-brand .nav-icon-wrap {
    background: #fff;
    border: 1px solid var(--pm-line);
    box-shadow: 0 3px 10px rgba(90, 44, 20, 0.08);
}

body.public-premium-theme .bottom-navbar .nav-item:not(.active) .nav-icon {
    color: var(--pm-ink-2) !important;
}

body.public-premium-theme .bottom-navbar .nav-item.nav-item-brand .nav-label {
    color: var(--pm-ink-2);
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.public-premium-theme .bottom-navbar .nav-item--drmiu .nav-icon-wrap,
body.public-premium-theme .bottom-navbar a.nav-item.nav-item-brand.active .nav-icon-wrap {
    background: linear-gradient(145deg, var(--pm-primary) 0%, var(--pm-primary-strong) 100%) !important;
    border-color: var(--pm-primary-strong) !important;
    box-shadow: 0 6px 16px rgba(217, 72, 15, 0.32) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.public-premium-theme .bottom-navbar .nav-item--drmiu .nav-icon,
body.public-premium-theme .bottom-navbar a.nav-item.nav-item-brand.active .nav-icon {
    color: #fff !important;
}

body.public-premium-theme .bottom-navbar .nav-item--drmiu .nav-label,
body.public-premium-theme .bottom-navbar a.nav-item.nav-item-brand.active .nav-label {
    color: var(--pm-primary);
    font-weight: 700;
}

@media (min-width: 992px) {
    body.public-premium-theme .cathay-bottom-nav-wrap,
    body.public-premium-theme .cathay-bottom-nav-spacer {
        display: none;
    }
}

/* ================== 通用卡片：實色、細線、柔和陰影 ================== */
body.public-premium-theme .mini-card,
body.public-premium-theme .post-card,
body.public-premium-theme article.video-card,
body.public-premium-theme .tip-card,
body.public-premium-theme .location-card,
body.public-premium-theme .value-card,
body.public-premium-theme .position-card,
body.public-premium-theme .benefit-card,
body.public-premium-theme .content-card,
body.public-premium-theme .article-container,
body.public-premium-theme .result-container,
body.public-premium-theme .post-detail,
body.public-premium-theme .comments-section,
body.public-premium-theme .empty-box,
body.public-premium-theme .pd-gallery,
body.public-premium-theme .pd-info,
body.public-premium-theme .filter-section,
body.public-premium-theme .featured-post,
body.public-premium-theme .product-card,
body.public-premium-theme .about-container,
body.public-premium-theme .pharmacists-container,
body.public-premium-theme .social-channel-card {
    background: var(--pm-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--pm-line);
    box-shadow: var(--pm-shadow-sm);
}

@media (hover: hover) and (pointer: fine) {
    body.public-premium-theme .mini-card:hover,
    body.public-premium-theme .post-card:hover,
    body.public-premium-theme article.video-card:hover,
    body.public-premium-theme .tip-card:hover,
    body.public-premium-theme .location-card:hover,
    body.public-premium-theme .featured-post:hover,
    body.public-premium-theme a.product-card:hover,
    body.public-premium-theme .product-card:hover {
        transform: translateY(-3px);
        border-color: var(--pm-primary-line);
        box-shadow: var(--pm-shadow-hover);
    }
}

body.public-premium-theme .post-image,
body.public-premium-theme .mini-thumb,
body.public-premium-theme .video-card .thumb-wrap,
body.public-premium-theme .latest-news-section .post-image,
body.public-premium-theme #hotsell .product-image {
    background: var(--pm-surface-2);
}

/* 篩選、分頁：統一新色 */
body.public-premium-theme .filter-btn {
    background: #fff;
    border: 1px solid var(--pm-line);
    color: var(--pm-ink-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-premium-theme .filter-btn:hover {
    background: var(--pm-primary-soft);
    border-color: var(--pm-primary-line);
    color: var(--pm-primary-strong);
}

body.public-premium-theme .filter-btn.active,
body.public-premium-theme .pagination .page-link.active {
    background: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(217, 72, 15, 0.24);
}

body.public-premium-theme .pagination .page-link {
    background: #fff;
    border: 1px solid var(--pm-line);
    color: var(--pm-ink-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-premium-theme .pagination .page-link:hover {
    background: var(--pm-primary-soft);
    border-color: var(--pm-primary-line);
    color: var(--pm-primary-strong);
}

/* ================== 頁尾 ================== */
body.public-premium-theme .footer {
    position: relative;
    margin-top: var(--pm-section-gap);
    padding: 48px 0 24px;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    background: linear-gradient(180deg, #7a3e1f 0%, #5c2c15 100%) !important;
    color: rgba(255, 244, 232, 0.86);
}

body.public-premium-theme .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--pm-gold-bright) 50%, transparent 100%);
    opacity: 0.8;
}

body.public-premium-theme footer.footer > .container {
    padding-left: var(--site-content-pad-x, 16px);
    padding-right: var(--site-content-pad-x, 16px);
}

body.public-premium-theme .footer-container {
    max-width: 1080px;
    gap: 28px;
}

body.public-premium-theme .footer-brand {
    text-align: center;
}

body.public-premium-theme .footer-brand__name {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-decoration: none;
}

body.public-premium-theme .footer-brand__latin {
    display: block;
    margin-top: 4px;
    color: var(--pm-gold-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    letter-spacing: 0.24em;
}

body.public-premium-theme .footer-brand__text {
    max-width: 360px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    line-height: 1.8;
}

body.public-premium-theme .footer-links h3,
body.public-premium-theme .footer-contact h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

body.public-premium-theme .footer-links h3::after,
body.public-premium-theme .footer-contact h3::after {
    background-color: var(--pm-gold-bright);
    width: 28px;
    height: 1px;
}

body.public-premium-theme .footer-contact p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

body.public-premium-theme .footer-contact i {
    color: var(--pm-gold-bright);
}

body.public-premium-theme .footer-contact a {
    color: #fff;
}

body.public-premium-theme .footer-policy {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
}

body.public-premium-theme .footer-policy a {
    color: rgba(255, 255, 255, 0.7);
}

body.public-premium-theme .footer-policy a:hover {
    color: var(--pm-gold-bright);
    text-decoration: none;
}

body.public-premium-theme .footer-policy .footer-policy-sep {
    color: rgba(255, 255, 255, 0.2);
}

body.public-premium-theme .copyright {
    margin-top: 16px;
    padding-top: 0;
    border-top: none;
    color: rgba(255, 255, 255, 0.46);
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    body.public-premium-theme .footer-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        align-items: start;
        gap: 48px;
    }

    body.public-premium-theme .footer-brand {
        text-align: left;
    }

    body.public-premium-theme .footer-brand__text {
        margin-left: 0;
    }

    body.public-premium-theme .footer-contact h3 {
        text-align: left;
    }

    body.public-premium-theme .footer-contact h3::after {
        left: 0;
        transform: none;
    }

    body.public-premium-theme .footer-contact p {
        justify-content: flex-start;
    }
}

/* =====================================================================
   首頁（.page-home）
   ===================================================================== */
body.public-premium-theme.page-home .home-section-spaced {
    margin-top: var(--pm-section-gap);
}

body.public-premium-theme.page-home .main-content {
    padding-top: 0;
}

/* —— 區塊標題 —— */
body.public-premium-theme.page-home .section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
}

body.public-premium-theme .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 4px 12px 4px 10px;
    border-radius: 999px;
    background: var(--pm-primary-soft);
    color: var(--pm-primary-strong);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
}

body.public-premium-theme .section-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pm-primary);
    box-shadow: 0 0 0 3px rgba(221, 84, 24, 0.16);
}

body.public-premium-theme.page-home .section-title h2 {
    display: block;
    margin: 0 0 8px;
    color: var(--pm-ink);
    font-size: clamp(23px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-shadow: none;
}

body.public-premium-theme.page-home .section-title h2::before {
    display: none;
}

body.public-premium-theme.page-home .section-title > p {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--pm-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* —— 按鈕 —— */
body.public-premium-theme.page-home .view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border: 1px solid var(--pm-primary-line);
    border-radius: 999px;
    background: var(--pm-primary-soft);
    color: var(--pm-primary-strong);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background-color 0.25s var(--pm-ease), color 0.25s var(--pm-ease), border-color 0.25s var(--pm-ease), box-shadow 0.25s var(--pm-ease);
}

body.public-premium-theme.page-home .view-all-btn:hover {
    background: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(221, 84, 24, 0.24);
}

body.public-premium-theme.page-home .pm-section-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* —— 輪播 —— */
body.public-premium-theme.page-home .cathay-carousel {
    border-radius: var(--pm-radius);
    background: var(--pm-surface-2);
    box-shadow: var(--pm-shadow);
}

/* —— 品牌信任區 —— */
body.public-premium-theme.page-home .pm-trust {
    margin-top: 20px;
}

body.public-premium-theme .pm-trust__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: var(--pm-radius);
    overflow: hidden;
    border: 1px solid #f6d9bf;
    background: linear-gradient(135deg, #fff3e6 0%, #ffe6d0 55%, #ffeedd 100%);
    box-shadow: var(--pm-shadow-sm);
}

body.public-premium-theme .pm-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 104px;
    padding: 18px 10px;
    text-align: center;
    border-right: 1px solid rgba(221, 120, 60, 0.16);
    border-bottom: 1px solid rgba(221, 120, 60, 0.16);
}

body.public-premium-theme .pm-trust__item:nth-child(2n) {
    border-right: none;
}

body.public-premium-theme .pm-trust__item:nth-child(n + 3) {
    border-bottom: none;
}

body.public-premium-theme .pm-trust__value {
    color: var(--pm-primary);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

body.public-premium-theme .pm-trust__value small {
    margin-left: 3px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

body.public-premium-theme .pm-trust__value i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(221, 84, 24, 0.14);
    font-size: 20px;
}

body.public-premium-theme .pm-trust__label {
    color: var(--pm-ink-2);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    body.public-premium-theme .pm-trust__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.public-premium-theme .pm-trust__item {
        min-height: 124px;
        border-bottom: none;
    }

    body.public-premium-theme .pm-trust__item:nth-child(2n) {
        border-right: 1px solid rgba(221, 120, 60, 0.16);
    }

    body.public-premium-theme .pm-trust__item:last-child {
        border-right: none;
    }

    body.public-premium-theme .pm-trust__value {
        font-size: 38px;
    }

    body.public-premium-theme .pm-trust__label {
        font-size: 14px;
    }
}

/* —— 健康小貼士 —— */
body.public-premium-theme.page-home .health-tip-section {
    padding: 0;
    margin-top: var(--pm-section-gap);
}

body.public-premium-theme.page-home .health-tip-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 22px;
    border: 1px solid #f6dcc4;
    border-radius: var(--pm-radius);
    background: linear-gradient(135deg, #fffaf4 0%, #fff0e2 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--pm-shadow-sm);
    color: var(--pm-ink);
}

body.public-premium-theme.page-home .health-tip-card .tip-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--pm-ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

body.public-premium-theme.page-home .health-tip-card .tip-content h2 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(221, 84, 24, 0.14);
    color: #f0a030;
    font-size: 17px;
}

body.public-premium-theme.page-home .health-tip-card .tip-content p {
    color: var(--pm-ink-2);
    font-size: 14px;
    line-height: 1.85;
}

body.public-premium-theme.page-home .tip-category {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--pm-primary-line);
    border-radius: 999px;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--pm-primary-strong);
    font-size: 12px;
    font-weight: 700;
}

body.public-premium-theme.page-home .health-tip-card .view-all-btn {
    flex-shrink: 0;
    border-color: var(--pm-primary);
    background: var(--pm-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(217, 72, 15, 0.24);
}

body.public-premium-theme.page-home .health-tip-card .view-all-btn:hover {
    border-color: var(--pm-primary-strong);
    background: var(--pm-primary-strong);
    color: #fff;
}

@media (min-width: 768px) {
    body.public-premium-theme.page-home .health-tip-card {
        flex-direction: row;
        align-items: center;
        gap: 32px;
        padding: 30px 34px;
    }
}

/* —— 最新消息 —— */
body.public-premium-theme.page-home .featured-posts {
    gap: 14px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    body.public-premium-theme.page-home .featured-posts {
        gap: 24px;
    }
}

body.public-premium-theme.page-home .featured-post {
    border-radius: var(--pm-radius);
    overflow: hidden;
}

body.public-premium-theme.page-home .latest-news-section .post-image {
    padding: 0;
}

body.public-premium-theme.page-home .latest-news-section .post-image img {
    border-radius: 0;
    box-shadow: none;
}

body.public-premium-theme.page-home .post-badge {
    top: 12px;
    left: 12px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(90, 44, 20, 0.82);
    color: var(--pm-gold-soft);
    font-size: 11px;
    letter-spacing: 0.12em;
}

body.public-premium-theme.page-home .latest-news-section .featured-post .post-content {
    padding: 16px 16px 18px;
}

body.public-premium-theme.page-home .featured-post .post-title {
    color: var(--pm-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

body.public-premium-theme.page-home .featured-post .post-meta {
    color: var(--pm-muted);
}

body.public-premium-theme.page-home .featured-post .post-excerpt {
    color: var(--pm-ink-2);
    line-height: 1.7;
}

body.public-premium-theme.page-home .featured-post .read-more-btn {
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--pm-primary);
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.public-premium-theme.page-home .featured-post .read-more-btn::after {
    content: ' \2192';
}

body.public-premium-theme.page-home .featured-post .read-more-btn:hover {
    background: none;
    color: var(--pm-primary-strong);
    transform: none;
}

body.public-premium-theme.page-home .recent-posts-list {
    padding: 8px 22px 22px;
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-radius);
    background: var(--pm-surface);
    box-shadow: var(--pm-shadow-sm);
}

body.public-premium-theme.page-home .recent-post-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--pm-line);
}

body.public-premium-theme.page-home .recent-post-item:hover {
    background-color: var(--pm-surface-2);
}

body.public-premium-theme.page-home .recent-post-title {
    color: var(--pm-ink);
    font-weight: 600;
}

body.public-premium-theme.page-home .recent-post-meta {
    color: var(--pm-muted);
}

body.public-premium-theme.page-home .recent-post-badge {
    background: var(--pm-gold-soft);
    color: var(--pm-gold);
}

body.public-premium-theme.page-home .recent-post-meta .read-more-btn {
    border: 1px solid var(--pm-primary-line);
    background: var(--pm-primary-soft);
    color: var(--pm-primary-strong);
    font-weight: 700;
}

body.public-premium-theme.page-home .recent-post-meta .read-more-btn:hover {
    border-color: var(--pm-primary);
    background: var(--pm-primary);
    color: #fff;
    transform: none;
}

body.public-premium-theme.page-home .recent-posts-list .view-all-btn {
    display: flex;
    margin-top: 12px;
}

/* —— 熱銷產品 —— */
body.public-premium-theme.page-home #hotsell .hot-product-item .product-card {
    border-radius: var(--pm-radius);
    overflow: hidden;
}

body.public-premium-theme.page-home #hotsell .product-content {
    padding: 14px 16px 16px;
}

body.public-premium-theme.page-home #hotsell .product-content h3 {
    color: var(--pm-ink);
    font-weight: 700;
    line-height: 1.45;
}

body.public-premium-theme.page-home #hotsell .product-price--overlay {
    background: linear-gradient(180deg, rgba(90, 44, 20, 0) 0%, rgba(90, 44, 20, 0.58) 42%, rgba(90, 44, 20, 0.84) 100%);
}

/* —— 關於國泰 —— */
body.public-premium-theme.page-home .about-container {
    gap: 28px;
    padding: 20px;
    border-radius: var(--pm-radius);
}

body.public-premium-theme.page-home .about-container .video-container {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.public-premium-theme.page-home .about-container video {
    position: static !important;
    display: block;
    width: 100%;
    height: auto !important;
    border-radius: var(--pm-radius-sm) !important;
}

body.public-premium-theme.page-home .about-content p {
    color: var(--pm-ink-2);
    font-size: 15px;
    line-height: 1.9;
}

body.public-premium-theme.page-home .features {
    display: grid;
    gap: 12px;
}

body.public-premium-theme.page-home .feature {
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-radius-sm);
    background: var(--pm-surface-2);
}

body.public-premium-theme.page-home .feature i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--pm-gold);
    font-size: 17px;
    box-shadow: 0 2px 8px rgba(90, 44, 20, 0.06);
}

body.public-premium-theme.page-home .feature h3 {
    margin-bottom: 2px;
    color: var(--pm-ink);
    font-size: 15px;
    font-weight: 700;
}

body.public-premium-theme.page-home .feature p {
    color: var(--pm-muted);
    font-size: 13px;
    line-height: 1.6;
}

@media (min-width: 992px) {
    body.public-premium-theme.page-home .about-container {
        display: flex;
        align-items: center;
        gap: 44px;
        padding: 32px;
    }

    body.public-premium-theme.page-home .about-container .video-container {
        flex: 0 0 46%;
    }
}

/* —— 門店 —— */
body.public-premium-theme.page-home .branch-grid {
    gap: 14px;
}

@media (min-width: 992px) {
    body.public-premium-theme.page-home .branch-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

body.public-premium-theme .location-card {
    border-radius: var(--pm-radius-sm);
}

body.public-premium-theme .location-header:hover {
    background-color: var(--pm-surface-2);
}

body.public-premium-theme .store-info h3 {
    color: var(--pm-ink);
    font-weight: 700;
}

body.public-premium-theme .store-info h3 i,
body.public-premium-theme .location-phone i,
body.public-premium-theme .location-address i {
    color: var(--pm-primary);
}

body.public-premium-theme .location-phone,
body.public-premium-theme .location-address {
    color: var(--pm-muted);
}

body.public-premium-theme .location-details {
    border-top-color: var(--pm-line);
}

body.public-premium-theme .wechat-qrcode img {
    border-color: var(--pm-line);
    border-radius: var(--pm-radius-sm);
}

body.public-premium-theme .wechat-qrcode p {
    color: var(--pm-ink-2);
}

body.public-premium-theme .wechat-qrcode p i {
    color: #07c160;
}

body.public-premium-theme .map-btn {
    border: 1px solid var(--pm-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pm-ink-2);
    font-weight: 600;
}

body.public-premium-theme .map-btn:hover {
    border-color: var(--pm-primary-line);
    background: var(--pm-primary-soft);
    color: var(--pm-primary-strong);
}

/* —— 追蹤我們 —— */
body.public-premium-theme.page-home .social-channel-card {
    padding: 22px 18px;
    border-radius: var(--pm-radius);
}

body.public-premium-theme.page-home .social-channel-body h3 {
    color: var(--pm-ink);
    font-weight: 700;
}

body.public-premium-theme.page-home .social-channel-body p {
    color: var(--pm-muted);
}

/* —— 藥劑師諮詢 —— */
body.public-premium-theme.page-home .appointment {
    background: transparent;
}

body.public-premium-theme.page-home .pharmacists-container {
    border-radius: var(--pm-radius);
    overflow: hidden;
}

body.public-premium-theme.page-home .pharmacist-group {
    padding: 22px;
}

body.public-premium-theme.page-home .pharmacist-group + .pharmacist-group {
    border-color: var(--pm-line);
}

body.public-premium-theme.page-home .pharmacist-group h3 {
    border-bottom-color: var(--pm-line);
    color: var(--pm-ink);
    letter-spacing: 0.06em;
}

body.public-premium-theme.page-home .pharmacist-group-title i {
    color: var(--pm-gold) !important;
}

body.public-premium-theme.page-home .pharmacist-group li {
    color: var(--pm-ink-2);
}

body.public-premium-theme.page-home .pharmacist-group li::before {
    color: var(--pm-gold);
}

body.public-premium-theme.page-home .pharmacist-phone {
    color: var(--pm-primary-strong);
    font-weight: 600;
    text-decoration: none;
}

body.public-premium-theme.page-home .pharmacist-phone:hover {
    text-decoration: underline;
}

body.public-premium-theme.page-home .pharmacist-notes p {
    color: var(--pm-muted);
}

/* —— 常用網站／友情連結 —— */
body.public-premium-theme .home-links-block-section {
    background: transparent;
}

body.public-premium-theme h2.cathay-content-block__section-title,
body.public-premium-theme .cathay-content-block__section-title,
body.public-premium-theme .cathay-content-block__title-brand {
    color: var(--pm-ink) !important;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.public-premium-theme .cathay-content-block__section-title::before {
    width: 22px;
    height: 1px;
    border-radius: 0;
    background: var(--pm-gold);
}

body.public-premium-theme .cathay-content-block__section-subtitle {
    border-left-color: var(--pm-gold-soft);
    color: var(--pm-muted);
}

body.public-premium-theme .cathay-content-block__media {
    background: var(--pm-surface);
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-radius-sm);
    box-shadow: none;
    overflow: hidden;
}

body.public-premium-theme .cathay-content-block__media-link:hover .cathay-content-block__media {
    border-color: var(--pm-gold-bright);
    box-shadow: var(--pm-shadow-sm);
}

@media (min-width: 992px) {
    body.public-premium-theme .home-links-block-section .cathay-content-block__inner[data-layout="grid"] {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    body.public-premium-theme .home-links-block-section .cathay-content-block__media {
        aspect-ratio: auto;
        height: 72px;
        border-radius: 10px;
    }

    body.public-premium-theme .home-links-block-section .cathay-content-block__media img {
        width: auto;
        height: auto;
        max-width: 88%;
        max-height: 46px;
    }

    body.public-premium-theme .home-links-block-section .cathay-content-block__caption {
        margin-top: 6px;
        font-size: 12px;
    }

    body.public-premium-theme .home-friendly-links__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
    }

    body.public-premium-theme .home-friendly-link__card {
        min-height: 0;
        height: 72px;
        padding: 8px 10px;
        border-radius: 10px;
    }

    body.public-premium-theme .home-friendly-link__card img {
        max-width: 88%;
        max-height: 46px;
    }

    body.public-premium-theme .home-friendly-link__caption,
    body.public-premium-theme .home-friendly-link__text {
        margin-top: 6px;
        font-size: 12px;
    }
}

body.public-premium-theme .cathay-content-block__caption {
    color: var(--pm-ink-2);
    font-weight: 500;
}

body.public-premium-theme .home-friendly-links__apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    height: auto;
    padding: 10px 26px;
    line-height: 1.3;
    border: 1px solid var(--pm-primary);
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--pm-primary-strong);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.public-premium-theme .home-friendly-links__apply:hover,
body.public-premium-theme .home-friendly-links__apply:focus-visible {
    background: var(--pm-primary);
    color: #fff;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    body.public-premium-theme .view-all-btn,
    body.public-premium-theme .cathay-top-nav__link,
    body.public-premium-theme .cathay-top-nav__drmiu {
        transition: none;
    }
}
