.nex-tool-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin:14px 0;padding:16px;text-align:left;box-shadow:0 4px 18px #0f172a08}
.nex-tool-section h3{color:#172554;margin-bottom:12px;font-size:17px}
.nex-tool-button{border:1px solid #dbe3ef;border-radius:10px;background:#f8fafc;color:#172554;padding:11px 14px;margin:5px 5px 5px 0;font:inherit;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.nex-tool-button:disabled{opacity:.5;cursor:wait}
.nex-tool-status{font-size:13px;line-height:1.55;color:#64748b;padding:8px 0;overflow-wrap:anywhere}
.nex-toggle{display:flex;gap:12px;align-items:center;margin:16px 0;font-size:14px}
.nex-toggle input{width:20px;height:20px;accent-color:#f97316}
.nex-admin-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nex-admin-metrics div{background:linear-gradient(135deg,#172554,#1d4ed8);color:#fff;border-radius:14px;padding:16px}
.nex-admin-metrics strong{display:block;font-size:28px}
.nex-admin-metrics span{display:block;font-size:12px;margin-top:7px}
.nex-admin-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e2e8f0;padding:10px 0;font-size:13px;overflow-wrap:anywhere}
.nex-admin-row span{min-width:0;flex:1}
.nex-tool-section form{display:flex;flex-wrap:wrap;gap:8px}
.nex-tool-section form input{padding:10px;border:1px solid #dbe3ef;border-radius:9px;width:130px;max-width:100%}
.nex-category-group{background:white;border:1px solid #e2e8f0;padding:13px;margin:10px 0;border-radius:13px}
.nex-category-group summary{font-weight:600;cursor:pointer;padding:10px 0}
.nex-category-group details{padding-left:15px;border-left:2px solid #dbeafe}
.nex-category-group .nex-tool-button{display:block;width:100%;text-align:left}
#cj-all-categories>input{width:100%;padding:12px;border:1px solid #dbe3ef;border-radius:12px;font:inherit;margin-bottom:10px}
.nex-favorite-row{display:flex;align-items:center;gap:10px;background:white;border-radius:13px;margin:10px 0;padding:12px}
.nex-favorite-row img{width:70px;height:85px;object-fit:cover;border-radius:9px}
.nex-favorite-row button:first-of-type{flex:1;font-size:13px;text-align:left}
.nex-token-benefit{background:#fffbeb;border:1px solid #fcd34d;padding:16px;border-radius:14px;text-align:left;margin:18px 0;line-height:1.55}
.nex-token-benefit h3{font-size:16px;margin-bottom:8px;color:#92400e}
.nex-token-benefit p{font-size:14px}
.nex-token-benefit small{display:block;font-size:11px;color:#92400e;margin-top:9px}
.nex-reduced-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.nex-order-notice{position:fixed;bottom:90px;left:16px;right:16px;background:#172554;color:white;padding:14px;border-radius:12px;z-index:3000;font-size:13px}
.cj-variant-option[hidden]{display:none!important}
.cj-detail-toolbar{flex-wrap:wrap}
.cj-order-item {display:block;width:100%;text-align:left;padding:10px 0;margin:5px 0;background:transparent;border:0;border-bottom:1px solid #eee;font-size:14px;line-height:1.4;color:#374151;overflow-wrap:anywhere}
button.cj-order-item {cursor:pointer;color:#1d4ed8}
.quick-actions { gap:14px; padding:14px 12px; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; }
.quick-actions button.action-item { flex:0 0 68px; width:68px; border:0; background:white; cursor:pointer; padding:0; color:#334155; scroll-snap-align:start; }
.quick-actions .action-icon { width:60px; height:60px; overflow:hidden; border:1px solid #e5e7eb; margin:auto; }
.quick-actions .action-icon img { width:100%; height:100%; object-fit:cover; }
.quick-actions .action-text { display:block; margin-top:6px; font-size:.65rem; line-height:1.25; max-height:28px; overflow:hidden; }
.cj-featured-circles { display:flex; gap:14px; }
.cj-featured-retry { border:0; background:#f3f4f6; color:#475569; border-radius:20px; padding:10px; font-size:.75rem; }
#view-cart { padding-bottom:95px; }
#view-cart .screen-header { padding:18px 14px; font-size:1.25rem; }
#cart-item-count { color:#64748b; font-size:.85rem; font-weight:400; }
.cj-cart-track { border:0; border-radius:18px; background:#f1f5f9; color:#475569; padding:8px 12px; font-size:.75rem; cursor:pointer; }
.cj-cart-address { padding:14px 16px; display:flex; align-items:center; gap:10px; background:white; font-size:.85rem; border-bottom:1px solid #eee; cursor:pointer; }
.cj-cart-address span { margin-left:auto; }
.cj-cart-feedback { margin:0; padding:0 16px; font-size:.8rem; color:#b45309; }
.cj-cart-empty { text-align:center; padding:60px 20px; color:#64748b; font-size:.9rem; }
#user-cart-container { padding:8px 0; text-align:left; color:#1f2937; }
#view-cart .cart-item { display:grid; grid-template-columns:20px 88px minmax(0,1fr); gap:10px; align-items:start; margin:0 8px; padding:16px 10px; border-radius:0; box-shadow:none; border-bottom:1px solid #edf0f3; position:relative; }
#view-cart .cart-checkbox { align-self:center; width:18px; height:18px; accent-color:#e45729; }
#view-cart .cart-img { width:88px; height:104px; object-fit:cover; border-radius:8px; }
#view-cart .cart-details { min-width:0; padding-right:20px; }
#view-cart .cart-title { font-size:.85rem; line-height:1.4; font-weight:400; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
.cj-cart-variation { color:#64748b; font-size:.75rem; margin:5px 0; }
#view-cart .cart-item-price { color:#e45729; font-weight:700; font-size:1rem; margin:5px 0; }
.cj-cart-quantity { display:inline-flex; align-items:center; border:1px solid #e2e8f0; border-radius:16px; height:30px; margin:4px 0; overflow:hidden; }
.cj-cart-quantity button { width:28px; height:28px; padding:0; border:0; background:white; cursor:pointer; font-size:1.1rem; color:#475569; }
.cj-cart-quantity input { width:34px!important; border:0; padding:0; text-align:center; font-size:.8rem; appearance:textfield; -moz-appearance:textfield; }
.cj-cart-quantity input::-webkit-inner-spin-button { -webkit-appearance:none; }
#view-cart .cart-stock { font-size:.65rem; color:#8a96a5; line-height:1.4; margin-top:4px; }
#view-cart .btn-delete { position:absolute; top:10px; right:9px; padding:2px 5px; font-size:1.3rem; color:#64748b; }
#view-cart .checkout-bar { gap:10px; padding:12px; }
#view-cart .checkout-total { white-space:nowrap; font-size:1.1rem; }
.cj-cart-all { display:flex; align-items:center; gap:5px; font-size:.75rem; color:#475569; }
.cj-cart-all input { width:17px; height:17px; accent-color:#e45729; }
#view-cart .btn-buy { background:#e45729; margin-left:auto; border-radius:22px; font-size:.8rem; padding:13px 15px; }
#view-cart .btn-buy:disabled { opacity:.45; cursor:not-allowed; }
.cj-checkout-body { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:8px; }
.cj-checkout-panel { padding:16px; border-radius:10px; background:white; margin-bottom:9px; }
.cj-checkout-panel h2,.cj-checkout-panel summary { font-size:.95rem; font-weight:600; margin-bottom:12px; }
.cj-checkout-panel summary { cursor:pointer; }
.cj-address-preview { font-size:.8rem; color:#64748b; line-height:1.5; margin-bottom:8px; white-space:pre-line; }
.cj-address-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.cj-address-field { display:flex; flex-direction:column; gap:5px; font-size:.75rem; color:#475569; }
.cj-address-field.wide { grid-column:1/-1; }
.cj-address-field input { border:1px solid #dce1e7; border-radius:7px; padding:11px; font-size:16px; width:100%; min-width:0; color:#17202a; }
.cj-address-field input[aria-invalid="true"] { border-color:#d9463f; }
.cj-field-error { font-size:.72rem; color:#b91c1c; min-height:0; }
.cj-checkout-remember { display:flex; align-items:center; gap:8px; font-size:.8rem; margin:12px 0; }
.cj-calculate-shipping { width:100%; padding:12px; border:1px solid #e45729; border-radius:7px; background:#fff5ee; color:#c3421c; cursor:pointer; font-size:.85rem; }
.cj-checkout-item { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #f0f2f5; }
.cj-checkout-item img { width:66px; height:72px; object-fit:cover; border-radius:6px; flex-shrink:0; }
.cj-checkout-item div { min-width:0; flex:1; }
.cj-checkout-item p { font-size:.8rem; line-height:1.4; overflow-wrap:anywhere; }
.cj-checkout-item .cj-checkout-item-name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cj-checkout-item small { color:#64748b; font-size:.75rem; }
.cj-shipping-select { width:100%; padding:12px 8px; border:1px solid #cbd5e1; border-radius:7px; font-size:.8rem; background:white; }
.cj-payment-method { padding:14px; background:#f0f9f7; border:1px solid #bfe4d9; border-radius:8px; color:#155e54; font-size:.9rem; }
.cj-checkout-help { font-size:.75rem; line-height:1.5; color:#64748b; margin-top:10px; }
.cj-checkout-error { color:#b91c1c; font-size:.8rem; padding:10px 8px; line-height:1.5; }
.cj-summary-row { display:flex; justify-content:space-between; gap:12px; padding:9px 0; font-size:.8rem; color:#475569; }
.cj-summary-row span:last-child { white-space:nowrap; }
.cj-summary-row.total { color:#17202a; font-weight:700; font-size:.95rem; border-top:1px solid #eee; margin-top:6px; }
.cj-checkout-footer { display:flex; gap:12px; align-items:center; flex-shrink:0; padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px)); background:white; border-top:1px solid #e5e7eb; }
.cj-checkout-footer small { font-size:.7rem; color:#64748b; }
.cj-checkout-footer strong { display:block; color:#e45729; font-size:1.15rem; white-space:nowrap; }
.cj-checkout-pay { flex:1; border:0; border-radius:8px; background:#e45729; color:white; padding:14px 10px; font-size:.8rem; font-weight:600; cursor:pointer; }
.cj-checkout-pay:disabled { opacity:.45; cursor:not-allowed; }
@media (max-width:350px) {
  #view-cart .cart-item { grid-template-columns:18px 74px minmax(0,1fr); gap:8px; }
  #view-cart .cart-img { width:74px; height:88px; }
  #view-cart .checkout-bar { gap:7px; padding:10px 8px; }
}
