/* 基礎設定與字體 */


        .gene1003-coupon-text{
                padding: 6px;
        }

        
        .wp-block-woocommerce-cart {
            font-family: 'Georgia', 'Times New Roman', serif;
            background-color: #ffffff;
            color: #1a1a1a;
            padding: 40px 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* 主要布局 */
        .wc-block-components-sidebar-layout {
            display: flex;
            gap: 40px;
            background: #ffffff;
            border-radius: 0;
        }

        /* 購物車主要區域 */
        .wc-block-components-main {
            flex: 1;
            background: #ffffff;
            padding: 30px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        /* 表格標題 */
        .wc-block-cart-items caption h2 {
            font-size: 28px;
            color: #1a1a1a;
            margin-bottom: 30px;
            font-weight: 300;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* 表格樣式 */
        .wc-block-cart-items {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background: #ffffff;
        }

        /* 表頭樣式 */
        .wc-block-cart-items__header {
            background: #f8f8f8;
            border-bottom: 2px solid #2a2a2a;
        }

        .wc-block-cart-items__header th {
            padding: 20px;
            text-align: left;
            font-weight: 500;
            color: #1a1a1a;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        /* 商品行樣式 */
        .wc-block-cart-items__row {
            border-bottom: 1px solid #e5e5e5;
            transition: background-color 0.3s ease;
        }

        .wc-block-cart-items__row:hover {
            background-color: #fafafa;
        }

        .wc-block-cart-items__row td {
            padding: 25px 20px;
            vertical-align: middle;
        }

        /* 商品圖片 */
        .wc-block-cart-item__image img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border: 1px solid #e0e0e0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .wc-block-cart-item__image img:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        /* 商品名稱連結 */
        .wc-block-components-product-name {
            color: #1a1a1a;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: color 0.3s ease;
            display: inline-block;
            margin-bottom: 10px;
        }

        .wc-block-components-product-name:hover {
            color: #555555;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        /* 價格樣式 */
        .wc-block-components-product-price {
            color: #2a2a2a;
            font-size: 15px;
            margin: 10px 0;
        }

        .wc-block-components-product-price__regular {
            color: #999999;
            text-decoration: line-through;
            margin-right: 10px;
        }

        .wc-block-components-product-price__value {
            color: #1a1a1a;
            font-weight: 600;
            font-size: 16px;
        }

        /* 折扣標籤 */
        .wc-block-components-sale-badge {
            background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
            color: #ffffff;
            padding: 6px 12px;
            font-size: 12px;
            display: inline-block;
            margin: 8px 0;
            letter-spacing: 0.5px;
            font-weight: 400;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* 數量選擇器 */
        .wc-block-components-quantity-selector {
            display: flex;
            align-items: center;
            margin: 15px 0;
            border: 1px solid #d0d0d0;
            background: #fafafa;
            display: inline-flex;
        }

        .wc-block-components-quantity-selector__input {
            width: 60px;
            padding: 8px;
            border: none;
            background: transparent;
            text-align: center;
            font-size: 14px;
            color: #1a1a1a;
            font-weight: 500;
        }

        .wc-block-components-quantity-selector__button {
            width: 36px;
            height: 36px;
            border: none;
            background: #ffffff;
            color: #2a2a2a;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s ease;
            border: 1px solid #d0d0d0;
        }

        .wc-block-components-quantity-selector__button:hover:not(:disabled) {
            background: #2a2a2a;
            color: #ffffff;
        }

        .wc-block-components-quantity-selector__button:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        /* 移除商品按鈕 */
        .wc-block-cart-item__remove-link {
            background: none;
            border: none;
            color: #808080;
            cursor: pointer;
            font-size: 13px;
            padding: 5px 0;
            margin-top: 10px;
            transition: color 0.3s ease;
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .wc-block-cart-item__remove-link:hover {
            color: #2a2a2a;
        }

        /* 側邊欄樣式 */
        .wc-block-components-sidebar {
            width: 380px;
            background: #f9f9f9;
            padding: 35px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            height: fit-content;
            position: sticky;
            top: 20px;
        }

        /* 購物車總計標題 */
        .wc-block-cart__totals-title {
            font-size: 22px;
            color: #1a1a1a;
            margin-bottom: 25px;
            font-weight: 400;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding-bottom: 15px;
            border-bottom: 2px solid #2a2a2a;
        }

        /* 優惠券區塊 */
        .wc-block-components-panel__button {
            background: #ffffff;
            border: 1px solid #d0d0d0;
                padding: 0 !important;
            width: 100%;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #4a4a4a;
            font-size: 14px;
            letter-spacing: 0.5px;
        }

        .wc-block-components-panel__button:hover {
            background: #2a2a2a;
            color: #ffffff;
            border-color: #2a2a2a;
        }

        .wc-block-components-panel__button svg {
            fill: currentColor;
            transition: transform 0.3s ease;
        }

        .wc-block-components-panel__button[aria-expanded="true"] svg {
            transform: rotate(180deg);
        }

        /* 總計項目 */
        .wc-block-components-totals-item {
            display: flex;
            justify-content: space-between;
            padding: 15px 0;
            border-bottom: 1px solid #e0e0e0;
        }

        .wc-block-components-totals-footer-item {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid #2a2a2a;
            border-bottom: none;
            font-size: 18px;
        }

        .wc-block-components-totals-item__label {
            color: #4a4a4a;
            font-weight: 400;
            letter-spacing: 0.5px;
        }

        .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
            color: #1a1a1a;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .wc-block-components-totals-item__value {
            color: #1a1a1a;
            font-weight: 600;
        }

        /* 結帳按鈕 */
        .wc-block-cart__submit-container {
            margin-top: 30px;
        }

        .wc-block-cart__submit-button {
            width: 100%;
            background: #1a1a1a;
            color: #ffffff;
            border: 2px solid #1a1a1a;
            padding: 18px 30px;
            font-size: 16px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.4s ease;
            text-decoration: none;
            display: block;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .wc-block-cart__submit-button:hover {
            background: #ffffff;
            color: #1a1a1a;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .wc-block-components-button__text {
            display: inline-block;
        }

        /* ============================================
           平板響應式設計 (768px - 1024px)
           ============================================ */
        @media (max-width: 1024px) {
            .wc-block-components-sidebar-layout {
                gap: 30px;
            }
            
            .wc-block-components-sidebar {
                width: 340px;
            }
            
            .wc-block-components-main {
                padding: 25px;
            }
        }

        /* ============================================
           手機響應式設計 (768px 以下)
           ============================================ */
        @media (max-width: 768px) {
            /* 整體容器調整 */
            .wp-block-woocommerce-cart {
                padding: 20px 10px;
            }

            /* 主要布局改為垂直排列 */
            .wc-block-components-sidebar-layout {
                flex-direction: column;
                gap: 20px;
            }
            
            /* 主要內容區域 */
            .wc-block-components-main {
                padding: 15px;
                border: none;
                box-shadow: none;
            }

            /* 隱藏桌面版表頭 */
            .wc-block-cart-items__header {
                display: none;
            }

            /* 表格標題調整 */
            .wc-block-cart-items caption h2 {
                font-size: 20px;
                margin-bottom: 20px;
                text-align: center;
            }

            /* 將表格行改為卡片式布局 */
            .wc-block-cart-items__row {
                display: block;
                padding: 20px 15px;
                background: #f9f9f9;
                margin-bottom: 15px;
                border: 1px solid #e0e0e0;
                border-bottom: 2px solid #d0d0d0;
            }

            .wc-block-cart-items__row td {
                display: block;
                padding: 10px 0;
                width: 100%;
            }

            /* 商品資訊重新排版 */
            .wc-block-cart-item__image {
                text-align: center;
                margin-bottom: 15px;
            }

            .wc-block-cart-item__image img {
                width: 120px;
                height: 120px;
            }

            .wc-block-cart-item__product {
                padding: 0 !important;
            }

            /* 商品名稱 */
            .wc-block-components-product-name {
                font-size: 18px;
                font-weight: 600;
                display: block;
                text-align: center;
                margin-bottom: 15px;
                padding-bottom: 10px;
                border-bottom: 1px solid #e0e0e0;
            }

            /* 價格區塊置中 */
            .wc-block-cart-item__prices {
                text-align: center;
                margin: 15px 0;
            }

            .wc-block-components-product-price__value {
                font-size: 18px;
            }

            /* 折扣標籤置中 */
            .wc-block-components-sale-badge {
                display: block;
                text-align: center;
                margin: 10px auto;
                max-width: 200px;
            }

            /* 數量選擇器置中 */
            .wc-block-cart-item__quantity {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 15px;
                margin: 20px 0;
            }

            .wc-block-components-quantity-selector {
                width: 180px;
                justify-content: center;
            }

            .wc-block-components-quantity-selector__button {
                width: 44px;
                height: 44px;
                font-size: 20px;
            }

            .wc-block-components-quantity-selector__input {
                width: 80px;
                font-size: 16px;
            }

            /* 移除按鈕樣式 */
            .wc-block-cart-item__remove-link {
                display: inline-block;
                background: #ffffff;
                border: 1px solid #d0d0d0;
                padding: 10px 20px;
                font-size: 14px;
                text-decoration: none;
                transition: all 0.3s ease;
            }

            .wc-block-cart-item__remove-link:active {
                background: #f0f0f0;
                transform: scale(0.98);
            }

            /* 總價顯示 */
            .wc-block-cart-item__total {
                background: #ffffff;
                padding: 15px;
                border-radius: 0;
                margin-top: 15px;
                text-align: center;
                border-top: 2px solid #2a2a2a;
            }

            .wc-block-cart-item__total-price-and-sale-badge-wrapper {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 10px;
            }

            .wc-block-cart-item__total .price {
                font-size: 20px;
                font-weight: 600;
            }

            /* 側邊欄調整 */
            .wc-block-components-sidebar {
                width: 100%;
                position: static;
                padding: 25px 15px;
                background: #ffffff;
                border: 2px solid #2a2a2a;
                margin-top: 10px;
            }

            /* 購物車總計標題 */
            .wc-block-cart__totals-title {
                font-size: 20px;
                text-align: center;
            }

            /* 優惠券按鈕加大 */
            .wc-block-components-panel__button {
                padding: 16px;
                font-size: 15px;
            }

            /* 總計項目 */
            .wc-block-components-totals-item {
                padding: 12px 0;
                font-size: 15px;
            }

            .wc-block-components-totals-footer-item {
                font-size: 18px;
                background: #f9f9f9;
                padding: 15px;
                margin: 20px -15px 0;
            }

            /* 結帳按鈕加大並固定在底部 */
            .wc-block-cart__submit {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                background: #ffffff;
                padding: 15px;
                box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
                z-index: 100;
                border-top: 1px solid #e0e0e0;
            }

            .wc-block-cart__submit-button {
                padding: 20px;
                font-size: 17px;
                letter-spacing: 1.5px;
                border-radius: 0;
            }

            /* 為固定按鈕留出空間 */
            .wc-block-components-sidebar {
                margin-bottom: 100px;
            }
        }

        /* ============================================
           小手機響應式設計 (480px 以下)
           ============================================ */
        @media (max-width: 480px) {
            /* 進一步縮小內距 */
            .wp-block-woocommerce-cart {
                padding: 15px 5px;
            }

            .wc-block-components-main {
                padding: 10px;
            }

            /* 商品卡片 */
            .wc-block-cart-items__row {
                padding: 15px 10px;
            }

            /* 圖片稍微縮小 */
            .wc-block-cart-item__image img {
                width: 100px;
                height: 100px;
            }

            /* 商品名稱字體調整 */
            .wc-block-components-product-name {
                font-size: 16px;
            }

            /* 數量選擇器適應小螢幕 */
            .wc-block-components-quantity-selector {
                width: 150px;
            }

            .wc-block-components-quantity-selector__button {
                width: 40px;
                height: 40px;
            }

            .wc-block-components-quantity-selector__input {
                width: 60px;
            }

            /* 側邊欄內距調整 */
            .wc-block-components-sidebar {
                padding: 20px 10px;
            }

            /* 結帳按鈕文字大小 */
            .wc-block-cart__submit-button {
                font-size: 16px;
                padding: 18px;
            }
        }

        /* ============================================
           橫向手機 (landscape)
           ============================================ */
        @media (max-width: 768px) and (orientation: landscape) {
            .wc-block-cart-item__image img {
                width: 80px;
                height: 80px;
            }

            .wc-block-cart__submit {
                position: static;
            }

            .wc-block-components-sidebar {
                margin-bottom: 20px;
            }
        }

        /* 動畫效果 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .wc-block-cart-items__row {
            animation: fadeIn 0.5s ease;
        }

        /* 手機版點擊反饋 */
        @media (max-width: 768px) {
            button, a, .wc-block-components-panel__button {
                -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
            }

            /* 手機版懸浮效果改為點擊效果 */
            .wc-block-cart__submit-button:active {
                transform: scale(0.98);
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            }

            .wc-block-components-quantity-selector__button:active:not(:disabled) {
                background: #2a2a2a;
                color: #ffffff;
            }
        }

        /* 捲軸樣式 */
        .wp-block-woocommerce-cart ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        .wp-block-woocommerce-cart ::-webkit-scrollbar-track {
            background: #f0f0f0;
        }

        .wp-block-woocommerce-cart ::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 0;
        }

        .wp-block-woocommerce-cart ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        /* 額外的優雅細節 */
        .wc-block-cart-items tbody tr:last-child {
            border-bottom: none;
        }

        /* 輸入框聚焦效果 */
        .wc-block-components-quantity-selector__input:focus {
            outline: none;
            background: #ffffff;
        }

        /* 通知樣式 */
        .wc-block-components-notices {
            margin-bottom: 20px;
        }

        .wc-block-components-notice-snackbar-list {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
        }

        /* 手機版通知位置調整 */
        @media (max-width: 768px) {
            .wc-block-components-notice-snackbar-list {
                bottom: 100px;
                right: 10px;
                left: 10px;
            }
        }
        
        
        
 /* ============================================
           共通基礎樣式 (所有 WooCommerce 頁面)
           ============================================ */
        .woocommerce {
            font-family: 'Georgia', 'Times New Roman', serif;
            background-color: #ffffff;
            color: #1a1a1a;
            line-height: 1.6;
        }

        /* 共通連結樣式 */
        .woocommerce a {
            color: #2a2a2a;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .woocommerce a:hover {
            color: #555555;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        /* 共通按鈕樣式 */
        .woocommerce .button,
        .woocommerce button.button,
        .woocommerce input.button,
        .woocommerce a.button {
            background: #1a1a1a;
            color: #ffffff;
            border: 2px solid #1a1a1a;
            padding: 12px 24px;
            font-size: 14px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            cursor: pointer;
            transition: all 0.4s ease;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .woocommerce .button:hover,
        .woocommerce button.button:hover,
        .woocommerce input.button:hover,
        .woocommerce a.button:hover {
            background: #ffffff;
            color: #1a1a1a;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            text-decoration: none;
        }

        /* 共通訊息樣式 */
        .woocommerce .woocommerce-message,
        .woocommerce .woocommerce-error,
        .woocommerce .woocommerce-info {
            padding: 15px 20px;
            margin-bottom: 20px;
            border-left: 4px solid;
            background: #f9f9f9;
            position: relative;
            animation: slideIn 0.5s ease;
        }

        .woocommerce .woocommerce-message {
            border-color: #2a2a2a;
            background: #f5f5f5;
        }

        .woocommerce .woocommerce-error {
            border-color: #d32f2f;
            background: #ffebee;
        }

        .woocommerce .woocommerce-info {
            border-color: #1976d2;
            background: #e3f2fd;
        }

        /* 共通表單樣式 */
        .woocommerce input[type="text"],
        .woocommerce input[type="email"],
        .woocommerce input[type="password"],
        .woocommerce input[type="tel"],
        .woocommerce textarea,
        .woocommerce select {
            width: 100%;
            padding: 12px;
            border: 1px solid #d0d0d0;
            background: #ffffff;
            color: #1a1a1a;
            font-size: 14px;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .woocommerce input[type="text"]:focus,
        .woocommerce input[type="email"]:focus,
        .woocommerce input[type="password"]:focus,
        .woocommerce input[type="tel"]:focus,
        .woocommerce textarea:focus,
        .woocommerce select:focus {
            outline: none;
            border-color: #2a2a2a;
            box-shadow: 0 0 0 2px rgba(42, 42, 42, 0.1);
        }

        /* ============================================
           我的帳號頁面專屬樣式
           ============================================ */
        
        /* 帳號頁面容器 */
        .woocommerce-account .woocommerce {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            display: flex;
            gap: 40px;
            min-height: 600px;
        }

        /* 導航側邊欄 */
        .woocommerce-MyAccount-navigation {
            width: 280px;
            background: #f9f9f9;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            height: fit-content;
            position: sticky;
            top: 20px;
        }

        .woocommerce-MyAccount-navigation ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .woocommerce-MyAccount-navigation-link {
            border-bottom: 1px solid #e5e5e5;
            transition: all 0.3s ease;
        }

        .woocommerce-MyAccount-navigation-link:last-child {
            border-bottom: none;
        }

        .woocommerce-MyAccount-navigation-link a {
            display: block;
            padding: 18px 25px;
            color: #4a4a4a;
            font-size: 14px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        /* 導航連結懸停效果 */
        .woocommerce-MyAccount-navigation-link a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: #2a2a2a;
            transform: translateX(-10px);
            transition: transform 0.3s ease;
        }

        .woocommerce-MyAccount-navigation-link a:hover {
            background: #ffffff;
            color: #1a1a1a;
            text-decoration: none;
            padding-left: 35px;
        }

        .woocommerce-MyAccount-navigation-link a:hover::before {
            transform: translateX(0);
        }

        /* 當前頁面樣式 */
        .woocommerce-MyAccount-navigation-link.is-active a {
            background: #2a2a2a;
            color: #ffffff;
            font-weight: 500;
        }

        .woocommerce-MyAccount-navigation-link.is-active a::before {
            transform: translateX(0);
            background: #ffffff;
        }

        /* 登出連結特殊樣式 */
        .woocommerce-MyAccount-navigation-link--customer-logout a {
            color: #808080;
        }

        .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
            background: #1a1a1a;
            color: #ffffff;
        }

        /* 主要內容區域 */
        .woocommerce-MyAccount-content {
            flex: 1;
            background: #ffffff;
            padding: 35px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        /* 內容標題樣式 */
        .woocommerce-MyAccount-content h2,
        .woocommerce-MyAccount-content h3 {
            color: #1a1a1a;
            font-weight: 400;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #2a2a2a;
        }

        /* 段落樣式 */
        .woocommerce-MyAccount-content p {
            color: #4a4a4a;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .woocommerce-MyAccount-content strong {
            color: #1a1a1a;
            font-weight: 600;
        }

        /* 訊息通知優化 */
        .woocommerce-notices-wrapper {
            margin-bottom: 30px;
        }

        .woocommerce-MyAccount-content .woocommerce-message {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(to right, #f9f9f9 0%, #ffffff 100%);
        }

        .woocommerce-MyAccount-content .woocommerce-message .button {
            margin-left: 20px;
            white-space: nowrap;
        }

        /* 表格樣式 (訂單、下載等) */
        .woocommerce-MyAccount-content table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin-bottom: 30px;
            background: #ffffff;
            border: 1px solid #e0e0e0;
        }

        .woocommerce-MyAccount-content table th {
            background: #f8f8f8;
            padding: 15px;
            text-align: left;
            font-weight: 500;
            color: #1a1a1a;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 2px solid #2a2a2a;
        }

        .woocommerce-MyAccount-content table td {
            padding: 15px;
            border-bottom: 1px solid #e5e5e5;
            color: #4a4a4a;
        }

        .woocommerce-MyAccount-content table tr:last-child td {
            border-bottom: none;
        }

        .woocommerce-MyAccount-content table tr:hover td {
            background: #fafafa;
        }

        /* 表單欄位 (編輯帳號、地址) */
        .woocommerce-MyAccount-content .form-row {
            margin-bottom: 20px;
        }

        .woocommerce-MyAccount-content label {
            display: block;
            margin-bottom: 8px;
            color: #2a2a2a;
            font-weight: 500;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .woocommerce-MyAccount-content .required {
            color: #d32f2f;
            font-weight: bold;
        }

        /* 地址格式化 */
        .woocommerce-MyAccount-content address {
            font-style: normal;
            background: #f9f9f9;
            padding: 20px;
            border-left: 3px solid #2a2a2a;
            margin: 20px 0;
            color: #4a4a4a;
        }

        /* ============================================
           平板響應式設計 (768px - 1024px)
           ============================================ */
        @media (max-width: 1024px) {
            .woocommerce-account .woocommerce {
                gap: 30px;
            }

            .woocommerce-MyAccount-navigation {
                width: 240px;
            }

            .woocommerce-MyAccount-content {
                padding: 25px;
            }
        }

        /* ============================================
           手機響應式設計 (768px 以下)
           ============================================ */
        @media (max-width: 768px) {
            /* 主容器改為垂直排列 */
            .woocommerce-account .woocommerce {
                flex-direction: column;
                padding: 20px 10px;
                gap: 20px;
            }

            /* 導航改為水平滑動或摺疊 */
            .woocommerce-MyAccount-navigation {
                width: 100%;
                position: static;
                background: #ffffff;
                border: 2px solid #2a2a2a;
                margin-bottom: 20px;
            }

            /* 導航標題 (可選添加) */
            .woocommerce-MyAccount-navigation::before {
                content: '☰ 我的帳號選單';
                display: block;
                padding: 15px 20px;
                background: #2a2a2a;
                color: #ffffff;
                font-weight: 500;
                text-transform: uppercase;
                letter-spacing: 1px;
            }

            /* 導航列表水平滾動 */
            .woocommerce-MyAccount-navigation ul {
                display: flex;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                padding: 0;
            }

            /* 導航項目 */
            .woocommerce-MyAccount-navigation-link {
                flex: 0 0 auto;
                border-bottom: none;
                border-right: 1px solid #e5e5e5;
            }

            .woocommerce-MyAccount-navigation-link:last-child {
                border-right: none;
            }

            .woocommerce-MyAccount-navigation-link a {
                padding: 15px 20px;
                white-space: nowrap;
                font-size: 13px;
            }

            .woocommerce-MyAccount-navigation-link a::before {
                display: none;
            }

            .woocommerce-MyAccount-navigation-link a:hover {
                padding-left: 20px;
            }

            /* 當前頁面在手機版的樣式 */
            .woocommerce-MyAccount-navigation-link.is-active a {
                background: #2a2a2a;
                color: #ffffff;
                box-shadow: inset 0 -3px 0 #ffffff;
            }

            /* 主要內容區域 */
            .woocommerce-MyAccount-content {
                padding: 20px 15px;
                border: none;
                box-shadow: none;
            }

            /* 標題調整 */
            .woocommerce-MyAccount-content h2,
            .woocommerce-MyAccount-content h3 {
                font-size: 18px;
                margin-bottom: 20px;
                padding-bottom: 10px;
            }

            /* 訊息通知調整 */
            .woocommerce-MyAccount-content .woocommerce-message {
                flex-direction: column;
                align-items: flex-start;
                padding: 15px;
                text-align: center;
            }

            .woocommerce-MyAccount-content .woocommerce-message .button {
                margin: 15px auto 0;
                width: 100%;
                max-width: 200px;
                text-align: center;
            }

            /* 表格響應式 */
            .woocommerce-MyAccount-content table {
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                white-space: nowrap;
            }

            .woocommerce-MyAccount-content table th,
            .woocommerce-MyAccount-content table td {
                padding: 10px;
                font-size: 13px;
            }

            /* 表單按鈕 */
            .woocommerce-MyAccount-content button,
            .woocommerce-MyAccount-content .button {
                width: 100%;
                padding: 15px;
                font-size: 15px;
            }

            /* 地址區塊 */
            .woocommerce-MyAccount-content address {
                padding: 15px;
                font-size: 14px;
            }
        }

        /* ============================================
           小手機響應式設計 (480px 以下)
           ============================================ */
        @media (max-width: 480px) {
            /* 進一步縮小內距 */
            .woocommerce-account .woocommerce {
                padding: 15px 5px;
            }

            .woocommerce-MyAccount-content {
                padding: 15px 10px;
            }

            /* 導航字體更小 */
            .woocommerce-MyAccount-navigation-link a {
                padding: 12px 15px;
                font-size: 12px;
                letter-spacing: 0.3px;
            }

            /* 內容字體調整 */
            .woocommerce-MyAccount-content p {
                font-size: 14px;
            }

            /* 按鈕調整 */
            .woocommerce .button {
                padding: 12px 20px;
                font-size: 13px;
                letter-spacing: 1px;
            }
        }

        /* ============================================
           垂直導航選單 (手機替代方案)
           ============================================ */
        @media (max-width: 768px) {
            /* 如果想要垂直摺疊選單，使用這段代碼 */
            
            .gene1003-link {
                    text-decoration: none;
                    font-size: 3vw;
                    color: #fff;
                    position: relative;
                    padding: 0.5vw 1vw;
                    border-radius: 1vw;
                    transition: background-color 0.3s 
                ease, color 0.3s 
                ease;
                    letter-spacing: 1px;
                    font-weight: 100;
                }
            
            
            .woocommerce-MyAccount-navigation.vertical-menu ul {
                display: block;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }

            .woocommerce-MyAccount-navigation.vertical-menu:hover ul,
            .woocommerce-MyAccount-navigation.vertical-menu:focus-within ul {
                max-height: 500px;
            }

            .woocommerce-MyAccount-navigation.vertical-menu .woocommerce-MyAccount-navigation-link {
                border-right: none;
                border-bottom: 1px solid #e5e5e5;
            }

            .woocommerce-MyAccount-navigation.vertical-menu .woocommerce-MyAccount-navigation-link a {
                display: block;
                padding: 15px 20px;
            }
        }

        /* ============================================
           動畫效果
           ============================================ */
        @keyframes slideIn {
            from {
                transform: translateX(-20px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .woocommerce-MyAccount-content {
            animation: fadeIn 0.5s ease;
        }

        /* ============================================
           深色模式支援 (可選)
           ============================================ */
        @media (prefers-color-scheme: dark) {
            /* 可以在這裡添加深色模式樣式 */
        }

        /* ============================================
           列印樣式
           ============================================ */
        @media print {
            .woocommerce-MyAccount-navigation {
                display: none;
            }

            .woocommerce-MyAccount-content {
                width: 100%;
                border: none;
                box-shadow: none;
            }
        }

        /* ============================================
           購物車頁面樣式 (從前面的設計延續)
           ============================================ */
        
        /* 基本購物車樣式保持一致... */
        /* (這裡可以包含之前購物車的樣式，確保整體一致性) */

        /* ============================================
           其他 WooCommerce 頁面共通優化
           ============================================ */
        
        /* 商品列表 */
        .woocommerce ul.products {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
            margin: 0;
            padding: 0;
        }

        .woocommerce ul.products li.product {
            background: #ffffff;
            border: 1px solid #e0e0e0;
            padding: 20px;
            transition: all 0.3s ease;
            list-style: none;
        }

        .woocommerce ul.products li.product:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        /* 商品價格 */
        .woocommerce .price {
            color: #1a1a1a;
            font-weight: 600;
        }

        .woocommerce .price del {
            color: #999999;
            font-weight: 400;
        }

        .woocommerce .price ins {
            text-decoration: none;
        }

        /* 銷售標籤 */
        .woocommerce span.onsale {
            background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
            color: #ffffff;
            padding: 6px 12px;
            font-size: 12px;
            letter-spacing: 0.5px;
            font-weight: 400;
            border-radius: 0;
            min-width: auto;
            min-height: auto;
            line-height: 1;
        }

        /* 評分星星 */
        .woocommerce .star-rating {
            color: #2a2a2a;
        }

        .woocommerce .star-rating::before {
            color: #e0e0e0;
        }

        /* 分頁 */
        .woocommerce nav.woocommerce-pagination ul {
            border: none;
        }

        .woocommerce nav.woocommerce-pagination ul li {
            border: 1px solid #e0e0e0;
            margin: 0 5px;
        }

        .woocommerce nav.woocommerce-pagination ul li a,
        .woocommerce nav.woocommerce-pagination ul li span {
            color: #2a2a2a;
            padding: 10px 15px;
            background: #ffffff;
        }

        .woocommerce nav.woocommerce-pagination ul li a:hover {
            background: #2a2a2a;
            color: #ffffff;
        }

        .woocommerce nav.woocommerce-pagination ul li span.current {
            background: #2a2a2a;
            color: #ffffff;
        }        
        
        
        
        /* ============================================
           購物車登入提示區塊
           ============================================ */
        
        /* 登入提示容器 */
        .gene-cart-gate {
            max-width: 600px;
            margin: 60px auto;
            padding: 0 20px;
            animation: fadeInUp 0.6s ease;
        }

        /* 內部容器 */
        .gene-cart-gate__inner {
            background: #ffffff;
            border: 2px solid #2a2a2a;
            padding: 60px 50px;
            text-align: center;
            position: relative;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }

        /* 裝飾性背景圖案 */
        .gene-cart-gate__inner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, 
                #2a2a2a 0%, 
                #4a4a4a 25%, 
                #2a2a2a 50%, 
                #4a4a4a 75%, 
                #2a2a2a 100%);
            background-size: 200% 100%;
            animation: shimmer 3s linear infinite;
        }

        /* 裝飾性角標 */
        .gene-cart-gate__inner::after {
            content: '🔒';
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 24px;
            opacity: 0.1;
            transform: rotate(-15deg);
        }

        /* 標題樣式 */
        .gene-cart-gate__title {
            font-size: 32px;
            color: #1a1a1a;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 2px solid #2a2a2a;
            position: relative;
            font-family: 'Georgia', 'Times New Roman', serif;
        }

        /* 標題裝飾線 */
        .gene-cart-gate__title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 2px;
            background: #ffffff;
        }

        /* 描述文字 */
        .gene-cart-gate__desc {
            font-size: 16px;
            color: #4a4a4a;
            line-height: 1.8;
            margin-bottom: 35px;
            font-family: 'Georgia', 'Times New Roman', serif;
            font-style: italic;
            letter-spacing: 0.5px;
        }

        /* 登入按鈕 */
        .gene-cart-gate__btn {
            display: inline-block;
            background: #1a1a1a;
            color: #ffffff;
            padding: 18px 50px;
            font-size: 16px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-decoration: none;
            border: 2px solid #1a1a1a;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            font-family: inherit;
        }

        /* 按鈕懸停效果 */
        .gene-cart-gate__btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: #ffffff;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
            z-index: 0;
        }

        .gene-cart-gate__btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .gene-cart-gate__btn:hover {
            color: #1a1a1a;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
            text-decoration: none;
        }

        /* 按鈕文字層級 */
        .gene-cart-gate__btn span {
            position: relative;
            z-index: 1;
        }

        /* 如果按鈕沒有span包裹，確保文字在最上層 */
        .gene-cart-gate__btn {
            z-index: 1;
        }

        .gene-cart-gate__btn:hover {
            z-index: 2;
        }

        /* 額外的視覺增強：鎖定圖示 */
        .gene-cart-login .gene-cart-gate__title::before {
            content: '';
            display: block;
            width: 50px;
            height: 50px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, #2a2a2a, #4a4a4a);
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C9.243 2 7 4.243 7 7v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7c0-2.757-2.243-5-5-5zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v3H9V7zm4 10.723V20h-2v-2.277a2 2 0 1 1 2 0z'/%3E%3C/svg%3E");
            mask-size: contain;
            mask-repeat: no-repeat;
            mask-position: center;
            -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C9.243 2 7 4.243 7 7v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7c0-2.757-2.243-5-5-5zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v3H9V7zm4 10.723V20h-2v-2.277a2 2 0 1 1 2 0z'/%3E%3C/svg%3E");
            -webkit-mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-position: center;
        }

        /* 平板響應式 */
        @media (max-width: 1024px) {
            .gene-cart-gate__inner {
                padding: 50px 40px;
            }

            .gene-cart-gate__title {
                font-size: 28px;
            }
        }

        /* 手機響應式 */
        @media (max-width: 768px) {
            .gene-cart-gate {
                margin: 40px auto;
                padding: 0 15px;
            }

            .gene-cart-gate__inner {
                padding: 40px 25px;
                border-width: 2px;
            }

            .gene-cart-gate__title {
                font-size: 24px;
                letter-spacing: 2px;
                margin-bottom: 20px;
            }

            .gene-cart-gate__desc {
                font-size: 15px;
                margin-bottom: 30px;
            }

            .gene-cart-gate__btn {
                width: 100%;
                padding: 16px 30px;
                font-size: 15px;
                letter-spacing: 1.5px;
            }

            /* 手機版點擊效果 */
            .gene-cart-gate__btn:active {
                transform: scale(0.98);
            }
        }

        /* 小手機響應式 */
        @media (max-width: 480px) {
            .gene-cart-gate {
                margin: 30px auto;
            }

            .gene-cart-gate__inner {
                padding: 35px 20px;
            }

            .gene-cart-gate__title {
                font-size: 20px;
            }

            .gene-cart-gate__desc {
                font-size: 14px;
            }

            .gene-cart-gate__btn {
                padding: 14px 25px;
                font-size: 14px;
            }
        }

        /* 動畫效果 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes shimmer {
            0% {
                background-position: -200% center;
            }
            100% {
                background-position: 200% center;
            }
        }

        /* 深色模式支援（可選） */
        @media (prefers-color-scheme: dark) {
            .gene-cart-gate__inner {
                background: #1a1a1a;
                border-color: #4a4a4a;
            }

            .gene-cart-gate__title {
                color: #ffffff;
                border-bottom-color: #4a4a4a;
            }

            .gene-cart-gate__desc {
                color: #b0b0b0;
            }

            .gene-cart-gate__btn {
                background: #ffffff;
                color: #1a1a1a;
                border-color: #ffffff;
            }

            .gene-cart-gate__btn:hover {
                background: #1a1a1a;
                color: #ffffff;
            }
        }
        
        
        
        

/* ============================================
   訂單確認頁面樣式
   ============================================ */

/* 主容器 */
.woocommerce-order {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 4vw 2vw;
    max-width: 75vw;
    margin: 0 auto;
}

/* 成功訊息 */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
    color: #ffffff;
    padding: 2vw 3vw;
    border: none;
    border-left: 0.4vw solid #ffffff;
    font-size: 1.4vw;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15vw;
    box-shadow: 0 0.4vw 1.2vw rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 3vw;
    animation: fadeInUp 0.6s ease;
}

.woocommerce-notice--success.woocommerce-thankyou-order-received::before {
    content: '✓';
    position: absolute;
    left: 2vw;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5vw;
    opacity: 0.3;
}

/* 訂單總覽 */
.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    background: #f9f9f9;
    padding: 2.5vw;
    border: 0.1vw solid #e0e0e0;
    margin: 0 0 3vw 0;
    list-style: none;
    box-shadow: 0 0.2vw 0.8vw rgba(0, 0, 0, 0.04);
}

.woocommerce-order-overview li {
    flex: 1 1 calc(33.333% - 2vw);
    min-width: 15vw;
    background: #ffffff;
    padding: 1.5vw;
    border-left: 0.3vw solid #2a2a2a;
    transition: all 0.3s ease;
    color: #4a4a4a;
    font-size: 0.9vw;
    text-transform: uppercase;
    letter-spacing: 0.1vw;
}

.woocommerce-order-overview li:hover {
    transform: translateY(-0.3vw);
    box-shadow: 0 0.4vw 1vw rgba(0, 0, 0, 0.1);
}

.woocommerce-order-overview li strong {
    display: block;
    color: #1a1a1a;
    font-size: 1.1vw;
    font-weight: 600;
    margin-top: 0.5vw;
    word-break: break-word;
}

/* 訂單詳細資料區塊 */
.woocommerce-order-details {
    background: #ffffff;
    padding: 2.5vw;
    border: 0.1vw solid #e0e0e0;
    box-shadow: 0 0.2vw 0.8vw rgba(0, 0, 0, 0.04);
    margin-bottom: 3vw;
}

/* 標題 */
.woocommerce-order-details__title {
    font-size: 1.8vw;
    color: #1a1a1a;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15vw;
    margin: 0 0 2vw 0;
    padding-bottom: 1vw;
    border-bottom: 0.15vw solid #2a2a2a;
}

/* 表格樣式 */
.woocommerce-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 0.1vw solid #e0e0e0;
}

.woocommerce-table thead {
    background: #f8f8f8;
    border-bottom: 0.15vw solid #2a2a2a;
}

.woocommerce-table th {
    padding: 1.5vw;
    text-align: left;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 1vw;
    text-transform: uppercase;
    letter-spacing: 0.1vw;
}

.woocommerce-table tbody tr {
    border-bottom: 0.1vw solid #e5e5e5;
    transition: background-color 0.3s ease;
}

.woocommerce-table tbody tr:hover {
    background-color: #fafafa;
}

.woocommerce-table tbody tr:last-child {
    border-bottom: none;
}

.woocommerce-table td {
    padding: 1.5vw;
    vertical-align: middle;
    color: #4a4a4a;
    font-size: 1vw;
}

.woocommerce-table .product-name a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.woocommerce-table .product-name a:hover {
    color: #555555;
    text-decoration: underline;
    text-underline-offset: 0.3vw;
}

.woocommerce-table .product-quantity {
    color: #808080;
    font-weight: 400;
    margin-left: 1vw;
}

.woocommerce-table .product-total {
    text-align: right;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1vw;
}

/* 表格底部 tfoot */
.woocommerce-table tfoot {
    background: #f9f9f9;
}

.woocommerce-table tfoot th {
    background: #ffffff;
    padding: 1.2vw 1.5vw;
    font-weight: 500;
    color: #4a4a4a;
    font-size: 0.95vw;
    text-transform: none;
    letter-spacing: 0.05vw;
}

.woocommerce-table tfoot td {
    padding: 1.2vw 1.5vw;
    text-align: right;
    font-size: 1vw;
}

/* 動作按鈕 */
.woocommerce-table tfoot .order-actions--heading {
    border-top: 0.15vw solid #2a2a2a;
    padding-top: 1.5vw;
}

.woocommerce-table tfoot .order-actions-button {
    background: #1a1a1a;
    color: #ffffff;
    border: 0.15vw solid #1a1a1a;
    padding: 0.8vw 1.5vw;
    font-size: 0.9vw;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1vw;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.1);
    margin-right: 1vw;
}

.woocommerce-table tfoot .order-actions-button:hover {
    background: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 0.4vw 0.8vw rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.woocommerce-table tfoot .cancel {
    background: #ffffff;
    color: #808080;
    border-color: #d0d0d0;
}

.woocommerce-table tfoot .cancel:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #2a2a2a;
}

/* 總計行加粗 */
.woocommerce-table tfoot tr:nth-last-child(2) th,
.woocommerce-table tfoot tr:nth-last-child(2) td {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.2vw;
    border-top: 0.15vw solid #2a2a2a;
    padding-top: 1.5vw;
}

/* 客戶詳細資料 */
.woocommerce-customer-details {
    margin-bottom: 3vw;
}

/* 地址區塊 */
.woocommerce-columns--addresses {
    display: flex;
    gap: 3vw;
    margin-top: 2vw;
}

.woocommerce-column {
    flex: 1;
    background: #ffffff;
    padding: 2.5vw;
    border: 0.1vw solid #e0e0e0;
    box-shadow: 0 0.2vw 0.8vw rgba(0, 0, 0, 0.04);
}

.woocommerce-column__title {
    font-size: 1.5vw;
    color: #1a1a1a;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1vw;
    margin: 0 0 1.5vw 0;
    padding-bottom: 1vw;
    border-bottom: 0.15vw solid #2a2a2a;
}

.woocommerce-column address {
    font-style: normal;
    background: #f9f9f9;
    padding: 1.5vw;
    border-left: 0.3vw solid #2a2a2a;
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 1vw;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin: 1vw 0 0 0;
    font-weight: 500;
    color: #1a1a1a;
}

/* ============================================
   手機響應式設計 (768px 以下)
   ============================================ */
@media (max-width: 768px) {
    /* 主容器 */
    .woocommerce-order {
        padding: 5vw 3vw;
        max-width: 94vw;
    }

    /* 成功訊息 */
    .woocommerce-notice--success.woocommerce-thankyou-order-received {
        font-size: 3.5vw;
        padding: 4vw 5vw;
        border-left-width: 1vw;
        letter-spacing: 0.3vw;
        margin-bottom: 5vw;
    }

    .woocommerce-notice--success.woocommerce-thankyou-order-received::before {
        left: 3vw;
        font-size: 6vw;
    }

    /* 訂單總覽改為垂直排列 */
    .woocommerce-order-overview {
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        margin-bottom: 5vw;
    }

    .woocommerce-order-overview li {
        min-width: 100%;
        padding: 4vw;
        font-size: 3vw;
        border-left: 0.8vw solid #2a2a2a;
        border-bottom: 0.2vw solid #e5e5e5;
        margin-bottom: 2vw;
        box-shadow: 0 0.5vw 2vw rgba(0, 0, 0, 0.08);
    }

    .woocommerce-order-overview li:last-child {
        border-bottom: none;
    }

    .woocommerce-order-overview li strong {
        font-size: 3.5vw;
        margin-top: 2vw;
    }

    /* 訂單詳細資料 */
    .woocommerce-order-details {
        padding: 4vw;
        border: none;
        box-shadow: none;
        margin-bottom: 5vw;
    }

    .woocommerce-order-details__title {
        font-size: 4.5vw;
        margin-bottom: 4vw;
        padding-bottom: 2vw;
        text-align: center;
    }

    /* 表格改為卡片式布局 */
    .woocommerce-table {
        border: none;
    }

    .woocommerce-table thead {
        display: none;
    }

    .woocommerce-table tbody tr {
        display: block;
        background: #f9f9f9;
        margin-bottom: 4vw;
        padding: 4vw;
        border: 0.2vw solid #e0e0e0;
        border-bottom: 0.5vw solid #2a2a2a;
    }

    .woocommerce-table tbody tr:hover {
        background: #f9f9f9;
    }

    .woocommerce-table td {
        display: block;
        padding: 2vw 0;
        text-align: left;
        font-size: 3.5vw;
        border: none;
    }

    .woocommerce-table .product-name {
        border-bottom: 0.2vw solid #e0e0e0;
        padding-bottom: 3vw;
        margin-bottom: 3vw;
    }

    .woocommerce-table .product-name a {
        font-size: 4vw;
        font-weight: 600;
    }

    .woocommerce-table .product-quantity {
        display: block;
        margin: 2vw 0 0 0;
        font-size: 3vw;
    }

    .woocommerce-table .product-total {
        text-align: left;
        font-size: 4.5vw;
        padding-top: 3vw;
    }

    .woocommerce-table .product-total::before {
        content: '總計: ';
        color: #4a4a4a;
        font-weight: 400;
        font-size: 3vw;
    }

    /* tfoot 樣式 */
    .woocommerce-table tfoot {
        display: block;
        background: transparent;
    }

    .woocommerce-table tfoot tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 3vw 0;
        border-bottom: 0.2vw solid #e5e5e5;
        border-top: none;
    }

    .woocommerce-table tfoot th,
    .woocommerce-table tfoot td {
        display: block;
        padding: 0;
        text-align: left;
        font-size: 3.5vw;
        border: none;
    }

    .woocommerce-table tfoot td {
        text-align: right;
    }

    /* 動作按鈕 */
    .woocommerce-table tfoot tr:first-child {
        flex-direction: column;
        background: #ffffff;
        padding: 4vw;
        border: 0.2vw solid #e0e0e0;
        margin-bottom: 3vw;
        border-top: 0.5vw solid #2a2a2a;
    }

    .woocommerce-table tfoot .order-actions--heading {
        width: 100%;
        text-align: center;
        margin-bottom: 3vw;
        font-size: 3.5vw;
        border: none;
        padding: 0;
    }

    .woocommerce-table tfoot tr:first-child td {
        width: 100%;
        text-align: center;
    }

    .woocommerce-table tfoot .order-actions-button {
        width: 100%;
        padding: 3.5vw;
        font-size: 3.5vw;
        margin: 2vw 0;
        border-width: 0.3vw;
        letter-spacing: 0.3vw;
    }

    /* 總計行 */
    .woocommerce-table tfoot tr:nth-last-child(2) th,
    .woocommerce-table tfoot tr:nth-last-child(2) td {
        font-size: 4.5vw;
        padding: 4vw 0;
        border-top-width: 0.3vw;
    }

    /* 地址區塊改為垂直排列 */
    .woocommerce-columns--addresses {
        flex-direction: column;
        gap: 4vw;
    }

    .woocommerce-column {
        padding: 4vw;
        border: none;
        box-shadow: none;
        background: #f9f9f9;
        border: 0.2vw solid #e0e0e0;
    }

    .woocommerce-column__title {
        font-size: 4vw;
        margin-bottom: 3vw;
        padding-bottom: 2vw;
        text-align: center;
    }

    .woocommerce-column address {
        padding: 3vw;
        font-size: 3.5vw;
        border-left-width: 0.8vw;
    }

    .woocommerce-customer-details--phone,
    .woocommerce-customer-details--email {
        margin: 2vw 0 0 0;
        font-size: 3.5vw;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3vw);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

        
        
        