/**
 * Shop — MyAAC tibiacom (PAGE=shop). Dark theme: charcoal/black, red-orange accents.
 * Fonts: Cinzel (display) + Crimson Text (body). JS untouched.
 */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&display=swap');

.shop-page-modern {
  --sh-bg-deep: #0a0a0a;
  --sh-bg-warm: #1a0800;
  --sh-charcoal: #141210;
  --sh-card: #1e1c1a;
  --sh-card-hover: #262220;
  --sh-red: #cc2200;
  --sh-orange: #ff4400;
  --sh-orange-bright: #ff7700;
  --sh-border: rgba(255, 68, 0, 0.45);
  --sh-border-glow: rgba(255, 119, 0, 0.35);
  --sh-text: #ede8e4;
  --sh-muted: #9a8f88;
  --sh-font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sh-font-body: 'Crimson Text', Georgia, serif;

  font-family: var(--sh-font-body);
  font-size: 15px;
  background: linear-gradient(180deg, var(--sh-bg-deep) 0%, var(--sh-bg-warm) 100%);
  background-clip: padding-box;
  color: var(--sh-text);
  margin: 0 0 16px;
  padding: 12px 4px 32px;
  box-sizing: border-box;
  border-radius: 4px;
}

.shop-page-modern .TableContainer {
  border: 2px solid var(--sh-border) !important;
  box-shadow:
    0 0 0 1px rgba(204, 34, 0, 0.25),
    0 4px 24px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 119, 0, 0.06) !important;
  background: linear-gradient(180deg, var(--sh-charcoal) 0%, var(--sh-bg-deep) 100%) !important;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.shop-page-modern .CaptionContainer {
  background: transparent !important;
  border: none !important;
}

.shop-page-modern .CaptionInnerContainer {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  background: linear-gradient(90deg, var(--sh-bg-deep) 0%, var(--sh-bg-warm) 50%, var(--sh-bg-deep) 100%) !important;
  border-radius: 4px 4px 0 0;
  border: none !important;
  border-bottom: 2px solid var(--sh-orange) !important;
  box-shadow:
    inset 0 -1px 0 rgba(255, 119, 0, 0.25),
    0 4px 14px -6px rgba(255, 68, 0, 0.2);
}

.shop-page-modern .CaptionEdgeLeftTop,
.shop-page-modern .CaptionEdgeRightTop,
.shop-page-modern .CaptionEdgeLeftBottom,
.shop-page-modern .CaptionEdgeRightBottom,
.shop-page-modern .CaptionBorderTop,
.shop-page-modern .CaptionBorderBottom,
.shop-page-modern .CaptionVerticalLeft,
.shop-page-modern .CaptionVerticalRight {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.shop-page-modern .CaptionInnerContainer .Text,
.shop-page-modern .CaptionInnerContainer .Text.shop-caption-title {
  flex: 1;
  font-family: var(--sh-font-display);
  color: var(--sh-text) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 119, 0, 0.25) !important;
  padding: 12px 0 !important;
  float: none !important;
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.shop-page-modern .CaptionInnerContainer .Text .loadAmount,
.shop-page-modern .CaptionInnerContainer .Text .spinner-amount {
  float: none !important;
  color: var(--sh-orange-bright) !important;
  font-weight: 700;
  font-family: var(--sh-font-display);
}

.shop-page-modern .CaptionInnerContainer .Text > span {
  float: none !important;
  color: var(--sh-muted) !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--sh-font-body);
}

.shop-page-modern .shop-ofertas-caption .shop-cart-count-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.shop-page-modern .shop-btn-clear-cart {
  font-family: var(--sh-font-display);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(204, 34, 0, 0.8);
  background: linear-gradient(180deg, #991800 0%, var(--sh-red) 45%, #7a1100 100%);
  color: #fff;
  cursor: pointer;
  line-height: 1.2;
  box-shadow:
    0 2px 8px rgba(204, 34, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: filter 0.15s, box-shadow 0.15s;
}

.shop-page-modern .shop-btn-clear-cart:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 16px rgba(255, 68, 0, 0.35);
}

.shop-page-modern .shop-btn-clear-cart:active {
  transform: translateY(1px);
}

.shop-saldo-bar {
  text-align: center;
  margin-bottom: 16px;
}

.shop-saldo-pill {
  font-family: var(--sh-font-display);
  background: linear-gradient(180deg, var(--sh-charcoal) 0%, var(--sh-bg-deep) 100%);
  border: 2px solid var(--sh-border);
  border-radius: 999px;
  padding: 10px 24px;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sh-text);
  box-shadow: 0 0 20px rgba(255, 68, 0, 0.12);
}

