﻿@media (max-width: 768.9px) {

  .shop_table.shop_table_add_card,
  .shop_table.shop_table_edit_card {
    max-height: 90%;
    overflow: auto;
    max-width: 600px !important;
  }
}

.shop_table.shop_table_add_card,
.shop_table.shop_table_edit_card {
  max-height: 90%;
  overflow: auto;
  max-width: 900px;
}

#description_card,
#description_edit_card {
  width: 457px;
  min-height: 100px;
  resize: vertical;
}

#price_card,
#price_edit_card {
  margin-right: 58px;
}

.shop_list_servers {
  display: block;
  cursor: pointer;
}

@media (max-width: 768.9px) {
  .mobile_cart3 {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile_cart3 {
    padding-left: 0 !important;
  }
}

@media (max-width: 768.9px) {
  .mobile_cart2 {
    padding: 0 !important;
  }
}

@media (min-width: 769px) {
  .mobile_cart2 {
    display: block;
  }
}

@media (max-width: 768.9px) {
  .mobile_cart {
    margin-top: 10px;
    padding: 5px;
  }
}

@media (min-width: 769px) {
  .mobile_cart {
    display: block;
  }
}

.shop_table_add_server {
  max-width: 34em;
}

.shop_table_accept .shop_body_table {
  text-align: center;
}

.shop_wrapper_table_button {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: .3rem;
}

.shop_black_screen {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 106;
  background: var(--bg-modal);
}

.shop_table {
  min-width: 450px;
  background: var(--card);
  margin: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 107;
  border-radius: var(--br-16);
  padding: 15px;
}

.shop_header_table {
  width: 100%;
  display: flex;
  font-size: var(--font-size-xl);
  color: var(--text-default);
  font-weight: var(--font-weight-6);
  width: 100%;
  border-bottom: 1px solid var(--transparent-5-w);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.shop_card_wrapper {
  padding: 0;
  margin-bottom: 0;
  position: relative;
}

.shop_card {
  background: var(--bg);
  border-radius: var(--br-16);
  padding: 20px;
  display: flex;
  justify-content: center;
  border-bottom: 0;
  transition: var(--transition-duration);
  cursor: pointer;
  gap: 10px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  border: 2px solid var(--transparent-10-w);
}

.shop_delete_server,
.shop_edit_server {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--br-6);
  transition: var(--transition-duration);
  cursor: pointer;
}

.shop_delete_server {
  background-color: var(--red)
}

.shop_edit_server {
  background-color: var(--orange)
}

.shop_delete_server svg,
.shop_edit_server svg {
  display: flex;
  width: .8rem;
  height: .8rem;
  fill: var(--text-default)
}

.shop_edit_server svg {
  fill: var(--bg)
}

.shop_server p {
  margin: 0;
}

.product_button {
  background: var(--span);
  padding: 5px 10px;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.5s;
}

.product_button:hover {
  color: rgba(255, 255, 255, 0.7);
}

.product_price {
  font-size: var(--font-size-xs);
  text-align: center;
}

.shop_product {
  display: flex;
  background: var(--bg);
  border-radius: var(--br-16);
  transition: var(--transition-duration);
  flex-direction: column;
  gap: 10px;
  padding-bottom: 10px;
}

.shop_product_title {
  text-align: center;
  padding: 5px 15px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: var(--bg-modal);
  border-radius: var(--br-12);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--transparent-2-w);
}

.shop_product_gradient_text {
  margin: 0;
  font-size: var(--font-size-m) !important;
  font-weight: var(--font-weight-7);
  -webkit-text-fill-color: transparent;
  font-family: var(--font-family-1);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.shop_product_select_title {
  cursor: pointer;
  margin: 0 10px;
  position: relative;
  padding: 12px 15px;
  border-radius: var(--br-12);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-6);
  background: var(--card);
  border: 2px solid var(--transparent-5-w);
}

.shop_product_select {
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(100%);
  background: var(--card);
  border-radius: var(--br-12);
  box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 15%);
  border: 2px solid var(--transparent-5-w);
  max-height: 300px;
  overflow-y: scroll;
}

.shop_product_option {
  display: flex;
  height: 46px;
  position: relative;
  padding: 10px 15px;
  align-items: center;
  gap: 5px;
  font-size: var(--font-size-m);
}

.shop_product_option:hover span {
  opacity: 1;
}

.shop_product_option:not(:first-child) {
  border-top: 1px solid var(--transparent-2-w);
}

.shop_product_select_button {
  position: absolute;
  font-size: var(--font-size-m);
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
}

.shop_product_select_button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.shop_product_description {
  display: flex;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-4);
  color: var(--text-custom);
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 10px;
  height: 28px;
}

.shop_product_property {
  display: flex;
  font-size: var(--font-size-m);
  position: relative;
  border: 1px solid var(--transparent-2-w);
  background: var(--transparent-2-w);
  border-radius: var(--br-12);
  padding: 8px;
  transition: var(--transition-duration);
  cursor: default;
  align-items: center;
  color: var(--text-default);
}

.property_icon_dsb {
  fill: var(--red) !important;
}

.shop_product_table_property_icon_delete {
  position: absolute;
  font-size: var(--font-size-m);
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-duration) all;
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  right: 8px;
  border-radius: var(--br-8);
  background: var(--navbar);
}

.shop_product_table_property_icon_edit {
  position: absolute;
  font-size: var(--font-size-m);
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-duration) all;
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  right: 38px;
  background: var(--navbar);
  border-radius: var(--br-8);
}

.shop_product_table_property_icon_delete svg,
.shop_product_table_property_icon_edit svg {
  display: flex;
  width: 9px;
  height: auto;
  fill: var(--text-custom);
  transition: var(--transition-duration);
}

.shop_product_table_property_icon_edit:hover svg {
  opacity: 1;
  fill: var(--orange);
}

.shop_product_table_property_icon_delete:hover svg {
  fill: var(--red);
  opacity: 1;
}

.shop_product_property_icon {
  display: flex;
  border-radius: var(--br-24);
  position: absolute;
  padding-left: 2px;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  align-items: center;
  justify-content: center;
}

.shop_product_property_icon svg {
  width: 10px;
  height: auto;
}

.shop_product_property_title {
  margin-left: 20px;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-5);
}

.shop_product_property_disabled.shop_product_property,
.shop_product_property_disabled.shop_product_property_title {
  color: rgb(255 255 255 / 30%);
}

.shop_product_property_disabled .shop_product_property_icon {
  -webkit-background-clip: inherit;
  background-clip: inherit;
  background: transparent;
  -webkit-text-fill-color: inherit;
}

.shop_product_description_price {
  display: flex;
  flex-direction: column;
}

.shop_product_price {
  display: flex;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-7);
  font-family: var(--font-family-1);
  gap: 5px;
  align-items: flex-start;
  position: relative;
}

.shop_product_price_count {
  color: var(--money);
}

.shop_product_button {
  flex: 1;
  display: flex;
  border-radius: 6px 12px 12px 6px;
  cursor: pointer;
  justify-content: center;
  width: 100%;
  align-items: center;
  gap: .3rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-default);
  background: var(--transparent-2-w);
  padding: 0.769rem 1rem;
  text-wrap: nowrap;
  text-shadow: 1px 1px 1px rgb(0 0 0 / 39%);
}

.shop_product_button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.shop_product_button span {
  position: absolute;
  right: -70px;
  transition: 0.25s;
  opacity: 0;
}

.shop_header:hover .shop_product_button {
  justify-content: start;
  height: 46px;
  width: 125px;
  padding-inline: 0.7rem;
  transition: 0.25s;
}

.shop_header:hover .shop_product_button span {
  right: 0.7rem;
  opacity: 1;
  transition: 0.4s;
}

.shop_product_button_info {
  display: flex !important;
  background: var(--money-bg) !important;
  color: var(--money);
  height: 28px;
  border-radius: var(--br-6);
  padding: 5px 10px;
  border: 1px solid var(--transparent-2-w);
  width: max-content;
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-5);
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.shop_product_breadcrumb {
  color: white;
  padding: 5px 15px;
  position: absolute;
  top: 0;
  display: none;
  left: 50%;
  z-index: 5;
  cursor: default;
  font-size: var(--font-size-xxs);
  border-radius: var(--br-3);
  transform: translate(-50%, -150%);
}

.shop_product_breadcrumb_triangle {
  width: 10px;
  height: 10px;
  position: absolute;
  bottom: -7px;
  left: 50%;
  z-index: 1;
  transform: rotate(45deg) translateX(-5px);
}

@media (max-width: 768.9px) {
  .properties_table {
    position: fixed;
    top: 0;
    right: -500px;
    bottom: 0;
    padding: 15px;
    width: 100%;
    z-index: 30001;
    height: 100%;
    overflow: auto;
    background: var(--card);
    transition: right 0.15s ease-in-out;
  }
}

@media (min-width: 769px) {
  .properties_table {
    position: fixed;
    top: 0;
    right: -500px;
    bottom: 0;
    padding: 15px;
    width: 500px;
    z-index: 30001;
    height: 100%;
    overflow: auto;
    background: var(--card);
    transition: right 0.15s ease-in-out;
  }
}

.properties_table.active {
  right: 0;
}

body.modal__opened {
  overflow: hidden;
}

html.modal__opened {
  overflow: hidden;
}

.properties_table::-webkit-scrollbar {
  width: 0 !important;
}

.shop_product_table_product {
  font-size: var(--font-size-5xl);
  -webkit-text-fill-color: transparent;
}

.shop_product_table_title {
  text-align: center;
  max-width: 100% !important;
  font-size: var(--font-size-5xl) !important;
}

