:root {
  --qr-shadow-card: none;
  --qr-shadow-float: 0 10px 28px rgba(24,48,82,.12);
  --qr-shadow-focus: 0 0 0 3px rgba(36,107,250,.12);
  --qr-shadow-inset: inset 0 1px 2px rgba(24,48,82,.04);
}
/* Surface hierarchy: light cards, floating menus/dialogs, explicit focus ring. */
body .card, body .product_card, body .smc-card, body .security-item,
body .accountbind, body .product-wrap-box, body .verified-card,
body .user-center_product_grid .user-center_product { box-shadow: var(--qr-shadow-card) !important; }
body .card:hover, body .smc-card:hover, body .product-wrap-box:hover,
body .user-center_product_grid .user-center_product:hover { box-shadow: var(--qr-shadow-card) !important; }
body .dropdown-menu, body .popover, body .modal-content { box-shadow: var(--qr-shadow-float) !important; }
body .vertical-menu { box-shadow: 1px 0 6px rgba(24,48,82,.035) !important; }
body #page-topbar { box-shadow: 0 1px 6px rgba(24,48,82,.045) !important; }
body .table-responsive { box-shadow: none !important; }
body .form-control { box-shadow: none; }
body .form-control:focus { box-shadow: var(--qr-shadow-focus); }

/* Flat content surfaces throughout QRuser; keep form focus and floating dialogs distinct. */
body .card-body, body .card-body .card, body .card-body .security-item,
body .card-body .aff-item, body .card-body .accountbind,
body .card-body .user-center_product, body .card-body .novalid,
body .security-items .security-item:hover { box-shadow:none !important; }

/* Notifications stay outside card layouts and above modal overlays. */
body #toast-container.toast-top-right { position:fixed !important; top:12px !important; right:12px !important; bottom:auto !important; left:auto !important; z-index:1000000 !important; }

/* Guest header: matching outer edges for the logo and final language control. */
body #page-topbar.qr-topbar-guest .navbar-header { padding-left:40px; padding-right:40px; }
body #page-topbar.qr-topbar-guest .navbar-brand-box { display:block !important; width:auto !important; padding:0; }
body #page-topbar.qr-topbar-guest .navbar-brand-box .logo-lg { display:block !important; }
body #page-topbar.qr-topbar-guest .navbar-brand-box .logo-sm { display:none !important; }
body #page-topbar.qr-topbar-guest .qr-header-language > .header-item { padding-right:0; }
body #page-topbar.qr-topbar-guest .qr-header-language > .header-item > a { padding:0; }
@media (max-width:991.98px) {
 body #page-topbar.qr-topbar-guest .navbar-header { padding-left:16px; padding-right:16px; }
 body #page-topbar.qr-topbar-guest .navbar-header > .d-flex:first-child > a { display:none; }
 body #page-topbar.qr-topbar-guest .logo-lg img { max-width:120px; }
}