.shop-cat-tabs-wrap {
  background: linear-gradient(180deg, #12100e 0%, var(--sh-bg-deep) 100%) !important;
  border: none !important;
  border-top: 1px solid rgba(255, 68, 0, 0.2) !important;
  padding: 14px 12px 16px !important;
}

.shop-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: stretch;
}

.shop-page-modern .shop-cat-tab,
.shop-page-modern button.shop-cat-tab {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  min-height: 44px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 10px 16px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: linear-gradient(180deg, #252220 0%, var(--sh-charcoal) 100%) !important;
  color: var(--sh-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: var(--sh-font-display) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
  width: auto !important;
  height: auto !important;
}

.shop-page-modern .shop-cat-tab:hover {
  border-color: var(--sh-border) !important;
  color: var(--sh-orange-bright) !important;
}

/* Active tab — red-orange gradient */
.shop-page-modern .shop-cat-tab.divCategoriesActive,
.shop-page-modern button.shop-cat-tab.divCategoriesActive {
  background: linear-gradient(180deg, var(--sh-orange-bright) 0%, var(--sh-orange) 35%, var(--sh-red) 100%) !important;
  border: 1px solid rgba(255, 200, 160, 0.45) !important;
  color: #0a0a0a !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 20px rgba(255, 68, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.shop-cat-tab-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.shop-cat-tab-label {
  letter-spacing: inherit;
  text-align: left;
  line-height: 1.25;
  white-space: normal;
}

.shop-page-modern .Table5 .InnerTableContainer {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.shop-page-modern .TableContent {
  border: none !important;
  background: transparent !important;
}

.shop-page-modern .row-allItems {
  background: linear-gradient(180deg, var(--sh-charcoal) 0%, var(--sh-bg-deep) 100%) !important;
  border: none !important;
  border-top: 1px solid rgba(255, 68, 0, 0.15) !important;
  min-height: 220px;
  padding: 0 !important;
}

.shop-page-modern .shop-empty-hint {
  margin: 0;
  padding: 36px 20px;
  color: var(--sh-muted);
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
  font-family: var(--sh-font-body);
}

.shop-offers-root {
  display: block !important;
  width: 100%;
}

.shop-offers-table-wrap {
  overflow-x: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}

.shop-offers-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sh-bg-deep);
  box-shadow: 0 0 0 1px rgba(204, 34, 0, 0.2);
}

.shop-offers-table thead {
  background: linear-gradient(180deg, var(--sh-bg-warm) 0%, var(--sh-bg-deep) 100%);
}

.shop-offers-table th {
  text-align: left;
  padding: 12px 14px;
  font-family: var(--sh-font-display);
  color: var(--sh-orange-bright) !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  border-bottom: 2px solid rgba(255, 68, 0, 0.5);
  text-shadow: 0 0 12px rgba(255, 119, 0, 0.35);
}

.shop-offers-table td {
  padding: 14px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 68, 0, 0.12);
  color: var(--sh-text);
  font-family: var(--sh-font-body);
  transition: background 0.2s, box-shadow 0.2s;
}

.shop-offers-table tbody tr:nth-child(odd) {
  background: rgba(20, 18, 16, 0.95);
}

.shop-offers-table tbody tr:nth-child(even) {
  background: rgba(14, 12, 10, 0.98);
}

.shop-offers-table tbody tr.shop-offer-row:hover td {
  background: rgba(255, 68, 0, 0.06);
}

/* Row has item in cart (qty input value !== 0; JS keeps attr in sync) */
.shop-offers-table tbody tr.shop-offer-row:has(.shop-qty-input:not([value="0"])) td {
  box-shadow: inset 3px 0 0 var(--sh-orange);
}

