.marketplaceWrapper {
    background-color: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, sans-serif;
    padding-bottom: 60px;
}

/* Store Header */
.storeHeader {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.headerInner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logoArea h1 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    color: #0f172a;
}

.logoArea span {
    font-size: 0.65rem;
    color: #b45309;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
}

.searchBarWrapper {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.topSearch {
    width: 100%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 12px 45px 12px 20px;
    color: #0f172a;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.topSearch:focus {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.05);
}

.searchIcon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.cartTrigger {
    position: relative;
    font-size: 1.4rem;
    color: #475569;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cartTrigger:hover {
    color: #0f172a;
}

.cartBadge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category Strip */
.categoryStrip {
    background: #ffffff;
    padding: 10px 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    overflow-x: auto;
    border-bottom: 1px solid #e2e8f0;
}

.stripItem {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.stripItem:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.stripActive {
    color: #ffffff;
    background: #0f172a;
}

/* Hero/Banner */
.heroBanner {
    position: relative;
    background-size: cover;
    transition: background-image 1s ease-in-out;
    background-position: center;
    padding: 80px 30px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.bannerOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 1;
}

.bannerContent {
    position: relative;
    z-index: 2;
}

.bannerContent h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.bannerContent p {
    color: #e2e8f0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.heroSearchBox {
    max-width: 500px;
    margin: 25px auto 0 auto;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    border-radius: 50px;
}

.heroSearchInput {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    outline: none;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.heroSearchInput:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.05);
}

.heroSearchIcon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.horizontalCategories {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.horizontalCategories::-webkit-scrollbar {
    display: none;
}

.categoryBtn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.categoryBtn:hover {
    background: #d4af37;
    color: #000000;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.categoryBtnActive {
    background: #d4af37;
    color: #000000;
    font-weight: 800;
    border-color: #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.categoryBtnActive:hover {
    background: #d4af37;
    color: #000000;
}

.catBtnIcon {
    font-size: 1rem;
}

/* Main Content */
.productContainer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

.mainContentWrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.leftContentArea {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.productCard {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.productCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
}

.imageWrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f8fafc;
}

.categoryBadge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.productCard:hover .imageWrapper img {
    transform: scale(1.03);
}

.cardBody {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.productTitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productDesc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0 0 12px 0;
    flex: 1;
    text-align: center;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
}

.star {
    color: #f59e0b;
    font-size: 0.75rem;
}

.priceRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
}

.priceInfo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.soldCount {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

.cartBtn {
    background: transparent;
    border: 1.5px solid #0f172a;
    color: #0f172a;
    width: 48px;
    height: 32px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cartBtn:hover {
    background: #000000;
    color: #d4af37;
    border-color: #000000;
}

.modernAddBtn:hover {
    background: #d4af37;
    border-color: #d4af37;
    color: #000000;
    transform: scale(1.02);
}

/* Category Sidebar (Right Column) */
.sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.videoCard {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.videoPlayerWrapper {
    width: 100%;
    overflow: hidden;
    background: #000;
    aspect-ratio: 4/5;
    position: relative;
}

.sidebarVideo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.playlistWrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 15px;
}

.playlistTitle {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    margin: 0 0 5px 0;
}

.videoPlaylistItem {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 12px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.videoPlaylistItem:hover {
    background: rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.videoPlaylistItemActive {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(212, 175, 55, 0.15));
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.vidThumbWrapper {
    position: relative;
    width: 70px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.vidThumbImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vidPlayOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.videoPlaylistItem:hover .vidPlayOverlay,
.videoPlaylistItemActive .vidPlayOverlay {
    opacity: 1;
}

.vidInfo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vidTitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.vidLength {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.sidebarList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebarItem {
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
}

.sidebarItem:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateX(4px);
}

.sidebarActive {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.sidebarActive:hover {
    background: #ffffff;
    color: #0f172a;
    transform: none;
}

.partnerSection {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.partnerTitle {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 12px 0;
}

.partnerLogoImg {
    max-width: 160px;
    width: 75%;
    height: auto;
    opacity: 1;
    transition: transform 0.3s ease;
}

.partnerLogoImg:hover {
    transform: scale(1.05);
}

.partnerFlyPromo {
    margin: 15px 15px 20px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partnerFlyPromo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.flyPromoThumbWrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #000;
}

.flyPromoThumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partnerFlyPromo:hover .flyPromoThumb {
    transform: scale(1.05);
}

.flyPromoBadge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #d4af37;
    color: #000000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.flyPromoContent {
    padding: 12px 15px;
}

.flyPromoTitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.flyPromoDesc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.sidebarSubItem {
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebarSubItem::before {
    content: '•';
    color: #475569;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.sidebarSubItem:hover {
    color: #0f172a;
    transform: translateX(4px);
}

.sidebarSubItem:hover::before {
    color: #0f172a;
}

/* Cart Modal */
.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modalContent {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.modalHeader {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modalHeader h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.closeBtn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
}

.cartItems {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    color: #0f172a;
}

.emptyCart {
    color: #64748b;
    text-align: center;
    padding: 40px 0;
}

.modalFooter {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.totalRow {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #0f172a;
}

.checkoutBtn {
    width: 100%;
    background: #0f172a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.checkoutBtn:hover {
    background: #1e293b;
}

@media (max-width: 1024px) {
    .mainContentWrapper {
        flex-direction: column-reverse;
    }
    .sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .headerInner {
        flex-direction: column;
        gap: 15px;
    }
    .categoryStrip {
        justify-content: flex-start;
    }
}


/* Marketplace Mini Grid Refined Styles */
.marketplace-mini-grid .categoryBadge {
    display: none !important;
}

.marketplace-mini-grid .imageWrapper {
    height: 120px !important;
    background: transparent !important;
}

.marketplace-mini-grid .imageWrapper img {
    object-fit: contain !important;
}

.marketplace-mini-grid .productCard {
    padding: 0 !important;
    border: none !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.marketplace-mini-grid .productCard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #166534, #a17a52);
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.marketplace-mini-grid .productCard:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 32px rgba(22, 101, 52, 0.12) !important;
}

.marketplace-mini-grid .productCard:hover::before {
    opacity: 1;
}

.marketplace-mini-grid .cardBody {
    padding: 10px 12px 14px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

.marketplace-mini-grid .productTitle {
    font-size: 0.85rem !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    color: #0f172a !important;
}

.marketplace-mini-grid .priceRow {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding-top: 0 !important;
    margin-top: 4px !important;
}

.marketplace-mini-grid .priceInfo {
    align-items: center !important;
}

.marketplace-mini-grid .price {
    font-size: 1.1rem !important;
    color: #0f172a !important;
    margin-bottom: 0 !important;
}

.marketplace-mini-grid .comprarBtn {
    background: transparent !important;
    color: #166534 !important;
    border: 1px solid rgba(180, 83, 9, 0.35) !important;
    padding: 6px 14px !important;
    width: 100% !important;
    border-radius: 30px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.marketplace-mini-grid .comprarBtn:hover {
    background: linear-gradient(135deg, #166534, #a17a52) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25) !important;
    transform: scale(1.02) !important;
}
