/* Maava Storefront — premium visual layer
 * Visual-only: no product, Livewire or business logic changes.
 */

:root {
    --maava-ink: #172033;
    --maava-muted: #6b7280;
    --maava-line: rgba(15, 23, 42, .08);
    --maava-blue: #1683ff;
    --maava-blue-dark: #0969d5;
    --maava-surface: #fff;
    --maava-page: #f6f8fb;
    --maava-radius: 24px;
}

html { scroll-behavior: smooth; }
body {
    background: var(--maava-page);
    color: var(--maava-ink);
    -webkit-font-smoothing: antialiased;
}

/* Main storefront shell */
.home {
    background: linear-gradient(180deg, #f8fafc 0%, #f4f7fb 100%) !important;
}
.home > .container,
.home .container {
    max-width: 1320px;
}

.store-entrance { padding: 10px 0 24px; }
.store-hero { padding: 0 0 12px; }
.store-hero-container {
    max-width: 1320px;
    margin: 0 auto;
    gap: 18px;
}
.store-main-window,
.seller-pick {
    border: 1px solid var(--maava-line);
    border-radius: var(--maava-radius);
    overflow: hidden;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 55px rgba(15,23,42,.09), 0 3px 12px rgba(15,23,42,.035);
}
.store-window-top {
    min-height: 48px;
    padding: 10px 16px;
    background: rgba(255,255,255,.96);
}
.store-status-dot,
.seller-live span {
    box-shadow: 0 0 0 4px rgba(32,178,107,.10);
}
.store-hero-slide { overflow: hidden; }
.store-hero-image { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.store-hero-slide:hover .store-hero-image { transform: scale(1.025); }
.store-hero-shade {
    background: linear-gradient(90deg, rgba(6,14,28,.72) 0%, rgba(6,14,28,.24) 52%, rgba(6,14,28,.02) 100%),
                linear-gradient(0deg, rgba(6,14,28,.55), transparent 55%) !important;
}
.store-hero-content { max-width: 620px; }
.store-hero-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 800;
}
.store-hero-content h2 {
    margin: 10px 0 14px;
    font-weight: 900;
    letter-spacing: -.5px;
    text-shadow: 0 3px 18px rgba(0,0,0,.18);
}
.store-hero-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 13px;
    background: rgba(255,255,255,.96);
    color: #132033;
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease;
}
.store-hero-action:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.store-nav {
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    background: rgba(255,255,255,.16) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.store-hero-bottom {
    border-top: 1px solid var(--maava-line);
    background: rgba(255,255,255,.96);
}
.store-hero-bottom-item {
    min-height: 48px;
    color: #526074;
    font-size: 12px;
    font-weight: 750;
}
.store-hero-bottom-item i { color: var(--maava-blue); }

/* Seller pick */
.seller-pick { position: relative; }
.seller-pick-header { padding: 16px 17px 12px; border-bottom: 1px solid var(--maava-line); }
.seller-eyebrow { color: var(--maava-blue); font-size: 11px; font-weight: 900; }
.seller-intro strong { color: var(--maava-ink); font-size: 15px; }
.seller-avatar span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #edf6ff;
    color: var(--maava-blue);
}
.seller-product { padding: 14px; }
.seller-product-image {
    border: 1px solid var(--maava-line);
    border-radius: 19px;
    overflow: hidden;
    background: linear-gradient(145deg,#fff,#f7f9fc);
}
.seller-product-image img { transition: transform .45s ease; }
.seller-product:hover .seller-product-image img { transform: scale(1.035); }
.seller-discount { box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.seller-product-info { padding-top: 12px; }
.seller-recommendation { color: #1b9c60; font-size: 10px; font-weight: 800; }
.seller-product-title { color: #1f2937; font-weight: 850; }
.seller-price-main strong { color: #111827; font-weight: 950; }
.seller-buy-button {
    min-height: 44px;
    border-radius: 13px !important;
    background: linear-gradient(135deg, var(--maava-blue), var(--maava-blue-dark)) !important;
    box-shadow: 0 9px 22px rgba(22,131,255,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}
.seller-buy-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22,131,255,.28); }

/* Section hierarchy */
.smart-category-zone,
.smart-best-sellers,
.ai-new-arrivals,
.most-viewed-section,
.tech-popular,
.article-latest,
.partner,
.rs-banner-showcase,
.rs-offer-section {
    position: relative;
    margin-top: 22px;
    padding-top: 8px;
}
.smart-category-zone::before,
.smart-best-sellers::before,
.ai-new-arrivals::before,
.most-viewed-section::before,
.tech-popular::before,
.article-latest::before,
.partner::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 0 11px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--maava-blue), #79c3ff);
}

.smart-category-card,
.smart-product-card,
.ai-product-card,
.mv-card,
.tech-product-card {
    border: 1px solid var(--maava-line) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 10px 30px rgba(15,23,42,.055) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}
.smart-category-card:hover,
.smart-product-card:hover,
.ai-product-card:hover,
.mv-card:hover,
.tech-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22,131,255,.18) !important;
    box-shadow: 0 18px 38px rgba(15,23,42,.10) !important;
}
.smart-category-card img,
.smart-product-card img,
.ai-product-card img,
.mv-card img,
.tech-product-card img { transition: transform .35s ease; }
.smart-category-card:hover img,
.smart-product-card:hover img,
.ai-product-card:hover img,
.mv-card:hover img,
.tech-product-card:hover img { transform: scale(1.035); }

/* Generic titles/buttons that appear in storefront sections */
.smart-section-title,
.section-title,
.rs-title,
.ai-section-title {
    color: var(--maava-ink);
    font-weight: 950;
    letter-spacing: -.35px;
}

/* Desktop */
@media (min-width: 768px) {
    .store-hero-container { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(300px, .72fr); }
    .store-main-window { min-width: 0; }
    .seller-pick { min-width: 0; }
}

/* Mobile: app-like storefront */
@media (max-width: 767.98px) {
    body { overflow-x: hidden; }
    .home { padding-top: 0 !important; }
    .store-entrance { padding: 4px 0 16px; }
    .store-hero-container { width: calc(100% - 12px); }
    .store-main-window,
    .seller-pick { border-radius: 20px; }
    .store-window-top { min-height: 42px; padding: 7px 12px; }
    .storeHeroSwiper,
    .store-hero-slide { border-radius: 0; }
    .store-hero-bottom-item { min-height: 42px; font-size: 10px; }
    .store-hero-bottom-item:nth-child(3) { display: none; }
    .seller-pick { margin-top: 0; }
    .seller-pick-header { padding: 12px; }
    .seller-product { padding: 10px; }
    .seller-product-image { border-radius: 16px; }
    .seller-buy-button { min-height: 42px; }
    .smart-category-zone,
    .smart-best-sellers,
    .ai-new-arrivals,
    .most-viewed-section,
    .tech-popular,
    .article-latest,
    .partner,
    .rs-banner-showcase,
    .rs-offer-section { margin-top: 14px; }
    .smart-category-card,
    .smart-product-card,
    .ai-product-card,
    .mv-card,
    .tech-product-card { border-radius: 17px !important; }
    .smart-category-card:hover,
    .smart-product-card:hover,
    .ai-product-card:hover,
    .mv-card:hover,
    .tech-product-card:hover { transform: none; }
}

@media (max-width: 390px) {
    .store-hero-container { width: calc(100% - 10px); }
    .store-window-top { padding-inline: 10px; }
    .store-hero-bottom-item { font-size: 9px; }
}
