/* PulseMetroShop custom CSS for the site CSS editor.
   Works with the new HOTLINETRADE/Vue markup without changing HTML. */

:root {
  --pm-gold: #ffd36a;
  --pm-gold-soft: #e7d8ad;
  --pm-gold-dim: rgba(201, 168, 78, 0.28);
  --pm-text: rgba(255, 255, 255, 0.9);
  --pm-panel: rgba(8, 8, 8, 0.66);
  --pm-panel-strong: rgba(0, 0, 0, 0.78);
  --pm-border: rgba(201, 168, 78, 0.24);
  --pm-card-frame-url: url("https://i.postimg.cc/SN8zybz9/Backpdukt.png");
  --pm-modal-bg-url: url("https://i.postimg.cc/jj4TMLfD/Produkt-Modalback.png");
}

body.pm-products-page {
  min-height: 100vh;
}

#products-page-layout {
  --main-white-color: rgba(8, 8, 8, 0.66);
  --main-bg-color: transparent;
  --main-white-gray-color: rgba(8, 8, 8, 0.52);
  --header-background: rgba(8, 8, 8, 0.68);
  --main-text-color: rgba(255, 255, 255, 0.92);
  --text-body: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(231, 216, 173, 0.58);
  --muted-heading: var(--pm-gold-soft);
  --muted-desc: rgba(255, 255, 255, 0.76);
  --muted-4: rgba(201, 168, 78, 0.18);
  --muted-5: rgba(201, 168, 78, 0.36);
  --muted-6: rgba(255, 255, 255, 0.58);
  --main-dark-color: #090909;
  --bg-muted: rgba(0, 0, 0, 0.45);
  --panel-bg: rgba(0, 0, 0, 0.55);
  --panel-bg-2: rgba(201, 168, 78, 0.12);
  --border-muted: rgba(201, 168, 78, 0.24);
  --success-color: #d8b85e;
  --primary: #d8b85e;
  --accent: #ffd36a;
  --accent-2: #d8b85e;

  color: var(--pm-text) !important;
}

body.pm-products-page .wrapper {
  max-width: 1450px;
}

/* Header */
#products-page-layout .navbar {
  min-height: 72px;
  height: auto !important;
  margin-bottom: 8px !important;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(201, 168, 78, 0.16), rgba(0, 0, 0, 0) 28%, rgba(201, 168, 78, 0.12)),
    rgba(8, 8, 8, 0.68) !important;
  border: 1px solid var(--pm-border);
  border-top: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38);
}

#products-page-layout .navbar-brand {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.95);
}

#products-page-layout .nav-link,
#products-page-layout .auth-btn,
#products-page-layout .balance-btn,
#products-page-layout .profile-btn,
#products-page-layout .lang-label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

#products-page-layout .balance-btn {
  color: var(--pm-gold) !important;
}

#products-page-layout .nav-item:hover,
#products-page-layout .nav-link:hover,
#products-page-layout .auth-btn:hover,
#products-page-layout .balance-btn:hover,
#products-page-layout .profile-btn:hover {
  background: rgba(255, 211, 106, 0.11) !important;
  color: var(--pm-gold) !important;
  text-decoration: none !important;
}

#products-page-layout .dropdown {
  background: rgba(8, 8, 8, 0.92) !important;
  border: 1px solid var(--pm-border);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

#products-page-layout .dropdown li {
  color: var(--pm-text) !important;
}

/* Main shop layout */
#products-page-layout .banner {
  margin: 0 0 6px !important;
  border-radius: 0 !important;
  overflow: visible !important;
  pointer-events: none;
}

#products-page-layout .banner img {
  width: 100%;
  border-radius: 0 !important;
}

#products-page-layout #products-page-base-layout.grid-wrapper {
  display: block !important;
  max-width: 100% !important;
}

#products-page-layout .left-column {
  width: 100% !important;
}

#products-page-layout .right-column,
#products-page-layout .banners-above-sorting,
#products-page-layout .banners-above-monitoring,
#products-page-layout .banners-after-monitoring {
  display: none !important;
}

#products-page-layout .products-container {
  gap: 8px !important;
}

/* Category buttons */
#products-page-layout .products-types-buttons {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 auto 6px !important;
  padding: 0 0 2px !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 78, 0.55) rgba(0, 0, 0, 0.25);
}

#products-page-layout .products-types-buttons .app-button {
  position: relative;
  flex: 0 0 190px !important;
  width: 190px !important;
  min-height: 58px !important;
  height: 58px !important;
  padding: 0 14px 0 52px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(201, 168, 78, 0.25) !important;
  background:
    linear-gradient(90deg, rgba(201, 168, 78, 0.18), rgba(201, 168, 78, 0) 35%, rgba(201, 168, 78, 0) 65%, rgba(201, 168, 78, 0.14)),
    radial-gradient(circle at 18% 50%, rgba(201, 168, 78, 0.1), rgba(0, 0, 0, 0) 55%),
    rgba(10, 10, 10, 0.55) !important;
  color: var(--pm-gold-soft) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #000;
  white-space: nowrap;
  box-shadow: none !important;
}

#products-page-layout .products-types-buttons .app-button::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.95;
}

#products-page-layout .products-types-buttons .app-button:not([data-cid])::before {
  background-image: url("https://i.postimg.cc/qRkTSyHN/grid_view_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

#products-page-layout .products-types-buttons .app-button[data-cid="1"]::before {
  background-image: url("https://i.postimg.cc/3RKTVmQy/checkroom_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

#products-page-layout .products-types-buttons .app-button[data-cid="2"]::before {
  background-image: url("https://i.postimg.cc/d1qYprc3/tune_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

#products-page-layout .products-types-buttons .app-button[data-cid="3"]::before {
  background-image: url("https://i.postimg.cc/Pxtj9YnN/handyman_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

#products-page-layout .products-types-buttons .app-button[data-cid="4"]::before {
  background-image: url("https://i.postimg.cc/nzHJgBfj/inventory_2_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

#products-page-layout .products-types-buttons .app-button:hover,
#products-page-layout .products-types-buttons .app-button--active {
  background:
    linear-gradient(90deg, rgba(255, 211, 106, 0.22), rgba(201, 168, 78, 0.03) 40%, rgba(255, 211, 106, 0.18)),
    rgba(10, 10, 10, 0.72) !important;
  border-color: rgba(255, 215, 120, 0.75) !important;
  color: var(--pm-gold) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 140, 0.22) !important;
  transform: none !important;
}

/* Search */
#products-page-layout #search-input.search-input,
#products-page-layout .products-container > .search-input {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  margin: 4px auto 8px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(201, 168, 78, 0.2) !important;
  border-radius: 14px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 800 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
  box-shadow: none !important;
  outline: none !important;
}

#products-page-layout #search-input.search-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

#products-page-layout #search-input.search-input:focus {
  border-color: rgba(255, 211, 106, 0.58) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 211, 106, 0.18) !important;
}

/* Product grid and cards */
#products-page-layout .product-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 228.75px)) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 10px !important;
  width: 100% !important;
}

#products-page-layout .product-cards > [data-pid] {
  width: 228.75px !important;
  height: 228px !important;
  min-width: 0 !important;
}

#products-page-layout .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: var(--pm-card-frame-url) center / 100% 100% no-repeat !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.1s ease, background-color 0.1s ease !important;
  will-change: auto !important;
}

#products-page-layout .product-card:hover {
  filter: none !important;
  transform: none !important;
}

#products-page-layout .product-card-image-container {
  position: absolute !important;
  top: 12px !important;
  right: 10px !important;
  bottom: 46px !important;
  left: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  background: none !important;
  overflow: visible !important;
}

#products-page-layout .product-card-image-container img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: none !important;
}

#products-page-layout .product-card-footer {
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  left: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  height: 28px !important;
  max-height: 28px !important;
  padding: 0 !important;
  color: inherit !important;
  box-sizing: border-box !important;
}

#products-page-layout .product-card-name,
#products-page-layout .product-card-price {
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 8px !important;
  border: 1px solid rgba(201, 168, 78, 0.22) !important;
  border-radius: 9px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.95) !important;
}

#products-page-layout .product-card-name {
  flex: 1 1 auto !important;
  max-width: 62% !important;
  min-width: 0 !important;
  color: var(--pm-gold-soft) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.35px;
  text-overflow: ellipsis !important;
  text-transform: uppercase;
}

#products-page-layout .product-card-footer > div {
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

#products-page-layout .product-card-old-price {
  display: none !important;
}

#products-page-layout .product-card-price {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--pm-gold) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px;
  box-shadow: none !important;
}

#products-page-layout .product-card:hover .product-card-price {
  border-color: rgba(255, 211, 106, 0.5) !important;
  background: rgba(35, 25, 5, 0.78) !important;
  box-shadow: none !important;
}

#products-page-layout .product-card:hover .product-card-name {
  border-color: rgba(255, 211, 106, 0.38) !important;
}

