
.store-inner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.store-warning-box {
    border-radius: 0.5rem;
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 1rem;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(33, 33, 33, 0.9));
}

.store-warning-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.store-warning-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgb(239, 68, 68);
}

.store-warning-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.store-warning-text p {
    margin: 0;
}

.store-warning-button {
    align-self: flex-end;
    text-transform: capitalize;
}

.store-stats-grid {
    display: grid;
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .store-stats-grid {
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .store-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.store-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    background-color: rgba(17, 17, 17, 0.8);
    transition: all 0.3s;
    border: 1px solid rgba(33, 33, 33, 0.8);
    overflow: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.store-stat-card:hover {
    transform: scale(1.02);
    border-color: rgba(51, 51, 51, 0.8);
}

.store-stat-card-inner {
    padding: 0;
    height: 100%;
    width: 100%;
    position: relative;
}

.store-stat-bg-image {
    position: absolute;
    bottom: -1rem;
    right: -0.5rem;
    height: 6rem;
    width: 6rem;
    object-fit: cover;
    opacity: 0.3;
    filter: hue-rotate(45deg);
    transform: translateY(33.333333%);
}

.store-stat-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0.125rem 0;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.store-stat-title {
    padding: 0 0.25rem;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
}

@media (min-width: 640px) {
    .store-stat-title {
        font-size: 0.75rem;
    }
}

.store-stat-value {
    padding: 0 0.25rem;
    text-align: center;
    font-size: 0.5625rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
    .store-stat-value {
        font-size: 0.75rem;
    }
}

.store-category {
    position: relative;
}

.store-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 1rem 0;
    gap: 1rem;
}

@media (min-width: 640px) {
    .store-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .store-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .store-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.store-product-card {
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(33, 33, 33, 0.8);
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s;
    overflow: hidden;
}

.store-product-card:hover {
    transform: scale(1.02);
    border-color: rgba(51, 51, 51, 0.8);
}

.store-product-card-inner {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 0;
}

.store-product-image-wrapper {
    position: relative;
    background: linear-gradient(to bottom right, rgba(33, 33, 33, 0.2), transparent);
}

.store-product-stock-badge {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
}

.store-product-stock-badge-inner {
    border-radius: 0.125rem;
    padding: 0.125rem 0.5rem;
}

.store-product-stock-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.625rem;
    font-weight: 500;
    color: rgb(34, 197, 94);
}

@media (min-width: 768px) {
    .store-product-stock-info {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
}

.store-product-stock-count {
    opacity: 1;
    transition: opacity 0.2s;
}

@media (min-width: 768px) {
    .store-product-stock-count {
        opacity: 0;
    }
}

.store-product-card:hover .store-product-stock-count {
    opacity: 1;
}

.store-product-stock-dot {
    background-color: rgb(34, 197, 94);
    border: 1px solid rgb(34, 197, 94);
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 50%;
}

.store-product-stock-dot.red {
    background-color: rgb(239, 68, 68);
    border-color: rgb(239, 68, 68);
}

.store-product-stock-info.red {
    color: rgb(239, 68, 68);
}

.store-product-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.store-product-image {
    height: 6rem;
    width: 100%;
    border-radius: 0.75rem 0.75rem 0 0;
    background-color: rgba(255, 255, 255, 0.02);
    object-fit: contain;
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .store-product-image {
        height: 8rem;
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .store-product-image {
        height: 8rem;
    }
}

.store-product-badge-text {
    position: absolute;
    bottom: 25%;
    left: 50%;
    display: flex;
    transform: translate(-50%, 50%);
    user-select: none;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .store-product-badge-text {
        font-size: 0.75rem;
    }
}

.store-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
}

@media (min-width: 768px) {
    .store-product-body {
        padding: 1rem;
    }
}

.store-product-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.store-product-category-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    color: rgba(163, 163, 163, 1);
}

.store-product-title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
}

.store-product-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.125rem;
}

.store-product-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
}

@media (min-width: 768px) {
    .store-product-price {
        font-size: 0.875rem;
    }
}

.store-product-coin-icon {
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 50%;
}

.store-product-buy-button-wrapper {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: flex-end;
}

.store-product-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    transition: all 0.2s;
    outline: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    height: 2.25rem;
    padding: 0.5rem 0.75rem;
    color: black;
    font-weight: 500;
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .store-product-buy-button {
        padding: 0.5rem 1rem;
    }
}

.store-product-buy-button:hover:not(:disabled) {
    background-color: rgba(245, 245, 245, 1);
}

.store-product-buy-button:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.store-product-buy-button:focus-visible {
    outline: 1px solid rgba(51, 51, 51, 0.8);
    outline-offset: 2px;
}

.store-product-buy-button.loading {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 767px) {
    .store-stats-grid {
        gap: 0.5rem;
    }
    
    .store-category-grid {
        gap: 0.5rem;
    }
}

