:root {
    --ink: #0f172a;
    --muted: #64748b;
    --cloud: #f8fafc;
    --sand: #f5f1ea;
    --accent: #ff7a1a;
    --accent-dark: #d35a07;
    --teal: #0ea5a0;
    --green: #16a34a;
    --navy: #1e293b;
    --glass: rgba(255, 255, 255, 0.72);
    --shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top left, #fde6d1, #f8fafc 45%, #e7f1ff 100%);
}

body.console {
    overflow: hidden;
    height: 100vh;
}

.landing {
    background: radial-gradient(circle at 20% 10%, #ffe7d0, #f9fafb 50%, #d9f1ff 100%);
}

.product-types-page {
    background: radial-gradient(circle at 20% 10%, #ffe7d0, #f9fafb 50%, #d9f1ff 100%);
}

.landing-hero {
    padding: 1rem 0 0rem;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.landing-hero.compact-hero {
    min-height: auto;
    padding-bottom: 1rem;
}

.products-page .landing-hero {
    min-height: auto;
    padding: 1rem 0 1.5rem;
}

.landing-hero.has-hero {
    color: #f8fafc;
}

.landing-hero.has-hero .brand-sub,
.landing-hero.has-hero .hero-copy,
.landing-hero.has-hero .eyebrow {
    color: rgba(248, 250, 252, 0.78);
}

.landing-hero.has-hero .landing-nav .btn-outline-dark,
.landing-hero.has-hero .profile-btn {
    color: #f8fafc;
    border-color: rgba(248, 250, 252, 0.5);
    background: rgba(15, 23, 42, 0.2);
}

.landing-hero.has-hero .landing-nav .btn-outline-dark:hover,
.landing-hero.has-hero .profile-btn:hover {
    background: rgba(248, 250, 252, 0.15);
}

.landing-hero .container {
    position: relative;
    z-index: 2;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.hero-backdrop::-webkit-scrollbar {
    height: 6px;
}

.hero-backdrop::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 16, 32, 0.72), rgba(10, 16, 32, 0.35));
    z-index: 1;
}

.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.landing-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.landing-nav .nav-actions .btn {
    order: 1;
}

.landing-nav .nav-actions .profile-dropdown {
    order: 2;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand.inline {
    gap: 1rem;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #ffb066);
    display: grid;
    place-items: center;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.brand-logo-mark {
    overflow: hidden;
    padding: 0;
    background: #fff;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.brand-name {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-sub {
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-main {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
}

.hero-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.4vw, 3rem);
    margin: 0 0 1rem;
}

.hero-copy {
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
}

.search-panel {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr auto;
    background: linear-gradient(135deg, rgba(255, 186, 120, 0.35), rgba(255, 255, 255, 0.92));
    padding: 0.6rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    width: min(680px, 100%);
    position: relative;
}

.hero-stats-card {
    margin-top: 1.5rem;
    width: min(980px, 100%);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1.1rem;
    color: var(--ink);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-stats-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 198, 140, 0.45), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.35), transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.08));
    opacity: 0.8;
    pointer-events: none;
}

.hero-stats-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.5), transparent 65%);
    opacity: 0.7;
    pointer-events: none;
}


.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem;
    position: relative;
    z-index: 1;
}

.hero-stat {
    display: grid;
    gap: 0.4rem;
    justify-items: center;
}

.hero-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: rgba(255, 122, 26, 0.85);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #fff;
}

.hero-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.72);
    font-weight: 600;
}

.hero-stats-cta {
    justify-self: center;
    background: var(--accent);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 1.35rem;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.hero-stats-cta:hover {
    background: var(--accent-dark);
    color: #fff;
}

.search-input input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    padding: 0.65rem 2.6rem 0.65rem 0.9rem;
    font-size: 0.9rem;
    background: #fff;
}

.search-input input:focus {
    outline: none;
    border-color: rgba(255, 122, 26, 0.5);
    box-shadow: none;
}

.search-input {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(100, 116, 139, 0.7);
    font-size: 1rem;
    pointer-events: none;
}

.search-input:focus-within .search-icon {
    color: var(--accent);
}

.search-input select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    background: #fff;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chip {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    font-weight: 600;
    font-size: 0.85rem;
}

.hero-metrics {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.metric {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    min-width: 140px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--muted);
}

.eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    color: var(--accent-dark);
    text-transform: uppercase;
}

.hero-card .glass-card,
.hero-panel .glass-card {
    padding: 2rem;
}

