* {
    box-sizing: border-box;
}

:root {
    /* ===== Indigo Aurora palette ===== */
    --bg: #f5f6fc;
    --surface: #ffffff;
    --surface-soft: #eef2ff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.09);
    --blue: #4f46e5;        /* primary indigo */
    --blue-deep: #3730a3;
    --blue-soft: #eef2ff;
    --green: #0d9488;       /* trust teal */
    --coral: #f59e0b;       /* amber accent */
    --gold: #fbbf24;
    --violet: #7c3aed;
    /* ===== shape & depth ===== */
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-brand: 0 22px 50px rgba(79, 70, 229, 0.20);
    --font-sans: "Vazirmatn", "IRANSansX", "IRANSans", "Tahoma", "Segoe UI", sans-serif;
    --font-display: "Vazirmatn", "IRANSansX", "IRANSans", "Tahoma", "Segoe UI", sans-serif;
}

html,
body {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: #0b1730;
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2rem, 1.6rem + 1.7vw, 3.35rem);
}

h2 {
    font-size: clamp(1.55rem, 1.3rem + 1vw, 2.35rem);
}

h3 {
    font-size: clamp(1.22rem, 1.08rem + 0.55vw, 1.7rem);
}

h4 {
    font-size: clamp(1.05rem, 0.98rem + 0.32vw, 1.28rem);
}

h5,
h6 {
    font-size: 1rem;
}

p,
li,
label,
input,
textarea,
select,
.mud-input,
.mud-input-label,
.mud-typography-body1,
.mud-typography-body2 {
    font-family: var(--font-sans);
}

p,
li {
    line-height: 1.95;
}

small,
.mud-typography-caption,
.mud-typography-subtitle2 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

button,
input,
textarea {
    font-family: inherit;
}

input,
textarea,
select,
.mud-input-slot,
.mud-input-label-inputcontrol {
    font-size: 0.98rem;
    font-weight: 600;
}

.mud-button-root {
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.mud-chip-root {
    font-weight: 800;
}

.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6,
.mud-dialog-title,
.mud-card-header .mud-typography {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.35;
}

.mud-typography-subtitle1,
.mud-typography-subtitle2,
.mud-tab,
.mud-nav-link,
.mud-list-item-text {
    font-weight: 700;
}

.app-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.06), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
        var(--bg);
}

/* Use more of the viewport on large screens so content isn't squeezed into a narrow column. */
.mud-container.mud-container-maxwidth-lg {
    max-width: 1480px;
}

@media (min-width: 600px) {
    .mud-container.mud-container-maxwidth-lg {
        padding-inline: 2rem;
    }
}

/* ===== Utility bar (slim top strip) ===== */
.utility-bar {
    position: relative;
    z-index: 10;
    color: rgba(226, 232, 255, 0.92);
    background: linear-gradient(135deg, #1e1b4b, #312e81 60%, #4338ca);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.utility-bar-inner,
.utility-cluster,
.utility-link {
    display: flex;
    align-items: center;
}

.utility-bar-inner {
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
    padding-block: 0.5rem;
    padding-inline: 1rem;
}

/* Search lives in the top bar (kept out of the crowded main header). */
.top-search {
    display: none;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    width: 100%;
    max-width: none;
    padding: 0.25rem 0.25rem 0.25rem 0.85rem;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5);
}

.top-search-icon {
    color: var(--muted);
    flex: 0 0 auto;
}

.top-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.top-search input::placeholder {
    color: #94a3b8;
    font-weight: 600;
}

.top-search button {
    flex: 0 0 auto;
    border: 0;
    cursor: pointer;
    padding: 0.5rem 1.15rem;
    color: #fff;
    font-weight: 850;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--blue), #3730a3);
    border-radius: 10px;
    transition: filter 0.15s ease;
}

.top-search button:hover {
    filter: brightness(1.08);
}

/* Drop the global purple focus ring inside the search; show a soft highlight on the box instead. */
.top-search input:focus-visible,
.top-search button:focus-visible {
    outline: none;
}

.top-search:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

.utility-cluster {
    flex-wrap: wrap;
    gap: 1.1rem;
}

.utility-link {
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 700;
    transition: color 0.15s ease;
}

.utility-link {
    color: rgba(226, 232, 255, 0.82);
}

.utility-link:hover {
    color: #fff;
}

/* ===== Main app bar ===== */
.app-bar {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02), 0 12px 32px -24px rgba(15, 23, 42, 0.4);
}

.app-bar-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 110px;
    padding-inline: 1rem;
}

/* ----- Brand ----- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
    white-space: nowrap;
    align-self: center;
}

.brand-text {
    display: grid;
    gap: 0.05rem;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: -0.01em;
}

.brand-caption {
    display: none;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 950;
    background: linear-gradient(140deg, var(--blue), #3730a3);
    border-radius: 13px;
    box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.7);
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 13px;
}

.brand-fulllogo {
    height: 56px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

/* ----- Center nav ----- */
.nav-links {
    display: none;
    align-items: center;
    gap: 0.4rem;
    margin-inline-end: auto;
}

.mobile-nav {
    display: block;
    margin-inline-start: auto;
    position: relative;
}

.mobile-shop-link {
    display: none;
}

.mobile-nav summary {
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--ink);
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.14);
    border-radius: 14px;
    cursor: pointer;
}

.mobile-nav[open] .mobile-nav-toggle {
    background: rgba(79, 70, 229, 0.14);
}

.mobile-nav-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    inset-inline-start: 0;
    width: min(92vw, 420px);
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    z-index: 1400;
}

.mobile-nav-links {
    display: grid;
    gap: 0.5rem;
    width: 100%;
}

.mobile-nav-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.95rem 1rem;
    color: #1f2937 !important;
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 850;
    line-height: 1.7;
}

.mobile-nav-link:last-child {
    border-bottom: 0;
}

.mobile-nav-link .mud-icon-root,
.mobile-nav-section-title .mud-icon-root {
    color: #6b6b6b;
    flex: 0 0 auto;
}

.mobile-nav-link span,
.mobile-nav-section-title span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    color: #1f2937 !important;
    font-size: 0.98rem;
    font-weight: 850;
}

.mobile-nav-link:visited,
.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #1f2937 !important;
}

.mobile-nav-link.active {
    color: var(--blue);
    background: rgba(79, 70, 229, 0.04);
}

.mobile-nav-link-category {
    padding-inline-end: 1.35rem;
    font-weight: 700;
}

.mobile-nav-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    color: #3a3a3a;
    background: #fafafa;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 900;
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
    margin-block: 0.35rem;
}

.mobile-nav-form {
    display: block;
}

.mobile-nav-button {
    width: 100%;
    border: 0;
    font: inherit;
    cursor: pointer;
    text-align: inherit;
}

.nav-links a {
    position: relative;
    padding: 0.5rem 0.9rem;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 11px;
    transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
    color: var(--ink);
    background: rgba(79, 70, 229, 0.06);
}

.nav-links a.active {
    color: var(--blue);
    background: rgba(79, 70, 229, 0.1);
}

/* ----- Products mega-menu (CSS-only dropdown) ----- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
}

.nav-dropdown-caret {
    transition: transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    inset-inline-start: 50%;
    transform: translateX(50%) translateY(8px);
    width: min(720px, 86vw);
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 32px 80px -34px rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1200;
}

/* Hover bridge so the panel doesn't close while the cursor crosses the gap. */
.nav-dropdown-panel::before {
    content: "";
    position: absolute;
    top: -0.65rem;
    inset-inline: 0;
    height: 0.65rem;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.nav-dropdown-grid-planner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.85rem !important;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.nav-dropdown-item:hover {
    background: rgba(79, 70, 229, 0.05) !important;
    border-color: rgba(79, 70, 229, 0.16);
}

.nav-dropdown-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    color: var(--blue);
    background: rgba(79, 70, 229, 0.1);
    border-radius: 11px;
}

.nav-dropdown-text {
    display: grid;
    gap: 0.1rem;
    line-height: 1.4;
}

.nav-dropdown-text strong {
    font-size: 0.92rem;
    color: var(--ink);
}

.nav-dropdown-text span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}

.nav-dropdown-item-rich {
    min-height: 64px;
}

.nav-dropdown-all {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding: 0.8rem !important;
    color: var(--blue) !important;
    font-size: 0.9rem;
    background: rgba(79, 70, 229, 0.08) !important;
    border-radius: 14px;
}

.nav-dropdown-all:hover {
    background: rgba(79, 70, 229, 0.14) !important;
}

/* ----- Second-level product flyout ----- */
.nav-dropdown-sub {
    position: relative;
}

.nav-dropdown-sub-caret {
    margin-inline-start: auto;
    color: var(--muted);
    transition: transform 0.18s ease, color 0.18s ease;
}

.nav-dropdown-sub:hover .nav-dropdown-sub-caret,
.nav-dropdown-sub:focus-within .nav-dropdown-sub-caret {
    color: var(--blue);
    transform: translateX(-2px);
}

.nav-dropdown-subpanel {
    position: absolute;
    top: -0.6rem;
    /* Sits flush against the parent cell (no gap) so the cursor never leaves a hover
       surface when moving from the category onto the product list. */
    inset-inline-start: 100%;
    width: min(260px, 70vw);
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    /* Grace period: stay open briefly after the cursor leaves so quick diagonal
       moves toward the list don't close it. Reset to 0 while hovering. */
    transition-delay: 0.18s;
    z-index: 1300;
}

/* Hover bridge covering both inline sides of the panel so crossing the seam keeps hover. */
.nav-dropdown-subpanel::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: -0.75rem;
    width: calc(100% + 1.5rem);
    height: 100%;
}

.nav-dropdown-sub:hover .nav-dropdown-subpanel,
.nav-dropdown-sub:focus-within .nav-dropdown-subpanel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
}

.nav-dropdown-subtitle {
    padding: 0.2rem 0.5rem 0.4rem;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--muted);
}

.nav-dropdown-subitem {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem !important;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--ink) !important;
}

