.local-notice{background:var(--brand-soft);color:var(--brand);padding:8px 20px;text-align:center;font-size:12px}
.local-notice a{text-decoration:underline;margin-left:12px}
.skip-link{position:fixed;left:20px;top:-100px;background:var(--brand);color:#fff;padding:12px;z-index:20}
.skip-link:focus{top:10px}
.product-media{position:relative;height:100%;width:100%;overflow:hidden;background:var(--surface-soft)}
.product-media img{width:100%;height:100%;object-fit:contain;display:block}
.product-picture>.product-media{position:absolute;inset:0}
.image-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;font:35px Georgia;color:var(--muted)}
.image-placeholder span{font:12px 'Malgun Gothic',sans-serif;margin-top:12px}
.page-shell{padding-block:45px 85px;min-height:500px}
.page-heading{margin:0 0 35px}
.page-heading h1{font-size:32px;font-weight:500;letter-spacing:-.07em;margin:12px 0}
.page-heading p{font-size:13px;color:var(--muted);line-height:1.8;margin:0}
.breadcrumbs{font-size:12px;color:var(--muted);margin:0 0 30px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:18px;background:var(--brand);border:1px solid var(--brand);color:#fff;font:inherit;font-size:13px;padding:16px 24px;min-height:49px;border-radius:var(--radius);cursor:pointer;text-align:center;line-height:1.5}
.button:hover{background:var(--brand-hover)}
.button:disabled{opacity:.6;cursor:not-allowed}
.button.secondary{background:transparent;color:var(--brand);border-color:var(--border)}
.button.secondary:hover{background:var(--surface-soft)}
.button.full{display:flex;width:100%}
.button+.button{margin-top:10px}
.button span{margin-left:auto;font-size:20px}
.notice{padding:20px 25px;background:var(--surface-soft);font-size:13px;line-height:1.8;border-radius:var(--radius);margin-block:20px}
.notice.error{background:#fff0e9;color:var(--danger)}
.notice.success{background:var(--brand-soft);color:var(--brand)}
.notice ul{margin:5px 0 0;padding-left:20px}
.field-error{color:var(--danger);font-size:12px;line-height:1.6}
.fine-print{color:var(--muted);font-size:12px;line-height:1.9;margin:18px 0 0}
.empty-state{padding:70px 20px;text-align:center;background:var(--surface-soft);border-radius:var(--radius)}
.empty-state h2,.empty-state h3{font-size:21px;font-weight:500;margin:15px 0}
.empty-state p{color:var(--muted);font-size:13px;line-height:1.8;margin-bottom:25px}
.empty-symbol{font-size:45px;color:var(--muted)}
.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.detail-photo{aspect-ratio:1;background:var(--surface-soft)}
.detail-summary{padding:15px 0}
.detail-tag{display:inline-block;margin-top:18px;padding:5px 9px;background:var(--brand-soft);font-size:12px;color:var(--brand)}
.detail-summary h1{font-size:29px;line-height:1.5;font-weight:500;letter-spacing:-.06em;margin:13px 0}
.detail-lead{font-size:13px;color:var(--muted);line-height:1.9}
.detail-price{margin:26px 0}
.detail-price strong{display:block;font-size:31px;font-weight:600;letter-spacing:-.04em}
.detail-price del{color:var(--muted);font-size:13px;display:block;margin-bottom:7px}
.detail-facts{border-top:1px solid var(--border);padding-top:20px;margin:0 0 25px}
.detail-facts>div{display:flex;font-size:12px;line-height:1.8;margin-bottom:10px}
.detail-facts dt{width:95px;color:var(--muted);flex:none}
.detail-facts dd{margin:0}
.quantity-field{display:flex;align-items:center;justify-content:space-between;margin:25px 0;font-size:13px}
.stepper{display:flex;border:1px solid var(--border);align-items:stretch;height:44px}
.stepper button{width:44px;background:transparent;border:0;color:var(--brand);cursor:pointer}
.stepper input{width:58px;min-width:0;border:0;border-inline:1px solid var(--border);background:transparent;text-align:center;font-size:13px;appearance:textfield}
.stepper input::-webkit-inner-spin-button{appearance:none}
.product-description{margin-top:65px;border-top:1px solid var(--border);padding-top:35px}
.product-description h2{font-size:22px;font-weight:500}
.description-text{white-space:pre-wrap;font-size:14px;line-height:2.1;color:var(--text);background:var(--surface-soft);padding:35px}
.commerce-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:32px;align-items:start}
.summary-card{position:sticky;top:20px;background:var(--surface-soft);padding:28px;border:1px solid var(--border);border-radius:var(--radius)}
.summary-card h2{font-size:18px;font-weight:500;margin:0 0 22px}
.summary-card dl{margin:0 0 22px;font-size:13px}
.summary-card dl>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:18px}
.summary-card dd{margin:0;text-align:right}
.summary-card dt{color:var(--muted)}
.summary-card .summary-total{padding-top:21px;margin-top:22px;border-top:1px solid var(--border);align-items:center}
.summary-total dd{font-size:22px;font-weight:600}
.summary-total dt{font-size:12px;color:var(--brand)}
.cart-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:20px;padding:25px 0;border-bottom:1px solid var(--border);align-items:start}
.cart-row:first-child{border-top:1px solid var(--border)}
.thumb{width:90px;height:90px;display:block;flex:none;overflow:hidden;border-radius:var(--radius)}
.cart-row>.thumb{width:100px;height:100px}
.item-title{font-size:14px;font-weight:500;line-height:1.6}
.cart-row-info>p{font-size:12px;color:var(--muted);margin:8px 0;line-height:1.7}
.cart-row-actions{display:flex;align-items:center;gap:15px;margin-top:14px}
.cart-row-actions form{display:flex;align-items:center;gap:8px;margin:0}
.cart-row-actions input{width:64px;height:44px;padding:5px 7px;border:1px solid var(--border);border-radius:2px;background:var(--surface);font-size:12px}
.text-button{border:0;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:3px;font-size:12px;cursor:pointer;padding:10px;min-height:44px}
.row-price{font-size:16px;font-weight:500;white-space:nowrap;margin-top:4px}
.continue-link{display:inline-block;font-size:12px;color:var(--muted);margin-top:25px}
.form-section{padding:28px 0;border-top:1px solid var(--border)}
.form-section:first-child{padding-top:0;border:0}
.form-section h2{font-size:19px;font-weight:500;margin:0 0 23px}
.form-section h2 small,.orders-heading small{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}
.order-product{display:flex;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid var(--border)}
.order-product:last-child{border:0}
.order-product>div:not(.thumb){min-width:0;flex:1}
.order-product strong{font-size:13px;font-weight:500;line-height:1.7}
.order-product p{font-size:12px;color:var(--muted);margin:8px 0 0}
.order-product>b{font-size:14px;font-weight:500;white-space:nowrap}
.buyer-info{font-size:14px}
.buyer-info span{margin-left:15px;font-size:12px;color:var(--muted)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}
.form-field{display:flex;flex-direction:column;gap:9px;margin-bottom:16px}
.form-field.wide{grid-column:1/-1}
.form-field label{font-size:12px;font-weight:500}
.form-field em{font-size:12px;font-style:normal;color:var(--danger);margin-left:6px}
.form-field input,.form-field textarea,.form-field select{width:100%;min-height:46px;padding:12px 13px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font-size:13px;line-height:1.5}
.form-field textarea{resize:vertical}
.form-field input:focus,.form-field textarea:focus{outline:2px solid var(--brand);outline-offset:1px}
.form-field .postal-input{max-width:190px}
.form-field small{font-size:12px;color:var(--muted);line-height:1.7}
.payment-method{display:flex;align-items:center;gap:12px;padding:18px;background:var(--brand-soft);font-size:13px;border:1px solid var(--border)}
.payment-method b{font-weight:500}
.payment-method small{font-size:12px;color:var(--muted);margin-left:auto}
.payment-method>span{width:20px;height:20px;line-height:20px;background:var(--brand);color:#fff;text-align:center;border-radius:50%;font-size:12px}
.bank-info{display:flex;flex-direction:column;gap:8px;background:var(--surface-soft);padding:22px;margin:18px 0;font-size:14px}
.bank-info strong{font-size:12px;font-weight:500}
.bank-info small{font-size:12px;color:var(--muted)}
.bank-info .field-error{font-weight:400;font-size:12px}
.agreement{display:flex;gap:9px;font-size:12px;line-height:1.8;margin:25px 0;cursor:pointer}
.agreement input{width:17px;height:17px;flex:none;accent-color:var(--brand);margin:3px 0}
.my-intro{display:flex;justify-content:space-between;align-items:center;background:var(--brand-soft);padding:30px;border-radius:var(--radius);gap:20px}
.my-intro>div{display:flex;align-items:center;gap:20px}
.member-avatar{height:60px;width:60px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;font:28px Georgia;border-radius:50%;flex:none}
.my-intro h2{font-size:18px;font-weight:500;margin:0 0 10px}
.my-intro p{font-size:12px;color:var(--muted);margin:0}
.orders-heading{margin:40px 0 20px}
.orders-heading h2{font-size:22px;font-weight:500;margin:0}
.history-card{border:1px solid var(--border);padding:25px;margin-bottom:22px;border-radius:var(--radius)}
.history-card>header{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;border-bottom:1px solid var(--border);padding-bottom:19px;margin-bottom:20px}
.history-card>header span{font-size:12px;color:var(--muted);margin-left:17px}
.history-card>header a{white-space:nowrap;font-size:12px}
.status-badge{display:inline-block;background:var(--brand-soft);color:var(--brand);font-size:12px;padding:6px 10px;border-radius:var(--radius);white-space:nowrap}
.history-card>footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}
.history-card>footer span{font-size:12px;color:var(--muted)}
.history-card>footer strong{font-size:20px;font-weight:500}
.info-list{margin:0}
.info-list>div{display:grid;grid-template-columns:90px 1fr;gap:15px;margin-bottom:16px;font-size:13px;line-height:1.9}
.info-list dt{color:var(--muted)}
.info-list dd{margin:0;overflow-wrap:anywhere}
.completion{text-align:center;margin:0 0 45px;padding-top:10px}
.completion>span{display:flex;width:61px;height:61px;border-radius:50%;align-items:center;justify-content:center;background:var(--brand-soft);color:var(--brand);font-size:29px;margin:0 auto 24px}
.completion h1{font-size:30px;font-weight:500;letter-spacing:-.06em;margin:15px 0}
.completion p{font-size:13px;color:var(--muted);margin-bottom:20px}
.completion>strong{display:inline-block;padding:12px 20px;background:var(--surface-soft);font-size:12px;font-weight:400}
.order-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.order-section-title h2{margin:0}
.pagination nav{display:flex;justify-content:center;gap:25px;font-size:12px;margin-top:30px}
.pagination a{padding:8px;background:var(--surface-soft)}
.pagination span{padding:8px;color:var(--muted)}