.hero-stats {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    box-shadow: var(--shadow);
    font-weight: 600;
}

.trend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.trend-item:last-child {
    border-bottom: none;
}

.trend-title {
    font-weight: 600;
}

.trend-sub {
    font-size: 0.8rem;
    color: var(--muted);
}

.trend-badge {
    background: rgba(255, 122, 26, 0.15);
    color: var(--accent-dark);
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.section-block {
    padding: 4rem 0 5rem;
    background: #fff;
}

.section-block.alt {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2ff 100%);
}

.section-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.section-head .section-title {
    margin-bottom: 0;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    font-size: 0.7rem;
    color: rgba(15, 23, 42, 0.55);
}

.section-sub {
    margin: 0.4rem 0 0;
    color: var(--muted);
    max-width: 520px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-title-row.justify-between {
    justify-content: space-between;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.categories-head > div {
    width: 100%;
}

.categories-head .section-title-row .btn {
    margin-left: auto;
}

.product-types-head > div {
    width: 100%;
}

.product-types-head .section-title-row .btn {
    margin-left: auto;
}

.section-title-row .section-title {
    margin-bottom: 0;
}

.filter-toggle {
    border: none;
    background: transparent;
    color: var(--ink);
    border-radius: 0;
    padding: 0.25rem 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-toggle i {
    font-size: 1.1rem;
}

.filter-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    opacity: 0;
}

.filter-panel.open {
    max-height: 500px;
    opacity: 1;
}

@media (max-width: 720px) {
    .section-head {
        align-items: flex-start;
    }
    .filter-toggle {
        padding: 0.2rem;
    }
    .filter-text {
        display: none;
    }
}

.filter-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    border-radius: 20px;
    padding: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.1);
    margin-bottom: 1.5rem;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.filter-sub {
    color: var(--muted);
    font-size: 0.9rem;
}

.filter-clear {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

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

.filter-field.wide {
    grid-column: span 2;
}

.filter-actions {
    display: flex;
    align-items: flex-end;
}

@media (max-width: 720px) {
    .filter-field.wide {
        grid-column: span 1;
    }
    .filter-actions {
        width: 100%;
    }
}

.cap-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cap-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #f7fafc);
    box-shadow: var(--shadow);
}

.search-panel.filters {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.search-suggest {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0.4rem;
    display: grid;
    gap: 0.2rem;
    z-index: 30;
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
}

.suggest-item:hover {
    background: rgba(255, 122, 26, 0.12);
}

.suggest-label {
    font-size: 0.95rem;
}

.suggest-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 122, 26, 0.12);
    display: grid;
    place-items: center;
    flex: 0 0 38px;
}

.suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.suggest-fallback {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
}


.category-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.category-showcase-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.category-showcase-card {
    text-decoration: none;
    color: inherit;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.16);
    display: block;
    position: relative;
    min-height: 200px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    border-color: rgba(14, 165, 160, 0.45);
}

.category-showcase-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 165, 160, 0.3), rgba(255, 255, 255, 0.85));
}

.category-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-showcase-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
}

.category-showcase-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: #f8fafc;
    background: linear-gradient(135deg, rgba(14, 165, 160, 0.75), rgba(255, 122, 26, 0.75));
}

.category-showcase-body {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.7rem 1.5rem 0.85rem;
    display: grid;
    gap: 0.35rem;
    color: #f8fafc;
}

.category-showcase-title {
    font-weight: 700;
    font-size: 1.2rem;
}

.category-showcase-sub {
    color: rgba(248, 250, 252, 0.82);
    font-size: 0.88rem;
    min-height: 2.2rem;
}

.category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card-link:focus-visible {
    outline: 2px solid rgba(255, 122, 26, 0.6);
    outline-offset: 4px;
    border-radius: 22px;
}

.category-card {
    padding: 1.75rem 1.6rem 1.5rem;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92) 45%, rgba(241, 245, 249, 0.9) 100%);
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.14);
    display: grid;
    gap: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.2);
    border-color: rgba(255, 122, 26, 0.4);
}

.category-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.3), rgba(14, 165, 160, 0.24));
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--ink);
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card:hover .category-icon {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.category-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(14, 165, 160, 0.18), transparent 65%);
    opacity: 0.6;
    pointer-events: none;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 122, 26, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.category-card:hover::after {
    opacity: 1;
}

.category-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.category-sub {
    color: var(--muted);
    font-size: 0.88rem;
}

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