.shop-offers-table tbody tr.shop-offer-row:has(.shop-qty-input:not([value="0"])) {
  outline: 1px solid rgba(255, 68, 0, 0.35);
  outline-offset: -1px;
}

.shop-offers-empty {
  text-align: center;
  color: var(--sh-muted);
  padding: 28px 16px !important;
  font-weight: 600;
  font-family: var(--sh-font-body);
}

.shop-th-img { width: 120px; }
.shop-th-action { width: 200px; text-align: center !important; }
.shop-td-action { text-align: center; }

/* Product “card” cell cluster — dark gray frame */
.shop-offer-visual-scale {
  transform: scale(0.52);
  transform-origin: center center;
  width: 150px;
  height: 150px;
  margin: -32px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg, #1a1816 0%, #0e0c0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-offers-table tbody tr.shop-offer-row:hover .shop-offer-visual-scale {
  border-color: var(--sh-orange);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(255, 68, 0, 0.25);
}

.shop-offers-table tbody tr.shop-offer-row:has(.shop-qty-input:not([value="0"])) .shop-offer-visual-scale {
  border-color: var(--sh-orange-bright);
  box-shadow:
    inset 0 0 20px rgba(204, 34, 0, 0.15),
    0 0 18px rgba(255, 68, 0, 0.35);
}

.shop-page-modern .shop-offer-visual-icon {
  float: none !important;
  margin: 0 auto;
}

.shop-service-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.shop-offer-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 8px;
}

.shop-offer-name {
  font-family: var(--sh-font-display);
  color: var(--sh-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.shop-offer-name-label {
  cursor: pointer;
  margin: 0;
}

.shop-price-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--sh-font-display);
  background: linear-gradient(180deg, #2a1814 0%, var(--sh-charcoal) 100%);
  border: 1px solid var(--sh-border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sh-orange-bright) !important;
  box-shadow: 0 0 12px rgba(255, 119, 0, 0.12);
}

.shop-price-pill .ServiceIDPrice {
  color: var(--sh-orange-bright) !important;
}

.shop-price-old {
  text-decoration: line-through;
  color: var(--sh-red) !important;
  font-weight: 600;
  margin-right: 4px;
  opacity: 0.9;
}

.shop-price-sep {
  color: var(--sh-muted);
  font-weight: 600;
  margin: 0 4px;
}

.shop-offer-description {
  margin: 0;
  color: var(--sh-muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 52ch;
  font-weight: 400;
  font-family: var(--sh-font-body);
}

/* Primary action — red gradient */
.shop-btn-buy {
  display: inline-block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 100, 60, 0.6);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--sh-font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--sh-orange) 0%, var(--sh-red) 100%);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 20px rgba(204, 34, 0, 0.25);
  transition: transform 0.12s, filter 0.12s, box-shadow 0.12s;
}

.shop-btn-buy:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px rgba(255, 68, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.shop-btn-buy:active {
  transform: translateY(1px);
}

.shop-qty-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 220px;
  margin: 0 auto;
}

.shop-page-modern .shop-qty-input {
  flex: 1;
  min-width: 0;
  max-width: 72px;
  margin: 0 !important;
  height: 36px !important;
  text-align: center;
  font-family: var(--sh-font-display);
  background: var(--sh-bg-deep) !important;
  border: 1px solid var(--sh-border) !important;
  color: var(--sh-orange-bright) !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}

.shop-page-modern .shop-qty-minus {
  cursor: pointer;
  opacity: 0.9;
  transition: transform 0.12s, opacity 0.12s, filter 0.12s;
  filter: drop-shadow(0 0 4px rgba(255, 119, 0, 0.35));
}

.shop-page-modern .shop-qty-minus:hover {
  transform: scale(1.08);
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 68, 0, 0.55));
}

.shop-page-modern .shop-checkout-wrap {
  margin-top: 1.5rem;
  text-align: center;
}

