.is-account-page .hero-shell,.is-account-page #storeHome,.is-account-page #productPage{display:none}
.account-page{padding:28px 15px 45px;min-height:65vh}
.account-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.account-back-link,.account-text-button{font-size:12px;color:#c6a1f1;text-decoration:none;border:0;background:none;padding:0}
.account-page-heading h1{font-size:36px;font-weight:800;letter-spacing:-1px;line-height:1.2;margin:10px 0}
.account-page-heading p,.account-muted{color:var(--muted);font-size:12px;line-height:1.7}
.account-panel{border:1px solid #44364f;border-radius:18px;background:linear-gradient(140deg,#15101d,#0a080e);padding:24px;min-width:0}
.account-panel h2,.account-panel-heading h2{font-size:21px;font-weight:750;line-height:1.3}
.account-panel>.account-muted{margin-top:8px}
.account-outline-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #6f528b;border-radius:24px;padding:10px 18px;background:#150e20;color:#e5d5f8;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap}
.account-outline-button:hover{border-color:var(--purple)}
.account-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) 320px;grid-template-areas:"items checkout summary";gap:20px;align-items:start}
.account-cart-items{display:grid;gap:14px;grid-area:items;min-width:0}
#cartEmpty{grid-area:items}
#cartSummary{grid-area:summary;align-self:start}
.account-cart-item{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;align-items:start;padding:16px;border:1px solid #44364f;border-radius:17px;background:#100c16}
.account-cart-photo{display:block;width:80px;height:90px;border-radius:12px;overflow:hidden;align-self:start}
.account-cart-photo img{display:block;width:100%;height:100%;object-fit:cover}
.account-cart-title{display:block;font-size:14px;font-weight:700;text-decoration:none;line-height:1.5;overflow-wrap:anywhere}
.account-cart-title:hover{color:#c6a1f1}
.account-cart-unit{font-size:12px;color:#c7b3da;margin-top:7px}
.account-quantity{display:inline-flex;align-items:center;border:1px solid #594467;border-radius:10px;overflow:hidden;margin-top:12px;background:#1b1125}
.account-quantity button{display:grid;place-items:center;width:34px;height:34px;padding:0;line-height:1;border:0;background:none;font-size:20px}
.account-quantity input{width:44px;min-width:0;text-align:center;border:0;background:none;color:#fff;appearance:textfield;-moz-appearance:textfield;font-size:12px;line-height:34px}
.account-quantity input::-webkit-inner-spin-button,.account-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.account-cart-item-total{display:flex;grid-column:2;align-items:center;justify-content:space-between;gap:12px;white-space:nowrap}
.account-cart-item-total strong{font-size:20px;color:#cfabff;font-weight:800}
.account-cart-item-total button{border:0;background:none;padding:5px 0;font-size:11px;color:#b7a8c3}
.account-cart-summary{position:sticky;top:calc(var(--header-height,96px) + 20px)}
.account-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 15px;font-size:13px}
.account-summary-row strong{font-size:26px;font-weight:800;color:#d1aaff;white-space:nowrap}
.account-cart-summary>.catalog-view-all{width:100%;margin:22px 0 15px;padding-inline:12px}
.account-cart-summary>.account-text-button{display:block;margin:auto}
.account-empty{text-align:center;padding:48px 20px;border:1px solid #44364f;border-radius:18px;background:#100c16}
.account-empty>.icon{display:block;width:52px;height:52px;color:#b888f1;margin:0 auto 20px}
.account-empty h2,.account-empty h3{font-size:22px;font-weight:700}
.account-empty p{font-size:13px;line-height:1.7;color:var(--muted);margin:12px 0 22px}
.account-checkout{grid-area:checkout;scroll-margin-top:calc(var(--header-height,96px) + 20px)}
.account-checkout .account-form{grid-template-columns:minmax(0,1fr)}
.account-form{display:grid;grid-template-columns:1fr 1fr;gap:20px 18px;margin-top:24px}
.account-form label{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:600;color:#d1c3dc;min-width:0}
.account-form input,.account-form textarea{width:100%;min-width:0;border:1px solid #594467;border-radius:10px;background:#0a0710;color:#fff;padding:12px 14px;line-height:1.5;font-size:14px}
.account-form textarea{resize:vertical}
.delivery-calculator-dialog{width:min(600px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;margin:auto;padding:24px;border:1px solid #75608a;border-radius:22px;background:#120d19;color:#fff}
.delivery-calculator-dialog::backdrop{background:#000a;backdrop-filter:blur(6px)}
.delivery-calculator-dialog:focus,.delivery-calculator-dialog :focus{outline:none}
.delivery-calculator-dialog h2{font-size:22px;margin:0}
.delivery-calculator-dialog>.account-muted{margin-top:18px}
.delivery-calculator-dialog .account-form{grid-template-columns:minmax(0,1fr)}
#openDeliveryCalculator{width:100%;min-width:0;white-space:normal;line-height:1.5;text-align:center}
.account-wide-field{grid-column:1/-1}
.account-form fieldset{min-width:0;margin:0;padding:0;border:0}
.account-form legend{font-size:12px;font-weight:600;color:#d1c3dc;margin-bottom:10px}
.account-payment-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.account-payment-option{padding:13px 14px;text-align:left;border:1px solid #51405e;border-radius:11px;background:#110b1a;color:#cbbad9;font-size:12px;line-height:1.5}
.account-payment-option.is-active{border-color:#b982ff;background:#a267f023;color:#fff;box-shadow:inset 0 0 0 1px #b982ff40}
.account-form-status{font-size:12px;line-height:1.7;color:#d2b4fa;min-height:0}
.account-form-status:empty{display:none}
.account-form-error{font-size:11px;color:#ffb1c8;line-height:1.6;margin-top:10px}
.account-profile-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
.account-profile-sidebar{position:sticky;top:calc(var(--header-height,96px) + 20px);padding:22px 16px}
.account-profile-person{text-align:center;padding:0 6px 22px;border-bottom:1px solid #44364f}
.account-avatar{width:68px;height:68px;border-radius:50%;border:1px solid #9a6cc6;object-fit:cover;margin:0 auto 13px;background:#3c2456;display:grid;place-items:center;font-size:24px;font-weight:700}
.account-profile-person h2{font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.account-avatar.hidden,.account-profile-sidebar nav>.hidden{display:none}
.account-profile-sidebar nav{display:grid;gap:6px;margin-top:16px}
.account-profile-sidebar nav>a,.account-profile-sidebar nav>button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;border:1px solid transparent;border-radius:10px;padding:11px 12px;font-size:12px;line-height:1.5;background:transparent;color:#cdbedb;text-decoration:none}
.account-profile-sidebar nav>.is-active{background:#a16be91d;border-color:#8054a3;color:#fff}
.account-profile-sidebar nav>:hover{background:#a16be914}
#profileCartCount{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;background:#8152b5;border-radius:10px;font-size:10px}
.account-profile-content{min-width:0}
.account-profile-content>.account-panel{padding:28px}
.account-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.account-orders-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:18px;margin-top:16px}
.account-orders-list{display:grid;gap:12px}
.account-order-card{text-align:left;padding:18px;border:1px solid #44364f;border-radius:14px;background:#110c18;color:#fff}
.account-order-card.is-active{border-color:#b982ff;background:#1c1129}
.account-order-card strong{display:block;font-size:13px;overflow-wrap:anywhere}
.account-order-card small{display:block;font-size:11px;color:var(--muted);margin:8px 0}
.account-order-card>span{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:12px;color:#d1b3f4}
.account-order-detail{padding:22px}
#orderDetails{margin:0;padding:0;border:0;background:none}
#orderDetails>p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
#orderDetailsId{font-size:16px!important;margin-bottom:13px}
#orderDetailsItems{border-block:1px solid #44364f;margin-top:18px;padding:14px 0;font-size:12px;line-height:1.8}
#orderDetailsTotal{font-size:20px!important;margin-top:16px;color:#cfabff}
#orderDetailsPayButton{font-size:13px;border-radius:22px}
.account-favorites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.account-favorites-grid>.account-empty{grid-column:1/-1}
.account-delivery-copy p{color:var(--muted);font-size:13px;line-height:1.9;margin-top:18px}
@media(max-width:560px){.account-form input,.account-form textarea,.account-quantity input{font-size:16px}}
@media(max-width:1150px){.account-cart-layout{grid-template-columns:minmax(0,1fr) 280px;grid-template-areas:"items summary" "checkout summary";gap:18px}.account-cart-item{grid-template-columns:90px minmax(0,1fr);gap:14px;padding:14px}.account-cart-photo{width:90px;height:90px}.account-cart-title{font-size:14px}.account-profile-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.account-orders-layout{grid-template-columns:minmax(0,1fr)}.account-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.account-cart-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"items" "checkout" "summary"}.account-cart-summary{position:static}.account-cart-summary>.catalog-view-all{max-width:360px}.account-profile-layout{grid-template-columns:minmax(0,1fr)}.account-profile-sidebar{position:static}.account-profile-person{display:flex;align-items:center;gap:14px;text-align:left;padding-bottom:16px}.account-avatar{margin:0;width:50px;height:50px;flex:none}.account-profile-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.account-profile-sidebar nav>:last-child{grid-column:1/-1}.account-page-heading h1{font-size:32px}}
@media(max-width:560px){.account-page{padding:20px 0 30px}.account-page-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:20px}.account-page-heading h1{font-size:30px}.account-panel,.account-profile-content>.account-panel{padding:20px}.account-cart-item{grid-template-columns:76px minmax(0,1fr);gap:14px;padding:13px}.account-cart-photo{width:76px;height:90px}.account-cart-item-total{grid-column:2;flex-direction:row;align-items:center;gap:12px;padding:0}.account-cart-item-total strong{font-size:18px}.account-cart-title{font-size:13px}.account-form{grid-template-columns:minmax(0,1fr);gap:18px}.account-payment-options{grid-template-columns:minmax(0,1fr)}.account-profile-sidebar nav>a,.account-profile-sidebar nav>button{font-size:11px;padding:10px}.account-favorites-grid{gap:12px}.account-summary-row{margin-top:18px}.account-panel-heading h2{font-size:20px}.account-orders-layout{gap:14px}}

/* Delivery selection stays in the checkout flow on narrow screens. */
.delivery-option-list{display:flex;flex-direction:column;gap:6px;min-width:0}
.delivery-points{max-height:300px;overflow:auto;overscroll-behavior:contain}
.delivery-point-option{padding:12px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#15121b;color:inherit;white-space:normal;overflow-wrap:anywhere}
.delivery-point-option:hover,.delivery-point-option[aria-pressed=true]{border-color:var(--purple);background:#241b32}
.account-form select{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:#16121e;color:#fff;padding:12px}
.delivery-checkout-footer{display:grid;gap:12px;min-width:0;margin-top:16px}
#deliveryBreakdown{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:12px}
.delivery-summary-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0}
.delivery-summary-label{min-width:0;font-size:14px;line-height:1.5;font-weight:650}
.delivery-summary-hint{display:block;margin-top:3px;color:var(--muted);font-size:12px;line-height:1.5;font-weight:400}
.delivery-summary-row>strong{flex:none;color:#d1aaff;font-size:20px;line-height:1.5;font-weight:800;white-space:nowrap}
.delivery-checkout-footer>.account-form-status{margin:0}
#deliverySelectedPoint{overflow-wrap:anywhere}
.market-shipping-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid #4d405f;border-radius:12px;padding:10px}
.market-shipping-fields label{display:grid;gap:5px;font-size:12px}
.market-shipping-fields input{width:100%;min-width:0;padding:8px}
#adminProductModal>div{max-height:90vh;overflow:auto}
.delivery-payment-picker{position:relative;width:100%;min-width:0;margin-top:8px}
.delivery-payment-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:13px 16px;text-align:left;white-space:normal;border:1px solid #554269;border-radius:12px;background:#19131f;color:#f6f1ff;font-weight:600}
.delivery-payment-toggle:hover,.delivery-payment-toggle[aria-expanded=true]{border-color:var(--purple);background:#241a31}
.delivery-payment-chevron{width:9px;height:9px;flex:none;border-right:2px solid #be94ef;border-bottom:2px solid #be94ef;transform:rotate(45deg);margin:0 3px 4px 0}
.delivery-payment-toggle[aria-expanded=true] .delivery-payment-chevron{transform:rotate(225deg);margin-bottom:-4px}
.delivery-payment-menu{position:absolute;inset:calc(100% + 7px) 0 auto;z-index:20;display:grid;gap:4px;padding:6px;border:1px solid #68517e;border-radius:14px;background:#1a1422;box-shadow:0 18px 48px #0009}
.delivery-payment-choice{display:grid;gap:5px;width:100%;min-width:0;padding:13px 34px 13px 12px;text-align:left;position:relative;border:1px solid transparent;border-radius:9px;background:transparent;color:#f6f1ff;white-space:normal}
.delivery-payment-choice strong{font-size:14px;line-height:1.4}
.delivery-payment-choice span{font-size:12px;line-height:1.4;color:#bfb2cf}
.delivery-payment-choice:hover,.delivery-payment-choice:focus-visible,.delivery-payment-choice[aria-selected=true]{border-color:#82639f;background:#352440}
.delivery-payment-choice[aria-selected=true]:after{content:'✓';position:absolute;right:12px;top:14px;color:#d2a9ff;font-weight:800}

.account-order-terms{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 16px;margin-top:14px}
.account-delivery-copy h3{font-size:17px;line-height:1.5;margin-top:24px}
.cart-discount-terms{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