.close_properties_table {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding-inline: 0;
  width: var(--input-height);
}

.close_properties_table svg {

  rotate: 90deg;
}

.shop_property_input {
  font-size: var(--font-size-m);
  padding: 0px 5px 0px 10px;
  background-color: transparent;
  text-decoration: underline;
  color: var(--span);
  width: 93%;
  transition: var(--transition-duration);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 21px;
  border-radius: 0
}

.shop_property_input:focus {
  outline: none;
  border: none
}

.shop_product_card_property_icon_delete {
  right: 5px;
  background-color: var(--red);
}

.shop_product_card_property_icon_edit {
  right: 42px;
  background-color: var(--orange);
}

.shop_sort_property {
  right: 78px;
}

.shop_product_card_property_icon_delete,
.shop_product_card_property_icon_edit,
.shop_sort_property {
  position: absolute;
  font-size: var(--font-size-m);
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-duration) all;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--br-8);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--br-6);
  transition: var(--transition-duration);
  cursor: pointer;
}

.shop_product_card_property_icon_delete svg,
.shop_product_card_property_icon_edit svg {
  display: flex;
  width: 9px;
  height: 9px;
}

.shop_product_card_property_icon_edit svg {
  fill: var(--bg)
}

.shop_discount_icon {
  padding: 3px 6px;
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-7);
  color: var(--text-default);
  background-color: var(--red);
  z-index: 2;
  border-radius: var(--br-6);
  width: max-content;
}

.shop_discount_price {
  color: grey;
  text-decoration: line-through;
  margin-right: 3px;
}

.shop_product_price_delete,
.shop_product_price_edit {
  position: absolute;
  font-size: var(--font-size-m);
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-duration) all;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.shop_product_price_delete {
  right: 5px;
}

.shop_product_price_edit {
  right: 42px;
}

.shop_price_title {
  color: var(--text-default);
  font-weight: var(--font-weight-5);
  opacity: 0.3;
  transition: var(--transition-duration);
}

#table_status {
  cursor: pointer;
}

.shop_gradient_test,
.shop_gradient_test_edit {
  margin: 0;
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-8);
  -webkit-text-fill-color: transparent;
  background: linear-gradient(45deg, #ffffff 10%, #ffffff 50%, #ffffff 85%);
  -webkit-background-clip: text;
  background-clip: text;
}

.wrapper_gradient_text {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--transparent-2-w);
  border-radius: var(--br-12);
  padding: 20px;
  flex-direction: column;
}

.wrapper_gradient_text p {
  line-height: 1;
  font-size: var(--font-size-m);
  color: var(--text-custom);
}

.shop_wrapper_product {
  display: grid;
  justify-content: stretch;
  gap: .85rem;
}

.shop_wrapper_product.store__grid {
  grid-template-columns: repeat(var(--store-cols, 3), minmax(0, 1fr)) !important;
}

.shop_wrapper_product.store__grid.cols-3 {
  --store-cols: 3;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.shop_wrapper_product.store__grid.cols-4 {
  --store-cols: 4;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.shop_delete_product {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

#edit-ajax-product .shop_delete_product {
  left: 47px;
  top: 10px;
}

.shop_server_icon {
  width: 20px;
  margin-right: 5px;
}

.shop_options_row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0;
  margin-bottom: 15px;
}

.shop_options_row .card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.shop_add_promo,
.shop_edit_promo {
  background: var(--bg);
}

.shop_product_gradient_test {
  border-radius: var(--br-3) 3px 15px 15px;
  padding: 0 15px;
  padding-bottom: 15px;
  width: 100%;
  height: 400px;
}

.shop_card_main {
  background-color: var(--card);
  border-radius: var(--br-6);
}

.shop_servers_column {
  border-right: 0px !important;
  display: flex;
}

.shop_cards_info,
.shop_servers_info {
  border: 0px !important;
  background-color: var(--transparent-5-w);
}

.shop_server_t {
  padding: 5px 15px;
  margin-top: 10px;
  border: 1px solid rgba(128, 128, 128, 0.4);
  border-radius: var(--br-10);
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 10px;
}

.shop_cards_info {
  margin-bottom: -5px;
}

.shop_servers_info {
  text-align: left;
  margin-bottom: 30px;
}

.shop_server_t p {
  font-size: var(--font-size-m);
}

.payment_qiwi:hover {
  border: 1px solid var(--span);
  background-color: var(--button-hover);
  padding: 15px 90px;
}

.payment_freekassa:hover {
  border: 1px solid var(--span);
  background-color: var(--button-hover);
  padding: 15px 66px;
}

.wrapper_server_accept {
  width: 500px;
}

.servers_accept {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.server_accept p {
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-6);
  text-align: center;
  color: var(--text-custom);
  transition: var(--transition-duration);
}

.server_accept:hover {
  background-color: var(--button);
}

.server_accept {
  flex: 1 1 calc((100% / 2) - 0.5rem);
}

.server_accept_title {
  display: flex;
  font-size: var(--font-size-xl);
  color: var(--text-default);
  font-weight: var(--font-weight-6);
  width: 100%;
}

.wrapper_server_accept {
  display: flex;
  position: fixed;
  z-index: 50000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  background: var(--card);
  box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 16%);
  border-radius: var(--br-16);
  padding: 15px;
  gap: 15px;
  align-items: center;
}

@media (max-width: 575.98px) {
  .server_accept:hover {
    background-color: var(--button);
    color: var(--text-custom);
  }

  .server_accept {
    white-space: nowrap;
  }

  .server_accept_title {
    display: flex;
    font-size: var(--font-size-xl);
    color: var(--text-default);
    font-weight: var(--font-weight-6);
    width: 100%;
  }

  .wrapper_server_accept {
    display: flex;
    position: fixed;
    z-index: 50000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    width: 350px;
  }

  .servers_accept {
    display: grid;
    grid-template-columns: 1fr;
  }

  .right_content {
    padding: 0 10px;
    width: max-content;
    height: 30px;
    color: var(--red);
    background-color: var(--button);
    font-weight: var(--font-weight-7);
    text-transform: uppercase;
    font-size: var(--font-size-s);
    border-radius: var(--br-6);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.text_exception {
  max-width: 200px !important;
}

.errors_date {
  min-width: 170px !important;
}

.shop_servers_wrap_area {
  flex-wrap: wrap;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-direction: column;
  height: max-content;
}

.servernameone {
  background-color: #22253e;
  padding: 6px 1px;
  border-radius: var(--br-5);
  margin-bottom: 15px;
}

.formbasket input {
  font-size: var(--font-size-m);
  padding: 11px 6px;
  font-weight: var(--font-weight-2);
  color: var(--text-default);
  background-color: var(--table-line);
  border-radius: var(--br-6);
  border: 1px solid #ffffff0f;
  -webkit-transition: border-color 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  width: 98%;
  box-shadow: 0px 4px 8px 0px rgb(34 60 80 / 10%) inset;
  -moz-box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.1) inset;
  box-shadow: 0px 2px 0px 0px rgb(0 0 0 / 10%) inset;
}

.formbasket label {
  float: left;
  white-space: nowrap;
  width: 19%;
  margin-right: 20px;
}

.formbasket select {
  cursor: pointer;
  white-space: nowrap;
  text-align: left;
  outline: none;
  color: var(--text-default);
  background-color: inherit;
  height: 24px;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-bottom: 2px solid var(--table-line);
  font-weight: var(--font-weight-2);
  font-size: var(--font-size-m);
}

.formbasket select:focus:not([readonly]) {
  border-bottom: 2px solid var(--span);
}

.formbasket select option {
  border: none;
  outline: none;
  background-color: var(--sidebar-color);
  font-weight: var(--font-weight-2);
}

.button_to_buy {
  display: flex;
  justify-content: center;
  border-radius: var(--br-10);
  transition: var(--transition-duration);
  color: var(--money);
  background-color: var(--money-bg);
  align-items: center;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--transparent-2-w);
  gap: .5rem;
  padding-block: 1rem;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-6);
}

.button_to_buy svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  transition: var(--transition-duration);
  opacity: .5;
}

.button_to_buy:hover {
  border: 1px solid var(--money-bg);
}

.shop_table_create_button {
  display: flex;
  font-size: var(--font-size-m);
  position: relative;
  border: 1px solid var(--transparent-2-w);
  background: var(--transparent-2-w);
  color: var(--text-custom);
  border-radius: var(--br-12);
  padding: 8px;
  transition: var(--transition-duration);
  cursor: default;
  align-items: center;
  justify-content: center;
}

.shop_table_create_button_option {
  display: flex;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--transparent-2-w);
  font-size: var(--font-size-m);
  color: var(--text-custom);
}

.shop_table_create_buttonsvg:hover {
  fill: var(--span);
}

.shop_flex_row {
  display: flex;
  gap: 0.2rem;
  margin: 0 10px;
  align-items: center;
}

.shop_buy_price {
  display: flex;
  background-color: var(--input-form);
  border-radius: 12px 6px 6px 12px;
  padding: 0 1rem;
  height: 46.6px;
  width: max-content;
  justify-content: center;
  position: relative;
  overflow: hidden;
  align-items: center;
  flex-direction: column;
}

.please_choose {
  text-align: center;
  margin: 15px 0;
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-7);
  text-transform: uppercase;
  color: var(--text-custom);
  animation: flashtext 1.5s infinite;
}

.shop__next__step {
  display: flex;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  padding: 12px;
  font-weight: var(--font-weight-7);
  color: var(--text-custom);
}

.card_shop {
  display: flex;
  background-color: var(--card);
  padding: 15px;
}

