.customer-alert-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.customer-new-row{background:#fffaf0}.customer-name-link,.customer-order-link{border:0;background:transparent;text-align:left;cursor:pointer;color:var(--ink);padding:3px}.customer-name-link:hover b,.customer-order-link:hover b{color:var(--green);text-decoration:underline}.customer-name-link small,.customer-order-link small{display:block;color:var(--muted);margin-top:4px}.benefit-count{border:1px solid #e4c883;background:#fff9e8;color:#936518;border-radius:16px;padding:6px 10px;cursor:pointer;white-space:nowrap}.customer-profile-section{grid-column:1/-1}.customer-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.customer-profile-grid span{display:grid;gap:4px;padding:10px;background:#f5f8f6;border-radius:7px}.customer-profile-grid span.wide{grid-column:1/-1}.customer-profile-grid small{color:var(--muted)}.customer-profile-actions{display:flex;gap:8px;margin-top:12px}.customer-history-modal,.customer-benefit-modal{width:min(1050px,94vw);max-height:90vh;overflow:auto;background:#fff;border-radius:15px;padding:25px;position:relative}.customer-history-list{display:grid;gap:13px;margin-top:18px}.customer-history-list>section{border:1px solid var(--line);border-radius:10px;overflow:hidden}.customer-history-list header{display:grid;grid-template-columns:1fr auto auto;gap:15px;align-items:center;background:#f5f8f6;padding:11px 14px}.customer-history-list header small{display:block;color:var(--muted);margin-top:3px}.customer-history-products{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line)}.customer-history-products article{display:grid;grid-template-columns:52px 1fr auto auto;gap:9px;align-items:center;background:#fff;padding:9px}.customer-history-products img{width:52px;height:52px;object-fit:cover;border-radius:6px}.customer-history-products button{border:0;background:transparent;font-weight:800;cursor:pointer;padding:0}.customer-history-products small{display:block;color:var(--muted);margin-top:3px}.benefit-form{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:15px;background:#f7f9f8;border-radius:10px;margin:16px 0}.benefit-form .full{grid-column:1/-1}.benefit-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.benefit-tip{padding:12px;background:#edf6f1;color:var(--green);border-radius:7px}.benefit-list{display:grid;gap:8px}.benefit-list article{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:11px}.benefit-list article.active{border-color:#d5b45d;background:#fffaf0}.benefit-list small{display:block;color:var(--muted);margin-top:4px}.benefit-list button{border:0;background:#f4ecea;color:#a64a3d;border-radius:6px;padding:6px 9px;cursor:pointer}.customer-benefit-wallet{margin:12px 0;padding:14px;border-radius:10px;background:linear-gradient(135deg,#173f35,#2a6454);color:#fff}.customer-benefit-wallet>div:last-child{display:flex;gap:8px;overflow:auto;margin-top:9px}.customer-benefit-wallet span{display:grid;min-width:180px;padding:9px;background:#ffffff18;border-radius:7px}.customer-benefit-wallet small{color:#d8e7e1;margin-top:4px}@media(max-width:760px){.customer-profile-grid,.customer-history-products,.benefit-form{grid-template-columns:1fr}.customer-history-products article{grid-template-columns:45px 1fr auto}.customer-history-products article>strong{grid-column:2}.customer-alert-actions{justify-content:flex-start}}

#customerCenter .customer-summary>button{border:1px solid transparent;background:#f3f6f4;border-radius:8px;padding:9px;text-align:center;cursor:pointer;color:inherit;font:inherit;min-width:0}#customerCenter .customer-summary>button:hover{border-color:#8aafa0;background:#edf5f0}#customerCenter .customer-summary>button.active{background:#173f35;border-color:#173f35;color:#fff}#customerCenter .customer-summary>button.active small{color:#e0eee7}#customerCenter .customer-summary>button:focus-visible{outline:2px solid #39765f;outline-offset:2px}#customerCenter .customer-order[hidden],#customerCenter .empty[hidden]{display:none!important}

#customerCenter .customer-benefit-hint{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;margin:10px 0;background:#edf5f1;border:1px solid #cfdfd6;border-radius:8px;font-size:13px}#customerCenter .customer-benefit-hint button{background:#173f35;border:0;border-radius:6px;padding:7px 12px;color:white;cursor:pointer}#customerCenter .customer-wallet-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}#customerCenter .customer-wallet-card{padding:16px;border:1px solid #cadfd2;border-radius:10px;background:#f3faf6;display:grid;gap:10px}#customerCenter .customer-wallet-card header{display:flex;justify-content:space-between;gap:10px}#customerCenter .customer-wallet-card header span{font-size:12px;color:#39765e}#customerCenter .customer-wallet-card small{color:var(--muted);line-height:1.6}#customerCenter .customer-wallet-card.inactive{background:#f5f5f5;border-color:#e1e1e1;color:#777}#customerCenter .customer-order-list[hidden],#customerCenter .customer-summary[hidden],#customerCenter [data-benefit-hint][hidden],#customerCenter [data-customer-benefit-panel][hidden]{display:none!important}@media(max-width:620px){#customerCenter .customer-wallet-cards{grid-template-columns:1fr}}

/* Modern gift tickets; layout only. */
#customerCenter .customer-benefit-hint{padding:15px 18px;background:linear-gradient(110deg,#fff0e4,#fff7ef 65%,#ffe5d5);border:1px solid #f4d6c0;border-radius:12px;box-shadow:0 4px 15px #b35a2010;gap:12px}
#customerCenter .wallet-hint-main{display:flex;align-items:center;gap:13px;min-width:0}#customerCenter .wallet-gift-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#c65b3b;color:#fff7eb;flex-shrink:0;box-shadow:0 4px 10px #b55c3420}#customerCenter .wallet-gift-icon svg{width:29px;height:29px}#customerCenter .wallet-hint-main span{display:grid;gap:3px}#customerCenter .wallet-hint-main small{font-size:10px;letter-spacing:1.3px;color:#a66a4b}#customerCenter .wallet-hint-main b{font-size:18px;color:#773c28}#customerCenter .wallet-hint-main em{font-size:12px;font-style:normal;color:#996346}#customerCenter .customer-benefit-hint button{background:#a84430;color:#fff8ef;padding:10px 14px;border-radius:8px;font-size:12px;font-weight:600;box-shadow:0 3px 8px #a8443015}#customerCenter .customer-benefit-hint button:hover{background:#8e3525}
#customerCenter [data-my-benefits]{display:inline-flex;align-items:center;gap:6px;color:#ad4b30;font-weight:700}#customerCenter [data-my-benefits].active{border-bottom-color:#c45c38}#customerCenter [data-my-benefits]>b{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;background:#fce5d7;border-radius:6px;font-size:11px;color:#9c442e}#customerCenter .wallet-tab-gift{display:inline-flex;width:18px;height:18px}#customerCenter .wallet-tab-gift svg{width:100%;height:100%}
#customerCenter .wallet-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding:21px 25px;border:1px solid #efd4b7;border-radius:12px;background:radial-gradient(ellipse at 95% 10%,#f5caa9 0%,transparent 55%),linear-gradient(110deg,#fff6e8,#ffeadc);color:#733a27}#customerCenter .wallet-hero:after{content:'✦';position:absolute;right:108px;top:14px;color:#bd784f;font-size:18px}#customerCenter .wallet-hero small{font-size:10px;letter-spacing:2px;color:#9b6748}#customerCenter .wallet-hero h3{margin:6px 0;font-size:25px;letter-spacing:1px}#customerCenter .wallet-hero p{margin:0;font-size:12px;color:#9b6748}#customerCenter .wallet-hero-gift{display:grid;place-items:center;width:67px;height:67px;transform:rotate(9deg);background:#ffffff65;border:1px solid #ffffffa0;border-radius:18px;color:#ae4c31}#customerCenter .wallet-hero-gift svg{width:43px;height:43px}#customerCenter .wallet-rules{font-size:11px;line-height:1.7;margin:11px 2px 0}
#customerCenter .customer-wallet-cards{gap:14px;margin-top:14px}#customerCenter .customer-wallet-card{position:relative;overflow:hidden;display:grid;grid-template-columns:112px minmax(0,1fr);gap:0;padding:0;border:1px solid #ebc8b5;border-radius:12px;background:#fffaf5;box-shadow:0 4px 13px #aa4f2410;min-height:151px}#customerCenter .wallet-ticket-value{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 8px;background:linear-gradient(150deg,#b24d32,#d3784b);color:#fff5df;border-right:1px dashed #f1c3a2}#customerCenter .wallet-ticket-value:before,#customerCenter .wallet-ticket-value:after{content:'';position:absolute;right:-7px;width:13px;height:13px;border-radius:50%;background:white;z-index:1}#customerCenter .wallet-ticket-value:before{top:-7px}#customerCenter .wallet-ticket-value:after{bottom:-7px}#customerCenter .wallet-ticket-value small{color:#ffdfc2;font-size:10px;letter-spacing:1px;text-align:center}#customerCenter .wallet-ticket-value strong{font-size:38px;line-height:1.2;margin-top:7px;letter-spacing:-1px;font-weight:750}#customerCenter .wallet-ticket-value em{font-size:12px;font-style:normal;margin-top:3px;letter-spacing:1px}#customerCenter .wallet-ticket-value>i{position:absolute;right:7px;bottom:7px;font-size:10px;opacity:.5;font-style:normal}#customerCenter .wallet-ticket-body{min-width:0;padding:16px 14px;display:flex;flex-direction:column;gap:9px}#customerCenter .customer-wallet-card header{align-items:flex-start;gap:8px;flex-wrap:wrap}#customerCenter .customer-wallet-card header>b{font-size:15px;color:#7e3927;line-height:1.5}#customerCenter .customer-wallet-card header>span{padding:3px 7px;border:1px solid #edcfb6;border-radius:5px;color:#a55a37;background:#fff0df;font-size:10px;white-space:nowrap}#customerCenter .wallet-usage{font-size:12px;color:#b05434}#customerCenter .wallet-expiry{font-size:10px!important;color:#a48370!important;line-height:1.6!important}#customerCenter .wallet-note{font-size:11px;line-height:1.6;margin:0;color:#956e57;overflow-wrap:anywhere}
#customerCenter .customer-wallet-card.inactive{background:#f7f7f7;border-color:#dedede;box-shadow:none}#customerCenter .customer-wallet-card.inactive .wallet-ticket-value{background:linear-gradient(145deg,#9a9d9e,#b6b8b8);border-right-color:#dadada;color:#fff}#customerCenter .customer-wallet-card.inactive .wallet-ticket-value small{color:#f2f2f2}#customerCenter .customer-wallet-card.inactive header>b,#customerCenter .customer-wallet-card.inactive .wallet-usage{color:#777}#customerCenter .customer-wallet-card.inactive header>span{color:#777;background:#eee;border-color:#ddd}#customerCenter .customer-wallet-card.inactive .wallet-expiry,#customerCenter .customer-wallet-card.inactive .wallet-note{color:#888!important}
@media(max-width:850px){#customerCenter .customer-wallet-cards{grid-template-columns:1fr}}@media(max-width:480px){#customerCenter .customer-benefit-hint{padding:12px}#customerCenter .wallet-hint-main b{font-size:16px}#customerCenter .customer-benefit-hint button{margin-left:59px}#customerCenter .wallet-hero{padding:18px}#customerCenter .wallet-hero h3{font-size:22px}#customerCenter .wallet-hero-gift{width:52px;height:52px;flex-shrink:0}#customerCenter .wallet-hero:after{right:75px}#customerCenter .customer-wallet-card{grid-template-columns:94px minmax(0,1fr)}#customerCenter .wallet-ticket-body{padding:13px 12px}#customerCenter .wallet-ticket-value strong{font-size:34px}}

@media(max-width:480px){#customerCenter .customer-center-tabs button{font-size:12px;padding:10px 8px;white-space:nowrap}#customerCenter [data-my-benefits]{gap:4px}#customerCenter .wallet-tab-gift{width:15px;height:15px}}

#customerCenter .wallet-use-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:5px}#customerCenter .wallet-use-row>small{font-size:10px;color:#a48370}#customerCenter .wallet-use-row>button{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;background:#a8442f;color:#fff8ee;border:1px solid #a8442f;border-radius:7px;padding:7px 12px;font-size:12px;font-weight:600;cursor:pointer}#customerCenter .wallet-use-row>button:hover{background:#8c3323}#customerCenter .wallet-use-row>button:focus-visible{outline:2px solid #b56840;outline-offset:3px}

.checkout-benefit-selector{margin:14px 0;padding:14px;border:1px solid #ecd4c3;border-radius:10px;background:#fff8f1}.checkout-benefit-selector header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-bottom:10px}.checkout-benefit-selector header b{color:#9b452d;font-size:14px}.checkout-benefit-selector header small{font-size:11px;color:#987359}.checkout-benefit-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkout-benefit-fields label{display:grid;gap:6px;font-size:12px;color:#765743;min-width:0}.checkout-benefit-fields select{width:100%;min-width:0;max-width:100%;padding:9px;border:1px solid #e3c9b7;border-radius:6px;background:white;font-size:12px}.checkout-benefit-total{margin:10px 0 0;font-size:12px;color:#86674f}.checkout-benefit-total strong{font-size:17px;color:#a3432d;margin-left:4px}.checkout-benefit-error{margin:8px 0 0;color:#ac3424;font-size:12px;line-height:1.6}@media(max-width:600px){.checkout-benefit-fields{grid-template-columns:1fr}}

.customer-aftersales-modal{max-height:88vh;overflow:auto}.customer-request-lines{display:grid;gap:8px;margin:12px 0}.customer-request-lines>label{display:grid;grid-template-columns:52px 1fr 80px;align-items:center;gap:10px;padding:9px;border:1px solid #dce5df;border-radius:8px}.customer-request-lines img{width:52px;height:52px;object-fit:contain;border-radius:6px}.customer-request-lines small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.customer-request-lines input{width:100%;padding:8px;border:1px solid #dce5df;border-radius:6px}.customer-aftersales-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.customer-aftersales-actions button,.order-aftersales-request button{padding:7px 12px;border:1px solid #b9cfc4;border-radius:6px;background:#f1f7f3;color:#245540;cursor:pointer;font-size:12px}.customer-aftersales-record{padding:13px;border:1px solid #dce5df;border-radius:8px;margin:12px 0;background:#f8faf9}.customer-aftersales-record header{display:flex;justify-content:space-between;gap:10px;font-size:13px}.customer-aftersales-record small,.customer-aftersales-record p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.customer-aftersales-record header span{color:#a15a35}.order-aftersales-request{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 14px;background:#fff2e5;color:#9a4d2f;font-size:12px}

.order-refund-history-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;margin-bottom:12px;border:1px solid #e6d7c7;border-radius:9px;background:#fff8f0;font-size:12px}.order-refund-history-filters label{display:flex;align-items:center;gap:6px}.order-refund-history-filters select{padding:7px;border:1px solid #dccbbb;border-radius:6px;background:white}#customerCenter .customer-center-tabs{flex-wrap:wrap}

.refund-result-tag{display:inline-block;padding:3px 7px;margin:5px 5px 0 0;background:#fff;border:1px solid #eddbc7;border-radius:5px;font-size:11px;font-weight:normal;color:#936039}

.stock-adjustment-summary{display:flex;gap:16px;flex-wrap:wrap;padding:10px 0;font-size:13px}.stock-adjustment-summary b:first-child{color:#24734c}.stock-adjustment-summary b:nth-child(2){color:#b64339}.stock-preview-list article.stock-adjust-add{background:#eef9f1;border-color:#c8e5d0}.stock-preview-list article.stock-adjust-add strong{color:#267549}.stock-preview-list article.stock-adjust-subtract{background:#fff1ef;border-color:#efcbc6}.stock-preview-list article.stock-adjust-subtract strong{color:#b64035}.stock-adjustment-errors,[data-adjust-error]{color:#ad3d33;font-size:12px;line-height:1.7}

.finance-refund-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.finance-refund-controls button{padding:7px 12px;border:1px solid #cbdacf;border-radius:6px;background:#fff;cursor:pointer}.finance-refund-controls button.active{background:#173f35;color:white}.finance-refund-controls input{padding:8px;border:1px solid #cbdacf;border-radius:6px;min-width:220px}.finance-refund-content td small{display:block;color:var(--muted);font-size:11px;line-height:1.6}.finance-expense-row td:nth-child(2),.finance-expense-row td:nth-child(5){color:#b04738}.finance-refund-note{font-size:11px;line-height:1.7;margin:10px 0}

.finance-lifetime-balance{background:#eaf4ed!important;border:1px solid #bdd6c5;cursor:pointer}.finance-lifetime-balance strong{color:#20533b}.finance-lifetime-balance em{font-size:11px;line-height:1.6}.finance-lifetime-balance:focus-visible{outline:2px solid #39765f;outline-offset:3px}