@container (max-width: 900px) {
.local-notice{font-size:12px;padding:7px 10px}
.local-notice a{margin-left:5px}
.page-shell{padding-block:28px 45px;min-height:400px}
.page-heading{margin-bottom:25px}
.page-heading h1{font-size:26px;line-height:1.5;margin:8px 0}
.page-heading p{font-size:12px}
.breadcrumbs{font-size:12px;margin-bottom:20px;line-height:1.7}
.product-detail{grid-template-columns:1fr;gap:26px}
.detail-summary{padding:0}
.detail-summary h1{font-size:25px;margin:12px 0}
.detail-lead{font-size:12px}
.detail-price{margin:20px 0}
.detail-price strong{font-size:28px}
.detail-facts{margin-bottom:20px}
.detail-facts>div{font-size:12px}
.detail-facts dt{width:90px}
.product-description{margin-top:35px;padding-top:25px}
.product-description h2{font-size:20px}
.description-text{padding:23px;font-size:12px}
.commerce-grid{grid-template-columns:1fr;gap:30px}
.summary-card{position:static;padding:23px}
.summary-card h2{font-size:17px}
.cart-row{grid-template-columns:75px minmax(0,1fr);gap:15px;padding:20px 0}
.cart-row>.thumb{width:75px;height:75px}
.cart-row .row-price{grid-column:2;margin-top:-6px;font-size:16px}
.item-title{font-size:13px}
.cart-row-info>p{font-size:12px}
.cart-row-actions{gap:10px;margin-top:10px}
.cart-row-actions form{gap:5px}
.cart-row-actions input{width:56px;height:44px}
.cart-row-actions .text-button{font-size:12px;padding:8px;min-height:44px}
.thumb{width:65px;height:65px}
.form-section{padding:25px 0}
.form-section h2{font-size:17px;margin-bottom:20px}
.order-product{gap:13px}
.order-product strong{font-size:12px}
.order-product p{font-size:12px;line-height:1.8}
.order-product>b{font-size:12px}
.form-grid{grid-template-columns:1fr;gap:20px}
.form-field{grid-column:1/-1}
.form-field input,.form-field textarea,.form-field select{font-size:16px;min-height:47px}
.payment-method{flex-wrap:wrap;font-size:12px}
.payment-method small{margin:0;width:100%;padding-left:32px;line-height:1.7;font-size:12px}
.bank-info{font-size:14px}
.buyer-info{font-size:12px}
.buyer-info span{font-size:12px;display:block;margin:8px 0 0}
.my-intro{padding:22px;align-items:flex-start;flex-direction:column;gap:22px}
.my-intro>div{gap:15px}
.my-intro h2{font-size:15px}
.my-intro p{font-size:12px;line-height:1.7}
.my-intro .button{font-size:12px;min-height:40px;padding:11px 15px}
.member-avatar{height:45px;width:45px;font-size:23px}
.history-card{padding:18px;margin-bottom:18px}
.history-card>header{align-items:flex-start;font-size:12px}
.history-card>header span{display:block;font-size:12px;margin:8px 0 0;overflow-wrap:anywhere}
.history-card>header a{font-size:12px}
.history-card .thumb{width:55px;height:55px}
.history-card>footer strong{font-size:18px}
.history-card>footer span{font-size:12px}
.completion{margin-bottom:35px}
.completion h1{font-size:25px}
.completion p{font-size:12px}
.completion>strong{font-size:12px;padding:10px 12px}
.info-list>div{grid-template-columns:70px 1fr;font-size:12px;gap:12px}
.empty-state{padding:45px 15px}
.empty-state h2,.empty-state h3{font-size:19px}
.empty-state p{font-size:12px}
.fine-print{font-size:12px}
.button{font-size:12px}
.notice{font-size:12px;padding:17px}

}


