/* ═══════════════════════════════════════════════════════════════════
   AVENGERS CO. STORE STYLESHEET — High-Fidelity Dark Fantasy Edition
   Using Sliced Reference Image Assets (Opaque Backgrounds for Contrast)
   ═══════════════════════════════════════════════════════════════════ */

/* ── PAGE LAYOUT ── */
.store-page {
    min-height: 100vh;
    padding: 32px 0 56px;
    color: var(--av-ink);
    font-family: 'Rajdhani', sans-serif;
}

.store-container {
    width: min(1536px, calc(100% - 32px));
    margin-inline: auto;
}

/* ── HEADER ── */
.store-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 0 16px;
    text-align: center;
}

.store-header__title {
    margin: 0;
    color: #e8bd6d;
    font-family: 'Cinzel', serif;
    font-size: clamp(2.25rem, 3.1vw, 3rem);
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 4px #000, 0 0 16px rgba(229, 172, 80, 0.35);
}

.store-header__ornament {
    width: min(692px, 58vw);
    height: 22px;
    margin-top: 4px;
    object-fit: fill;
}

.store-header__sub {
    margin: 6px 0 0;
    color: #c4c4c6;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.5;
    text-transform: uppercase;
}

/* ── FEATURES BAR (Opaque background) ── */
.store-features-bar {
    position: relative;
    z-index: 1;
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-featured.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    padding: 18px 30px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important;
}

.store-features-bar__frame {
    display: none !important;
}

.store-feature-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-feature-badge i {
    color: #ffd899;
    font-size: 18px;
    text-shadow: 0 0 12px rgba(255, 216, 153, 0.5);
    flex-shrink: 0;
}

.store-feature-badge-text strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff2d4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px #000;
}

.store-feature-badge-text span {
    font-size: 10px;
    color: #c3cfdf;
    font-weight: 600;
}

/* ── THREE COLUMN STRUCTURE ── */
.store-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 280px;
    gap: 16px;
    align-items: start;
}

/* ── GOTHIC PANEL FRAME (Opaque background) ── */
.store-gothic-panel {
    position: relative;
    z-index: 1;
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-panel.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

.store-gothic-panel__frame {
    display: none !important;
}

/* ── SIDEBARS ── */
.store-sidebar-title {
    font-family: 'Cinzel', serif;
    color: #e8bd6d;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(216, 179, 106, 0.3);
    text-shadow: 0 1px 4px #000, 0 0 10px rgba(216, 179, 106, 0.3);
}

.store-sidebar-section {
    margin-bottom: 24px;
}

.store-sidebar-section:last-child {
    margin-bottom: 0;
}

/* ── CATEGORIES LIST ── */
.store-categories-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-category-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 40px;
    padding: 0 16px 0 24px;
    color: #c3cfdf;
    background: transparent;
    border: 0 !important;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 1px 2px #000;
}

[dir="rtl"] .store-category-btn {
    text-align: right;
    padding: 0 24px 0 16px;
}

.store-category-btn:hover {
    color: #fff;
    filter: brightness(1.2);
}

.store-category-btn.is-active {
    background: url('/images/news/reference/tab-active.webp') center / 100% 100% no-repeat !important;
    color: #fff2d4 !important;
    text-shadow: 0 1px 3px #000, 0 0 10px rgba(251, 191, 36, 0.4);
}

.store-category-btn i {
    width: 14px;
    text-align: center;
    color: #e8bd6d;
    font-size: 12px;
    filter: drop-shadow(0 1px 2px #000);
}

.store-category-btn.is-active i {
    color: #fff2d4;
    filter: drop-shadow(0 0 8px rgba(255, 242, 212, 0.8));
}

/* ── FILTERS ── */
.store-filter-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e2d9f3;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px #000;
}

.store-select-input {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.55);
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    font-family: 'Rajdhani', sans-serif;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

.store-select-input:focus {
    border-color: #e8bd6d;
}

.store-select-input option {
    background: #030812;
    color: #fff;
}

/* Rarity Gems Selectors */
.store-rarity-gems-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.35);
    border-radius: 4px;
}

.rarity-gem-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(198, 154, 88, 0.4);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.rarity-gem-btn:hover {
    transform: scale(1.2);
    border-color: rgba(198, 154, 88, 0.85);
}

.rarity-gem-btn.is-active {
    border-color: #fbbf24;
    transform: scale(1.15);
    box-shadow: 0 0 12px var(--gem-glow);
}

