html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

/* === 1. 全局設定 (極簡、高級留白) === */
body {
    background-color: #FAFAFA; /* 高級的珍珠灰白 */
    color: #2C2C2C; /* 曜石黑，比純黑更有質感 */
    -webkit-font-smoothing: antialiased;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    letter-spacing: 0.03em; /* 稍微拉開字距，增加高級感 */
}

/* === 2. Banner 容器 (俐落無邊框) === */
.hero-image-container {
    border-radius: 0;
    overflow: hidden;
    position: relative;
}
.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(250,250,250,1), transparent);
    pointer-events: none;
}

/* === 3. 套餐卡片 (Package Card) - JS 動態生成樣式的覆蓋 === */
.plan-card {
    border: 1px solid #EAEAEA;
    background: #FFF;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* 俐落微直角 */
}

/* 未選中時的懸停 */
.plan-radio:not(:checked) + .plan-card:hover {
    border-color: #D4D4D4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* ★ 選中狀態：香檳金邊框 + 質感陰影 ★ */
.plan-radio:checked + .plan-card {
    border: 1px solid #C5A880; /* 香檳金 */
    background-color: #FFFEFC; /* 極淡的暖金色 */
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.15);
}

/* 選中時的低調標記 */
.plan-radio:checked + .plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 24px 24px 0;
    border-color: transparent #C5A880 transparent transparent;
    z-index: 2;
}

/* === 4. 規格選擇 (SKU) === */
.sku-img-card {
    border: 1px solid #EAEAEA;
    transition: all 0.3s ease;
    border-radius: 4px; /* 俐落直角 */
}
.sku-radio:checked + .sku-img-card {
    border-color: #2C2C2C !important;
    box-shadow: 0 0 0 1px #2C2C2C !important;
}

.sku-text-pill {
    background: #FFF;
    border: 1px solid #EAEAEA;
    color: #666;
    font-weight: 400;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.sku-radio:checked + .sku-text-pill {
    background-color: #2C2C2C;
    border-color: #2C2C2C;
    color: #FFF;
}

/* === 5. 配送方式 (Delivery) === */
.delivery-card {
    border: 1px solid #EAEAEA;
    background: #FFF;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.delivery-radio:checked + .delivery-card {
    border-color: #C5A880;
    background-color: #FFFEFC;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.08);
}
.delivery-radio:checked + .delivery-card .icon,
.delivery-radio:checked + .delivery-card .label {
    color: #C5A880;
    font-weight: 700;
}

/* === 6. 輸入框 (極簡線條) === */
.apple-input {
    background: transparent;
    border: 1px solid #D4D4D4;
    border-radius: 4px;
    padding: 12px 16px;
    transition: all 0.3s;
    font-size: 14px;
    color: #2C2C2C;
}
.apple-input:focus {
    background: #FFF;
    border-color: #C5A880;
    box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.1);
    outline: none;
}
.apple-input::placeholder {
    color: #A3A3A3;
}

/* === 7. 按鈕 (高級曜石黑) === */
.btn-shimmer {
    background: #2C2C2C;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #2C2C2C;
    letter-spacing: 0.1em;
}
.btn-shimmer:active {
    transform: scale(0.98);
}
.btn-shimmer:hover {
    background: #404040;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.avatar-item {
    border: 2px solid #FFF;
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.goods-img img {
    width: 100% !important;
}