.nav-dropdown-subitem-parent {
    position: relative;
}

.nav-dropdown-subitem .mud-icon-root {
    color: var(--blue);
    opacity: 0.7;
}

.nav-dropdown-subitem:hover {
    background: rgba(79, 70, 229, 0.07) !important;
}

.nav-dropdown-suball {
    margin-top: 0.3rem;
    padding: 0.5rem !important;
    text-align: center;
    font-size: 0.82rem;
    color: var(--blue) !important;
    background: rgba(79, 70, 229, 0.08) !important;
    border-radius: 10px;
}

.nav-dropdown-suball:hover {
    background: rgba(79, 70, 229, 0.14) !important;
}

.nav-dropdown-subpanel-nested {
    top: -0.35rem;
    inset-inline-start: calc(100% + 0.35rem);
}

/* ----- Tools cluster (search + actions) ----- */
.header-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-inline-start: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* search-page form (separate page) shares flex layout */
.search-page-form,
.search-result-meta,
.search-tag-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.search-page-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.search-page-form button {
    border: 0;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #3730a3);
    border-radius: 12px;
}

.search-page-form {
    max-width: 760px;
    margin-top: 1.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.search-page-form input {
    min-height: 56px;
    padding-inline: 0.8rem;
    font-size: 1rem;
    font-weight: 700;
}

.search-page-form button {
    min-width: 120px;
    min-height: 56px;
    padding-inline: 1rem;
    font: inherit;
    font-weight: 900;
}

.search-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.search-result-card {
    display: grid;
    gap: 0.85rem;
    padding: 1.2rem;
    color: inherit;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.search-result-card:hover {
    border-color: rgba(79, 70, 229, 0.24);
    transform: translateY(-2px);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.search-result-meta {
    justify-content: space-between;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
}

.search-result-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 950;
    line-height: 1.7;
}

.search-result-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.95;
}

.search-tag-row {
    flex-wrap: wrap;
}

.search-tag-row span,
mark {
    border-radius: 999px;
}

.search-tag-row span {
    padding: 0.4rem 0.75rem;
    background: #eef4fb;
    border: 1px solid rgba(79, 70, 229, 0.12);
    font-size: 0.86rem;
    font-weight: 850;
}

mark {
    padding: 0.05rem 0.3rem;
    color: inherit;
    background: rgba(214, 165, 75, 0.28);
}

.header-cta {
    min-width: auto;
    border-radius: 12px !important;
    font-weight: 850 !important;
}

.header-ghost-cta {
    color: var(--ink) !important;
    background: rgba(79, 70, 229, 0.07) !important;
}

.header-ghost-cta:hover {
    background: rgba(79, 70, 229, 0.12) !important;
}

.admin-logout-form {
    display: inline-flex;
}

.account-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    color: var(--ink);
    background: rgba(79, 70, 229, 0.07);
    border: 1px solid rgba(79, 70, 229, 0.14);
    border-radius: 12px;
    font-weight: 850;
    font-size: 0.9rem;
    white-space: nowrap;
}

.content-shell {
    padding-top: 0;
}

/* ===== Auth pages (login / register) ===== */
.auth-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 76px);
    padding: 3rem 0;
    background:
        radial-gradient(circle at 82% 4%, rgba(79, 70, 229, 0.1), transparent 42%),
        radial-gradient(circle at 8% 96%, rgba(13, 148, 136, 0.08), transparent 40%),
        var(--bg);
}

.auth-card {
    display: grid;
    gap: 1.25rem;
    padding: 2.25rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.auth-head {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    text-align: center;
}

.auth-head .brand-mark {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.auth-head h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 950;
}

.auth-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.auth-alert {
    border-radius: 14px;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-field {
    display: grid;
    gap: 0.4rem;
}

.auth-field > span {
    font-weight: 850;
    font-size: 0.9rem;
}

.auth-field input {
    width: 100%;
    min-height: 50px;
    padding-inline: 0.9rem;
    color: var(--ink);
    background: rgba(244, 247, 251, 0.9);
    border: 1px solid rgba(19, 34, 56, 0.1);
    border-radius: 13px;
    font: inherit;
    font-weight: 700;
    outline: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-field input:focus {
    background: #fff;
    border-color: rgba(79, 70, 229, 0.5);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap input {
    padding-inline-end: 3rem;
}

.auth-password-toggle {
    position: absolute;
    inset-inline-end: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.auth-password-toggle:hover {
    color: var(--blue);
    background: rgba(79, 70, 229, 0.08);
}

.auth-field small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.9rem;
}

.auth-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.auth-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-weight: 800;
    font-size: 0.92rem;
}

.auth-foot a {
    color: var(--blue);
    font-weight: 900;
}

.auth-foot a:hover {
    text-decoration: underline;
}

/* ===== Contact page ===== */
.contact-hero {
    padding: 3.5rem 0 2rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.1), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

.contact-kicker {
    display: inline-flex;
    padding: 0.35rem 0.9rem;
    color: var(--blue);
    background: rgba(79, 70, 229, 0.08);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 900;
}

.contact-hero h1 {
    margin: 1rem 0 0.5rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 950;
}

.contact-hero p {
    max-width: 56ch;
    margin: 0 auto;
    color: var(--muted);
    line-height: 2;
}

.contact-breadcrumbs,
.contact-breadcrumbs a,
.contact-breadcrumbs li,
.contact-breadcrumbs .mud-breadcrumb-separator {
    color: #6b7280 !important;
}

.contact-breadcrumbs a:hover {
    color: var(--ink) !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.contact-card {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    padding: 1.6rem 1.2rem;
    text-align: center;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 70, 229, 0.28);
    box-shadow: var(--shadow);
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #fff;
    background: linear-gradient(140deg, var(--blue), #3730a3);
    border-radius: 16px;
}

.contact-card strong {
    font-size: 1.05rem;
    font-weight: 950;
}

.contact-value {
    color: var(--muted);
    font-weight: 800;
    direction: ltr;
}

.contact-card.is-static {
    cursor: default;
}

.contact-card.is-static:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: var(--shadow-soft);
}

.contact-card.is-muted .contact-icon {
    background: linear-gradient(140deg, #94a3b8, #64748b);
}

/* FAQ + side column */
.contact-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-message-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.contact-message-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-message-actions {
    margin-top: 1rem;
}

.contact-faq h2,
.contact-side-card h3 {
    margin: 0 0 1rem;
    font-weight: 950;
}

.contact-faq h2 {
    font-size: 1.4rem;
}

.faq-item {
    margin-bottom: 0.85rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    cursor: pointer;
    font-weight: 850;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    color: var(--blue);
    background: rgba(79, 70, 229, 0.1);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 900;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    margin: 0 0 0.85rem;
    color: var(--muted);
    line-height: 2;
}

.faq-item p a {
    color: var(--blue);
    font-weight: 850;
}

.contact-side-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.contact-side-list {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.contact-side-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
}

.contact-side-list li .mud-icon-root {
    color: var(--blue);
}

.contact-side-list a:hover {
    color: var(--blue);
}

.contact-side-social {
    display: grid;
    gap: 0.7rem;
    padding-top: 1.25rem;
    margin-bottom: 1rem;
    border-top: 1px solid var(--line);
}

.contact-side-social .footer-social a {
    color: var(--ink);
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.14);
}

.contact-side-social .footer-social a:hover {
    color: var(--blue);
    background: rgba(79, 70, 229, 0.12);
}

/* ===== Footer (dark, professional) ===== */
.site-footer {
    position: relative;
    padding: 3.5rem 0 1.5rem;
    margin-top: 3rem;
    color: rgba(203, 213, 245, 0.78);
    background:
        radial-gradient(circle at 88% 0%, rgba(99, 102, 241, 0.18), transparent 40%),
        radial-gradient(circle at 5% 100%, rgba(13, 148, 136, 0.12), transparent 38%),
        linear-gradient(180deg, #181631, #100e24);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #7c3aed 45%, var(--green));
}

.site-footer-inner {
    display: grid;
    gap: 2.25rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
}

.footer-brand strong {
    font-size: 1.2rem;
    font-weight: 950;
}

.footer-brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-panel strong,
.footer-column strong,
.site-footer-inner strong {
    color: #fff;
    font-weight: 900;
}

.footer-column strong {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(165, 180, 252, 0.85);
}

.footer-brand-panel p,
.footer-text {
    margin: 1rem 0 0;
    color: rgba(203, 213, 245, 0.66);
    line-height: 2;
    font-size: 1.05rem;
    max-width: 38ch;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 0.7rem;
}

.footer-column a,
.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: rgba(203, 213, 245, 0.78);
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-column a:hover,
.footer-contact:hover {
    color: #fff;
    transform: translateX(-3px);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    color: rgba(224, 231, 255, 0.88);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 750;
}

.footer-badges span .mud-icon-root,
.footer-column a .mud-icon-root,
.footer-contact .mud-icon-root {
    font-size: 1.05rem;
    color: rgba(165, 180, 252, 0.85);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-social a {
    padding: 0.45rem 0.85rem;
    color: rgba(224, 231, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 750;
}

.footer-social a:hover {
    color: #fff;
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(129, 140, 248, 0.5);
    transform: none;
}

.footer-enamad {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 120px;
    height: 120px;
    margin-top: 0.2rem;
    padding: 0.75rem;
    text-align: center;
    color: rgba(203, 213, 245, 0.7);
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px dashed rgba(165, 180, 252, 0.4);
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
}

.footer-enamad a,
.footer-enamad img {
    display: block;
}

.footer-enamad img {
    max-width: 100%;
    height: auto;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom > span {
    color: rgba(148, 163, 215, 0.7);
    font-weight: 600;
    font-size: 0.88rem;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.lead-magnet-card {
    display: grid;
    gap: 1rem;
    padding: 1.3rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.lead-magnet-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.site-footer-links a {
    color: rgba(203, 213, 245, 0.78);
    font-weight: 750;
    font-size: 1rem;
}

.site-footer-links a:hover {
    color: #fff;
}

.hero-section,
.shop-hero,
.product-detail-hero {
    padding: 2.5rem 0;
}

.hero-grid,
.product-detail-grid,
.product-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}

.hero-copy h1,
.shop-heading h1,
.product-detail-copy h1 {
    margin: 1rem 0 0.75rem;
    max-width: 760px;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.35;
}

.hero-copy p,
.shop-heading p,
.product-detail-copy p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 2;
}

/* ===== Product showcase (detail page top) ===== */
.product-showcase {
    padding: 2.25rem 0 1rem;
}

.product-showcase-head {
    margin-bottom: 1.75rem;
}

.product-showcase-head h1 {
    margin: 0.75rem 0 0.65rem;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 900;
    line-height: 1.5;
}

.product-showcase-head p {
    margin: 0;
    max-width: 820px;
    color: var(--muted);
    line-height: 2;
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    .product-showcase-grid {
        grid-template-columns: 1fr 340px;
    }
}

.product-gallery {
    display: grid;
    gap: 0.85rem;
}

.product-gallery-main {
    position: relative;
    display: grid;
    align-items: center;
    justify-items: center;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    cursor: zoom-in;
}

.product-gallery-main .mud-icon-root {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.92);
}

.product-gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.8rem;
    color: var(--blue-deep);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(99, 102, 241, 0.14);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    font-size: 0.82rem;
    font-weight: 900;
}

.product-gallery-badge .mud-icon-root {
    font-size: 1rem;
    color: var(--blue);
}

.product-gallery-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: grid;
    align-items: center;
    justify-items: center;
}

.product-gallery-sheet {
    position: relative;
    width: min(100%, 760px);
    max-width: 100%;
    padding: 0.85rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 26px;
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.16),
        0 8px 24px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.product-gallery-sheet::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    pointer-events: none;
}

.product-gallery-sheet img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(60vh, 560px);
    margin-inline: auto;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    background: #fff;
}

.product-gallery-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.9;
}

.product-gallery-note .mud-icon-root {
    margin-top: 0.08rem;
    color: var(--blue);
    font-size: 1.1rem;
}

.product-gallery-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.product-gallery-zoom .mud-icon-root {
    font-size: 1rem;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
}

.product-lightbox-dialog {
    width: min(96vw, 1180px);
    max-height: 90vh;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.35);
}

