:root {
    /* Gigaland Light Theme Colors preserved */
    --primary-color: #8364e2;
    --secondary-color: #d396ff;
    --text-dark: #333333;
    --text-gray: #7d7d7d;
    --bg-light: #ffffff;
    --bg-gray: #f8f8f8;

    /* Alvasya Specific Status Colors */
    --status-success: #198754;
    --status-warning: #fd7e14;
    --status-info: #0dcaf0;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(45deg, #8364e2, #d396ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    color: var(--primary-color);
}

/* --- Hero Section & Mesh Gradient --- */
.hero-section {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0) 0, hsla(253, 16%, 7%, 0) 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0) 0, hsla(225, 39%, 30%, 0) 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0) 0, hsla(339, 49%, 30%, 0) 50%),
        radial-gradient(at 0% 50%, hsla(190, 100%, 76%, 1) 0, hsla(190, 100%, 76%, 0) 50%),
        radial-gradient(at 100% 50%, hsla(260, 100%, 80%, 1) 0, hsla(260, 100%, 80%, 0) 50%),
        radial-gradient(at 50% 100%, hsla(330, 100%, 85%, 1) 0, hsla(330, 100%, 85%, 0) 50%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* --- Alvasya Search Bar --- */
.alvasya-search-wrapper {
    background: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(131, 100, 226, 0.15);
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-input-group {
    flex: 1;
    border-right: 1px solid #eee;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.search-input-group:last-of-type {
    border-right: none;
    max-width: 180px;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--text-dark);
    padding-left: 10px;
}

.search-input::placeholder {
    color: #aaa;
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* --- Swiper Hero Cards (Product Previews) --- */
.swiper-hero {
    padding: 50px 0;
    perspective: 1000px;
}

.swiper-slide {
    transition: all 0.4s ease;
    transform: scale(0.9);
    opacity: 0.8;
    border-radius: 15px;
    overflow: hidden;
}

.swiper-slide-active {
    transform: scale(1.05);
    opacity: 1;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* --- Inventory Card Design (Replaces NFT Card) --- */
.inventory-card {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    border: 1px solid #eee;
    position: relative;
    transition: 0.3s;
    height: 100%;
}

.inventory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(131, 100, 226, 0.3);
}

.inv-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 1/1;
    background: #f8f8f8;
}

.inv-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.inventory-card:hover .inv-img {
    transform: scale(1.05);
}

/* Badges */
.badge-eta {
    background: rgba(255, 255, 255, 0.9);
    color: var(--status-success);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-distance {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Card Content */
.inv-retailer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 600;
}

.retailer-dot {
    width: 8px;
    height: 8px;
    background: var(--status-success);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.2);
}

.retailer-dot.warning {
    background: var(--status-warning);
    box-shadow: 0 0 0 2px rgba(253, 126, 20, 0.2);
}

.inv-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inv-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.inv-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.inv-action {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* --- Retailer List (Replaces Top Sellers) --- */
.retailer-status-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.retailer-status-item:hover {
    border-color: #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.retailer-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
    padding: 5px;
    background: #f8f8f8;
    margin-right: 15px;
}

/* --- Icon Boxes (Logistics) --- */
.icon-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(131, 100, 226, 0.1);
}

.icon-box i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #8364e2, #d396ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    font-family: 'DM Sans', sans-serif;
}

/* --- Masonry (Categories) --- */
.masonry-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 20px;
}

.masonry-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item.big {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.masonry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.masonry-item:hover .masonry-img {
    transform: scale(1.05);
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

@media(max-width: 992px) {
    .masonry-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .masonry-item.big {
        grid-column: 1 / -1;
        height: 300px;
    }

    .masonry-item {
        height: 200px;
    }
}

/* --- Footer --- */
footer {
    background: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
}

.btn-black {
    background: #1a1a1a;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
}

.btn-black:hover {
    background: var(--primary-color);
    color: white;
}