#products-page-layout .product-card-badge-percentage,
#products-page-layout .product-card-badge-days,
#products-page-layout .product-card-label {
  background: rgba(0, 0, 0, 0.72) !important;
  border: 1px solid rgba(201, 168, 78, 0.28) !important;
  color: var(--pm-gold) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
  box-shadow: none !important;
}

#products-page-layout .product-card-badge-percentage {
  top: 8px !important;
  right: 8px !important;
  border-radius: 9px !important;
  padding: 1px 7px !important;
}

#products-page-layout .product-card-badge-days {
  top: 8px !important;
  left: 8px !important;
  border-radius: 9px !important;
}

/* Banners, monitoring, footer */
#products-page-layout .banner-elem,
#products-page-layout .monitoring {
  background: var(--pm-panel) !important;
  border: 1px solid var(--pm-border) !important;
  color: var(--pm-text) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
}

#products-page-layout .bunner-title {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
}

#products-page-layout .footer {
  color: rgba(255, 255, 255, 0.68) !important;
  text-shadow: 1px 1px 2px #000;
}

#products-page-layout .footer-link,
#products-page-layout .footer-link a,
#products-page-layout .footer a {
  color: rgba(255, 211, 106, 0.82) !important;
}

/* Product modal and shared modal controls */
#products-page-layout .modal-overlay {
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: none !important;
  transition: none !important;
}

#products-page-layout .modal {
  border: 1px solid rgba(201, 168, 78, 0.28) !important;
  border-radius: 26px !important;
  background:
    var(--pm-modal-bg-url) center / cover no-repeat,
    rgba(0, 0, 0, 0.86) !important;
  color: var(--pm-text) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.62) !important;
  overflow: hidden;
  transition: none !important;
  transform: none !important;
}

#products-page-layout .modal-content,
#products-page-layout .product-modal {
  background: transparent !important;
  color: var(--pm-text) !important;
}

#products-page-layout .product-modal-title,
#products-page-layout .recharge-panel-header {
  color: var(--pm-gold-soft) !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

#products-page-layout .product-modal-description {
  padding: 10px 12px !important;
  border: 1px solid rgba(201, 168, 78, 0.14) !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.45 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
}

#products-page-layout .amount-control-counter,
#products-page-layout .amount-control-total,
#products-page-layout .select-display,
#products-page-layout .select-options,
#products-page-layout .product-modal-inputs-zone-block,
#products-page-layout .recharge-panel-input {
  background: rgba(0, 0, 0, 0.65) !important;
  border: 1px solid rgba(201, 168, 78, 0.25) !important;
  color: var(--pm-gold-soft) !important;
  box-shadow: none !important;
}

#products-page-layout .amount-control-counter-button,
#products-page-layout .select-text,
#products-page-layout .amount-control-count,
#products-page-layout .amount-control-total,
#products-page-layout .amount-control-total-rub {
  color: var(--pm-gold) !important;
  font-weight: 900 !important;
}

#products-page-layout .select-option {
  color: rgba(255, 255, 255, 0.88) !important;
}

#products-page-layout .select-option:hover,
#products-page-layout .select-option.active {
  background: rgba(255, 211, 106, 0.14) !important;
  color: var(--pm-gold) !important;
}

#products-page-layout .modal-primary-button {
  border: 1px solid rgba(255, 211, 106, 0.55) !important;
  background: linear-gradient(180deg, rgba(255, 211, 106, 0.22), rgba(0, 0, 0, 0.2)) !important;
  color: var(--pm-gold) !important;
  box-shadow: none !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000 !important;
}

#products-page-layout .modal-primary-button *,
#products-page-layout .modal-primary-button-text {
  color: var(--pm-gold) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000 !important;
}

#products-page-layout .modal-close-button,
#products-page-layout .modal-close-button-text {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000 !important;
}

#products-page-layout .modal-close-button *,
#products-page-layout .modal-close-button-text {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000 !important;
}

/* Top-up modal */
#products-page-layout .modal:has(.recharge-panel) {
  width: min(820px, calc(100vw - 48px)) !important;
  max-width: min(820px, calc(100vw - 48px)) !important;
  border: 1px solid rgba(201, 168, 78, 0.38) !important;
  border-radius: 26px !important;
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.76), rgba(0, 0, 0, 0.8)),
    var(--pm-modal-bg-url) center / cover no-repeat,
    rgba(0, 0, 0, 0.78) !important;
  color: var(--pm-gold-soft) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.68),
    inset 0 0 0 1px rgba(255, 220, 160, 0.1) !important;
}

#products-page-layout .modal:has(.recharge-panel) .modal-content {
  padding: 0 !important;
  background: transparent !important;
}

#products-page-layout .modal:has(.recharge-panel) .modal-footer-buttons {
  align-items: center !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px 28px 28px !important;
  background: rgba(0, 0, 0, 0.28) !important;
}

#products-page-layout .recharge-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 40px 54px 18px !important;
  border: 0 !important;
  border-radius: 26px 26px 0 0 !important;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.48), rgba(0, 0, 0, 0.5)),
    rgba(0, 0, 0, 0.44) !important;
  color: var(--pm-gold-soft) !important;
  box-shadow: none !important;
  font-family: Manrope, sans-serif !important;
}

#products-page-layout .recharge-panel,
#products-page-layout .recharge-panel * {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.92);
}

#products-page-layout .recharge-panel-header {
  margin: 0 0 26px !important;
  color: var(--pm-gold-soft) !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: 1.4px !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

#products-page-layout .recharge-panel-section,
#products-page-layout .recharge-panel-title,
#products-page-layout .recharge-panel-label,
#products-page-layout .recharge-panel-amount-row > div,
#products-page-layout .recharge-panel label {
  color: var(--pm-gold-soft) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

#products-page-layout .recharge-panel-section {
  margin-bottom: 18px !important;
}

#products-page-layout .recharge-panel-title {
  margin: 16px 0 10px !important;
}

#products-page-layout .recharge-panel-providers {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  gap: 14px !important;
  width: min(460px, 100%) !important;
}

#products-page-layout .recharge-panel-provider {
  min-width: 0 !important;
  width: 100% !important;
  height: 78px !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(201, 168, 78, 0.36) !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.52) !important;
  color: var(--pm-gold-soft) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 160, 0.08),
    0 0 12px rgba(255, 211, 106, 0.08) !important;
  font-weight: 900 !important;
  transition: none !important;
}

#products-page-layout .recharge-panel-provider:hover,
#products-page-layout .recharge-panel-provider.selected {
  border-color: rgba(255, 211, 106, 0.68) !important;
  background: rgba(201, 168, 78, 0.14) !important;
  color: var(--pm-gold) !important;
}

#products-page-layout .recharge-panel-provider img {
  max-width: 120px !important;
  max-height: 38px !important;
  object-fit: contain !important;
  filter: brightness(1.14) contrast(1.12) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.85)) !important;
}

#products-page-layout .recharge-panel-provider img[src*="TBank"] {
  filter: invert(86%) sepia(39%) saturate(650%) hue-rotate(350deg) brightness(108%) contrast(98%) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9)) !important;
}

#products-page-layout .recharge-panel-provider,
#products-page-layout .recharge-panel-provider *,
#products-page-layout .recharge-panel-bonus-per-summ,
#products-page-layout .recharge-panel-bonus-per-summ * {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
}

#products-page-layout .recharge-panel-provider:hover *,
#products-page-layout .recharge-panel-provider.selected * {
  color: var(--pm-gold) !important;
}

#products-page-layout .recharge-panel-amount-row {
  gap: 14px !important;
}

#products-page-layout .recharge-panel-input,
#products-page-layout .recharge-panel input,
#products-page-layout .recharge-panel .text-input {
  min-height: 50px !important;
  border: 1px solid rgba(201, 168, 78, 0.42) !important;
  border-radius: 10px !important;
  background: rgba(0, 0, 0, 0.64) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.44),
    0 0 10px rgba(255, 211, 106, 0.08) !important;
}

#products-page-layout .recharge-panel-input {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#products-page-layout .recharge-panel-input-raw {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

#products-page-layout .recharge-panel-input *,
#products-page-layout .recharge-panel input,
#products-page-layout .recharge-panel .text-input {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#products-page-layout .recharge-panel-input-raw::placeholder,
#products-page-layout .recharge-panel input::placeholder,
#products-page-layout .recharge-panel .text-input::placeholder {
  color: rgba(231, 216, 173, 0.72) !important;
  -webkit-text-fill-color: rgba(231, 216, 173, 0.72) !important;
  opacity: 1 !important;
}

#products-page-layout .recharge-panel-input:focus-within,
#products-page-layout .recharge-panel input:focus,
#products-page-layout .recharge-panel .text-input:focus {
  border-color: rgba(255, 211, 106, 0.7) !important;
  outline: none !important;
  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, 0.52),
    0 0 14px rgba(255, 211, 106, 0.2) !important;
}

#products-page-layout .recharge-panel-bonuses {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 28px !important;
  margin-top: 22px !important;
}