/* Continue — red gradient */
body.page-accountmanagement #shop .shop-page-modern .shop-checkout-wrap .BigButton {
  background-image: none !important;
  background: linear-gradient(180deg, var(--sh-orange-bright) 0%, var(--sh-orange) 40%, var(--sh-red) 100%) !important;
  border: 2px solid rgba(255, 160, 120, 0.5) !important;
  border-radius: 6px !important;
  box-shadow:
    0 4px 16px rgba(204, 34, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  min-width: 240px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

body.page-accountmanagement #shop .shop-page-modern .shop-checkout-wrap .BigButton:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 6px 24px rgba(255, 68, 0, 0.4);
}

.shop-page-modern .BigButtonOver {
  display: none !important;
}

body.page-accountmanagement #shop .shop-page-modern .shop-checkout-wrap .BigButtonText {
  color: #0a0a0a !important;
  font-family: var(--sh-font-display) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.shop-page-modern.shop-checkout .Table5 .InnerTableContainer > table > tbody > tr > td > div[style*="background: #D4C0A1"],
.shop-page-modern.shop-checkout div[style*="background: #D4C0A1"] {
  background: linear-gradient(180deg, var(--sh-charcoal) 0%, var(--sh-bg-deep) 100%) !important;
  border: 1px solid var(--sh-border) !important;
  box-shadow: inset 0 0 0 1px rgba(204, 34, 0, 0.15) !important;
  border-radius: 6px !important;
  color: var(--sh-text) !important;
  font-family: var(--sh-font-body);
}

.shop-page-modern.shop-checkout .SubmitButtonRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.shop-page-modern.shop-checkout .SubmitButtonRow .LeftButton,
.shop-page-modern.shop-checkout .SubmitButtonRow .RightButton {
  float: none !important;
}

/* Loading spinner on dark header */
.shop-page-modern .spinner-border.text-light {
  color: var(--sh-orange-bright) !important;
  border-color: currentColor transparent currentColor currentColor !important;
}

