/** * LINE Pay checkout + payment return — shared by shop index and product pages. * Brand navy #0f3058; LINE green #06C755. */ .payment-return-banner { display: none; box-sizing: border-box; max-width: 960px; margin: 4.75rem auto 1rem; padding: 0; border-radius: 14px; border: 1px solid rgba(15, 48, 88, 0.12); background: #fff; box-shadow: 0 12px 40px rgba(15, 48, 88, 0.08); overflow: hidden; font-family: 'Playfair Display', Georgia, serif; } .payment-return-banner.is-visible { display: block; } .payment-return-banner--success { border-color: rgba(6, 199, 85, 0.35); background: linear-gradient(135deg, #f4fcf7 0%, #eef8f2 100%); } .payment-return-banner--warning { border-color: rgba(212, 165, 116, 0.45); background: linear-gradient(135deg, #fdfcfa 0%, #faf6f0 100%); } .payment-return-banner--error { border-color: rgba(231, 76, 60, 0.35); background: linear-gradient(135deg, #fff8f7 0%, #fef5f5 100%); } .payment-return-inner { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.1rem 1.05rem; text-align: left; } .payment-return-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-top: 0.1rem; } .payment-return-banner--success .payment-return-icon { background: rgba(6, 199, 85, 0.15); color: #049143; } .payment-return-banner--warning .payment-return-icon { background: rgba(212, 165, 116, 0.2); color: #8a6530; } .payment-return-banner--error .payment-return-icon { background: rgba(231, 76, 60, 0.12); color: #c0392b; } .payment-return-text { flex: 1; margin: 0; font-size: clamp(0.95rem, 2.2vw, 1.05rem); line-height: 1.55; color: #0f3058; } .payment-return-banner--success .payment-return-text { color: #0b3d28; } .payment-return-dismiss { flex-shrink: 0; margin: -0.2rem -0.15rem 0 0; width: 36px; height: 36px; border: none; border-radius: 10px; background: transparent; color: rgba(15, 48, 88, 0.45); cursor: pointer; font-size: 1.35rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease; } .payment-return-dismiss:hover { background: rgba(15, 48, 88, 0.06); color: #0f3058; } .payment-return-dismiss:focus-visible { outline: 2px solid #0f3058; outline-offset: 2px; } /* Thank-you modal — LINE Pay block */ .thank-you-linepay-card { display: none; margin-top: 1.35rem; padding: 1.25rem 1.35rem 1.3rem; text-align: left; border-radius: 14px; border: 1px solid rgba(15, 48, 88, 0.1); background: linear-gradient(180deg, #fafcfb 0%, #f3f8f5 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); } .thank-you-linepay-card.is-visible { display: block; } /* After LINE Pay success — hide pay CTA (already charged). */ .thank-you-linepay-card.thank-you-linepay--skip { display: none !important; } .thank-you-linepay-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: #06c755; padding: 0.35rem 0.65rem; border-radius: 6px; margin-bottom: 0.65rem; } .thank-you-linepay-lead { margin: 0 0 0.45rem; font-size: 1.05rem; font-weight: 600; color: #0f3058; line-height: 1.35; } .thank-you-linepay-hint { margin: 0 0 1rem; font-size: 0.88rem; line-height: 1.5; color: rgba(15, 48, 88, 0.72); } .thank-you-linepay-error { display: none; margin-bottom: 0.85rem; padding: 0.65rem 0.85rem; border-radius: 10px; font-size: 0.875rem; line-height: 1.45; color: #922b21; background: #fdecea; border: 1px solid rgba(231, 76, 60, 0.35); } .thank-you-linepay-error.is-visible { display: block; } .btn-line-pay { width: 100%; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.25rem; font-family: inherit; font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; color: #fff !important; background: #06c755 !important; border: none; border-radius: 12px; cursor: pointer; box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35); transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease; } .btn-line-pay:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(6, 199, 85, 0.42); } .btn-line-pay:active:not(:disabled) { transform: translateY(0); } .btn-line-pay:disabled { opacity: 0.72; cursor: not-allowed; transform: none; } .btn-line-pay:focus-visible { outline: 2px solid #0f3058; outline-offset: 3px; } .btn-line-pay .btn-line-pay-icon { width: 22px; height: 22px; flex-shrink: 0; } @media (max-width: 520px) { .payment-return-inner { flex-wrap: wrap; gap: 0.75rem; } .payment-return-dismiss { margin: -0.35rem -0.2rem 0 auto; } .thank-you-linepay-card { padding: 1rem 1rem 1.1rem; } } .line-pay-redirect-overlay { display: none; position: fixed; inset: 0; z-index: 200000; align-items: center; justify-content: center; background: rgba(15, 48, 88, 0.45); backdrop-filter: blur(4px); } .line-pay-redirect-overlay__panel { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem 2.25rem; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(15, 48, 88, 0.2); max-width: min(360px, 92vw); text-align: center; } .line-pay-redirect-overlay__spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(15, 48, 88, 0.12); border-top-color: #06c755; animation: line-pay-spin 0.75s linear infinite; } @keyframes line-pay-spin { to { transform: rotate(360deg); } } .line-pay-redirect-overlay__text { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; color: #0f3058; line-height: 1.45; }