#products-page-layout .recharge-panel-bonus-per-summ {
  justify-content: center !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

#products-page-layout .recharge-panel-bonus {
  min-width: 52px !important;
  padding: 3px 9px !important;
  border: 1px solid rgba(255, 211, 106, 0.38) !important;
  border-radius: 999px !important;
  background: rgba(255, 211, 106, 0.18) !important;
  color: var(--pm-gold) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

#products-page-layout .modal:has(.recharge-panel) .modal-primary-button {
  min-width: 150px !important;
  height: 50px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(255, 211, 106, 0.24), rgba(201, 168, 78, 0.1)) !important;
}

#products-page-layout .modal:has(.recharge-panel) .modal-close-button {
  height: 50px !important;
  margin-left: 0 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

#products-page-layout .modal-enter-active,
#products-page-layout .modal-leave-active,
#products-page-layout .modal-enter-active .modal,
#products-page-layout .modal-leave-active .modal,
.modal-enter-active,
.modal-leave-active,
.modal-enter-active .modal,
.modal-leave-active .modal {
  transition: none !important;
}

#products-page-layout .modal-enter-from,
#products-page-layout .modal-leave-to,
#products-page-layout .modal-enter-from .modal,
#products-page-layout .modal-leave-to .modal,
.modal-enter-from,
.modal-leave-to,
.modal-enter-from .modal,
.modal-leave-to .modal {
  opacity: 1 !important;
  transform: none !important;
}

/* Responsive */
@media (max-width: 1290px) {
  body.pm-products-page .wrapper {
    margin: 0 30px;
  }
}

@media (max-width: 992px) {
  #products-page-layout .navbar {
    border-radius: 0 0 14px 14px;
  }

  #products-page-layout .navbar-links {
    gap: 0 !important;
    background: rgba(8, 8, 8, 0.78) !important;
    border-top: 1px solid rgba(201, 168, 78, 0.16);
  }

  #products-page-layout .nav-item {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  #products-page-layout .products-types-buttons {
    justify-content: flex-start !important;
  }
}

@media (max-width: 700px) {
  #products-page-layout .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #products-page-layout .product-cards > [data-pid] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

@media (max-width: 520px) {
  body.pm-products-page .wrapper {
    margin: 0 12px;
  }

  #products-page-layout .modal:has(.recharge-panel) {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    border-radius: 18px !important;
  }

  #products-page-layout .recharge-panel {
    padding: 26px 16px 12px !important;
    border-radius: 18px 18px 0 0 !important;
  }

  #products-page-layout .recharge-panel-header {
    font-size: 21px !important;
    letter-spacing: 0.7px !important;
  }

  #products-page-layout .recharge-panel-providers,
  #products-page-layout .recharge-panel-bonuses {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  #products-page-layout .modal:has(.recharge-panel) .modal-footer-buttons {
    padding: 4px 16px 18px !important;
    gap: 12px !important;
  }

  #products-page-layout .product-cards {
    grid-template-columns: minmax(0, 260px) !important;
  }

  #products-page-layout .products-types-buttons .app-button {
    flex-basis: 178px !important;
    width: 178px !important;
    font-size: 12px !important;
  }
}

/* Profile and account pages */
body.pm-profile-page {
  min-height: 100vh;
}

body.pm-profile-page .app-wrapper {
  --main-white-color: rgba(8, 8, 8, 0.66);
  --main-bg-color: transparent;
  --main-white-gray-color: rgba(8, 8, 8, 0.52);
  --header-background: rgba(8, 8, 8, 0.68);
  --main-text-color: rgba(255, 255, 255, 0.92);
  --text-body: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(231, 216, 173, 0.6);
  --muted-heading: var(--pm-gold-soft);
  --muted-desc: rgba(255, 255, 255, 0.76);
  --muted-2: rgba(255, 255, 255, 0.55);
  --muted-4: rgba(201, 168, 78, 0.18);
  --muted-5: rgba(201, 168, 78, 0.36);
  --muted-6: rgba(255, 255, 255, 0.58);
  --main-dark-color: #090909;
  --dark-2: rgba(255, 255, 255, 0.86);
  --bg-muted: rgba(0, 0, 0, 0.45);
  --panel-bg: rgba(0, 0, 0, 0.55);
  --panel-bg-2: rgba(201, 168, 78, 0.12);
  --border-muted: rgba(201, 168, 78, 0.24);
  --success-color: #d8b85e;
  --primary: #d8b85e;
  --accent: #ffd36a;
  --accent-2: #d8b85e;
  --error-color: #b85c5c;

  min-height: 100vh;
  color: var(--pm-text) !important;
}

[id^="profile-"][id$="-page-layout"] {
  --main-white-color: rgba(8, 8, 8, 0.66);
  --main-bg-color: transparent;
  --main-white-gray-color: rgba(8, 8, 8, 0.52);
  --header-background: rgba(8, 8, 8, 0.68);
  --main-text-color: rgba(255, 255, 255, 0.92);
  --text-body: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(231, 216, 173, 0.6);
  --muted-heading: var(--pm-gold-soft);
  --muted-desc: rgba(255, 255, 255, 0.76);
  --muted-2: rgba(255, 255, 255, 0.55);
  --muted-4: rgba(201, 168, 78, 0.18);
  --muted-5: rgba(201, 168, 78, 0.36);
  --muted-6: rgba(255, 255, 255, 0.58);
  --main-dark-color: #090909;
  --dark-2: rgba(255, 255, 255, 0.86);
  --bg-muted: rgba(0, 0, 0, 0.45);
  --panel-bg: rgba(0, 0, 0, 0.55);
  --panel-bg-2: rgba(201, 168, 78, 0.12);
  --border-muted: rgba(201, 168, 78, 0.24);
  --success-color: #d8b85e;
  --primary: #d8b85e;
  --accent: #ffd36a;
  --accent-2: #d8b85e;
  --error-color: #b85c5c;

  min-height: 100vh;
  color: var(--pm-text) !important;
}

body.pm-profile-page .wrapper {
  width: auto !important;
  max-width: 1270px;
  box-sizing: border-box;
}

body.pm-profile-page header.wrapper,
body.pm-profile-page footer.wrapper {
  max-width: 1450px;
}

[id^="profile-"][id$="-page-layout"] .navbar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 72px;
  height: auto !important;
  margin-bottom: 10px !important;
  padding: 0 18px !important;
  overflow: visible !important;
  background:
    linear-gradient(90deg, rgba(201, 168, 78, 0.16), rgba(0, 0, 0, 0) 28%, rgba(201, 168, 78, 0.12)),
    rgba(8, 8, 8, 0.68) !important;
  border: 1px solid var(--pm-border);
  border-top: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38);
}

