/*
================================================================================
  Yalla Souq — Prelaunch style + brand gold (#FFB800)
  Applied on html.ys-reference-shell (storefront). Catalog surfaces stay solid/light.
================================================================================
*/

html.ys-reference-shell {
    --ys-bg-deep: #070b18;
    --ys-bg-mid: #0c1630;
    --ys-bg-soft: #101e3d;
    --ys-ink: #0f172a;
    --ys-ink-on-dark: #e8eefc;
    --ys-amber: #FFB800;
    --ys-gold: #FFB800;
    --ys-gold-bright: #FFD05A;
    --ys-gold-soft: rgba(255, 184, 0, 0.15);
    --ys-paper: #f4f7fb;
    --ys-line: rgba(255, 255, 255, 0.08);
    --ys-line-light: #e2e8f0;
    --ys-muted: #64748b;
    --ys-dark: #070b18;
    --ys-font-serif: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
    --ys-font-sans: 'Inter', 'Public Sans', system-ui, sans-serif;
    --ys-font-arabic: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
    --ys-radius: 16px;
    --ys-radius-lg: 20px;
    --ys-glow-gold: 0 0 40px rgba(255, 184, 0, 0.22);
}

html.ys-reference-shell,
html.ys-reference-shell body {
    max-width: 100%;
    overflow-x: hidden;
}

