/* Afya Home Needs — retail toy shop identity & the billing-style purchase counter. */
:root{
  --blue:#6253bd;--blue2:#8066d2;--blue-soft:#f0ecff;
  --sidebar:#1c173b;--sidebar2:#241a46;
  --bg:#f8f6ff;--ink:#211d38;--line:#e9e4f5;
}
.brand-mark,.mini-logo,.login-page .brand-mark{background:linear-gradient(145deg,#ff74b4,#795bde)!important;box-shadow:0 7px 20px rgba(137,91,200,.22)}
.brand strong{font-size:15px;letter-spacing:.06em}.brand span{letter-spacing:.14em}
.billing-banner{background:linear-gradient(126deg,#53419d 0%,#8064cd 62%,#ee78b2 100%)}
.primary-btn,.checkout,.login-btn{background:linear-gradient(110deg,#6350b9,#8767d3)!important}
.category-row button.active,.command-bar button.active{color:#5541ae;background:#f1edff;border-color:#dcd4f4}
.sidebar-footer .sync-card span{font-size:9px;line-height:1.6;overflow-wrap:anywhere}
.sidebar-footer .sync-card a{color:#e5d8ff;text-decoration:none}
.sidebar-footer .sync-card a:hover{text-decoration:underline}
.login-page .brand-copy span{letter-spacing:.20em}.login-page .brand-copy strong{letter-spacing:.035em}
.purchase-page .purchase-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px;padding:12px 15px;background:#fff;border:1px solid #e9e4f5;border-radius:12px;color:#6853a6;font-weight:850;font-size:11px}
.purchase-topline a{color:#6552b7;text-decoration:none}
.purchase-page .purchase-billing-layout{margin:0;min-height:initial;border:1px solid #e8e3f4;border-radius:16px;overflow:hidden;grid-template-columns:minmax(0,1fr) minmax(360px,435px);background:#fff}
.purchase-page .catalog-panel{padding:17px;background:#faf8ff}
.purchase-page .purchase-banner{padding:19px;min-height:116px}
.purchase-page .purchase-cart-panel{position:relative;top:auto;height:auto;max-height:unset;min-height:650px;background:#fff;padding:17px 16px;overflow:visible}
.purchase-page .purchase-search-row{grid-template-columns:1fr 100px}
.purchase-page .purchase-products{display:grid;grid-template-columns:1fr;gap:6px;max-height:650px;overflow:auto;padding-right:2px}
.purchase-page .purchase-product{min-height:68px;padding:10px 30px 10px 13px;grid-template-columns:minmax(0,1fr) 76px 105px 94px;gap:8px;background:#fff;border:1px solid #e8e4f0}
.purchase-page .purchase-product .product-list-main{min-width:0}
.purchase-page .purchase-product .product-list-stat,.purchase-page .purchase-product .product-list-price{text-align:right}
.purchase-page .purchase-product .product-list-stat small,.purchase-page .purchase-product .product-list-price small{font-size:9px;color:#877a9f}
.purchase-page .purchase-product .product-list-stat b{font-size:11px}
.purchase-page .purchase-product .add-dot{background:#f4e5fd;color:#6548b9}
.purchase-negative{color:#c0395e!important}
.purchase-page .purchase-cart-panel .cart-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 0 13px}
.purchase-page .purchase-cart-panel .cart-head .outline-btn{font-size:10px;flex-shrink:0}
.purchase-party{display:grid;gap:10px;padding:13px;background:#faf8ff;border:1px solid #e9e4f5;border-radius:12px}
.purchase-two-col{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.purchase-page .field span{font-size:10px}.purchase-page .field input,.purchase-page .field select{font-size:12px;min-width:0}
.purchase-cart-items{margin-top:12px;display:grid;gap:9px;max-height:370px;overflow-y:auto;padding-right:3px}
.purchase-line{border:1px solid #e7e2f2;border-radius:12px;background:#fff;padding:11px;display:grid;gap:9px;box-shadow:0 3px 12px rgba(65,42,105,.04)}
.purchase-line-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.purchase-line-head strong{display:block;font-size:12px;line-height:1.35}
.purchase-line-head small{display:block;margin-top:3px;color:#786e87;font-size:9px;line-height:1.45}
.purchase-remove{padding:5px 8px;border:1px solid #f4cbd6;border-radius:8px;background:#fff4f7;color:#bc3861}
.purchase-line-fields{display:grid;grid-template-columns:1fr 1fr 1.3fr .94fr;gap:5px}
.purchase-line-fields label{min-width:0;display:grid;gap:4px}
.purchase-line-fields label span,.purchase-line-bottom label{font-size:9px;color:#665d77;font-weight:700}
.purchase-line-fields input,.purchase-line-bottom input{min-width:0;width:100%;height:34px;padding:4px 6px;border-radius:7px;border:1px solid #ddd6eb;background:#fff;color:#221a3b;font-size:11px}
.purchase-line-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:7px}
.purchase-line-bottom label{display:flex;align-items:center;gap:6px;flex:1}
.purchase-line-bottom input{flex:1;max-width:160px}
.purchase-line-bottom strong{font-size:12px;white-space:nowrap;color:#644eb2}
.purchase-empty{padding:23px 12px;text-align:center;color:#847b96;border:1px dashed #d8d0e8;border-radius:12px;background:#faf8fe;font-size:11px}
.purchase-empty strong{color:#4b386e;font-size:12px}.purchase-empty p{margin:5px 0}
.purchase-money{margin-top:14px;padding:13px;background:#faf8ff;border:1px solid #ece5f6;border-radius:13px}
.purchase-money>div:not(.purchase-paid-row){display:flex;justify-content:space-between;gap:10px;align-items:center;padding:7px 0;font-size:11px}
.purchase-money .grand-total{border-top:1px solid #e1d8ee;border-bottom:1px solid #e1d8ee;padding:11px 0!important;margin:5px 0}
.purchase-money .grand-total strong{font-size:21px!important;color:#5542a6!important}
.purchase-paid-row{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px;margin:10px 0 2px}
.purchase-paid-row .outline-btn{height:38px;min-height:38px;font-size:10px}
.purchase-cart-panel .checkout{margin-top:12px;min-height:49px;font-size:12px}
.purchase-cart-panel .checkout:disabled{opacity:.6;cursor:wait}
.purchase-helper{color:#857e96;font-size:10px;line-height:1.55;margin:10px 0 0}
.purchase-save-error:not(:empty){margin-top:8px;padding:10px;background:#fff0f3;border:1px solid #f0c8d3;border-radius:8px;color:#b33458;font-size:11px}
.purchase-page .purchase-history{margin-top:15px}
.purchase-history-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.purchase-history-actions .outline-btn{font-size:10px}
.purchase-history .table-wrap .outline-btn{height:29px;min-height:29px;font-size:10px}
@media(max-width:1180px){.purchase-page .purchase-billing-layout{grid-template-columns:minmax(0,1fr) minmax(330px,395px)}.purchase-page .purchase-product{grid-template-columns:minmax(0,1fr) 58px 80px 82px}}
@media(max-width:900px){.purchase-page .purchase-billing-layout{display:block}.purchase-page .purchase-cart-panel{border-left:0;border-top:1px solid #e7e2f2}.purchase-page .purchase-products{max-height:350px}.purchase-page .purchase-topline{flex-wrap:wrap}}
@media(max-width:500px){.purchase-page .purchase-product{grid-template-columns:minmax(0,1fr) 56px 83px}.purchase-page .purchase-product .product-list-price{display:none}.purchase-page .purchase-two-col{grid-template-columns:1fr}.purchase-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-history .panel-head{align-items:flex-start;flex-direction:column}.purchase-topline{font-size:9px!important}}
@media print{.purchase-page .purchase-history,.purchase-page .purchase-topline{display:none}}
