/* ================================================================
   STORE PAGE
   ================================================================ */

/* ── Hero ─────────────────────────────────────────── */
.st-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.st-hero {
    text-align: center;
    padding: 60px 24px 48px;
    margin-bottom: 48px;
    position: relative;
}

.st-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #E8BA00, #F5D442);
    border-radius: 2px;
}

.st-hero-label {
    display: inline-block;
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #E8BA00;
    background: rgba(232, 186, 0, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.st-hero-title {
    font-family: 'Rubik', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 14px;
    line-height: 1.25;
}

.st-hero-brand {
    color: #E8BA00;
    font-weight: 700;
}

.st-hero-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6B7280;
    margin: 0 auto;
    max-width: 560px;
    line-height: 1.6;
}

/* ── Section ──────────────────────────────────────── */
.st-section {
    margin-bottom: 48px;
}

.st-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.st-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #E8BA00, #F5D442);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-section-icon i {
    font-size: 20px;
    color: #fff;
}

.st-section-title {
    font-family: 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px;
}

.st-section-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #9CA3AF;
    margin: 0;
}

/* ── Badge Grid ───────────────────────────────────── */
.st-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* ── Badge Card ───────────────────────────────────── */
.st-badge-card {
    background: #fff;
    border: 1px solid #F3F4F6;
    border-radius: 20px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.st-badge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.st-badge-card--owned {
    border-color: rgba(52, 88, 48, 0.2);
    background: linear-gradient(180deg, rgba(52, 88, 48, 0.02) 0%, #fff 100%);
}

.st-badge-card--pending {
    border-color: rgba(232, 186, 0, 0.25);
    background: linear-gradient(180deg, rgba(232, 186, 0, 0.02) 0%, #fff 100%);
}

/* ── Ribbon ───────────────────────────────────────── */
.st-badge-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'Rubik', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.st-badge-ribbon--active {
    background: rgba(52, 88, 48, 0.1);
    color: #345830;
}

.st-badge-ribbon--pending {
    background: rgba(232, 186, 0, 0.12);
    color: #92750A;
}

/* ── Badge Visual ─────────────────────────────────── */
.st-badge-visual {
    width: 120px;
    height: 120px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
    cursor: pointer;
    transition: transform 0.2s ease;
}

.st-badge-img:hover {
    transform: scale(1.08);
}

.st-badge-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(232, 186, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-badge-placeholder i {
    font-size: 32px;
    color: #E8BA00;
}

/* ── Badge Info ───────────────────────────────────── */
.st-badge-info {
    margin-bottom: 16px;
    flex: 1;
}

.st-badge-name {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin: 0 0 6px;
}

.st-badge-desc {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #9CA3AF;
    margin: 0;
    line-height: 1.5;
}

/* ── Price ─────────────────────────────────────────── */
.st-badge-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(232, 186, 0, 0.06);
    border-radius: 12px;
}

.st-token-icon {
    width: 20px;
    height: 20px;
}

.st-price-amount {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.st-price-label {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #9CA3AF;
}

/* ── Action Buttons ───────────────────────────────── */
.st-badge-action {
    width: 100%;
}

.st-badge-buy-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #E8BA00, #D4A900);
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.st-badge-buy-btn:hover {
    background: linear-gradient(135deg, #D4A900, #C09800);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 186, 0, 0.3);
}

.st-badge-buy-btn:active {
    transform: translateY(0);
}

.st-badge-guest-btn {
    background: linear-gradient(135deg, #6B7280, #4B5563);
}

.st-badge-guest-btn:hover {
    background: linear-gradient(135deg, #4B5563, #374151);
    box-shadow: 0 4px 16px rgba(107, 114, 128, 0.3);
}

.st-badge-owned-label {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #345830;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: rgba(52, 88, 48, 0.06);
    border-radius: 12px;
}

.st-badge-pending-label {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #92750A;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: rgba(232, 186, 0, 0.06);
    border-radius: 12px;
}

/* ── Empty State ──────────────────────────────────── */
.st-empty {
    text-align: center;
    padding: 80px 20px;
}

.st-empty-icon {
    font-size: 48px;
    color: #D1D5DB;
    margin-bottom: 16px;
}

.st-empty-title {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #6B7280;
    margin: 0 0 8px;
}

.st-empty-text {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #9CA3AF;
    margin: 0;
}

/* ── Info Banner ──────────────────────────────────── */
.st-info-banner {
    margin-top: 16px;
}

.st-info-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(232, 186, 0, 0.06) 0%, rgba(232, 186, 0, 0.02) 100%);
    border: 1px solid rgba(232, 186, 0, 0.15);
    border-radius: 16px;
}

.st-info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #E8BA00, #F5D442);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-info-icon i {
    font-size: 18px;
    color: #fff;
}

.st-info-text {
    flex: 1;
}

.st-info-text h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin: 0 0 4px;
}

.st-info-text p {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #6B7280;
    margin: 0;
}

.st-info-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #E8BA00;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.st-info-cta:hover {
    background: #D4A900;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 186, 0, 0.25);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .st-page {
        padding: 20px 16px 60px;
    }

    .st-hero {
        padding: 40px 16px 36px;
        margin-bottom: 36px;
    }

    .st-hero-title {
        font-size: 26px;
    }

    .st-hero-subtitle {
        font-size: 14px;
    }

    .st-badge-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .st-info-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .st-badge-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .st-badge-card {
        padding: 20px 14px 18px;
        border-radius: 16px;
    }

    .st-badge-visual {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }

    .st-badge-name {
        font-size: 14px;
    }

    .st-badge-desc {
        font-size: 12px;
    }

    .st-badge-price {
        padding: 6px 12px;
    }

    .st-price-amount {
        font-size: 15px;
    }

    .st-badge-buy-btn {
        font-size: 12px;
        padding: 10px 14px;
    }

    .st-badge-ribbon {
        font-size: 10px;
        padding: 3px 8px;
        top: 10px;
        right: 10px;
    }

    .st-section-header {
        gap: 12px;
    }

    .st-section-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .st-section-icon i {
        font-size: 16px;
    }

    .st-section-title {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .st-badge-grid {
        grid-template-columns: 1fr;
    }
}

/* ── RTL ──────────────────────────────────────────── */
[dir="rtl"] .st-badge-ribbon {
    right: auto;
    left: 14px;
}

[dir="rtl"] .st-info-cta i {
    transform: scaleX(-1);
}

@media (max-width: 480px) {
    [dir="rtl"] .st-badge-ribbon {
        left: 10px;
        right: auto;
    }
}