.shop_text_input {
  gap: 5px;
  display: flex;
  color: var(--text-custom);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  text-align: left;
  margin: 1px 0;
  align-items: center;
}

.shop_text_input svg {
  width: 11px;
  height: 11px;
  fill: var(--text-custom);
}

.shop_flex_2pay {
  display: flex;
  gap: 10px;
}

.payment_balance {
  padding: 15px 14px;
  text-transform: uppercase;
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-7);
  color: var(--text-custom);
  border-radius: var(--br-6);
  border: 1px solid var(--button);
  transition: 0.5s;
}

.payment {
  cursor: pointer;
  transition: var(--transition-duration);
  box-sizing: border-box;
  border-radius: var(--br-3);
  border: 1px solid var(--button);
}

.payment:hover {
  border: 1px solid var(--button-hover);
  background-color: var(--button-hover);
}

.payment img {
  width: 100px;
}

.pay_order {
  cursor: pointer;
  padding: 15px 14px;
  border-radius: var(--br-12);
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-s);
  background: var(--button);
  color: var(--text-default);
  transition: 0.5s;
}

.pay_order:hover {
  cursor: pointer;
  -webkit-filter: brightness(115%);
  filter: brightness(115%);
}

@media (min-width: 809px) {
  .shop_pay_area {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    border-left: 1px solid var(--grey);
    padding-left: 20px;
    height: 100%;
  }
}

@media (max-width: 808px) {
  .shop_pay_area {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    height: 100%;
  }
}

.shop_name {
  text-transform: uppercase;
  text-align: center;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-7);
  color: var(--text-custom);
  position: relative;
}

.shop_back_button {
  position: absolute;
  top: 17px;
  left: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  font-size: var(--font-size-m);
  border-radius: var(--br-12);
  transition: var(--transition-duration);
  cursor: pointer;
  color: var(--text-custom);
  z-index: 1;
}

.shop_back_button svg {
  width: 7px;
  height: auto;
  fill: var(--text-custom);
  opacity: 0.5;
  transition: var(--transition-duration);
}

.shop_back_button:hover svg {
  opacity: 1;
}

.add_new_text {
  display: flex;
  justify-content: center;
  font-size: var(--font-size-default);
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-7);
}

.shop_card:hover {
  color: var(--span);
  border: 2px solid var(--span);
}

.shop_product_img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-duration);
}

#add-server,
#edit-price-options,
#add-product,
#edit-product,
#add-price-options,
#edit-server,
#edit-promo,
#add-promo {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

#delete-product {
  position: absolute;
}

#edit-ajax-product {
  position: absolute;
}

.shop_product_properties {
  display: flex;
  flex-direction: column;
  margin: 0 10px;
  gap: 3px;
  max-height: 166px;
  overflow: hidden;
  overflow-y: scroll;
  padding-right: 5px;
}

.shop_product_price_old {
  font-size: var(--font-size-xs);
  text-decoration: line-through;
  line-height: normal;
  font-weight: var(--font-weight-4);
  font-family: var(--font-family-1);
  opacity: 0.7;
  color: var(--text-custom);
}

.input-form {
  position: relative;
  text-align: left;
  margin-top: 6px;
  float: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.shop_product_select_title_text {
  color: var(--text-default);
  font-weight: var(--font-weight-6);
}

.props {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 90%;
  overflow: hidden;
  overflow-y: scroll;
  margin: 15px 0;
}

.shop_bk {
  background: var(--card);
  border-radius: var(--br-20);
  padding: .3rem;
  margin-inline: 0;
}

.shop_cart_table_head {
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.15fr;
  justify-items: start;
  background: var(--input-form);
  border-radius: var(--br-12);
}

.shop_cart_table_head span {
  font-weight: var(--font-weight-6);
  font-size: var(--font-size-s);
  text-transform: uppercase;
  color: var(--text-custom);
  opacity: 0.5;
  display: flex;
  align-items: center;
}

.shop_cart_table_body li:not(:last-child) {
  margin-bottom: 3px;
}

.basket_table_content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768.9px) {
  .shop_cart_table_body li {
    background: var(--input-form);
    border-radius: var(--br-12);
    display: grid;
    grid-template-columns: 1fr 1fr 0.15fr;
    padding: 7px 20px;
    transition: var(--transition-duration);
    position: relative;
    justify-items: start;
    align-items: center;
  }

  .shop_cart_table_body li span {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-5);
    display: flex;
    align-items: center;
    color: var(--text-custom);
    z-index: 2;
  }
}

@media (min-width: 769px) {
  .shop_cart_table_body li {
    background: var(--input-form);
    border-radius: var(--br-12);
    display: grid;
    grid-template-columns: 1fr 1fr 0.15fr;
    padding: 10px 20px;
    transition: var(--transition-duration);
    position: relative;
    justify-items: start;
    align-items: center;
  }

  .shop_cart_table_body li span {
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-5);
    display: flex;
    align-items: center;
    color: var(--text-custom);
    z-index: 2;
  }
}

.shop_basket_delete {
  display: flex;
  border-radius: var(--br-8);
  height: 30px;
  width: 30px;
  cursor: pointer;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.shop_basket_delete:hover {
  text-decoration: underline;
}

.shop_basket_delete svg {
  height: 13px;
  width: 13px;
  fill: var(--text-custom);
}

.unique-toggle-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  border: 1px solid var(--transparent-5-w);
  border-radius: var(--br-12);
  padding: 5px;
  position: relative;
  overflow: hidden;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-4);
}

.unique-toggle-option {
  cursor: pointer;
  flex: 1;
  text-align: center;
  z-index: 2;
  color: var(--text-custom);
  transition: color 0.2s ease;
}

.unique-slider {
  width: 48%;
  height: 80%;
  background-color: var(--span-middle);
  border-radius: var(--br-8);
  position: absolute;
  left: 5px;
  transition: left 0.2s ease-in-out, background-color 0.3s ease-in-out;
  z-index: 0;
}

.unique-slider.as-gift {
  background-color: var(--money-bg);
}

.hidden_gift {
  display: none;
}

.unique-toggle-input-container {
  transition: height 0.2s ease-in-out;
}

.gift_text {
  display: flex;
  font-size: var(--font-size-s);
  color: var(--text-custom);
  text-align: left;
  width: 100%;
}

.shop_product_price_value {
  color: var(--money);
}

.settings_options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store__fieldset {
  width: 100%;
  margin: .35rem 0 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.store__fieldset legend {
  padding: 0 .55rem;
  color: var(--text-secondary);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-5);
}

.store__fieldset .inputs-inline {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.shop_input {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.promo_line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: var(--input-form);
  border-radius: var(--br-10);
  align-items: center;
  padding-block: .3rem;
  padding-inline: .7rem .3rem;
}

.promo_line:not(:last-child) {
  margin-bottom: .2rem;
}

.promo_left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.promo_text {
  display: flex;
  flex-direction: column;
}

.promo_name {
  font-size: var(--font-size-m);
  color: var(--text-default);
  font-weight: var(--font-weight-7);
}

.promo_badges {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.promo_badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
}

.amount_badge {
  color: var(--text-secondary);
}

.discount_badge {
  background: var(--red);
  color: white;
}

.shop_badge {
  background-color: var(--bg);
  padding: 4px 11px;
  color: var(--span);
  font-weight: bold;
  font-size: var(--font-size-s);
  border-radius: var(--br-6);
  z-index: 2;
  transition: var(--transition-duration);
}

.shop_card_add_edit {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

@media (max-width: 768.9px) {

  .row_reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (min-width: 768.9px) {

  .row_reverse {
    display: flex;
  }
}

.shop_header {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: var(--br-16);
  height: 12rem;
}

.shop_product_copy {
  display: flex;
  gap: .3rem;
  justify-content: space-between;
}

.shop_product_property input[type="number"]::-webkit-outer-spin-button,
.shop_product_property input[type="number"]::-webkit-inner-spin-button {
  display: none;
}

.shop_sort_property input[type="number"],
.shop_product_property input[type="number"] {
  height: 32px;
  width: 32px;
  border-radius: var(--br-6);
  font-size: var(--font-size-s);
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding-inline: 0;
}

.shop_sort_property input[type="number"]::-webkit-outer-spin-button,
.shop_sort_property input[type="number"]::-webkit-inner-spin-button {
  display: none;
}

.choosing_text {
  display: inline-block;
  color: var(--text-custom);
  font-weight: var(--font-weight-5);
  font-size: var(--font-size-m);
}

.choosing_text span {
  color: var(--span);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.categories button {
  flex: 1
}

.shop_product_property:hover .shop_sort_property,
.shop_product_property:hover .shop_product_price_delete,
.shop_product_property:hover .shop_product_price_edit,
.shop_product_property:hover .shop_product_card_property_icon_delete,
.shop_product_property:hover .shop_product_card_property_icon_edit,
.shop_product_option:hover .shop_product_price_delete,
.shop_product_option:hover .shop_product_price_edit {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.shop_basket_empty {
  display: flex;
  position: relative;
  height: 300px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.shop_basket_empty .title_empty {
  font-family: var(--font-family-1);
  z-index: 1;
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-4xl);
  position: absolute;
  bottom: 10%;
  white-space: nowrap;
}

.shop_basket_empty img {
  width: auto;
  height: 83%;
  opacity: 0.2;
  z-index: 0;
}

.shop_basket_empty .desc_empty {
  position: absolute;
  z-index: 1;
  bottom: 0;
  opacity: 0.5;
}

.shop_accetp_buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accept_content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}

.shop_label_price.rconinfo {
  display: flex;
  gap: 5px;
}

.shop_rconinfo {
  background: var(--money-bg) !important;
  color: var(--money);
  border-radius: var(--br-6);
  padding: 0px 6px;
  border: 1px solid var(--transparent-2-w);
  cursor: pointer;
}

.shop_header:hover img {
  scale: 1.05;
}

.shop__filters {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .store-none {
    display: none;
  }
}

.store__user-buttons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.filter__by-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.shop__action {
  display: flex;
  align-items: center;
  gap: .15rem;
  position: absolute;
  right: .25rem;
}

.shop_button_servers {
  position: relative;
  justify-content: start;
}

.shop_button_cancel {
  margin-left: auto;
}

.header__badges {
  position: absolute;
  right: 0.7rem;
  top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: flex-end;
}

form#copy-product,
form#copy-product-properties {
  display: none;
}

.store__filter-title {
  font-size: var(--font-size-m);
  color: var(--text-secondary);
}

.sticky-block {
  position: sticky;
  top: .5rem;
}

@media (max-width: 768px) {
  .sticky-block {
    position: relative;
    margin-bottom: 1rem
  }
}

.grid-flow {
  display: grid;
  grid-auto-flow: column;
} 
/* ==== Store V2 (merged) ==== */ 
/* Store V2 — palette from site theme tokens only */

.store__section {
  --store-cta: var(--span);
  --store-cta-ink: var(--text-default-invert);
  --store-ok: var(--green);
  --store-price: var(--money);
  --store-danger: var(--red);
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.store__hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.store__nav button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ------------------------------------------------------------------ hero */

.store__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 22rem);
  align-items: stretch;
  gap: 1rem;
  min-height: 13rem;
  padding: 1.35rem 0 1.35rem 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(28rem 14rem at 88% 30%, color-mix(in srgb, #5b7cff 22%, transparent), transparent 62%),
    radial-gradient(36rem 16rem at 100% -10%, color-mix(in srgb, var(--span) 14%, transparent), transparent 55%),
    var(--card);
  border: 1px solid var(--transparent-5-w);
  border-radius: var(--br-16);
}

.store__hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-right: .5rem;
  min-width: 0;
}

.store__hero-title {
  margin: 0 0 .4rem;
  font-family: var(--font-family-1);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: var(--font-weight-7);
  color: var(--text-default);
  line-height: 1.15;
}

.store__hero-text {
  margin: 0;
  max-width: 40rem;
  color: var(--text-secondary);
  font-size: var(--font-size-m);
  line-height: 1.5;
}

.store__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-start;
  flex-shrink: 0;
}

.store__hero-art {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: min(42%, 22rem);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}


.store__hero-art img {
  display: flex;
  width: 100%;
  max-width: 22rem;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  transform: translateY(0);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .45));
  top: -2rem;
  position: absolute;
}