[id^="profile-"][id$="-page-layout"] .navbar-links,
[id^="profile-"][id$="-page-layout"] .navbar-nav,
[id^="profile-"][id$="-page-layout"] .auth-btns {
  min-width: 0 !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-content: center !important;
  align-items: center !important;
  gap: 8px 12px !important;
  width: auto !important;
  max-width: calc(100% - 280px) !important;
  height: auto !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-nav,
[id^="profile-"][id$="-page-layout"] .auth-btns {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px 8px !important;
  width: auto !important;
  height: auto !important;
}

[id^="profile-"][id$="-page-layout"] .auth-btn,
[id^="profile-"][id$="-page-layout"] .balance-btn,
[id^="profile-"][id$="-page-layout"] .profile-btn,
[id^="profile-"][id$="-page-layout"] .lang-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: none !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-mobile {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 260px !important;
  height: 72px !important;
}

[id^="profile-"][id$="-page-layout"] .mobile-buttons {
  display: none !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-brand {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 54px) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (min-width: 993px) {
  [id^="profile-"][id$="-page-layout"] .navbar-brand {
    flex: 0 0 auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

[id^="profile-"][id$="-page-layout"] .navbar-toggler {
  position: relative !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 40px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 211, 106, 0.4) !important;
  border-radius: 10px !important;
  background: rgba(0, 0, 0, 0.42) !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: none !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-toggler::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 22px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--pm-gold) !important;
  box-shadow:
    0 -7px 0 var(--pm-gold),
    0 7px 0 var(--pm-gold) !important;
  transform: translate(-50%, -50%) !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-toggler-icon,
[id^="profile-"][id$="-page-layout"] .navbar-toggler-icon::before,
[id^="profile-"][id$="-page-layout"] .navbar-toggler-icon::after {
  position: absolute !important;
  left: 50% !important;
  width: 22px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--pm-gold) !important;
  color: transparent !important;
  font-size: 0 !important;
  content: "" !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-toggler-icon {
  top: 50% !important;
  display: block !important;
  transform: translate(-50%, -50%) !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-toggler-icon::before {
  top: -7px !important;
  transform: translateX(-50%) !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-toggler-icon::after {
  top: 7px !important;
  transform: translateX(-50%) !important;
}

[id^="profile-"][id$="-page-layout"] .navbar-brand,
[id^="profile-"][id$="-page-layout"] .profile-sidebar__title {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
}

[id^="profile-"][id$="-page-layout"] .nav-link,
[id^="profile-"][id$="-page-layout"] .auth-btn,
[id^="profile-"][id$="-page-layout"] .balance-btn,
[id^="profile-"][id$="-page-layout"] .profile-btn,
[id^="profile-"][id$="-page-layout"] .lang-label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

[id^="profile-"][id$="-page-layout"] .balance-btn {
  color: var(--pm-gold) !important;
}

[id^="profile-"][id$="-page-layout"] .nav-item:hover,
[id^="profile-"][id$="-page-layout"] .nav-link:hover,
[id^="profile-"][id$="-page-layout"] .auth-btn:hover,
[id^="profile-"][id$="-page-layout"] .balance-btn:hover,
[id^="profile-"][id$="-page-layout"] .profile-btn:hover {
  background: rgba(255, 211, 106, 0.11) !important;
  color: var(--pm-gold) !important;
  text-decoration: none !important;
}

[id^="profile-"][id$="-page-layout"] [id^="profile-"][id$="-base-layout"].grid-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 2.45fr) minmax(260px, 0.85fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

[id^="profile-"][id$="-page-layout"] .left-column,
[id^="profile-"][id$="-page-layout"] .right-column {
  min-width: 0 !important;
}

[id^="profile-"][id$="-page-layout"] .profile-info,
[id^="profile-"][id$="-page-layout"] .profile-sidebar,
[id^="profile-"][id$="-page-layout"] .form,
[id^="profile-"][id$="-page-layout"] .table-wrapper,
[id^="profile-"][id$="-page-layout"] .table-body,
[id^="profile-"][id$="-page-layout"] .recharge-panel,
[id^="profile-"][id$="-page-layout"] .empty-box {
  background: rgba(8, 8, 8, 0.66) !important;
  border: 1px solid rgba(201, 168, 78, 0.24) !important;
  border-radius: 18px !important;
  color: var(--pm-text) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38) !important;
  overflow: hidden;
}

[id^="profile-"][id$="-page-layout"] .profile-info {
  padding: 8px !important;
}

[id^="profile-"][id$="-page-layout"] .profile-info__table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 6px !important;
  background: transparent !important;
}

[id^="profile-"][id$="-page-layout"] .profile-info__row {
  display: flex !important;
  margin: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.26) !important;
  transition: none !important;
}

[id^="profile-"][id$="-page-layout"] .profile-info__row:nth-child(even) {
  background: rgba(255, 255, 255, 0.04) !important;
}

[id^="profile-"][id$="-page-layout"] .profile-info__row:hover {
  background: rgba(201, 168, 78, 0.1) !important;
}

[id^="profile-"][id$="-page-layout"] .profile-info__cell {
  width: 50% !important;
  padding: 16px 18px !important;
  border: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800 !important;
  text-shadow: 1px 1px 2px #000;
}

[id^="profile-"][id$="-page-layout"] .profile-info__cell--header {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

[id^="profile-"][id$="-page-layout"] .profile-info__cell a,
[id^="profile-"][id$="-page-layout"] .table a,
[id^="profile-"][id$="-page-layout"] .empty-description a {
  color: #7cc7ff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

[id^="profile-"][id$="-page-layout"] .profile-info__cell a:hover,
[id^="profile-"][id$="-page-layout"] .table a:hover,
[id^="profile-"][id$="-page-layout"] .empty-description a:hover {
  color: #b6e3ff !important;
  text-decoration: underline !important;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar {
  padding: 0 !important;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__header {
  margin: 0 !important;
  padding: 16px 18px !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(201, 168, 78, 0.18);
  background: rgba(255, 255, 255, 0.05) !important;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__title {
  margin: 0 !important;
  font-size: 16px !important;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__list {
  display: grid !important;
  gap: 6px !important;
  padding: 8px !important;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__item {
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.26) !important;
  transition: none !important;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__link {
  display: block !important;
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: 1px 1px 2px #000;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__link:hover,
[id^="profile-"][id$="-page-layout"] .profile-sidebar__link--active {
  background: rgba(201, 168, 78, 0.15) !important;
  color: var(--pm-gold) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 160, 0.18) !important;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__footer {
  margin: 8px !important;
  border: 1px dashed rgba(255, 120, 120, 0.65) !important;
  border-radius: 12px !important;
  color: rgba(255, 200, 200, 0.95) !important;
  background: rgba(140, 20, 20, 0.24) !important;
  overflow: hidden;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__footer .profile-sidebar__link {
  color: rgba(255, 210, 210, 0.96) !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
}

[id^="profile-"][id$="-page-layout"] .profile-sidebar__footer .profile-sidebar__link:hover {
  color: #ffffff !important;
  background: rgba(180, 30, 30, 0.34) !important;
}

[id^="profile-"][id$="-page-layout"] .table {
  width: 100% !important;
  border: 1px solid rgba(201, 168, 78, 0.2) !important;
  border-radius: 14px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.28) !important;
}

[id^="profile-"][id$="-page-layout"] .table thead,
[id^="profile-"][id$="-page-layout"] .table th {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

[id^="profile-"][id$="-page-layout"] .table td,
[id^="profile-"][id$="-page-layout"] .table th {
  padding: 12px 14px !important;
  border-color: rgba(201, 168, 78, 0.14) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 1px 1px 2px #000;
}

[id^="profile-"][id$="-page-layout"] .table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.04) !important;
}

[id^="profile-"][id$="-page-layout"] .table tbody tr:hover {
  background: rgba(201, 168, 78, 0.1) !important;
}

[id^="profile-"][id$="-page-layout"] .text-input,
[id^="profile-"][id$="-page-layout"] input,
[id^="profile-"][id$="-page-layout"] select,
[id^="profile-"][id$="-page-layout"] textarea,
[id^="profile-"][id$="-page-layout"] .recharge-panel-input {
  border: 1px solid rgba(201, 168, 78, 0.25) !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  outline: none !important;
}

[id^="profile-"][id$="-page-layout"] input::placeholder,
[id^="profile-"][id$="-page-layout"] textarea::placeholder {
  color: rgba(231, 216, 173, 0.5) !important;
}

[id^="profile-"][id$="-page-layout"] input:focus,
[id^="profile-"][id$="-page-layout"] select:focus,
[id^="profile-"][id$="-page-layout"] textarea:focus,
[id^="profile-"][id$="-page-layout"] .text-input:focus {
  border-color: rgba(255, 211, 106, 0.55) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 211, 106, 0.15) !important;
}

[id^="profile-"][id$="-page-layout"] .promo-wrapper .promo-button,
[id^="profile-"][id$="-page-layout"] .app-button,
[id^="profile-"][id$="-page-layout"] button:not(.navbar-toggler):not(.profile-sidebar__link) {
  border: 1px solid rgba(255, 211, 106, 0.45) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(255, 211, 106, 0.18), rgba(0, 0, 0, 0.28)) !important;
  color: var(--pm-gold) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
  box-shadow: none !important;
}

[id^="profile-"][id$="-page-layout"] .promo-wrapper .promo-button:hover,
[id^="profile-"][id$="-page-layout"] .app-button:hover,
[id^="profile-"][id$="-page-layout"] button:not(.navbar-toggler):not(.profile-sidebar__link):hover {
  background: rgba(201, 168, 78, 0.18) !important;
  color: var(--pm-gold) !important;
}

[id^="profile-"][id$="-page-layout"] .empty-icon {
  background: rgba(201, 168, 78, 0.14) !important;
  color: var(--pm-gold) !important;
}

[id^="profile-"][id$="-page-layout"] .empty-title,
[id^="profile-"][id$="-page-layout"] .recharge-panel-header,
[id^="profile-"][id$="-page-layout"] .recharge-panel-title,
[id^="profile-"][id$="-page-layout"] .recharge-panel-label {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
}

[id^="profile-"][id$="-page-layout"] .empty-description,
[id^="profile-"][id$="-page-layout"] .recharge-panel-section,
[id^="profile-"][id$="-page-layout"] .recharge-panel {
  color: rgba(255, 255, 255, 0.86) !important;
}

[id^="profile-"][id$="-page-layout"] .footer {
  color: rgba(255, 255, 255, 0.68) !important;
  text-shadow: 1px 1px 2px #000;
}

[id^="profile-"][id$="-page-layout"] .footer-link,
[id^="profile-"][id$="-page-layout"] .footer-link a,
[id^="profile-"][id$="-page-layout"] .footer a {
  color: rgba(255, 211, 106, 0.82) !important;
}

/* Shared account pages: rentals, purchases, payments, promocodes, transfers */
body.pm-profile-page .navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  min-height: 72px !important;
  height: auto !important;
  padding: 0 18px !important;
  overflow: visible !important;
  background:
    linear-gradient(90deg, rgba(201, 168, 78, 0.16), rgba(0, 0, 0, 0) 28%, rgba(201, 168, 78, 0.12)),
    rgba(8, 8, 8, 0.68) !important;
  border: 1px solid var(--pm-border) !important;
  border-top: 0 !important;
  border-bottom-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38) !important;
}

body.pm-profile-page .navbar-mobile {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 260px !important;
  height: 72px !important;
}

body.pm-profile-page .navbar-links {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-content: center !important;
  align-items: center !important;
  gap: 8px 18px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: calc(100% - 280px) !important;
  height: auto !important;
  text-align: center !important;
}

body.pm-profile-page .navbar-nav,
body.pm-profile-page .auth-btns {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  flex: 0 1 auto !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  width: auto !important;
  height: auto !important;
}

body.pm-profile-page .nav-item,
body.pm-profile-page .auth-btn,
body.pm-profile-page .balance-btn,
body.pm-profile-page .profile-btn,
body.pm-profile-page .lang-label {
  width: auto !important;
  min-height: 34px !important;
  height: auto !important;
}

body.pm-profile-page .nav-link,
body.pm-profile-page .auth-btn,
body.pm-profile-page .balance-btn,
body.pm-profile-page .profile-btn,
body.pm-profile-page .lang-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 12px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-shadow: 1px 1px 2px #000;
  white-space: nowrap !important;
}

body.pm-profile-page .balance-btn {
  color: var(--pm-gold) !important;
}

body.pm-profile-page .navbar-brand,
body.pm-profile-page main.wrapper h1,
body.pm-profile-page main.wrapper h2,
body.pm-profile-page main.wrapper h3 {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
}

@media (min-width: 993px) {
  body.pm-profile-page .navbar {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  body.pm-profile-page .navbar-mobile {
    width: auto !important;
    min-width: 260px !important;
    height: 72px !important;
  }

  body.pm-profile-page .mobile-buttons {
    display: none !important;
  }

  body.pm-profile-page .navbar-brand {
    max-width: none !important;
  }

  body.pm-profile-page .navbar-links,
  body.pm-profile-page .navbar-nav,
  body.pm-profile-page .auth-btns {
    flex-direction: row !important;
    width: auto !important;
  }

  body.pm-profile-page .navbar-links {
    max-width: calc(100% - 280px) !important;
  }
}

body.pm-profile-page main.wrapper h1,
body.pm-profile-page main.wrapper h2,
body.pm-profile-page main.wrapper h3 {
  margin: 0 0 14px !important;
  font-size: 22px !important;
  letter-spacing: 0.2px;
}

body.pm-profile-page main.wrapper .left-column > h1,
body.pm-profile-page main.wrapper .left-column > h2,
body.pm-profile-page main.wrapper .left-column > h3 {
  padding: 0 2px !important;
}

body.pm-profile-page .grid-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 2.45fr) minmax(260px, 0.85fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

body.pm-profile-page .left-column,
body.pm-profile-page .right-column {
  min-width: 0 !important;
}

body.pm-profile-page .profile-sidebar,
body.pm-profile-page .profile-info,
body.pm-profile-page .table-wrapper,
body.pm-profile-page .table-body,
body.pm-profile-page .recharge-panel,
body.pm-profile-page .empty-box {
  background: rgba(8, 8, 8, 0.66) !important;
  border: 1px solid rgba(201, 168, 78, 0.24) !important;
  border-radius: 18px !important;
  color: var(--pm-text) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38) !important;
  overflow: hidden;
}

body.pm-profile-page main.wrapper table,
body.pm-profile-page .table {
  width: 100% !important;
  border: 1px solid rgba(201, 168, 78, 0.22) !important;
  border-radius: 14px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  background: rgba(8, 8, 8, 0.66) !important;
  color: var(--pm-text) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32) !important;
}

body.pm-profile-page main.wrapper table thead,
body.pm-profile-page main.wrapper table th,
body.pm-profile-page .table thead,
body.pm-profile-page .table th {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #000;
}

body.pm-profile-page main.wrapper table td,
body.pm-profile-page main.wrapper table th,
body.pm-profile-page .table td,
body.pm-profile-page .table th {
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(201, 168, 78, 0.12) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800 !important;
  text-align: center;
  text-shadow: 1px 1px 2px #000;
}

body.pm-profile-page main.wrapper table tbody tr:nth-child(even),
body.pm-profile-page .table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.04) !important;
}

body.pm-profile-page main.wrapper table tbody tr:hover,
body.pm-profile-page .table tbody tr:hover {
  background: rgba(201, 168, 78, 0.1) !important;
}

body.pm-profile-page main.wrapper table td[colspan],
body.pm-profile-page .table td[colspan] {
  padding: 18px 16px !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 900 !important;
  text-align: center !important;
}

body.pm-profile-page main.wrapper nav a,
body.pm-profile-page main.wrapper nav span,
body.pm-profile-page main.wrapper .pagination a,
body.pm-profile-page main.wrapper .pagination span,
body.pm-profile-page main.wrapper .app-button {
  border: 1px solid rgba(201, 168, 78, 0.28) !important;
  border-radius: 10px !important;
  background: rgba(8, 8, 8, 0.52) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  text-shadow: 1px 1px 2px #000;
}

body.pm-profile-page main.wrapper nav a:hover,
body.pm-profile-page main.wrapper .pagination a:hover,
body.pm-profile-page main.wrapper .app-button:hover,
body.pm-profile-page main.wrapper .app-button--active {
  background: rgba(201, 168, 78, 0.16) !important;
  color: var(--pm-gold) !important;
}

body.pm-profile-page main.wrapper nav span[aria-current],
body.pm-profile-page main.wrapper .pagination .active,
body.pm-profile-page main.wrapper .pagination [aria-current] {
  background: rgba(201, 168, 78, 0.18) !important;
  color: var(--pm-gold) !important;
}

body.pm-profile-page .profile-sidebar__header {
  background: rgba(255, 255, 255, 0.05) !important;
}

body.pm-profile-page .profile-sidebar__title {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #000;
}

body.pm-profile-page .profile-sidebar__item {
  background: rgba(0, 0, 0, 0.26) !important;
}

body.pm-profile-page .profile-sidebar__link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
}

