        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background:
                radial-gradient(circle at top, rgba(247, 211, 107, 0.12), transparent 55%),
                radial-gradient(circle at bottom, rgba(160, 116, 46, 0.14), transparent 60%),
                #050608;
            color: #e5e5e5;
            min-height: 100vh;
        }

        .hidden {
            display: none !important;
        }

        /* ===== Header ===== */
        header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: radial-gradient(circle at top left, rgba(247, 211, 107, 0.22), transparent 55%) #060708f2;
            border-bottom: 1px solid rgba(247, 211, 107, 0.25);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            padding: 0.8rem 1rem;
            box-shadow:
                0 1px 0 rgba(247, 211, 107, 0.16),
                0 8px 30px rgba(0, 0, 0, 0.8);
        }

        header .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
        }

        header h1 {
            margin: 0;
            font-size: 1.25rem;
            letter-spacing: 0.08em;
            font-weight: 600;
            text-transform: uppercase;
            color: #f7d36b;
            text-shadow:
                0 0 10px rgba(247, 211, 107, 0.4),
                0 0 16px rgba(0, 0, 0, 0.7);
        }

        header::after {
            content: "";
            display: block;
            height: 1px;
            margin-top: 0.4rem;
            background: linear-gradient(90deg,
                    transparent,
                    rgba(247, 211, 107, 0.7),
                    transparent);
            opacity: 0.9;
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
        }

        .filter-group label {
            font-size: 0.9rem;
            color: #c0b37c;
        }

        .filter-group select {
            padding: 0.35rem 0.9rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.45);
            background: radial-gradient(circle at top left, rgba(247, 211, 107, 0.15), transparent 80%) #050608;
            color: #f7f3e9;
            min-width: 140px;
            outline: none;
            font-size: 0.9rem;
            appearance: none;
            -moz-appearance: none;
            -webkit-appearance: none;
            position: relative;
            cursor: pointer;
            box-shadow:
                0 0 0 1px rgba(0, 0, 0, 0.8),
                0 4px 16px rgba(0, 0, 0, 0.9);
            transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
        }

        .filter-group::after {
            content: "▾";
            position: relative;
            margin-left: -1.3rem;
            font-size: 0.7rem;
            color: #f7d36b;
            pointer-events: none;
        }

        .filter-group select:hover {
            border-color: #f7d36b;
            box-shadow:
                0 0 0 1px rgba(247, 211, 107, 0.35),
                0 8px 26px rgba(0, 0, 0, 0.95);
            transform: translateY(-1px);
        }

        .filter-group select:focus {
            border-color: #f7d36b;
            box-shadow:
                0 0 0 1px rgba(247, 211, 107, 0.55),
                0 0 20px rgba(247, 211, 107, 0.4);
        }

        main {
            padding: 1.25rem 1rem 1.8rem;
        }

        .main-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .message {
            margin-bottom: 0.9rem;
            font-size: 0.9rem;
            color: #c0b37c;
        }

        .product-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: flex-start;
            justify-content: flex-start;
        }

        .product-card {
            position: relative;
            background: radial-gradient(circle at top left, #14141b, #050508);
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            width: 260px;
            height: auto;
            min-height: 430px;
            padding: 1px;
            isolation: isolate;
            transition:
                transform 0.22s ease,
                box-shadow 0.22s ease,
                background 0.22s ease;
            box-shadow:
                0 12px 30px rgba(0, 0, 0, 0.85),
                0 0 0 1px rgba(255, 255, 255, 0.02);
            flex: 0 0 260px;
        }

        .product-card::before {
            content: "";
            position: absolute;
            inset: -1px;
            z-index: -1;
            background: conic-gradient(from 180deg,
                    rgba(247, 211, 107, 0.15),
                    rgba(160, 116, 46, 0.45),
                    rgba(247, 211, 107, 0.15),
                    rgba(247, 211, 107, 0.35),
                    rgba(160, 116, 46, 0.48),
                    rgba(247, 211, 107, 0.18));
            opacity: 0.85;
            filter: blur(0.7px);
        }

        .product-card>* {
            position: relative;
            z-index: 1;
        }

        .product-card:hover {
            transform: translateY(-6px) scale(1.02);
            box-shadow:
                0 18px 40px rgba(0, 0, 0, 0.98),
                0 0 30px rgba(247, 211, 107, 0.16);
            background: radial-gradient(circle at top left, #191922, #050508);
        }

        .product-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at top, rgba(247, 211, 107, 0.18), transparent 55%);
            opacity: 0;
            transition: opacity 0.22s ease;
        }

        .product-card:hover::after {
            opacity: 1;
        }

        .image-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: radial-gradient(circle at center, #272630, #050508);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px 14px 10px 10px;
            flex-shrink: 0;
        }

        .image-wrapper::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom,
                    rgba(255, 255, 255, 0.07),
                    transparent 45%);
            mix-blend-mode: screen;
            pointer-events: none;
        }

        .image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transform-origin: center;
            opacity: 0;
            transform: scale(1.02) translateY(4px);
            transition:
                opacity 0.5s ease,
                transform 0.5s ease;
        }

        .image-wrapper img[src] {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

        .product-card:hover .image-wrapper img {
            transform: scale(1.04);
        }

        .product-body {
            padding: 0.75rem 0.85rem 0.9rem;
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            flex: 1;
        }

        /* 名稱：最多兩行，超過省略，避免撐太高 */
        .product-name {
            font-weight: 600;
            font-size: 0.98rem;
            color: #f7f3e9;
            letter-spacing: 0.03em;
            margin-bottom: 0.15rem;
            text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-price {
            color: #f7d36b;
            font-weight: 700;
            margin-bottom: 0.1rem;
            font-size: 0.95rem;
            letter-spacing: 0.05em;
        }

        .product-category {
            font-size: 0.78rem;
            color: #c5bb92;
            margin-bottom: 0.15rem;
        }

        .product-description {
            font-size: 0.86rem;
            color: #b3b3b3;
            line-height: 1.45;
            flex: 1;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }

        .read-more-btn {
            margin-top: 0.35rem;
            align-self: flex-start;
            padding: 0.25rem 0.7rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.7);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.4),
                    rgba(16, 16, 16, 0.98));
            color: #f7f3e9;
            font-size: 0.78rem;
            cursor: pointer;
            letter-spacing: 0.05em;
            box-shadow:
                0 3px 10px rgba(0, 0, 0, 0.9),
                0 0 0 1px rgba(0, 0, 0, 1);
            transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
        }

        .read-more-btn:hover {
            transform: translateY(-1px);
            background: radial-gradient(circle at top left,
                    rgba(255, 239, 167, 0.9),
                    rgba(24, 20, 8, 1));
            box-shadow:
                0 6px 18px rgba(0, 0, 0, 0.95),
                0 0 18px rgba(247, 211, 107, 0.4);
        }

        .product-qty {
            font-size: 0.8rem;
            color: #9e9870;
            margin-top: 0.32rem;
        }

        /* 讓按鈕固定在卡片最底部 */
        .product-actions {
            margin-top: auto;
            display: flex;
            justify-content: flex-end;
            padding-top: 0.4rem;
        }

        .order-button {
            padding: 0.45rem 1rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.75);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.55),
                    rgba(10, 10, 10, 0.98));
            color: #130f03;
            font-size: 0.86rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            cursor: pointer;
            box-shadow:
                0 4px 12px rgba(0, 0, 0, 0.95),
                0 0 0 1px rgba(0, 0, 0, 1);
            transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
            text-transform: uppercase;
        }

        .order-button:hover {
            transform: translateY(-1px);
            filter: brightness(1.03);
            box-shadow:
                0 8px 20px rgba(0, 0, 0, 0.96),
                0 0 18px rgba(247, 211, 107, 0.5);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.12rem 0.55rem;
            font-size: 0.76rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.6);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.35),
                    rgba(16, 16, 16, 0.92));
            color: #f7f3e9;
            letter-spacing: 0.02em;
            box-shadow:
                0 0 0 1px rgba(0, 0, 0, 0.9),
                0 4px 9px rgba(0, 0, 0, 0.9);
        }

        .tag-out {
            border-color: rgba(244, 67, 54, 0.7);
            background: radial-gradient(circle at top left,
                    rgba(244, 67, 54, 0.4),
                    rgba(20, 8, 8, 0.98));
            color: #ffb3b3;
        }

        .tag-low {
            border-color: rgba(255, 193, 7, 0.7);
            background: radial-gradient(circle at top left,
                    rgba(255, 193, 7, 0.45),
                    rgba(20, 16, 4, 0.98));
            color: #fff4c4;
        }

        .loading-overlay {
            position: fixed;
            inset: 0;
            background:
                radial-gradient(circle at center, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.95));
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 900;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .loading-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 1.6rem;
            border-radius: 16px;
            background: linear-gradient(145deg, #101018, #050507);
            border: 1px solid rgba(247, 211, 107, 0.4);
            box-shadow:
                0 14px 40px rgba(0, 0, 0, 0.95),
                0 0 20px rgba(247, 211, 107, 0.2);
        }

        .spinner {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            border: 3px solid rgba(70, 70, 70, 0.9);
            border-top-color: #f7d36b;
            border-right-color: rgba(247, 211, 107, 0.75);
            animation: spin 0.8s linear infinite;
            box-shadow:
                0 0 10px rgba(247, 211, 107, 0.4),
                inset 0 0 10px rgba(0, 0, 0, 0.85);
        }

        .loading-text {
            font-size: 0.95rem;
            color: #f7f3e9;
            letter-spacing: 0.03em;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .image-modal {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .image-modal-backdrop {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at center, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 1));
        }

        .image-modal-content {
            position: relative;
            background: radial-gradient(circle at top, #181821, #050506);
            padding: 0.8rem;
            border-radius: 16px;
            max-width: 96vw;
            max-height: 92vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 1001;
            border: 1px solid rgba(247, 211, 107, 0.55);
            box-shadow:
                0 20px 50px rgba(0, 0, 0, 1),
                0 0 24px rgba(247, 211, 107, 0.25);
        }

        .image-modal-content img {
            max-width: 92vw;
            max-height: 78vh;
            object-fit: contain;
            background: #000;
            border-radius: 12px;
        }

        .image-modal-close {
            position: absolute;
            top: 0.35rem;
            right: 0.5rem;
            border: none;
            background: transparent;
            color: #f7d36b;
            font-size: 1.5rem;
            cursor: pointer;
            text-shadow:
                0 0 6px rgba(247, 211, 107, 0.7),
                0 0 10px rgba(0, 0, 0, 0.9);
            transition: transform 0.15s ease, color 0.15s ease;
        }

        .image-modal-close:hover {
            transform: scale(1.15);
            color: #ffe79b;
        }

        .image-modal-nav {
            margin-top: 0.5rem;
            display: flex;
            gap: 0.6rem;
        }

        .image-modal-nav button {
            padding: 0.35rem 0.85rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.7);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.38),
                    rgba(12, 12, 12, 0.98));
            font-size: 0.85rem;
            cursor: pointer;
            color: #1a1303;
            font-weight: 600;
            letter-spacing: 0.04em;
            box-shadow:
                0 4px 12px rgba(0, 0, 0, 0.9),
                0 0 0 1px rgba(0, 0, 0, 1);
            transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
        }

        .image-modal-nav button:hover {
            transform: translateY(-1px);
            background: radial-gradient(circle at top left,
                    rgba(255, 239, 167, 0.85),
                    rgba(24, 20, 8, 1));
            box-shadow:
                0 8px 20px rgba(0, 0, 0, 0.9),
                0 0 18px rgba(247, 211, 107, 0.45);
            color: #140f03;
        }

        .order-modal {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1050;
        }

        .order-modal-backdrop {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at center, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.98));
        }

        .order-modal-content {
            position: relative;
            background: radial-gradient(circle at top, #181821, #050506);
            padding: 1.1rem 1.2rem 1.2rem;
            border-radius: 16px;
            max-width: 520px;
            width: 94vw;
            z-index: 1051;
            border: 1px solid rgba(247, 211, 107, 0.6);
            box-shadow:
                0 18px 44px rgba(0, 0, 0, 0.98),
                0 0 22px rgba(247, 211, 107, 0.3);
        }

        .order-modal-title {
            margin: 0 0 0.6rem;
            font-size: 1.05rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #f7d36b;
        }

        .order-modal-close {
            position: absolute;
            top: 0.4rem;
            right: 0.6rem;
            border: none;
            background: transparent;
            color: #f7d36b;
            font-size: 1.4rem;
            cursor: pointer;
            text-shadow:
                0 0 6px rgba(247, 211, 107, 0.7),
                0 0 10px rgba(0, 0, 0, 0.9);
            transition: transform 0.15s ease, color 0.15s ease;
        }

        .order-modal-close:hover {
            transform: scale(1.1);
            color: #ffe79b;
        }

        .order-message {
            min-height: 1.2rem;
            font-size: 0.86rem;
            margin: 0 0 0.4rem;
            color: #c0b37c;
        }

        .order-form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            gap: 0.6rem 0.9rem;
            margin-bottom: 0.65rem;
        }

        .order-form-group label {
            display: block;
            font-size: 0.82rem;
            color: #d5c89e;
            margin-bottom: 0.15rem;
        }

        .order-form-group input[type="text"],
        .order-form-group input[type="tel"] {
            width: 100%;
            padding: 0.4rem 0.55rem;
            border-radius: 6px;
            border: 1px solid rgba(120, 120, 120, 0.9);
            background: rgba(6, 6, 10, 0.98);
            color: #f7f3e9;
            font-size: 0.86rem;
            outline: none;
            transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
        }

        .order-form-group input[type="text"]:focus,
        .order-form-group input[type="tel"]:focus {
            border-color: rgba(247, 211, 107, 0.85);
            box-shadow:
                0 0 0 1px rgba(247, 211, 107, 0.4),
                0 0 12px rgba(247, 211, 107, 0.25);
            background: rgba(10, 10, 14, 0.98);
        }

        .order-form-group input[readonly] {
            background: rgba(18, 18, 24, 0.95);
            border-style: dashed;
            color: #f7d36b;
        }

        .order-form-actions {
            margin-top: 0.2rem;
            display: flex;
            justify-content: flex-end;
        }

        .order-submit-btn {
            padding: 0.45rem 1.4rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.9);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.8),
                    rgba(18, 14, 4, 1));
            color: #130f03;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            cursor: pointer;
            box-shadow:
                0 6px 18px rgba(0, 0, 0, 0.98),
                0 0 22px rgba(247, 211, 107, 0.35);
            transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
        }

        .order-submit-btn:hover:not(:disabled) {
            transform: translateY(-1px);
            filter: brightness(1.03);
            box-shadow:
                0 10px 26px rgba(0, 0, 0, 0.98),
                0 0 24px rgba(247, 211, 107, 0.45);
        }

        .order-submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .order-cancel-note {
            margin: 0.6rem 0 0;
            font-size: 0.82rem;
            color: #b3b3b3;
            line-height: 1.5;
        }

        /* ===== 詳細資訊 Modal（含圖片輪播） ===== */

        .detail-modal {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1070;
        }

        .detail-modal-backdrop {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at center, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.98));
        }

        .detail-modal-content {
            position: relative;
            background: radial-gradient(circle at top, #181821, #050506);
            padding: 1rem 1.1rem 1.1rem;
            border-radius: 16px;
            max-width: 520px;
            width: 94vw;
            max-height: 92vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            z-index: 1071;
            border: 1px solid rgba(247, 211, 107, 0.6);
            box-shadow:
                0 18px 44px rgba(0, 0, 0, 0.98),
                0 0 22px rgba(247, 211, 107, 0.3);
        }

        .detail-modal-close {
            position: absolute;
            top: 0.4rem;
            right: 0.6rem;
            border: none;
            background: transparent;
            color: #f7d36b;
            font-size: 1.4rem;
            cursor: pointer;
            text-shadow:
                0 0 6px rgba(247, 211, 107, 0.7),
                0 0 10px rgba(0, 0, 0, 0.9);
            transition: transform 0.15s ease, color 0.15s ease;
        }

        .detail-modal-close:hover {
            transform: scale(1.1);
            color: #ffe79b;
        }

        .detail-modal-title {
            margin: 0 1.8rem 0.4rem 0;
            font-size: 1.02rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #f7d36b;
        }

        .detail-modal-body {
            margin-top: 0.2rem;
            overflow-y: auto;
            padding-right: 0.2rem;
        }

        .detail-image-wrapper {
            width: 100%;
            margin-bottom: 0.5rem;
            background: #000;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .detail-image-wrapper img {
            max-width: 100%;
            max-height: 260px;
            object-fit: contain;
            display: block;
        }

        /* 詳情圖片輪播按鈕 */
        .detail-image-nav {
            display: flex;
            justify-content: center;
            gap: 0.6rem;
            margin-bottom: 0.8rem;
        }

        .detail-image-nav button {
            padding: 0.3rem 0.8rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.7);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.38),
                    rgba(12, 12, 12, 0.98));
            font-size: 0.82rem;
            cursor: pointer;
            color: #1a1303;
            font-weight: 600;
            letter-spacing: 0.04em;
            box-shadow:
                0 3px 10px rgba(0, 0, 0, 0.9),
                0 0 0 1px rgba(0, 0, 0, 1);
            transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
        }

        .detail-image-nav button:hover:not(:disabled) {
            transform: translateY(-1px);
            background: radial-gradient(circle at top left,
                    rgba(255, 239, 167, 0.85),
                    rgba(24, 20, 8, 1));
            box-shadow:
                0 6px 18px rgba(0, 0, 0, 0.9),
                0 0 18px rgba(247, 211, 107, 0.45);
        }

        .detail-image-nav button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .detail-name {
            font-size: 1rem;
            font-weight: 600;
            color: #f7f3e9;
            margin-bottom: 0.3rem;
        }

        .detail-price {
            font-size: 0.95rem;
            font-weight: 700;
            color: #f7d36b;
            letter-spacing: 0.06em;
            margin-bottom: 0.3rem;
        }

        .detail-category {
            margin-bottom: 0.5rem;
        }

        .detail-description {
            font-size: 0.88rem;
            color: #e0dfcf;
            line-height: 1.6;
            white-space: pre-wrap;
        }

        .contact-title {
            margin: 0 0 0.25rem;
            font-size: 1.05rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #f7d36b;
        }

        .contact-subtitle {
            margin: 0 0 1.1rem;
            font-size: 0.9rem;
            color: #c0b37c;
        }

        .contact-left {
            display: flex;
            align-items: center;
            gap: 0.9rem;
            flex: 3;
        }

        .line-logo {
            width: 56px;
            height: 56px;
            border-radius: 999px;
            background: radial-gradient(circle at top left, #15e013, #00c300);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow:
                0 0 0 1px rgba(0, 0, 0, 0.9),
                0 8px 18px rgba(0, 0, 0, 0.9),
                0 0 16px rgba(0, 195, 0, 0.6);
        }

        .line-logo span {
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            color: #ffffff;
        }

        .contact-text-block {
            display: flex;
            flex-direction: column;
            gap: 0.55rem;
        }

        .contact-text {
            margin: 0;
            font-size: 0.9rem;
            color: #e0dfcf;
        }

        .line-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 1.35rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.8);
            background:
                radial-gradient(circle at top left, #25ff2f, #00c300);
            color: #041003;
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.06em;
            text-decoration: none;
            box-shadow:
                0 4px 14px rgba(0, 0, 0, 0.9),
                0 0 10px rgba(0, 195, 0, 0.65);
            transition:
                transform 0.18s ease,
                box-shadow 0.18s ease,
                filter 0.18s ease;
        }

        .line-button:hover {
            transform: translateY(-1px);
            filter: brightness(1.05);
            box-shadow:
                0 10px 24px rgba(0, 0, 0, 0.9),
                0 0 18px rgba(0, 255, 80, 0.7);
        }

        .side-menu {
            position: fixed;
            top: 0;
            right: -320px;
            width: 320px;
            max-width: 86vw;
            height: 100%;
            background:
                radial-gradient(circle at top left, rgba(247, 211, 107, 0.14), transparent 60%),
                #050608;
            border-left: 1px solid rgba(247, 211, 107, 0.4);
            box-shadow:
                -2px 0 18px rgba(0, 0, 0, 0.96),
                0 0 22px rgba(247, 211, 107, 0.16);
            transition: right 0.32s ease;
            z-index: 1100;
            padding: 1.2rem 1rem 1.8rem;
            overflow-y: auto;
        }

        .side-menu.open {
            right: 0;
        }

        .side-menu-header {
            font-size: 1.05rem;
            color: #f7d36b;
            margin-bottom: 1rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .side-menu-list {
            list-style: none;
            padding: 0;
            margin: 0 0 1.6rem 0;
        }

        .side-menu-list li {
            margin-bottom: 0.9rem;
        }

        .side-menu-list a {
            color: #e5e5e5;
            text-decoration: none;
            font-size: 0.95rem;
            letter-spacing: 0.03em;
            padding: 0.3rem 0;
            display: inline-block;
        }

        .side-menu-list a:hover {
            color: #f7d36b;
        }

        .side-menu-contact {
            border-top: 1px solid rgba(247, 211, 107, 0.25);
            padding-top: 1.2rem;
            margin-top: 0.4rem;
        }

        .side-menu-qr {
            margin-top: 1rem;
        }

        .qr-card {
            padding: 0.75rem 0.9rem 0.8rem;
            border-radius: 14px;
            background: radial-gradient(circle at top, #13141c, #050508);
            border: 1px solid rgba(247, 211, 107, 0.5);
            box-shadow:
                0 10px 26px rgba(0, 0, 0, 0.9),
                0 0 16px rgba(247, 211, 107, 0.25);
            max-width: 210px;
            width: 100%;
        }

        .qr-label {
            font-size: 0.85rem;
            color: #f7d36b;
            margin-bottom: 0.55rem;
            letter-spacing: 0.06em;
        }

        .qr-wrapper {
            width: 100%;
            display: flex;
            justify-content: center;
            margin-bottom: 0.55rem;
        }

        .qr-wrapper img {
            display: block;
            max-width: 160px;
            width: 100%;
            border-radius: 12px;
            background: #000;
            box-shadow:
                0 4px 16px rgba(0, 0, 0, 0.9),
                0 0 10px rgba(247, 211, 107, 0.2);
        }

        .qr-tip {
            margin: 0;
            font-size: 0.78rem;
            color: #b3b3b3;
            line-height: 1.5;
        }

        .hamburger {
            width: 32px;
            height: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .hamburger span {
            display: block;
            height: 3px;
            border-radius: 3px;
            background: #f7d36b;
            box-shadow: 0 0 6px rgba(247, 211, 107, 0.7);
            transition: transform 0.25s ease, opacity 0.25s ease;
        }

        .pagination-container {
            margin-top: 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
        }

        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            flex-wrap: wrap;
        }

        .pagination button {
            min-width: 40px;
            padding: 0.35rem 0.7rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.6);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.35),
                    rgba(16, 16, 16, 0.98));
            color: #f7f3e9;
            font-size: 0.85rem;
            cursor: pointer;
            letter-spacing: 0.04em;
            box-shadow:
                0 3px 10px rgba(0, 0, 0, 0.9),
                0 0 0 1px rgba(0, 0, 0, 1);
            transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
        }

        .pagination button:hover:not(:disabled) {
            transform: translateY(-1px);
            background: radial-gradient(circle at top left,
                    rgba(255, 239, 167, 0.8),
                    rgba(24, 20, 8, 1));
            box-shadow:
                0 6px 18px rgba(0, 0, 0, 0.95),
                0 0 18px rgba(247, 211, 107, 0.4);
        }

        .pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .pagination button.active {
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.9),
                    rgba(24, 20, 8, 1));
            color: #130f03;
            font-weight: 700;
        }

        .pagination-jump {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.85rem;
            color: #c0b37c;
        }

        .pagination-jump input[type="number"] {
            width: 60px;
            padding: 0.25rem 0.4rem;
            border-radius: 6px;
            border: 1px solid rgba(247, 211, 107, 0.6);
            background: rgba(5, 5, 8, 0.98);
            color: #f7f3e9;
            font-size: 0.85rem;
            outline: none;
        }

        .pagination-jump button {
            padding: 0.3rem 0.9rem;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.7);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.5),
                    rgba(16, 16, 16, 0.98));
            color: #130f03;
            font-size: 0.85rem;
            cursor: pointer;
            letter-spacing: 0.05em;
            box-shadow:
                0 3px 10px rgba(0, 0, 0, 0.9),
                0 0 0 1px rgba(0, 0, 0, 1);
        }

        .pagination-jump button:hover {
            transform: translateY(-1px);
            background: radial-gradient(circle at top left,
                    rgba(255, 239, 167, 0.9),
                    rgba(24, 20, 8, 1));
        }

        /* 回到頂部按鈕 */
        .scroll-top-btn {
            position: fixed;
            right: 1rem;
            bottom: 1.2rem;
            width: 42px;
            height: 42px;
            border-radius: 999px;
            border: 1px solid rgba(247, 211, 107, 0.9);
            background: radial-gradient(circle at top left,
                    rgba(247, 211, 107, 0.8),
                    rgba(18, 14, 4, 1));
            color: #130f03;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            cursor: pointer;
            box-shadow:
                0 8px 22px rgba(0, 0, 0, 0.95),
                0 0 18px rgba(247, 211, 107, 0.4);
            z-index: 1200;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        .scroll-top-btn.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .scroll-top-btn:hover {
            transform: translateY(-2px);
            box-shadow:
                0 12px 26px rgba(0, 0, 0, 0.98),
                0 0 24px rgba(247, 211, 107, 0.55);
        }

        @media (max-width: 1024px) {
            .product-grid {
                justify-content: center;
            }
        }

        /* 768px 以下（平板＋手機）調小一點標題字 */
        @media (max-width: 768px) {
            header .container {
                align-items: flex-start;
            }

            header h1 {
                width: 100%;
                font-size: 1.05rem;
            }

            main {
                padding-inline: 0.7rem;
            }

            .product-grid {
                justify-content: space-between;
            }

            .product-card {
                width: calc(50% - 0.75rem);
                flex: 0 0 calc(50% - 0.75rem);
                max-width: none;
            }

            .qr-card {
                max-width: 260px;
            }

            /* 商品名稱在中小螢幕再縮小一點 */
            .product-name {
                font-size: 0.9rem;
                line-height: 1.25;
            }
        }

        /* 480px 以下（手機）再縮一點，並略微拉高卡片 */
        @media (max-width: 480px) {
            .filter-group {
                width: 100%;
                justify-content: flex-start;
            }

            .filter-group label {
                font-size: 0.82rem;
            }

            .filter-group select {
                font-size: 0.82rem;
                min-width: 0;
                flex: 1;
            }

            .line-logo {
                width: 50px;
                height: 50px;
            }

            /* 手機螢幕：名稱再小一級，避免擠到按鈕 */
            .product-name {
                font-size: 0.82rem;
                line-height: 1.2;
            }

            /* 手機版卡片稍微加高，確保「立即下單」不被遮住 */
            .product-card {
                height: 450px;
            }
        }