.store__btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.55rem;
  padding: .6rem 1.1rem;
  border: 0;
  border-radius: var(--br-12);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-6);
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}

.store__btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.store__btn:hover {
  transform: translateY(-1px);
}

.store__btn--primary {
  background: var(--store-cta);
  color: var(--store-cta-ink);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--span) 28%, transparent);
}

.store__btn--primary:hover {
  filter: brightness(1.06);
}

.store__btn--ghost {
  background: var(--button);
  color: var(--text-default);
  border: 1px solid var(--transparent-10-w);
}

.store__btn--ghost:hover {
  background: var(--button-hover);
}

.store__btn--accent {
  background: var(--money-bg, color-mix(in srgb, var(--money) 12%, transparent));
  color: var(--money);
  border: 1px solid color-mix(in srgb, var(--money) 28%, transparent);
}

.store__basket-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--store-cta-ink);
  color: var(--store-cta);
  font-size: .75rem;
  font-weight: var(--font-weight-7);
}

.store__hero-balance {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .35rem .35rem .35rem .85rem;
  border-radius: var(--br-12);
  background: var(--input-form);
  border: 1px solid var(--transparent-10-w);
}

.store__hero-balance-info {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  line-height: 1.2;
}

.store__hero-balance-label {
  color: var(--text-secondary);
  font-size: .7rem;
  font-weight: var(--font-weight-6);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.store__hero-balance-value {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  color: var(--money);
  font-size: 1.05rem;
  font-weight: var(--font-weight-7);
}

.store__hero-balance-value span {
  font-size: .85rem;
  font-weight: var(--font-weight-6);
}

.store__hero-balance .store__btn {
  min-height: 2.2rem;
  padding: .45rem .9rem;
}

/* ------------------------------------------------------------------ toolbar */

.store__toolbar {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: .9rem 1rem;
  border-radius: var(--br-16);
  background: var(--card);
  border: 1px solid var(--transparent-5-w);
}

.store__toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}

.store__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  flex: 1;
  min-width: 12rem;
}

.store__pill,
.store__pills .filter,
.store__sort .filter,
.store__servers .filter {
  border-radius: var(--br-10) !important;
}

.store__pill--add {
  border-style: dashed !important;
  color: var(--text-secondary) !important;
}

.store__search {
  position: relative;
  flex: 1;
  min-width: 14rem;
  max-width: 22rem;
}

.store__search svg {
  position: absolute;
  left: .85rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  fill: var(--text-secondary);
  pointer-events: none;
}

.store__search input {
  width: 100%;
  min-height: 2.4rem;
  padding: .55rem .9rem .55rem 2.4rem;
  border: 1px solid var(--transparent-10-w);
  border-radius: var(--br-10);
  background: var(--input-form);
  color: var(--text-default);
  outline: none;
  transition: border-color .15s ease;
}

.store__search input::placeholder {
  color: var(--text-secondary);
}

.store__search input:focus {
  border-color: color-mix(in srgb, var(--span) 45%, transparent);
}

.store__sort {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
}

.store__servers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.store__servers-label {
  color: var(--text-secondary);
  font-size: var(--font-size-s);
}

.store__server-actions {
  display: inline-flex;
  gap: .2rem;
  margin-right: .25rem;
}

.store__server-actions svg {
  width: .75rem;
  height: .75rem;
}

/* ------------------------------------------------------------------ grid / cards */

.store__grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(var(--store-cols, 3), minmax(0, 1fr));
}

.store__grid.cols-2 { --store-cols: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.store__grid.cols-3 { --store-cols: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.store__grid.cols-4 { --store-cols: 4; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.store__card {
  --store-color: var(--span);
  position: relative;
  width: 100%;
  min-width: 0;
}

.store__card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 28rem;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--store-color) 18%, var(--transparent-5-w));
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.store__card:hover .store__card-inner {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--store-color) 42%, transparent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.store__ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  z-index: 5;
  width: 118px;
  padding: .32rem 0;
  background: #e23b3b;
  color: #fff;
  font-size: .72rem;
  font-weight: var(--font-weight-7);
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 4px 14px rgba(226, 59, 59, .45);
  pointer-events: none;
}

.store__card-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: .85rem .85rem 0;
}

.store__badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .35rem;
  max-width: calc(100% - 4.5rem);
  pointer-events: none;
}

.store__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .32rem .55rem;
  border-radius: 8px;
  background: #e23b3b;
  color: #fff;
  font-size: .62rem;
  font-weight: var(--font-weight-7);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.store__badge--off {
  background: rgba(0, 0, 0, .55);
  color: var(--text-secondary);
}

.store__preview {
  position: relative;
  display: block;
  min-height: 10.5rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: var(--input-form);
  border: 1px solid var(--transparent-5-w);
}

.store__preview .store__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: none;
  transition: transform .25s ease;
}

.store__card:hover .store__preview .store__img {
  transform: scale(1.03);
}

.store__card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
  padding: .75rem 1rem 1rem;
  background: transparent;
}

.store__card-title {
  margin: 0;
  font-family: var(--font-family-1);
  font-size: 1.65rem;
  font-weight: var(--font-weight-7);
  line-height: 1.05;
  text-align: left;
}

.store__card-title-text {
  color: var(--store-color);
}

.store__card:hover .store__card-title-text {
  filter: brightness(1.08);
}

.store__card-sub {
  margin: -.1rem 0 .05rem;
  color: var(--text-secondary);
  font-size: .82rem;
  line-height: 1.45;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store__card-servers {
  display: flex;
  justify-content: flex-start;
}

.store__chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .32rem .65rem;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: var(--font-weight-7);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.store__chip svg {
  width: .75rem;
  height: .75rem;
  fill: currentColor;
}

.store__chip--servers {
  background: color-mix(in srgb, var(--span) 18%, transparent);
  color: var(--span);
  border: 1px solid color-mix(in srgb, var(--span) 35%, transparent);
}

.store__tier-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  padding: .42rem .55rem;
  border-radius: 10px;
  background: var(--input-form);
  border: 1px solid var(--transparent-5-w);
}

.store__tier-prev {
  color: var(--text-secondary);
  font-size: .72rem;
  font-weight: var(--font-weight-6);
}

.store__tier-tag {
  display: inline-flex;
  padding: .16rem .42rem;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: var(--font-weight-7);
}

.store__tier-tag--new {
  background: color-mix(in srgb, var(--green) 18%, transparent);
  color: var(--green);
}

.store__tier-tag--chg {
  background: color-mix(in srgb, var(--money) 18%, transparent);
  color: var(--money);
}

.store__price-select {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .7rem;
  border-radius: var(--br-10);
  background: var(--input-form);
  border: 1px solid var(--transparent-5-w);
  cursor: pointer;
  transition: border-color .15s ease;
}

.store__price-select:hover {
  border-color: color-mix(in srgb, var(--store-color) 30%, transparent);
}