body.pm-profile-page .profile-sidebar__link:hover,
body.pm-profile-page .profile-sidebar__link--active {
  background: rgba(201, 168, 78, 0.15) !important;
  color: var(--pm-gold) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 160, 0.18) !important;
}

body.pm-profile-page .profile-sidebar__footer {
  border-color: rgba(255, 120, 120, 0.65) !important;
  background: rgba(140, 20, 20, 0.24) !important;
}

body.pm-profile-page .profile-sidebar__footer .profile-sidebar__link {
  color: rgba(255, 210, 210, 0.96) !important;
}

body.pm-profile-page .footer {
  color: rgba(255, 255, 255, 0.68) !important;
  text-shadow: 1px 1px 2px #000;
}

body.pm-profile-page .footer a,
body.pm-profile-page .footer-link {
  color: rgba(255, 211, 106, 0.82) !important;
}

/* Account subpages can have ids like product-assignments-index-page-layout. */
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) {
  --main-white-color: rgba(8, 8, 8, 0.66);
  --main-bg-color: transparent;
  --main-white-gray-color: rgba(8, 8, 8, 0.52);
  --header-background: rgba(8, 8, 8, 0.68);
  --main-text-color: rgba(255, 255, 255, 0.92);
  --text-body: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(231, 216, 173, 0.6);
  --muted-heading: var(--pm-gold-soft);
  --muted-desc: rgba(255, 255, 255, 0.76);
  --main-dark-color: #090909;
  --dark-2: rgba(255, 255, 255, 0.86);
  --bg-muted: rgba(0, 0, 0, 0.45);
  --panel-bg: rgba(0, 0, 0, 0.55);
  --panel-bg-2: rgba(201, 168, 78, 0.12);
  --border-muted: rgba(201, 168, 78, 0.24);
  --success-color: #d8b85e;
  --primary: #d8b85e;
  --accent: #ffd36a;
  --accent-2: #d8b85e;
  --error-color: #b85c5c;

  min-height: 100vh;
  color: var(--pm-text) !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .navbar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 72px !important;
  height: auto !important;
  padding: 0 18px !important;
  overflow: visible !important;
  background:
    linear-gradient(90deg, rgba(201, 168, 78, 0.16), rgba(0, 0, 0, 0) 28%, rgba(201, 168, 78, 0.12)),
    rgba(8, 8, 8, 0.68) !important;
  border: 1px solid var(--pm-border) !important;
  border-top: 0 !important;
  border-bottom-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38) !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .navbar-mobile {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 260px !important;
  height: 72px !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .mobile-buttons {
  display: none !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .navbar-links,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .navbar-nav,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .auth-btns {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  gap: 6px 8px !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .navbar-links {
  flex: 1 1 auto !important;
  max-width: calc(100% - 280px) !important;
  gap: 8px 18px !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .navbar-brand,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) main.wrapper h1,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) main.wrapper h2,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) main.wrapper h3 {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .nav-link,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .auth-btn,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .balance-btn,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .profile-btn,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .lang-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 34px !important;
  height: auto !important;
  padding: 8px 12px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-shadow: 1px 1px 2px #000;
  white-space: nowrap !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .balance-btn {
  color: var(--pm-gold) !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .grid-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 2.45fr) minmax(260px, 0.85fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .profile-sidebar,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .table-wrapper,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .table-body,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .recharge-panel {
  background: rgba(8, 8, 8, 0.66) !important;
  border: 1px solid rgba(201, 168, 78, 0.24) !important;
  border-radius: 18px !important;
  color: var(--pm-text) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38) !important;
  overflow: hidden;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) main.wrapper table {
  width: 100% !important;
  border: 1px solid rgba(201, 168, 78, 0.22) !important;
  border-radius: 14px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  background: rgba(8, 8, 8, 0.66) !important;
  color: var(--pm-text) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32) !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) main.wrapper table th,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) main.wrapper table td {
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(201, 168, 78, 0.12) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-shadow: 1px 1px 2px #000;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) main.wrapper table th {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) main.wrapper table td[colspan] {
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 900 !important;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .profile-sidebar__title,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .profile-sidebar__link {
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
}

:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .profile-sidebar__link:hover,
:is(
  [id^="product-assignments-"][id$="-page-layout"],
  [id^="purchases-"][id$="-page-layout"],
  [id^="payments-"][id$="-page-layout"],
  [id^="promocodes-"][id$="-page-layout"],
  [id^="transfers-"][id$="-page-layout"]
) .profile-sidebar__link--active {
  background: rgba(201, 168, 78, 0.15) !important;
  color: var(--pm-gold) !important;
}

@media (max-width: 1290px) {
  body.pm-profile-page .wrapper {
    margin: 0 30px;
    max-width: calc(100% - 60px) !important;
  }
}

@media (max-width: 999px) {
  [id^="profile-"][id$="-page-layout"] [id^="profile-"][id$="-base-layout"].grid-wrapper {
    grid-template-columns: 1fr !important;
  }

  body.pm-profile-page .grid-wrapper {
    grid-template-columns: 1fr !important;
  }

  [id^="profile-"][id$="-page-layout"] .right-column {
    order: -1;
  }

  body.pm-profile-page .right-column {
    order: -1;
  }

  [id^="profile-"][id$="-page-layout"] .profile-sidebar__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.pm-profile-page .profile-sidebar__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.pm-profile-page .wrapper {
    margin: 0 12px;
    max-width: calc(100% - 24px) !important;
  }

  body.pm-profile-page .navbar {
    flex-direction: column !important;
  }

  body.pm-profile-page .navbar-mobile {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.pm-profile-page .navbar-links,
  body.pm-profile-page .navbar-nav,
  body.pm-profile-page .auth-btns {
    width: 100% !important;
  }

  body.pm-profile-page main.wrapper .left-column {
    overflow-x: auto;
  }

  body.pm-profile-page main.wrapper table:not(.profile-info__table),
  body.pm-profile-page .table:not(.profile-info__table) {
    min-width: 560px;
  }

  [id^="profile-"][id$="-page-layout"] .navbar,
  [id^="profile-"][id$="-page-layout"] .navbar-mobile {
    position: relative !important;
  }

  [id^="profile-"][id$="-page-layout"] .navbar-mobile {
    padding-right: 54px !important;
  }

  [id^="profile-"][id$="-page-layout"] .mobile-buttons {
    display: flex !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 4 !important;
  }

  [id^="profile-"][id$="-page-layout"] .navbar-toggler {
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 1000 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  [id^="profile-"][id$="-page-layout"] .profile-info__row,
  [id^="profile-"][id$="-page-layout"] .profile-info__cell {
    display: block !important;
    width: 100% !important;
  }

  [id^="profile-"][id$="-page-layout"] .profile-info__cell--header {
    padding-bottom: 4px !important;
  }

  [id^="profile-"][id$="-page-layout"] .profile-sidebar__list {
    grid-template-columns: 1fr;
  }

  body.pm-profile-page .profile-sidebar__list {
    grid-template-columns: 1fr;
  }
}

@supports selector(body:has(#products-page-layout)) {
  body:has(#products-page-layout) {
    min-height: 100vh;
  }

  body:has(#products-page-layout) .wrapper {
    max-width: 1450px;
  }

  @media (max-width: 1290px) {
    body:has(#products-page-layout) .wrapper {
      margin: 0 30px;
    }
  }

  @media (max-width: 520px) {
    body:has(#products-page-layout) .wrapper {
      margin: 0 12px;
    }
  }
}

@supports selector(body:has([id^="profile-"][id$="-page-layout"])) {
  body:has([id^="profile-"][id$="-page-layout"]) {
    min-height: 100vh;
  }

  body:has([id^="profile-"][id$="-page-layout"]) .wrapper {
    width: auto !important;
    max-width: 1270px;
    box-sizing: border-box;
  }

  body:has([id^="profile-"][id$="-page-layout"]) header.wrapper,
  body:has([id^="profile-"][id$="-page-layout"]) footer.wrapper {
    max-width: 1450px;
  }

  @media (max-width: 1290px) {
    body:has([id^="profile-"][id$="-page-layout"]) .wrapper {
      margin: 0 30px;
      max-width: calc(100% - 60px) !important;
    }
  }

  @media (max-width: 620px) {
    body:has([id^="profile-"][id$="-page-layout"]) .wrapper {
      margin: 0 12px;
      max-width: calc(100% - 24px) !important;
    }
  }
}

/* Main page compatibility for the 2026 HOTLINETRADE template.
   The new products page no longer has #products-page-layout, so the shop skin is scoped by body.pm-products-page. */
body.pm-products-page {
  min-height: 100vh;
  background: var(--pm-bg-url, url("https://i.postimg.cc/bN42hF5j/BBACK.png")) center / cover no-repeat fixed !important;
  overflow-x: hidden;
}

body.pm-products-page .app-wrapper {
  --main-white-color: rgba(8, 8, 8, 0.66);
  --main-bg-color: transparent;
  --main-white-gray-color: rgba(8, 8, 8, 0.52);
  --header-background: rgba(8, 8, 8, 0.68);
  --main-text-color: rgba(255, 255, 255, 0.92);
  --text-body: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(231, 216, 173, 0.58);
  --muted-heading: var(--pm-gold-soft);
  --muted-desc: rgba(255, 255, 255, 0.76);
  --muted-4: rgba(201, 168, 78, 0.18);
  --muted-5: rgba(201, 168, 78, 0.36);
  --muted-6: rgba(255, 255, 255, 0.58);
  --main-dark-color: #090909;
  --bg-muted: rgba(0, 0, 0, 0.45);
  --panel-bg: rgba(0, 0, 0, 0.55);
  --panel-bg-2: rgba(201, 168, 78, 0.12);
  --border-muted: rgba(201, 168, 78, 0.24);
  --success-color: #d8b85e;
  --primary: #d8b85e;
  --accent: #ffd36a;
  --accent-2: #d8b85e;
  color: var(--pm-text) !important;
  background-color: transparent !important;
  overflow-x: hidden;
}

body.pm-products-page .wrapper {
  max-width: 1450px !important;
}

body.pm-products-page .navbar {
  min-height: 72px;
  height: auto !important;
  margin-bottom: 8px !important;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(201, 168, 78, 0.16), rgba(0, 0, 0, 0) 28%, rgba(201, 168, 78, 0.12)),
    rgba(8, 8, 8, 0.68) !important;
  border: 1px solid var(--pm-border);
  border-top: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38);
}

body.pm-products-page .navbar__brand,
body.pm-products-page .navbar__brand p {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.95);
}

body.pm-products-page .navbar__nav-item,
body.pm-products-page .nav-link,
body.pm-products-page .navbar__btn,
body.pm-products-page .navbar__btn--auth,
body.pm-products-page .navbar__btn--balance,
body.pm-products-page .navbar__btn--profile,
body.pm-products-page .lang-label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

body.pm-products-page .navbar__btn--balance {
  color: var(--pm-gold) !important;
}

body.pm-products-page .navbar__nav-item:hover,
body.pm-products-page .nav-link:hover,
body.pm-products-page .navbar__btn:hover {
  background: rgba(255, 211, 106, 0.11) !important;
  color: var(--pm-gold) !important;
  text-decoration: none !important;
}

body.pm-products-page .language-switcher {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

body.pm-products-page .lang-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 66px !important;
  height: 100% !important;
  padding: 0 14px !important;
  white-space: nowrap !important;
  text-transform: uppercase;
}

body.pm-products-page .flag {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin-right: 0 !important;
}

body.pm-products-page .dropdown {
  background: rgba(8, 8, 8, 0.92) !important;
  border: 1px solid var(--pm-border);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

body.pm-products-page .dropdown li {
  color: var(--pm-text) !important;
}

body.pm-products-page .banner {
  margin: 0 0 6px !important;
  border-radius: 0 !important;
  overflow: visible !important;
  pointer-events: none;
}

body.pm-products-page .banner img {
  width: 100%;
  border-radius: 0 !important;
}

body.pm-products-page #products-page-base-layout.grid-wrapper,
body.pm-products-page main.wrapper > .grid-wrapper:has(.products-container) {
  display: block !important;
  max-width: 100% !important;
}

body.pm-products-page .left-column {
  width: 100% !important;
}

body.pm-products-page main.wrapper > .grid-wrapper:has(.products-container) > .right-column,
body.pm-products-page .banners-above-sorting,
body.pm-products-page .banners-above-monitoring,
body.pm-products-page .banners-after-monitoring {
  display: none !important;
}

body.pm-products-page .products-container {
  gap: 8px !important;
}

body.pm-products-page .products-types-buttons {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 auto 6px !important;
  padding: 0 0 2px !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 78, 0.55) rgba(0, 0, 0, 0.25);
}

body.pm-products-page .products-types-buttons .app-button {
  position: relative;
  flex: 0 0 190px !important;
  width: 190px !important;
  min-height: 58px !important;
  height: 58px !important;
  padding: 0 14px 0 52px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(201, 168, 78, 0.25) !important;
  background:
    linear-gradient(90deg, rgba(201, 168, 78, 0.18), rgba(201, 168, 78, 0) 35%, rgba(201, 168, 78, 0) 65%, rgba(201, 168, 78, 0.14)),
    radial-gradient(circle at 18% 50%, rgba(201, 168, 78, 0.1), rgba(0, 0, 0, 0) 55%),
    rgba(10, 10, 10, 0.55) !important;
  color: var(--pm-gold-soft) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #000;
  white-space: nowrap;
  box-shadow: none !important;
}

body.pm-products-page .products-types-buttons .app-button::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.95;
}

