/* ========================================
   SHOP CSS - ELEGANT DARK THEME
   Matching webengine.css color scheme
   ======================================== */

/* SHOP NAVIGATION BUTTONS */
.vs-btn.gradient-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.vs-btn.gradient-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vs-btn.gradient-btn:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.4);
}

.vs-btn.gradient-btn:hover::before {
    left: 100%;
}

.vs-btn.gradient-btn:active {
    transform: translateY(0);
}

/* CREDITS DISPLAY */
.deidadcredits {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 20px 40px;
    margin: 30px auto;
    max-width: 500px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.deidadcredits i {
    color: #d4af37;
    margin: 0 8px;
    font-size: 22px;
    animation: coinSpin 2s ease-in-out infinite;
}

.deidadcredits span {
    color: #d4af37;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
    margin: 0 8px;
}

@keyframes coinSpin {

    0%,
    100% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }
}

/* SHOP FILTER - CLASS SELECTOR */
.shopfilter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    max-width: 900px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.shopfilter a {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    padding: 8px;
    border: 2px solid transparent;
}

.shopfilter a:hover {
    transform: scale(1.1) translateY(-4px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.shopfilter a:active {
    transform: scale(1.05) translateY(-2px);
}

.shopfilter img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shopfilter a:hover img {
    filter: brightness(1.3) drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
}

/* ITEM SHOP CATEGORY FILTER */
.item-shop-category {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    max-width: 1000px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.item-shop-category form {
    margin: 0;
    padding: 0;
}

.vs-btn-filter.gradient-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.vs-btn-filter.gradient-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vs-btn-filter.gradient-btn:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
    border-color: #d4af37;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
}

.vs-btn-filter.gradient-btn:hover::before {
    left: 100%;
}

.vs-btn-filter.gradient-btn:active {
    transform: translateY(0) scale(1);
}

.vs-btn-filter.gradient-btn img {
    width: 25px;
    height: 25px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vs-btn-filter.gradient-btn:hover img {
    filter: brightness(1.3) drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
    transform: scale(1.1);
}

/* SET SHOP CARDS */
.setshop {
    padding: 15px;
    margin-bottom: 30px;
    display: block;
    min-height: 600px;
    /* Shown by default, hidden/shown by jQuery filters */
}

.setshop.dw,
.setshop.dk,
.setshop.elf,
.setshop.mg,
.setshop.dl,
.setshop.sum,
.setshop.rf {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.setshop .panel {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.setshop .panel:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.3);
}

.setshop .panel-heading {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.8) 100%);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    color: #d4af37;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.setshop .panel-body {
    padding: 30px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setshop .panel-body video {
    width: 150px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.setshop .panel:hover .panel-body video {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

/* SET DETAILS */
.setshop .panel>div:not(.panel-heading):not(.panel-body) {
    padding: 15px 20px;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

.setshop .exc {
    color: #d4af37;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.4);
}

.setshop .level {
    color: #00ff88;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 255, 136, 0.4);
}

.setshop .life {
    color: #ff4444;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(255, 68, 68, 0.4);
}

/* PRICE DISPLAY */
.price {
    background: rgba(26, 26, 26, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 20px !important;
    margin: 15px 0 !important;
    font-size: 16px !important;
    font-weight: 600;
    color: #b8b8b8;
}

.price i {
    color: #d4af37;
    font-size: 18px;
    margin: 0 6px;
}

.price span {
    color: #d4af37;
    font-size: 24px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
    margin: 0 6px;
}

/* BUY BUTTON */
.setshop button.vs-btn {
    width: calc(100% - 40px);
    margin: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.setshop button.vs-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.setshop button.vs-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-color: #d4af37;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.6);
}

.setshop button.vs-btn:hover::before {
    left: 100%;
}

.setshop button.vs-btn:active {
    transform: translateY(0);
}

.setshop button.vs-btn i {
    margin-right: 8px;
    font-size: 16px;
}

/* RESPONSIVE GRID - SIMPLIFIED */
.shop-row {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.shop-row::after {
    content: "";
    display: table;
    clear: both;
}

.shop-row .col-sm-4 {
    width: 33.333333%;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .shop-row .col-sm-4 {
        width: 50%;
    }

    .shopfilter {
        gap: 12px;
        padding: 15px;
    }

    .shopfilter img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .shop-row .col-sm-4 {
        width: 100%;
        float: none;
    }

    .shopfilter {
        flex-wrap: wrap;
        gap: 10px;
    }

    .shopfilter img {
        width: 50px;
        height: 50px;
    }

    .deidadcredits {
        font-size: 16px;
        padding: 15px 25px;
    }

    .deidadcredits span {
        font-size: 22px;
    }
}

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* LOADING ANIMATION */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.setshop.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* EMPTY STATE */
.no-items {
    text-align: center;
    padding: 60px 20px;
    color: #6b6b6b;
    font-size: 18px;
}

.no-items i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #2d2d2d;
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* SELECTION */
::selection {
    background: #d4af37;
    color: #000000;
}

::-moz-selection {
    background: #d4af37;
    color: #000000;
}

/* SELL CHARACTER TABLE */
.sell-char-table {
    width: 100% !important;
    margin-top: 30px !important;
    background: rgba(13, 13, 13, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.sell-char-table thead th {
    background: rgba(26, 26, 26, 0.8) !important;
    color: #d4af37 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    padding: 18px !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
    text-align: center !important;
}

.sell-char-table tbody td {
    padding: 16px !important;
    vertical-align: middle !important;
    color: #e0e0e0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    text-align: center !important;
    font-size: 15px !important;
}

.sell-char-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05) !important;
}

/* AVATAR STYLING */
.imgfixcharacters {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.imgfixcharacters img {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    border: 2px solid #d4af37 !important;
    padding: 2px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    object-fit: cover !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s ease !important;
}

.sell-char-table tr:hover .imgfixcharacters img {
    transform: scale(1.1) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5) !important;
}

/* SHOP INPUTS */
.shop-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #d4af37 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.shop-input:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

/* SMALL GRADIENT BUTTON */
.vs-btn.gradient-btn-small {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    text-decoration: none !important;
}

.vs-btn.gradient-btn-small:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    border-color: #d4af37 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4) !important;
}

/* DANGER BUTTON VARIANT */
.vs-btn.gradient-btn-small.danger {
    border-color: rgba(255, 68, 68, 0.3) !important;
}

.vs-btn.gradient-btn-small.danger:hover {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%) !important;
    border-color: #ff4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4) !important;
}

/* BUY CHARACTER NFT CARDS */
.nft-card {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.nft-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.3);
}

.nft-background-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.nft-main {
    position: relative;
    z-index: 1;
}

.nft-card .tokenImage {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    background: #000;
}

.nft-card .tokenImage video {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.nft-card:hover .tokenImage video {
    transform: scale(1.08);
}

.nft-header h2 {
    color: #ffd700;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin: 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.nft-details {
    margin: 20px 0;
}

.nft-stats-table {
    width: 100%;
    border-collapse: collapse;
}

.nft-stats-table td {
    padding: 8px 0;
    font-size: 14px;
    color: #e0e0e0;
}

.nft-stats-table td:first-child {
    font-weight: 600;
    color: #888;
    width: 45%;
}

.nft-stats-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: #d4af37;
}

.nft-footer {
    margin-top: 20px;
}

.price-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 20px;
}

.price-tag i {
    color: #d4af37;
    font-size: 20px;
}

.price-tag span {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.price-tag .currency-label {
    font-size: 14px;
    font-weight: 700;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 5px;
}

.nft-card .vs-btn.gradient-btn.full-width {
    width: 100% !important;
    padding: 15px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* SELL CHARACTER NOTES */
.sell-char-notes {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    color: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.sell-char-notes strong {
    color: #d4af37;
    font-size: 18px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 5px;
}

.sell-char-notes p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.6;
}

/* SHOP RANKINGS FILTER */
.rankings-class-filter {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.rankings-class-filter li {
    display: inline-block;
}

.rankings-class-filter-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none !important;
    color: #e0e0e0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.rankings-class-filter-selection:hover {
    color: #d4af37;
    transform: translateY(-3px);
}

.char-rankings-class-filter-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px;
    object-fit: cover;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.rankings-class-filter-selection:hover .char-rankings-class-filter-image {
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
}

.rankings-class-filter-grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}

.rankings-class-filter-selection:hover .rankings-class-filter-grayscale {
    filter: grayscale(0%);
    opacity: 1;
}

/* ITEM IMAGES DISPLAY CONTAINER */
.sex {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.sex img {
    max-height: 160px;
    max-width: 160px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.setshop .panel:hover .sex img {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.7));
}

/* ACTIVE FILTER STATE */
.vs-btn-filter.active {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    border-color: #d4af37 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5) !important;
}

.vs-btn-filter.active img {
    filter: brightness(0) !important;
}

.class-filter-btn.active span {
    border-color: #d4af37 !important;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6) !important;
}

.class-filter-btn.active img {
    border: 2px solid #d4af37 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.7) !important;
    filter: brightness(1.2) !important;
}

/* =======================================================
   WEBSHOP CUSTOMIZER MODAL (PREMIUM ROMA GLASSMORPHISM)
   ======================================================= */
.shop-custom-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.shop-custom-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 1 !important;
}

.shop-custom-modal-content {
    position: relative !important;
    background: linear-gradient(145deg, #18092f 0%, #0b0216 100%) !important;
    border: 2px solid rgba(212, 175, 55, 0.6) !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 720px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0 0 50px rgba(155, 44, 255, 0.5), 0 0 25px rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
    z-index: 2 !important;
    margin: auto !important;
}

/* Scrollbar para el modal */
.shop-custom-modal-content::-webkit-scrollbar {
    width: 8px;
}
.shop-custom-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}
.shop-custom-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37, #9b2cff);
    border-radius: 10px;
}

.modal-header-custom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 25px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    background: rgba(155, 44, 255, 0.12) !important;
}

.modal-title-wrap h3 {
    margin: 0 !important;
    font-size: 1.5rem !important;
    color: #ffd700 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.5) !important;
}

.modal-badge {
    display: inline-block !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    background: rgba(155, 44, 255, 0.35) !important;
    color: #e0b0ff !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    margin-top: 5px !important;
    border: 1px solid rgba(155, 44, 255, 0.4) !important;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-size: 1.6rem !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: all 0.2s !important;
}

.modal-close-btn:hover {
    background: rgba(255, 50, 50, 0.8) !important;
    border-color: #ff3232 !important;
    transform: scale(1.1) rotate(90deg) !important;
}

.modal-body-custom {
    padding: 22px 25px !important;
}

.modal-item-preview-row {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin-bottom: 20px !important;
}

.preview-img-box {
    width: 100px !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(155, 44, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(155, 44, 255, 0.2) !important;
}

.preview-img-box img,
.preview-img-box video {
    max-width: 90px !important;
    max-height: 90px !important;
    object-fit: contain !important;
}

.preview-info-box .preview-label {
    font-size: 0.82rem !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.preview-info-box .preview-val {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
}

.modal-options-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    margin-bottom: 18px !important;
}

.option-card {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
}

.option-card-full {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 18px !important;
}

.option-title {
    display: block !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #ffd700 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.shop-select {
    width: 100% !important;
    background: #10061e !important;
    border: 1.5px solid rgba(155, 44, 255, 0.5) !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}

.shop-select:focus {
    border-color: #ffd700 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}

.checkbox-row {
    margin-bottom: 10px !important;
}
.checkbox-row:last-child { margin-bottom: 0 !important; }

.shop-checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 0.88rem !important;
    color: #eee !important;
    user-select: none !important;
}

.shop-checkbox-label input {
    accent-color: #9b2cff !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}

.btn-select-all {
    background: rgba(155, 44, 255, 0.25) !important;
    border: 1px solid #9b2cff !important;
    color: #e0b0ff !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.btn-select-all:hover {
    background: #9b2cff !important;
    color: #ffffff !important;
    transform: scale(1.03) !important;
}

.exe-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

.exe-item, .set-exe-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 0.84rem !important;
    color: #00ff88 !important;
    user-select: none !important;
    transition: all 0.2s !important;
}

.exe-item:hover, .set-exe-item:hover {
    background: rgba(0, 255, 136, 0.1) !important;
    border-color: rgba(0, 255, 136, 0.3) !important;
}

.exe-item input, .set-exe-check {
    accent-color: #00ff88 !important;
    width: 17px !important;
    height: 17px !important;
    cursor: pointer !important;
}

.modal-pricing-summary {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    margin-top: 15px !important;
}

.pricing-row {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 0.9rem !important;
    color: #bbb !important;
    margin-bottom: 8px !important;
}

.pricing-total-row {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-top: 12px !important;
    margin-top: 8px !important;
}

.total-highlight {
    color: #ffd700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5) !important;
    font-size: 1.35rem !important;
}

.balance-alert {
    margin-top: 12px !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    background: rgba(255, 50, 50, 0.25) !important;
    border: 1px solid #ff3232 !important;
    color: #ff9999 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

.modal-footer-custom {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 15px !important;
    padding: 18px 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 768px) {
    .modal-options-grid, .exe-grid {
        grid-template-columns: 1fr !important;
    }
    .modal-item-preview-row {
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* ========================================
   COMPACT SHOP CARDS (SETS & ITEMS)
   ======================================== */

.shop-row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
}

.compact-shop-card-wrap {
    width: 25% !important;
    max-width: 25% !important;
    flex: 0 0 25% !important;
    min-height: unset !important;
    padding: 8px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.compact-shop-card {
    background: linear-gradient(165deg, rgba(26, 17, 40, 0.88) 0%, rgba(13, 13, 18, 0.96) 100%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 290px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.compact-shop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.compact-shop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 22px rgba(155, 44, 255, 0.35), 0 0 12px rgba(212, 175, 55, 0.3);
}

.compact-shop-card:hover::before {
    opacity: 1;
    background: linear-gradient(90deg, rgba(155, 44, 255, 0.8), rgba(212, 175, 55, 1), rgba(155, 44, 255, 0.8));
}

/* Header */
.compact-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}

.compact-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #e6c875;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    flex: 1;
}

.compact-class-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #ffd700;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Media Box */
.compact-card-media {
    width: 100%;
    height: 115px;
    background: radial-gradient(circle at center, rgba(35, 22, 55, 0.6) 0%, rgba(8, 8, 12, 0.95) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.compact-card-media video {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.compact-card-media img {
    max-height: 85px;
    max-width: 85px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
    transition: transform 0.35s ease;
}

.compact-shop-card:hover .compact-card-media video,
.compact-shop-card:hover .compact-card-media img {
    transform: scale(1.08);
}

/* Badges / Specs Row */
.compact-specs-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
    min-height: 22px;
}

.compact-pill {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.compact-pill-pieces {
    background: rgba(155, 44, 255, 0.18);
    border: 1px solid rgba(155, 44, 255, 0.4);
    color: #c780ff;
}

.compact-pill-socket {
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00e5ff;
}

.compact-pill-custom {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: #00ff88;
}

/* Price Row */
.compact-price-box {
    text-align: center;
    font-size: 12px;
    color: #8f92a1;
    margin-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}

.compact-price-box .price-val {
    color: #ffd700;
    font-size: 14.5px;
    font-weight: 800;
    margin: 0 3px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.compact-price-box i {
    color: #d4af37;
    margin-right: 2px;
}

/* Action Button */
.compact-buy-btn {
    width: 100%;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(135deg, #44136e 0%, #1c0831 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.compact-buy-btn:hover {
    background: linear-gradient(135deg, #6c1eb0 0%, #300c54 100%);
    border-color: #ffd700;
    color: #fff;
    box-shadow: 0 4px 18px rgba(155, 44, 255, 0.5), 0 0 12px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

.compact-buy-btn:active {
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .compact-shop-card-wrap {
        width: 33.333% !important;
        max-width: 33.333% !important;
        flex: 0 0 33.333% !important;
    }
}

@media (max-width: 992px) {
    .compact-shop-card-wrap {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

@media (max-width: 576px) {
    .compact-shop-card-wrap {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
    }
}