.store__price-select-text {
  font-size: var(--font-size-s);
  color: var(--text-default);
}

.store__price-select-icon svg {
  width: .7rem;
  height: .7rem;
  fill: var(--text-secondary);
}

.store__card-inner .shop_product_select {
  z-index: 5;
  background: var(--bg-modal, var(--card));
  border: 1px solid var(--transparent-10-w);
  border-radius: var(--br-10);
}

.store__props-box {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: .1rem;
  flex: 1;
}

.store__props {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-height: 4.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.store__prop {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.store__prop-icon {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: .05rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--span) 20%, transparent);
  color: var(--span);
}

.store__prop-icon svg {
  width: .72rem;
  height: .72rem;
  fill: currentColor;
}

.store__prop.is-off .store__prop-icon,
.shop_product_property_disabled .store__prop-icon {
  background: color-mix(in srgb, var(--red) 14%, transparent);
  color: var(--red);
}

.store__prop-title {
  color: #e8e8ec;
  font-size: .86rem;
  line-height: 1.35;
}

.store__prop-val {
  font-style: normal;
  color: var(--money);
  font-weight: var(--font-weight-7);
}

.store__prop-empty {
  color: #8b8b96;
  font-size: .78rem;
  padding: .2rem 0;
}

.store__more {
  display: block;
  align-self: flex-start;
  margin-top: .1rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #8b8b96;
  font-size: .8rem;
  font-weight: var(--font-weight-6);
  line-height: 1.35;
  cursor: inherit;
  pointer-events: none;
  user-select: none;
}

.store__more:hover,
.store__more:focus,
.store__more:active {
  color: #8b8b96;
  background: none;
  box-shadow: none;
  outline: none;
}

.store__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .75rem;
}

.store__price {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
}

.store__price-old {
  color: #8b8b96;
  font-size: .78rem;
  text-decoration: line-through;
  order: 2;
}

.store__price-now {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .28rem;
  color: var(--money);
  font-weight: var(--font-weight-7);
  font-size: 1.5rem;
  line-height: 1;
  order: 1;
}

.store__price-from {
  font-size: .78rem;
  font-weight: var(--font-weight-6);
  color: #9a9aa3;
  text-transform: lowercase;
}

.store__price-curr {
  font-size: .95rem;
  font-weight: var(--font-weight-6);
  color: var(--money);
}

.store__buy {
  min-height: 2.55rem;
  padding: .55rem 1.4rem;
  border: 0;
  border-radius: 12px;
  background: var(--span);
  color: var(--text-default-invert, #111);
  font-weight: var(--font-weight-7);
  cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--span) 30%, transparent);
  transition: filter .15s ease, transform .15s ease;
}

.store__buy:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.store__admin {
  position: absolute;
  top: .7rem;
  right: .7rem;
  display: flex;
  gap: .3rem;
  z-index: 3;
  opacity: 0;
  transition: opacity .15s ease;
}

.store__card:hover .store__admin {
  opacity: 1;
}

.store__admin-btn {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: var(--br-8);
  background: var(--button);
  color: var(--text-default);
  cursor: pointer;
}

.store__admin-btn svg {
  width: .8rem;
  height: .8rem;
  fill: currentColor;
}

.store__admin-btn.is-danger {
  color: var(--red);
}

.store__card--add {
  cursor: pointer;
}

.store__card--add .store__add,
.store__add {
  display: grid;
  place-items: center;
  gap: .5rem;
  min-height: 28rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px dashed var(--transparent-10-w);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  color: var(--text-secondary);
  text-align: center;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.store__card--add:hover .store__add {
  border-color: color-mix(in srgb, var(--span) 40%, transparent);
  color: var(--span);
  background: color-mix(in srgb, var(--span) 6%, var(--card));
}

.store__add svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}

/* ------------------------------------------------------------------ info / faq */

.store__info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

.store__info {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: var(--br-16);
  background: var(--card);
  border: 1px solid var(--transparent-5-w);
}

.store__info svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  fill: var(--span);
  margin-top: .1rem;
}

.store__info strong {
  display: block;
  margin-bottom: .2rem;
  color: var(--text-default);
  font-weight: var(--font-weight-6);
}

.store__info span {
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  line-height: 1.4;
}

.store__info-link {
  color: var(--span);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.store__info-link:hover {
  color: var(--span);
  filter: brightness(1.1);
}

.store__faq {
  padding: .15rem 1.1rem 1rem;
  border-radius: var(--br-16);
  background: var(--card);
  border: 1px solid var(--transparent-5-w);
}

.store__faq-title {
  margin: .9rem 0 .4rem;
  font-size: var(--font-size-xl);
  color: var(--text-default);
}

.store__faq-item {
  border-top: 1px solid var(--transparent-5-w);
  padding: .85rem 0;
}

.store__faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--text-default);
  font-weight: var(--font-weight-6);
  list-style: none;
}

.store__faq-item summary::-webkit-details-marker {
  display: none;
}

.store__faq-item summary > span {
  flex: 1;
  min-width: 0;
}

.store__faq-chevron {
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: var(--text-secondary);
  transition: transform .2s ease, fill .2s ease;
}

.store__faq-item[open] summary {
  color: var(--span);
}

.store__faq-item[open] .store__faq-chevron {
  transform: rotate(180deg);
  fill: var(--span);
}

.store__faq-item p {
  margin: .55rem 0 0;
  color: var(--text-secondary);
  font-size: var(--font-size-m);
  line-height: 1.45;
}

/* ------------------------------------------------------------------ compare */

.store__compare-modal {
  width: min(96vw, 72rem) !important;
  max-height: 85vh;
}

.store__compare-wrap {
  overflow: auto;
  max-height: 70vh;
}

.store__compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}

.store__compare th,
.store__compare td {
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--transparent-5-w);
  text-align: center;
  vertical-align: middle;
}

.store__compare th:first-child,
.store__compare td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: var(--bg-modal, var(--card));
  z-index: 1;
  color: var(--text-custom);
}

.store__compare thead th {
  color: var(--store-color, var(--span));
  font-weight: var(--font-weight-7);
}

.store__compare thead th span {
  color: inherit;
}

.store__cmp--yes {
  color: var(--store-color, var(--green));
  font-weight: var(--font-weight-7);
}

.store__cmp--no {
  color: var(--text-secondary);
  opacity: .7;
}

.store__cmp--val {
  color: var(--store-color, var(--text-default));
  font-weight: var(--font-weight-7);
}

/* ------------------------------------------------------------------ stats */

.store__stats {
  gap: .65rem;
}

.store__dash {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem;
}

.store__dash-grid {
  display: grid;
  gap: .5rem;
}

.store__dash-grid.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.store__dash-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store__dash-grid.cols-chart {
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.85fr) minmax(240px, 0.85fr);
  align-items: start;
}

/* Side tops match chart card height and scroll inside */
.store__dash-grid.cols-chart > .store__dash-card:not(.store__dash-chart) {
  width: 100%;
  max-height: 28.75rem;
  overflow: hidden;
}

.store__dash-grid.cols-chart > .store__dash-card:not(.store__dash-chart) .store__dash-card-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.store__dash-grid.cols-chart > .store__dash-card:not(.store__dash-chart) .store__scroll-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.store__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 7rem;
  padding: 1rem;
  overflow: hidden;
  border-radius: var(--br-12);
  background: var(--input-form);
  border: 1px solid var(--transparent-5-w);
}

.store__stat-bg {
  position: absolute;
  right: -.35rem;
  bottom: -.55rem;
  z-index: 0;
  width: 6.2rem;
  height: 6.2rem;
  opacity: .14;
  fill: currentColor;
  pointer-events: none;
  transform: rotate(-8deg);
}

.store__stat > *:not(.store__stat-bg) {
  position: relative;
  z-index: 1;
}

.store__stat.accent-gold { color: var(--money, #e8c547); }
.store__stat.accent-span,
.store__stat.accent-blue { color: var(--span); }
.store__stat.accent-green { color: var(--green); }
.store__stat.accent-vip { color: var(--orange, #ff8a4c); }

.store__stat-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-custom);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-6);
}

.store__stat-head svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.store__stat-value {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  font-size: 1.7rem;
  font-weight: var(--font-weight-7);
  color: var(--text-default);
  line-height: 1;
}

.store__stat .store__stat-value,
.store__stat .store__stat-foot,
.store__stat .store__kpi {
  color: var(--text-default);
}

.store__stat-value small {
  font-size: var(--font-size-m);
  color: var(--text-secondary);
  font-weight: var(--font-weight-5);
}

.store__stat-foot {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: auto;
  color: var(--text-custom);
  font-size: var(--font-size-s);
}

.store__stat-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.store__kpi {
  color: var(--text-default);
  font-weight: var(--font-weight-7);
}

.store__trend {
  display: inline-flex;
  margin-left: .25rem;
  padding: .1rem .35rem;
  border-radius: var(--br-6);
  font-size: var(--font-size-xs);
  background: var(--transparent-3-w);
}

.store__trend.up {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 12%, transparent);
}

.store__trend.down {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 12%, transparent);
}

.store__stat-bar {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: var(--br-6);
  background: var(--transparent-3-w);
}

.store__stat-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--br-6);
  background: var(--span);
}

.store__stat-bar.green > span { background: var(--green); }
.store__stat-bar.vip > span { background: var(--span); }

