/* ==========================================
   VLTK SHOP V2 — Same as V1 + Background Image
   ========================================== */

/* Import all V1 styles */
@import url('/css/style.css');

/* Override: Add beautiful background image */
body {
    background: url('/images/background.png') center top / cover no-repeat fixed;
    background-color: #0f101c;
}

/* Make body overlay lighter so background shows */
body::before {
    background:
        radial-gradient(ellipse at 30% 10%, rgba(255, 200, 60, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 90%, rgba(255, 109, 46, 0.02) 0%, transparent 60%);
}

/* Semi-transparent header so bg peeks through */
.header {
    background: rgba(15, 16, 28, 0.85);
    backdrop-filter: blur(12px);
}

/* Semi-transparent sidebar sections */
.filter-section {
    background: rgba(22, 24, 40, 0.75);
    backdrop-filter: blur(6px);
}

/* Semi-transparent item cards */
.item-card {
    background: rgba(22, 24, 40, 0.8);
    backdrop-filter: blur(6px);
}

/* Semi-transparent promo banner */
.promo-banner {
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.7), rgba(92, 26, 10, 0.7), rgba(139, 0, 0, 0.7));
    backdrop-filter: blur(6px);
}

/* Semi-transparent modal */
.modal-content {
    background: rgba(22, 24, 40, 0.95);
    backdrop-filter: blur(12px);
}

/* V1 link in header */
.btn-v1 {
    display: inline-block;
}

/* VLTK Logo image in header */
.logo-icon-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 200, 60, 0.5));
    transition: transform 0.2s ease;
}

.logo-icon-img:hover {
    transform: scale(1.08);
}

/* Sidebar sát trái */
.main-container {
    max-width: 100%;
    padding: 1rem 1rem 1rem 0;
}

.sidebar {
    margin-left: 0;
    padding-left: 0.5rem;
}

/* Items grid: exactly 4 per row */
.items-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Card info compact: name + type cùng hàng, giá cùng hàng */
.item-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
}

.item-name-label {
    font-size: 0.82rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.item-type-label {
    font-size: 0.72rem;
    margin: 0;
    opacity: 0.7;
    white-space: nowrap;
    flex-shrink: 0;
}

.item-price-display {
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.item-info .btn-buy {
    width: 100%;
    flex-basis: 100%;
    margin-top: 4px;
}

/* Fit 2 rows on screen without scrolling */
.header-inner {
    height: 50px;
    padding: 0 1.5rem;
}

.promo-banner {
    padding: 4px 0;
}

.main-container {
    padding-top: 0.5rem;
    gap: 0.5rem;
}

.items-grid {
    gap: 8px;
}

.item-image-wrapper {
    height: 280px;
}

.item-image {
    height: 100%;
    object-fit: cover;
}

.content-header {
    margin-bottom: 0.3rem;
    padding: 0.3rem 0;
}