.rarity-gem-btn-all { --gem-glow: #369fff; background-image: url('/images/store/gems/gem-all.webp'); }
.rarity-gem-btn-common { --gem-glow: #9ca3af; background-image: url('/images/store/gems/gem-common.webp'); }
.rarity-gem-btn-rare { --gem-glow: #60a5fa; background-image: url('/images/store/gems/gem-rare.webp'); }
.rarity-gem-btn-mythic { --gem-glow: #c084fc; background-image: url('/images/store/gems/gem-mythic.webp'); }
.rarity-gem-btn-legendary { --gem-glow: #fbbf24; background-image: url('/images/store/gems/gem-legendary.webp'); }

/* Price Range Slider */
.store-price-slider-wrap {
    padding: 0 4px;
}

.store-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(198, 154, 88, 0.35);
    outline: none;
}

.store-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e8bd6d;
    border: 1px solid #fff2d4;
    box-shadow: 0 0 8px rgba(216, 179, 106, 0.9);
    cursor: pointer;
    transition: transform 0.1s;
}

.store-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.store-price-range-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-top: 6px;
    text-shadow: 0 1px 2px #000;
}

/* Reset Button */
.store-reset-btn {
    display: block;
    width: 100%;
    height: 38px;
    background: url('/images/news/reference/button.webp') center / 100% 100% no-repeat !important;
    border: 0 !important;
    color: #fff2d4 !important;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 1px 2px #000;
}

.store-reset-btn:hover {
    filter: brightness(1.25) !important;
}

/* ── CENTER AREA: PROMO BANNERS (Opaque backgrounds) ── */
.store-promo-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Hero Starter Pack Banner */
.store-hero-banner {
    display: grid;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
    min-height: 220px;
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-main.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

.store-hero-banner > :not(.store-gothic-panel__frame) {
    position: relative;
    z-index: 2;
}

.store-hero-art {
    position: relative;
    height: 100%;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.35);
    border-radius: 4px;
}

.store-hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-hero-art__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, #030812 100%);
}

.store-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 20px;
}

.store-hero-badge {
    align-self: flex-start;
    padding: 3px 8px;
    background: rgba(54, 159, 255, 0.2);
    border: 1px solid rgba(98, 179, 255, 0.5);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    color: #62bdff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px #000;
}

.store-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px #000, 0 0 15px rgba(216, 179, 106, 0.3);
}

.store-hero-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: #e8bd6d;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 1px 2px #000;
}

.store-hero-previews {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.store-hero-preview-box {
    width: 38px;
    height: 38px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.55);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

.store-hero-preview-box img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.store-hero-preview-box i {
    font-size: 16px;
    color: #e8bd6d;
    filter: drop-shadow(0 1px 2px #000);
}

.store-hero-preview-box__count {
    position: absolute;
    bottom: -1px;
    right: 2px;
    font-size: 9px;
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 0 1px 2px #000;
}

.store-hero-buy-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-hero-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff2d4;
    text-shadow: 0 2px 4px #000, 0 0 10px rgba(52, 211, 153, 0.3);
}

.store-hero-price small {
    font-size: 12px;
    color: #c3cfdf;
    font-weight: 600;
}

/* Main Buttons (Using Sliced button.webp with crisp shadow and bold font) */
.store-hero-btn,
.store-deal-btn,
.store-buy-btn,
.store-cart-checkout-btn {
    height: 38px;
    padding: 0 24px;
    background: url('/images/news/reference/button.webp') center / 100% 100% no-repeat !important;
    border: 0 !important;
    color: #fff2d4 !important;
    font-family: 'Cinzel', serif;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: none !important;
    text-shadow: 0 2px 3px rgba(0,0,0,0.85) !important;
}

.store-hero-btn:hover,
.store-deal-btn:hover,
.store-buy-btn:hover,
.store-cart-checkout-btn:hover {
    filter: brightness(1.25) !important;
    transform: translateY(-1px);
}

/* Deal of the Day Box */
.store-deal-day {
    text-align: center;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-card.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

.store-deal-label {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    color: #e8bd6d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px #000;
}

.store-deal-countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.45);
    padding: 4px 10px;
    border-radius: 3px;
    max-width: 140px;
    margin: 0 auto 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

.store-deal-countdown span {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-deal-countdown small {
    font-size: 8px;
    color: #c3cfdf;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 1px;
}

.store-deal-media {
    width: 52px;
    height: 52px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.45);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

.store-deal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-deal-media i {
    font-size: 24px;
    color: #fbbf24;
    filter: drop-shadow(0 1px 3px #000);
}

.store-deal-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 2px;
    text-shadow: 0 1px 3px #000;
}

.store-deal-prices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.store-deal-price-orig {
    font-size: 11px;
    color: #6b7280;
    text-decoration: line-through;
    font-weight: 600;
}

.store-deal-price-sale {
    font-size: 15px;
    font-weight: 800;
    color: #34d399;
    text-shadow: 0 1px 2px #000;
}

.store-deal-btn {
    height: 32px;
    width: 100%;
}

/* ── CENTER AREA: MAIN FILTERS & SEARCH BAR (Opaque background) ── */
.store-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-featured.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    padding: 10px 24px;
    margin-bottom: 16px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important;
}

.store-tabs-wrap {
    display: flex;
    gap: 6px;
}

.store-tab-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 114px;
    height: 36px;
    color: #c3cfdf;
    background: url('/images/news/reference/tab-inactive.webp') center / 100% 100% no-repeat !important;
    border: 0 !important;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 1px 2px #000;
}