.store__stat.accent-gold::before,
.store__stat.accent-span::before,
.store__stat.accent-blue::before,
.store__stat.accent-green::before,
.store__stat.accent-vip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.store__stat.accent-gold::before { background-image: linear-gradient(0deg, color-mix(in srgb, var(--money) 8%, transparent), transparent 70%); }
.store__stat.accent-span::before { background-image: linear-gradient(0deg, color-mix(in srgb, var(--span) 8%, transparent), transparent 70%); }
.store__stat.accent-blue::before { background-image: linear-gradient(0deg, color-mix(in srgb, var(--span) 8%, transparent), transparent 70%); }
.store__stat.accent-green::before { background-image: linear-gradient(0deg, color-mix(in srgb, var(--green) 8%, transparent), transparent 70%); }
.store__stat.accent-vip::before { background-image: linear-gradient(0deg, color-mix(in srgb, var(--orange) 8%, transparent), transparent 70%); }

.store__dash-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--br-12);
  border: 1px solid var(--transparent-5-w);
  background: var(--card);
}

.store__dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--transparent-5-w);
  background: var(--transparent-1-w);
}

.store__dash-card-head h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: var(--font-size-default);
  color: var(--text-default);
}

.store__dash-card-head h2 svg {
  width: 1rem;
  height: 1rem;
  fill: var(--span);
}

.store__dash-card-body {
  padding: 1rem;
}

.store__top-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.store__top-tabs .filter {
  min-width: 2.2rem;
  min-height: 1.85rem;
  padding: .25rem .55rem;
  border: 1px solid var(--transparent-10-w);
  border-radius: var(--br-8);
  background: var(--input-form);
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-6);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.store__top-tabs .filter:hover {
  color: var(--text-default);
  border-color: color-mix(in srgb, var(--span) 35%, transparent);
}

.store__top-tabs .filter.active {
  color: var(--text-default-invert, #111);
  background: var(--span);
  border-color: var(--span);
}

.store__chart {
  position: relative;
  width: 100%;
  min-height: 320px;
  height: 320px;
  overflow: hidden;
}

/* Isolate ApexCharts from global theme rule:
   svg { width:1rem; height:1rem; fill: var(--text-default); } */
.store__chart .apexcharts-canvas {
  width: 100% !important;
  height: 320px !important;
  max-width: 100% !important;
}

.store__chart .apexcharts-canvas > svg,
.store__chart svg.apexcharts-svg {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 320px !important;
  min-height: 320px !important;
  overflow: visible !important;
  vertical-align: top !important;
}

.store__chart .apexcharts-legend {
  padding: 0 !important;
}

/* Theme sets svg{fill:...} which kills ApexCharts strokes — lines only, no area fill */
.store__chart .apexcharts-line-series .apexcharts-series path,
.store__chart .apexcharts-series path {
  stroke-width: 3px !important;
  stroke-opacity: 1 !important;
  opacity: 1 !important;
  fill: none !important;
  fill-opacity: 0 !important;
}

.store__chart .apexcharts-series[rel="1"] path {
  stroke: var(--span, #6eb6ff) !important;
}

.store__chart .apexcharts-series[rel="2"] path {
  stroke: var(--green, #64ce82) !important;
}

.store__chart .apexcharts-grid line,
.store__chart .apexcharts-gridlines-horizontal line,
.store__chart .apexcharts-gridlines-vertical line {
  stroke: rgba(255, 255, 255, 0.12) !important;
}

.store__chart .apexcharts-xaxis text,
.store__chart .apexcharts-yaxis text,
.store__chart .apexcharts-legend-text {
  fill: var(--text-secondary, #9a9aa3) !important;
}

.store__chart-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: .75rem;
  color: var(--text-secondary);
  font-size: var(--font-size-s);
}

.store__chart-meta b {
  color: var(--text-default);
}

.store__top-list,
.store__buyers {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

/* Show ~5 rows, scroll the rest */
.store__scroll-list {
  max-height: 22.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: .15rem;
  scrollbar-gutter: stable;
}

.store__scroll-list::-webkit-scrollbar {
  width: 6px;
}

.store__scroll-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--transparent-10-w);
}

.store__top-item,
.store__buyer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .55rem .65rem;
  border-radius: var(--br-10);
  background: var(--input-form);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--transparent-5-w);
  transition: border-color .15s ease;
}

.store__buyer:hover,
.store__top-item:hover {
  border-color: color-mix(in srgb, var(--span) 30%, transparent);
}

.store__buyer {
  grid-template-columns: auto auto 1fr auto;
}

.store__buyer img {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  object-fit: cover;
}

.store__top-rank {
  color: var(--text-secondary);
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-s);
}

.store__top-name,
.store__buyer-name {
  color: var(--text-default);
  font-weight: var(--font-weight-6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store__top-meta,
.store__buyer-meta {
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  white-space: nowrap;
}

.store__empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1280px) {
  .store__dash-grid.cols-chart {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  .store__dash-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .store__dash-grid.cols-chart {
    grid-template-columns: 1fr 1fr;
  }

  .store__dash-grid.cols-chart > .store__dash-chart {
    grid-column: 1 / -1;
  }

  .store__dash-grid.cols-chart > .store__dash-card:not(.store__dash-chart) {
    max-height: 22rem;
  }
}

@media (max-width: 720px) {
  .store__dash-grid.cols-chart {
    grid-template-columns: 1fr;
  }

  .store__dash-grid.cols-chart > .store__dash-card:not(.store__dash-chart) {
    max-height: 18rem;
  }
}

@media (max-width: 980px) {
  .store__grid.cols-4,
  .shop_wrapper_product.store__grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .store__hero {
    grid-template-columns: 1fr;
    padding: 1.2rem 1.15rem;
    min-height: 0;
  }

  .store__hero-art {
    display: none;
  }

  .store__hero-content {
    padding-right: 0;
  }

  .store__hero-actions {
    justify-content: flex-start;
  }

  .store__grid.cols-3,
  .shop_wrapper_product.store__grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .store__info-grid {
    grid-template-columns: 1fr;
  }

  .store__admin {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .store__grid.cols-2,
  .store__grid.cols-3,
  .store__grid.cols-4,
  .shop_wrapper_product.store__grid.cols-2,
  .shop_wrapper_product.store__grid.cols-3,
  .shop_wrapper_product.store__grid.cols-4 {
    grid-template-columns: 1fr !important;
  }

  .store__search {
    max-width: none;
  }

  .store__ribbon {
    top: 10px;
    right: -36px;
    width: 100px;
    font-size: .65rem;
  }
}

/* ------------------------------------------------------------------ buy modal */

.store__buy-modal .store__buy-shell {
  width: min(96vw, 920px) !important;
  max-height: 90vh;
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--bg-modal, var(--card));
  border: 1px solid var(--transparent-10-w);
  border-radius: var(--br-16);
  position: relative;
}

.store__buy-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: var(--br-8);
  background: var(--button);
  color: var(--text-default);
  cursor: pointer;
  z-index: 2;
}

.store__buy-close svg {
  width: .9rem;
  height: .9rem;
  fill: currentColor;
}

.store__buy-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-right: 2.2rem;
  margin-bottom: 1rem;
}

.store__buy-icon {
  width: 4.2rem;
  height: 4.2rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--br-12);
  background: color-mix(in srgb, var(--store-color, var(--span)) 14%, var(--input-form));
  border: 1px solid color-mix(in srgb, var(--store-color, var(--span)) 25%, transparent);
  overflow: hidden;
}

.store__buy-icon img {
  max-width: 3.2rem;
  max-height: 3.2rem;
  object-fit: contain;
}

.store__buy-title {
  margin: 0 0 .25rem;
  font-size: 1.65rem;
  font-weight: var(--font-weight-7);
  color: var(--text-default);
  line-height: 1.15;
}

.store__buy-sub {
  margin: 0 0 .55rem;
  color: var(--text-secondary);
  font-size: var(--font-size-m);
  line-height: 1.4;
}

.store__buy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.store__buy-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: var(--font-weight-6);
  background: var(--transparent-5-w);
  color: var(--text-custom);
}

.store__buy-tag svg {
  width: .75rem;
  height: .75rem;
  fill: currentColor;
}

.store__buy-tag--server {
  background: color-mix(in srgb, var(--span) 14%, transparent);
  color: var(--span);
}

.store__buy-tag--badge {
  background: color-mix(in srgb, var(--span) 16%, transparent);
  color: var(--span);
  text-transform: uppercase;
}

.store__buy-tag--sale {
  background: var(--red-10, color-mix(in srgb, var(--red) 14%, transparent));
  color: var(--red);
}

.store__buy-body {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 1.15rem;
  min-height: 18rem;
  position: relative;
}

.store__buy-body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(1.35fr / (1.35fr + .9fr) * 100%);
  width: 1px;
  background: color-mix(in srgb, var(--span) 35%, transparent);
  pointer-events: none;
  display: none;
}

.store__buy-left {
  padding-right: .85rem;
  border-right: 1px solid color-mix(in srgb, var(--span) 28%, transparent);
}