.product-lightbox-dialog img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(90vh - 2rem);
    margin-inline: auto;
    border-radius: 18px;
    background: #fff;
}

.product-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.product-copy-panels {
    display: grid;
    gap: 1rem;
}

.product-copy-panel {
    display: grid;
    gap: 0.8rem;
}

.product-copy-panel > span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.product-copy-panel p {
    margin: 0;
    color: var(--ink);
    line-height: 2;
    white-space: pre-line;
}

.preview-band .section-heading {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
    text-align: center;
}

.preview-band .section-heading span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
}

.preview-band .section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.25;
}

.preview-shell {
    padding: 1rem;
    background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.preview-toolbar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.preview-toolbar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #f59e0b;
}

.preview-toolbar span:nth-child(2) {
    background: #38bdf8;
}

.preview-toolbar span:nth-child(3) {
    background: #34d399;
}

.preview-toolbar strong {
    margin-inline-start: auto;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 900;
}

.preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr) minmax(180px, 1fr);
    gap: 1rem;
}

.preview-panel {
    display: grid;
    gap: 0.8rem;
    align-content: start;
    min-height: 180px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.preview-panel.large {
    min-height: 240px;
}

.preview-panel.wide {
    grid-column: 2 / 4;
    min-height: 140px;
}

.preview-panel b {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
}

.preview-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.9;
}

.metric-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.metric-row strong {
    color: var(--blue-deep);
    font-size: 1.35rem;
    font-weight: 950;
}

.mini-chart {
    display: flex;
    align-items: end;
    gap: 0.7rem;
    min-height: 150px;
    padding: 1.1rem 0.5rem 0.3rem;
}

.mini-chart span {
    flex: 1;
    min-width: 18px;
    border-radius: 999px 999px 12px 12px;
    background: linear-gradient(180deg, #60a5fa 0%, #1d4ed8 100%);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.table-lines {
    display: grid;
    gap: 0.65rem;
    margin-top: auto;
}

.table-lines i {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.12), rgba(148, 163, 184, 0.32));
}

.table-lines i:nth-child(1) {
    width: 92%;
}

.table-lines i:nth-child(2) {
    width: 76%;
}

.table-lines i:nth-child(3) {
    width: 88%;
}

.table-lines i:nth-child(4) {
    width: 64%;
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.product-gallery-thumb {
    width: 86px;
    height: 86px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--line);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-gallery-thumb:hover {
    transform: translateY(-2px);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumb.is-active {
    border-color: var(--blue);
}

.product-buy-sidebar {
    display: grid;
    gap: 1.25rem;
    position: sticky;
    top: 90px;
}

.buy-card,
.file-info-card {
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.buy-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}

.buy-card-price strong {
    font-size: 1.5rem;
    font-weight: 950;
    color: var(--ink);
}

.buy-card-price del {
    color: #98a1b2;
    font-size: 0.95rem;
}

.buy-card-guarantees {
    list-style: none;
    margin: 1.2rem 0 0.5rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.buy-card-guarantees li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
}

.buy-card-guarantees .mud-icon-root {
    font-size: 1.15rem;
    color: var(--green);
}

.buy-card-report {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    color: #ef6c45;
    font-weight: 700;
    font-size: 0.9rem;
}

.buy-card-report .mud-icon-root {
    font-size: 1.1rem;
}

.file-info-title {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--muted);
    font-weight: 900;
    font-size: 0.9rem;
}

.file-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-top: 1px solid var(--line);
}

.file-info-row:first-of-type {
    border-top: none;
    padding-top: 0;
}

.file-info-row span {
    color: var(--muted);
    font-size: 0.9rem;
}

.file-info-row strong {
    color: var(--ink);
    font-weight: 800;
    font-size: 0.92rem;
}

@media (max-width: 960px) {
    .product-buy-sidebar {
        position: static;
    }

    .product-gallery-main {
        min-height: 220px;
        padding: 1rem;
    }

    .product-gallery-stage {
        min-height: 0;
    }

    .product-gallery-sheet {
        width: 100%;
        padding: 0.75rem;
        border-radius: 20px;
    }

    .product-gallery-sheet img {
        max-height: min(48vh, 420px);
    }

    .product-lightbox {
        padding: 1rem;
    }

    .product-lightbox-dialog {
        width: 100%;
        padding: 0.75rem;
        border-radius: 18px;
    }

    .product-lightbox-dialog img {
        max-height: calc(88vh - 1.5rem);
        border-radius: 14px;
    }

    .product-copy-panels {
        grid-template-columns: 1fr;
    }

    .preview-shell {
        padding: 0.8rem;
        border-radius: 22px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-panel,
    .preview-panel.large,
    .preview-panel.wide {
        grid-column: auto;
        min-height: 0;
    }

    .mini-chart {
        min-height: 120px;
        gap: 0.45rem;
    }

    .metric-row {
        align-items: start;
        flex-direction: column;
    }
}

.soft-chip {
    border-radius: 999px;
}

.hero-actions,
.detail-actions,
.category-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.conversion-points,
.pricing-option-list,
.checkout-trust-grid {
    display: grid;
    gap: 0.75rem;
}

.conversion-points {
    margin-top: 1rem;
}

.conversion-points span,
.pricing-option-list span,
.checkout-trust-grid span {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: start;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.8;
}

.conversion-points .mud-icon-root,
.pricing-option-list .mud-icon-root,
.checkout-trust-grid .mud-icon-root {
    margin-top: 0.1rem;
    color: var(--green);
}

.hero-preview-panel,
.price-panel,
.store-card,
.feature-card,
.info-panel,
.benefit-item {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.hero-preview-panel {
    padding: 1rem;
}

.preview-window {
    min-height: 360px;
    padding: 1.1rem;
    background: linear-gradient(180deg, #ffffff, #f7fafe);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.window-top {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
}

.window-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--coral);
}

.window-top span:nth-child(2) {
    background: #7dd3c6;
}

.window-top span:nth-child(3) {
    background: var(--green);
}

.preview-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #3730a3, var(--blue) 56%, #0d9488);
    border-radius: 14px;
}

.preview-metrics small,
.card-meta span,
.price-row span,
.section-title-row span,
.info-panel > span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
}

.preview-metrics small {
    color: rgba(255, 255, 255, 0.78);
}

.preview-metrics strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.5rem;
}

.preview-chart {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    height: 150px;
    margin-top: 1.2rem;
    padding: 1rem;
    background: linear-gradient(180deg, #eef4fb, #f9fbfe);
    border-radius: 14px;
}

.preview-chart i {
    flex: 1;
    min-width: 18px;
    background: linear-gradient(180deg, #818cf8, #3730a3);
    border-radius: 10px 10px 3px 3px;
}

.preview-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.preview-list span {
    height: 13px;
    background: linear-gradient(90deg, #d9e6fb, #edf4fe);
    border-radius: 999px;
}

.preview-list span:nth-child(2) {
    width: 76%;
}

.preview-list span:nth-child(3) {
    width: 54%;
}

.page-section {
    padding: 2.5rem 0;
}

.muted-band {
    background: linear-gradient(180deg, rgba(238, 244, 251, 0.84), rgba(248, 251, 255, 0.92));
    border-block: 1px solid var(--line);
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.section-title-row h2 {
    margin: 0.35rem 0 0;
    font-size: clamp(1.45rem, 4vw, 2.3rem);
    font-weight: 950;
}

.product-grid,
.feature-grid,
.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.pricing-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.pricing-option-card {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.pricing-option-card-featured {
    border-color: rgba(79, 70, 229, 0.28);
    box-shadow: 0 24px 60px rgba(79, 70, 229, 0.14);
}

.pricing-option-header,
.pricing-option-price,
.checkout-inline-summary,
.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.pricing-option-header {
    align-items: start;
}

.pricing-option-header strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 950;
}

.pricing-option-header p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.pricing-option-price {
    align-items: end;
}

.pricing-option-price del {
    color: #98a1b2;
    font-size: 0.92rem;
}

.pricing-option-price strong {
    font-size: 1.4rem;
    font-weight: 950;
}

.pricing-option-footer {
    display: grid;
    gap: 0.7rem;
}

.pricing-option-footer small,
.checkout-inline-summary small {
    color: var(--muted);
    line-height: 1.75;
}

.store-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96)),
        #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.store-card .mud-card-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.1rem;
}

.store-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(99, 102, 241, 0.14), rgba(13, 148, 136, 0.12));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.product-art {
    position: relative;
    display: grid;
    place-items: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    min-height: 320px;
    padding: 0.75rem;
    margin-bottom: 1.05rem;
    overflow: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, #f8fbff 0%, #edf3ff 52%, #e9eef8 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -18px 32px rgba(148, 163, 184, 0.14);
}