.store-tab-btn:hover {
    color: #fff;
    filter: brightness(1.2);
}

.store-tab-btn.is-active {
    background: url('/images/news/reference/tab-active.webp') center / 100% 100% no-repeat !important;
    color: #fff2d4 !important;
    text-shadow: 0 1px 3px #000, 0 0 10px rgba(251, 191, 36, 0.4);
}

.store-controls-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.store-sort-select {
    height: 32px;
    padding: 0 10px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.5);
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
}

.store-sort-select option {
    background: #030812;
}

.store-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.store-search-input {
    width: 160px;
    height: 32px;
    padding: 0 10px 0 28px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.5);
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
}

[dir="rtl"] .store-search-input {
    padding: 0 28px 0 10px;
}

.store-search-icon {
    position: absolute;
    left: 10px;
    color: #e8bd6d;
    font-size: 12px;
    pointer-events: none;
    filter: drop-shadow(0 1px 1px #000);
}

[dir="rtl"] .store-search-icon {
    left: auto;
    right: 10px;
}

/* ── PRODUCT GRID (Opaque backgrounds) ── */
.store-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Item Card */
.store-item-card {
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-card.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
    transition: transform 0.25s ease;
}

.store-item-card:hover {
    transform: translateY(-4px);
}

.store-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
}

