/* Baqet Ward account portal — scoped to account page only */
.bw-auth, .bw-account-page { --bw-pink:#c77589; --bw-deep:#9b4962; --bw-pale:#fff3f5; --bw-ink:#4c3440; box-sizing:border-box; direction:rtl; }
.bw-auth *, .bw-account-page * { box-sizing:border-box; }
.bw-auth { width:min(100%, 780px); margin:24px auto 45px; padding:22px 15px 24px; background:linear-gradient(145deg,#fff7f8,#ffeaf0); border:1px solid #f2dbe1; border-radius:28px; color:var(--bw-ink); font-family:inherit; }
.bw-auth__heading { text-align:center; padding-bottom:20px; }
.bw-auth__logo { width:94px; height:94px; object-fit:cover; border-radius:50%; display:block; margin:0 auto 8px; box-shadow:0 9px 26px rgba(184,93,104,.15); }
.bw-auth__heading h1 { color:var(--bw-deep); font-size:clamp(21px, 3vw, 29px); margin:5px 0 4px; line-height:1.45; }
.bw-auth__heading p, .bw-auth__footer { font-size:13px; color:#986b79; margin:0; }
.bw-auth__footer { text-align:center; margin-top:17px; }
.bw-auth__card { background:#fff; max-width:600px; margin:0 auto; padding:clamp(17px,3vw,29px); box-shadow:0 14px 45px rgba(116,53,76,.09); border:1px solid #f2e1e5; border-radius:22px; }
.bw-auth__tabs { display:flex; gap:7px; padding:5px; background:#fff1f4; border-radius:13px; margin-bottom:23px; }
.bw-auth__tabs button.bw-auth__tab { flex:1; min-width:0; margin:0; font-family:inherit; border:0; background:transparent; color:#815465; font-size:14px; font-weight:700; padding:13px 8px; border-radius:10px; cursor:pointer; transition:background .2s,color .2s; }
.bw-auth__tabs button.bw-auth__tab.is-active { background:#fff; color:var(--bw-deep); box-shadow:0 2px 12px rgba(166,66,94,.1); }
.bw-auth__pane[hidden], .bw-auth__otp[hidden] { display:none !important; }
.bw-auth__form { display:flex; flex-direction:column; gap:9px; margin:0; }
.bw-auth__form label:not(.bw-auth__consent):not(.bw-auth__remember) { display:block; font-size:13px; font-weight:700; color:#6f4a57; margin:4px 0 0; }
.bw-auth__form input:not([type="checkbox"]) { width:100%; min-width:0; height:47px; font-family:inherit; font-size:15px; color:#4d3840; background:#fff; border:1px solid #e8d6db; border-radius:11px; padding:10px 13px; margin:0; box-shadow:none; }
.bw-auth__form input:focus { border-color:var(--bw-pink); outline:2px solid rgba(199,117,137,.15); outline-offset:0; }
.bw-auth__fields-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.bw-auth__fields-two > div { min-width:0; }
.bw-auth__email-row { display:flex; gap:8px; align-items:stretch; min-width:0; }
.bw-auth__email-row input { flex:1; }
.bw-auth__email-row .bw-auth__outline { flex-shrink:0; white-space:nowrap; padding:0 12px; background:#fff1f4; color:var(--bw-deep); border:1px solid #efcbd4; font-family:inherit; border-radius:10px; font-size:12px; font-weight:700; cursor:pointer; }
.bw-auth__email-row .bw-auth__outline:disabled { opacity:.6; cursor:not-allowed; }
.bw-auth__inline { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:6px 0 12px; }
.bw-auth__remember, .bw-auth__consent { display:flex; gap:7px; align-items:center; font-size:12px; color:#6f4a57; }
.bw-auth__inline a, .bw-auth__consent a { color:var(--bw-deep); text-decoration:none; }
.bw-auth__inline a:hover, .bw-auth__consent a:hover { text-decoration:underline; }
.bw-auth__remember input[type=checkbox], .bw-auth__consent input[type=checkbox] { width:16px; height:16px; accent-color:var(--bw-pink); margin:0; }
.bw-auth__consent { margin:9px 0; }
.bw-auth__primary { display:block; width:100%; font-family:inherit; font-size:15px; font-weight:800; background:linear-gradient(125deg,#bd697d,#d78b9b); border:0; border-radius:12px; color:#fff; cursor:pointer; padding:15px; text-align:center; margin-top:7px; }
.bw-auth__primary:hover { background:#ac5b70; color:#fff; }
.bw-auth__primary:disabled { opacity:.62; cursor:wait; }
.bw-auth__hint { margin:-4px 0 4px; font-size:11px; line-height:1.6; color:#946e79; }
.bw-auth__feedback { font-size:12px; line-height:1.7; min-height:0; }
.bw-auth__feedback.is-error { color:#b42340; padding:8px; border-radius:7px; background:#fff1f2; }
.bw-auth__feedback.is-success { color:#1d7d4c; padding:8px; border-radius:7px; background:#eef9f2; }
.bw-auth__otp { border:1px solid #f0d6dc; border-radius:11px; padding:12px; background:#fff9fa; }
.bw-auth__otp #bw_code { text-align:center; direction:ltr; letter-spacing:.4em; font-size:22px; font-weight:800; }
/* Native WooCommerce account, so the original order/address/payment endpoints remain functional */
.bw-account-page { padding:20px; margin:24px auto; background:#fff9fa; border:1px solid #f2dfe4; border-radius:22px; color:var(--bw-ink); max-width:1180px; }
.bw-account-page .woocommerce-MyAccount-navigation { background:#fff; border:1px solid #f4e1e5; border-radius:15px; padding:12px; }
.bw-account-page .woocommerce-MyAccount-navigation ul { list-style:none; margin:0; padding:0; }
.bw-account-page .woocommerce-MyAccount-navigation li { margin:3px 0; border:0; }
.bw-account-page .woocommerce-MyAccount-navigation li a { display:block; border-radius:9px; padding:11px 12px; color:#7b4a5a; font-weight:700; font-size:13px; text-decoration:none; }
.bw-account-page .woocommerce-MyAccount-navigation li.is-active a, .bw-account-page .woocommerce-MyAccount-navigation li a:hover { background:#fce9ee; color:var(--bw-deep); }
.bw-account-page .woocommerce-MyAccount-content { background:#fff; padding:clamp(12px,3vw,26px); border-radius:15px; border:1px solid #f4e1e5; min-width:0; }
.bw-account-page .woocommerce-MyAccount-content a { color:var(--bw-deep); }
.bw-account-page input, .bw-account-page select, .bw-account-page textarea { max-width:100%; border-radius:9px; }
.bw-account-page .button, .bw-account-page button.button { border-radius:10px; background:#c77589; color:#fff; padding:10px 14px; }
.bw-dashboard__hero { display:flex; align-items:center; gap:14px; background:linear-gradient(110deg,#fff0f4,#fff9fa); border-radius:16px; padding:18px; margin-bottom:16px; }
.bw-dashboard__avatar { background:#fff; width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:27px; flex:0 0 56px; }
.bw-dashboard__hero h2 { color:var(--bw-deep); font-size:19px; margin:0 0 4px; }
.bw-dashboard__hero p { margin:0; font-size:12px; color:#886b75; }
.bw-dashboard__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; margin:14px 0; }
.bw-dashboard__card { display:flex; flex-direction:column; gap:5px; align-items:flex-start; min-width:0; background:#fff9fa; border:1px solid #f3e0e4; border-radius:13px; padding:15px; text-decoration:none !important; transition:border .2s,transform .2s; }
.bw-dashboard__card:hover { border-color:#d691a3; transform:translateY(-1px); }
.bw-dashboard__card > span { font-size:23px; line-height:1.3; }
.bw-dashboard__card strong { color:#733d52; font-size:14px; }
.bw-dashboard__card small { color:#9d7380; font-size:11px; line-height:1.5; }
.bw-track-order h2 { font-size:20px; color:var(--bw-deep); }
@media (max-width:650px) {
  .bw-auth { margin:10px auto 24px; padding:16px 9px; border-radius:20px; }
  .bw-auth__card { padding:16px 12px; border-radius:17px; }
  .bw-auth__fields-two { gap:7px; }
  .bw-auth__email-row .bw-auth__outline { font-size:11px; padding:0 8px; }
  .bw-auth__email-row input { font-size:13px; }
  .bw-auth__tabs button.bw-auth__tab { font-size:13px; padding:11px 5px; }
  .bw-account-page { padding:10px; border-radius:15px; margin:8px auto 16px; }
  .bw-account-page .woocommerce-MyAccount-navigation, .bw-account-page .woocommerce-MyAccount-content { float:none; width:100%; margin:0 0 12px; }
  .bw-account-page .woocommerce-MyAccount-navigation ul { display:flex; gap:7px; overflow-x:auto; scrollbar-width:thin; padding:3px 0; }
  .bw-account-page .woocommerce-MyAccount-navigation li { flex:0 0 auto; }
  .bw-account-page .woocommerce-MyAccount-navigation li a { white-space:nowrap; font-size:12px; padding:9px 10px; }
  .bw-dashboard__grid { gap:8px; }
  .bw-dashboard__card { padding:10px; }
  .bw-dashboard__card strong { font-size:12px; }
  .bw-dashboard__card small { font-size:10px; }
}
.bw-delete-account { border:1px solid #f4d5de; padding:18px; background:#fff9fa; border-radius:14px; }
.bw-delete-account h2 { color:#a34860; margin-top:0; }
.bw-delete-account form { display:flex; flex-direction:column; max-width:460px; gap:10px; }
.bw-delete-account input[type=password] { max-width:100%; padding:12px; }
.bw-delete-account__confirm { display:flex; align-items:start; gap:9px; font-size:13px; }
.bw-delete-account__confirm input { margin-top:5px; }
.bw-account-page .bw-delete-account button.button { width:max-content; background:#ac3e5d; }

/* v2 - account subpages styled consistently, no wp-admin access required */
.bw-account-page { overflow-wrap:anywhere; }
.bw-account-page .woocommerce-MyAccount-content { overflow-x:auto; }
.bw-account-page .woocommerce-MyAccount-navigation ul { display:flex; flex-direction:column; gap:4px; }
.bw-account-page .woocommerce-MyAccount-navigation li { width:100%; }
.bw-account-page .woocommerce-MyAccount-content h2,
.bw-account-page .woocommerce-MyAccount-content h3 { color:#974f65; line-height:1.45; }
.bw-account-page .woocommerce-MyAccount-content p { line-height:1.75; }
.bw-account-page .woocommerce-MyAccount-content .woocommerce-Address { background:#fffafa; border:1px solid #f4e1e5; border-radius:14px; padding:16px; margin-bottom:12px; }
.bw-account-page .woocommerce-MyAccount-content .woocommerce-Address-title { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.bw-account-page .woocommerce-MyAccount-content .woocommerce-Address-title h2 { margin:0; font-size:18px; }
.bw-account-page .woocommerce-MyAccount-content .woocommerce-Address-title a { font-weight:800; }
.bw-account-page .woocommerce-MyAccount-content .woocommerce-EditAccountForm,
.bw-account-page .woocommerce-MyAccount-content .woocommerce-address-fields { background:#fffafa; border-radius:14px; padding:14px; }
.bw-account-page .woocommerce-MyAccount-content .woocommerce-form-row input,
.bw-account-page .woocommerce-MyAccount-content .form-row input,
.bw-account-page .woocommerce-MyAccount-content .form-row select { background:#fff; border:1px solid #e8d6db; min-height:42px; padding:9px; }
.bw-account-page .woocommerce-MyAccount-content button.button,
.bw-account-page .woocommerce-MyAccount-content a.button,
.bw-account-page .woocommerce-MyAccount-content .button { display:inline-flex; align-items:center; justify-content:center; background:#bb657a!important; color:white!important; padding:10px 15px!important; border-radius:10px!important; border:0!important; text-decoration:none!important; }
.bw-account-page table.shop_table,
.bw-account-page table.woocommerce-table,
.bw-account-page table.woocommerce-orders-table { width:100%; max-width:100%; border-collapse:separate; border-spacing:0; border-radius:12px; overflow:hidden; border:1px solid #f2dfe4; }
.bw-account-page table.shop_table th,
.bw-account-page table.shop_table td { padding:10px 9px; }
.bw-account-page table.shop_table th { background:#fff2f5; color:#8d4c61; }
.bw-account-section-intro { padding:12px 14px; background:#fff3f6; border:1px solid #f4dce3; border-radius:14px; margin-bottom:16px; }
.bw-account-section-intro h2 { margin:0 0 6px; font-size:20px; }
.bw-account-section-intro p { margin:0; font-size:13px; color:#815f6c; }
.bw-track-order > h2 { font-size:21px; margin:0 0 8px; }
.bw-track-order__list { display:grid; grid-template-columns:1fr; gap:9px; margin:18px 0; }
.bw-track-order__entry { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:12px; background:#fff9fa; border:1px solid #f1dfe4; border-radius:12px; padding:12px; }
.bw-track-order__entry strong, .bw-track-order__entry small { display:block; }
.bw-track-order__entry strong { color:#754556; }
.bw-track-order__entry small { color:#967b83; font-size:11px; }
.bw-track-order__state { background:#fff0f3; color:#96485f; border-radius:30px; padding:5px 8px; font-size:12px; font-weight:800; }
.bw-track-order__entry a { text-decoration:none; font-size:12px; font-weight:800; color:#a34d66; }
.bw-track-order__lookup { margin-top:25px; border-top:1px solid #f2dfe4; padding-top:18px; }
.bw-track-order__lookup h3 { font-size:18px; }
.bw-track-order__empty { border:1px dashed #f3ccd5; border-radius:12px; padding:18px; }
.bw-delete-account { background:#fffafa; }
.bw-delete-account__form { display:flex; flex-direction:column; gap:10px; max-width:520px; margin-top:16px; }
.bw-delete-account__form > input { min-height:42px; background:#fff; border:1px solid #edcad4; padding:10px; border-radius:10px; }
.bw-delete-account__form > label:not(.bw-delete-account__confirm) { font-weight:800; }
.bw-delete-account__form .bw-delete-account__button { align-self:flex-start; background:#a83958!important; }
.bw-auth__deleted { background:#e9f9ef; color:#226942; border:1px solid #bfe8ca; border-radius:12px; padding:12px; margin:0 auto 15px; max-width:600px; text-align:center; }
@media(max-width:650px) {
 .bw-account-page .woocommerce-MyAccount-navigation ul { flex-direction:row; width:100%; }
 .bw-account-page .woocommerce-MyAccount-navigation li { width:auto; }
 .bw-account-page .woocommerce-MyAccount-content { overflow-x:auto; }
 .bw-track-order__entry { grid-template-columns:minmax(0,1fr) auto; }
 .bw-track-order__entry a { grid-column:1/-1; }
 .bw-delete-account__form .bw-delete-account__button { align-self:stretch; }
}

/* v2.1 — Safer branded order history, live tracking and visible password eye */
.bw-password-field { position:relative; display:block; width:100%; min-width:0; }
.bw-password-field > input { width:100%!important; padding-inline-end:50px!important; box-sizing:border-box; }
.bw-auth .bw-password-toggle, .bw-account-page .bw-password-toggle {
  position:absolute!important; inset-inline-end:5px; top:50%; transform:translateY(-50%);
  z-index:3; width:40px!important; height:40px!important; min-height:40px!important; min-width:40px!important;
  display:inline-flex!important; align-items:center; justify-content:center; cursor:pointer;
  color:#9c6377!important; background:transparent!important; border:0!important;
  box-shadow:none!important; border-radius:10px!important; padding:7px!important;
}
.bw-password-toggle svg { width:22px; height:22px; display:block; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.bw-password-toggle:focus-visible { outline:2px solid #bd748c; outline-offset:1px; }
.bw-account-page .password-input .show-password-input { cursor:pointer; }
.bw-orders { direction:rtl; color:#513643; }
.bw-orders__head { display:flex; align-items:center; justify-content:space-between; gap:16px; background:linear-gradient(115deg,#fff0f4,#fffafa); border:1px solid #f4dfe5; border-radius:20px; padding:19px; margin-bottom:17px; }
.bw-orders__eyebrow { display:block; color:#b35f79; font-size:12px; font-weight:800; margin-bottom:5px; }
.bw-orders__head h2 { margin:0 0 4px!important; font-size:clamp(20px,3vw,27px); color:#904660; }
.bw-orders__head p { margin:0!important; color:#936d7a; font-size:12px; }
.bw-orders__total { flex:0 0 auto; padding:8px 13px; background:#fff; border:1px solid #efdce2; border-radius:99px; font-size:12px; font-weight:800; color:#a45870; }
.bw-orders__list { display:grid; grid-template-columns:1fr; gap:13px; }
.bw-orders__card { overflow:hidden; background:#fff; border:1px solid #efdae0; border-radius:17px; box-shadow:0 7px 26px rgba(91,37,55,.05); }
.bw-orders__top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 17px; background:#fffafb; border-bottom:1px solid #f6e8ec; }
.bw-orders__identity { display:flex; align-items:center; gap:10px; min-width:0; }
.bw-orders__box-icon { display:flex; justify-content:center; align-items:center; width:42px; height:42px; border-radius:13px; background:#ffedf2; flex:0 0 42px; font-size:21px; }
.bw-orders__identity strong,.bw-orders__identity small { display:block; }
.bw-orders__identity strong { color:#603849; font-size:15px; }
.bw-orders__identity small { font-size:11px; color:#9e7b87; margin-top:2px; }
.bw-orders__status { display:inline-flex; align-items:center; justify-content:center; padding:6px 10px; border-radius:30px; white-space:nowrap; font-size:11px; font-weight:800; background:#f5edf3; color:#9c607d; }
.bw-orders__status--completed { background:#e5f8ea; color:#217945; }
.bw-orders__status--processing { background:#e7f3ff; color:#25669b; }
.bw-orders__status--pending,.bw-orders__status--on-hold { background:#fff3db; color:#98621d; }
.bw-orders__status--cancelled,.bw-orders__status--failed { background:#fff0f0; color:#b94051; }
.bw-orders__products { display:grid; gap:9px; padding:15px 17px; }
.bw-orders__product { display:flex; gap:10px; align-items:center; min-width:0; }
.bw-orders__thumb { width:52px; height:52px; border-radius:10px; background:#fff3f6; flex:0 0 52px; overflow:hidden; }
.bw-orders__thumb img { display:block!important; width:100%!important; height:100%!important; object-fit:cover!important; border-radius:0!important; }
.bw-orders__product-info { min-width:0; flex:1; }
.bw-orders__product-info strong { display:block; color:#664050; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.bw-orders__product-info small { display:block; color:#987780; font-size:11px; margin-top:3px; }
.bw-orders__more { font-size:11px; color:#936a77; }
.bw-orders__footer { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:13px 17px; background:#fffbfc; border-top:1px solid #f6e8ec; }
.bw-orders__price small,.bw-orders__price strong { display:block; }
.bw-orders__price small { color:#947b83; font-size:11px; }
.bw-orders__price strong { color:#a54b67; font-size:18px; }
.bw-orders__actions { display:flex; gap:7px; flex-wrap:wrap; }
.bw-account-page .bw-orders__button,.bw-account-page .bw-orders__actions .bw-orders__button { min-height:38px; display:inline-flex; align-items:center; justify-content:center; padding:9px 12px!important; border-radius:10px!important; background:#bd6f83!important; color:#fff!important; text-decoration:none!important; font-size:12px; font-weight:800; line-height:1.25; border:1px solid #bd6f83!important; white-space:nowrap; }
.bw-account-page .bw-orders__button--soft { background:#fff2f6!important; color:#9d4d66!important; border-color:#f0cfda!important; }
.bw-orders__pagination { display:flex; justify-content:center; align-items:center; gap:15px; margin-top:18px; font-size:12px; color:#996b79; }
.bw-orders__pagination a { display:inline-flex; border:1px solid #edc9d3; color:#94516a!important; border-radius:9px; background:#fff4f6; padding:8px 13px; text-decoration:none; }
.bw-orders__empty { padding:38px 16px; border-radius:16px; border:1px dashed #e8cbd2; background:#fffafb; display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; }
.bw-orders__empty > span { font-size:42px; }.bw-orders__empty h3 { margin:0; }.bw-orders__empty p { margin:0 0 10px; font-size:12px; color:#896d78; }
.bw-orders__note { color:#9a8088; font-size:11px; line-height:1.7; margin:15px 0 0; }
@media(max-width:650px) {
 .bw-orders__head { padding:13px; gap:8px; border-radius:14px; }
 .bw-orders__head p { font-size:11px; }
 .bw-orders__total { font-size:10px; padding:6px 9px; }
 .bw-orders__top { padding:11px; gap:7px; }
 .bw-orders__box-icon { width:36px; height:36px; flex-basis:36px; }
 .bw-orders__identity strong { font-size:13px; }
 .bw-orders__status { font-size:10px; padding:5px 7px; }
 .bw-orders__products { padding:11px; }
 .bw-orders__footer { padding:11px; }
 .bw-orders__actions { width:100%; display:grid; grid-template-columns:1fr 1fr; }
 .bw-account-page .bw-orders__button { font-size:11px; padding:8px 5px!important; min-width:0; }
 .bw-orders__price strong { font-size:16px; }
}

/* Baqet Ward 2.2 — Private branded detail view, customer delivery status and direct POST tracking */
.bw-account-page .bw-orders__trackform{margin:0;display:inline-flex;align-items:stretch;min-width:0}
.bw-account-page .bw-orders__trackform .bw-orders__button{cursor:pointer;font-family:inherit;white-space:normal;text-align:center}
.bw-orders__status--pending{background:#fff0df;color:#936527}
.bw-orders__status--preparing{background:#f3eaff;color:#7e529b}
.bw-orders__status--onway{background:#e5f4ff;color:#22629b}
.bw-orders__status--delivered{background:#e6f9ef;color:#287d52}
.bw-orders__status--cancelled{background:#fff0f1;color:#a94559}
.bw-orders__status--unknown{background:#fff5e7;color:#99682a}
.bw-orders__status--custom{background:#fcebf1;color:#95445d}
.bw-detail{direction:rtl;color:#563b48;max-width:100%;min-width:0}
.bw-detail__hero{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:21px;border:1px solid #efd5dd;border-radius:19px;background:linear-gradient(120deg,#ffedf2,#fffafb);margin-bottom:13px}
.bw-detail__eyebrow{display:block;font-size:11px;color:#a65372;font-weight:800;margin:13px 0 3px}
.bw-detail__hero h2{margin:0 0 5px;font-size:clamp(22px,3vw,29px);color:#994960}
.bw-detail__hero p{margin:0;font-size:12px;color:#967480}
.bw-detail__back{font-size:12px;color:#974a61!important;font-weight:700;text-decoration:none!important}
.bw-detail__quicktrack{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:15px 18px;border:1px solid #f0dce2;background:#fff8fa;border-radius:15px;margin-bottom:16px}
.bw-detail__quicktrack strong,.bw-detail__quicktrack small{display:block}
.bw-detail__quicktrack strong{color:#8d425a;font-size:14px}.bw-detail__quicktrack small{font-size:11px;color:#987b85;margin-top:4px}
.bw-detail__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bw-detail__panel{border-radius:17px;border:1px solid #f0dfe4;background:#fff;padding:18px;min-width:0;overflow-wrap:anywhere}
.bw-detail__panel--wide{grid-column:1 / -1}
.bw-detail__heading{display:flex;align-items:center;gap:9px;font-size:16px!important;color:#8d445b!important;margin:0 0 13px!important;padding-bottom:11px;border-bottom:1px solid #f5e7eb}
.bw-detail__heading span{font-size:18px}.bw-detail__product{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #f6e7eb}
.bw-detail__product:last-child{border-bottom:0}
.bw-detail__image{display:block;width:85px;height:85px;flex:0 0 85px;border-radius:12px;overflow:hidden;background:#fff4f7}
.bw-detail__image img{height:100%!important;width:100%!important;object-fit:cover!important;display:block!important;border-radius:0!important}
.bw-detail__product-main{flex:1;min-width:0}.bw-detail__product-main h4{color:#653747;font-size:15px;line-height:1.6;margin:0 0 7px}
.bw-detail__product-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:#997484;font-size:12px}
.bw-detail__item-options{margin-top:11px;padding:11px 12px;border-radius:11px;background:#fff6f8;border:1px solid #f8e7eb}
.bw-detail__item-options>strong{display:block;color:#984e64;font-size:12px;margin-bottom:5px}
.bw-detail__item-options .wc-item-meta{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.bw-detail__item-options .wc-item-meta li{display:flex;gap:7px;flex-wrap:wrap;align-items:baseline;font-size:12px;line-height:1.6}
.bw-detail__item-options .wc-item-meta li strong{color:#875164}.bw-detail__item-options .wc-item-meta p{display:inline;margin:0;white-space:pre-wrap}
.bw-detail__address{background:#fff7f9;border-radius:11px;padding:12px;color:#5a4750;font-size:13px;line-height:1.8;margin:0 0 12px}
.bw-detail__data-row,.bw-detail__totalrow{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #f6eaf0;font-size:12px;line-height:1.6}
.bw-detail__data-row:last-child,.bw-detail__totalrow:last-child{border-bottom:0}
.bw-detail__data-row>span,.bw-detail__totalrow>span{color:#947683}.bw-detail__data-row>strong,.bw-detail__totalrow>strong{color:#633d4c;max-width:65%;text-align:left;overflow-wrap:anywhere}
.bw-detail__totalrow:last-of-type strong{font-size:17px;color:#a44d68}
.bw-detail__note{margin-top:13px;padding:12px;border:1px solid #f2e0e6;border-radius:11px;background:#fff9fa}
.bw-detail__note strong{font-size:12px;color:#92506a}.bw-detail__note p{font-size:12px;color:#66515c;line-height:1.8;margin:5px 0 0}
.bw-detail__missing{padding:26px 15px;text-align:center;border:1px dashed #eac2cf;border-radius:16px;background:#fffafa}.bw-detail__missing h2{font-size:20px;color:#90415a}.bw-detail__missing p{font-size:12px}
@media(max-width:700px){
 .bw-detail__grid{grid-template-columns:1fr;gap:10px}.bw-detail__panel{padding:13px}.bw-detail__panel--wide{grid-column:auto}
 .bw-detail__hero{padding:14px}.bw-detail__quicktrack{padding:12px}
 .bw-detail__image{width:65px;height:65px;flex-basis:65px}.bw-detail__product-main h4{font-size:13px}
 .bw-orders__actions .bw-orders__trackform{min-width:0;width:100%}
 .bw-orders__actions .bw-orders__trackform .bw-orders__button{width:100%;white-space:normal}
}

/* Baqet Ward 2.3 — real live-order stages and capability-token direct tracking */
.bw-account-page .bw-orders__direct-track { display:inline-flex; align-items:center; justify-content:center; text-align:center; }
.bw-account-page .bw-orders__progress { height:5px; margin:0 16px 3px; border-radius:99px; background:#f7e8ec; overflow:hidden; }
.bw-account-page .bw-orders__progress>span { display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,#c46e85,#e3a4b3); transition:width .3s ease; }
.bw-detail__journey { background:#fff; border:1px solid #efd9e0; border-radius:18px; padding:17px; margin:0 0 15px; }
.bw-detail__journey h3 { font-size:16px!important; color:#934b63!important; margin:0 0 15px!important; }
.bw-detail__journey-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; direction:rtl; }
.bw-detail__journey-step { display:flex; flex-direction:column; align-items:center; gap:7px; min-width:0; text-align:center; color:#b29aa3; }
.bw-detail__journey-num { width:28px; height:28px; display:flex; align-items:center; justify-content:center; background:#f5ecef; border:1px solid #eedde2; color:#ae929a; border-radius:50%; font-size:12px; font-weight:900; }
.bw-detail__journey-label { font-size:10px; font-weight:700; line-height:1.5; overflow-wrap:anywhere; }
.bw-detail__journey-step.is-done .bw-detail__journey-num { background:#eefff5; border-color:#b5e7cd; color:#228451; }
.bw-detail__journey-step.is-done .bw-detail__journey-label { color:#48765e; }
.bw-detail__journey-step.is-current .bw-detail__journey-num { background:#b85d68; border-color:#b85d68; color:#fff; box-shadow:0 0 0 4px #fbe7ed; }
.bw-detail__journey-step.is-current .bw-detail__journey-label { color:#a24c67; font-weight:900; }
.bw-detail__journey-updated { margin:14px 0 0; font-size:11px; color:#9a7884; }
@media(max-width:700px) {
 .bw-detail__journey { padding:13px; }
 .bw-detail__journey-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px 6px; }
 .bw-detail__journey-label { font-size:10px; }
 .bw-account-page .bw-orders__progress { margin:0 11px 3px; }
}
