/* Shop-specific: tabs, mounts grid, empty slot, back link (extends Warmane armory) */
.shop-detail-wrap {
    width: 100%;
    position: relative;
    margin-top: 3px;
}

.shop-detail-inner {
    padding: 20px;
}

.shop-detail-back {
    margin-bottom: 20px;
}

.shop-detail-back a {
    color: #c1b575;
}

.shop-detail-back a:hover {
    color: #fff;
}

/* Boundaries separating each character block in one account */
.shop-armory-wrapper {
    background-color: #0F0F0F;
    border: 1px solid #1e1e1e;
    border-radius: 2px;
    padding: 20px;
    margin-bottom: 24px;
    overflow: visible;
}

.shop-armory-wrapper+.shop-armory-wrapper {
    margin-top: 20px;
    border-top: 1px solid #2a2a2a;
    padding-top: 24px;
}

.shop-armory-wrapper:last-child {
    margin-bottom: 0;
}

#character-profile .information-left .item-model .item-slot .empty-slot {
    display: block;
    width: 53px;
    height: 58px;
    line-height: 58px;
    border: 1px solid #1e1e1e;
    background: #0a0a0a;
    color: #606060;
    font-size: 10px;
    text-align: center;
}

.gearscore-line {
    color: #888;
    font-size: 13px;
    margin-top: 2px;
}

/* 5px top margin for Professions and Secondary Skills (right column, all h3 except first) */
#character-profile .information-right h3:not(.first),
.character-profile .information-right h3:not(.first) {
    margin-top: 5px;
}

/* Min-width so mounts tab stays same width as gear tab (442 + 24 + 260) */
.character-tab-content {
    position: relative;
    min-height: 513px;
    width: 100%;
    min-width: 726px;
}

.character-tab-content .character-tab-pane[data-tab="profile"],
.character-tab-content .character-tab-pane[data-tab^="spec-"] {
    position: relative;
    width: 100%;
}

.character-tab-content .character-tab-pane[data-tab="mounts"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}

.mounts-pane {
    width: 100%;
}

.mounts-content-full {
    width: 100%;
}

.mounts-section-title {
    font-size: 14px;
    font-weight: bold;
    color: #c1b575;
    margin: 20px 0 12px 0;
    padding: 0;
}

.mounts-content-full .mounts-section-title:first-child {
    margin-top: 0;
}

/* Journal-box grid — matches Warmane armory mounts/companions layout */
.journal-grid {
    position: relative;
    overflow: hidden;
}

.journal-grid::after {
    content: "";
    display: table;
    clear: both;
}

.journal-box {
    float: left;
    width: 200px;
    border: solid 1px #444;
    background-color: #181818;
    margin-right: 25px;
    margin-bottom: 15px;
}

.journal-box .info {
    background-color: #181818;
    position: relative;
    text-align: center;
    height: auto;
}



/* Square NPC render image — fills the box as a background cover */
.journal-box .info .render {
    position: relative;
    background-color: #181818;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.journal-box .info .render::before {
    content: "";
    display: block;
    padding-top: 100%;
}

/* Fallback: icon centered when no render_url */
.journal-box .info .render.render-icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-box .info .render.render-icon-fallback::before {
    display: none;
}

.journal-box .info .render.render-icon-fallback {
    height: 200px;
}

.mount-icon-fallback {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Name area — exact Warmane style: padding:0 20px; height:90px */
.journal-box .info .basic {
    padding: 0 20px;
    height: 90px;
}

.journal-box .info .basic a {
    display: block;
    padding-top: 10px;
    font-size: 13px;
    text-decoration: none;
    word-break: break-word;
    line-height: 1.4;
}

/* Item quality colours matching Warmane q0–q5 */
.journal-box .info .basic a.q0 {
    color: #9d9d9d;
}

.journal-box .info .basic a.q1 {
    color: #ffffff;
}

.journal-box .info .basic a.q2 {
    color: #1eff00;
}

.journal-box .info .basic a.q3 {
    color: #0070dd;
}

.journal-box .info .basic a.q4 {
    color: #a335ee;
}

.journal-box .info .basic a.q5 {
    color: #ff8000;
}

.journal-box .info .basic a:not([class]) {
    color: #a335ee;
}

.journal-box .info .basic a:hover {
    color: #fff;
}

.mounts-empty {
    clear: both;
}

/* Keep legacy .mounts-grid for any existing references */
.mounts-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.mounts-empty {
    color: #606060;
    font-size: 13px;
    margin: 8px 0 16px 0;
}

/* Show 3D model container (armory.css sets .model to display:none by default) */
.character-profile .information-left .item-model .model {
    display: block;
}

#character-profile .information-right .stub.stub-with-icon .text {
    margin-left: 35px;
}

/* ── REPUTATION TAB ── exact Warmane CSS from armory inline <style> ── */
.reputation-content {
    padding: 10px 0;
}