body.pm-products-page .products-types-buttons .app-button:not([data-cid])::before {
  background-image: url("https://i.postimg.cc/qRkTSyHN/grid_view_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

body.pm-products-page .products-types-buttons .app-button[data-cid="1"]::before {
  background-image: url("https://i.postimg.cc/3RKTVmQy/checkroom_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

body.pm-products-page .products-types-buttons .app-button[data-cid="2"]::before {
  background-image: url("https://i.postimg.cc/d1qYprc3/tune_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

body.pm-products-page .products-types-buttons .app-button[data-cid="3"]::before {
  background-image: url("https://i.postimg.cc/Pxtj9YnN/handyman_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

body.pm-products-page .products-types-buttons .app-button[data-cid="4"]::before {
  background-image: url("https://i.postimg.cc/nzHJgBfj/inventory_2_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png");
}

body.pm-products-page .products-types-buttons .app-button:hover,
body.pm-products-page .products-types-buttons .app-button--active {
  background:
    linear-gradient(90deg, rgba(255, 211, 106, 0.22), rgba(201, 168, 78, 0.03) 40%, rgba(255, 211, 106, 0.18)),
    rgba(10, 10, 10, 0.72) !important;
  border-color: rgba(255, 215, 120, 0.75) !important;
  color: var(--pm-gold) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 140, 0.22) !important;
  transform: none !important;
}

body.pm-products-page #search-input.text-input,
body.pm-products-page #search-input.search-input,
body.pm-products-page .products-container > .search-input {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  margin: 4px auto 8px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(201, 168, 78, 0.2) !important;
  border-radius: 14px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 800 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
  box-shadow: none !important;
  outline: none !important;
}

body.pm-products-page #search-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

body.pm-products-page #search-input:focus {
  border-color: rgba(255, 211, 106, 0.58) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 211, 106, 0.18) !important;
}

body.pm-products-page .product-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 228.75px)) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 10px !important;
  width: 100% !important;
}

body.pm-products-page .product-cards > [data-pid] {
  width: 228.75px !important;
  height: 228px !important;
  min-width: 0 !important;
}

body.pm-products-page .product-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: var(--pm-card-frame-url) center / 100% 100% no-repeat !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.1s ease, background-color 0.1s ease !important;
  transform: none !important;
  will-change: auto !important;
}

body.pm-products-page .product-card:hover {
  filter: none !important;
  transform: none !important;
}

body.pm-products-page .product-card-image-container {
  position: absolute !important;
  top: 12px !important;
  right: 10px !important;
  bottom: 46px !important;
  left: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  background: none !important;
  overflow: visible !important;
}

body.pm-products-page .product-card-image-container img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: none !important;
}