.store-card-badge {
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.store-card-badge-new { background: linear-gradient(135deg, #1d4ed8, #2563eb); border: 1px solid rgba(96, 165, 250, 0.4); }
.store-card-badge-hot { background: linear-gradient(135deg, #b91c1c, #dc2626); border: 1px solid rgba(248, 113, 113, 0.4); }
.store-card-badge-sale { background: linear-gradient(135deg, #047857, #059669); border: 1px solid rgba(52, 211, 153, 0.4); }

.store-card-media {
    position: relative;
    height: 110px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.45);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

.store-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.store-card-media i {
    font-size: 32px;
    color: #e8bd6d;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

.store-item-card:hover .store-card-media img {
    transform: scale(1.08);
}

.store-card-media__glow {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.store-card-media__glow-common { background: #9ca3af; }
.store-card-media__glow-rare { background: #60a5fa; }
.store-card-media__glow-mythic { background: #c084fc; }
.store-card-media__glow-legendary { background: #fbbf24; }

.store-card-title {
    font-family: 'Cinzel', serif;
    color: #fff2d4;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin: 4px 0 2px;
    text-shadow: 0 2px 3px #000;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-card-rarity {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 10px;
    color: #fbbf24;
    text-shadow: 0 1px 2px #000;
}

.store-card-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff2d4;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px #000;
}

.store-card-price small {
    font-size: 11px;
    color: #c3cfdf;
    font-weight: 600;
}

.store-card-actions {
    display: flex;
    gap: 6px;
}

.store-buy-btn {
    flex: 1;
    height: 32px;
    font-size: 10px !important;
}

.store-cart-add-btn {
    width: 32px;
    height: 32px;
    background: rgba(198, 154, 88, 0.12);
    border: 1px solid rgba(198, 154, 88, 0.5);
    border-radius: 3px;
    color: #e8bd6d;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1px 2px #000);
}

.store-cart-add-btn:hover {
    background: rgba(198, 154, 88, 0.2);
    border-color: #ead0a0;
    color: #fff2d4;
}

/* Pagination */
.store-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
}

.store-pagination-link {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.5);
    border-radius: 2px;
    color: #e8bd6d;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.store-pagination-link:hover {
    border-color: #ead0a0;
    color: #fff2d4;
    background: rgba(198, 154, 88, 0.15);
}

.store-pagination-link.is-active {
    color: #fff2d4;
    border-color: #369fff;
    background: rgba(54, 159, 255, 0.15);
    box-shadow: 0 0 8px rgba(54, 159, 255, 0.4);
}

.store-pagination-link.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Empty Grid State */
.store-empty-grid {
    text-align: center;
    padding: 48px 24px;
    color: #c3cfdf;
    background: #01050b;
    border: 1px dashed rgba(198, 154, 88, 0.45);
    border-radius: 4px;
    grid-column: 1 / -1;
}

.store-empty-grid p {
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 2px #000;
}

/* ── SIDEBAR RIGHT: YOUR CART & EXTRAS ── */
.store-cart-empty {
    text-align: center;
    padding: 30px 10px;
}

.store-cart-empty i {
    font-size: 28px;
    color: #6b7280;
    margin-bottom: 8px;
}

.store-cart-empty p {
    font-size: 12px;
    color: #c3cfdf;
    font-weight: 600;
}

.store-cart-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(198, 154, 88, 0.25);
}

.store-cart-item-row:last-child {
    border-bottom: 0;
}

.store-cart-item-img {
    width: 32px;
    height: 32px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.4);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-cart-item-img img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.store-cart-item-img i {
    font-size: 16px;
    color: #e8bd6d;
}

.store-cart-item-info {
    flex: 1;
    min-width: 0;
}

.store-cart-item-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 2px #000;
}

.store-cart-item-qty-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.store-cart-qty-btn {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(198, 154, 88, 0.45);
    background: #01050b;
    color: #e8bd6d;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.15s;
}

.store-cart-qty-btn:hover {
    border-color: #ead0a0;
    color: #fff2d4;
    background: rgba(198, 154, 88, 0.2);
}

.store-cart-item-qty {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.store-cart-item-price {
    font-size: 12px;
    font-weight: 800;
    color: #fff2d4;
    text-align: right;
    white-space: nowrap;
    text-shadow: 0 1px 2px #000;
}

.store-cart-item-remove {
    color: #6b7280;
    cursor: pointer;
    font-size: 11px;
    transition: color 0.15s;
    background: transparent;
    border: 0;
}

.store-cart-item-remove:hover {
    color: #ef4444;
}

.store-cart-total-row {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed rgba(216, 179, 106, 0.3);
}

.store-cart-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #c3cfdf;
    margin-bottom: 4px;
}

.store-cart-total-line strong {
    font-size: 15px;
    color: #fff2d4;
    font-weight: 800;
    text-shadow: 0 1px 2px #000;
}

.store-cart-checkout-btn {
    display: flex;
    width: 100%;
    height: 38px;
    margin-top: 10px;
    text-decoration: none;
}

/* How It Works List */
.store-steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-step-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.store-step-number {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 189, 109, 0.25) 0%, rgba(1, 5, 11, 0.8) 100%);
    border: 1.5px solid rgba(232, 189, 109, 0.7);
    color: #ffd899;
    font-size: 11px;
    font-weight: 900;
    font-family: 'Cinzel', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.6), inset 0 0 4px rgba(232, 189, 109, 0.3);
    text-shadow: 0 1px 2px #000;
}

.store-step-content strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #e8bd6d;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px #000;
}

.store-step-content p {
    font-size: 11px;
    color: #c3cfdf;
    line-height: 1.4;
    margin-top: 1px;
}

/* Payment Icons */
.store-payment-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
}

.store-payment-badge {
    height: 32px;
    padding: 0 10px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.45);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.store-payment-badge:hover {
    border-color: #ead0a0;
    box-shadow: 0 0 8px rgba(234, 208, 160, 0.35);
    transform: translateY(-1px);
}

.store-payment-badge img {
    height: 18px;
    max-width: 60px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.store-payment-badge svg {
    height: 16px;
    width: auto;
}

/* Need Help */
.store-help-box {
    text-align: center;
    padding: 8px 4px;
}

.store-help-box p {
    font-size: 12px;
    color: #c3cfdf;
    line-height: 1.4;
    margin-bottom: 12px;
}

.store-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 16px;
    background: url('/images/news/reference/button.webp') center / 100% 100% no-repeat !important;
    border: 0 !important;
    color: #fff2d4 !important;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    text-shadow: 0 1px 2px #000;
}

.store-help-btn:hover {
    filter: brightness(1.22) !important;
}

/* ── EXCLUSIVE BAR / FEATURE FOOTER ── */
.store-feature-footer {
    margin-top: 16px;
}

.store-feature-footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-featured.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    padding: 18px 30px;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important;
}

.store-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-right: 1px solid rgba(198, 154, 88, 0.25);
}

[dir="rtl"] .store-feature-item {
    border-right: 0;
    border-left: 1px solid rgba(198, 154, 88, 0.25);
}

.store-feature-item:last-child {
    border-right: 0;
    border-left: 0;
}

.store-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(198, 154, 88, 0.15);
    border: 1px solid rgba(198, 154, 88, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8bd6d;
    font-size: 12px;
    flex-shrink: 0;
}

.store-feature-info strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #fff2d4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px #000;
}

.store-feature-info p {
    font-size: 10px;
    color: #c3cfdf;
    margin-top: 1px;
    font-weight: 500;
}

/* ── WALLET BANNER / CHIPS ── */
.store-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.store-wallet-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.55);
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

.store-wallet-val-egp { color: #34d399; }
.store-wallet-val-usd { color: #60a5fa; }
.store-wallet-dot { color: rgba(198, 154, 88, 0.4); }

.store-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 12px;
    background: url('/images/news/reference/button.webp') center / 100% 100% no-repeat !important;
    border: 0 !important;
    color: #fff2d4 !important;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-left: 8px;
}

.store-wallet-btn:hover {
    filter: brightness(1.2) !important;
}

/* ── MODALS ── */
.store-modal-box {
    width: min(440px, 94%);
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-panel.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9) !important;
    position: relative;
    overflow: hidden;
    padding: 12px;
}

