#shop-section .shop-purchase-dialog.shop-custom-equipment-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overflow-y: auto; }
#shop-section .shop-custom-equipment-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#shop-section .shop-custom-equipment-dialog header button { width: 36px; height: 36px; font-size: 24px; padding: 0; }
#shop-section .shop-custom-equipment-dialog .shop-custom-search { display: grid; gap: 6px; font-size: 14px; }
#shop-section .shop-custom-equipment-dialog .shop-custom-search input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #c9c5be; border-radius: 4px; background: #fff; }
#shop-section .shop-custom-equipment-dialog .shop-custom-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; max-height: 220px; overflow-y: auto; margin-top: 12px; }
#shop-section .shop-custom-equipment-dialog .shop-custom-options button { display: grid; gap: 6px; min-height: 58px; text-align: left; padding: 10px; border: 1px solid #ccc9c2; border-radius: 4px; background: #fff; color: #383439; overflow-wrap: anywhere; }
#shop-section .shop-custom-equipment-dialog .shop-custom-options button[aria-checked=true] { border-color: #487568; background: #e9f3ed; box-shadow: inset 0 0 0 1px #487568; }
#shop-section .shop-custom-equipment-dialog .shop-custom-options small { color: #68676b; }
#shop-section .shop-custom-message { font-size: 14px; color: #80543a; }
#shop-section .shop-custom-message:empty { display: none; }
#shop-section .shop-custom-quote { border-top: 1px solid #d6d1c7; margin-top: 18px; padding-top: 8px; }
#shop-section .shop-custom-quote dl { display: grid; gap: 10px; margin: 16px 0; }
#shop-section .shop-custom-quote dl div { display: flex; justify-content: space-between; gap: 16px; }
#shop-section .shop-custom-quote dd { margin: 0; font-variant-numeric: tabular-nums; }
#shop-section .shop-custom-quote .shop-custom-total { border-top: 1px solid #d6d1c7; padding-top: 12px; font-weight: 700; }
#shop-section .shop-custom-quote p { font-size: 13px; color: #486a5f; }
#shop-section .shop-custom-equipment-dialog footer { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
#shop-section .shop-custom-equipment-dialog button:disabled { opacity: .5; cursor: not-allowed; }
@media(max-width: 520px) { #shop-section .shop-custom-equipment-dialog .shop-custom-options { grid-template-columns: repeat(2,minmax(0,1fr)); } #shop-section .shop-purchase-dialog.shop-custom-equipment-dialog { padding: 16px; } }