body.pm-products-page .product-card-footer {
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  left: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  height: 28px !important;
  max-height: 28px !important;
  padding: 0 !important;
  color: inherit !important;
  box-sizing: border-box !important;
}

body.pm-products-page .product-card-name,
body.pm-products-page .product-card-price {
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 8px !important;
  border: 1px solid rgba(201, 168, 78, 0.22) !important;
  border-radius: 9px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.95) !important;
}

body.pm-products-page .product-card-name {
  flex: 1 1 auto !important;
  max-width: 62% !important;
  min-width: 0 !important;
  color: var(--pm-gold-soft) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.35px;
  text-overflow: ellipsis !important;
  text-transform: uppercase;
}

body.pm-products-page .product-card-footer > div {
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

body.pm-products-page .product-card-old-price {
  display: none !important;
}

body.pm-products-page .product-card-price {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--pm-gold) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px;
  box-shadow: none !important;
}

body.pm-products-page .product-card:hover .product-card-price {
  border-color: rgba(255, 211, 106, 0.5) !important;
  background: rgba(35, 25, 5, 0.78) !important;
  box-shadow: none !important;
}

body.pm-products-page .product-card:hover .product-card-name {
  border-color: rgba(255, 211, 106, 0.38) !important;
}

body.pm-products-page .product-card-badge-percentage,
body.pm-products-page .product-card-badge-days,
body.pm-products-page .product-card-label {
  background: rgba(0, 0, 0, 0.72) !important;
  border: 1px solid rgba(201, 168, 78, 0.28) !important;
  color: var(--pm-gold) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
  box-shadow: none !important;
}

body.pm-products-page .product-card-badge-percentage {
  top: 8px !important;
  right: 8px !important;
  border-radius: 9px !important;
  padding: 1px 7px !important;
}

body.pm-products-page .product-card-badge-days,
body.pm-products-page .product-card-label--rental-days {
  top: 8px !important;
  left: 8px !important;
  border-radius: 9px !important;
  padding: 1px 7px !important;
}

body.pm-products-page .banner-elem,
body.pm-products-page .monitoring {
  background: var(--pm-panel) !important;
  border: 1px solid var(--pm-border) !important;
  color: var(--pm-text) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
}

body.pm-products-page .bunner-title {
  color: var(--pm-gold-soft) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000;
}

body.pm-products-page .footer {
  color: rgba(255, 255, 255, 0.68) !important;
  text-shadow: 1px 1px 2px #000;
}

body.pm-products-page .footer-link,
body.pm-products-page .footer-link a,
body.pm-products-page .footer a {
  color: rgba(255, 211, 106, 0.82) !important;
}

body.pm-products-page .cookie-banner {
  right: 20px !important;
  bottom: 20px !important;
  left: auto !important;
  width: min(360px, calc(100vw - 32px)) !important;
  max-width: 360px !important;
  padding: 12px 14px !important;
  transform: none !important;
  border: 1px solid rgba(201, 168, 78, 0.34) !important;
  border-radius: 10px !important;
  background: rgba(0, 0, 0, 0.82) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55) !important;
}

body.pm-products-page .cookie-content h5 {
  color: var(--pm-gold-soft) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  margin-bottom: 4px !important;
}

body.pm-products-page .cookie-content p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.pm-products-page .cookie-buttons {
  margin-top: 8px !important;
}

body.pm-products-page .cookie-buttons .app-button {
  min-height: 34px !important;
  width: 100% !important;
  border: 1px solid rgba(255, 211, 106, 0.4) !important;
  background: rgba(201, 168, 78, 0.16) !important;
  color: var(--pm-gold) !important;
  font-weight: 900 !important;
}

body.pm-products-page .modal-overlay {
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: none !important;
  transition: none !important;
}

body.pm-products-page .modal {
  border: 1px solid rgba(201, 168, 78, 0.28) !important;
  border-radius: 26px !important;
  background:
    var(--pm-modal-bg-url) center / cover no-repeat,
    rgba(0, 0, 0, 0.86) !important;
  color: var(--pm-text) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.62) !important;
  overflow: hidden;
  transition: none !important;
  transform: none !important;
}

body.pm-products-page .modal-content,
body.pm-products-page .product-modal {
  background: transparent !important;
  color: var(--pm-text) !important;
}