.product-art.large {
    min-height: 360px;
}

.product-art .mud-icon-root {
    font-size: 3.2rem;
}

.product-art-frame {
    position: relative;
    z-index: 1;
    width: min(100%, 98%);
    height: min(100%, 98%);
    display: grid;
    place-items: center;
    padding: 0.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 255, 0.94)),
        #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    transform: rotate(-0.5deg);
    transform-origin: center center;
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.1),
        0 4px 12px rgba(99, 102, 241, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.product-art-frame::before {
    content: none;
}

.product-art-frame::after {
    content: none;
}

.product-art-sheet {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0.2rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.65);
    border-radius: 16px;
    box-shadow:
        0 8px 18px rgba(99, 102, 241, 0.06),
        0 2px 8px rgba(15, 23, 42, 0.04);
}

.product-art-sheet img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin-inline: auto;
}

.card-meta,
.card-footer,
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.store-card h3 {
    margin: 0.9rem 0 0.6rem;
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1.7;
}

/* Shop layout */
.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.shop-results {
    min-width: 0;
    width: 100%;
}

.shop-filter {
    position: sticky;
    top: 90px;
    padding: 1.25rem 1.4rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.shop-filter h3 {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--accent-main, #2563EB);
}

.shop-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.shop-filter-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.1rem 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
}

.shop-filter-clear {
    margin-top: 0.75rem;
}

@media (max-width: 960px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-filter {
        position: static;
    }
}

.store-card p {
    flex: 1;
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.card-footer strong,
.price-row strong {
    display: block;
    font-size: 1.12rem;
    font-weight: 950;
}

.card-footer del,
.price-row del {
    display: block;
    margin-top: 0.2rem;
    color: #98a1b2;
    font-size: 0.86rem;
}

.accent-blue {
    --accent-main: #4338ca;
    --accent-alt: #6366f1;
}

.accent-green {
    --accent-main: #0d9488;
    --accent-alt: #14b8a6;
}

.accent-coral {
    --accent-main: #d97706;
    --accent-alt: #f59e0b;
}

.accent-violet {
    --accent-main: #7c3aed;
    --accent-alt: #4338ca;
}

.shop-heading {
    max-width: 760px;
}

.shop-list {
    padding-top: 0;
}

.shop-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.breadcrumbs {
    margin-bottom: 0.75rem;
}

.price-panel {
    overflow: hidden;
}

.price-panel .mud-card-content {
    padding: 1rem;
}

.price-panel-cta {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.price-panel-cta small {
    color: var(--muted);
    line-height: 1.8;
}

.mini-specs {
    display: grid;
    gap: 0.8rem;
}

.checkout-summary {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.checkout-summary h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 950;
}

.checkout-summary p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.checkout-trust-grid {
    margin-bottom: 1rem;
    padding: 0.9rem;
    background: #f7fafe;
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 16px;
}

.checkout-free-hero {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.checkout-free-badge {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
}

.checkout-free-badge .mud-icon-root {
    font-size: 1.6rem;
}

.checkout-free-hero > div {
    display: grid;
    gap: 0.2rem;
}

.checkout-free-hero span {
    color: var(--muted);
    font-size: 0.85rem;
}

.checkout-free-hero h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
}

.checkout-free-hero p {
    margin: 0.15rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.checkout-free-account {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #f7fafe;
    border: 1px solid rgba(79, 70, 229, 0.14);
}

.checkout-free-account > .mud-icon-root {
    font-size: 2rem;
    color: var(--mud-palette-primary, #4f46e5);
    flex: 0 0 auto;
}

.checkout-free-account > div {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.checkout-free-account small {
    color: var(--muted);
    font-size: 0.78rem;
}

.checkout-free-account strong {
    font-weight: 800;
    font-size: 0.95rem;
}

.checkout-free-account span {
    color: var(--muted);
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-free-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.checkout-free-points span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    padding: 0.7rem 0.4rem;
    border-radius: 14px;
    background: #f6faf7;
    border: 1px solid rgba(22, 163, 74, 0.16);
    font-size: 0.82rem;
    font-weight: 700;
    color: #166534;
}

.checkout-free-points .mud-icon-root {
    font-size: 1.3rem;
    color: #16a34a;
}

.checkout-login-gate {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem 0.5rem;
}

.checkout-login-gate-icon {
    width: 3.25rem;
    height: 3.25rem;
    color: var(--mud-palette-primary, #4f46e5);
}

.checkout-login-gate h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
}

.checkout-login-gate p {
    margin: 0;
    max-width: 22rem;
    color: var(--muted);
    line-height: 1.9;
}

.checkout-inline-summary {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.checkout-inline-summary strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1rem;
    font-weight: 950;
}

.checkout-alert {
    margin-bottom: 1rem;
}

.mini-specs span,
.info-line {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
    color: var(--muted);
    line-height: 1.8;
}

.mini-specs .mud-icon-root,
.info-line .mud-icon-root {
    color: var(--green);
    margin-top: 0.15rem;
}

.feature-card,
.info-panel,
.benefit-item {
    padding: 1rem;
}

.feature-card .mud-icon-root {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #0d9488);
    border-radius: 14px;
}

.feature-card strong,
.benefit-item strong,
.info-line strong {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 950;
}

.feature-card p,
.benefit-item span,
.info-line p,
.faq-panels p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.benefit-item .mud-icon-root {
    color: var(--blue);
    font-size: 2rem;
    margin-bottom: 0.7rem;
}

.info-panel > span {
    display: block;
    margin-bottom: 1rem;
    color: var(--blue);
}

.analytics-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.analytics-stat-card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.analytics-stat-card .mud-icon-root {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0.55rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--green));
    border-radius: 14px;
}

.analytics-stat-card.danger .mud-icon-root {
    background: linear-gradient(135deg, #ef4444, var(--coral));
}

.analytics-stat-card span {
    color: var(--muted);
    font-weight: 900;
}

.analytics-stat-card strong {
    font-size: clamp(1.45rem, 4vw, 2.2rem);
    font-weight: 950;
}

.analytics-table-card {
    overflow: hidden;
}

.dashboard-stat-grid,
.dashboard-chart-grid,
.dashboard-table-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-stat-card {
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.dashboard-stat-card .mud-card-content {
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
}

.dashboard-stat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-alt));
    border-radius: 14px;
}

.dashboard-stat-card span {
    color: var(--muted);
    font-weight: 900;
}

.dashboard-stat-card strong {
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 950;
    line-height: 1.35;
}

.dashboard-chart-card,
.dashboard-table-card {
    overflow: hidden;
}

.dashboard-chart-card .mud-card-content,
.dashboard-table-card .mud-card-content {
    padding: 1rem;
}

.dashboard-page .admin-section-title {
    margin-bottom: 1rem;
}

.settings-logo-row {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 1rem;
    align-items: stretch;
}

.settings-logo-preview {
    display: grid;
    place-items: center;
    width: 84px;
    min-height: 84px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.settings-logo-preview img {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
}

.settings-logo-preview .mud-icon-root {
    color: var(--muted);
    font-size: 2rem;
}

.settings-logo-upload {
    margin: 0;
}

.settings-maintenance-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
}

.settings-maintenance-card p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.accent-red {
    --accent-main: #ef4444;
    --accent-alt: #f97316;
}

.admin-login-page {
    min-height: calc(100vh - 68px);
    display: grid;
    align-items: center;
    padding: 2rem 0 4rem;
}

.admin-login-card {
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.admin-login-brand strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 950;
}

.admin-login-brand small {
    color: var(--muted);
    font-weight: 800;
}

.admin-login-alert {
    margin-bottom: 1rem;
    border-radius: 14px;
}

.admin-login-form {
    display: grid;
    gap: 1rem;
}

.admin-form-field {
    display: grid;
    gap: 0.4rem;
}

.admin-form-field span,
.admin-checkbox-field span {
    color: var(--muted);
    font-weight: 900;
}

.admin-form-field input {
    min-height: 52px;
    width: 100%;
    padding: 0.7rem 0.9rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
}

.admin-form-field input:focus {
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.admin-checkbox-field {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.admin-checkbox-field input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.admin-auth-redirect {
    min-height: 45vh;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1rem;
    color: var(--muted);
    font-weight: 900;
}

.admin-access-denied-card {
    display: grid;
    gap: 0.85rem;
    text-align: center;
    justify-items: center;
}

.admin-access-denied-card > .mud-icon-root {
    font-size: 3.2rem;
}

.admin-access-denied-card h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 950;
}

.admin-access-denied-card p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.admin-access-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.admin-shell {
    min-height: 100vh;
    background: var(--bg);
}

.admin-topbar {
    border-bottom: 1px solid var(--line);
}

.admin-topbar .mud-toolbar {
    min-height: 68px;
    padding-inline: 0.75rem;
}

.admin-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    font-weight: 950;
    white-space: nowrap;
}

.admin-user-chip {
    display: none;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.4rem 0.7rem;
    color: var(--ink);
    background: #eef4fb;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-weight: 900;
}

.admin-user-chip .mud-icon-root {
    color: var(--blue);
}

.admin-logout-button {
    min-width: 44px;
}

.admin-logout-form {
    margin: 0;
}

.admin-user-identity {
    display: grid;
    gap: 0.2rem;
}

.admin-user-email,
.admin-user-phone {
    display: inline-block;
    width: fit-content;
    unicode-bidi: plaintext;
}

.admin-sidebar {
    border-left: 1px solid var(--line);
}

.admin-drawer-header {
    min-height: 88px;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
}

.admin-drawer-header strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 950;
}

.admin-drawer-header span {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.admin-nav-menu {
    padding: 0.65rem;
}

.admin-nav-link.mud-nav-link {
    min-height: 46px;
    margin-bottom: 0.25rem;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 900;
}

.admin-nav-link.mud-nav-link.active,
.admin-nav-link.mud-nav-link:hover {
    color: var(--blue);
    background: rgba(79, 70, 229, 0.1);
}

.admin-nav-link .mud-nav-link-icon {
    color: inherit;
}

.admin-main-content {
    min-height: 100vh;
    padding-top: 68px;
}

.admin-main-content .admin-page {
    min-height: calc(100vh - 68px);
    padding: 1rem 0 3rem;
}

.admin-placeholder-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    min-height: 180px;
}

.admin-placeholder-card > .mud-icon-root {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0.65rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--green));
    border-radius: 14px;
}