/* ========== Shop UI v2 (layout tipo demo integrado ao MyAAC) ========== */
.shop-page-modern.shop-ui-v2 {
  background: linear-gradient(180deg, #0d0d0d 0%, #111111 50%, #1a1a1a 100%);
  border-radius: 8px;
  padding: 16px 12px 28px;
}

.shop-ui-v2 .shop-saldo-bar {
  margin-bottom: 22px;
}

.shop-ui-v2 .shop-saldo-pill {
  border: 2px solid #ff7720;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #ff9940;
  box-shadow: 0 0 22px rgba(255, 119, 0, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.shop-ui-v2 .shop-saldo-coin {
  margin-right: 6px;
}

.shop-ui-v2 .shop-panel {
  border: 2px solid #cc4400;
  border-radius: 6px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
}

.shop-ui-v2 .shop-panel-head {
  font-family: var(--sh-font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 18px;
  background: linear-gradient(90deg, #141414 0%, #1a1a1a 50%, #141414 100%);
  border-bottom: 2px solid #cc4400;
  color: #ff9940;
  text-shadow: 0 0 14px rgba(255, 153, 64, 0.25);
}

.shop-ui-v2 .shop-panel-body {
  padding: 14px 12px 16px;
  background: #0d0d0d;
}

.shop-ui-v2 .shop-cat-tabs-wrap {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.shop-ui-v2 .shop-offers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #121212 0%, #1a1a1a 50%, #121212 100%);
  border-bottom: 2px solid #cc4400;
}

.shop-ui-v2 .shop-offers-head-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.shop-ui-v2 .shop-offers-label {
  font-family: var(--sh-font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ece8e4;
}

.shop-ui-v2 .shop-cart-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sh-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ff7720;
}

.shop-ui-v2 .shop-cart-meta .loadAmount {
  color: #ff9940;
  font-size: 13px;
}

.shop-ui-v2 .shop-list-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding: 12px;
  background: #0d0d0d;
  scrollbar-width: thin;
  scrollbar-color: #ff4400 #111;
}

.shop-ui-v2 .shop-list-scroll::-webkit-scrollbar {
  width: 10px;
}

.shop-ui-v2 .shop-list-scroll::-webkit-scrollbar-track {
  background: #111;
  border-left: 1px solid #cc4400;
}

.shop-ui-v2 .shop-list-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff4400 0%, #cc3300 100%);
  border-radius: 4px;
  border: 1px solid #330800;
}

.shop-ui-v2 .shop-list-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff7720 0%, #ff4400 100%);
}

.shop-ui-v2 .show-items.row-allItems {
  min-height: 80px;
  text-align: left;
}

.shop-ui-v2 .shop-empty-hint {
  padding: 28px 16px;
  margin: 0;
}

.shop-ui-v2 .shop-offers-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-ui-v2 .shop-product-row.shop-offer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin: 0;
  border: 1px solid rgba(204, 68, 0, 0.4);
  border-radius: 6px;
  background: linear-gradient(90deg, #161616 0%, #121212 100%);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-ui-v2 .shop-product-row.shop-offer-row:hover {
  border-color: #ff4400;
  box-shadow: 0 0 16px rgba(255, 68, 0, 0.2);
}

.shop-ui-v2 .shop-product-row.shop-offer-row:has(.shop-qty-input:not([value="0"])) {
  border-color: #ff7720;
  box-shadow: 0 0 20px rgba(255, 119, 0, 0.28);
}

.shop-ui-v2 .shop-row-icon {
  flex-shrink: 0;
  width: 156px;
  height: 156px;
  min-width: 156px;
  min-height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 95% 85% at 50% 36%, #4a3020 0%, #1a120c 45%, #070504 100%);
  border: 2px solid rgba(255, 102, 40, 0.7);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.9),
    0 10px 32px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(255, 68, 0, 0.22),
    inset 0 1px 0 rgba(255, 230, 200, 0.14),
    inset 0 -18px 36px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.22s ease;
}

.shop-ui-v2 .shop-product-row.shop-offer-row:hover .shop-row-icon {
  border-color: #ff9940;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.92),
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 52px rgba(255, 119, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -14px 28px rgba(255, 68, 0, 0.08);
  transform: translateY(-2px);
}

.shop-ui-v2 .shop-row-icon .shop-offer-visual-scale {
  transform: scale(1);
  transform-origin: center center;
  width: 150px;
  height: 150px;
  margin: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* Sprites Tibia / GIFs: nitidez ao ampliar (evita borrão “sopa”) */
.shop-ui-v2 .shop-row-icon .ServiceID_Icon,
.shop-ui-v2 .shop-row-icon .ServiceID_Icon_New {
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.shop-ui-v2 .shop-row-main {
  flex: 1;
  min-width: 200px;
}

.shop-ui-v2 .shop-row-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 200px;
}

.shop-ui-v2 .shop-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 2px solid #cc4400;
  background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
}

.shop-ui-v2 .shop-footer-total {
  font-family: var(--sh-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #ff9940;
}

.shop-ui-v2 .shop-checkout-wrap {
  margin-top: 0 !important;
  text-align: left;
}

body.page-accountmanagement #shop .shop-ui-v2 .shop-checkout-wrap .BigButton,
body.page-accountmanagement #shop .shop-ui-v2 .shop-btn-continue {
  background-image: none !important;
  background: linear-gradient(180deg, #ff9940 0%, #ff4400 40%, #cc3300 100%) !important;
  border: 2px solid rgba(255, 180, 120, 0.55) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(255, 68, 0, 0.35);
  min-width: 220px;
}

body.page-accountmanagement #shop .shop-ui-v2 .shop-btn-continue .BigButtonText {
  color: #0d0d0d !important;
  font-family: var(--sh-font-display) !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

@media (max-width: 720px) {
  .shop-offers-table th.shop-th-desc,
  .shop-offers-table td.shop-td-desc {
    min-width: 200px;
  }
  .shop-offer-visual-scale {
    transform: scale(0.42);
    margin: -40px auto;
  }
  .shop-ui-v2 .shop-row-icon {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    border-radius: 10px;
  }
  .shop-ui-v2 .shop-row-icon .shop-offer-visual-scale {
    transform: scale(0.78);
    margin: 0;
  }
  .shop-ui-v2 .shop-row-actions {
    width: 100%;
    min-width: 0;
  }
}