body.pm-products-page .product-modal-title,
body.pm-products-page .recharge-panel-header {
  color: var(--pm-gold-soft) !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

body.pm-products-page .product-modal-description {
  padding: 10px 12px !important;
  border: 1px solid rgba(201, 168, 78, 0.14) !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.45 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
}

body.pm-products-page .amount-control-counter,
body.pm-products-page .amount-control-total,
body.pm-products-page .select-display,
body.pm-products-page .select-options,
body.pm-products-page .product-modal-inputs-zone-block,
body.pm-products-page .recharge-panel-input {
  background: rgba(0, 0, 0, 0.65) !important;
  border: 1px solid rgba(201, 168, 78, 0.25) !important;
  color: var(--pm-gold-soft) !important;
  box-shadow: none !important;
}

body.pm-products-page .amount-control-counter-button,
body.pm-products-page .select-text,
body.pm-products-page .amount-control-count,
body.pm-products-page .amount-control-total,
body.pm-products-page .amount-control-total-rub {
  color: var(--pm-gold) !important;
  font-weight: 900 !important;
}

body.pm-products-page .select-option {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.pm-products-page .select-option:hover,
body.pm-products-page .select-option.active {
  background: rgba(255, 211, 106, 0.14) !important;
  color: var(--pm-gold) !important;
}

body.pm-products-page .modal-primary-button {
  border: 1px solid rgba(255, 211, 106, 0.55) !important;
  background: linear-gradient(180deg, rgba(255, 211, 106, 0.22), rgba(0, 0, 0, 0.2)) !important;
  color: var(--pm-gold) !important;
  box-shadow: none !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000 !important;
}

body.pm-products-page .modal-primary-button *,
body.pm-products-page .modal-primary-button-text {
  color: var(--pm-gold) !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000 !important;
}

body.pm-products-page .modal-close-button,
body.pm-products-page .modal-close-button-text,
body.pm-products-page .modal-close-button * {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px #000 !important;
}

body.pm-products-page .modal:has(.recharge-panel) {
  width: min(820px, calc(100vw - 48px)) !important;
  max-width: min(820px, calc(100vw - 48px)) !important;
  border: 1px solid rgba(201, 168, 78, 0.38) !important;
  border-radius: 26px !important;
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.76), rgba(0, 0, 0, 0.8)),
    var(--pm-modal-bg-url) center / cover no-repeat,
    rgba(0, 0, 0, 0.78) !important;
  color: var(--pm-gold-soft) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.68),
    inset 0 0 0 1px rgba(255, 220, 160, 0.1) !important;
}

body.pm-products-page .modal:has(.recharge-panel) .modal-content {
  padding: 0 !important;
  background: transparent !important;
}

body.pm-products-page .modal:has(.recharge-panel) .modal-footer-buttons {
  align-items: center !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px 28px 28px !important;
  background: rgba(0, 0, 0, 0.28) !important;
}

body.pm-products-page .recharge-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 40px 54px 18px !important;
  border: 0 !important;
  border-radius: 26px 26px 0 0 !important;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.48), rgba(0, 0, 0, 0.5)),
    rgba(0, 0, 0, 0.44) !important;
  color: var(--pm-gold-soft) !important;
  box-shadow: none !important;
  font-family: Manrope, sans-serif !important;
}

body.pm-products-page .recharge-panel,
body.pm-products-page .recharge-panel * {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.92);
}

body.pm-products-page .recharge-panel-header {
  margin: 0 0 26px !important;
  font-size: 28px !important;
  letter-spacing: 1.4px !important;
  text-align: center !important;
}

body.pm-products-page .recharge-panel-section,
body.pm-products-page .recharge-panel-title,
body.pm-products-page .recharge-panel-label,
body.pm-products-page .recharge-panel-amount-row > div,
body.pm-products-page .recharge-panel label {
  color: var(--pm-gold-soft) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body.pm-products-page .recharge-panel-providers {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  gap: 14px !important;
  width: min(460px, 100%) !important;
}

body.pm-products-page .recharge-panel-provider {
  min-width: 0 !important;
  width: 100% !important;
  height: 78px !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(201, 168, 78, 0.36) !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.52) !important;
  color: var(--pm-gold-soft) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 160, 0.08),
    0 0 12px rgba(255, 211, 106, 0.08) !important;
  font-weight: 900 !important;
  transition: none !important;
}

body.pm-products-page .recharge-panel-provider:hover,
body.pm-products-page .recharge-panel-provider.selected {
  border-color: rgba(255, 211, 106, 0.68) !important;
  background: rgba(201, 168, 78, 0.14) !important;
  color: var(--pm-gold) !important;
}

body.pm-products-page .recharge-panel-provider img {
  max-width: 120px !important;
  max-height: 38px !important;
  object-fit: contain !important;
  filter: brightness(1.14) contrast(1.12) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.85)) !important;
}

body.pm-products-page .recharge-panel-provider img[src*="TBank"] {
  filter: invert(86%) sepia(39%) saturate(650%) hue-rotate(350deg) brightness(108%) contrast(98%) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9)) !important;
}

body.pm-products-page .recharge-panel-input,
body.pm-products-page .recharge-panel input,
body.pm-products-page .recharge-panel .text-input {
  min-height: 50px !important;
  border: 1px solid rgba(201, 168, 78, 0.42) !important;
  border-radius: 10px !important;
  background: rgba(0, 0, 0, 0.64) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.44),
    0 0 10px rgba(255, 211, 106, 0.08) !important;
}

body.pm-products-page .recharge-panel-input {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.pm-products-page .recharge-panel-input-raw {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body.pm-products-page .recharge-panel-input *,
body.pm-products-page .recharge-panel input,
body.pm-products-page .recharge-panel .text-input {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.pm-products-page .recharge-panel-input-raw::placeholder,
body.pm-products-page .recharge-panel input::placeholder,
body.pm-products-page .recharge-panel .text-input::placeholder {
  color: rgba(231, 216, 173, 0.72) !important;
  -webkit-text-fill-color: rgba(231, 216, 173, 0.72) !important;
  opacity: 1 !important;
}

body.pm-products-page .recharge-panel-bonuses {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 28px !important;
  margin-top: 22px !important;
}

body.pm-products-page .recharge-panel-bonus-per-summ,
body.pm-products-page .recharge-panel-bonus-per-summ * {
  justify-content: center !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body.pm-products-page .recharge-panel-bonus {
  min-width: 52px !important;
  padding: 3px 9px !important;
  border: 1px solid rgba(255, 211, 106, 0.38) !important;
  border-radius: 999px !important;
  background: rgba(255, 211, 106, 0.18) !important;
  color: var(--pm-gold) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

body.pm-products-page .modal:has(.recharge-panel) .modal-primary-button {
  min-width: 150px !important;
  height: 50px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(255, 211, 106, 0.24), rgba(201, 168, 78, 0.1)) !important;
}

body.pm-products-page .modal:has(.recharge-panel) .modal-close-button {
  height: 50px !important;
  margin-left: 0 !important;
}

@media (min-width: 993px) {
  body.pm-products-page .navbar__links {
    display: flex !important;
  }
}

@media (max-width: 1290px) {
  body.pm-products-page .wrapper {
    margin: 0 30px;
  }
}

@media (max-width: 992px) {
  body.pm-products-page .navbar {
    flex-direction: column;
  }

  body.pm-products-page .navbar__links {
    width: 100%;
    background: rgba(8, 8, 8, 0.92) !important;
  }

  body.pm-products-page .navbar__nav-item {
    height: 46px !important;
  }

  body.pm-products-page .products-types-buttons {
    justify-content: flex-start !important;
  }

  body.pm-products-page .product-cards {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)) !important;
  }

  body.pm-products-page .product-cards > [data-pid] {
    width: 100% !important;
    max-width: 228.75px !important;
    justify-self: center;
  }
}

@media (max-width: 520px) {
  body.pm-products-page .wrapper {
    margin: 0 12px;
  }

  body.pm-products-page .products-types-buttons .app-button {
    flex-basis: 166px !important;
    width: 166px !important;
    padding-left: 46px !important;
    font-size: 12px !important;
  }

  body.pm-products-page .product-cards {
    grid-template-columns: minmax(0, min(228.75px, calc(100vw - 24px))) !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  body.pm-products-page .product-cards > [data-pid] {
    width: min(228.75px, calc(100vw - 24px)) !important;
    height: min(228px, calc(100vw - 24px)) !important;
    max-width: none !important;
    aspect-ratio: 1 / 1 !important;
    justify-self: center !important;
  }

  body.pm-products-page .product-card {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  body.pm-products-page .product-card-name {
    max-width: 58% !important;
    font-size: 10px !important;
  }

  body.pm-products-page .product-card-price {
    font-size: 11px !important;
  }

  body.pm-products-page .modal:has(.recharge-panel) {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    border-radius: 18px !important;
  }

  body.pm-products-page .recharge-panel {
    padding: 26px 16px 12px !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.pm-products-page .recharge-panel-header {
    font-size: 21px !important;
    letter-spacing: 0.7px !important;
  }

  body.pm-products-page .recharge-panel-providers,
  body.pm-products-page .recharge-panel-bonuses {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body.pm-products-page .modal:has(.recharge-panel) .modal-footer-buttons {
    padding: 4px 16px 18px !important;
    gap: 12px !important;
  }

  body.pm-products-page .cookie-banner {
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }
}
