/* Скругления: -webkit- / -moz- префиксы для старых Safari и Firefox; IE9+ — стандартный border-radius. IE6–8 — только с PIE.htc (см. комментарий в css-ie.css). */
body {
  font-size: 15px;
  font-family: 'Roboto', 'Book Antiqua', Times New Roman, serif;
  font-weight: 400;
  color: #000;
  /* сплошной фон для IE6–8 и встроенного IE без градиентов */
  background: #120808;
  background: linear-gradient(135deg, #241414 0%, #000000 100%);
  margin: 0;
  padding: 0;
}
.shop-test-banner td {
  background: #8a2020;
  color: #fffbe6;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

input, button {
  background-color: #fffbe6;
  color: #3a2a13;
  font-weight: bold;
  font-size: 1em;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  border: 1px solid #e6d17a;
  padding: 8px 16px;
  transition: box-shadow 0.2s, background 0.2s;
}
input:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #e6d17a;
}
/*
  Выпадающие списки: как у основного текста в shop.php (таблицы-обёртки с
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px).
  Нативный список пунктов на Windows часто не наследует — явный стек + !important.
*/
select {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: #2a2418;
  background-color: #fffbe6;
  background-image: none;
  background-image: linear-gradient(180deg, #fffef8 0%, #f5ecd4 100%);
  border: 1px solid #a89880;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  padding: 7px 28px 7px 10px;
  min-height: 38px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  appearance: auto;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
select:focus {
  outline: none;
  border-color: #bfa14a;
  box-shadow: 0 0 0 2px rgba(191, 161, 74, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.06);
}
select option,
select optgroup {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: normal !important;
  line-height: normal !important;
  color: #2a2418 !important;
  background-color: #fffbe6 !important;
}
button {
  cursor: pointer;
  border: none;
  background: #f5e6b0;
  background: linear-gradient(90deg, #ffe28a 0%, #fbeecb 100%);
  color: #3a2a13;
  font-weight: 700;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  width: 100%;
  padding: 12px 0;
  margin-top: 18px;
  font-size: 1.08em;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(191,161,74,0.10);
  transition: background 0.18s, color 0.18s;
}
button:hover {
  background: #f8ecc4;
  background: linear-gradient(90deg, #ffe28a 0%, #ffeecb 100%);
  color: #bfa14a;
}
a {
  color: #bfa14a;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover {
  color: #e6d17a;
}
.shop-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  justify-content: center;
  background: none;
  padding: 40px 0;
}
.service-card {
  background: #fffbe6;
  border: 2px solid #ffe28a;
  box-shadow: 0 6px 32px rgba(191,161,74,0.10), 0 2px 0 #fbeecb;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-bottom: 0;
  padding: 32px 24px 24px 24px;
  min-height: 220px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  border-radius: 18px;
  transition: box-shadow 0.18s, border-color 0.18s, background 0.18s;
}
.service-card:hover {
  box-shadow: 0 16px 48px rgba(191,161,74,0.18), 0 8px 0 #fbeecb;
  border-color: #e6d17a;
  background: #fffde9;
}
.service-image {
  position: absolute;
  top: -24px;
  left: -24px;
  background: #fff;
  -webkit-border-radius: 16px 0 24px 0;
  -moz-border-radius: 16px 0 24px 0;
  border-radius: 16px 0 24px 0;
  padding: 8px 12px 8px 8px;
  box-shadow: 0 2px 12px rgba(191,161,74,0.13);
  border: 1.5px solid #ffe28a;
}
.service-image img {
  width: 44px;
  height: 44px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 8px rgba(191,161,74,0.10);
  border: 1.5px solid #fffbe6;
}
.service-info {
  width: 100%;
  padding: 0;
  text-align: left;
  margin-top: 12px;
}
.service-info h3 {
  margin: 0 0 10px 0;
  font-size: 1.35em;
  color: #bfa14a;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px #fffde9;
}
.service-info p {
  margin: 0 0 10px 0;
  color: #3a2a13;
  font-size: 1em;
  min-height: 36px;
  line-height: 1.5;
}
.service-btn {
  background: #f5e6b0;
  background: linear-gradient(90deg, #ffe28a 0%, #fbeecb 100%);
  color: #3a2a13;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  width: 50%;
  min-width: 120px;
  max-width: 260px;
  padding: 12px 0;
  margin: 18px auto 0 auto;
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(191,161,74,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.18s, color 0.18s;
}
.service-btn img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}
.service-btn:hover {
  background: #faf0d4;
  background: linear-gradient(90deg, #ffe28a 0%, #fffbe6 100%);
  color: #bfa14a;
}
@media (max-width: 700px) {
  .shop-container { flex-direction: column; align-items: center; }
  .service-card { width: 98vw; max-width: 98vw; padding-left: 8px; padding-right: 8px; }
  .service-btn { width: 80%; min-width: 100px; }
}

/* extra5: шапка магазина, карточки, блок услуг (приглушённая палитра в духе darkswords.net) */
.shop-top-block,
.shop-feature-card {
  background: #e8e2d6;
  border: 1px solid #a89880;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.shop-top-block {
  width: 100%;
  max-width: 920px;
  margin: 0 auto 16px auto;
  padding: 14px 16px 16px 16px;
  box-sizing: border-box;
}
.shop-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
  justify-content: space-between;
}
.shop-currency-panel {
  flex: 1 1 260px;
  min-width: 0;
}
.shop-client-name {
  font-size: 1.02em;
  margin-bottom: 10px;
  text-align: left;
  color: #2a2418;
}
.shop-header-quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-bottom: 10px;
}
.shop-header-quick-form {
  margin: 0;
  display: inline-block;
}
.shop-header-quick-btn {
  width: auto !important;
  margin: 0 !important;
  padding: 4px 9px !important;
  font-size: 0.8em !important;
  line-height: 1.25 !important;
}
.currency-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.currency-item,
.shop-subs-panel {
  background: #f2ede4;
  border: 1px solid #b5a892;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.currency-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  box-shadow: none;
}
.currency-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72em;
  font-weight: 700;
  color: #3a3428;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #8a7d68;
}
.currency-pt .currency-icon {
  background: #c9b896;
  color: #2a2418;
}
.currency-vp .currency-icon {
  background: #8a9ba8;
  color: #f0f0e8;
}
.currency-gold .currency-icon {
  background: #b8a878;
  color: #2a2418;
}
.currency-pd .currency-icon {
  background: #f4f3f1;
  color: #3a3835;
  border-color: #c8c4bc;
}
.currency-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.currency-label {
  font-size: 0.8em;
  color: #5c5346;
}
.currency-value {
  font-weight: 700;
  font-size: 1.05em;
  color: #1e1a14;
  word-break: break-all;
}
.shop-subs-panel {
  flex: 1 1 300px;
  min-width: 0;
  padding: 10px 12px;
  text-align: left;
}
.shop-subs-title {
  font-weight: 700;
  font-size: 1.02em;
  margin-bottom: 8px;
  color: #2a2418;
  border-bottom: 1px solid #a89880;
  padding-bottom: 4px;
}
.shop-subs-list {
  max-height: 280px;
  overflow-y: auto;
  font-size: 0.93em;
  line-height: 1.45;
  color: #3a3428;
}
.shop-subs-list .sub-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px 0 7px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.12);
}
.shop-subs-list .sub-line:last-child {
  border-bottom: none;
}
.shop-subs-list .sub-line__title {
  font-weight: 600;
  color: #2a2418;
  line-height: 1.35;
  width: 100%;
}
.shop-subs-list .sub-line__remain {
  font-size: 0.95em;
  font-weight: 500;
  color: #5c5346;
  line-height: 1.3;
  white-space: nowrap;
}
.shop-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto 14px auto;
  padding: 0 8px;
  box-sizing: border-box;
}