/* Content and form boundaries shared by product, cart and order screens. */
.product-detail > *, .commerce-grid > *, .cart-row-info { min-width: 0; }
.detail-summary h1, .item-title, .order-product strong { overflow-wrap: anywhere; }
.detail-photo { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); }
.description-text { overflow-wrap: anywhere; }
.description-text img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.form-field select { min-width: 0; max-width: 100%; }

[data-mixed-payment] { margin-block: 20px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); }
[data-mixed-payment] summary { cursor: pointer; padding-block: 8px; font-size: 14px; }
[data-mixed-payment][open] summary { margin-bottom: 16px; }
.summary-total dd, .detail-price strong, .row-price { font-variant-numeric: tabular-nums; }
.cart-row-actions { flex-wrap: wrap; }
.pagination [aria-current] { color: var(--brand); font-weight: 700; }
@container (max-width: 760px) {
    .stepper input, .cart-row-actions input, .form-field select { font-size: 16px; }
    .order-product { flex-wrap: wrap; }
    .order-product > b { margin-left: auto; }
    .detail-summary h1 { font-size: 24px; }
}

/* 2026 storefront refinement: product, cart, checkout and account surfaces. */
.local-notice { background: #dfeeed; color: var(--brand-strong); padding: 7px 20px; font-weight: 650; letter-spacing: .01em; }
.skip-link { border-radius: 999px; box-shadow: var(--shadow-sm); }
.page-shell { padding-block: 58px 100px; min-height: 560px; }
.page-heading { max-width: 680px; margin: 0 0 42px; }
.page-heading h1 { margin: 10px 0 8px; font-size: clamp(32px, 4vw, 44px); line-height: 1.3; font-weight: 780; letter-spacing: -.065em; }
.page-heading p { color: var(--muted); font-size: 14px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin: 0 0 28px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--brand); font-weight: 700; }
.button { min-height: 52px; padding: 13px 22px; border-radius: 999px; background: var(--brand); border-color: var(--brand); font-size: 13px; font-weight: 750; box-shadow: 0 9px 22px rgba(7,93,120,.12); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); background: var(--brand-hover); box-shadow: 0 12px 26px rgba(7,93,120,.19); }
.button.secondary { background: var(--surface); color: var(--brand); border-color: var(--border-strong); box-shadow: none; }
.button.secondary:hover { background: var(--brand-soft); border-color: rgba(7,93,120,.2); }
.button:disabled { transform: none; box-shadow: none; }
.button.full { min-height: 56px; }
.notice { padding: 18px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-soft); }
.notice.error { border-color: #f0d0c8; background: #fff4ef; }
.notice.success { border-color: #c9e3dd; background: #edf8f4; color: var(--success); }
.empty-state { position: relative; overflow: hidden; padding: 82px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--surface), #f1f6f4); box-shadow: var(--shadow-sm); }
.empty-state::before { content: ""; position: absolute; inset: auto -60px -100px auto; width: 230px; height: 230px; border-radius: 50%; background: var(--brand-soft); opacity: .75; }
.empty-state > * { position: relative; z-index: 1; }
.empty-state h1, .empty-state h2, .empty-state h3 { margin: 16px 0 8px; font-weight: 750; letter-spacing: -.045em; }
.empty-state h1 { font-size: clamp(28px,4vw,40px); }
.empty-state p { margin: 0 auto 28px; max-width: 580px; font-size: 14px; }
.empty-symbol { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }

.product-detail { grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); gap: clamp(42px,6vw,78px); }
.detail-photo { position: relative; border: 0; border-radius: var(--radius-lg); background: #f1f4f1; box-shadow: inset 0 0 0 1px rgba(25,58,67,.06); }
.detail-photo::after { content: "WIDI CURATION"; position: absolute; left: 20px; bottom: 18px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--brand); font-size: 9px; font-weight: 850; letter-spacing: .12em; backdrop-filter: blur(8px); pointer-events: none; }
.detail-summary { position: sticky; top: 24px; padding: 20px 0; }
.detail-tag { margin-top: 18px; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: #a34f28; font-weight: 700; }
.detail-summary h1 { margin: 16px 0 10px; font-size: clamp(30px,3.4vw,43px); line-height: 1.32; font-weight: 780; }
.detail-lead { margin: 0; font-size: 14px; line-height: 1.8; }
.detail-price { margin: 28px 0 24px; }
.detail-price strong { font-size: 34px; font-weight: 820; }
.detail-facts { margin-bottom: 24px; padding: 20px 18px 10px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.62); }
.detail-facts > div { margin-bottom: 10px; font-size: 13px; }
.detail-facts dt { width: 100px; color: var(--muted); font-weight: 650; }
.quantity-field { margin: 22px 0; padding: 14px 0; border-block: 1px solid var(--border); }
.stepper { overflow: hidden; height: 46px; border-color: var(--border-strong); border-radius: 999px; background: var(--surface); }
.stepper button { width: 46px; font-size: 18px; }
.stepper input { width: 62px; border-color: var(--border); font-weight: 750; }
.product-description { margin-top: 82px; padding-top: 48px; border-top: 1px solid var(--border); }
.product-description h2 { font-size: 28px; font-weight: 760; letter-spacing: -.05em; }
.description-text { padding: clamp(24px,5vw,54px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 14px; line-height: 2; box-shadow: var(--shadow-sm); }

.commerce-grid { grid-template-columns: minmax(0,1fr) 360px; gap: 42px; }
.summary-card { top: 24px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.summary-card h2 { font-size: 19px; font-weight: 760; }
.summary-card dl { font-size: 13px; }
.summary-card dl > div { margin-bottom: 16px; }
.summary-card .summary-total { margin-top: 24px; padding-top: 22px; }
.summary-total dt { color: var(--brand); font-weight: 700; }
.summary-total dd { color: var(--brand-strong); font-size: 24px; font-weight: 820; letter-spacing: -.04em; }
.cart-items { padding: 0 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cart-row { grid-template-columns: 112px minmax(0,1fr) auto; gap: 22px; padding: 26px 0; }
.cart-row:first-child { border-top: 0; }
.cart-row:last-of-type { border-bottom: 0; }
.cart-row > .thumb { width: 112px; height: 112px; }
.thumb { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-soft); }
.item-title { font-size: 15px; font-weight: 720; }
.cart-row-info > p { margin: 6px 0; }
.cart-row-actions input { border-color: var(--border-strong); border-radius: 9px; background: var(--canvas); }
.text-button { border-radius: 8px; color: var(--brand); text-decoration: none; font-weight: 700; }
.text-button:hover { background: var(--brand-soft); }
.row-price { font-size: 17px; font-weight: 780; }
.continue-link { margin: 4px 0 24px; color: var(--brand); font-weight: 700; }

.form-section { margin-bottom: 16px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 28px rgba(20,49,59,.045); }
.form-section:first-child { padding-top: 30px; border: 1px solid var(--border); }
.form-section h2 { margin: 0 0 24px; font-size: 20px; font-weight: 760; }
.order-product { gap: 16px; padding: 18px 0; }
.order-product strong, .order-product .item-title { font-size: 14px; font-weight: 700; }
.order-product > b { font-weight: 750; }
.buyer-info { margin: 0; font-weight: 700; }
.form-grid { gap: 18px 16px; }
.form-field { gap: 8px; margin-bottom: 2px; }
.form-field label { font-size: 12px; font-weight: 720; }
.form-field input, .form-field textarea, .form-field select { min-height: 50px; padding: 13px 15px; border-color: var(--border-strong); border-radius: 10px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(7,93,120,.08); }
.payment-method { border-radius: 12px; }
.bank-info { padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); }
.agreement { padding: 16px; border-radius: 12px; background: var(--surface-soft); }
[data-mixed-payment] { padding: 16px 18px; border-color: var(--border-strong); background: var(--surface-soft); }
[data-mixed-payment] summary { color: var(--brand); font-weight: 750; }

.my-intro { padding: 32px 34px; border: 1px solid rgba(7,93,120,.08); border-radius: var(--radius-lg); background: linear-gradient(125deg,#e3f1ef,#f8f4e7); }
.member-avatar { width: 66px; height: 66px; background: var(--surface); color: var(--brand); font-family: Arial, sans-serif; font-weight: 850; box-shadow: var(--shadow-sm); }
.my-intro h2 { font-size: 20px; font-weight: 760; }
.orders-heading { margin: 50px 0 22px; }
.orders-heading h2 { font-size: 28px; font-weight: 760; }
.history-card { padding: 28px; border-color: var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 28px rgba(20,49,59,.045); }
.history-card > header { padding-bottom: 20px; }
.history-card > header a { color: var(--brand); font-weight: 750; }
.status-badge { padding: 7px 11px; border: 1px solid rgba(7,93,120,.11); border-radius: 999px; background: var(--brand-soft); font-weight: 720; }
.history-card > footer strong { font-weight: 800; }
.info-list > div { padding: 4px 0 13px; border-bottom: 1px dashed var(--border); }
.info-list > div:last-child { border-bottom: 0; }
.completion { margin-bottom: 54px; padding: 32px 20px 40px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #e5f2ef, #fbf8ee); }
.completion > span { width: 72px; height: 72px; background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 800; }
.completion h1 { font-size: clamp(30px,4vw,42px); font-weight: 780; }
.completion > strong { border-radius: 999px; background: rgba(255,255,255,.75); }
.pagination nav { align-items: center; }
.pagination a, .pagination span { min-width: 38px; border-radius: 999px; text-align: center; }
.pagination a { background: var(--surface); border: 1px solid var(--border); }

/* Standalone connection, error and payment pages use the same visual language. */
.system-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 15% 15%, #e0efed, transparent 34%), radial-gradient(circle at 85% 85%, #f9eadf, transparent 30%), var(--canvas); }
.system-page .page-shell { width: min(680px,100%); min-height: auto; padding: 0; }
.system-page .empty-state { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.system-brand { display: flex; width: fit-content; margin: 0 auto 26px; color: var(--brand); font: 900 40px/.9 Arial,sans-serif; letter-spacing: -2.5px; }

@container (max-width: 900px) {
    .page-shell { padding-block: 36px 64px; }
    .page-heading { margin-bottom: 28px; }
    .page-heading h1 { font-size: 31px; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .detail-summary { position: static; padding: 0; }
    .detail-summary h1 { font-size: 30px; }
    .product-description { margin-top: 48px; }
    .commerce-grid { grid-template-columns: 1fr; gap: 26px; }
    .summary-card { position: static; padding: 24px; }
    .cart-items { padding-inline: 18px; }
    .cart-row { grid-template-columns: 82px minmax(0,1fr); gap: 15px; }
    .cart-row > .thumb { width: 82px; height: 82px; }
    .form-section, .form-section:first-child { padding: 24px; }
    .my-intro { padding: 25px; }
}

@container (max-width: 560px) {
    .page-shell { padding-block: 30px 52px; }
    .page-heading h1 { font-size: 28px; }
    .breadcrumbs { margin-bottom: 18px; }
    .detail-photo { border-radius: 20px; }
    .detail-summary h1 { font-size: 27px; }
    .detail-price strong { font-size: 30px; }
    .detail-facts { padding-inline: 14px; }
    .description-text { border-radius: 16px; }
    .cart-items { padding-inline: 14px; border-radius: 16px; }
    .cart-row { grid-template-columns: 72px minmax(0,1fr); }
    .cart-row > .thumb { width: 72px; height: 72px; }
    .form-section, .form-section:first-child { padding: 21px 18px; border-radius: 16px; }
    .form-section h2 { font-size: 18px; }
    .summary-card { border-radius: 16px; }
    .order-product { align-items: flex-start; }
    .my-intro { border-radius: 20px; }
    .member-avatar { width: 50px; height: 50px; }
    .orders-heading h2 { font-size: 24px; }
    .history-card { padding: 20px 17px; border-radius: 16px; }
    .empty-state { padding: 58px 18px; border-radius: 20px; }
    .system-page { padding: 16px; }
}