.store-modal-header-accent {
    display: none !important;
}

.store-modal-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(198, 154, 88, 0.1);
    border: 1px solid rgba(198, 154, 88, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8bd6d;
    font-size: 18px;
    margin: 10px auto 0;
}

.store-modal-title {
    font-family: 'Cinzel', serif;
    color: #fff2d4;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px #000;
}

.store-modal-desc {
    font-size: 12px;
    color: #c3cfdf;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.5;
    text-shadow: 0 1px 2px #000;
}

.store-modal-item-name {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 2px #000;
}

.store-modal-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff2d4;
    text-align: center;
    margin: 4px 0 16px;
    text-shadow: 0 2px 4px #000;
}

.store-modal-form-group {
    margin-bottom: 14px;
}

.store-modal-form-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e8bd6d;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px #000;
}

.store-modal-form-group input[type="text"] {
    width: 100%;
    height: 34px;
    padding: 0 12px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.45);
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

.store-modal-coupon-row {
    display: flex;
    gap: 8px;
}

.store-modal-coupon-btn {
    height: 34px;
    padding: 0 14px;
    background: rgba(198, 154, 88, 0.15);
    border: 1px solid rgba(198, 154, 88, 0.45);
    border-radius: 3px;
    color: #e8bd6d;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.store-modal-coupon-btn:hover {
    background: rgba(198, 154, 88, 0.25);
    border-color: #ead0a0;
    color: #fff2d4;
}

.store-modal-footer-btns {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.store-modal-cancel-btn {
    flex: 1;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: #c3cfdf;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.store-modal-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.store-modal-confirm-btn {
    flex: 1;
    height: 38px;
    background: url('/images/news/reference/button.webp') center / 100% 100% no-repeat !important;
    border: 0 !important;
    color: #fff2d4 !important;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.store-modal-confirm-btn:hover {
    filter: brightness(1.22) !important;
}

/* Sequential Checkout Loader Overlay */
.store-checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-checkout-card {
    width: min(400px, 92%);
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-panel.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    padding: 24px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9) !important;
}

.store-checkout-loader {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(198, 154, 88, 0.15);
    border-top: 4px solid #d8b36a;
    border-radius: 50%;
    animation: store-spin 1.2s linear infinite;
    margin: 0 auto 16px;
    box-shadow: 0 0 15px rgba(216, 179, 106, 0.2);
}

.store-checkout-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin: 16px 0;
}

.store-checkout-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #188dff, #34d399);
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes store-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Flash notification popups */
.store-flash-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(340px, 90%);
}

[dir="rtl"] .store-flash-container {
    right: auto;
    left: 24px;
}

.store-flash-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: store-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background: rgba(1, 8, 15, 0.98);
}

.store-flash-toast-success {
    border-left: 3px solid #34d399;
}
[dir="rtl"] .store-flash-toast-success {
    border-left: 0;
    border-right: 3px solid #34d399;
}

.store-flash-toast-error {
    border-left: 3px solid #ef4444;
}
[dir="rtl"] .store-flash-toast-error {
    border-left: 0;
    border-right: 3px solid #ef4444;
}

.store-flash-toast i {
    margin-top: 2px;
}