/* Общие оболочки секций (одинаковая ширина и поля) */
.shop-promo-block,
.shop-eternal-block,
.shop-stickers-block {
  max-width: 920px;
  margin: 0 auto 18px auto;
  padding: 0 8px;
  box-sizing: border-box;
}
.shop-stickers-block {
  text-align: left;
}
.shop-vpt-block,
.shop-private-shops-block,
.shop-subscriptions-block {
  max-width: 920px;
  margin: 0 auto 20px auto;
  padding: 0 8px;
  box-sizing: border-box;
  text-align: left;
}

.shop-promo-inner,
.shop-eternal-inner,
.shop-stickers-inner,
.shop-vpt-inner,
.shop-private-shops-inner,
.shop-subscriptions-inner {
  padding: 16px 18px 18px 18px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}
.shop-promo-inner {
  /* тёплый кремовый */
  background: #ebe8e0;
  border: 1px solid #aa9e8c;
}
.shop-promo-title {
  margin: 0 0 6px 0;
  font-size: 1.15em;
  font-weight: 700;
  color: #2a2418;
  letter-spacing: 0;
}
.shop-promo-hint {
  margin: 0 0 12px 0;
  font-size: 0.94em;
  line-height: 1.45;
  color: #4a4540;
}
.shop-promo-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.shop-promo-label {
  font-weight: 600;
  color: #3a3428;
  flex-shrink: 0;
}
.shop-promo-input {
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 360px;
  padding: 8px 12px;
  font-size: 1em;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #9a8b78;
  background: #f7f4ee;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}
.shop-promo-input:focus {
  outline: none;
  border-color: #7a6a58;
  box-shadow: 0 0 0 1px rgba(90, 80, 65, 0.25);
}
/* Как у остальных кнопок магазина (input + градиент при hover, как button) */
.shop-promo-submit {
  width: auto !important;
  min-width: 130px;
  margin-top: 0 !important;
  padding: 10px 18px !important;
  cursor: pointer;
  background-color: #fffbe6 !important;
  background-image: none !important;
  color: #3a2a13 !important;
  font-weight: bold !important;
  font-size: 1em !important;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px !important;
  border: 1px solid #e6d17a !important;
  box-shadow: 0 2px 8px rgba(191, 161, 74, 0.1);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.shop-promo-submit:hover {
  background: #f8ecc4 !important;
  background: linear-gradient(90deg, #ffe28a 0%, #ffeecb 100%) !important;
  color: #bfa14a !important;
}
.shop-promo-submit:focus {
  outline: none;
  box-shadow: 0 0 0 2px #e6d17a;
}
.shop-promo-submit:disabled,
.shop-promo-submit.shop-promo-submit--busy:disabled {
  cursor: wait;
  opacity: 0.78;
  background: #f0e8cc !important;
  color: #6a5a38 !important;
  box-shadow: none;
}
.shop-promo-input[readonly] {
  background: #ece8e0;
  color: #5a5548;
}
.shop-promo-status {
  margin: 10px 0 0 0;
  font-size: 0.94em;
  line-height: 1.45;
  color: #5a4a28;
  font-weight: 600;
}
.shop-promo-status--error {
  color: #8a3028;
}
@media (max-width: 520px) {
  .shop-promo-form {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-promo-submit {
    width: 100% !important;
    max-width: none;
  }
}
.shop-feature-card {
  flex: 1 1 280px;
  max-width: 420px;
  padding: 18px 16px 16px 16px;
  box-sizing: border-box;
  text-align: center;
}
.shop-feature-gifts {
  /* мягкий зеленовато-серый */
  background: #dde4dd;
  border-color: #8f9a92;
}
.shop-feature-premium {
  background: #3d3830;
  border-color: #6a5a48;
  color: #e8e4dc;
}
.shop-feature-premium .shop-feature-title {
  color: #d4c8a8;
  text-shadow: none;
}
.shop-feature-premium .shop-feature-text {
  color: #b8b0a0;
}
.shop-premium-card-header {
  margin: -18px -16px 12px -16px;
  padding: 8px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  max-height: 92px;
  line-height: 0;
  -webkit-border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  border-bottom: 1px solid #5a5048;
  background: #353028;
  box-sizing: border-box;
}
.shop-premium-card-header-link {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-decoration: none !important;
  outline: none;
  transition:
    filter 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.shop-premium-card-header-link:hover {
  filter: brightness(1.12) saturate(1.05);
}
.shop-premium-card-header-link:hover .shop-premium-card-title-img {
  transform: scale(1.02);
}
.shop-premium-card-header-link:focus-visible {
  box-shadow: 0 0 0 2px #2a2418, 0 0 0 4px #d4b878;
}
.shop-premium-card-title-img {
  max-width: 100%;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  vertical-align: middle;
  transition: transform 0.18s ease;
}
.shop-premium-more-btn {
  display: inline-block;
  width: auto !important;
  max-width: 100%;
  margin-top: 8px;
  padding: 12px 28px !important;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1.05em !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  color: #fff9ed !important;
  background: #4a3f34 !important;
  background: linear-gradient(180deg, #75654f 0%, #524738 45%, #3d352c 100%) !important;
  border: 2px solid #c9a227 !important;
  -webkit-border-radius: 6px !important;
  -moz-border-radius: 6px !important;
  border-radius: 6px !important;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  min-width: 200px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}
.shop-premium-more-btn:hover {
  color: #fffef8 !important;
  border-color: #e8c547 !important;
  background: #5d4f40 !important;
  background: linear-gradient(180deg, #85755c 0%, #5d4f40 45%, #4a3f34 100%) !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 197, 71, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.shop-premium-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.shop-premium-more-btn:focus {
  outline: none;
}
.shop-premium-more-btn:focus-visible {
  outline: 3px solid #e8c547;
  outline-offset: 3px;
}
.shop-feature-title {
  margin: 0 0 8px 0;
  font-size: 1.2em;
  font-weight: 700;
  color: #3a4430;
}
.shop-feature-text {
  margin: 0 0 12px 0;
  font-size: 0.95em;
  line-height: 1.45;
  color: #4a4540;
}
.shop-feature-btn {
  width: auto;
  min-width: 180px;
  margin-top: 4px;
  padding: 10px 20px;
  cursor: pointer;
}

/* Вечный бонус (над подписками) */
.shop-eternal-inner {
  /* приглушённый оливково-серый */
  background: #e4e8e2;
  border: 1px solid #949c8e;
  text-align: left;
}
.shop-eternal-heading {
  margin: 0 0 10px 0;
  font-size: 1.28em;
  font-weight: 700;
  color: #2a2418;
}
.shop-eternal-lead {
  margin: 0 0 14px 0;
  font-size: 0.95em;
  line-height: 1.5;
  color: #3a3428;
}
.shop-eternal-order-btn {
  width: auto !important;
  min-width: 170px;
  margin: 6px 10px 6px 0 !important;
  padding: 8px 14px !important;
}

.shop-eternal-section {
  margin-top: 16px;
  padding-top: 14px;
}
.shop-eternal-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
}
.shop-eternal-section--divider {
  border-top: 1px solid #c8c0b0;
  margin-top: 18px;
  padding-top: 18px;
}
.shop-eternal-section-title {
  margin: 0 0 8px 0;
  font-size: 1.08em;
  font-weight: 700;
  color: #2a2418;
  letter-spacing: 0.02em;
}
.shop-eternal-section-lead {
  margin: 0 0 14px 0;
  font-size: 0.92em;
  line-height: 1.45;
  color: #5c5346;
}
.shop-eternal-highlight {
  margin: 0 0 14px 0;
  padding: 10px 12px;
  background: #f0ebe2;
  border: 1px solid #c8c0b0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 1.02em;
  color: #2a2418;
}
.shop-eternal-highlight strong {
  font-size: 1.15em;
  font-weight: 800;
}
.shop-eternal-form {
  margin: 0;
}
.shop-eternal-field-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 0;
}
.shop-eternal-field-row--upgrade {
  margin-bottom: 14px;
  align-items: stretch;
}
.shop-eternal-label {
  flex: 0 0 auto;
  min-width: 7.5em;
  font-weight: 600;
  font-size: 0.95em;
  color: #3a3428;
}
.shop-eternal-field-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 200px;
  min-width: 0;
}
.shop-eternal-field-control select {
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 100%;
}
.shop-eternal-field-row--upgrade select {
  flex: 1 1 200px;
  max-width: 280px;
}
.shop-eternal-btn-change {
  width: auto !important;
  min-width: 150px;
  margin: 0 !important;
  padding: 8px 14px !important;
  font-size: 0.95em !important;
}
.shop-eternal-costs {
  display: block;
  overflow: hidden;
  margin: 0 0 16px 0;
  padding: 12px 12px;
  background: #f5f1ea;
  border: 1px solid #c8c0b0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.shop-eternal-cost-line {
  float: left;
  width: 48%;
  margin-right: 2%;
  margin-bottom: 8px;
  font-size: 0.92em;
  line-height: 1.35;
  color: #3a3428;
}
@supports (display: grid) {
  .shop-eternal-costs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px 12px;
    overflow: visible;
  }
  .shop-eternal-cost-line {
    float: none;
    width: auto;
    margin-right: 0;
    margin-bottom: 0;
  }
}
.shop-eternal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin-bottom: 12px;
}
/* Четыре кнопки оплаты: сетка 2×2; без Grid — float */
.shop-eternal-actions--pay {
  display: block;
  overflow: hidden;
  align-items: stretch;
}
.shop-eternal-actions--pay .shop-eternal-pay-btn {
  float: left;
  width: 48% !important;
  min-width: 0 !important;
  max-width: none;
  margin: 0 1% 8px 0 !important;
  box-sizing: border-box;
}
@supports (display: grid) {
  .shop-eternal-actions--pay {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    overflow: visible;
  }
  .shop-eternal-actions--pay .shop-eternal-pay-btn {
    float: none;
    width: 100% !important;
    margin: 0 !important;
    justify-self: stretch;
  }
}
.shop-eternal-pay-btn {
  width: auto !important;
  min-width: 168px;
  margin: 0 !important;
  padding: 8px 14px !important;
  font-size: 0.92em !important;
}
.shop-eternal-warning {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.88em;
  line-height: 1.45;
  color: #5c4a3a;
  background: #faf6ef;
  border: 1px dashed #a89880;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .shop-eternal-field-row {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-eternal-label {
    min-width: 0;
  }
  .shop-eternal-field-control {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-eternal-field-control .shop-eternal-btn-change {
    width: 100% !important;
    max-width: none;
  }
  .shop-eternal-cost-line {
    float: none;
    width: 100%;
    margin-right: 0;
  }
  .shop-eternal-actions--pay .shop-eternal-pay-btn {
    float: none;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  @supports (display: grid) {
    .shop-eternal-costs {
      grid-template-columns: 1fr;
    }
    .shop-eternal-actions--pay {
      grid-template-columns: 1fr;
    }
  }
}

/* Стикеры (как отдельные блоки промо / подписок) */
.shop-stickers-inner {
  /* лёгкий холодный серо-голубой */
  background: #e3e7ec;
  border: 1px solid #9098a2;
}
.shop-stickers-title {
  margin: 0 0 10px 0;
  font-size: 1.2em;
  font-weight: 700;
  color: #2a2418;
}
.shop-stickers-text {
  margin: 0 0 10px 0;
  font-size: 0.95em;
  line-height: 1.5;
  color: #3a3428;
}
.shop-stickers-note {
  margin: 0 0 14px 0;
  font-size: 0.92em;
  line-height: 1.45;
  color: #5c5346;
}
.shop-stickers-form {
  margin: 0;
}
.shop-stickers-submit {
  width: auto !important;
  min-width: 220px;
  margin: 0 !important;
  padding: 10px 18px !important;
}

/* Конвертация сапфиров */
.shop-vpt-inner {
  /* тёплый крем, заметнее отличается от частных магазинов */
  background: #f2ebdd;
  border: 1px solid #b89a78;
}
.shop-vpt-title {
  margin: 0 0 12px 0;
  font-size: 1.2em;
  font-weight: 700;
  color: #2a2418;
}
.shop-vpt-facts {
  margin: 0 0 16px 0;
  padding: 0 0 0 1.2em;
  font-size: 0.95em;
  line-height: 1.55;
  color: #3a3428;
}
.shop-vpt-facts li {
  margin-bottom: 8px;
}
.shop-vpt-facts li:last-child {
  margin-bottom: 0;
}
.shop-vpt-fact-label {
  font-weight: 600;
  color: #2a2418;
}
/* Кнопка с числом недельного лимита (перебивает глобальный button { width:100% }) */
.shop-vpt-limit-btn {
  display: inline-block;
  width: auto !important;
  max-width: none;
  margin: 0 0.25em !important;
  padding: 2px 8px !important;
  font: inherit;
  font-weight: 700;
  font-size: 1em;
  color: #2a2418;
  background: #f0ebe2;
  border: 1px solid #a89880;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  cursor: pointer;
  vertical-align: 0.05em;
  line-height: 1.3;
  box-shadow: none;
  letter-spacing: normal;
}
.shop-vpt-limit-btn:hover {
  background: #fff3c8;
  border-color: #bfa14a;
  color: #1a1610;
}
.shop-vpt-form {
  margin: 0;
}
.shop-vpt-exchange-row,
.shop-private-shops-check-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 14px;
  background: #f0ebe2;
  border: 1px solid #c8c0b0;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.shop-vpt-label {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 0.95em;
  color: #2a2418;
}
.shop-vpt-input {
  flex: 0 1 auto;
  min-width: 7.5em;
  width: 8.5em;
  max-width: 100%;
  padding: 10px 14px !important;
  font-size: 1.15em !important;
  font-weight: 700 !important;
  text-align: center;
  box-sizing: border-box;
}
.shop-vpt-connector {
  flex: 0 0 auto;
  font-size: 1.2em;
  color: #6a6254;
  font-weight: 600;
}
.shop-vpt-result-wrap {
  flex: 1 1 160px;
  min-width: 0;
  font-size: 0.98em;
  line-height: 1.35;
  color: #3a3428;
}
.shop-vpt-result-wrap--error .shop-vpt-result-num--error {
  color: #a61f1f;
}
.shop-vpt-limit-msg {
  color: #a61f1f;
  font-weight: 600;
  font-size: 0.92em;
}
.shop-vpt-submit {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 120px;
  margin: 0 !important;
  padding: 10px 18px !important;
}

@media (max-width: 560px) {
  .shop-vpt-exchange-row,
  .shop-private-shops-check-row {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-vpt-connector {
    display: none;
  }
  .shop-vpt-input {
    width: 100% !important;
  }
  .shop-vpt-submit {
    width: 100% !important;
  }
}

/* Частные магазины + проверка локации */
/* якорь #ps / name=ps для перехода после POST (старые IE) */
.shop-private-shops-anchor {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
.shop-private-shops-inner {
  /* холодный серо-синий — контраст к тёплому блоку сапфиров */
  background: #dce2e8;
  border: 1px solid #8896a4;
}
.shop-private-shops-title {
  margin: 0 0 18px 0;
  font-size: 1.2em;
  font-weight: 700;
  color: #2a2418;
}
.shop-private-shops-subtitle {
  margin: 0 0 10px 0;
  font-size: 1.05em;
  font-weight: 700;
  color: #2a2418;
}
.shop-private-shops-text {
  margin: 0 0 10px 0;
  font-size: 0.95em;
  line-height: 1.5;
  color: #3a3428;
}
.shop-private-shops-text--muted {
  font-size: 0.92em;
  line-height: 1.45;
  color: #5c5346;
}
.shop-private-shops-result {
  margin: 0 0 16px 0;
  padding: 14px 14px;
  background: #f0ebe2;
  border: 1px solid #c8c0b0;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  font-size: 0.95em;
  line-height: 1.55;
  color: #3a3428;
}
.shop-private-shops-result a {
  color: #1a4a8a;
  font-weight: 600;
}
.shop-private-shops-check-form {
  margin: 4px 0 0 0;
}
.shop-private-shops-label {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 0.95em;
  color: #2a2418;
}
.shop-private-shops-input {
  flex: 0 1 auto;
  min-width: 10em;
  width: 12em;
  max-width: 100%;
  padding: 10px 14px !important;
  font-size: 1.15em !important;
  font-weight: 700 !important;
  text-align: center;
  box-sizing: border-box;
}
.shop-private-shops-submit {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 120px;
  margin: 0 !important;
  padding: 10px 18px !important;
}

@media (max-width: 560px) {
  .shop-private-shops-input {
    width: 100% !important;
  }
  .shop-private-shops-submit {
    width: 100% !important;
  }
  .shop-header-quick-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-header-quick-btn {
    width: 100% !important;
  }
}

.shop-logout-footer {
  clear: both;
  max-width: 920px;
  margin: 40px auto 0 auto;
  padding: 0 8px 16px 8px;
  box-sizing: border-box;
  text-align: center;
}
.shop-logout-footer .shop-logout-btn {
  width: auto !important;
  min-width: 140px;
  margin: 0 !important;
  padding: 10px 22px !important;
}

/* Блок «Подписки» (Дух сфер, Персональные бонусы) */
.shop-subscriptions-inner {
  /* лёгкий розовато-серый */
  background: #ebe6e4;
  border: 1px solid #a89894;
}
.shop-subscriptions-heading {
  margin: 0 0 16px 0;
  font-size: 1.2em;
  font-weight: 700;
  color: #2a2418;
  text-align: left;
}
.shop-sub-card {
  background: transparent;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  text-align: left;
}
.shop-sub-card + .shop-sub-card {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #c8c0b0;
}
.shop-sub-card-title {
  margin: 0 0 10px 0;
  font-size: 1.12em;
  font-weight: 700;
  color: #2a2418;
}
.shop-sub-card-text {
  margin: 0 0 10px 0;
  font-size: 0.95em;
  line-height: 1.5;
  color: #3a3428;
}
.shop-sub-card-note {
  margin: 0 0 12px 0;
  font-size: 0.95em;
  color: #3a3428;
}
.shop-sub-list {
  margin: 0 0 14px 1.1em;
  padding: 0;
  font-size: 0.95em;
  line-height: 1.45;
  color: #3a3428;
}
.shop-sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}
.shop-sub-actions form {
  display: inline-block;
  margin: 0;
}
.shop-sub-btn {
  width: auto !important;
  min-width: 168px;
  margin: 0 !important;
  padding: 10px 18px !important;
  cursor: pointer;
  font-size: 0.95em !important;
  font-weight: bold !important;
  background-color: #fffbe6 !important;
  background-image: none !important;
  color: #3a2a13 !important;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px !important;
  border: 1px solid #e6d17a !important;
  box-shadow: 0 2px 8px rgba(191, 161, 74, 0.1);
  transition: background 0.18s, color 0.18s;
}
.shop-sub-btn:hover {
  background: #f8ecc4 !important;
  background: linear-gradient(90deg, #ffe28a 0%, #ffeecb 100%) !important;
  color: #bfa14a !important;
}
.shop-sub-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #e6d17a;
}
.shop-sub-btn-muted {
  min-width: 140px;
  background: #e8e4dc !important;
  background-image: none !important;
  border-color: #c8b898 !important;
  color: #4a4030 !important;
  font-size: 0.9em !important;
}
.shop-sub-btn-muted:hover {
  background: #ddd8cc !important;
  color: #3a3428 !important;
}
.shop-sub-warning {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f0ebe2;
  border: 1px solid #b5a892;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 0.92em;
  line-height: 1.45;
  color: #3a3428;
}
.shop-sub-warning p {
  margin: 0 0 10px 0;
}

/* Ответы сервера: яркий блок над магазином */
.shop-flash-stack {
  max-width: 920px;
  margin: 0 auto 20px auto;
  padding: 0 8px;
  box-sizing: border-box;
}
.shop-flash {
  padding: 16px 20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  font-size: 1.15em;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.03em;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 3px solid;
  margin-bottom: 12px;
  text-align: center;
}
.shop-flash:last-child {
  margin-bottom: 0;
}
.shop-flash--success {
  background: #0d3d1f;
  background: linear-gradient(165deg, #166534 0%, #052e16 55%, #022c14 100%);
  border-color: #4ade80;
  color: #ecfdf5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}
.shop-flash--error {
  background: #5c1010;
  background: linear-gradient(165deg, #991b1b 0%, #450a0a 55%, #2a0808 100%);
  border-color: #fca5a5;
  color: #fef2f2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}
.shop-flash__text {
  display: block;
}
.shop-flash__html {
  font-weight: 700;
  text-align: left;
}
.shop-flash__html b {
  font-weight: 800;
}

/* home.php: блок входа в стиле extra5, ровная колонка полей */
.shop-home-login {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 8px 18px 8px;
  box-sizing: border-box;
}
.shop-home-login__form {
  max-width: 420px;
}
.shop-home-login__row {
  display: block;
  margin-bottom: 12px;
  overflow: hidden;
}
.shop-home-login__row:last-of-type {
  margin-bottom: 0;
}
.shop-home-login__label {
  display: block;
  margin: 0 0 6px 0;
  padding: 0;
  text-align: left;
  font-weight: 600;
  font-size: 0.95em;
  color: #3a3428;
}
.shop-home-login__input {
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}
.shop-home-login__actions {
  margin-top: 16px;
  margin-bottom: 0;
}
@supports (display: grid) {
  .shop-home-login__row {
    display: grid;
    grid-template-columns: 11.5em 1fr;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 12px;
    overflow: visible;
  }
  .shop-home-login__row:last-of-type {
    margin-bottom: 0;
  }
  .shop-home-login__label {
    margin: 0;
    text-align: right;
    justify-self: end;
  }
  @media (max-width: 520px) {
    .shop-home-login__form {
      max-width: none;
    }
    .shop-home-login__row {
      grid-template-columns: 1fr;
      gap: 6px;
    }
    .shop-home-login__label {
      text-align: left;
      justify-self: start;
    }
  }
}

/* premium.php — три блока в стиле extra5 */
.shop-premium-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 8px 24px 8px;
  box-sizing: border-box;
  text-align: left;
}
.shop-premium-page .shop-premium-flash-stack {
  margin: 0 0 18px 0;
  padding: 0;
  max-width: none;
}
.shop-premium-page .shop-top-block {
  margin-top: 0;
}
.shop-premium-page .shop-promo-block--premium-buy {
  max-width: none;
  margin: 0;
  padding: 0;
}
.shop-premium-hero {
  text-align: center;
  margin: 0 0 18px 0;
}
.shop-premium-hero-link {
  display: inline-block;
  line-height: 0;
}
.shop-premium-hero-img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}
.shop-premium-form-row {
  display: block;
  margin-bottom: 12px;
  overflow: hidden;
}
.shop-premium-form-row label {
  font-weight: 600;
  color: #3a3428;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  margin-right: 18px;
  margin-bottom: 8px;
}
@supports (display: flex) {
  .shop-premium-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px 22px;
    margin-bottom: 12px;
    overflow: visible;
  }
  .shop-premium-form-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 0;
    margin-bottom: 0;
  }
}
.shop-premium-period-select {
  margin-left: 8px;
  padding: 6px 10px;
  font-size: 1em;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #9a8b78;
  background: #f7f4ee;
  color: #2a2418;
}
.shop-premium-price-line {
  margin: 6px 0 14px 0;
  font-size: 0.98em;
  color: #3a3428;
}
.shop-premium-price-old {
  color: #8a7d68;
  text-decoration: line-through;
  margin-right: 8px;
  font-size: 0.95em;
}
.shop-premium-price {
  font-weight: 700;
  color: #5c4a28;
  font-size: 1.05em;
}
.shop-premium-section-lead {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
/* Без Grid: float по три в ряд (table на div в части MSHTML/старых движков даёт столбик). С Grid — строка = сетка */
.shop-premium-grid {
  display: block;
  margin-top: 4px;
  zoom: 1;
}
.shop-premium-row {
  display: block;
  overflow: hidden;
  width: 100%;
  margin-bottom: 14px;
  zoom: 1;
}
.shop-premium-row:last-child {
  margin-bottom: 0;
}
.shop-premium-feature {
  float: left;
  width: 31%;
  margin: 0 1% 0 1%;
  text-align: center;
  padding: 12px 10px;
  background: #f5f1ea;
  border: 1px solid #c8c0b0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 0.9em;
  line-height: 1.4;
  color: #3a3428;
  box-sizing: border-box;
}
.shop-premium-feature-text {
  text-align: left;
  margin-top: 8px;
}
.shop-premium-feature img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}
@supports (display: grid) {
  /* Каждая строка — своя сетка: одинаковая высота карточек в ряду без display:contents */
  .shop-premium-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 16px;
    margin-bottom: 14px;
    border-spacing: 0;
  }
  .shop-premium-row:last-child {
    margin-bottom: 0;
  }
  .shop-premium-feature {
    display: block;
    width: auto;
    min-width: 0;
  }
  .shop-premium-row--last .shop-premium-feature {
    width: auto;
    max-width: none;
  }
  @media (max-width: 720px) {
    .shop-premium-row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 460px) {
    .shop-premium-row {
      grid-template-columns: 1fr;
    }
  }
}
/* Узкие экраны без CSS Grid (IE9− не читают @supports — см. css-ie.css) */
@supports not (display: grid) {
  @media (max-width: 720px) {
    .shop-premium-feature {
      width: 48%;
      margin: 0 1% 14px 1%;
    }
    .shop-premium-row--last .shop-premium-feature {
      width: 48%;
    }
  }
  @media (max-width: 460px) {
    .shop-premium-feature {
      float: none;
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
  }
}
.shop-premium-footer {
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
  text-align: center;
}
.shop-premium-back-form {
  margin: 0;
  display: inline-block;
}

/* my_clan.php — название клана и журнал отдельными блоками; таблица узким шрифтом, максимум ширины под данные */
.shop-clan-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
}
.shop-clan-title-block {
  margin: 0 0 8px 0;
  padding: 8px 10px;
  box-sizing: border-box;
  background-color: #e8e2d6;
  background-image: -webkit-linear-gradient(top, #ebe4d8 0%, #dfd6c6 100%);
  background-image: -moz-linear-gradient(top, #ebe4d8 0%, #dfd6c6 100%);
  background-image: linear-gradient(to bottom, #ebe4d8 0%, #dfd6c6 100%);
  border: 1px solid #9a8b78;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
}
.shop-clan-title {
  margin: 0;
  font-size: 1.05em;
  font-weight: 700;
  color: #2a2418;
  line-height: 1.25;
}
.shop-clan-title-tag {
  color: #5c5448;
  font-weight: 600;
}
.shop-clan-logs-block {
  margin: 0;
  padding: 4px 2px 6px 2px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  background: #f2ede4;
  border: 1px solid #a89880;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.shop-clan-logs-heading {
  margin: 0 0 4px 0;
  padding: 2px 4px 4px 4px;
  font-size: 0.75em;
  font-weight: 700;
  color: #3a3428;
  border-bottom: 1px solid #9a8b78;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.shop-clan-logs-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.shop-clan-logs-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #2a2418;
  table-layout: fixed;
}
.shop-clan-logs-table thead th {
  font-weight: 700;
  text-align: center;
  padding: 4px 2px;
  background: #ddd4c4;
  border: 1px solid #8a7b68;
  color: #1a1610;
  vertical-align: middle;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.shop-clan-logs-table tbody td {
  padding: 2px 3px;
  border: 1px solid #b8ae9c;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.shop-clan-logs-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.35);
}
.shop-clan-logs-table tbody tr:hover td {
  background: #f7f2e6;
}
/* Максимум места колонке с текстом операции */
.shop-clan-logs-col-time { width: 8%; }
.shop-clan-logs-col-action { width: 10%; }
.shop-clan-logs-col-login { width: 12%; }
.shop-clan-logs-col-loc { width: 9%; }
.shop-clan-logs-col-op { width: 48%; }
.shop-clan-logs-col-amt { width: 6%; }
.shop-clan-logs-col-item { width: 7%; }
.shop-clan-back {
  margin-top: 10px;
  text-align: center;
}
.shop-clan-back .shop-promo-submit {
  width: auto !important;
}

/* pshops2.php — несколько магазинов карточками, таблицы в духе my_clan */
.shop-pshops-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
}
.shop-pshops-page-title {
  margin-bottom: 10px;
}
.shop-pshops-page-hint {
  margin: 6px 0 0 0;
  font-size: 0.85em;
  font-weight: 400;
  color: #5c5448;
}
.shop-pshops-shop-card {
  margin: 0 0 14px 0;
  padding: 0;
  box-sizing: border-box;
}
/* Шапка магазина и журнал операций — один визуальный блок */
.shop-pshops-shop-panel {
  margin: 0 0 10px 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid #9a8b78;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f0e8;
}
.shop-pshops-shop-panel .shop-pshops-shop-head {
  margin: 0;
  padding: 8px 10px;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border-bottom: 1px solid #b8ae9c;
}
.shop-pshops-shop-panel .shop-pshops-section {
  margin: 0;
}
.shop-pshops-shop-panel .shop-clan-logs-block {
  margin: 0;
}
.shop-pshops-shop-panel .shop-clan-logs-heading {
  margin: 0;
  padding: 6px 8px 4px;
  border-bottom: 1px solid #d4ccc0;
}
.shop-pshops-shop-head {
  margin: 0 0 8px 0;
  padding: 8px 10px;
  box-sizing: border-box;
  background-color: #e8e2d6;
  background-image: -webkit-linear-gradient(top, #ebe4d8 0%, #dfd6c6 100%);
  background-image: -moz-linear-gradient(top, #ebe4d8 0%, #dfd6c6 100%);
  background-image: linear-gradient(to bottom, #ebe4d8 0%, #dfd6c6 100%);
  border: 1px solid #9a8b78;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
}
.shop-pshops-shop-meta {
  margin: 6px 0 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #3a3428;
}
.shop-pshops-section {
  margin: 0 0 10px 0;
}
.shop-pshops-section .shop-clan-logs-block {
  margin-top: 0;
}
.shop-pshops-table-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.shop-pshops-table {
  min-width: 680px;
}
/* Обычный кегль заголовков, без капса (наследуется от .shop-clan-logs-table) */
.shop-pshops-table.shop-clan-logs-table thead th {
  font-size: 11px;
  text-transform: none;
  letter-spacing: normal;
  padding: 4px 3px;
}
.shop-pshops-table.shop-clan-logs-table tbody td.shop-clan-logs-col-action {
  text-transform: none;
}
.shop-pshops-table.shop-clan-logs-table tbody td {
  padding: 2px 3px;
  box-sizing: border-box;
}
.shop-pshops-table.shop-clan-logs-table thead th a {
  color: #1a1610;
  text-decoration: underline;
}
.shop-pshops-table.shop-clan-logs-table thead th a:hover {
  color: #5c4030;
}
/* Сумма 100%; «Итого» и «Цена» с запасом под длинные числа */
.shop-pshops-col-time { width: 10%; }
.shop-pshops-col-action { width: 9%; min-width: 4.2em; }
.shop-pshops-col-login { width: 10%; }
.shop-pshops-col-loc { width: 8%; }
.shop-pshops-col-op { width: 24%; }
.shop-pshops-col-amt { width: 6%; }
.shop-pshops-col-item { width: 7%; }
.shop-pshops-col-cost { width: 11%; min-width: 3.2em; }
.shop-pshops-col-total { width: 15%; min-width: 4em; white-space: nowrap; }
.shop-pshops-table--summary {
  min-width: 460px;
}
.shop-pshops-table--summary .shop-pshops-col-name { width: 34%; }
.shop-pshops-table--summary .shop-pshops-col-amt { width: 11%; }
.shop-pshops-table--summary .shop-pshops-col-id { width: 9%; }
.shop-pshops-table--summary .shop-pshops-col-cost { width: 20%; min-width: 3.2em; }
.shop-pshops-table--summary .shop-pshops-col-total { width: 26%; min-width: 4.5em; white-space: nowrap; }
.shop-pshops-empty {
  text-align: center;
  padding: 12px 8px;
  font-size: 12px;
  color: #4a4236;
}

/* reimb.php — возврат стикеров */
.shop-reimb-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
}
.shop-reimb-title {
  margin-bottom: 10px;
}
.shop-reimb-title .shop-clan-title {
  margin-bottom: 4px;
}
.shop-reimb-player {
  margin: 6px 0 0 0;
  font-size: 1em;
  font-weight: 600;
  color: #2a2418;
  line-height: 1.3;
}
.shop-reimb-lead {
  margin: 8px 0 0 0;
  font-size: 0.9em;
  font-weight: 400;
  color: #4a4236;
  line-height: 1.35;
}
/* Сообщения — те же классы, что в extra5.php: .shop-flash-stack, .shop-flash */
.shop-reimb-page .shop-reimb-flash-stack.shop-flash-stack {
  max-width: 100%;
  margin: 0 0 14px 0;
  padding: 0;
  box-sizing: border-box;
}
.shop-reimb-stickers-block {
  margin-bottom: 12px;
}
.shop-reimb-table-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.shop-reimb-table {
  width: 100%;
  min-width: 420px;
  table-layout: fixed;
}
.shop-reimb-table.shop-clan-logs-table thead th,
.shop-reimb-table.shop-clan-logs-table tbody td {
  font-size: 16px;
  line-height: 1.45;
  vertical-align: middle;
}
.shop-reimb-table.shop-clan-logs-table thead th {
  text-transform: none;
  letter-spacing: normal;
  padding: 5px 4px;
}
.shop-reimb-col-num {
  width: 1.75em;
  max-width: 2.25em;
  padding-left: 2px !important;
  padding-right: 2px !important;
  text-align: center;
  vertical-align: middle;
}
.shop-reimb-col-icon {
  width: 79px;
  box-sizing: content-box;
  text-align: center;
  vertical-align: middle;
}
.shop-reimb-icon {
  display: block;
  margin: 0 auto;
  width: 75px;
  height: 75px;
  max-width: none;
  max-height: none;
  vertical-align: middle;
}
.shop-reimb-col-name {
  width: auto;
  text-align: left;
  word-wrap: break-word;
}
.shop-reimb-col-action {
  width: 11em;
  text-align: center;
  vertical-align: middle;
}
.shop-reimb-dup-form {
  display: inline;
  margin: 0;
  padding: 0;
}
.shop-reimb-dup-btn {
  width: auto !important;
  max-width: 100%;
  padding: 5px 12px !important;
  font-size: 14px !important;
}
.shop-reimb-empty {
  text-align: center;
  padding: 14px 10px;
  font-size: 16px;
  line-height: 1.45;
  color: #4a4236;
}

/* artorders.php — история заказов дилера */
.shop-artorders-wrap {
  width: 100%;
  margin: 8px 0 12px 0;
  padding: 0;
  overflow-x: auto;
}
.shop-artorders-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #2a2418;
}
.shop-artorders-table th,
.shop-artorders-table td {
  border: 1px solid #8a7b68;
  padding: 5px 6px;
  vertical-align: middle;
  text-align: center;
}
.shop-artorders-table th {
  font-weight: 700;
  background: #ddd4c4;
  color: #1a1610;
}
.shop-artorders-table a,
.shop-artorders-table a:link,
.shop-artorders-table a:visited {
  color: #1a1610;
  text-decoration: underline;
}
.shop-artorders-table a:hover {
  color: #5c4030;
}

/* shop_flowers2.php — «Мои подарки»: одна оболочка как у стикеров, карточки внутри */
.shop-flowers2-block {
  max-width: 920px;
  margin: 0 auto 16px auto;
  padding: 0 8px;
  box-sizing: border-box;
  text-align: left;
}
.shop-flowers2-inner {
  padding: 14px 16px 16px 16px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #aa9e8c;
  background: #ebe8e0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}
.shop-flowers2-block-title {
  margin: 0 0 12px 0;
  font-size: 1.15em;
  font-weight: 400;
  color: #2a2418;
}
.shop-flowers2-presents-list {
  margin: 0;
  padding: 0;
}
.shop-flowers2-present-card {
  margin: 0 0 10px 0;
  padding: 10px 12px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #c4b8a4;
  border-radius: 6px;
  background: #f7f4ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.shop-flowers2-present-card:last-child {
  margin-bottom: 0;
}
.shop-flowers2-present-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.shop-flowers2-col-img {
  width: 92px;
}
.shop-flowers2-col-stat {
  width: 36%;
}
.shop-flowers2-col-mid {
  width: 34%;
}
.shop-flowers2-col-del {
  width: 112px;
}
.shop-flowers2-present-img-wrap {
  width: 92px;
  padding: 2px 10px 2px 2px;
  text-align: center;
  vertical-align: middle;
}
/* Не уменьшать картинки: 75×75 в разметке */
.shop-flowers2-present-img {
  display: block;
  margin: 0 auto;
  width: 75px;
  height: 75px;
  min-width: 75px;
  min-height: 75px;
  max-width: none;
  border: 1px solid #9a8b78;
  border-radius: 4px;
  box-sizing: content-box;
  vertical-align: middle;
}
.shop-flowers2-present-info {
  padding: 4px 4px 8px 8px;
  vertical-align: middle;
  border-bottom: 1px solid #dcd4c4;
}
.shop-flowers2-present-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1610;
  margin: 0 0 6px 0;
}
/* Одинаковый кегль и начертание; цвет — как раньше: таймер коричневый, «Бесконечный» зелёный */
.shop-flowers2-present-timer,
.shop-flowers2-present-infinite {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.shop-flowers2-present-timer {
  color: #5c4030;
}
.shop-flowers2-present-infinite {
  color: #4a6a3a;
}
.shop-flowers2-present-info .shop-flowers2-present-infinite {
  margin-top: 4px;
}
.shop-flowers2-present-cell-stat,
.shop-flowers2-present-cell-mid,
.shop-flowers2-present-cell-del {
  padding: 8px 6px 4px 6px;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.45;
  color: #2a2418;
  border-top: 1px solid #e8e2d6;
}
.shop-flowers2-present-cell-stat {
  padding-left: 0;
}
.shop-flowers2-present-cell-del {
  text-align: right;
}
/* «Снять бонус» над «Удалить» справа; пустой слот той же высоты, если «Снять бонус» нет */
.shop-flowers2-present-del-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}
.shop-flowers2-present-remove-slot,
.shop-flowers2-present-delete-slot {
  width: 100%;
  text-align: right;
}
.shop-flowers2-present-remove-placeholder {
  display: block;
  width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  box-sizing: border-box;
}
.shop-flowers2-present-midline {
  font-size: 12px;
  color: #5c5448;
  margin-bottom: 6px;
  line-height: 1.35;
}
.shop-flowers2-present-placeholder {
  display: inline-block;
  min-height: 26px;
  min-width: 8px;
  vertical-align: middle;
}
.shop-flowers2-present-form {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0 10px;
  margin: 0;
  max-width: 100%;
}
.shop-flowers2-present-form-aux {
  display: block;
  margin: 0;
}
/* +XX% — фиксированная колонка слева; селект и «Изменить» — в одном блоке справа */
.shop-flowers2-present-stat-label {
  flex: 0 0 3.75em;
  box-sizing: border-box;
  padding-top: 3px;
  text-align: right;
  white-space: nowrap;
  font-weight: 400;
  color: #3a5c28;
  line-height: 1.35;
}
.shop-flowers2-present-stat-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.shop-flowers2-present-form select {
  margin: 0;
  max-width: 100%;
  vertical-align: middle;
}
/* Нередактируемые статы — как значение +XX% у формы смены стата */
.shop-flowers2-present-readonly {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  color: #3a5c28;
}
.shop-flowers2-present-btn,
.shop-flowers2-present-btn-aux {
  margin: 2px 0;
  vertical-align: middle;
}
.shop-flowers2-present-btn--danger {
  margin-top: 0;
}

/* shop_flowers2.php — блок «Новый подарок»: та же ширина колонки, что у promo/subscriptions */
.shop-flowers2-block.shop-flowers2-new {
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.shop-flowers2-new {
  margin-top: 8px;
}
.shop-flowers2-new-title {
  margin: 0 0 12px 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #2a2418;
  text-align: center;
}
.shop-flowers2-new-wallet {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #f7f4ee;
  border: 1px solid #d4cbb8;
  font-size: 13px;
  line-height: 1.45;
  color: #2a2418;
}
.shop-flowers2-new-wallet-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 16px;
}
.shop-flowers2-new-wallet-row--top {
  justify-content: flex-start;
  gap: 10px 28px;
}
.shop-flowers2-new-wallet-row--currencies {
  justify-content: flex-start;
  gap: 10px 28px;
  padding-top: 10px;
  margin-top: 2px;
  border-top: 1px solid #e4dcd0;
}
.shop-flowers2-new-wallet-item {
  display: inline-block;
  white-space: nowrap;
}
.shop-flowers2-new-wallet-bonus {
  white-space: normal;
  max-width: 100%;
}
.shop-flowers2-new-label {
  font-weight: 600;
  color: #5c5448;
  margin-right: 6px;
}
.shop-flowers2-bonus-warn {
  color: #b00000;
}
.shop-flowers2-bonus-note {
  color: #6a6258;
  font-size: 12px;
}
.shop-flowers2-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  justify-content: center;
}
.shop-flowers2-cat {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #b8a990;
  background: #f2efe8;
  color: #3a3428;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
}
.shop-flowers2-cat:hover {
  background: #e8e4da;
  border-color: #9a8b78;
}
.shop-flowers2-cat--active {
  background: #dcd4c4;
  border-color: #8a7b68;
  font-weight: 600;
  color: #1a1610;
}
.shop-flowers2-gift-grid-wrap {
  margin-bottom: 8px;
  padding: 10px 8px;
  border-radius: 6px;
  border: 1px solid #c4b8a4;
  background: #faf8f4;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}
.shop-flowers2-gift-table {
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}
.shop-flowers2-gift-cell {
  padding: 4px;
  vertical-align: top;
  width: auto;
}
.shop-flowers2-gift-thumb {
  margin: 0 auto;
}
.shop-flowers2-gift-td {
  width: 83px;
  height: 83px;
  vertical-align: middle;
  text-align: center;
  padding: 3px;
  box-sizing: border-box;
  border: 2px solid #d8d0c4;
  background: #f5f2ec;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.shop-flowers2-gift-td--selected {
  border-color: #a67c2a;
  background: #fff8e8;
}
.shop-flowers2-gift-img {
  display: block;
  margin: 0 auto;
  border: 1px solid #9a8b78;
  border-radius: 4px;
  vertical-align: middle;
}
.shop-flowers2-gift-td--selected .shop-flowers2-gift-img {
  border-color: #8a6a38;
}
.shop-flowers2-gift-empty {
  padding: 12px;
  text-align: center;
  color: #6a6258;
  font-size: 14px;
}
.shop-flowers2-pick-hint {
  margin: 0 0 12px 0;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #5c5448;
  text-align: center;
  background: #f0ebe3;
  border-radius: 4px;
  border: 1px dashed #c4b8a4;
}
.shop-flowers2-settings {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #c4b8a4;
}
.shop-flowers2-settings-inner {
  max-width: 640px;
  margin: 0 auto;
}
.shop-flowers2-field {
  margin-bottom: 10px;
}
.shop-flowers2-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 10px;
  align-items: flex-end;
}
.shop-flowers2-field--half {
  flex: 1 1 200px;
  min-width: 0;
  margin-bottom: 0;
}
.shop-flowers2-field--narrow {
  max-width: 220px;
}
.shop-flowers2-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #5c5448;
  margin-bottom: 4px;
}
.shop-flowers2-field-control select,
.shop-flowers2-field-control input[type="text"] {
  font-size: 13px;
  max-width: 100%;
  box-sizing: border-box;
}
.shop-flowers2-input-note {
  width: 100%;
  max-width: 420px;
}
.shop-flowers2-enter-login {
  margin-bottom: 10px;
}
.shop-flowers2-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #dcd4c4;
}
.shop-flowers2-anon {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  cursor: pointer;
  color: #2a2418;
}
.shop-flowers2-anon-note {
  color: #7a7268;
  font-size: 12px;
}
.shop-flowers2-buy-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.shop-flowers2-btn-buy {
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  min-width: 200px;
  box-sizing: border-box;
}
.shop-flowers2-btn-buy--pd {
  min-width: 220px;
}

@media (max-width: 640px) {
  .shop-header-row {
    flex-direction: column;
  }
  .shop-subs-list {
    max-height: 220px;
  }
  .shop-sub-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-sub-btn {
    width: 100% !important;
    max-width: none;
  }
  .shop-flowers2-new-wallet {
    align-items: stretch;
  }
  .shop-flowers2-new-wallet-row--top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .shop-flowers2-new-wallet-bonus {
    text-align: left;
  }
  .shop-flowers2-new-wallet-row--currencies {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px 16px;
  }
  .shop-flowers2-field--half {
    flex: 1 1 100%;
  }
  .shop-flowers2-btn-buy,
  .shop-flowers2-btn-buy--pd {
    width: 100%;
    max-width: none;
  }
}

