.accessory-card{min-width:0;border:1px solid #d8e3ec;border-radius:20px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:12px}
.accessory-card .accessory{padding:0;border:0;background:transparent;align-items:flex-start}
.accessory-card .accessory input{flex:0 0 18px;width:18px;margin-top:3px}
.accessory-photo{display:block;width:100%;height:160px;object-fit:contain;background:white;border-radius:14px}
.accessory-option,.basket-accessory-option{display:grid;gap:7px;font-size:14px;font-weight:600;min-width:0}
.accessory-option{margin-top:auto}
.accessory-option select,.basket-accessory-option select{display:block;width:100%;max-width:100%;min-width:0;padding:11px 12px;border:1px solid #cbdce8;border-radius:14px;background:#f7fafc;color:#123b57;font:inherit;font-size:14px;font-weight:400;line-height:1.4}
.accessory-price{font-size:14px;line-height:1.5;margin:0;color:#123b57}
.order-list .order-item{grid-template-columns:28px 110px minmax(0,1fr) auto;gap:20px;padding:20px;align-items:center}
.order-list .order-item .order-product-visual{display:flex;align-items:center;justify-content:center;width:110px;height:110px;overflow:hidden;background:#fff;border:1px solid #d8e3ec;border-radius:14px}
.order-list .order-item .order-product-visual img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.order-product-details{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.basket-accessory-option{margin:12px 0}
.order-item .pivot-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.order-item .order-qty{width:64px;max-width:100%;padding:8px;border:1px solid #cbdce8;border-radius:12px}
@media(max-width:900px){.order-list .order-item{grid-template-columns:24px 90px minmax(0,1fr);gap:12px}.order-list .order-item .order-product-visual{width:90px;height:90px}.order-item .pivot-actions{grid-column:2/-1}}
@media(max-width:520px){.order-list .order-item{grid-template-columns:24px minmax(0,1fr);padding:14px}.order-list .order-item .order-product-visual{grid-column:2;width:100px;height:100px}.order-product-details{grid-column:2;grid-row:auto}.order-item .pivot-actions{grid-column:2}}

/* Keep the ordering footer inside the basket card at every width. */
#ordersView .commerce-actions{box-sizing:border-box;margin:18px 0 0;padding:20px 22px 0;gap:16px 22px;flex-wrap:wrap;align-items:flex-start}
#ordersView .commerce-actions>div:first-child{flex:1 1 420px;min-width:0;max-width:100%;line-height:1.5}
#ordersView .commerce-actions small{display:block;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
#ordersView .commerce-buttons{flex:0 1 auto;min-width:0;max-width:100%;gap:10px}
#ordersView .commerce-buttons button{flex:0 1 auto;white-space:normal;max-width:100%}
#ordersView .commerce-note{box-sizing:border-box;margin:0;padding:12px 22px 22px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;max-width:100%}
@media(max-width:720px){#ordersView .commerce-actions{padding:18px 16px 0}#ordersView .commerce-actions>div:first-child{flex:auto}#ordersView .commerce-buttons{width:100%}#ordersView .commerce-buttons button{flex:1 1 140px}#ordersView .commerce-note{padding:12px 16px 20px}}


.accessory-sizing-note{font-size:13px;line-height:1.5;color:#526a7c;margin:0}.accessory-sizing-note.review{color:#b3261e;font-weight:700}.accessory-option select:disabled{opacity:1;color:#123b57;background:#edf3f7}