html.ys-reference-shell body {
    font-family: var(--ys-font-sans) !important;
    color: var(--ys-ink) !important;
    background-color: var(--ys-bg-deep) !important;
    background-image:
        radial-gradient(ellipse 75% 55% at 72% 12%, rgba(255, 184, 0, 0.16) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 14% 78%, rgba(255, 184, 0, 0.06) 0%, transparent 52%),
        linear-gradient(165deg, #070b18 0%, #0a1228 40%, #0d1835 65%, #091228 100%) !important;
    background-attachment: fixed !important;
}

html[dir="rtl"].ys-reference-shell body,
html.ys-reference-shell body[dir="rtl"] {
    font-family: var(--ys-font-arabic) !important;
}

/* Hide legacy AIZ chrome — reference header/footer take over */
html.ys-reference-shell .top-navbar,
html.ys-reference-shell header.middle-background-color-visibility,
html.ys-reference-shell footer.ys-main-footer,
html.ys-reference-shell .aiz-top-menu-sidebar {
    display: none !important;
}

html.ys-reference-shell .aiz-main-wrapper {
    background: transparent !important;
}

/* Homepage sections only — platform pages use paper panels (ys-design-tokens / enforce) */
html.ys-reference-shell .ys-reference-home > section,
html.ys-reference-shell .ys-reference-home section.ys-section,
html.ys-reference-shell .ys-reference-home section.ys-ref-section,
html.ys-reference-shell .ys-reference-home section.ys-ref-section-tight {
    background: transparent !important;
}

/* ——— Top bar / main chrome (Prelaunch glass + gold) ——— */
html.ys-reference-shell .ys-ref-top {
    background: rgba(7, 11, 24, 0.92) !important;
    color: #94a3b8 !important;
    border-bottom: 1px solid rgba(255, 184, 0, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

html.ys-reference-shell .ys-ref-top a {
    color: #cbd5e1 !important;
}

html.ys-reference-shell .ys-ref-top a[href*="admin"] {
    color: var(--ys-gold) !important;
}

html.ys-reference-shell .ys-ref-main {
    background: rgba(12, 22, 48, 0.72) !important;
    border-bottom: 1px solid rgba(255, 184, 0, 0.14) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

html.ys-reference-shell .ys-ref-brand {
    color: #fff !important;
}

html.ys-reference-shell .ys-ref-brand img {
    background: #0b0f19 !important;
    border: 1px solid rgba(255, 184, 0, 0.45) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 24px rgba(255, 184, 0, 0.25);
}

html.ys-reference-shell .ys-ref-search input {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
    border-radius: 14px !important;
}

html.ys-reference-shell .ys-ref-search input::placeholder {
    color: #64748b;
}

html.ys-reference-shell .ys-ref-search button {
    background: linear-gradient(135deg, var(--ys-gold-bright), var(--ys-gold)) !important;
    color: #0f172a !important;
    border-radius: 12px !important;
}

html.ys-reference-shell .ys-ref-actions a {
    color: #e2e8f0 !important;
}

html.ys-reference-shell .ys-ref-actions .ys-ref-cart-link {
    background: linear-gradient(135deg, var(--ys-gold-bright), var(--ys-gold)) !important;
    color: #0f172a !important;
}

html.ys-reference-shell .ys-ref-actions .ys-ref-cart-link b {
    background: #0f172a !important;
    color: var(--ys-gold) !important;
}

html.ys-reference-shell .ys-ref-nav {
    background: rgba(10, 18, 40, 0.85) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html.ys-reference-shell .ys-ref-nav a {
    color: #94a3b8 !important;
}

html.ys-reference-shell .ys-ref-nav a:hover,
html.ys-reference-shell .ys-ref-nav .ys-ref-all {
    color: #fff !important;
}

html.ys-reference-shell .ys-ref-nav .ys-ref-digital-link {
    background: var(--ys-gold-soft) !important;
    color: var(--ys-gold) !important;
    border: 1px solid rgba(255, 184, 0, 0.35);
}

/* ——— Hero (Prelaunch composition: brand + one headline + CTA) ——— */
html.ys-reference-shell .ys-ref-hero {
    background:
        radial-gradient(ellipse 70% 60% at 70% 30%, rgba(255, 184, 0, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 184, 0, 0.06) 0%, transparent 50%),
        linear-gradient(165deg, #070b18 0%, #0a1228 45%, #0d1835 100%) !important;
    color: #fff !important;
    text-align: center;
    padding: 56px 0 48px !important;
}

html.ys-reference-shell .ys-ref-kicker {
    background: var(--ys-gold-soft) !important;
    color: var(--ys-gold) !important;
    border: 1px solid rgba(255, 184, 0, 0.35);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

html.ys-reference-shell .ys-ref-hero h1,
html.ys-reference-shell .ys-ref-hero h1 span {
    color: #fff !important;
}

html.ys-reference-shell .ys-ref-hero h1 span::after {
    border-top-color: var(--ys-gold) !important;
}

html.ys-reference-shell .ys-ref-hero-copy {
    color: #94a3b8 !important;
}

html.ys-reference-shell .ys-ref-button-dark {
    background: linear-gradient(135deg, var(--ys-gold-bright), var(--ys-gold)) !important;
    border-color: transparent !important;
    color: #0f172a !important;
    border-radius: 14px !important;
    box-shadow: var(--ys-glow-gold);
}

html.ys-reference-shell .ys-ref-button-light {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #e2e8f0 !important;
    border-radius: 14px !important;
}

html.ys-reference-shell .ys-ref-trust {
    color: #64748b !important;
}

html.ys-reference-shell .ys-ref-trust i {
    color: var(--ys-gold) !important;
}

/* ——— Content surfaces: solid light for catalog clarity ——— */
html.ys-reference-shell .ys-reference-home > section:not(.ys-ref-hero),
html.ys-reference-shell .ys-ref-page-wrap,
html.ys-reference-shell .ys-ref-category-block,
html.ys-reference-shell .ys-ref-deal,
html.ys-reference-shell .ys-ref-footer {
    --ink: var(--ys-ink);
    --gold: var(--ys-gold);
    --amber: var(--ys-gold);
    --paper: #ffffff;
    --muted: var(--ys-muted);
    --line: var(--ys-line-light);
}

html.ys-reference-shell .ys-reference-home > section:not(.ys-ref-hero) {
    background: var(--ys-paper) !important;
    color: var(--ys-ink) !important;
}

html.ys-reference-shell .ys-ref-page-wrap {
    background: var(--ys-paper) !important;
    color: var(--ys-ink) !important;
    border-radius: var(--ys-radius-lg);
    margin: 16px auto 32px;
    padding: 8px 0 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html.ys-reference-shell .ys-ref-heading-row h2,
html.ys-reference-shell .ys-ref-serif {
    color: var(--ys-ink) !important;
    font-family: var(--ys-font-arabic) !important;
}

html.ys-reference-shell .ys-ref-product-card,
html.ys-reference-shell .ys-ref-category-card {
    background: #fff !important;
    border: 1px solid var(--ys-line-light) !important;
    border-radius: var(--ys-radius) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

html.ys-reference-shell .ys-ref-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 184, 0, 0.45) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
}

html.ys-reference-shell .ys-ref-add,
html.ys-reference-shell .btn-primary,
html.ys-reference-shell .ys-product-cta,
html.ys-reference-shell .add-to-cart {
    background: linear-gradient(135deg, var(--ys-gold-bright), var(--ys-gold)) !important;
    border: none !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
}

html.ys-reference-shell .ys-price-current,
html.ys-reference-shell .ys-ref-product-meta .price,
html.ys-reference-shell .ys-ref-product-body .price {
    color: var(--ys-gold) !important;
}

/* Footer dark crystal */
html.ys-reference-shell .ys-ref-footer {
    background: rgba(7, 11, 24, 0.95) !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 184, 0, 0.15);
}

html.ys-reference-shell .ys-ref-footer h4,
html.ys-reference-shell .ys-ref-footer strong {
    color: #fff !important;
}

html.ys-reference-shell .ys-ref-footer a {
    color: #94a3b8 !important;
}

html.ys-reference-shell .ys-ref-footer a:hover {
    color: var(--ys-gold) !important;
}

/* Mobile bottom nav — dark + gold active */
html.ys-reference-shell .aiz-mobile-bottom-nav {
    background: rgba(7, 11, 24, 0.96) !important;
    border-color: rgba(255, 184, 0, 0.2) !important;
    backdrop-filter: blur(16px);
}

/* Account / listing cards */
html.ys-reference-shell .aiz-user-panel,
html.ys-reference-shell .card {
    border-radius: var(--ys-radius) !important;
}

html.ys-reference-shell .text-primary,
html.ys-reference-shell a.text-primary {
    color: var(--ys-gold) !important;
}

/* Listing / product / account — light surface over dark atmosphere */
html.ys-reference-shell .ys-page-category,
html.ys-reference-shell #shop-sidebar,
html.ys-reference-shell .aiz-user-sidenav,
html.ys-reference-shell .profile,
html.ys-reference-shell .dashboard {
    color: var(--ys-ink);
}

html.ys-reference-shell .breadcrumb {
    background: transparent !important;
}

html.ys-reference-shell .breadcrumb-item a {
    color: var(--ys-gold) !important;
}

/* Mobile: keep search bar usable when actions/nav collapse */
@media (max-width: 991px) {
    html.ys-reference-shell .ys-ref-main-row {
        grid-template-columns: 64px 1fr !important;
        gap: 12px !important;
        min-height: 64px !important;
    }

    html.ys-reference-shell .ys-ref-brand img {
        width: 44px !important;
        height: 44px !important;
    }
}

/* Motion — intentional, limited */
@media (prefers-reduced-motion: no-preference) {
    html.ys-reference-shell .ys-ref-product-card,
    html.ys-reference-shell .ys-ref-button-dark,
    html.ys-reference-shell .ys-ref-brand img,
    html.ys-reference-shell .ys-rail-btn {
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.2s ease, color 0.2s ease;
    }
}

/* =========================================================================
   Mockup marketplace shell — buyer rail + glass header (matches gold mockup)
   ========================================================================= */

html.ys-reference-shell .ys-reference-chrome,
html.ys-reference-shell .ys-ref-top,
html.ys-reference-shell .ys-ref-main,
html.ys-reference-shell .ys-ref-nav {
    display: none !important;
}

html.ys-reference-shell .ys-buyer-rail {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 1050;
    width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    background: #0b0f19;
    border-inline-end: 1px solid rgba(51, 65, 85, 0.55);
}

html.ys-reference-shell .ys-buyer-rail__brand {
    display: flex;
    width: 44px;
    height: 44px;
    margin-bottom: 28px;
    border-radius: 999px;
    overflow: hidden;
}

html.ys-reference-shell .ys-buyer-rail__brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

html.ys-reference-shell .ys-buyer-rail__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

html.ys-reference-shell .ys-buyer-rail__foot {
    margin-top: auto;
}

html.ys-reference-shell .ys-rail-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 1.25rem;
}

html.ys-reference-shell .ys-rail-btn:hover,
html.ys-reference-shell .ys-rail-btn.is-active {
    color: #FFB800 !important;
    background: rgba(255, 184, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.18);
}

html.ys-reference-shell .ys-rail-btn[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    inset-inline-start: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 0.5rem;
    background: #141a29;
    border: 1px solid rgba(255, 184, 0, 0.25);
    color: #f8fafc;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    z-index: 60;
}

html.ys-reference-shell .ys-rail-btn:hover::after {
    opacity: 1;
}

html.ys-reference-shell .ys-mockup-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    margin-inline-start: 72px;
    padding: 14px 24px;
    background: rgba(12, 22, 48, 0.52);
    border-bottom: 1px solid rgba(51, 65, 85, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html.ys-reference-shell .ys-mockup-header.is-fixed {
    position: fixed;
    inset-inline-start: 72px;
    inset-inline-end: 0;
    top: 0;
    width: auto;
    margin-inline-start: 0;
}

html.ys-reference-shell .ys-mockup-header-spacer {
    height: 68px;
    margin-inline-start: 72px;
}

html.ys-reference-shell .ys-mockup-header__inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

html.ys-reference-shell .ys-mockup-search {
    position: relative;
    flex: 1;
    max-width: 560px;
}

html.ys-reference-shell .ys-mockup-search i {
    position: absolute;
    inset-inline-start: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
}

html.ys-reference-shell .ys-mockup-search input {
    width: 100%;
    border-radius: 999px !important;
    border: 1px solid rgba(51, 65, 85, 0.7) !important;
    background: rgba(15, 23, 42, 0.75) !important;
    color: #fff !important;
    padding: 12px 18px 12px 42px !important;
    font-size: 0.9rem !important;
}

html[dir="rtl"].ys-reference-shell .ys-mockup-search input {
    padding: 12px 42px 12px 18px !important;
}

html.ys-reference-shell .ys-mockup-search input::placeholder {
    color: #64748b;
}

html.ys-reference-shell .ys-mockup-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

html.ys-reference-shell .ys-mockup-pills {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(51, 65, 85, 0.65);
    background: rgba(12, 22, 48, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html.ys-reference-shell .ys-pill-btn {
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 7px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

html.ys-reference-shell .ys-pill-btn:hover {
    color: #e2e8f0;
}

html.ys-reference-shell .ys-pill-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.35);
}

html.ys-reference-shell .ys-pill-btn--currency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 72px;
    justify-content: center;
    color: #cbd5e1;
}

html.ys-reference-shell .ys-pill-btn--currency.is-active,
html.ys-reference-shell .ys-pill-btn--currency[aria-expanded="true"] {
    color: #fff;
    background: rgba(255, 184, 0, 0.16);
    box-shadow: 0 0 0 1px rgba(255, 184, 0, 0.35);
}

html.ys-reference-shell .ys-pill-btn--currency i {
    font-size: 1rem;
    color: #ffb800;
}

html.ys-reference-shell .ys-mockup-pills--currency.dropdown {
    position: relative;
    flex-shrink: 0;
}

html.ys-reference-shell .ys-mockup-currency.dropdown {
    position: relative;
    flex-shrink: 0;
}

html.ys-reference-shell .ys-mockup-currency .dropdown-menu,
html.ys-reference-shell .ys-mockup-pills--currency .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    inset-inline-end: 0 !important;
    inset-inline-start: auto !important;
    left: auto !important;
    right: 0 !important;
    float: none !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 1060;
}

html.ys-reference-shell .ys-mockup-dropdown {
    min-width: 180px;
    margin-top: 8px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(51, 65, 85, 0.65);
    background: rgba(12, 22, 48, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

html.ys-reference-shell .ys-mockup-dropdown .dropdown-item {
    border-radius: 10px;
    color: #e2e8f0 !important;
    background-color: transparent !important;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 12px;
}

html.ys-reference-shell .ys-mockup-dropdown .dropdown-item:hover,
html.ys-reference-shell .ys-mockup-dropdown .dropdown-item.active,
html.ys-reference-shell .ys-mockup-dropdown .dropdown-item:active {
    background: rgba(255, 184, 0, 0.14) !important;
    color: #ffb800 !important;
}

html.ys-reference-shell .ys-mockup-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(51, 65, 85, 0.7);
    background: rgba(15, 23, 42, 0.75);
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 1.15rem;
}

html.ys-reference-shell .ys-mockup-icon:hover {
    color: #fff !important;
    border-color: rgba(255, 184, 0, 0.4);
}

html.ys-reference-shell .ys-mockup-cart .cart-count {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #FFB800;
    color: #0f172a;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html.ys-reference-shell .ys-mockup-divider {
    width: 1px;
    height: 28px;
    background: rgba(51, 65, 85, 0.7);
    margin: 0 4px;
}

html.ys-reference-shell .ys-mockup-user {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: inherit !important;
}

html.ys-reference-shell .ys-mockup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #0f172a;
    background: linear-gradient(135deg, #FFD05A, #FFB800);
    box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.3);
    overflow: hidden;
    flex-shrink: 0;
}

html.ys-reference-shell .ys-mockup-avatar.has-photo {
    background: #0b0f19;
    padding: 0;
}

html.ys-reference-shell .ys-mockup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.ys-reference-shell .ys-mockup-user-meta {
    display: none;
    flex-direction: column;
    line-height: 1.2;
}

html.ys-reference-shell .ys-mockup-user-meta strong {
    color: #fff;
    font-size: 0.85rem;
}

html.ys-reference-shell .ys-mockup-user-meta small {
    color: #64748b;
    font-size: 0.7rem;
}

html.ys-reference-shell .aiz-main-wrapper > *:not(.ys-buyer-rail):not(.ys-mockup-header) {
    /* content offset for rail */
}

html.ys-reference-shell .aiz-main-wrapper {
    padding-inline-start: 72px !important;
}

html.ys-reference-shell .ys-mockup-header {
    margin-inline-start: -72px;
    padding-inline-start: calc(72px + 24px);
    width: calc(100% + 72px);
}

/* Homepage sections sit on dark atmosphere; product blocks as dark cards */
html.ys-reference-shell .ys-reference-home > section:not(.ys-ref-hero) {
    background: transparent !important;
    color: #e2e8f0 !important;
}

html.ys-reference-shell .ys-ref-heading-row h2,
html.ys-reference-shell .ys-ref-serif {
    color: #fff !important;
}

html.ys-reference-shell .ys-ref-product-card,
html.ys-reference-shell .ys-ref-category-card {
    background: #141a29 !important;
    border: 1px solid rgba(51, 65, 85, 0.6) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
}

html.ys-reference-shell .ys-ref-product-card .ys-ref-product-body,
html.ys-reference-shell .ys-ref-product-card h3,
html.ys-reference-shell .ys-ref-category-card h3,
html.ys-reference-shell .ys-ref-category-card p {
    color: #e2e8f0 !important;
}

@media (min-width: 992px) {
    html.ys-reference-shell .ys-mockup-user-meta {
        display: flex;
    }
}

@media (max-width: 767px) {
    html.ys-reference-shell .ys-buyer-rail {
        display: none;
    }

    html.ys-reference-shell .aiz-main-wrapper {
        padding-inline-start: 0 !important;
    }

    html.ys-reference-shell .ys-mockup-header,
    html.ys-reference-shell .ys-mockup-header.is-fixed {
        margin-inline-start: 0;
        inset-inline-start: 0;
        padding-inline: 16px;
        width: 100%;
    }

    html.ys-reference-shell .ys-mockup-header-spacer {
        margin-inline-start: 0;
    }

    html.ys-reference-shell .ys-mockup-user-meta,
    html.ys-reference-shell .ys-mockup-divider {
        display: none !important;
    }

    html.ys-reference-shell .ys-mockup-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }

    html.ys-reference-shell .ys-mockup-pills {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

/* Product card density on mesh (home) */
html.ys-reference-shell .ys-reference-home .ys-ref-product-discount {
    background: var(--ys-gold, #ffb800) !important;
    color: #0f172a !important;
}

html.ys-reference-shell .ys-reference-home .ys-ref-product-avail.is-in {
    color: #34d399 !important;
}

html.ys-reference-shell .ys-reference-home .ys-ref-product-avail.is-out {
    color: #fca5a5 !important;
}

html.ys-reference-shell .ys-reference-home .ys-ref-product-was {
    color: #94a3b8 !important;
}

html.ys-reference-shell .ys-reference-home .ys-ref-product-meta strong {
    color: #f8fafc !important;
}

html.ys-reference-shell .ys-reference-home .ys-ref-stars {
    color: #fbbf24 !important;
}