.admin-placeholder-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.2rem;
    font-weight: 950;
}

.admin-placeholder-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.admin-filter-card {
    margin-bottom: 1rem;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.admin-file-upload-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

.admin-card {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.admin-card h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 950;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.admin-editor-main-grid,
.admin-two-columns,
.admin-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.admin-field-span-2 {
    grid-column: 1 / -1;
}

.admin-switch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-switch-box {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
}

.admin-switch-box small {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    line-height: 1.8;
}

.admin-repeat-row {
    display: grid;
    gap: 0.85rem;
    align-items: start;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-feature-row {
    grid-template-columns: minmax(160px, 0.95fr) minmax(220px, 1.4fr) 140px 52px auto;
}

.admin-faq-row {
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.45fr) auto;
}

.admin-inline-icon {
    display: grid;
    place-items: center;
    min-height: 56px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #fff;
}

.admin-save-bar {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
}

.product-upload-card {
    display: grid;
    gap: 1rem;
}

.product-upload-intro {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(16, 185, 129, 0.08));
}

.product-upload-intro p,
.product-upload-intro small {
    margin: 0;
}

.product-upload-intro p {
    font-weight: 700;
    color: var(--ink);
}

.product-upload-intro small {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
}

.product-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.product-upload-box {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #fff;
}

.product-upload-box.required-upload {
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.product-upload-box-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-upload-box-header strong {
    flex: 1 1 160px;
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.7;
    min-width: 0;
}

.product-upload-box-header span {
    flex: 0 0 auto;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.1);
}

.upload-help,
.upload-file-name {
    min-width: 0;
    color: var(--muted);
    line-height: 1.8;
}

.admin-file-picker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 112px;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue);
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.admin-file-picker:hover {
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(37, 99, 235, 0.32);
}

.admin-file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.upload-file-name {
    display: block;
    font-weight: 700;
    color: var(--ink);
    word-break: break-word;
}

.admin-download-filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.admin-product-filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.admin-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-product-action-button {
    min-width: 104px;
    justify-content: center;
}

.financial-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.financial-report-filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.financial-report-tabs {
    padding-top: 1rem;
}

.financial-report-chart,
.financial-report-alert {
    margin-bottom: 1rem;
}

.financial-report-table-card {
    overflow: hidden;
}

.seo-audit-success {
    margin-bottom: 1rem;
}

.seo-audit-section-list {
    display: grid;
    gap: 1rem;
}

.seo-audit-section {
    overflow: hidden;
}

.seo-audit-section-header,
.seo-audit-section-title {
    display: flex;
    gap: 1rem;
}

.seo-audit-section-header {
    align-items: start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.seo-audit-section-title {
    align-items: start;
}

.seo-audit-section-title > .mud-icon-root {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0.55rem;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.seo-audit-section-title h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 950;
}

.seo-audit-section-title p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.seo-audit-table strong {
    font-weight: 950;
}

.error-log-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.error-log-summary span {
    color: var(--muted);
    font-weight: 900;
}

.error-log-table-card {
    overflow: hidden;
}

.backup-export-grid,
.backup-placeholder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.backup-export-card,
.backup-placeholder-card {
    display: grid;
    gap: 1rem;
}

.backup-export-card-title,
.backup-placeholder-card {
    grid-template-columns: auto 1fr;
    align-items: start;
}

.backup-export-card-title,
.backup-export-actions,
.backup-placeholder-card {
    display: grid;
    gap: 1rem;
}

.backup-export-card-title > .mud-icon-root,
.backup-placeholder-card > .mud-icon-root {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--green));
    border-radius: 14px;
}

.backup-export-card h2,
.backup-placeholder-card h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 950;
}

.backup-export-card p,
.backup-placeholder-card p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.backup-export-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.admin-rich-editor {
    min-height: 360px;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    line-height: 2;
}

.admin-rich-editor:focus {
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.admin-rich-editor h2,
.admin-rich-editor h3,
.admin-rich-editor p,
.admin-rich-editor ul,
.admin-rich-editor ol {
    margin-top: 0;
}

.admin-related-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem 1rem;
}

.danger-text {
    color: #dc2626 !important;
    font-weight: 950;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-summary-panel > span {
    color: var(--blue);
    font-weight: 950;
}

.order-summary-panel > strong {
    display: block;
    margin: 0.45rem 0 0.3rem;
    font-size: 1.35rem;
    font-weight: 950;
}

.order-summary-panel > p {
    margin: 0.25rem 0;
    color: var(--muted);
    line-height: 1.7;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
}

.summary-row small {
    color: var(--muted);
    font-weight: 900;
}

.admin-detail-list {
    display: grid;
    gap: 0.75rem;
}

.admin-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.admin-detail-row strong,
.admin-detail-row small {
    display: block;
}

.admin-detail-row small {
    margin-top: 0.25rem;
    color: var(--muted);
}

.support-ticket-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem 4.5rem;
    background:
        radial-gradient(circle at top, rgba(99, 102, 241, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.98));
}

.support-ticket-card {
    width: min(92vw, 740px);
    margin-inline: auto;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}

.support-ticket-head {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
    justify-items: center;
}

.support-ticket-kicker {
    width: fit-content;
    padding: 0.45rem 0.9rem;
    color: var(--blue);
    background: rgba(79, 70, 229, 0.08);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 900;
}

.support-ticket-title {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
    text-align: center;
}

.support-ticket-title h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 950;
    line-height: 1.22;
    padding-bottom: 0.08em;
}

.support-ticket-title p {
    margin: 0;
    max-width: 56ch;
    color: var(--muted);
    line-height: 1.9;
    text-align: center;
    margin-inline: auto;
}

.support-ticket-form {
    gap: 1rem;
    grid-template-columns: 1fr;
}

.support-ticket-actions {
    justify-content: center;
}

.support-ticket-submit {
    min-width: 220px;
    min-height: 54px;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.22);
}

.support-ticket-message {
    grid-column: 1 / -1;
}

.support-ticket-card .mud-input-control {
    margin-top: 0;
}

.support-ticket-card .mud-input-outlined {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
}

.support-ticket-card .mud-input-outlined .mud-input-slot {
    min-height: 56px;
}

.support-ticket-card .mud-input-outlined textarea.mud-input-slot {
    min-height: 180px;
}