.store-flash-toast-success i { color: #34d399; }
.store-flash-toast-error i { color: #ef4444; }

.store-flash-toast-body {
    flex: 1;
}

.store-flash-toast-title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.store-flash-toast-msg {
    font-size: 11px;
    color: #a9b3c2;
    margin-top: 1px;
    line-height: 1.4;
}

@keyframes store-slide-in {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ── RESPONSIVENESS ── */
@media (max-width: 1120px) {
    .store-layout {
        grid-template-columns: 200px minmax(0, 1fr);
    }
    .store-sidebar-right {
        grid-column: 1 / -1;
    }
    .store-features-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .store-feature-footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .store-feature-item:nth-child(2) {
        border-right: 0;
    }
    [dir="rtl"] .store-feature-item:nth-child(2) {
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .store-layout {
        grid-template-columns: 1fr;
    }
    .store-sidebar-left {
        grid-column: 1 / -1;
    }
    .store-promo-grid {
        grid-template-columns: 1fr;
    }
    .store-hero-banner {
        grid-template-columns: 1fr;
    }
    .store-hero-art {
        height: 160px;
    }
    .store-hero-art__overlay {
        background: linear-gradient(to top, rgba(1, 8, 15, 0.94) 30%, transparent 100%);
    }
    .store-features-bar {
        grid-template-columns: 1fr;
    }
    .store-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .store-controls-wrap {
        justify-content: space-between;
    }
    .store-search-input {
        width: 100%;
    }
    .store-feature-footer-inner {
        grid-template-columns: 1fr;
    }
    .store-feature-item {
        border-right: 0 !important;
        border-left: 0 !important;
        padding: 6px 0;
    }
}

/* ==========================================================================
   STORE ITEM & PACKAGE DETAILS PAGES (GOTHIC DARK FANTASY RE-THEMING)
   ========================================================================== */

/* --- Common Details Layout & Containers --- */
.sd-breadcrumb, .pkg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #a9b3c2;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px #000;
}
.sd-breadcrumb a, .pkg-breadcrumb a {
    color: #e8bd6d;
    text-decoration: none;
    transition: color 0.2s;
}
.sd-breadcrumb a:hover, .pkg-breadcrumb a:hover {
    color: #fff2d4;
}

/* Flash Messages */
.sd-flash, .pkg-flash {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background: #030812 url('/images/news/reference/frame-panel.png') no-repeat;
    background-size: 100% 100%;
}
.sd-flash-ok, .pkg-flash-ok {
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
    color: #34d399;
}
.sd-flash-err, .pkg-flash-err {
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #f87171;
}

/* Main Hero Header Banner & Overview */
.sd-hero, .pkg-overview {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 30px !important;
    border-radius: 4px !important;
    background-color: #030812 !important;
    background-image: url('/images/news/reference/frame-featured.png') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.8) !important;
    margin-bottom: 20px !important;
    z-index: 10 !important;
}

.sd-hero-title, .pkg-title {
    font-family: 'Cinzel', serif !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #fff2d4 !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 4px #000, 0 0 15px rgba(198, 154, 88, 0.4) !important;
    margin-top: 10px !important;
}

.sd-hero-badge, .pkg-rarity-badge, .pkg-deal-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 12px;
    border-radius: 2px;
    background: rgba(1, 5, 11, 0.8) !important;
    border: 1px solid rgba(198, 154, 88, 0.45) !important;
    color: #fbbf24 !important;
}

.sd-hero-meta, .pkg-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.sd-meta-pill, .pkg-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 2px;
    background: rgba(1, 5, 11, 0.8);
    border: 1px solid rgba(198, 154, 88, 0.25);
    color: #fff;
}

.sd-stock-dot, .pkg-dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    animation: dot-pulse 1.5s ease-in-out infinite;
}

/* Cards & Panel Containers */
.sd-card-inner, .pkg-gothic-card, .pkg-item-card {
    border: 15px solid transparent !important;
    border-image: url('/images/news/reference/frame-panel.png') 30 fill stretch !important;
    background: #030812 !important; /* fallback backing */
    box-shadow: 0 8px 25px rgba(0,0,0,0.6) !important;
    border-radius: 4px !important;
    padding: 10px !important;
    position: relative;
    overflow: hidden;
}

/* Product Image Frame */
.sd-img-wrap, .pkg-overview-img-wrap {
    position: relative !important;
    background: #01050b !important;
    border: 1px solid rgba(198, 154, 88, 0.25) !important;
    padding: 6px !important;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.9) !important;
    border-radius: 4px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sd-img-wrap img, .pkg-overview-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

/* Custom styled subheadings */
.sd-desc-header h3, .sd-price-section h3, .pkg-items-section h3, .pkg-section-title {
    font-family: 'Cinzel', serif !important;
    color: #fff2d4 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px #000;
}

/* Dynamic Buttons rethemed to use button.webp */
.sd-action-btn, .sd-deposit-btn, .pkg-buy-btn, .store-modal-coupon-btn, .store-modal-confirm-btn, .store-modal-cancel-btn {
    background: url('/images/news/reference/button.webp') no-repeat !important;
    background-size: 100% 100% !important;
    border: none !important;
    outline: none !important;
    color: #fff2d4 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 42px !important;
    line-height: 40px !important;
    text-transform: uppercase !important;
    text-shadow: 0 1px 2px #000 !important;
    cursor: pointer !important;
    padding: 0 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
    transition: filter 0.2s, transform 0.2s !important;
}

.sd-action-btn:hover, .sd-deposit-btn:hover, .pkg-buy-btn:hover, .store-modal-coupon-btn:hover, .store-modal-confirm-btn:hover {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(198, 154, 88, 0.55)) !important;
    transform: translateY(-1px) !important;
}

.sd-action-btn:active, .sd-deposit-btn:active, .pkg-buy-btn:active {
    transform: translateY(1px) !important;
}

/* Disabled Buy Button */
.sd-locked-btn, .pkg-buy-disabled {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #6b7280 !important;
    height: 42px !important;
    line-height: 40px !important;
    border-radius: 4px !important;
    font-family: 'Cinzel', serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Pricing cards in show page */
.sd-price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 10px;
    background: rgba(1, 5, 11, 0.8) !important;
    border: 1px solid rgba(198, 154, 88, 0.2) !important;
}