.product-grid.single {
    grid-template-columns: minmax(240px, 360px);
    justify-content: start;
}

.product-types-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-types-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.9rem;
    margin: 0.4rem 0 0.3rem;
}

.product-types-sub {
    color: var(--muted);
    margin: 0;
    max-width: 520px;
}

.product-types-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    position: relative;
    z-index: 1;
}

.product-type-card {
    text-decoration: none;
    color: inherit;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    display: grid;
    grid-template-rows: 150px auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.18);
    border-color: rgba(14, 165, 160, 0.4);
}

.product-type-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 165, 160, 0.2), rgba(255, 255, 255, 0.9));
}

.product-type-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-type-fallback {
    width: 100%;
    height: 100%;
}

.product-type-body {
    padding: 1.1rem 1.2rem 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.product-type-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.product-type-meta {
    color: var(--muted);
    font-size: 0.88rem;
}

.product-type-cta {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent-dark);
    justify-self: end;
}

.category-types-group {
    margin-bottom: 3rem;
}

.category-types-card {
    position: relative;
    padding: 1.6rem 1.7rem 1.9rem;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
}

.category-types-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    filter: saturate(1.1);
    transform: scale(1.05);
}

.category-types-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.5));
    pointer-events: none;
}

.category-types-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.category-types-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.6rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.site-footer {
    background: radial-gradient(circle at top left, rgba(255, 214, 170, 0.35), #0f172a 55%);
    color: #e2e8f0;
    padding: 4rem 0 2.5rem;
}

.site-footer .brand-sub,
.site-footer .brand-name {
    color: #f8fafc;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: rgba(226, 232, 240, 0.75);
    margin: 1rem 0 1.25rem;
    max-width: 360px;
}

.footer-contact {
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.8);
}

.footer-contact i {
    margin-right: 0.4rem;
    color: var(--accent);
}

.footer-title {
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: #f8fafc;
}

.footer-link {
    display: block;
    text-decoration: none;
    color: rgba(226, 232, 240, 0.75);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.footer-link:hover {
    color: #fff;
}

.footer-sub {
    color: rgba(226, 232, 240, 0.7);
    margin: 0 0 1rem;
}

.footer-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
}

.footer-form input {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 0.6rem 0.8rem;
    background: rgba(15, 23, 42, 0.35);
    color: #f8fafc;
}

.footer-form input::placeholder {
    color: rgba(226, 232, 240, 0.6);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(255, 122, 26, 0.3);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    text-decoration: none;
    color: rgba(226, 232, 240, 0.7);
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 720px) {
    .product-types-head {
        align-items: flex-start;
    }

    .footer-form {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 0.75rem;
    position: relative;
}

.catalog-card {
    padding: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    border-color: rgba(14, 165, 160, 0.35);
}

.catalog-card-media {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 165, 160, 0.2), rgba(255, 255, 255, 0.9));
}

.catalog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-card-fallback {
    width: 100%;
    height: 100%;
}

.catalog-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.55) 100%);
    pointer-events: none;
}