.store__buy-label {
  margin-bottom: .55rem;
  color: var(--text-secondary);
  font-size: .72rem;
  font-weight: var(--font-weight-7);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.store__buy-servers {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-bottom: .75rem;
}

.store__buy-server {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  padding: .45rem .85rem;
  border-radius: var(--br-8);
  border: 1px solid var(--transparent-10-w);
  background: var(--input-form, transparent);
  color: var(--text-secondary);
  font-size: .78rem;
  font-weight: var(--font-weight-7);
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.store__buy-server.is-active {
  background: var(--span);
  border-color: var(--span);
  color: var(--text-default-invert, #111);
}

.store__buy-features {
  max-height: 22rem;
  overflow: auto;
  padding-right: .25rem;
  display: flex;
  flex-direction: column;
  gap: .28rem;
}

.store__buy-feat-cat {
  margin: .55rem 0 .2rem;
  color: var(--text-secondary);
  font-size: .68rem;
  font-weight: var(--font-weight-7);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.store__buy-feat-cat:first-child {
  margin-top: 0;
}

.store__buy-feat {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .3rem .35rem;
  border-radius: var(--br-8);
  color: var(--text-default);
  font-size: var(--font-size-m);
  line-height: 1.35;
}

.store__buy-feat-val {
  font-style: normal;
  color: var(--money);
  font-weight: var(--font-weight-7);
}

.store__buy-feat-ico {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: .1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--span) 16%, transparent);
  color: var(--span);
}

.store__buy-feat-ico svg {
  width: .75rem;
  height: .75rem;
  fill: currentColor;
}

.store__buy-feat.is-off {
  opacity: .55;
}

.store__buy-feat.is-off .store__buy-feat-ico {
  background: color-mix(in srgb, var(--red) 14%, transparent);
  color: var(--red);
}

.store__buy-prices {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: .75rem;
}

.store__buy-price-card {
  display: flex;
  gap: .35rem;
  width: 100%;
  padding: .75rem .85rem;
  border-radius: var(--br-12);
  border: 1px solid var(--transparent-10-w);
  background: var(--input-form);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.store__buy-price-card.is-active {
  border-color: var(--money);
  background: color-mix(in srgb, var(--money) 8%, var(--input-form));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--money) 30%, transparent);
}

.store__buy-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.store__buy-price-term {
  color: var(--text-default);
  font-weight: var(--font-weight-6);
}

.store__buy-price-vals {
  display: flex;
  align-items: baseline;
  gap: .35rem;
}

.store__buy-price-old {
  color: var(--text-secondary);
  text-decoration: line-through;
  font-size: var(--font-size-s);
}

.store__buy-price-now {
  color: var(--money);
  font-size: 1.45rem;
  font-weight: var(--font-weight-7);
  line-height: 1;
}

.store__buy-price-curr {
  color: var(--money);
  font-size: .9rem;
  font-weight: var(--font-weight-6);
}

.store__buy-recipient {
  display: flex;
  width: 100%;
  gap: .2rem;
  margin-bottom: .65rem;
  padding: .2rem;
  border-radius: var(--br-12);
  border: 1px solid var(--transparent-10-w);
  background: color-mix(in srgb, var(--input-form) 70%, transparent);
  box-sizing: border-box;
}

.store__buy-recipient .store__buy-rec-btn {
  flex: 1 1 0;
  width: 100% !important;
  max-width: none;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.35rem;
  padding: .45rem .7rem;
  border: 0;
  border-radius: calc(var(--br-12) - 2px);
  background: transparent;
  color: var(--text-secondary);
  font-weight: var(--font-weight-6);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  box-sizing: border-box;
}

.store__buy-rec-btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  opacity: .85;
}

.store__buy-rec-btn.is-active {
  background: color-mix(in srgb, var(--text-default) 12%, var(--input-form));
  color: var(--text-default);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--transparent-5-w) 80%, transparent);
}

.store__buy-rec-btn.is-active svg {
  opacity: 1;
}

.store__buy-rec-btn:hover:not(.is-active) {
  color: var(--text-default);
}

.store__buy-gift-wrap {
  margin-bottom: .65rem;
}

.store__buy-gift-wrap[hidden] {
  display: none !important;
}

.store__buy-gift-steam {
  width: 100%;
}

.store__buy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100% !important;
  max-width: none;
  min-height: 2.8rem;
  padding: .7rem 1rem;
  border-radius: var(--br-12);
  background: color-mix(in srgb, var(--text-default) 12%, var(--input-form));
  color: var(--text-default);
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-m);
  cursor: pointer;
  border: 1px solid var(--transparent-10-w);
  box-sizing: border-box;
}

.store__buy-cta:hover:not(:disabled):not(.is-low) {
  background: color-mix(in srgb, var(--span) 22%, var(--input-form));
  border-color: color-mix(in srgb, var(--span) 40%, transparent);
}

.store__buy-cta-price,
.store__buy-cta-curr {
  color: var(--money);
}

.store__buy-cta.is-low,
.store__buy-cta:disabled {
  cursor: not-allowed;
  opacity: .72;
  background: color-mix(in srgb, var(--text-default) 8%, var(--input-form));
  border-color: var(--transparent-10-w);
  color: var(--text-secondary);
  pointer-events: none;
}

.store__buy-cta.is-low .store__buy-cta-price,
.store__buy-cta.is-low .store__buy-cta-curr,
.store__buy-cta:disabled .store__buy-cta-price,
.store__buy-cta:disabled .store__buy-cta-curr {
  color: var(--red);
}

.store__buy-cta--steam {
  background: var(--money);
  color: var(--text-default-invert);
  border-color: transparent;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--money) 25%, transparent);
}

.store__buy-cta svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.store__buy-topup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none;
  min-height: 2.8rem;
  margin-top: .55rem;
  padding: .7rem 1rem;
  border-radius: var(--br-12);
  border: 1px solid color-mix(in srgb, var(--money) 45%, transparent);
  background: color-mix(in srgb, var(--money) 14%, var(--input-form));
  color: var(--money);
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-m);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background .15s ease, border-color .15s ease;
}

.store__buy-topup:hover {
  background: color-mix(in srgb, var(--money) 22%, var(--input-form));
  border-color: color-mix(in srgb, var(--money) 65%, transparent);
}

.store__buy-topup[hidden] {
  display: none !important;
}

.store__buy-confirm {
  width: min(92vw, 28rem) !important;
}

.store__buy-confirm-body {
  padding: 1rem 1.15rem 0;
}

.store__buy-confirm-lead {
  margin: 0 0 .85rem;
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  line-height: 1.4;
}

.store__buy-confirm-lead b {
  color: var(--text-default);
  font-weight: var(--font-weight-6);
}