.reputation {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.reputation::after,
.reputation::before {
    content: "";
    display: table;
    clear: both;
}

.reputation .name {
    clear: none;
    float: left;
    width: 20%;
    text-align: right;
    padding: 6.67px;
    color: #ccc;
    font-size: 13px;
}

.reputation .progress {
    clear: none;
    float: left;
    width: 55%;
    padding: 6.67px;
}

.reputation .progress .progressbar {
    background-color: #181818;
    -webkit-box-shadow: inset 0 0 16px #000;
    box-shadow: inset 0 0 16px #000;
    color: #000;
    position: relative;
}

.reputation .progress .progressbar .repborder {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    background: 0 0;
    z-index: 1;
}

.reputation .progress .progressbar .repprogress {
    background-color: #01b2f1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Standing-specific gradient colours */
.reputation.exalted>.progress .progressbar .repprogress {
    background: #28a687;
    background: -webkit-gradient(linear, left top, right top, from(#196855), to(#28a687));
    background: linear-gradient(to right, #196855 0, #28a687 100%);
}

.reputation.neutral>.progress .progressbar .repprogress {
    background: #edba03;
    background: -webkit-gradient(linear, left top, right top, from(#a17f02), to(#edba03));
    background: linear-gradient(to right, #a17f02 0, #edba03 100%);
}

.reputation.friendly>.progress .progressbar .repprogress,
.reputation.honored>.progress .progressbar .repprogress,
.reputation.revered>.progress .progressbar .repprogress {
    background: #0f9601;
    background: -webkit-gradient(linear, left top, right top, from(#074a00), to(#0f9601));
    background: linear-gradient(to right, #074a00 0, #0f9601 100%);
}

.reputation.unfriendly>.progress .progressbar .repprogress {
    background: #cc3609;
    background: -webkit-gradient(linear, left top, right top, from(#832306), to(#cc3609));
    background: linear-gradient(to right, #832306 0, #cc3609 100%);
}

.reputation.hostile>.progress .progressbar .repprogress,
.reputation.hated>.progress .progressbar .repprogress {
    background: #d90e03;
    background: -webkit-gradient(linear, left top, right top, from(#8e0902), to(#d90e03));
    background: linear-gradient(to right, #8e0902 0, #d90e03 100%);
}

.reputation .standing {
    clear: none;
    float: left;
    width: 20%;
    padding: 6.67px;
    text-align: left;
    font-size: 13px;
    font-weight: bold;
}

.reputation.exalted .standing {
    color: #28a687;
}

.reputation.neutral .standing {
    color: #edba03;
}

.reputation.friendly .standing,
.reputation.honored .standing,
.reputation.revered .standing {
    color: #0f9601;
}

.reputation.unfriendly .standing {
    color: #cc3609;
}

.reputation.hostile .standing,
.reputation.hated .standing {
    color: #d90e03;
}

.reputation .progress .progressbar .repcontent {
    font-family: "Semplicita Pro", "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.5em;
    color: #fff;
    text-shadow: 0 0 1px transparent, 0 1px 2px rgba(0, 0, 0, .8);
    position: relative;
    text-align: center;
    padding: 5px;
    min-height: 1.5em;
}

.reputation .progress .progressbar .repcontent .contentbody {
    color: #fff;
    text-shadow: 0 0 1px transparent, 0 1px 2px rgba(0, 0, 0, .8);
    line-height: 1.5em;
    font-family: "Semplicita Pro", "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-align: left;
    padding-left: 10px;
}

/* Realm grouping headers in shop list */
.realm-group {
    margin-bottom: 10px;
}

.realm-header {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 4px 10px;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: bold;
    color: #c1b575;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.account-char-block {
    padding-left: 10px;
    border-left: 1px solid #222;
    margin-bottom: 8px;
}

/* ── MARKETING ENHANCEMENTS ── */

.trust-features {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.85em;
}

.trust-item i {
    color: var(--wm-gold);
    font-size: 1.1em;
}

.share-btn {
    background: rgba(193, 181, 117, 0.1);
    border: 1px solid rgba(193, 181, 117, 0.3);
    color: var(--wm-gold);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.share-btn:hover {
    background: var(--wm-gold);
    color: #000;
}

.marketing-banner {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(125, 84, 35, 0.15) 0%, rgba(27, 72, 0, 0.1) 100%);
    border: 1px solid rgba(193, 181, 117, 0.2);
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.marketing-banner h2 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
}

.marketing-banner p {
    color: #a5a5a5;
    margin: 0;
    max-width: 600px;
}

.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: var(--wm-gold);
    color: #000;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(193, 181, 117, 0.4);
    color: #000 !important;
}

/* -- PREMIUM COIN SHOP AD (RE-DESIGNED) -- */

.coin-promo-box {
    margin: 0 0 15px 0;
    display: flex;
    background: linear-gradient(90deg, rgba(80, 60, 20, 0.4) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 1px solid rgba(193, 181, 117, 0.25);
    border-left: 3px solid #c1b575;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(193, 181, 117, 0.05);
    position: relative;
}

.coin-promo-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top left, rgba(193, 181, 117, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.coin-promo-icon {
    background: rgba(193, 181, 117, 0.05);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.coin-promo-icon img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #c1b575; /* wm-gold */
    box-shadow: 0 0 25px rgba(193, 181, 117, 0.4);
    filter: brightness(1.1);
}

.coin-promo-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.coin-promo-details h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.coin-promo-text {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.coin-promo-pricing {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 220px;
    position: relative;
    z-index: 1;
}

.old-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: -5px;
}

.new-price {
    color: #c1b575; /* wm-gold */
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    margin: 8px 0;
    filter: drop-shadow(0 0 15px rgba(193, 181, 117, 0.5));
}

.per-coin {
    font-size: 0.85rem;
    color: #8a7c3a; /* wm-gold-dim */
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.coin-promo-btn {
    display: inline-block;
    color: #000 !important;
    background: linear-gradient(180deg, #fff7d6 0%, #c1b575 100%);
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    width: fit-content;
}

.coin-promo-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 181, 117, 0.4);
    filter: brightness(1.1);
}

@media (max-width: 850px) {
    .coin-promo-box {
        flex-direction: column;
        text-align: center;
    }
    .coin-promo-icon {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 20px;
    }
    .coin-promo-details {
        align-items: center;
        padding: 25px;
    }
    .coin-promo-pricing {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding: 30px;
        min-width: unset;
    }
}

/* -- COMPACT VERSION FOR LISTING PAGE -- */

.coin-promo-box--compact {
    margin: 0 auto 15px auto;
    max-width: 800px;
}

.coin-promo-box--compact .coin-promo-icon {
    padding: 10px 15px;
}

.coin-promo-box--compact .coin-promo-icon img {
    width: 36px;
    height: 36px;
    border-width: 2px;
}

.coin-promo-box--compact .coin-promo-details {
    padding: 10px 15px;
}

.coin-promo-box--compact .coin-promo-details h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.coin-promo-box--compact .coin-promo-text {
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 0px;
}

.coin-promo-box--compact .coin-promo-pricing {
    padding: 10px 15px;
    min-width: 110px;
}

.coin-promo-box--compact .new-price {
    font-size: 1.5rem;
    margin: 1px 0;
}

.coin-promo-box--compact .old-price {
    font-size: 0.8rem;
}

.coin-promo-box--compact .per-coin {
    font-size: 0.65rem;
    margin: 0 0 15px 0;
    display: flex;
    background: linear-gradient(90deg, rgba(80, 60, 20, 0.4) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 1px solid rgba(193, 181, 117, 0.25);
    border-left: 3px solid #c1b575;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(193, 181, 117, 0.05);
    position: relative;
}

.coin-promo-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top left, rgba(193, 181, 117, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.coin-promo-icon {
    background: rgba(193, 181, 117, 0.05);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.coin-promo-icon img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #c1b575; /* wm-gold */
    box-shadow: 0 0 25px rgba(193, 181, 117, 0.4);
    filter: brightness(1.1);
}

.coin-promo-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.coin-promo-details h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.coin-promo-text {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.coin-promo-pricing {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 220px;
    position: relative;
    z-index: 1;
}

.old-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: -5px;
}

.new-price {
    color: #c1b575; /* wm-gold */
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    margin: 8px 0;
    filter: drop-shadow(0 0 15px rgba(193, 181, 117, 0.5));
}

.per-coin {
    font-size: 0.85rem;
    color: #8a7c3a; /* wm-gold-dim */
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.coin-promo-btn {
    display: inline-block;
    color: #000 !important;
    background: linear-gradient(180deg, #fff7d6 0%, #c1b575 100%);
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    width: fit-content;
}

.coin-promo-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 181, 117, 0.4);
    filter: brightness(1.1);
}

@media (max-width: 850px) {
    .coin-promo-box {
        flex-direction: column;
        text-align: center;
    }
    .coin-promo-icon {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 20px;
    }
    .coin-promo-details {
        align-items: center;
        padding: 25px;
    }
    .coin-promo-pricing {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding: 30px;
        min-width: unset;
    }
}

/* -- COMPACT VERSION FOR LISTING PAGE -- */

.coin-promo-box--compact {
    margin: 0 auto 15px auto;
    max-width: 800px;
}

.coin-promo-box--compact .coin-promo-icon {
    padding: 10px 15px;
}

.coin-promo-box--compact .coin-promo-icon img {
    width: 36px;
    height: 36px;
    border-width: 2px;
}

.coin-promo-box--compact .coin-promo-details {
    padding: 10px 15px;
}

.coin-promo-box--compact .coin-promo-details h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.coin-promo-box--compact .coin-promo-text {
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 0px;
}

.coin-promo-box--compact .coin-promo-pricing {
    padding: 10px 15px;
    min-width: 110px;
}

.coin-promo-box--compact .new-price {
    font-size: 1.5rem;
    margin: 1px 0;
}

.coin-promo-box--compact .old-price {
    font-size: 0.8rem;
}

.coin-promo-box--compact .per-coin {
    font-size: 0.65rem;
}

.coin-promo-box--compact .coin-promo-btn {
    margin-top: 6px;
    padding: 5px 14px;
    font-size: 0.75rem;
}