@media (min-width: 900px) {
    .support-ticket-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admin-detail-row b {
    white-space: nowrap;
}

.info-line + .info-line {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.faq-panels .mud-expand-panel {
    margin-bottom: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 14px !important;
    overflow: hidden;
}

.related-article-list {
    display: grid;
    gap: 0.75rem;
}

.related-article-link {
    display: block;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.related-article-link:hover {
    border-color: rgba(37, 99, 235, 0.32);
}

.related-article-link strong {
    display: block;
    font-weight: 950;
    line-height: 1.7;
}

.related-article-link p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.blog-filter-row,
.blog-tag-row,
.blog-post-meta,
.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.blog-list-card {
    overflow: hidden;
}

.blog-card-cover {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 220px;
    overflow: hidden;
    background: #eef2fb;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.blog-card-cover img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-list-card:hover .blog-card-cover img {
    transform: scale(1.04);
}

.blog-list-card-compact .mud-card-content {
    display: grid;
    gap: 0.85rem;
    min-height: auto;
    align-content: start;
    padding: 1rem;
}

.blog-filter-row {
    margin: 0 0 1.25rem;
}

.blog-card-meta,
.blog-post-meta {
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.82rem;
}

.blog-list-card-compact h2 {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.7;
    font-weight: 900;
}

.product-list-card .mud-card-content {
    display: grid;
    gap: 0.65rem;
    align-content: start;
    min-height: auto;
    padding: 0.85rem 1rem 1rem;
}

.product-card-cover {
    aspect-ratio: 4 / 3;
    min-height: 300px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.96)),
        #f3f5fb;
}

.product-card-cover img {
    object-fit: contain;
    padding: 0.35rem;
}

.product-card-cover-fallback {
    display: grid;
    place-items: center;
    text-decoration: none;
}

.product-card-cover-fallback .mud-icon-root {
    font-size: 3.2rem;
}

.product-list-card h3 {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.7;
    font-weight: 900;
}

.blog-card-title-link {
    color: var(--ink);
    text-decoration: none;
}

.blog-card-title-link:hover {
    color: var(--blue);
}

.blog-tag-row {
    margin-top: 0.85rem;
}

.blog-tag-row a {
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.blog-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 0.9rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.blog-page-link:hover {
    transform: translateY(-2px);
    color: var(--blue);
    border-color: rgba(79, 70, 229, 0.24);
    background: rgba(79, 70, 229, 0.06);
}

.blog-page-link.is-active {
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    border-color: transparent;
    box-shadow: 0 18px 30px rgba(79, 70, 229, 0.24);
}

.blog-page-link-nav {
    min-width: 74px;
}

.blog-detail-hero {
    padding: 1.75rem 0 1.25rem;
}

.blog-hero-figure {
    margin: 0.75rem auto 0;
    max-width: 980px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    aspect-ratio: 16 / 9;
    background: #eef2fb;
}

.blog-hero-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-title {
    max-width: 920px;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.admin-blog-cover-preview {
    margin-top: 0.85rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.admin-blog-cover-preview img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

@media (max-width: 640px) {
    .blog-hero-figure {
        border-radius: 16px;
        aspect-ratio: 16 / 9;
        max-width: 100%;
    }

    .blog-hero-title {
        margin-top: 1.1rem;
    }
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

.blog-toc-panel,
.blog-article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.blog-toc-panel {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.blog-toc-panel strong {
    font-weight: 950;
}

.blog-toc-panel span {
    color: var(--muted);
    line-height: 1.8;
}

.blog-toc-panel nav {
    display: grid;
    gap: 0.55rem;
}

.blog-toc-panel a {
    color: inherit;
    text-decoration: none;
    line-height: 1.7;
}

.blog-toc-panel a:hover {
    color: #4f46e5;
}

.blog-toc-panel .toc-level-3 {
    padding-right: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.blog-article {
    overflow: hidden;
}

.blog-content {
    padding: 1.1rem;
    line-height: 2.05;
}

.blog-content h2,
.blog-content h3 {
    margin: 2rem 0 0.75rem;
    font-weight: 950;
    line-height: 1.45;
}

.blog-content h2 {
    font-size: 1.55rem;
}

.blog-content h3 {
    font-size: 1.25rem;
}

.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content blockquote {
    margin: 0 0 1rem;
}

.blog-content a {
    color: #4f46e5;
}

.blog-content blockquote {
    padding: 0.8rem 1rem;
    background: #eef4fb;
    border-right: 3px solid var(--blue);
    border-radius: 14px;
}

.blog-product-cta {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 0.9rem;
    align-items: center;
    margin: 1.5rem 0;
    padding: 0.9rem;
    background: #f7fafe;
    border: 1px solid rgba(79, 70, 229, 0.14);
    border-radius: 14px;
}

.blog-product-cta-media {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #3730a3, #0d9488);
    border-radius: 14px;
}

.blog-product-cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-product-cta-media .mud-icon-root {
    font-size: 2.2rem;
}

.blog-product-cta-copy {
    min-width: 0;
}

.blog-product-cta-copy strong {
    display: block;
    margin-top: 0.15rem;
    font-weight: 950;
    line-height: 1.6;
}

.blog-product-cta-copy p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.blog-product-cta-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.55rem;
}

.blog-product-cta-price span {
    font-weight: 950;
}

.blog-product-cta-price del {
    color: #98a1b2;
    font-size: 0.88rem;
}

.blog-product-cta-price b {
    color: #b91c1c;
    font-size: 0.86rem;
}

.blog-product-cta-button {
    grid-column: 1 / -1;
    justify-self: stretch;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: #fff7d6;
    border-top: 1px solid var(--line);
}

#blazor-error-ui .dismiss {
    position: absolute;
    left: 0.75rem;
    cursor: pointer;
}

@media (min-width: 700px) {
    .nav-links {
        display: flex;
    }

    .top-search {
        display: flex;
    }

    .brand-caption {
        display: block;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-panel {
        grid-column: 1 / -1;
    }

    .contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-user-chip {
        display: inline-flex;
    }

    .product-grid,
    .feature-grid,
    .benefit-grid,
    .pricing-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-info-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
    }

    .analytics-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-table-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
    }

    .settings-maintenance-card {
        grid-template-columns: 1fr auto;
    }

    .admin-filter-bar {
        grid-template-columns: minmax(0, 1fr) 240px;
        align-items: start;
    }

    .admin-file-upload-grid {
        grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) auto;
        align-items: start;
    }

    .admin-download-filter-grid {
        grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.9fr) minmax(180px, 0.7fr);
        align-items: start;
    }

    .admin-product-filter-grid {
        grid-template-columns: minmax(220px, 280px) minmax(260px, 360px);
        justify-content: start;
        align-items: start;
    }

    .financial-report-filter-grid {
        grid-template-columns: minmax(260px, 1fr) auto;
    }

    .backup-export-grid,
    .backup-placeholder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-detail-grid {
        grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
        align-items: start;
    }

    .blog-product-cta {
        grid-template-columns: 112px minmax(0, 1fr) auto;
        padding: 1rem;
    }

    .blog-product-cta-media {
        width: 112px;
        height: 112px;
    }

    .blog-product-cta-button {
        grid-column: auto;
        justify-self: end;
        white-space: nowrap;
    }

    .blog-detail-layout {
        grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
    }

    .blog-toc-panel {
        position: sticky;
        top: 1rem;
    }
}

@media (min-width: 980px) {
    .footer-top {
        grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
        gap: 3rem;
    }

    .footer-brand-panel {
        grid-column: auto;
    }

    .contact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .contact-columns {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        align-items: start;
    }

    .contact-message-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-side-card {
        position: sticky;
        top: 1.5rem;
    }

    .hero-section,
    .shop-hero,
    .product-detail-hero {
        padding: 4rem 0;
    }

    .hero-grid,
    .product-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
        gap: 3rem;
    }

    .page-section {
        padding: 4rem 0;
    }

    .product-grid,
    .feature-grid,
    .benefit-grid,
    .pricing-options-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .analytics-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dashboard-stat-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .dashboard-chart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .admin-main-content .admin-page {
        padding: 1.5rem 0 4rem;
    }
}

@media (max-width: 520px) {
    .utility-bar {
        display: none;
    }

    .app-bar-inner {
        min-height: 78px;
        gap: 0.5rem;
    }

    .brand-fulllogo {
        height: 42px;
    }

    .header-cta {
        min-width: 44px;
        padding-inline: 0.7rem !important;
    }

    .header-cta .mud-button-label {
        display: none;
    }

    .header-cta .mud-icon-root {
        margin: 0 !important;
    }

    .section-title-row {
        align-items: start;
        flex-direction: column;
    }

    .header-ghost-cta,
    .account-chip {
        display: none;
    }

    .search-page-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-page-form button {
        width: 100%;
    }

    .checkout-inline-summary,
    .pricing-option-header,
    .pricing-option-price,
    .checkout-actions {
        align-items: start;
        flex-direction: column;
    }

    .checkout-actions .mud-button-root {
        width: 100%;
    }

    .footer-bottom {
        align-items: center;
        flex-direction: column;
    }

    .admin-topbar .mud-toolbar {
        min-height: 60px;
        padding-inline: 0.45rem;
        gap: 0.35rem;
    }

    .admin-topbar-brand {
        gap: 0.45rem;
        font-size: 0.95rem;
        min-width: 0;
    }

    .admin-topbar-brand span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-view-site-button {
        min-width: 42px;
        padding-inline: 0.55rem !important;
    }

    .admin-view-site-button .mud-button-label {
        display: none;
    }

    .admin-view-site-button .mud-icon-root,
    .admin-logout-button .mud-icon-root {
        margin: 0 !important;
    }

    .admin-logout-button {
        min-width: 42px;
        padding-inline: 0.25rem !important;
    }

    .admin-logout-button .mud-button-label {
        display: none;
    }

    .admin-header .mud-button-root,
    .admin-section-title .mud-button-root {
        width: 100%;
        justify-content: center;
    }

    .site-footer {
        padding: 2.5rem 0 1.25rem;
    }

    .site-footer-inner,
    .footer-top,
    .footer-column,
    .footer-brand-panel {
        justify-items: center;
        text-align: center;
    }

    .footer-top {
        gap: 0;
    }

    .footer-brand-panel,
    .footer-column {
        width: 100%;
        padding-block: 1.2rem;
    }

    .footer-column {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-brand-panel p,
    .footer-text {
        max-width: 30ch;
        margin-inline: auto;
    }

    .footer-badges {
        justify-content: center;
    }

    .footer-column a,
    .footer-contact {
        width: auto;
        justify-content: center;
    }

    .footer-enamad {
        margin-inline: auto;
    }

    .footer-bottom {
        padding-top: 1.15rem;
        margin-top: 0.35rem;
    }
}

@media (max-width: 959.98px) {
    .mud-container.mud-container-maxwidth-lg {
        padding-inline: 1rem;
    }

    .utility-bar-inner {
        min-height: auto;
        align-items: stretch;
        flex-direction: column;
    }

    .top-search {
        display: none;
    }

    .app-bar-inner {
        min-height: 84px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .header-tools {
        display: none;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-links {
        display: none;
    }

    .mobile-nav {
        order: 1;
        margin-inline-start: 0;
        margin-inline-end: auto;
    }

    .mobile-shop-link {
        order: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 116px;
        min-height: 36px;
        padding: 0.45rem 1rem;
        margin-inline: auto;
        color: var(--blue);
        font-size: 0.93rem;
        font-weight: 900;
        background: linear-gradient(180deg, #f4f3ff, #ece9ff);
        border: 1px solid rgba(79, 70, 229, 0.18);
        border-radius: 999px;
        box-shadow: 0 8px 20px -16px rgba(79, 70, 229, 0.65);
    }

    .brand {
        order: 3;
        margin-inline: 0;
    }

    .mobile-nav-toggle {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        background: linear-gradient(180deg, #f8f6ff, #efebff);
        border-color: rgba(79, 70, 229, 0.12);
    }

    .mobile-nav-panel {
        top: calc(100% + 0.5rem);
        inset-inline-start: auto;
        inset-inline-end: 0;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px;
        gap: 0;
        padding: 0.4rem 0;
        background: rgba(255, 255, 255, 0.995);
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 0;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        overflow: hidden;
    }

    .mobile-nav-link span,
    .mobile-nav-section-title span {
        display: block;
        overflow: visible;
        white-space: normal;
    }

    .mobile-nav-panel {
        top: calc(100% + 0.5rem);
        inset-inline-start: auto;
        inset-inline-end: 0;
        width: min(92vw, 340px);
        gap: 0;
        padding: 0.4rem 0;
        background: rgba(255, 255, 255, 0.995);
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 0;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        overflow: hidden;
    }

    .footer-brand-panel p,
    .footer-text {
        max-width: none;
    }

    .footer-column a,
    .footer-contact {
        width: 100%;
    }

    .footer-top {
        gap: 1.6rem;
    }

    .footer-column {
        gap: 0.55rem;
    }

    .footer-column:first-of-type {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
    }

    .footer-column:first-of-type strong {
        grid-column: 1 / -1;
    }

    .category-row {
        justify-content: center;
    }

    .category-row > :first-child {
        flex-basis: 100%;
        width: fit-content;
        margin-inline: auto;
    }

    .hero-section,
    .shop-hero,
    .product-detail-hero,
    .page-section {
        padding-block: 2rem;
    }

    .hero-copy h1,
    .shop-heading h1,
    .product-detail-copy h1 {
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.45;
    }

    .preview-window {
        min-height: 280px;
        padding: 0.85rem;
    }

    .preview-metrics,
    .checkout-free-hero,
    .checkout-free-account,
    .summary-row,
    .admin-detail-row {
        align-items: start;
        flex-direction: column;
    }

    .checkout-free-points {
        grid-template-columns: 1fr;
    }

    .product-art,
    .product-art.large {
        aspect-ratio: 1 / 1;
        min-height: 260px;
    }

    .product-art-frame {
        width: min(100%, 96%);
        height: min(100%, 96%);
        transform: rotate(-1deg);
    }

    .store-card .mud-card-content,
    .store-card h3,
    .product-rating-row {
        text-align: center;
    }

    .store-card .mud-card-content {
        align-items: center;
    }

    .card-footer {
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .card-footer > div {
        width: 100%;
        text-align: center;
    }

    .card-footer .mud-button-root {
        margin-inline: auto;
    }

    .product-gallery-thumb {
        width: 72px;
        height: 72px;
    }

    .file-info-row,
    .card-meta,
    .card-footer,
    .price-row,
    .buy-card-price,
    .pricing-option-header,
    .pricing-option-price,
    .checkout-inline-summary,
    .checkout-actions,
    .admin-header,
    .admin-section-title,
    .admin-login-brand {
        align-items: start;
        flex-direction: column;
    }

    .admin-header,
    .admin-section-title,
    .financial-report-actions,
    .backup-export-actions,
    .support-ticket-actions {
        display: flex;
    }

    .admin-header {
        gap: 0.9rem;
    }

    .settings-logo-row,
    .admin-form-grid,
    .admin-editor-main-grid,
    .admin-two-columns,
    .admin-plan-grid,
    .admin-switch-grid,
    .admin-repeat-row,
    .admin-feature-row,
    .admin-faq-row,
    .admin-filter-bar,
    .admin-product-filter-grid,
    .admin-file-upload-grid,
    .admin-download-filter-grid,
    .financial-report-filter-grid,
    .order-detail-grid,
    .contact-columns,
    .contact-message-grid,
    .search-results-grid,
    .product-showcase-grid,
    .product-info-grid,
    .analytics-summary-grid,
    .dashboard-stat-grid,
    .dashboard-chart-grid,
    .dashboard-table-grid,
    .backup-export-actions {
        grid-template-columns: 1fr !important;
    }

    .admin-repeat-row,
    .pricing-option-card,
    .buy-card,
    .file-info-card,
    .contact-message-card,
    .contact-side-card,
    .auth-card,
    .support-ticket-card {
        padding: 1rem;
    }

    .financial-report-table-card,
    .error-log-table-card,
    .analytics-table-card,
    .dashboard-table-card,
    .dashboard-chart-card,
    .seo-audit-table,
    .mud-table-container {
        overflow-x: auto;
    }

    .mud-table-root,
    table {
        min-width: 640px;
    }

    .checkout-actions .mud-button-root,
    .admin-save-bar .mud-button-root,
    .support-ticket-submit,
    .mobile-nav-search button {
        width: 100%;
    }
}

@media (min-width: 960px) {
    .mobile-nav {
        display: none;
    }

    .nav-links {
        display: flex;
    }
}

.upsell-section {
    margin-bottom: 1.5rem;
}

.upsell-offer-grid {
    display: grid;
    gap: 1rem;
}

.upsell-offer-card {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
        var(--surface);
}

.upsell-offer-top,
.upsell-offer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.upsell-offer-top span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.upsell-offer-copy small {
    color: var(--primary);
    font-weight: 800;
}

.upsell-offer-copy h3 {
    margin: 0.35rem 0;
}

.upsell-offer-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.checkout-success-page {
    padding: 2rem 0 3rem;
}

.checkout-success-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: 1.25rem;
    align-items: stretch;
    margin-bottom: 1.25rem;
}

.checkout-success-copy,
.order-summary-card,
.success-product-card,
.support-message-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.checkout-success-copy {
    padding: clamp(1.35rem, 3vw, 2.25rem);
    background:
        radial-gradient(circle at 88% 18%, rgba(79, 70, 229, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.94));
}

.success-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.85rem;
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 900;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 999px;
}

.checkout-success-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: 950;
    color: var(--ink);
}

.checkout-success-copy > p {
    margin: 0.85rem 0 0;
    max-width: 60ch;
    color: var(--muted);
    line-height: 1.95;
    font-weight: 700;
}

.order-summary-card {
    display: grid;
    gap: 1.15rem;
    padding: 1.4rem;
}

.order-summary-head {
    display: grid;
    gap: 0.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.order-summary-head > span {
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 900;
}

.order-summary-head > strong {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 950;
    color: var(--ink);
    word-break: break-word;
}

.order-summary-grid {
    display: grid;
    gap: 0.85rem;
}

.order-summary-item {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
    background: rgba(244, 247, 251, 0.9);
    border-radius: 18px;
}

.order-summary-item small {
    color: var(--muted);
    font-weight: 800;
}

.order-summary-item b {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
}

.download-warning {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    color: #9a3412;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.98));
    border: 1px solid rgba(251, 146, 60, 0.28);
    border-radius: 20px;
}

.download-warning .mud-icon-root {
    flex: 0 0 auto;
    font-size: 1.45rem;
}

.success-products-grid {
    display: grid;
    gap: 1rem;
}

.success-product-card {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
}

.success-product-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.success-product-header small {
    color: var(--muted);
    font-weight: 850;
}

.success-product-header h3 {
    margin: 0.3rem 0 0;
    font-size: clamp(1.15rem, 3vw, 1.8rem);
    line-height: 1.45;
    font-weight: 950;
}

.success-product-header > strong {
    flex: 0 0 auto;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 950;
}

.download-button-list {
    display: grid;
    gap: 0.8rem;
}

.download-item-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    background: rgba(244, 247, 251, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
}

.download-item-meta {
    display: grid;
    gap: 0.2rem;
}

.download-item-meta small,
.download-item-meta span {
    color: var(--muted);
    font-weight: 750;
}

.download-item-row .primary-cta {
    margin-inline-start: auto;
}

.support-message-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.25rem 1.35rem;
}

.support-message-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    color: var(--blue);
    background: rgba(79, 70, 229, 0.1);
    border-radius: 22px;
}

.support-message-icon .mud-icon-root {
    font-size: 2rem;
}

.support-message-copy h2 {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 2.1rem);
    font-weight: 950;
}

.support-message-copy p {
    margin: 0.55rem 0 0;
    color: var(--muted);
    line-height: 1.9;
    font-weight: 700;
}

.support-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .checkout-success-hero {
        grid-template-columns: 1fr;
    }

    .success-product-header,
    .download-item-row {
        flex-direction: column;
        align-items: stretch;
    }

    .download-item-row .primary-cta {
        margin-inline-start: 0;
    }

    .support-message-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .support-message-icon {
        margin-inline: auto;
    }

    .support-message-actions {
        justify-content: center;
    }
}

.upsell-price-line {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
}

.upsell-price-line b {
    color: var(--primary);
    font-size: 1.2rem;
}

.upsell-price-line span {
    color: #94a3b8;
    text-decoration: line-through;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--muted);
    margin: 0.4rem 0 0.8rem;
}

