/* Professional account center: inspired by modern marketplace UX, not Daraz branding. */
.account-page{background:#f4f6f3;min-height:680px;padding:34px 4% 80px}.account-shell{max-width:1280px;margin:auto;display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;align-items:start}.account-sidebar{background:#fff;border:1px solid #e1e9e3;border-radius:18px;padding:18px;box-shadow:0 10px 28px rgba(16,55,31,.06);position:sticky;top:24px}.account-user-mini{display:flex;gap:12px;align-items:center;padding:4px 4px 18px}.account-avatar{width:42px;height:42px;border-radius:50%;background:#087f3e;color:#fff;display:grid;place-items:center;font-weight:900}.account-user-mini small{display:block;color:#87928b;font-size:11px}.account-user-mini strong{display:block;color:#183b25;font-size:14px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-sidebar>a{display:block;text-decoration:none;color:#5d6a62;font-size:13px;font-weight:650;padding:10px 11px;border-radius:9px}.account-sidebar>a:hover,.account-sidebar>a.active{background:#edf7f0;color:#087f3e}.side-divider{height:1px;background:#edf0ee;margin:13px 4px}.account-content{min-width:0}.page-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.page-top h1{margin:6px 0 8px;color:#17351f;font-size:clamp(2rem,4vw,2.8rem);line-height:1.05}.page-top p{margin:0;color:#6a756e;line-height:1.65}.account-outline-btn,.account-primary-btn,.account-secondary-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:12px 16px;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap}.account-outline-btn,.account-secondary-btn{background:#fff;border:1px solid #d7e1da;color:#355341}.account-primary-btn{background:#087f3e;color:#fff}.account-primary-btn:hover{background:#066c34}.account-primary-btn.inline{margin-top:12px}.profile-card,.review-manager,.payment-card,.wallet-grid article{background:#fff;border:1px solid #e0e8e2;border-radius:18px;box-shadow:0 10px 28px rgba(16,55,31,.05)}.profile-card{padding:28px}.profile-card-head{display:flex;align-items:center;gap:15px;padding-bottom:24px;border-bottom:1px solid #edf1ee}.large-avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#087f3e,#45a866);color:#fff;display:grid;place-items:center;font-size:24px;font-weight:900;flex:0 0 64px}.profile-card-head h2{margin:0;color:#183b25;font-size:1.3rem}.profile-card-head p{margin:4px 0 0;color:#78837d;font-size:.9rem}.profile-card-head .account-primary-btn{margin-left:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.form-grid label{display:grid;gap:8px;color:#405247;font-size:.85rem;font-weight:800}.form-grid input,.form-grid textarea{font:inherit;border:1px solid #dbe4de;border-radius:10px;padding:13px 14px;outline:none;background:#fbfcfb;color:#23352b;resize:vertical}.form-grid input:focus,.form-grid textarea:focus{border-color:#087f3e;box-shadow:0 0 0 3px rgba(8,127,62,.1)}.full-field{grid-column:1/-1}.profile-actions{display:flex;gap:10px;margin-top:20px}.account-notice{margin-bottom:16px;padding:13px 15px;border-radius:10px;font-weight:700}.account-notice.success{background:#eaf7ef;color:#176b36}.account-notice.error{background:#fff0ee;color:#a13b2c}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}.quick-grid a{background:#fff;border:1px solid #e0e8e2;border-radius:15px;padding:18px;text-decoration:none;color:#243d2d;display:grid;gap:6px;transition:.2s}.quick-grid a:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(16,55,31,.08)}.quick-grid span{font-size:1.35rem}.quick-grid small{color:#7a857f}.review-manager{padding:30px;display:flex;gap:22px;align-items:center}.review-manager-icon{width:62px;height:62px;border-radius:18px;background:#fff6df;color:#c48a20;display:grid;place-items:center;font-size:28px;flex:0 0 62px}.review-manager h2{margin:0 0 8px;color:#17351f}.review-manager p{margin:0;color:#68756d;line-height:1.7}.review-tips{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}.review-tips div{background:#fff;border:1px solid #e0e8e2;border-radius:14px;padding:18px}.review-tips b,.review-tips span{display:block}.review-tips span{margin-top:6px;color:#76817b;font-size:.88rem;line-height:1.5}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.payment-card{padding:24px}.payment-icon{font-size:30px}.payment-card h2{font-size:1.15rem;color:#183b25;margin:15px 0 8px}.payment-card p{color:#6b776f;line-height:1.65;min-height:85px}.payment-status{display:inline-flex;padding:7px 10px;border-radius:999px;background:#edf7f0;color:#087f3e;font-size:.75rem;font-weight:800}.info-callout{margin-top:18px;background:#17351f;color:#fff;border-radius:16px;padding:20px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.info-callout b{font-size:1rem}.info-callout span{color:#c9d8ce;flex:1;line-height:1.5}.info-callout a{color:#fff;font-weight:800;text-decoration:none;border:1px solid rgba(255,255,255,.25);padding:9px 12px;border-radius:9px}.wallet-card{background:linear-gradient(135deg,#17351f,#087f3e);border-radius:20px;padding:30px;color:#fff;display:flex;justify-content:space-between;align-items:center;min-height:190px;box-shadow:0 18px 40px rgba(8,127,62,.18)}.wallet-card span{font-size:.72rem;letter-spacing:.14em;opacity:.75}.wallet-card strong{display:block;font-size:3rem;margin:8px 0}.wallet-card small{display:block;color:#d3e5d9;max-width:500px;line-height:1.5}.wallet-symbol{width:90px;height:90px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;font-size:36px}.wallet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:16px}.wallet-grid article{padding:20px}.wallet-grid b{color:#183b25}.wallet-grid p{color:#6d7871;line-height:1.6}.wishlist-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.wishlist-card{background:#fff;border:1px solid #e0e8e2;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.wishlist-card img{width:100%;height:210px;object-fit:cover;background:#f1f3f1}.wishlist-card>div{padding:17px}.wishlist-card small{color:#77847b}.wishlist-card h3{margin:6px 0;color:#183b25}.wishlist-card b{color:#087f3e;font-size:1.05rem}.wishlist-actions{display:flex;gap:8px;margin-top:14px}.wishlist-actions .account-primary-btn{font-size:.78rem;padding:9px 11px}.remove-wish{border:1px solid #e1e5e2;background:#fff;border-radius:9px;padding:9px 11px;font-weight:800;color:#8b4b43;cursor:pointer}.wishlist-empty{text-align:center;background:#fff;border:1px dashed #cbd8cf;border-radius:18px;padding:70px 20px;grid-column:1/-1}.wishlist-empty>div{font-size:45px;color:#087f3e}.wishlist-empty h2{color:#183b25}.wishlist-empty p{color:#758078;margin-bottom:20px}
@media(max-width:1000px){.account-shell{grid-template-columns:200px minmax(0,1fr);gap:18px}.quick-grid{grid-template-columns:repeat(2,1fr)}.payment-grid{grid-template-columns:1fr}.wishlist-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.account-page{padding:18px 3.5% 70px}.account-shell{display:block}.account-sidebar{position:static;display:flex;overflow-x:auto;gap:5px;padding:8px;margin-bottom:15px;scrollbar-width:none}.account-sidebar::-webkit-scrollbar{display:none}.account-user-mini,.side-divider{display:none}.account-sidebar>a{white-space:nowrap;font-size:11px;padding:9px 11px}.page-top{align-items:flex-start;flex-direction:column}.account-outline-btn{width:100%}.profile-card{padding:20px}.profile-card-head{align-items:flex-start;flex-wrap:wrap}.profile-card-head .account-primary-btn{margin-left:0;width:100%}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.profile-actions{flex-direction:column}.profile-actions>*{width:100%}.review-manager{align-items:flex-start;flex-direction:column}.review-tips{grid-template-columns:1fr}.wallet-card{min-height:150px;padding:23px}.wallet-symbol{width:62px;height:62px;font-size:26px}.wishlist-grid{grid-template-columns:1fr}.wishlist-actions{flex-direction:column}.wishlist-actions>*{width:100%}}
@media(max-width:390px){.account-page{padding-left:3%;padding-right:3%}.account-sidebar>a{font-size:10px;padding:8px 9px}.quick-grid{grid-template-columns:1fr}.wallet-card strong{font-size:2.4rem}.wallet-symbol{display:none}}
@media(prefers-reduced-motion:reduce){.quick-grid a{transition:none}}

/* =========================================================
   Bagdad Address Book — marketplace-inspired layout
   Inspired by the clarity of large e-commerce account pages,
   without copying their branding or visual theme.
   ========================================================= */
.address-book-page { background: #f5f3ee; }
.address-book-page .account-shell { max-width: 1440px; }
.address-page-top { align-items: flex-end; }
.address-page-top h1 { margin-bottom: 7px; }
.address-top-actions { display:flex; align-items:center; gap:14px; white-space:nowrap; padding-bottom:7px; }
.text-action { border:0; background:transparent; color:#168b73; font:700 14px/1.2 inherit; cursor:pointer; padding:7px 0; }
.text-action:hover,.text-action:focus-visible { color:#0d624f; text-decoration:underline; }
.address-table-card { background:#fff; border:1px solid #e3e0d8; border-radius:4px; box-shadow:0 8px 24px rgba(40,44,36,.055); overflow:hidden; }
.address-card-head { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:25px 28px 19px; border-bottom:1px solid #eeeae2; }
.address-card-head h2 { margin:0; font:700 25px/1.2 "Playfair Display",serif; color:#25372e; }
.address-card-head p { margin:5px 0 0; color:#758078; font-size:12px; }
.address-count { border:1px solid #e0e5df; background:#fafbf9; border-radius:999px; padding:7px 11px; color:#627067; font-size:11px; font-weight:800; white-space:nowrap; }
.address-table-wrap { padding:0 28px; }
.address-table { width:100%; border-collapse:collapse; table-layout:fixed; }
.address-table th { background:#fafafa; color:#6a736d; font-size:11px; font-weight:700; text-align:left; padding:15px 13px; border-bottom:1px solid #e6e3dc; }
.address-table td { padding:22px 13px; border-bottom:1px solid #eeeae3; vertical-align:top; color:#344139; font-size:12px; line-height:1.55; overflow-wrap:anywhere; }
.address-table tbody tr:last-child td { border-bottom:0; }
.address-table tbody tr:hover { background:#fcfdfb; }
.address-table th:nth-child(1),.address-table td:nth-child(1){width:17%}.address-table th:nth-child(2),.address-table td:nth-child(2){width:28%}.address-table th:nth-child(3),.address-table td:nth-child(3){width:15%}.address-table th:nth-child(4),.address-table td:nth-child(4){width:14%}.address-table th:nth-child(5),.address-table td:nth-child(5){width:14%}.address-table th:nth-child(6),.address-table td:nth-child(6){width:12%}
.address-table td strong { display:block; color:#26382f; font-size:13px; }
.address-label-chip { display:inline-block; margin-top:7px; padding:3px 7px; border-radius:3px; background:#f0f4ee; color:#5e6c62; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.address-main,.address-sub { display:block; }.address-sub { margin-top:3px; color:#77827a; font-size:11px; }
.phone-link { color:#3e5147; text-decoration:none; white-space:nowrap; }.phone-link:hover { color:#12836c; text-decoration:underline; }
.default-tags { display:flex; flex-wrap:wrap; gap:5px; }.default-tags span { display:inline-flex; padding:4px 7px; border-radius:3px; background:#edf7f2; color:#13765f; font-size:9px; font-weight:800; }.default-tags em { color:#9ba29e; font-style:normal; }
.address-actions { white-space:nowrap; }.address-actions button { border:0; background:transparent; padding:5px 6px; color:#168b73; cursor:pointer; font-weight:800; font-size:11px; }.address-actions button+button { color:#a15b50; margin-left:5px; }.address-actions button:hover { text-decoration:underline; }
.address-card-foot { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:18px 28px; background:#fcfbf8; border-top:1px solid #eeeae3; color:#7a837d; font-size:11px; }
.address-card-foot .account-primary-btn { min-width:190px; }
.address-empty { text-align:center; padding:65px 20px 70px; }.address-empty[hidden] { display:none; }.empty-icon { width:54px;height:54px;border:1px solid #dce5df;border-radius:50%;display:grid;place-items:center;margin:0 auto 15px;color:#168b73;font-size:24px;background:#f7fbf8; }.address-empty h3{margin:0;color:#2e4037;font-size:19px}.address-empty p{margin:7px auto 20px;color:#7b857e;font-size:12px;max-width:420px}
.address-table-wrap.is-empty .address-table { display:none; }
.address-info-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:16px; }.address-info-grid article { display:flex; gap:12px; align-items:flex-start; padding:17px; background:#fff; border:1px solid #e4e1da; border-radius:4px; }.info-icon { width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:50%;background:#edf6f1;color:#168b73;font-weight:900; }.address-info-grid b{font-size:12px;color:#34463c}.address-info-grid p{margin:4px 0 0;font-size:10px;line-height:1.55;color:#7b857f}
.address-modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:20px; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .18s ease,visibility .18s ease; }.address-modal.open{opacity:1;visibility:visible;pointer-events:auto}.address-modal-backdrop{position:absolute;inset:0;background:rgba(21,31,26,.55)}.address-modal-box{position:relative;z-index:1;width:min(680px,100%);max-height:min(90vh,820px);overflow:auto;background:#fff;border-radius:8px;box-shadow:0 28px 80px rgba(0,0,0,.25);padding:30px}.address-modal-close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:28px;line-height:1;color:#718078;cursor:pointer}.modal-heading h2{margin:6px 0 4px;font:700 30px/1.2 "Playfair Display",serif;color:#293a31}.modal-heading p{margin:0 0 22px;color:#7b857f;font-size:11px}.address-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.address-form label{display:grid;gap:7px;font-size:11px;font-weight:800;color:#445249}.address-form input,.address-form select{width:100%;box-sizing:border-box;border:1px solid #d9e0db;border-radius:5px;background:#fff;padding:12px 13px;font:inherit;font-weight:500;color:#2e3e36;outline:none}.address-form input:focus,.address-form select:focus{border-color:#168b73;box-shadow:0 0 0 3px rgba(22,139,115,.1)}.address-full{grid-column:1/-1}.address-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;font-weight:600!important}.address-check input{width:16px;height:16px;accent-color:#168b73}.address-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eeeae3;padding-top:18px;margin-top:3px}.address-form-actions button{min-width:125px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:1100px){.address-page-top{align-items:flex-start}.address-top-actions{white-space:normal}.address-table-wrap{padding:0 18px}.address-card-head,.address-card-foot{padding-left:18px;padding-right:18px}.address-table th,.address-table td{padding-left:8px;padding-right:8px}.address-table th:nth-child(1),.address-table td:nth-child(1){width:15%}.address-table th:nth-child(2),.address-table td:nth-child(2){width:27%}.address-table th:nth-child(3),.address-table td:nth-child(3){width:15%}.address-table th:nth-child(4),.address-table td:nth-child(4){width:15%}.address-table th:nth-child(5),.address-table td:nth-child(5){width:13%}.address-table th:nth-child(6),.address-table td:nth-child(6){width:15%}}
@media (max-width:850px){.address-page-top{display:block}.address-top-actions{margin-top:16px;padding-bottom:0}.address-info-grid{grid-template-columns:1fr}.address-table-card{border-radius:6px}.address-table-wrap{padding:0 14px}.address-table{table-layout:auto}.address-table thead{display:none}.address-table,.address-table tbody,.address-table tr,.address-table td{display:block;width:auto}.address-table tbody tr{position:relative;padding:16px 0;border-bottom:1px solid #e8e5de}.address-table tbody tr:last-child{border-bottom:0}.address-table td{display:grid;grid-template-columns:135px minmax(0,1fr);gap:12px;padding:8px 8px;border:0;font-size:12px}.address-table td::before{content:attr(data-label);font-weight:800;color:#7a837d;font-size:10px;text-transform:uppercase;letter-spacing:.03em}.address-table td.address-actions{display:flex;justify-content:flex-end;padding-top:4px}.address-table td.address-actions::before{display:none}.address-card-foot{align-items:stretch;flex-direction:column}.address-card-foot .account-primary-btn{width:100%}.address-modal-box{padding:24px 20px}.address-form{grid-template-columns:1fr}.address-full{grid-column:auto}.address-form-actions{grid-column:auto}.address-form-actions button{flex:1}}
@media (max-width:520px){.address-top-actions{display:grid;grid-template-columns:1fr;gap:6px}.address-top-actions span{display:none}.text-action{text-align:left}.address-card-head{align-items:flex-start;flex-direction:column}.address-table td{grid-template-columns:105px minmax(0,1fr);padding-left:3px;padding-right:3px}.address-table td::before{font-size:9px}.address-card-foot{font-size:10px}.address-modal{padding:10px}.address-modal-box{max-height:94vh;padding:22px 16px}.modal-heading h2{font-size:26px}.address-form-actions{flex-direction:column-reverse}.address-form-actions button{width:100%}}