.store__buy-confirm-legs {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.store__buy-confirm-leg {
  padding: .75rem .85rem;
  border-radius: var(--br-12);
  background: var(--input-form);
  border: 1px solid var(--transparent-5-w);
}

.store__buy-confirm-leg.is-replace {
  border-color: color-mix(in srgb, var(--orange, #ff8a4c) 35%, transparent);
}

.store__buy-confirm-leg.is-extend {
  border-color: color-mix(in srgb, var(--green) 35%, transparent);
}

.store__buy-confirm-leg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .55rem;
}

.store__buy-confirm-kind {
  color: var(--text-default);
  font-weight: var(--font-weight-6);
  font-size: var(--font-size-s);
}

.store__buy-confirm-badge {
  padding: .15rem .45rem;
  border-radius: var(--br-6);
  font-size: .68rem;
  font-weight: var(--font-weight-7);
  text-transform: uppercase;
  letter-spacing: .03em;
  background: color-mix(in srgb, var(--span) 16%, transparent);
  color: var(--span);
}

.store__buy-confirm-leg.is-replace .store__buy-confirm-badge {
  background: color-mix(in srgb, var(--orange, #ff8a4c) 16%, transparent);
  color: var(--orange, #ff8a4c);
}

.store__buy-confirm-leg.is-extend .store__buy-confirm-badge {
  background: color-mix(in srgb, var(--green) 16%, transparent);
  color: var(--green);
}

.store__buy-confirm-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .55rem;
  font-size: var(--font-size-s);
  color: var(--text-secondary);
}

.store__buy-confirm-row + .store__buy-confirm-row {
  margin-top: .4rem;
}

.store__buy-confirm-row.is-next strong {
  color: var(--text-default);
}

.store__buy-confirm-label {
  min-width: 3.5rem;
  color: var(--text-custom);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.store__buy-confirm-row strong {
  color: var(--text-default);
  font-weight: var(--font-weight-6);
}

.store__buy-confirm-row em {
  font-style: normal;
  color: var(--text-secondary);
  font-size: .78rem;
}

.store__buy-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  padding: 1rem 1.15rem 1.15rem;
}

.store__buy-empty {
  padding: 1rem;
  color: var(--text-secondary);
  text-align: center;
  font-size: var(--font-size-s);
}

/* product servers / modes picker */
.store__servers-pick {
  margin: .85rem 0 1rem;
  padding: .85rem;
  border-radius: var(--br-12);
  background: color-mix(in srgb, var(--input-bg, #1a1a22) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-default) 8%, transparent);
}

.store__servers-pick-head {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: .65rem;
}

.store__servers-pick-label {
  font-weight: var(--font-weight-6);
  color: var(--text-default);
}

.store__servers-pick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.store__servers-pick-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.1rem;
  padding: .35rem .7rem;
  border-radius: var(--br-8, 8px);
  background: color-mix(in srgb, var(--bg, #121218) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-default) 10%, transparent);
  color: var(--text-default);
  font-size: var(--font-size-s);
  cursor: pointer;
  user-select: none;
}

.store__servers-pick-item:has(input:checked) {
  border-color: color-mix(in srgb, var(--span, #5865f2) 55%, transparent);
  background: color-mix(in srgb, var(--span, #5865f2) 16%, transparent);
}

.store__servers-pick-item input {
  margin: 0;
  accent-color: var(--span, #5865f2);
}

/* advantages editor */
.store__adv-shell {
  width: min(96vw, 780px) !important;
  max-height: 90vh;
}

.store__adv-eyebrow {
  color: var(--text-secondary);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.store__adv-title {
  display: block;
  font-size: 1.15rem;
  color: var(--text-default);
}

.store__adv-servers {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .85rem 0 .55rem;
}

.store__adv-hint {
  margin: 0 0 .75rem;
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  line-height: 1.4;
}

.store__adv-inherit {
  margin: .75rem 0 .55rem;
  padding: .75rem .85rem;
  border-radius: var(--br-12);
  background: var(--input-form);
  border: 1px solid var(--transparent-5-w);
}

.store__adv-inherit-hint {
  margin: .4rem 0 0;
  color: var(--text-secondary);
  font-size: .72rem;
  line-height: 1.35;
}

.store__adv-list {
  max-height: 16rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: .9rem;
  padding-right: .2rem;
}

.store__adv-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: .55rem;
  align-items: center;
  padding: .55rem .65rem;
  border-radius: var(--br-10, var(--br-8));
  border: 1px solid var(--transparent-10-w);
  background: var(--input-form);
}

.store__adv-item.is-off {
  opacity: .55;
}

.store__adv-item-meta {
  color: var(--text-secondary);
  font-size: .7rem;
}

.store__adv-item-title {
  color: var(--text-default);
  font-weight: var(--font-weight-6);
}

.store__adv-item-value {
  min-width: 3.5rem;
  text-align: right;
  color: var(--span, var(--text-default));
  font-weight: var(--font-weight-6);
  font-variant-numeric: tabular-nums;
}

.store__adv-item-actions {
  display: flex;
  gap: .25rem;
}

.store__adv-form {
  padding-top: .75rem;
  border-top: 1px solid var(--transparent-10-w);
}

.store__adv-form-row {
  display: flex;
  gap: .55rem;
  align-items: flex-end;
  margin-bottom: .55rem;
}

.store__adv-form-row--main {
  flex-wrap: wrap;
}

.store__adv-sort {
  max-width: 5.5rem;
}

.store__adv-cat-field {
  flex: 1;
  min-width: 12rem;
}

.store__adv-cat-row {
  display: flex;
  gap: .4rem;
  align-items: stretch;
}

.store__adv-cat-row select,
.store__adv-cat-row input {
  flex: 1;
  min-width: 0;
}

.store__adv-cat-btn {
  flex: 0 0 auto;
  min-width: 2.4rem;
  padding-left: .6rem;
  padding-right: .6rem;
}

.store__adv-cat-new {
  margin-bottom: .55rem;
}

.store__adv-title-field {
  flex: 1.2;
  min-width: 9rem;
}

.store__adv-value-field {
  flex: .8;
  min-width: 6rem;
  max-width: 9rem;
}

.store__adv-check {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  white-space: nowrap;
  margin-bottom: .35rem;
}

.store__adv-cell {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

/* ------------------------------------------------------------------ products admin */

.store__products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  border-radius: var(--br-16);
  background: var(--card);
  border: 1px solid var(--transparent-5-w);
}

.store__products-title {
  margin: 0;
  font-size: var(--font-size-xl);
  color: var(--text-default);
}

.store__products-toolbar-left,
.store__products-toolbar-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.store__muted {
  color: var(--text-secondary);
  font-size: var(--font-size-s);
}

.store__products-card {
  padding: .5rem;
  border-radius: var(--br-16);
}

.store__products-table-wrap {
  overflow: auto;
}

.store__products-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.store__products-table th,
.store__products-table td {
  padding: .75rem .7rem;
  border-bottom: 1px solid var(--transparent-5-w);
  text-align: left;
  vertical-align: middle;
  color: var(--text-default);
  font-size: var(--font-size-m);
}

.store__products-table th {
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-6);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.store__prod-cell {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.store__log-player {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  max-width: 100%;
  color: var(--span);
  text-decoration: none;
  vertical-align: middle;
}

.store__log-player:hover {
  color: var(--span);
  text-decoration: underline;
}

.store__log-player img {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--input-form);
}

.store__log-player span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
}

.store__log-server {
  display: inline-block;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.store__log-server.is-all,
.store__log-server[data-tippy-content] {
  cursor: help;
  border-bottom: 1px dashed color-mix(in srgb, var(--text-secondary) 55%, transparent);
}

.tippy-box .tippy-content {
  white-space: pre-line;
}

.store__prod-thumb {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  border-radius: var(--br-8);
  background: color-mix(in srgb, var(--store-color, var(--span)) 12%, var(--input-form));
}

.store__prod-badge {
  display: inline-flex;
  margin-left: .35rem;
  padding: .1rem .4rem;
  border-radius: var(--br-6);
  background: color-mix(in srgb, var(--store-color, var(--span)) 16%, transparent);
  color: var(--store-color, var(--span));
  font-size: .65rem;
  font-weight: var(--font-weight-7);
  text-transform: uppercase;
}

.store__prod-actions {
  white-space: nowrap;
}

.store__icon-btn {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: var(--br-8);
  background: var(--button);
  color: var(--text-default);
  cursor: pointer;
}

.store__icon-btn svg {
  width: .85rem;
  height: .85rem;
  fill: currentColor;
}

.store__icon-btn.is-danger {
  color: var(--red);
}

.store__status {
  display: inline-flex;
  padding: .2rem .45rem;
  border-radius: var(--br-6);
  font-size: .7rem;
  font-weight: var(--font-weight-7);
}

.store__status.is-on {
  background: color-mix(in srgb, var(--green) 14%, transparent);
  color: var(--green);
}

.store__status.is-off {
  background: var(--transparent-10-w);
  color: var(--text-secondary);
}

/* Product status toggle in table */
input[type="checkbox"].switch.store__status-toggle {
  cursor: pointer;
  vertical-align: middle;
}

input[type="checkbox"].switch.store__status-toggle:checked {
  background: var(--green) !important;
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent),
    0 0 12px color-mix(in srgb, var(--green) 35%, transparent);
}

input[type="checkbox"].switch.store__status-toggle:checked:after {
  background: #fff !important;
}

input[type="checkbox"].switch.store__status-toggle:not(:checked) {
  background: var(--transparent-10-w, rgba(255, 255, 255, .08));
  border-color: var(--transparent-10-w, rgba(255, 255, 255, .12));
  box-shadow: none;
  opacity: .85;
}

.store__warn {
  color: var(--orange, var(--money));
}

.store__manage-modal {
  width: min(96vw, 34rem) !important;
  max-height: 85vh;
}

.store__manage-hint {
  margin: 0 0 .75rem;
  color: var(--text-secondary);
  font-size: var(--font-size-s);
  line-height: 1.4;
}

.store__manage-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  max-height: 22rem;
  overflow: auto;
  margin-bottom: .85rem;
}

.store__manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .8rem;
  border-radius: var(--br-12);
  background: var(--input-form);
  border: 1px solid var(--transparent-5-w);
}

.store__manage-actions {
  display: flex;
  gap: .3rem;
}

.store__manage-form {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.store__server-row {
  flex-direction: column;
  align-items: stretch;
}

.store__server-fields {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  width: 100%;
}

.store__server-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.store__server-meta > div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .45rem .55rem;
  border-radius: var(--br-8);
  background: var(--transparent-3-w);
}

@media (max-width: 900px) {
  .store__buy-body {
    grid-template-columns: 1fr;
  }

  .store__buy-left {
    padding-right: 0;
    border-right: 0;
    padding-bottom: .85rem;
    border-bottom: 1px solid color-mix(in srgb, var(--span) 28%, transparent);
    margin-bottom: .35rem;
  }

  .store__buy-features {
    max-height: 14rem;
  }

  .store__server-meta {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ product form prices */

.store__prices-shell {
  width: min(96vw, 640px) !important;
  max-height: 90vh;
}

.store__price-block {
  margin: .75rem 0;
  padding: .85rem;
  border-radius: var(--br-12);
  background: var(--input-form);
  border: 1px solid var(--transparent-5-w);
}

#store-prices-modal .store__price-block {
  margin-top: .25rem;
}

.store__price-block-head {
  margin-bottom: .65rem;
}

.store__price-block-head h3 {
  margin: 0 0 .2rem;
  font-size: var(--font-size-default);
  color: var(--text-default);
}

.store__price-fields {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.store__pf {
  display: none;
}

.store__price-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: .75rem;
}

.store__price-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .65rem;
  border-radius: var(--br-10);
  background: var(--card);
  border: 1px solid var(--transparent-5-w);
}

.shop_table_add_card .shop_body_table,
.shop_table_edit_card .shop_body_table {
  max-height: 80vh;
  overflow: auto;
}



/* ==== Store card: kill legacy shop_* overrides ==== */
.store__card .shop_product,
.store__card .store__card-inner.shop_product {
  gap: 0 !important;
}

.store__card .store__card-title,
.store__card h3.store__card-title {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  background: none !important;
  border: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

.store__card .store__card-title-text {
  color: var(--store-color) !important;
  -webkit-text-fill-color: var(--store-color) !important;
}

.store__card .store__preview .store__img {
  max-width: none !important;
  max-height: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.store__card .store__footer {
  margin: 0 !important;
  gap: .75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.store__card .store__price {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.store__card .store__buy {
  flex: 0 0 auto !important;
  width: auto !important;
  min-height: 2.55rem !important;
  padding: .55rem 1.4rem !important;
  border-radius: 12px !important;
  background: var(--span) !important;
  color: var(--text-default-invert, #111) !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--span) 30%, transparent) !important;
  text-shadow: none !important;
  justify-content: center !important;
}

.store__card .store__buy span {
  position: static !important;
  opacity: 1 !important;
  right: auto !important;
}

.store__card .store__card-head {
  position: relative;
  z-index: 1;
}

.store__card .store__card-body {
  position: relative;
  z-index: 2;
  background: transparent;
}

.store__card .store__card-inner.shop_product,
.store__card .shop_product.store__card-inner {
  background: var(--card) !important;
}

.store__card .store__props {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.store__card .store__prop {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
