/*
  Yalla Souq — platform-wide page surfaces (cart, checkout, account, auth, seller, admin)
  Requires html.ys-reference-shell from prelaunch gold theme.
*/

/* ——— Generic page sections (all storefront pages) ——— */
html.ys-reference-shell .aiz-main-wrapper > section,
html.ys-reference-shell .aiz-main-wrapper > .ys-page-product,
html.ys-reference-shell .aiz-main-wrapper > section.py-5,
html.ys-reference-shell .aiz-main-wrapper > section.pt-4,
html.ys-reference-shell .aiz-main-wrapper > section.pt-5,
html.ys-reference-shell .aiz-main-wrapper > section.mb-4,
html.ys-reference-shell .aiz-main-wrapper > section.mb-5 {
    background: var(--ys-paper, #f4f7fb) !important;
    color: var(--ys-ink-on-paper, #0f172a) !important;
    border-radius: var(--ys-radius-lg, 20px);
    margin: 16px auto 32px !important;
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
    width: min(var(--ys-panel-max, 1280px), calc(100% - var(--ys-panel-gutter, 24px)));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

html.ys-reference-shell .aiz-main-wrapper > .ys-page-product {
    background: var(--ys-paper-warm, #fffbf5) !important;
}

/* ——— Catalog / category listing shell (matches cart panel) ——— */
html.ys-reference-shell .ys-page-category {
    padding: 28px 0 54px !important;
    margin: 16px auto 32px !important;
    width: min(var(--ys-panel-max, 1280px), calc(100% - var(--ys-panel-gutter, 24px))) !important;
    background: var(--ys-paper, #f4f7fb) !important;
    color: var(--ys-ink-on-paper, #0f172a) !important;
    border-radius: var(--ys-radius-lg, 20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
}

html.ys-reference-shell .ys-page-category .ys-page-hero {
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid var(--ys-line-light, #e2e8f0);
    border-radius: var(--ys-radius, 16px);
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

html.ys-reference-shell .ys-page-category .ys-page-title {
    margin: 0;
    color: var(--ys-ink-on-paper, #0f172a) !important;
    font-size: clamp(28px, 4vw, 48px) !important;
    font-weight: 900 !important;
    line-height: 1.1;
    font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif !important;
}

html.ys-reference-shell .ys-page-category .ys-page-subtitle {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--ys-muted-on-paper, #64748b) !important;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
}

html.ys-reference-shell .ys-page-category .breadcrumb a {
    color: var(--ys-muted-on-paper, #64748b) !important;
}

html.ys-reference-shell .ys-page-category .breadcrumb-item.active,
html.ys-reference-shell .ys-page-category .breadcrumb-item.fw-600,
html.ys-reference-shell .ys-page-category .breadcrumb-item.text-dark {
    color: var(--ys-ink-on-paper, #0f172a) !important;
}

html.ys-reference-shell .ys-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

html.ys-reference-shell .ys-category-card {
    position: relative;
    display: flex;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--ys-line-light, #e2e8f0);
    border-radius: var(--ys-radius, 16px);
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    isolation: isolate;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

html.ys-reference-shell .ys-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 11, 24, 0.06) 0%,
        rgba(7, 11, 24, 0.52) 42%,
        rgba(7, 11, 24, 0.88) 72%,
        rgba(7, 11, 24, 0.97) 100%
    );
    z-index: 1;
}

html.ys-reference-shell .ys-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.35s ease;
}

html.ys-reference-shell .ys-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
}

html.ys-reference-shell .ys-category-card:hover img {
    transform: scale(1.06);
}

html.ys-reference-shell .ys-category-card-body {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    width: 100%;
    padding: 22px;
}

html.ys-reference-shell .aiz-main-wrapper .ys-category-card h3 {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

html.ys-reference-shell .aiz-main-wrapper .ys-category-card p {
    min-height: 44px;
    margin: 10px 0 16px;
    color: rgba(248, 250, 252, 0.94) !important;
    font-size: 0.92rem;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

html.ys-reference-shell .aiz-main-wrapper > section a.ys-category-card,
html.ys-reference-shell .aiz-main-wrapper > section a.ys-category-card:hover,
html.ys-reference-shell .aiz-main-wrapper > section a.ys-category-card:focus {
    color: #f8fafc !important;
}

html.ys-reference-shell .ys-category-card .ys-category-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ys-gold, #ffb800) !important;
    font-weight: 800;
    font-size: 0.88rem;
}

@media (max-width: 991.98px) {
    html.ys-reference-shell .ys-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.ys-reference-shell .ys-page-category .ys-page-hero {
        padding: 20px 16px;
    }
}

@media (max-width: 575.98px) {
    html.ys-reference-shell .ys-category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    html.ys-reference-shell .ys-category-card {
        min-height: 220px;
    }

    html.ys-reference-shell .ys-category-card-body {
        padding: 18px;
    }
}

html.ys-reference-shell .ys-platform-panel,
html.ys-reference-shell .ys-cart-page,
html.ys-reference-shell .ys-ref-page-wrap {
    background: var(--ys-paper, #f4f7fb) !important;
    color: var(--ys-ink, #0f172a) !important;
}

/* ——— Cards, panels, tables ——— */
html.ys-reference-shell .card,
html.ys-reference-shell .aiz-user-panel,
html.ys-reference-shell .aiz-user-sidenav,
html.ys-reference-shell .bg-white.rounded,
html.ys-reference-shell .dashboard-box {
    background: #fff !important;
    border: 1px solid var(--ys-line-light, #e2e8f0) !important;
    border-radius: var(--ys-radius, 16px) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
    color: var(--ys-ink, #0f172a) !important;
}

html.ys-reference-shell .card-header {
    background: rgba(244, 247, 251, 0.9) !important;
    border-bottom: 1px solid var(--ys-line-light, #e2e8f0) !important;
    color: var(--ys-ink, #0f172a) !important;
}

html.ys-reference-shell .table,
html.ys-reference-shell .aiz-table {
    color: var(--ys-ink, #0f172a) !important;
}

html.ys-reference-shell .table thead th,
html.ys-reference-shell .aiz-table thead th {
    background: rgba(255, 184, 0, 0.08) !important;
    border-color: var(--ys-line-light, #e2e8f0) !important;
    color: var(--ys-ink, #0f172a) !important;
    font-weight: 700;
}

html.ys-reference-shell .table td,
html.ys-reference-shell .table th,
html.ys-reference-shell .aiz-table td,
html.ys-reference-shell .aiz-table th {
    border-color: var(--ys-line-light, #e2e8f0) !important;
}

/* ——— Forms ——— */
html.ys-reference-shell .form-control,
html.ys-reference-shell .aiz-selectpicker,
html.ys-reference-shell select.form-control,
html.ys-reference-shell textarea.form-control {
    border: 1px solid var(--ys-line-light, #e2e8f0) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--ys-ink, #0f172a) !important;
}

html.ys-reference-shell .form-control:focus {
    border-color: rgba(255, 184, 0, 0.65) !important;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.18) !important;
}

html.ys-reference-shell label,
html.ys-reference-shell .form-group label,
html.ys-reference-shell .control-label {
    color: var(--ys-ink, #0f172a) !important;
    font-weight: 600;
}

/* ——— Buttons ——— */
html.ys-reference-shell .btn-primary,
html.ys-reference-shell .btn-secondary-base,
html.ys-reference-shell .btn-soft-primary,
html.ys-reference-shell button[type="submit"].btn-primary {
    background: linear-gradient(135deg, var(--ys-gold-bright, #ffd05a), var(--ys-gold, #ffb800)) !important;
    border: none !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(255, 184, 0, 0.25);
}

html.ys-reference-shell .btn-outline-primary,
html.ys-reference-shell .btn-soft-secondary {
    border: 1px solid rgba(255, 184, 0, 0.45) !important;
    color: var(--ys-gold, #ffb800) !important;
    background: transparent !important;
    border-radius: 14px !important;
}

html.ys-reference-shell .btn-dark,
html.ys-reference-shell .btn-black {
    background: linear-gradient(135deg, var(--ys-gold-bright, #ffd05a), var(--ys-gold, #ffb800)) !important;
    border: none !important;
    color: #0f172a !important;
}

/* ——— Checkout accordion ——— */
html.ys-reference-shell #accordioncCheckoutInfo .card {
    overflow: hidden;
    margin-bottom: 1.25rem !important;
}

html.ys-reference-shell #accordioncCheckoutInfo .card-header {
    cursor: pointer;
}

html.ys-reference-shell .order-summary,
html.ys-reference-shell .cart-summary {
    background: #fff !important;
    border: 1px solid var(--ys-line-light, #e2e8f0) !important;
    border-radius: var(--ys-radius, 16px) !important;
}

/* ——— User account sidenav ——— */
html.ys-reference-shell .aiz-user-sidenav .aiz-side-nav-link {
    color: var(--ys-muted, #64748b) !important;
    border-radius: 12px !important;
}

html.ys-reference-shell .aiz-user-sidenav .aiz-side-nav-link.active,
html.ys-reference-shell .aiz-user-sidenav .aiz-side-nav-link:hover {
    background: rgba(255, 184, 0, 0.12) !important;
    color: var(--ys-gold, #ffb800) !important;
}

/* ——— Modals & alerts ——— */
html.ys-reference-shell .modal-content {
    border-radius: var(--ys-radius-lg, 20px) !important;
    border: 1px solid var(--ys-line-light, #e2e8f0) !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18) !important;
}

html.ys-reference-shell .alert-success {
    background: rgba(133, 181, 103, 0.12) !important;
    border-color: rgba(133, 181, 103, 0.35) !important;
    color: #2d5016 !important;
}

html.ys-reference-shell .alert-danger {
    background: rgba(212, 53, 51, 0.1) !important;
    border-color: rgba(212, 53, 51, 0.3) !important;
}

/* ——— Pagination ——— */
html.ys-reference-shell .pagination .page-link {
    border-radius: 10px !important;
    border-color: var(--ys-line-light, #e2e8f0) !important;
    color: var(--ys-ink, #0f172a) !important;
}

html.ys-reference-shell .pagination .page-item.active .page-link {
    background: var(--ys-gold, #ffb800) !important;
    border-color: var(--ys-gold, #ffb800) !important;
    color: #0f172a !important;
}

/* ——— Auth shell ——— */
html.ys-reference-shell body.ys-auth-shell {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 75% 55% at 72% 12%, rgba(255, 184, 0, 0.16) 0%, transparent 58%),
        linear-gradient(165deg, #070b18 0%, #0a1228 40%, #0d1835 100%) !important;
    color: #e8eefc !important;
}

html.ys-reference-shell .ys-auth-page {
    background: transparent !important;
    color: #e8eefc !important;
}

html.ys-reference-shell .ys-auth-brand-panel {
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 184, 0, 0.14), transparent 32%),
        linear-gradient(150deg, #020914 0%, #061827 62%, #0a2235 100%) !important;
}

html.ys-reference-shell .ys-auth-brand-statement h2,
html.ys-reference-shell .ys-auth-form-head h1 {
    color: #f8fafc !important;
}

html.ys-reference-shell .ys-auth-brand-statement p {
    color: #94a3b8 !important;
}

html.ys-reference-shell body.ys-auth-shell .right-content,
html.ys-reference-shell body.ys-auth-shell .card,
html.ys-reference-shell body.ys-auth-shell .auth-card {
    background: #fff !important;
    border-radius: var(--ys-radius-lg, 20px) !important;
    border: 1px solid var(--ys-line-light, #e2e8f0) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22) !important;
}

html.ys-reference-shell body.ys-auth-shell .btn-primary,
html.ys-reference-shell body.ys-auth-shell .btn-secondary-base {
    background: linear-gradient(135deg, #ffd05a, #ffb800) !important;
    color: #0f172a !important;
    border: none !important;
}

/* ——— Product detail & listing helpers ——— */
html.ys-reference-shell .product-gallery,
html.ys-reference-shell .product-summary,
html.ys-reference-shell .ys-product-detail-wrap {
    background: #fff !important;
    border-radius: var(--ys-radius-lg, 20px) !important;
    border: 1px solid var(--ys-line-light, #e2e8f0) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    color: var(--ys-ink, #0f172a) !important;
}

/* Headings only on light surfaces — dark auth/home hero excluded */
html.ys-reference-shell .ys-surface-light h1,
html.ys-reference-shell .ys-surface-light h2,
html.ys-reference-shell .ys-surface-light h3,
html.ys-reference-shell .ys-surface-light h4,
html.ys-reference-shell .ys-cart-page h1,
html.ys-reference-shell .ys-cart-page h2,
html.ys-reference-shell .ys-ref-page-wrap h1,
html.ys-reference-shell .ys-ref-page-wrap h2,
html.ys-reference-shell .card h1,
html.ys-reference-shell .card h2,
html.ys-reference-shell .card h3,
html.ys-reference-shell .card h4,
html.ys-reference-shell .aiz-user-panel h1,
html.ys-reference-shell .aiz-user-panel h2,
html.ys-reference-shell .aiz-main-wrapper > section.py-5 h1,
html.ys-reference-shell .aiz-main-wrapper > section.py-5 h2,
html.ys-reference-shell .fs-20.fw-700,
html.ys-reference-shell .fw-700.text-dark {
    color: var(--ys-ink, #0f172a) !important;
}

html.ys-reference-shell .ys-surface-light .text-muted,
html.ys-reference-shell .ys-cart-page .text-muted,
html.ys-reference-shell .card .text-muted,
html.ys-reference-shell .aiz-user-panel .text-muted,
html.ys-reference-shell .ys-surface-light .opacity-60,
html.ys-reference-shell .card .opacity-60 {
    color: var(--ys-muted, #64748b) !important;
}

/* ——— Seller panel → see ys-seller-panel.css (loaded on seller layout) ——— */
body.ys-seller-shell .aiz-main-wrapper {
    padding-inline-start: 0 !important;
}

/* Admin backend → see ys-admin-panel.css (loaded after this file) */
body.ys-admin-shell .aiz-main-wrapper {
    padding-inline-start: 0 !important;
}

/* ——— Secondary pages: contact, track, compare, policies ——— */
html.ys-reference-shell .ys-page-category .ys-contact-form-card,
html.ys-reference-shell .ys-page-category .ys-track-card,
html.ys-reference-shell .ys-page-category .ys-compare-card,
html.ys-reference-shell .ys-page-category .ys-policy-aside,
html.ys-reference-shell .ys-page-category .ys-policy-content {
    background: #fff !important;
    border: 1px solid var(--ys-line-light, #e2e8f0) !important;
    border-radius: var(--ys-radius, 16px) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
    color: var(--ys-ink-on-paper, #0f172a) !important;
}

html.ys-reference-shell .ys-page-category .ys-policy-content {
    padding: 32px !important;
    line-height: 1.75;
}

html.ys-reference-shell .ys-page-category .ys-policy-content h2,
html.ys-reference-shell .ys-page-category .ys-policy-content h3 {
    color: var(--ys-ink-on-paper, #0f172a) !important;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

html.ys-reference-shell .ys-page-category .ys-policy-aside {
    padding: 24px !important;
    position: sticky;
    top: 100px;
}

html.ys-reference-shell .ys-page-category .ys-track-card__title {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ys-line-light, #e2e8f0);
    font-weight: 800;
    color: var(--ys-ink-on-paper, #0f172a);
}

html.ys-reference-shell .ys-page-category .ys-contact-info h1 {
    color: var(--ys-ink-on-paper, #0f172a) !important;
}

/* ——— Product detail (warm paper panel) ——— */
html.ys-reference-shell .ys-page-product,
html.ys-reference-shell .aiz-main-wrapper > .ys-page-product {
    padding: 28px 0 54px !important;
    margin: 16px auto 32px !important;
    width: min(var(--ys-panel-max, 1280px), calc(100% - var(--ys-panel-gutter, 24px))) !important;
    background: var(--ys-paper-warm, #fffbf5) !important;
    color: var(--ys-ink-on-paper, #0f172a) !important;
    border-radius: var(--ys-radius-lg, 20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
}

html.ys-reference-shell .ys-page-product > .container > .ys-section {
    margin-bottom: 26px;
    padding: 26px !important;
    border: 1px solid var(--ys-line-warm, #e7dfd2);
    border-radius: var(--ys-radius, 16px);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

html.ys-reference-shell .ys-page-product .ys-product-gallery-shell,
html.ys-reference-shell .ys-page-product .ys-description-card,
html.ys-reference-shell .ys-page-product .ys-section {
    border-color: var(--ys-line-warm, #e7dfd2) !important;
    border-radius: var(--ys-radius, 16px) !important;
    color: var(--ys-ink-on-paper, #0f172a) !important;
}

html.ys-reference-shell .ys-page-product .nav-tab-header {
    border-top: 1px solid #e2dbcf;
    border-bottom: 1px solid #e2dbcf;
    background: #fffaf0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html.ys-reference-shell .ys-page-product h1,
html.ys-reference-shell .ys-page-product h2,
html.ys-reference-shell .ys-page-product h3,
html.ys-reference-shell .ys-page-product h4 {
    color: var(--ys-ink-on-paper, #0f172a) !important;
}

html.ys-reference-shell .ys-page-product .text-primary {
    color: #b45309 !important;
}

html.ys-reference-shell .ys-page-product .ys-price-current {
    color: var(--ys-gold, #ffb800) !important;
}

@media (max-width: 767px) {
    html.ys-reference-shell .ys-page-product {
        padding-top: 14px !important;
        padding-bottom: calc(54px + 76px) !important;
    }

    html.ys-reference-shell .ys-page-product > .container > .ys-section {
        padding: 16px !important;
    }
}

/* ——— PDP buy-box, trust, sticky mobile buy ——— */
html.ys-reference-shell .ys-page-product .ys-product-summary {
    display: flex;
    flex-direction: column;
    gap: var(--ys-space-3, 12px);
}

html.ys-reference-shell .ys-page-product .ys-product-price-card {
    margin-top: var(--ys-space-2, 8px);
    padding: var(--ys-space-4, 16px);
    border: 1px solid var(--ys-line-warm, #e7dfd2);
    border-radius: var(--ys-radius, 16px);
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

html.ys-reference-shell .ys-page-product .ys-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ys-space-3, 12px);
    margin-top: var(--ys-space-3, 12px);
}

html.ys-reference-shell .ys-page-product .ys-product-cta {
    min-height: 48px;
    padding: 0 var(--ys-space-4, 16px);
    border-radius: 14px !important;
    font-size: var(--ys-text-sm, 13px);
    font-weight: 800;
}

html.ys-reference-shell .ys-purchase-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ys-space-3, 12px) var(--ys-space-4, 16px);
    margin: var(--ys-space-3, 12px) 0 0;
    color: var(--ys-muted-on-paper, #64748b);
    font-size: var(--ys-text-xs, 12px);
    font-weight: 700;
}

html.ys-reference-shell .ys-purchase-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

html.ys-reference-shell .ys-purchase-trust i {
    color: var(--ys-gold, #ffb800);
    font-size: 1.05rem;
}

html.ys-reference-shell .ys-purchase-trust--under-price {
    margin-top: var(--ys-space-2, 8px);
    padding-top: var(--ys-space-2, 8px);
    border-top: 1px dashed var(--ys-line-warm, #e7dfd2);
}

html.ys-reference-shell .ys-sticky-buy {
    display: none;
}

@media (max-width: 767px) {
    html.ys-reference-shell .ys-sticky-buy {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--ys-space-3, 12px);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--ys-line-warm, #e7dfd2);
        background: rgba(255, 251, 245, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
    }

    html.ys-reference-shell .ys-sticky-buy__price {
        display: flex;
        flex-direction: column;
        min-width: 0;
        gap: 2px;
    }

    html.ys-reference-shell .ys-sticky-buy__price strong {
        font-size: var(--ys-text-md, 15px);
        line-height: 1.2;
        color: var(--ys-gold, #ffb800) !important;
    }

    html.ys-reference-shell .ys-sticky-buy__price span {
        color: var(--ys-muted-on-paper, #64748b);
        font-size: 11px;
        font-weight: 700;
    }

    html.ys-reference-shell .ys-sticky-buy__actions {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
    }

    html.ys-reference-shell .ys-sticky-buy__actions .ys-product-cta {
        min-height: 42px;
        padding: 0 12px;
        font-size: 12px;
        white-space: nowrap;
    }
}

/* ——— Product gallery (moved from Blade) ——— */
html.ys-reference-shell .ys-static-gallery {
    width: 100%;
}

html.ys-reference-shell .ys-static-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 560px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--ys-line-warm, #e7dfd2);
    border-radius: var(--ys-radius, 16px);
    background: #fff;
}

html.ys-reference-shell .ys-static-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

html.ys-reference-shell .ys-static-main img.is-switching {
    opacity: 0.55;
}

html.ys-reference-shell .ys-static-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: var(--ys-space-2, 8px);
    max-height: 154px;
    margin-top: 10px;
    overflow: auto;
}

html.ys-reference-shell .ys-static-thumb {
    aspect-ratio: 1 / 1;
    padding: 4px;
    border: 1px solid var(--ys-line-light, #e2e8f0);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

html.ys-reference-shell .ys-static-thumb:hover,
html.ys-reference-shell .ys-static-thumb.is-active {
    border-color: var(--ys-gold, #ffb800);
    box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.2);
}

html.ys-reference-shell .ys-static-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ——— Cart page + sticky summary ——— */
html.ys-reference-shell .ys-cart-page {
    min-height: 55vh;
    margin: 16px auto 32px !important;
    padding: 34px 0 58px;
    width: min(var(--ys-panel-max, 1280px), calc(100% - var(--ys-panel-gutter, 24px)));
    border-radius: var(--ys-radius-lg, 20px);
    background: var(--ys-paper, #f4f7fb) !important;
    color: var(--ys-ink-on-paper, #0f172a) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

html.ys-reference-shell .ys-cart-page .card,
html.ys-reference-shell .ys-cart-page .bg-white {
    border-color: var(--ys-line-light, #e2e8f0) !important;
    border-radius: var(--ys-radius, 16px) !important;
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

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

html.ys-reference-shell .ys-cart-page .btn-primary:hover {
    background: #d98a00 !important;
    border-color: #d98a00 !important;
}

html.ys-reference-shell .ys-cart-page .form-control {
    border-radius: 8px !important;
}

html.ys-reference-shell .ys-cart-summary-sticky {
    position: sticky;
    top: 96px;
}

html.ys-reference-shell .ys-cart-summary-card {
    overflow: hidden;
    border-radius: var(--ys-radius, 16px) !important;
}

html.ys-reference-shell .ys-purchase-trust--cart {
    margin: 0 0 var(--ys-space-3, 12px);
    padding: 10px 12px;
    border: 1px solid var(--ys-line-light, #e2e8f0);
    border-radius: 12px;
    background: rgba(255, 184, 0, 0.06);
}

html.ys-reference-shell .ys-ref-page-wrap .ys-purchase-trust,
html.ys-reference-shell .ys-surface-light .ys-purchase-trust--checkout {
    margin: 0 0 var(--ys-space-4, 16px);
}

/* ——— ATC / gallery motion ——— */
html.ys-reference-shell .ys-ref-add.is-added,
html.ys-reference-shell .ys-product-cta.add-to-cart.is-added {
    transform: scale(0.98);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.28);
}

html.ys-reference-shell .ys-ref-add,
html.ys-reference-shell .ys-product-cta {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
    html.ys-reference-shell .ys-ref-product-card,
    html.ys-reference-shell .ys-ref-product-media img,
    html.ys-reference-shell .ys-ref-add,
    html.ys-reference-shell .ys-product-cta,
    html.ys-reference-shell .ys-static-main img,
    html.ys-reference-shell .ys-static-thumb {
        transition: none !important;
    }

    html.ys-reference-shell .ys-ref-product-card:hover,
    html.ys-reference-shell .ys-ref-product-card:hover .ys-ref-product-media img {
        transform: none !important;
    }
}

/* Bootstrap 4 → logical utilities used on purchase path */
html.ys-reference-shell .ms-2 {
    margin-inline-start: 0.5rem !important;
}

html.ys-reference-shell .text-end {
    text-align: end !important;
}

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

html.ys-reference-shell .pe-0 {
    padding-inline-end: 0 !important;
}

/* RTL spacing helpers */
html[dir="rtl"].ys-reference-shell .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

@media (max-width: 991px) {
    html.ys-reference-shell .aiz-main-wrapper > section.py-5 {
        width: calc(100% - 16px);
        margin-inline: 8px !important;
        border-radius: 16px;
    }
}

/* ——— Storefront auth (login / register / forgot) ——— */
body.ys-auth-shell {
    margin: 0;
    min-height: 100vh;
    background: #050505 !important;
    color: #f8fafc;
}

body.ys-auth-shell .aiz-main-wrapper {
    background: transparent !important;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.ys-storefront-auth {
    --ys-auth-gold: var(--ys-gold, #ffb800);
    --ys-auth-gold-soft: var(--ys-gold-bright, #ffd766);
    --ys-auth-bg: #050505;
    --ys-auth-panel: #0a0a0a;
    --ys-auth-promo: #0d0d0d;
    --ys-auth-muted: #94a3b8;
    --ys-auth-line: color-mix(in srgb, var(--ys-auth-gold) 28%, transparent);
    min-height: 100vh;
    background: var(--ys-auth-bg);
    color: #fff;
}

.ys-storefront-auth__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
}

.ys-storefront-auth__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--ys-auth-panel);
}

.ys-storefront-auth__form-inner {
    width: min(420px, 100%);
    margin-inline: auto;
}

.ys-storefront-auth__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
    color: #fff;
    text-decoration: none !important;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ys-storefront-auth__logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.ys-storefront-auth__logo span {
    color: var(--ys-auth-gold);
}

.ys-storefront-auth__title {
    margin: 0 0 0.35rem;
    color: #fff !important;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.12;
}

.ys-storefront-auth__subtitle {
    margin: 0 0 1.75rem;
    color: var(--ys-auth-muted) !important;
    font-size: 0.98rem;
    line-height: 1.5;
}

.ys-storefront-auth__field {
    margin-bottom: 1.1rem;
}

.ys-storefront-auth__field label {
    display: block;
    margin-bottom: 0.45rem;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

.ys-storefront-auth__input-wrap {
    position: relative;
}

.ys-storefront-auth__field input[type="email"],
.ys-storefront-auth__field input[type="password"],
.ys-storefront-auth__field input[type="text"],
.ys-storefront-auth__field input[type="tel"] {
    width: 100%;
    min-height: 52px;
    padding: 0 2.75rem 0 1rem;
    border: 1px solid var(--ys-auth-line);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    outline: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ys-storefront-auth__field input::placeholder {
    color: rgba(148, 163, 184, 0.85);
}

.ys-storefront-auth__field input:focus {
    border-color: var(--ys-auth-gold);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.ys-storefront-auth__field .password-toggle {
    position: absolute;
    top: 50%;
    inset-inline-end: 1rem;
    transform: translateY(-50%);
    color: var(--ys-auth-muted);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.ys-storefront-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.25rem 0 1.35rem;
    font-size: 0.88rem;
}

.ys-storefront-auth__check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ys-auth-muted);
    cursor: pointer;
}

.ys-storefront-auth__check input {
    width: 16px;
    height: 16px;
    accent-color: var(--ys-auth-gold);
}

.ys-storefront-auth__link {
    color: var(--ys-auth-gold) !important;
    font-weight: 700;
    text-decoration: none;
}

.ys-storefront-auth__link:hover {
    color: var(--ys-auth-gold-soft) !important;
    text-decoration: underline;
}

.ys-storefront-auth__submit {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 10px;
    color: #0a0a0a !important;
    background: var(--ys-auth-gold) !important;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    box-shadow: 0 12px 28px rgba(255, 184, 0, 0.28);
}

.ys-storefront-auth__submit:hover {
    transform: translateY(-1px);
    background: var(--ys-auth-gold-soft) !important;
    box-shadow: 0 16px 32px rgba(255, 184, 0, 0.34);
}

.ys-storefront-auth__alt {
    margin: 1.35rem 0 0;
    color: var(--ys-auth-muted);
    font-size: 0.9rem;
    text-align: center;
}

.ys-storefront-auth__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--ys-auth-muted) !important;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.ys-storefront-auth__back:hover {
    color: var(--ys-auth-gold) !important;
}

.ys-storefront-auth__error {
    display: block;
    margin-top: 0.4rem;
    color: #f87171;
    font-size: 0.82rem;
    font-weight: 600;
}

.ys-storefront-auth__demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--ys-auth-line);
    border-radius: 10px;
    background: rgba(255, 184, 0, 0.06);
    color: #fff;
    font-size: 0.82rem;
}

.ys-storefront-auth__demo button {
    min-height: 34px;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 8px;
    color: #0a0a0a;
    background: var(--ys-auth-gold);
    font-weight: 800;
    cursor: pointer;
}

.ys-storefront-auth__social-label {
    margin: 1.25rem 0 0.75rem;
    color: var(--ys-auth-muted);
    font-size: 0.78rem;
    text-align: center;
}

.ys-storefront-auth__social {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
    padding: 0;
    list-style: none;
}

.ys-storefront-auth__social a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--ys-auth-line);
    border-radius: 10px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04);
}

.ys-storefront-auth__copy {
    margin: auto 0 0;
    padding-top: 2.5rem;
    color: rgba(148, 163, 184, 0.75);
    font-size: 0.78rem;
    text-align: center;
}

.ys-storefront-auth__promo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 184, 0, 0.08), transparent 42%),
        var(--ys-auth-promo);
}

.ys-storefront-auth__corner {
    position: absolute;
    width: 88px;
    height: 88px;
    border: 2px solid rgba(255, 184, 0, 0.35);
    pointer-events: none;
}

.ys-storefront-auth__corner--tl {
    top: 28px;
    inset-inline-start: 28px;
    border-inline-end: 0;
    border-bottom: 0;
}

.ys-storefront-auth__corner--br {
    bottom: 28px;
    inset-inline-end: 28px;
    border-inline-start: 0;
    border-top: 0;
}

.ys-storefront-auth__promo-inner {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
}

.ys-storefront-auth__headline {
    margin: 0 0 1rem;
    color: #fff !important;
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
}

.ys-storefront-auth__headline em {
    color: var(--ys-auth-gold);
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: var(--ys-auth-gold);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 2px;
}

.ys-storefront-auth__lede {
    margin: 0 0 1.5rem;
    color: var(--ys-auth-muted) !important;
    font-size: 1rem;
    line-height: 1.65;
}

.ys-storefront-auth__checks {
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.ys-storefront-auth__checks li {
    position: relative;
    margin: 0 0 0.85rem;
    padding-inline-start: 1.65rem;
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.ys-storefront-auth__checks li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--ys-auth-gold);
    font-weight: 800;
}

.ys-storefront-auth__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 184, 0, 0.16);
}

.ys-storefront-auth__stats strong {
    display: block;
    color: var(--ys-auth-gold);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.ys-storefront-auth__stats span {
    display: block;
    margin-top: 0.2rem;
    color: var(--ys-auth-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ys-storefront-auth .ys-auth-text-btn {
    border: 0;
    padding: 0;
    color: var(--ys-auth-gold);
    background: transparent;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .ys-storefront-auth__grid {
        grid-template-columns: 1fr;
    }

    .ys-storefront-auth__promo {
        order: -1;
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .ys-storefront-auth__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ys-storefront-auth__form {
        padding: 2rem 1.35rem 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .ys-storefront-auth__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .ys-storefront-auth__stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* ——— Homepage blog section (megamart + alternates) ——— */
html.ys-reference-shell .ys-reference-home .ys-ref-blog-section .ys-ref-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

html.ys-reference-shell .ys-reference-home .ys-ref-blog-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid color-mix(in srgb, var(--ys-gold, #ffb800) 22%, transparent);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    color: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

html.ys-reference-shell .ys-reference-home .ys-ref-blog-card:hover {
    border-color: var(--ys-gold, #ffb800);
    transform: translateY(-2px);
    color: #fff;
}

html.ys-reference-shell .ys-reference-home .ys-ref-blog-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    color: var(--ys-muted-on-mesh, #94a3b8);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

html.ys-reference-shell .ys-reference-home .ys-ref-blog-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ys-gold, #ffb800);
}

html.ys-reference-shell .ys-reference-home .ys-ref-blog-card h3 {
    margin: 0 0 10px;
    color: #fff !important;
    font-size: 20px;
    line-height: 1.3;
}

html.ys-reference-shell .ys-reference-home .ys-ref-blog-card p {
    flex: 1;
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.ys-reference-shell .ys-reference-home .ys-ref-blog-read {
    margin-top: 18px;
    color: var(--ys-gold, #ffb800);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    html.ys-reference-shell .ys-reference-home .ys-ref-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ——— Auth registration (scrollable form panel) ——— */
.ys-storefront-auth__form--register {
    justify-content: flex-start;
    overflow-y: auto;
}

.ys-storefront-auth__form--register .ys-storefront-auth__form-inner {
    width: min(460px, 100%);
    padding-block: 1rem;
}

.ys-storefront-auth__hint {
    display: block;
    margin-top: 0.35rem;
    color: var(--ys-auth-muted);
    font-size: 0.78rem;
}

.ys-storefront-auth__input-group {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.ys-storefront-auth__input-group input {
    flex: 1 1 auto;
    min-width: 0;
}

.ys-storefront-auth__verify-btn {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 0 1rem;
    border: 1px solid var(--ys-auth-line);
    border-radius: 10px;
    color: #0a0a0a;
    background: var(--ys-auth-gold);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.ys-storefront-auth__terms {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.75rem 0 1rem;
    color: var(--ys-auth-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.ys-storefront-auth__terms input {
    width: 16px;
    height: 16px;
    margin-top: 0.2rem;
    accent-color: var(--ys-auth-gold);
}

.ys-storefront-auth__form--register .ys-storefront-auth__submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .ys-storefront-auth__input-group {
        flex-direction: column;
    }

    .ys-storefront-auth__verify-btn {
        width: 100%;
    }
}

/* ——— Blog listing (local /blog when admin publishes) ——— */
html.ys-reference-shell .ys-page-category .ys-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

html.ys-reference-shell .ys-page-category .ys-blog-card {
    overflow: hidden;
    border: 1px solid var(--ys-line-light, #e2e8f0);
    border-radius: var(--ys-radius, 16px);
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html.ys-reference-shell .ys-page-category .ys-blog-card:hover {
    border-color: color-mix(in srgb, var(--ys-gold, #ffb800) 40%, #e2e8f0);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

html.ys-reference-shell .ys-page-category .ys-blog-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ys-paper, #f4f7fb);
}

html.ys-reference-shell .ys-page-category .ys-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.ys-reference-shell .ys-page-category .ys-blog-card__body {
    padding: 1rem 1.1rem 1.15rem;
}

html.ys-reference-shell .ys-page-category .ys-blog-card__body h2 {
    margin: 0 0 0.5rem;
    color: var(--ys-ink-on-paper, #0f172a) !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

html.ys-reference-shell .ys-page-category .ys-blog-card__body p {
    margin: 0 0 0.65rem;
    color: var(--ys-muted-on-paper, #64748b);
    font-size: 0.88rem;
    line-height: 1.55;
}

html.ys-reference-shell .ys-page-category .ys-blog-card__read {
    color: var(--ys-link-on-paper, #b45309);
    font-size: 0.82rem;
    font-weight: 700;
}

html.ys-reference-shell .ys-page-category .ys-blog-sidebar {
    padding: 1.1rem;
    border: 1px solid var(--ys-line-light, #e2e8f0);
    border-radius: var(--ys-radius, 16px);
    background: #fff;
}

html.ys-reference-shell .ys-page-category .ys-blog-sidebar h3 {
    margin: 0 0 1rem;
    color: var(--ys-ink-on-paper, #0f172a) !important;
    font-size: 1rem;
    font-weight: 800;
}

html.ys-reference-shell .ys-page-category .ys-page-hero {
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid var(--ys-line-light, #e2e8f0);
    border-radius: var(--ys-radius, 16px);
    background: #fff;
}

html.ys-reference-shell .ys-page-category .ys-page-hero h1 {
    margin: 0;
    color: var(--ys-ink-on-paper, #0f172a) !important;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
}

html.ys-reference-shell .ys-page-category .ys-blog-article,
html.ys-reference-shell .ys-page-category .ys-blog-article p,
html.ys-reference-shell .ys-page-category .ys-blog-article li {
    color: var(--ys-ink-on-paper, #0f172a);
    line-height: 1.75;
}

html.ys-reference-shell .ys-page-category .ys-blog-article a {
    color: var(--ys-link-on-paper, #b45309);
}

html.ys-reference-shell .ys-page-category .ys-blog-article h2,
html.ys-reference-shell .ys-page-category .ys-blog-article h3 {
    color: var(--ys-ink-on-paper, #0f172a) !important;
    margin-top: 1.5rem;
}

html.ys-reference-shell .ys-page-category .ys-blog-article table {
    width: 100%;
    margin: 0 0 1.25rem;
    border-collapse: collapse;
    font-size: 0.92rem;
}

html.ys-reference-shell .ys-page-category .ys-blog-article th,
html.ys-reference-shell .ys-page-category .ys-blog-article td {
    padding: 10px 12px;
    border: 1px solid var(--ys-line-light, #e2e8f0);
    text-align: start;
    vertical-align: top;
}

html.ys-reference-shell .ys-page-category .ys-blog-article th {
    background: #f8fafc;
    font-weight: 700;
}

html.ys-reference-shell .ys-page-category .ys-blog-article blockquote {
    margin: 1.25rem 0;
    padding: 14px 16px;
    border-inline-start: 3px solid var(--ys-gold, #ffb800);
    background: #fffbf5;
}