.hero-rating-row {
    margin-top: 1rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
    font-weight: 800;
}

.review-summary-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem 0 1rem;
}

.review-summary-score strong {
    font-size: 2.3rem;
    line-height: 1;
    color: var(--primary);
}

.review-star-row {
    display: flex;
    gap: 0.15rem;
    color: #f59e0b;
}

.review-list {
    display: grid;
    gap: 0.9rem;
}

.review-item {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
}

.review-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.review-item p {
    margin: 0.5rem 0;
    line-height: 1.9;
}

.review-form-panel .mud-form {
    display: grid;
    gap: 0.9rem;
}

@media (min-width: 700px) {
    .upsell-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .upsell-offer-top,
    .upsell-offer-meta,
    .review-item-head,
    .product-rating-row {
        align-items: start;
        flex-direction: column;
    }
}

/* ============================================================
   Indigo Aurora — modern polish layer (2026 redesign)
   ============================================================ */

/* Softer, layered depth on the primary panels */
.hero-preview-panel,
.price-panel,
.store-card,
.feature-card,
.info-panel,
.benefit-item,
.pricing-option-card,
.search-result-card,
.lead-magnet-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.22s ease,
                border-color 0.22s ease;
}

/* Product / store cards lift on hover */
.store-card:hover,
.feature-card:hover,
.pricing-option-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.13);
    border-color: rgba(79, 70, 229, 0.22);
}