.catalog-card-price {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.catalog-card-body {
    padding: 1rem 1.1rem 0.6rem;
    display: grid;
    gap: 0.4rem;
}

.catalog-card-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.catalog-card-meta {
    color: var(--muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.catalog-card-meta .dot {
    color: rgba(100, 116, 139, 0.6);
}

.catalog-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 1.1rem 1.1rem;
}

.catalog-card-actions a {
    margin-left: auto;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-link:focus-visible {
    outline: 2px solid rgba(255, 122, 26, 0.6);
    outline-offset: 4px;
    border-radius: 20px;
}

.product-card-link:hover .product-card {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.18);
}

.product-thumb {
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gradient-one {
    background: linear-gradient(135deg, #ffd4a3, #ffe7d0);
}

.gradient-two {
    background: linear-gradient(135deg, #c6f6d5, #d1fae5);
}

.gradient-three {
    background: linear-gradient(135deg, #bfdbfe, #dbeafe);
}

.gradient-four {
    background: linear-gradient(135deg, #fbcfe8, #fce7f3);
}

.product-title {
    font-weight: 700;
}

.product-meta {
    color: var(--muted);
    font-size: 0.85rem;
}

.product-card-actions {
    justify-content: flex-end;
    width: 100%;
}

.storefront-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.2rem 1.4rem;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.12);
    margin-bottom: 1.5rem;
}

.storefront-media {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 122, 26, 0.15);
    display: grid;
    place-items: center;
    overflow: hidden;
    font-weight: 700;
}

.storefront-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.storefront-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--muted);
}

.storefront-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.storefront-sub {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .storefront-card {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

.product-card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-card .btn,
.product-card .btn-group,
.product-card .d-flex {
    position: relative;
    z-index: 2;
}

.product-cta {
    margin-top: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
}

.product-price {
    font-weight: 700;
}

.product-detail {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

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

.product-hero {
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.product-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-thumbs img {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.product-info h1 {
    margin: 0.4rem 0 1rem;
}

.product-vendor {
    margin: 1.5rem 0;
}

.vendor-title {
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--muted);
}

.vendor-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    text-decoration: none;
    width: fit-content;
}

.vendor-name:hover {
    color: var(--accent);
    text-decoration: underline;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.profile-dropdown {
    position: relative;
}

.dropdown-caret {
    font-size: 0.75rem;
    margin-left: 0.15rem;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 180px;
    background: #fff;
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    display: none;
    z-index: 10;
}

.dropdown-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    color: var(--ink);
    font-weight: 600;
    display: block;
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(15, 23, 42, 0.06);
}

.profile-dropdown:hover .dropdown-menu,
.profile-dropdown:focus-within .dropdown-menu {
    display: block;
}

.cap-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth {
    background: radial-gradient(circle at 10% 20%, #ffe9d8, #f6f9ff 60%, #d7f0e6 100%);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.auth-shell-full {
    grid-template-columns: 1fr;
}

.auth-left {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.auth-left-full {
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.auth-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 28px;
    box-shadow: var(--shadow);
    max-width: 460px;
}

.auth-card-wide {
    max-width: none;
    width: 100%;
}

.auth-card-header {
    text-align: center;
}

.auth-card-wide form {
    text-align: left;
}

.onboard-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.form-section {
    background: rgba(15, 23, 42, 0.04);
    border-radius: 20px;
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
}

.form-section-title {
    font-weight: 700;
    font-size: 1rem;
}

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

.form-grid .full {
    grid-column: 1 / -1;
}

.form-section.full-span {
    grid-column: 1 / -1;
}

.onboard-actions {
    display: grid;
    gap: 1rem;
    justify-items: start;
}

.onboard-action-row {
    display: flex;
    gap: 0.75rem;
}

.onboard-submit {
    padding: 0.85rem 1.6rem;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(255, 122, 26, 0.35);
}

.rfq-actions {
    width: 100%;
}

.rfq-action-row {
    gap: 1rem;
    align-items: center;
}

.rfq-actions .btn {
    border-radius: 14px;
    padding: 0.8rem 1.4rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rfq-back {
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--ink);
}

.rfq-back:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 720px) {
    .rfq-action-row {
        flex-direction: column;
        align-items: stretch;
    }
    .rfq-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


.auth-right {
    background: linear-gradient(140deg, #0f172a, #1e293b);
    color: #fff;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-panel {
    max-width: 360px;
}

.auth-panel h2 {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    margin: 0.5rem 0 1.5rem;
}

.demo-list {
    display: grid;
    gap: 1rem;
}

.demo-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
}

.demo-role {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.auth-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

body.console .app-shell {
    height: 100vh;
}

.side-nav {
    width: 260px;
    padding: 2rem 1.5rem;
    background: linear-gradient(160deg, #1d2233, #111827);
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    flex-shrink: 0;
}

.vendor-theme .side-nav {
    background: linear-gradient(160deg, #12302b, #0f172a);
}

.customer-theme .side-nav {
    background: linear-gradient(160deg, #1f2a44, #0f172a);
}

.nav-section {
    display: grid;
    gap: 0.5rem;
}

.nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: #94a3b8;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-link.active {
    background: rgba(255, 122, 26, 0.2);
    color: #fff;
    font-weight: 600;
}

.nav-footer {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
}

.nav-bottom {
    margin-top: auto;
    display: grid;
    gap: 0.75rem;
}

.nav-logout {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.nav-logout:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
}

.status-dot.alt {
    background: #38bdf8;
}

.content {
    flex: 1;
    padding: 2rem 2.25rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    margin-left: 260px;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.vendor-theme .content {
    background: linear-gradient(180deg, #f3faf7, #e7f6f0 100%);
}

.customer-theme .content {
    background: linear-gradient(180deg, #f8fafc, #edf2ff 100%);
}

.topbar {
    margin-bottom: 2.5rem;
    position: sticky;
    top: 0.75rem;
    z-index: 5;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.topbar-left {
    gap: 1rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: var(--ink);
    display: block;
}

.nav-toggle:hover {
    border-color: rgba(148, 163, 184, 0.5);
    transform: translateY(-1px);
}

.nav-backdrop {
    display: none;
}

.page-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
    margin: 0;
}

.user-pill {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.user-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
}

.side-user {
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.side-user-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.9rem;
    word-break: break-all;
}

.side-user-text {
    display: grid;
    gap: 0.1rem;
}

.side-user-role {
    font-size: 0.75rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.7);
}

.brand-mark.brand-mark-sm {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.glass-card {
    background: var(--glass);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.catalog-shell {
    display: grid;
    gap: 2rem;
}

.catalog-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 2.2rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(140deg, rgba(14, 165, 160, 0.16), rgba(255, 255, 255, 0.9));
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
}

.catalog-hero::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.3), rgba(255, 122, 26, 0));
    top: -90px;
    right: 18%;
    opacity: 0.8;
}

.catalog-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 30%;
    background: radial-gradient(circle, rgba(14, 165, 160, 0.35), rgba(14, 165, 160, 0));
    bottom: -140px;
    left: 8%;
}

.catalog-hero-main,
.catalog-hero-actions {
    position: relative;
    z-index: 1;
}

.catalog-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6);
}

.catalog-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 0.4rem 0 0.4rem;
}

.catalog-subtitle {
    color: var(--muted);
    margin: 0;
    max-width: 460px;
}

.catalog-stat-row {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.catalog-stat {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 0.6rem 0.9rem;
    display: grid;
    gap: 0.2rem;
    min-width: 130px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.catalog-stat span {
    font-size: 0.7rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.5);
}

.catalog-stat strong {
    font-size: 1.25rem;
    font-weight: 700;
}

.catalog-hero-actions {
    display: grid;
    gap: 0.65rem;
    justify-items: end;
}

.catalog-hero-note {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.6);
    max-width: 240px;
    text-align: right;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.catalog-menu {
    display: grid;
    gap: 1.5rem;
    position: sticky;
    top: 1.25rem;
}

.catalog-menu-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 22px;
    padding: 1.4rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.menu-title {
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.menu-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.3);
}

.menu-metric:last-of-type {
    border-bottom: none;
}

.menu-metric span {
    font-size: 0.85rem;
    color: var(--muted);
}

.menu-metric strong {
    font-size: 1rem;
}

.menu-tip {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(15, 23, 42, 0.65);
    background: rgba(14, 165, 160, 0.08);
    border-radius: 12px;
    padding: 0.6rem 0.7rem;
}

.catalog-table-card {
    padding: 1.6rem;
}

.catalog-table-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.catalog-table-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
}

.catalog-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.catalog-table-card .table thead th {
    font-size: 0.7rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.catalog-table-card .table tbody tr:hover {
    background: rgba(15, 23, 42, 0.02);
}

.catalog-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.catalog-table-footer .dataTables_info {
    color: var(--muted);
    font-size: 0.85rem;
}

.catalog-table-footer .pagination {
    margin: 0;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.grid-2 {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-bottom: 2rem;
}

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

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

.stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0.3rem;
}

.stat-trend {
    font-size: 0.8rem;
    color: var(--muted);
}

.stat-trend.up {
    color: #15803d;
    font-weight: 600;
}

.map-card {
    display: grid;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(226, 232, 240, 0.6));
    padding: 1.2rem;
    border-radius: 18px;
}

.map-title {
    font-weight: 600;
}

.map-pill {
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
}

.task-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.task-list li:last-child {
    border-bottom: none;
}

.section-stack > section + section {
    margin-top: 2rem;
}

.report-metric-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.report-metric-list li span:last-child {
    white-space: nowrap;
}

.chart-placeholder {
    height: 160px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(14, 165, 160, 0.2), rgba(255, 255, 255, 0.9));
    display: grid;
    place-items: center;
    font-weight: 600;
}

.chart-label {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

.category-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #fff;
}

.icon-actions {
    display: inline-flex;
    gap: 0.4rem;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.icon-btn i {
    font-size: 1rem;
    color: var(--ink);
}

.icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.icon-btn.danger {
    border-color: rgba(239, 68, 68, 0.4);
}

.icon-btn.danger i {
    color: #dc2626;
}

.hero-table tbody tr.dragging {
    opacity: 0.6;
}

.hero-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    color: var(--muted);
    cursor: grab;
}

.hero-handle:active {
    cursor: grabbing;
}

.settings-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.settings-tab {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-weight: 600;
    color: var(--ink);
    cursor: default;
}

.settings-tab.active {
    background: var(--ink);
    color: #fff;
    border-color: transparent;
}

.settings-panel {
    padding: 1.6rem;
}

.settings-panel {
    display: none;
}

.settings-panel.active {
    display: block;
}

.settings-inline-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.settings-inline-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.settings-inline-actions .form-control {
    width: 120px;
}

.settings-block-form {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
    margin-bottom: 1.5rem;
}

.settings-block-fields {
    width: 100%;
}

.stats-field-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 1rem;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.faq-item {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #fff;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.9rem 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, padding 0.2s ease;
    color: var(--muted);
}

.faq-item.open .faq-answer {
    padding: 0 1rem 1rem;
    max-height: 240px;
}

.contact-row.unopened td {
    background: rgba(255, 122, 26, 0.12);
}

.contact-row.opened td {
    background: rgba(15, 23, 42, 0.02);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.2rem;
}

.detail-message {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
}

.story-snippet {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-meta {
    margin-top: 0.6rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.story-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.story-submit-card {
    margin-top: 1.25rem;
}

.story-list-card {
    margin-top: 1.25rem;
}

.story-item {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 0.25rem;
}

.story-item-title {
    font-weight: 600;
}

.customer-theme .content > section + section {
    margin-top: 1.5rem;
}

.vendor-theme .content > section + section {
    margin-top: 1.5rem;
}

.product-gallery-row {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.product-thumb-stack {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.product-thumb-stack img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.thumb-actions {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.thumb-actions .icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.modal-gallery {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.modal-thumb {
    background: rgba(15, 23, 42, 0.04);
    border-radius: 14px;
    padding: 0.6rem;
    display: grid;
    gap: 0.5rem;
}

.modal-thumb img {
    width: 100%;
    height: 110px;
    border-radius: 10px;
    object-fit: cover;
}

.modal-thumb-actions {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.alert-card {
    background: rgba(15, 23, 42, 0.05);
    border-radius: 14px;
    padding: 0.9rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.stagger > * {
    animation: fadeUp 0.6s ease both;
}

.stagger > *:nth-child(2) {
    animation-delay: 0.1s;
}

.stagger > *:nth-child(3) {
    animation-delay: 0.2s;
}

.stagger > *:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .catalog-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-hero-actions {
        justify-items: start;
    }

    .catalog-hero-note {
        text-align: left;
    }
}

@media (max-width: 991px) {
    .content {
        padding: 1.75rem;
        margin-left: 220px;
    }

    .side-nav {
        width: 220px;
    }
}

@media (max-width: 992px) {
    .app-shell {
        flex-direction: column;
    }

    .side-nav {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 85%;
        max-width: 320px;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
        overflow-y: auto;
        overflow-x: hidden;
        transition: left 0.25s ease;
        z-index: 30;
    }

    .topbar {
        top: 0.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        align-items: center;
    }

    .content {
        margin-left: 0;
        height: auto;
        overflow: visible;
        padding: 1.75rem 1.25rem 2.5rem;
    }

    body.console {
        overflow: auto;
        height: auto;
    }

    body.console .app-shell {
        height: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        z-index: 20;
    }

    body.nav-open .side-nav {
        left: 0;
    }

    body.nav-open .nav-backdrop {
        display: block;
    }

    body.console.nav-open {
        overflow: hidden;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-menu {
        position: static;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 2rem 0 3rem;
        min-height: auto;
    }

    .landing-nav .nav-actions {
        width: 100%;
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .landing-nav .btn {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5.4vw, 2.3rem);
    }

    .hero-card .glass-card {
        padding: 1.5rem;
    }

    .search-panel {
        grid-template-columns: 1fr;
    }

    .hero-stats-card {
        padding: 1.2rem 1.1rem;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.9rem;
    }

    .hero-stat-value {
        font-size: 1.1rem;
    }

    .hero-stats-cta {
        width: 100%;
    }

    .hero-metrics {
        gap: 0.75rem;
    }

    .metric {
        flex: 1 1 140px;
    }

    .auth-left,
    .auth-right {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 2rem;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-grid,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 1.25rem 1rem 2rem;
    }

    .catalog-hero {
        padding: 1.6rem;
    }
}
