.address-main { padding-top: 20px; }
.address-heading { display: flex; align-items: flex-start; gap: 12px; }
.address-heading h1 { font-size: clamp(22px, 6vw, 29px); }.address-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.heading-icon { display: grid; flex: none; place-items: center; width: 43px; height: 43px; border-radius: 50%; color: #fff; background: #8000b8; }
.address-notice { margin: 16px 0; padding: 10px 12px; border-radius: 10px; color: #5e3975; background: #f7effc; font-size: 12px; line-height: 1.4; }
.address-list { display: grid; gap: 12px; }.address-card { position: relative; display: flex; gap: 12px; min-width: 0; padding: 16px 12px; border: 1px solid #e4dfea; border-radius: 14px; background: #fff; box-shadow: 0 2px 6px #26003c10; }
.address-card.is-default { border-color: #e4d0f2; background: #f5ebfc; }.address-card > svg { flex: none; width: 25px; height: 25px; margin-top: 3px; color: #7800a8; }
.address-content { flex: 1; min-width: 0; }.address-card h2 { margin: 0 0 5px; font-size: 16px; overflow-wrap: anywhere; }.address-card p { margin: 0; color: #453b4b; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.default-badge { display: inline-block; margin-bottom: 5px; padding: 4px 8px; border-radius: 20px; color: #fff; background: #8100b5; font-size: 11px; font-weight: 700; }
.address-menu { position: relative; flex: none; }.address-menu summary { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; list-style: none; font-size: 24px; cursor: pointer; }.address-menu summary::-webkit-details-marker { display: none; }
.menu-options { position: absolute; z-index: 3; top: 38px; right: 0; width: 180px; padding: 5px; border: 1px solid #e4dfea; border-radius: 10px; background: #fff; box-shadow: 0 6px 20px #26003c24; }.menu-options button { width: 100%; min-height: 42px; padding: 8px; border: 0; border-radius: 6px; color: #211429; background: transparent; text-align: left; }.menu-options button:hover, .menu-options button:focus-visible { background: #f7effc; }.menu-options .danger { color: #cf2929; }
.use-address { min-height: 40px; margin-top: 8px; padding: 6px 10px; border: 1px solid #8000b8; border-radius: 9px; color: #70009b; background: white; font-weight: 700; }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 42px 12px; color: #67596c; text-align: center; }.empty-state svg { width: 42px; height: 42px; color: #8500b6; }.empty-state p { margin: 0; font-size: 13px; }
.address-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 10px; border: 0; border-radius: 15px; color: #fff; background: linear-gradient(110deg, #9200c2, #5c008d); box-shadow: 0 3px 8px #60008d2b; font-weight: 700; text-align: center; }
.add-address { margin-top: 22px; }.return-checkout { display: block; padding: 18px; color: #70009b; font-weight: 700; text-align: center; }
#address-form { display: grid; gap: 12px; }.address-field { display: grid; gap: 5px; min-width: 0; font-size: 13px; font-weight: 700; }.address-field b { color: #c52e36; }.address-field small { color: #6b6170; font-size: 11px; font-weight: 400; line-height: 1.3; }
.address-field input, .address-field select, .address-field textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #d6cfdd; border-radius: 11px; color: #201728; background: #fff; font: inherit; font-size: 16px; font-weight: 400; }.address-field textarea { resize: vertical; }.address-field input:focus, .address-field select:focus, .address-field textarea:focus { outline: 2px solid #bb83d5; border-color: #8000b8; }
.default-toggle { display: flex; align-items: center; gap: 12px; min-height: 50px; font-size: 14px; font-weight: 700; }.default-toggle > span:first-child { flex: 1; }.default-toggle input { position: absolute; opacity: 0; }.switch { position: relative; flex: none; width: 48px; height: 27px; border-radius: 20px; background: #b7adbc; }.switch::after { position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; content: ''; transition: transform .15s; }.default-toggle input:checked + .switch { background: #8000b8; }.default-toggle input:checked + .switch::after { transform: translateX(21px); }.default-toggle input:focus-visible + .switch { outline: 3px solid #b97bd7; outline-offset: 3px; }
.address-actions { display: flex; gap: 10px; }.address-actions .address-primary { flex: 1; }.address-delete { min-width: 110px; min-height: 50px; border: 1px solid #de3333; border-radius: 15px; color: #cf2525; background: #fff; font-weight: 700; }.address-feedback { margin: 0; color: #b12030; font-size: 13px; line-height: 1.4; }.address-feedback:empty { display: none; }
.dialog-buttons { display: flex; gap: 10px; }.dialog-buttons button { flex: 1; min-height: 46px; border: 1px solid #d7cbdc; border-radius: 10px; background: #fff; font-weight: 700; }.dialog-buttons #confirm-delete { border-color: #ce2929; color: #fff; background: #ce2929; }
@media (max-width: 340px) { .address-main { padding-right: 12px; padding-left: 12px; }.address-card { gap: 8px; }.address-delete { min-width: 92px; } }