/* Gothic Select input */
.sd-buy-body select, .pkg-overview select, select.store-select-input {
    background: #01050b !important;
    border: 1px solid rgba(198, 154, 88, 0.45) !important;
    color: #fff2d4 !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600 !important;
    outline: none !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8) !important;
}
.sd-buy-body select option, select.store-select-input option {
    background: #030812 !important;
    color: #fff2d4 !important;
}

/* Coupon code input field */
.sd-buy-body input[type="text"], .store-modal-coupon-row input {
    background: #01050b !important;
    border: 1px solid rgba(198, 154, 88, 0.45) !important;
    color: #fff2d4 !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600 !important;
    outline: none !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8) !important;
}

/* Pricing strip in package page */
.pkg-price-strip {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.pkg-price-box {
    flex: 1;
    background: rgba(1, 5, 11, 0.85);
    border: 1px solid rgba(198, 154, 88, 0.35);
    padding: 10px 14px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pkg-price-currency {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    color: #a9b3c2;
    font-size: 13px;
}
.pkg-price-now {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #34d399;
}
.pkg-price-old {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    color: #6b7280;
    text-decoration: line-through;
    margin-right: 6px;
}

.pkg-overview-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

/* Package items grids & items styling */
.pkg-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 15px;
}

.pkg-item-card {
    padding: 12px !important;
}

.pkg-item-card-img {
    height: 80px;
    background: rgba(1, 5, 11, 0.8);
    border: 1px solid rgba(198, 154, 88, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 3px;
    overflow: hidden;
}
.pkg-item-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.pkg-item-card-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #fff2d4;
    text-align: center;
}

.pkg-item-card-qty {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #01050b;
    border: 1px solid rgba(198, 154, 88, 0.45);
    color: #fbbf24;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
}

/* Selectable items indicator */
.pkg-selectable-item {
    cursor: pointer;
    transition: all 0.3s;
}
.pkg-selectable-item:hover {
    border-color: rgba(192, 132, 252, 0.5) !important;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.15);
}
.pkg-selectable-item.selected {
    border-color: #c084fc !important;
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.35);
}
.pkg-selectable-item.selected::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 6px;
    left: 6px;
    color: #c084fc;
    font-size: 13px;
    text-shadow: 0 1px 3px #000;
}

/* Selection Hint */
.pkg-select-hint {
    background: rgba(192, 132, 252, 0.05);
    border: 1px solid rgba(192, 132, 252, 0.15);
    padding: 12px 16px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pkg-select-hint.complete {
    background: rgba(52, 211, 153, 0.05);
    border-color: rgba(52, 211, 153, 0.15);
}

.sd-back-link {
    font-family: 'Cinzel', serif;
    color: #e8bd6d;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    text-shadow: 0 1px 2px #000;
}
.sd-back-link:hover {
    color: #fff2d4;
}

/* === REDESIGNED v3 STORE DETAIL PAGES === */

.sd-card-inner {
    position: relative;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 24px !important;
    margin-bottom: 24px;
    overflow: visible !important;
}

.sd-card-frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-style: solid;
    border-color: transparent;
    border-image-source: url('/images/news/v2/panel-frame.webp');
    border-image-slice: 90 fill;
    border-image-outset: 0;
    border-image-repeat: stretch;
    pointer-events: none;
    border-width: 17px;
    border-image-width: 17px;
}

.sd-card-inner > :not(.sd-card-frame) {
    position: relative;
    z-index: 1;
}

/* Gallery Layout (Thumbnails + Main Showcase) */
.sd-gallery-side {
    display: flex;
    gap: 16px;
}
.sd-thumbnails-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 72px;
    flex-shrink: 0;
}
.sd-thumbnail-item {
    width: 72px;
    height: 72px;
    background: transparent;
    position: relative;
    border: 8px solid transparent !important;
    border-image: url('/images/news/v2/panel-frame.webp') 90 fill stretch !important;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s var(--av-ease, ease-out);
    padding: 0;
}
.sd-thumbnail-item > * {
    position: relative;
    z-index: 1;
}
.sd-thumbnail-item.active,
.sd-thumbnail-item:hover {
    filter: brightness(1.2) drop-shadow(0 0 4px #369fff);
}
.sd-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.sd-showcase-box {
    flex: 1;
    position: relative;
    background: transparent;
    border: 15px solid transparent !important;
    border-image: url('/images/news/v2/panel-frame.webp') 90 fill stretch !important;
}

/* Metadata Specs Grid */
.sd-metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.sd-metadata-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.2s ease;
}
.sd-metadata-badge:hover {
    background: rgba(212, 175, 55, 0.05) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}
