/* ==========================================================================
   Official Web Store Layout (Sleek E-Commerce Shopping Experience)
   ========================================================================== */

/* Overriding Global Page Foundation for a clean, light-mode e-commerce space */
.store-body {
    background-color: #f4f6f9 !important;
    color: #1e293b !important;
}

/* Top Utility System Bar */
.store-utility-bar {
    background-color: #0f172a;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.account-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

/* Navbar Modification Rules */
.store-navbar {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    position: relative !important;
    top: 0 !important;
}

.store-navbar .nav-links {
    color: #334155 !important;
}

.store-navbar .nav-links:hover, 
.store-navbar .nav-links.active {
    color: #00b4d8 !important;
}

/* Store Clean Billboard Hero Section */
.store-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.store-hero-container {
    display: flex;
    justify-content: center;
}

.store-hero-text {
    max-width: 800px;
}

.store-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.store-title .accent-text {
    color: #00b4d8;
}

.store-subtitle {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
}

/* Category Slider Sticky Bar */
.store-subnav {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.subnav-links {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 15px 0;
}

.subnav-item {
    color: #64748b;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.subnav-item:hover, .subnav-item.active {
    color: #0f172a;
    border-bottom-color: #00b4d8;
}

/* Main Product Showcase Slots */
.store-showcase {
    background-color: #f8fafc;
    padding: 60px 0 120px;
}

.store-section {
    margin-bottom: 70px;
}

.store-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-left: 4px solid #00b4d8;
    padding-left: 16px;
}

.category-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.category-countdown {
    background: #fee2e2;
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
}

.category-caption {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/* Grid Matrix Structuring */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.store-grid.standard-items {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Premium Product Card Frame Blueprint */
.store-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* Accent Promotion Layout Rings */
.promo-glow {
    border: 2px solid #00b4d8;
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 6px;
    z-index: 5;
}

.card-badge.gold {
    background-color: #ffb703;
    color: #0f172a;
}

.card-badge.clear {
    background-color: #0f172a;
    color: #ffffff;
}

/* Image Showcase Cavity */
.product-display {
    background-color: #f1f5f9;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-display.mini {
    height: 160px;
    background-color: #f8fafc;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.15));
}

/* Card Body Context */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.text-center { text-align: center; }

.product-info h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.product-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.coin-breakdown {
    color: #00b4d8;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Coin Pack Specific Overlay Ribbon */
.coin-bonus-pill {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5;
}

/* Purchase Actions Alignment Layer */
.purchase-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 10px;
}

.center-flex {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.price-tag {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

/* Button Layout Profiles */
.btn-buy {
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-buy:hover {
    background-color: #00b4d8;
}

.btn-buy.secondary {
    background-color: #e2e8f0;
    color: #334155;
    width: 100%;
    text-align: center;
}

.btn-buy.secondary:hover {
    background-color: #cbd5e1;
    color: #0f172a;
}

.btn-buy.buy-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    width: 100%;
}

.btn-buy.buy-gradient:hover {
    background: #00b4d8;
}

/* Footer Contrast Separation */
.store-footer {
    background-color: #0f172a !important;
    border-top: none !important;
}

/* Responsive Adaptive Adjustments */
@media (max-width: 640px) {
    .utility-flex { justify-content: center; text-align: center; }
    .purchase-action:not(.center-flex) { flex-direction: column; align-items: stretch; }
    .purchase-action:not(.center-flex) .price-tag { text-align: center; margin-bottom: 5px; }
}