/* Product artwork: richer gradient + subtle sheen */
.product-art {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: inset 0 -40px 60px rgba(15, 23, 42, 0.12);
}

.product-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.34), transparent 55%);
    pointer-events: none;
}

/* Primary CTA buttons: gradient + lift */
.mud-button-filled.mud-button-filled-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-deep)) !important;
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mud-button-filled.mud-button-filled-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(79, 70, 229, 0.36);
    filter: brightness(1.04);
}

.mud-button-root {
    border-radius: 14px;
    letter-spacing: 0.01em;
}

/* Brand mark refresh */
.brand-mark {
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.32);
    border-radius: 12px;
}

/* Section headings: accent underline */
.section-title-row h2 {
    position: relative;
}

.section-title-row h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--coral));
}

/* Hero headline gradient accent on the brand chip */
.soft-chip.mud-chip-filled {
    background: linear-gradient(135deg, var(--blue), var(--violet)) !important;
    color: #fff !important;
}

/* Featured pricing card gets a brand glow */
.pricing-option-card-featured {
    border-color: rgba(79, 70, 229, 0.32) !important;
    box-shadow: var(--shadow-brand) !important;
}

/* Nav active state pill */
.nav-links a.active {
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--coral));
}

/* Focus-visible accessibility ring */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.45);
    outline-offset: 2px;
}

/* ============================================================
   Home v2 — immersive hero + new layout (2026)
   ============================================================ */

.hero-v2 {
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
    padding: clamp(3.2rem, 7vw, 6rem) 0 clamp(3.6rem, 8vw, 6.5rem);
    color: #fff;
    background:
        radial-gradient(circle at 82% 12%, rgba(124, 58, 237, 0.55), transparent 42%),
        radial-gradient(circle at 12% 88%, rgba(13, 148, 136, 0.40), transparent 40%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 46%, #4338ca 100%);
    border-radius: 0 0 40px 40px;
}

.hero-v2-glow {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.5;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
            mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
}

.hero-v2-container {
    position: relative;
    z-index: 1;
}

.hero-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.hero-v2-copy h1 {
    margin: 1.2rem 0 1rem;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #fff;
}

/* FocusOnNavigate (Routes.razor) focuses the page h1 after navigation; suppress the
   outline box on these non-interactive hero headings so it doesn't look like a frame. */
.hero-v2-copy h1:focus,
.hero-copy h1:focus,
.shop-heading h1:focus,
.product-detail-copy h1:focus,
.blog-detail-heading h1:focus {
    outline: none;
}

.hero-accent {
    display: block;
    background: linear-gradient(90deg, #fbbf24, #f59e0b 55%, #fcd34d);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-v2-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 2.05;
}

.hero-v2-copy p strong {
    color: #fff;
    font-weight: 900;
}

.hero-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.hero-btn-primary {
    background: #ffffff !important;
    color: var(--blue-deep) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
    font-weight: 900 !important;
}

.hero-btn-primary:hover {
    filter: brightness(0.97);
    transform: translateY(-2px);
}

.hero-btn-ghost {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    font-weight: 850 !important;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin: 2rem 0 0;
    padding: 1.5rem 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 750;
    white-space: nowrap;
}

.hero-trust-row .mud-icon-root {
    font-size: 1.1rem;
    color: #6ee7b7;
}

/* Floating product mock cards */
.hero-v2-visual {
    position: relative;
    min-height: 340px;
    padding-inline: 1rem;
}

.hero-float-card {
    position: relative;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(10, 12, 40, 0.38);
}

.hero-float-art {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-alt));
    border-radius: 16px;
}

.hero-float-main {
    width: min(380px, calc(100% - 1.5rem));
    margin-inline: auto;
    padding: 1.8rem;
    display: grid;
    gap: 0.45rem;
    text-align: center;
}

.hero-float-main .hero-float-art {
    height: 132px;
    margin-bottom: 0.6rem;
}

.hero-float-main .hero-float-art .mud-icon-root {
    font-size: 3rem;
}

.hero-float-main strong {
    font-size: 1.55rem;
    font-weight: 950;
    color: var(--ink);
    line-height: 1.8;
}

.hero-float-main span {
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.9;
}

.hero-float-mini {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.95rem;
    border-radius: 16px;
}

.hero-float-mini .hero-float-art {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}

.hero-float-mini strong {
    font-size: 0.92rem;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.7;
}

.hero-float-mini {
    top: -18px;
    inset-inline-start: -40px;
    transform: rotate(-4deg);
}

.hero-float-mini-2 {
    top: auto;
    bottom: 72px;
    inset-inline-start: auto;
    inset-inline-end: -34px;
    transform: rotate(4deg);
}

.hero-float-mini-3 {
    top: -24px;
    inset-inline-end: -34px;
    inset-inline-start: auto;
    transform: rotate(4deg);
}

.hero-float-mini-4 {
    top: -46px;
    inset-inline-start: 25%;
    inset-inline-end: auto;
    bottom: auto;
    transform: translateX(-50%) rotate(-1deg);
}

.hero-float-mini-5 {
    top: auto;
    bottom: -34px;
    inset-inline-start: auto;
    inset-inline-end: 18px;
    transform: rotate(-2deg);
}

.hero-float-mini-6 {
    top: 33%;
    inset-inline-start: -42px;
    inset-inline-end: auto;
    transform: translateY(-50%) rotate(-3deg);
}

.hero-float-mini-7 {
    top: auto;
    bottom: -44px;
    inset-inline-start: auto;
    inset-inline-end: -40px;
    transform: rotate(5deg);
}

/* Category quick-nav cards */
.category-section {
    padding: 2.5rem 0 1rem;
}

.category-section-title {
    font-size: clamp(1.2rem, 3vw, 1.75rem) !important;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 1100px) {
    .category-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .category-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        justify-items: stretch;
        text-align: right;
        gap: 0.9rem;
        min-height: 88px;
        padding: 0.9rem 1rem;
    }

    .category-card-art {
        margin: 0;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        order: 3;
    }

    .category-card strong {
        font-size: 0.98rem;
        line-height: 1.65;
        order: 2;
    }

    .category-card-chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #7b83a0;
        order: 1;
    }

    .category-all-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        width: 100%;
        margin-top: 1rem;
        padding: 0.95rem 1rem;
        color: var(--blue);
        background: #eeecff;
        border: 1px solid rgba(79, 70, 229, 0.08);
        border-radius: 14px;
        font-weight: 900;
    }
}

.category-card {
    display: grid;
    gap: 0.35rem;
    padding: 1.3rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 54px rgba(15, 23, 42, 0.14);
    border-color: rgba(79, 70, 229, 0.24);
}

.category-card-art {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 0.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-alt));
    border-radius: 14px;
}

.category-card-art .mud-icon-root {
    font-size: 1.7rem;
}

.category-card-chevron {
    display: none;
}

.category-card strong {
    font-size: 1.05rem;
    font-weight: 950;
    color: var(--ink);
}

.category-card span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.category-all-link {
    display: none;
}

/* Closing CTA band */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.8rem, 4vw, 3rem);
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%, rgba(124, 58, 237, 0.5), transparent 45%),
        linear-gradient(135deg, var(--blue-deep), var(--blue));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-brand);
}

.cta-band-copy h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.4rem, 3.2vw, 2.1rem);
    font-weight: 950;
    color: #fff;
}

.cta-band-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.9;
}

@media (min-width: 900px) {
    .hero-v2-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

@media (max-width: 560px) {
    .cta-band {
        display: none;
    }

    .hero-v2-copy {
        text-align: center;
    }

    .hero-v2-badge {
        justify-content: center;
        margin-inline: auto;
    }

    .hero-v2-actions {
        justify-content: center;
    }

    .hero-trust-row {
        display: none;
    }

    .hero-v2-visual {
        display: none;
    }

    .hero-float-mini {
        display: none;
    }

}

/* ============================================================
   Immersive hero — shared by shop & product pages
   ============================================================ */

.immersive-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
    padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.8rem, 6vw, 4.6rem);
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(124, 58, 237, 0.5), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(13, 148, 136, 0.36), transparent 40%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 46%, #4338ca 100%);
    border-radius: 0 0 40px 40px;
}

.immersive-hero .mud-container {
    position: relative;
    z-index: 1;
}

.immersive-hero .shop-heading h1,
.immersive-hero .product-detail-copy h1 {
    color: #fff;
}

.immersive-hero .shop-heading p,
.immersive-hero .product-detail-copy p {
    color: rgba(255, 255, 255, 0.82);
}

/* breadcrumbs on dark */
.immersive-hero .mud-breadcrumbs,
.search-hero .mud-breadcrumbs,
.immersive-hero .mud-breadcrumbs a,
.search-hero .mud-breadcrumbs a,
.immersive-hero .mud-breadcrumbs li,
.search-hero .mud-breadcrumbs li,
.immersive-hero .mud-breadcrumb-separator,
.search-hero .mud-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.72) !important;
}

.immersive-hero .mud-breadcrumbs a:hover,
.search-hero .mud-breadcrumbs a:hover {
    color: #fff !important;
}

/* conversion bullet points on dark */
.immersive-hero .conversion-points span {
    color: rgba(255, 255, 255, 0.86);
}

.immersive-hero .conversion-points .mud-icon-root {
    color: #5eead4;
}

/* outlined / text / category buttons on dark */
.immersive-hero .mud-button-outlined {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.immersive-hero .mud-button-outlined:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.immersive-hero .category-row .mud-button-text,
.immersive-hero .detail-actions .mud-button-text {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* tag chips on dark */
.immersive-hero .tag-row .mud-chip-outlined {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
}

/* the "همه" filled category button stays solid white for contrast */
.immersive-hero .category-row .mud-button-filled {
    background: #fff !important;
    color: var(--blue-deep) !important;
    font-weight: 900 !important;
}

/* price panel floats brighter on the dark hero */
.immersive-hero .price-panel {
    box-shadow: 0 30px 64px rgba(10, 12, 40, 0.4) !important;
}