.sd-metadata-badge > * {
    position: relative;
    z-index: 1;
}
.sd-metadata-badge i {
    font-size: 13px;
    color: var(--rarity-color, #fbbf24);
    opacity: 0.85;
}
.sd-metadata-badge-content {
    display: flex;
    flex-direction: column;
}
.sd-metadata-badge-label {
    font-size: 9px;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.sd-metadata-badge-val {
    font-size: 13px;
    font-weight: 700;
    color: #fff2d4;
}

/* Currency switcher tab */
.sd-currency-switch {
    display: flex;
    background: transparent;
    border: none;
    padding: 0;
    gap: 6px;
    margin-bottom: 16px;
}
.sd-currency-tab {
    flex: 1;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/news/reference/tab-inactive.webp') center / 100% 100% no-repeat !important;
    border: none !important;
    font-family: 'Cinzel', serif;
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    color: #8f9daf !important;
    cursor: pointer;
    transition: all 0.2s;
}
.sd-currency-tab.active {
    background: url('/images/news/reference/tab-active.webp') center / 100% 100% no-repeat !important;
    color: #fff2d4 !important;
    text-shadow: 0 0 8px rgba(234, 208, 160, 0.4);
}

/* Blue Button Design Matching Reference */
.sd-btn-blue {
    height: 38px;
    padding: 0 24px;
    border: 1px solid rgba(198, 154, 88, 0.5) !important;
    border-radius: 3px !important;
    background: linear-gradient(180deg, #174e8d, #071a34) !important;
    color: #f3e5ca !important;
    box-shadow: inset 0 0 12px rgba(54, 159, 255, 0.2), 0 4px 10px rgba(0,0,0,0.5) !important;
    font-family: 'Cinzel', serif;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-shadow: 0 1px 2px #000 !important;
}
.sd-btn-blue:hover {
    filter: brightness(1.22) !important;
    transform: translateY(-1px);
}

/* Specs & details table */
.sd-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Rajdhani', sans-serif;
}
.sd-specs-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.sd-specs-table tr:last-child {
    border-bottom: none;
}
.sd-specs-table td {
    padding: 10px 14px;
    font-size: 13px;
}
.sd-specs-table td:first-child {
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.05em;
    width: 40%;
}
.sd-specs-table td:last-child {
    color: #fff2d4;
    font-weight: 700;
    text-align: right;
}

/* Features checklist */
.sd-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    font-family: 'Rajdhani', sans-serif;
}
.sd-features-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #a9b3c2;
}
.sd-features-item i {
    font-size: 10px;
    color: #fbbf24;
}
.sd-features-item.locked {
    color: #f87171;
}
.sd-features-item.locked i {
    color: #f87171;
}

/* Trust list banner strip */
.sd-trust-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.sd-trust-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent !important;
    border: 12px solid transparent !important;
    border-image: url('/images/news/v2/panel-frame.webp') 90 fill stretch !important;
    padding: 4px 6px !important;
}
.sd-trust-item > * {
    position: relative;
    z-index: 1;
}
.sd-trust-item i {
    font-size: 20px;
    color: #ead0a0;
    text-shadow: 0 0 10px rgba(234, 208, 160, 0.3);
}
.sd-trust-item-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff2d4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.sd-trust-item-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    color: #6b7280;
    font-weight: 500;
}

/* Tab selector headers */
.sd-tabs-headers {
    display: flex;
    margin-bottom: 16px;
    gap: 6px;
}
.sd-tab-btn {
    height: 38px;
    line-height: 38px;
    padding: 0 24px !important;
    background: url('/images/news/reference/tab-inactive.webp') center / 100% 100% no-repeat !important;
    border: none !important;
    color: #8f9daf !important;
    font-family: 'Cinzel', serif;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sd-tab-btn.active {
    background: url('/images/news/reference/tab-active.webp') center / 100% 100% no-repeat !important;
    color: #fff2d4 !important;
    text-shadow: 0 0 8px rgba(234, 208, 160, 0.4);
}

/* Related items showcase */
.sd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.sd-related-card {
    position: relative;
    background: transparent !important;
    border: 15px solid transparent !important;
    border-image: url('/images/news/v2/panel-frame.webp') 90 fill stretch !important;
    padding: 0px !important;
    transition: all 0.25s var(--av-ease, ease-out);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sd-related-card > * {
    position: relative;
    z-index: 1;
}
.sd-related-card:hover {
    filter: brightness(1.15) drop-shadow(0 0 8px rgba(54,159,255,0.2));
    transform: translateY(-2px);
}
.sd-related-img-box {
    width: 100%;
    height: 120px;
    background: #01050b;
    border: 1px solid rgba(198,154,88,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}
.sd-related-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.sd-related-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff2d4;
    text-align: center;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px #000;
}
.sd-related-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 10px;
}

/* Responsive fixes */
@media (max-width: 1024px) {
    .sd-trust-banner {
        grid-template-columns: repeat(2, 1fr);
    }
    .sd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .sd-gallery-side {
        flex-direction: column-reverse;
    }
    .sd-thumbnails-col {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .sd-metadata-grid {
        grid-template-columns: 1fr;
    }
    .sd-trust-banner {
        grid-template-columns: 1fr;
    }
    .sd-related-grid {
        grid-template-columns: 1fr;
    }
}


