.tk-product-card {
        background: #fff;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
        border: 1px solid #e5e7eb;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-width: 0;
        position: relative;
        transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
    }

    .tk-product-card:hover {
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
        border-color: #dbe2ea;
        transform: translateY(-1px);
    }

    .tk-product-card-img-link {
        display: block;
    }

    .tk-product-card-img-wrap {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .tk-product-card-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        padding: 0;
    }

    .tk-product-card-body {
        padding: 8px;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
    }

    .tk-product-card-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: #334155;
        text-decoration: none;
        line-height: 1.2;
        min-height: 2.8em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }

    .tk-product-card-title:hover {
        color: #0f172a;
    }

    .tk-product-card-bottom {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: auto;
        min-width: 0;
    }

    .tk-product-card-prices {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        min-width: 0;
    }

    .tk-product-card-sale {
        font-size: 1rem;
        font-weight: 700;
        color: #e11d48;
        line-height: 1.3;
        letter-spacing: 0.01em;
        min-width: 0;
    }

    .tk-product-card-original {
        font-size: 0.75rem;
        color: #94a3b8;
        text-decoration: line-through;
        line-height: 1.3;
        letter-spacing: 0.01em;
        min-width: 0;
    }

    .tk-product-card-actions {
        display: flex;
    }

    /* ── 按鈕共用基底 ── */
    .tk-product-card-btn-cart,
    .tk-product-card-btn-goto,
    .tk-product-card-btn-restock {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 16px;
        cursor: pointer;
        white-space: nowrap;
    }

    .tk-product-card-btn-cart .tk-btn-label,
    .tk-product-card-btn-goto .tk-btn-label,
    .tk-product-card-btn-restock .tk-btn-label {
        min-width: 0;
    }

    /* 加入購物車 */
    .tk-product-card-btn-cart {
        border: none;
        background: #FF7F32;
        color: #fff;
        box-shadow: 0 6px 14px rgba(255, 127, 50, 0.28);
        transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }

    .tk-product-card-btn-cart:hover {
        background: #d95a1a;
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(217, 90, 26, 0.24);
    }

    .tk-product-card-btn-cart:active {
        transform: translateY(0);
        box-shadow: 0 6px 14px rgba(217, 90, 26, 0.18);
    }

    .tk-product-card-btn-cart .bi-cart3 {
        font-size: 18px;
    }

    .tk-product-card-btn-cart--oos,
    .tk-product-card-btn-cart--oos:hover {
        background: #d1d5db;
        color: #6b7280;
        cursor: not-allowed;
        transform: none;
    }

    /* 前往選購（NMSet 組合賣場連結） */
    .tk-product-card-btn-goto {
        border: 2px solid #FF7F32;
        background: #fff;
        color: #FF7F32;
        box-shadow: none;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .tk-product-card-btn-goto:hover {
        background: #FF7F32;
        color: #fff;
    }

    .tk-product-card-btn-goto .bi-arrow-right-circle {
        font-size: 20px;
        font-weight: 900;
    }

    /* 貨到通知 */
    .tk-product-card-btn-restock {
        border: 2px solid #64748b;
        background: #fff;
        color: #475569;
        transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .tk-product-card-btn-restock:hover {
        background: #f1f5f9;
        border-color: #334155;
        color: #334155;
    }

    @media (max-width: 767px) {
        .tk-product-card {
            height: 100%;
            border-radius: 14px;
        }

        .tk-product-card-body {
            padding: 6px;
            display: grid;
            grid-template-columns: 1fr auto;
            grid-template-rows: auto auto auto;
            grid-template-areas:
                "title title"
                "sale actions"
                "original actions";
            column-gap: 4px;
            row-gap: 2px;
            align-items: start;
            min-height: 94px;
        }

        .tk-product-card-title {
            grid-area: title;
            font-size: 0.9rem;
            min-height: 2.5em;
            margin: 0;
            font-weight: 600;
        }

        .tk-product-card-bottom {
            display: contents;
        }

        .tk-product-card-prices {
            grid-area: sale;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 1px;
            min-width: 0;
        }

        .tk-product-card-sale {
            font-size: 0.85rem;
            font-weight: 700;
            white-space: nowrap;
            line-height: 1.2;
        }

        .tk-product-card-original {
            font-size: 0.8rem;
            color: #a2a4a8;
            white-space: nowrap;
            line-height: 1.2;
        }

        .tk-product-card-actions {
            grid-area: actions;
            display: flex;
            align-items: end;
            justify-content: end;
            align-self: end;
            justify-self: end;
            min-width: 0;
        }

        /* 手機版按鈕共用：icon only 小按鈕 */
        .tk-product-card-btn-cart,
        .tk-product-card-btn-goto,
        .tk-product-card-btn-restock {
            width: auto;
            min-width: 46px;
            height: 23px;
            padding: 0 11px;
            border-radius: 8px;
            font-size: 0;
            flex: 0 0 auto;
            box-sizing: border-box;
            box-shadow: none;
        }

        .tk-product-card-btn-cart .tk-btn-label,
        .tk-product-card-btn-goto .tk-btn-label,
        .tk-product-card-btn-restock .tk-btn-label {
            display: none;
        }

        .tk-product-card-btn-cart .bi-cart3,
        .tk-product-card-btn-goto .bi-arrow-right-circle,
        .tk-product-card-btn-restock .bi-bell {
            font-size: 0.95rem;
        }

        /* 手機版前往選購：橘底白 icon */
        .tk-product-card-btn-goto {
            background: #FF7F32;
            border: none;
            color: #fff;
        }

        /* 手機版貨到通知：灰藍底白 icon */
        .tk-product-card-btn-restock {
            background: #64748b;
            border: none;
            color: #fff;
        }

        /* 手機版缺貨按鈕：顯示文字、隱藏 icon */
        .tk-product-card-btn-cart--oos {
            font-size: 0.7rem;
            padding: 0 8px;
        }
        .tk-product-card-btn-cart--oos .tk-btn-label {
            display: inline;
        }
        .tk-product-card-btn-cart--oos .bi-slash-circle {
            display: none;
        }
    }

    /* ── 觸控裝置：停用 :hover（@media (hover: none) 只作用於無 hover 能力的裝置；桌機不受影響）── */
    @media (hover: none) {
        .tk-product-card:hover {
            box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
            border-color: #e5e7eb;
            transform: none;
        }
        .tk-product-card-title:hover { color: #334155; }
        .tk-product-card-btn-cart:not(:disabled):hover {
            background: #FF7F32;
            transform: none;
            box-shadow: 0 6px 14px rgba(255, 127, 50, 0.28);
        }
        .tk-product-card-btn-goto:hover { background: #fff; color: #FF7F32; }
        /* 桌機版貨到通知：還原為非 hover 樣式 */
        .tk-product-card-btn-restock:hover { background: #fff; border-color: #64748b; color: #475569; }
    }
    /* 手機版（touch + 小螢幕）：貨到通知／前往選購按鈕還原為手機底色（橘／灰底） */
    @media (hover: none) and (max-width: 767px) {
        .tk-product-card-btn-restock:hover { background: #64748b; border-color: transparent; color: #fff; }
        .tk-product-card-btn-goto:hover { background: #FF7F32; border: none; color: #fff; }
    }
