:root {
    --glass-bg: rgba(10, 11, 16, 0.65);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --neon-blue: #00e6ff;
    --neon-pink: #d24bff;
    --neon-blue-rgb: 0, 230, 255;
    --neon-pink-rgb: 210, 75, 255;
    --neon-glow: 0 0 15px rgba(var(--neon-blue-rgb), 0.5);
    --neon-glow-pink: 0 0 15px rgba(var(--neon-pink-rgb), 0.5);
    --bg-dark: #0b1224;
    --card-bg: #0f1b3a;
    --text-main: #ffffff;
    --text-muted: #9fb3ce;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Animations for Scrollytelling */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.fade-in-up {
    transform: translateY(30px);
}

.slide-right {
    transform: translateX(-30px);
}

.fade-in {
    transform: translateY(0);
}

/* Glassmorphism & Soft UI */
.glass-effect, .glass-panel {
    background:
        linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
        linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.24), rgba(var(--neon-pink-rgb), 0.2)) border-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent;
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

.glass-card {
    background:
        linear-gradient(rgba(10, 11, 16, 0.55), rgba(10, 11, 16, 0.55)) padding-box,
        linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.22), rgba(var(--neon-pink-rgb), 0.18)) border-box;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
    border-color: var(--neon-blue);
}

.glass-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-main) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.glass-input:focus {
    border-color: var(--neon-blue) !important;
    box-shadow: var(--neon-glow) !important;
    background: rgba(var(--neon-blue-rgb), 0.05) !important;
    outline: none;
}

/* Hover Effects */
.hover-elevate {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-elevate:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), var(--neon-glow);
}

.hover-glow {
    transition: box-shadow 0.3s ease, opacity 0.2s ease;
}

.hover-glow:hover {
    box-shadow: var(--neon-glow);
}

/* Scrollytelling Hero */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.catalog-hero-scrolly {
    position: relative;
    overflow: hidden;
    padding: 2.3rem 2.2rem;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.15fr);
    align-items: center;
    gap: 1.35rem;
    text-align: left;
    background: radial-gradient(circle at 10% 80%, rgba(var(--neon-blue-rgb), 0.3) 0%, transparent 50%),
                radial-gradient(circle at 90% 20%, rgba(var(--neon-pink-rgb), 0.25) 0%, transparent 50%),
                var(--card-bg);
    border-radius: 16px;
    border: 1px solid transparent;
    margin: 1rem 0 1.25rem;
    width: 100%;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.58);
}

.catalog-hero-scrolly::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
    z-index: 0;
    pointer-events: none;
}

.catalog-hero-scrolly::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: linear-gradient(135deg, transparent 35%, rgba(199, 34, 255, 0.22) 50%, transparent 65%);
    transform: rotate(-10deg);
    opacity: 0.85;
    pointer-events: none;
}

.catalog-hero-scrolly > * {
    position: relative;
    z-index: 1;
}

.catalog-hero-scrolly h1 {
    margin: 0;
    font-size: clamp(2.05rem, 2.8vw, 2.85rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 26px rgba(255, 255, 255, 0.22);
}

.catalog-hero-scrolly p {
    margin: 0.58rem 0 0;
    max-width: 510px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.45;
}

.catalog-hero-scrolly .btn.primary {
    background: linear-gradient(90deg, rgba(var(--neon-blue-rgb), 0.2), rgba(var(--neon-pink-rgb), 0.52));
    border-color: rgba(var(--neon-blue-rgb), 0.55);
    box-shadow: 0 0 22px rgba(var(--neon-blue-rgb), 0.32), 0 0 26px rgba(var(--neon-pink-rgb), 0.22);
}

.catalog-hero-scrolly .btn.primary:hover {
    background: linear-gradient(90deg, rgba(var(--neon-blue-rgb), 0.28), rgba(var(--neon-pink-rgb), 0.64));
    box-shadow: 0 0 30px rgba(var(--neon-blue-rgb), 0.4), 0 0 34px rgba(var(--neon-pink-rgb), 0.28);
}

.narrative-section {
    text-align: center;
    padding: 4rem 2rem;
    background: transparent;
    border: none;
}

.narrative-section h2 {
    font-size: 2.5rem;
    background: -webkit-linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
}

button,
input,
select,
textarea {
    font: inherit;
}

button, .btn {
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
}

button:hover, .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

button.primary, .btn.primary {
    background: rgba(var(--neon-blue-rgb), 0.1);
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

button.primary:hover, .btn.primary:hover {
    background: rgba(var(--neon-blue-rgb), 0.2);
    box-shadow: 0 0 25px rgba(var(--neon-blue-rgb), 0.6);
}

.ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.small {
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
}

.danger {
    background: rgba(255, 50, 50, 0.1);
    color: #ff3232;
    border: 1px solid rgba(255, 50, 50, 0.3);
}

.shell {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-width: 0;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at center, #020617, #0f172a);
}

.shell,
.public-header,
.public-main,
.footer {
    position: relative;
    z-index: 1;
}

.bg .icon {
    position: absolute;
    width: 45px;
    height: 45px;
    opacity: 0.18;
    animation: bgFloat 12s infinite ease-in-out;
}

.bg .icon svg {
    width: 100%;
    height: 100%;
    stroke: #22d3ee;
    fill: none;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.6));
}

.bg .draw {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: bgDrawLoop 6s ease-in-out infinite;
}

.bg .i1 .draw {
    animation-delay: 0s;
}

.bg .i2 .draw {
    animation-delay: 1s;
}

.bg .i3 .draw {
    animation-delay: 2s;
}

.bg .i4 .draw {
    animation-delay: 3s;
}

.bg .i5 .draw {
    animation-delay: 4s;
}

.bg .i6 .draw {
    animation-delay: 5s;
}

@keyframes bgDrawLoop {
    0% {
        stroke-dashoffset: 120;
        opacity: 0.3;
    }
    40% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    80% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 120;
        opacity: 0.3;
    }
}

@keyframes bgFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0px);
    }
}

.bg .i1 {
    top: 10%;
    left: 10%;
}

.bg .i2 {
    top: 20%;
    right: 15%;
}

.bg .i3 {
    bottom: 15%;
    left: 20%;
}

.bg .i4 {
    top: 50%;
    left: 5%;
}

.bg .i5 {
    bottom: 10%;
    right: 10%;
}

.bg .i6 {
    top: 70%;
    right: 30%;
}

@media (prefers-reduced-motion: reduce) {
    .bg .icon,
    .bg .draw {
        animation: none !important;
    }
}

@media (max-width: 560px) {
    .bg .icon {
        opacity: 0.14;
        width: 38px;
        height: 38px;
    }
}

body.admin-body {
    background: radial-gradient(circle at top, #1e293b, #020617);
}

body.admin-body:not(.admin-authenticated) .shell {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
}

body.admin-body:not(.admin-authenticated) .sidebar {
    flex: 1;
    padding: 60px;
    background: transparent;
    border-right: none;
    justify-content: center;
    gap: 25px;
}

body.admin-body:not(.admin-authenticated) .sidebar h1 {
    font-size: 2.5rem;
    margin: 0;
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

body.admin-body:not(.admin-authenticated) .sidebar .muted {
    opacity: 0.7;
}

body.admin-body:not(.admin-authenticated) .admin-login-catalog {
    margin-top: 25px;
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    width: fit-content;
}

body.admin-body:not(.admin-authenticated) .admin-login-catalog:hover {
    transform: none;
    box-shadow: none;
}

body.admin-body:not(.admin-authenticated) .content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

body.admin-body:not(.admin-authenticated) .admin-login-view {
    width: 100%;
    display: flex;
    justify-content: center;
}

body.admin-body:not(.admin-authenticated) .admin-login-view .card {
    width: min(380px, 100%);
    padding: clamp(22px, 5vw, 40px);
    border-radius: clamp(16px, 4vw, 20px);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: adminFadeUp 0.6s ease;
}

body.admin-body:not(.admin-authenticated) .admin-login-view .card h2 {
    text-align: center;
    margin: 0 0 10px;
    color: #22d3ee;
}

body.admin-body:not(.admin-authenticated) .admin-login-view .card > p {
    text-align: center;
    opacity: 0.6;
    margin: 0 0 25px;
}

body.admin-body:not(.admin-authenticated) .admin-login-form .input-group {
    margin-bottom: 15px;
}

body.admin-body:not(.admin-authenticated) .admin-login-form input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

body.admin-body:not(.admin-authenticated) .admin-login-form input:focus {
    outline: 2px solid rgba(34, 211, 238, 0.55);
    outline-offset: 2px;
}

body.admin-body:not(.admin-authenticated) .admin-login-form .btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #22d3ee, #6366f1);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

body.admin-body:not(.admin-authenticated) .admin-login-form .btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #22d3ee;
}

body.admin-body:not(.admin-authenticated) .admin-login-form .extra {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
}

body.admin-body:not(.admin-authenticated) .admin-login-form .admin-login-forgot {
    color: #22d3ee;
    text-decoration: none;
}

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

@media (max-width: 900px) {
    body.admin-body:not(.admin-authenticated) .shell {
        flex-direction: column;
        height: auto;
    }

    body.admin-body:not(.admin-authenticated) .sidebar {
        padding: 42px 24px 24px;
        align-items: center;
        text-align: center;
    }

    body.admin-body:not(.admin-authenticated) .content {
        padding: 24px;
    }
}

.sidebar {
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    min-width: 0;
}

.sidebar h1 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: var(--neon-blue);
    text-shadow: var(--neon-glow);
}

.sidebar .admin-login-catalog + .session-card {
    margin-top: 1rem;
}

.sidebar .session-card {
    width: 100%;
}

.muted {
    color: var(--text-muted);
}

.nav {
    display: grid;
    gap: 0.75rem;
}

.nav-link {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.nav-link.active {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

/* Admin Nav v1.0 (2026-04-14) */
body.admin-body.admin-authenticated .content {
    padding-top: 1.35rem;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.65rem 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.65) 60%, rgba(2, 6, 23, 0));
    backdrop-filter: blur(8px);
}

.admin-nav-wrapper {
    flex: 1 1 auto;
    min-width: 0;
}

body.admin-body.admin-authenticated .admin-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

body.admin-body.admin-authenticated .admin-nav::-webkit-scrollbar {
    display: none;
}

body.admin-body.admin-authenticated .admin-nav .nav-indicator {
    position: absolute;
    height: 38px;
    border-radius: 999px;
    top: 6px;
    left: 6px;
    width: 120px;
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.22);
    transition: transform 0.28s ease, width 0.28s ease;
    pointer-events: none;
}

body.admin-body.admin-authenticated .admin-nav .nav-link {
    position: relative;
    z-index: 2;
    width: auto;
    min-height: 38px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.18s ease, background 0.18s ease;
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="categories"] {
    display: none !important;
}

body.admin-body.admin-authenticated .admin-nav .nav-link::before {
    content: "";
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.52);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex: 0 0 auto;
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="dashboard"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M3%2013h8V3H3v10zm0%208h8v-6H3v6zm10%200h8V11h-8v10zm0-18v6h8V3h-8z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M3%2013h8V3H3v10zm0%208h8v-6H3v6zm10%200h8V11h-8v10zm0-18v6h8V3h-8z%27/%3E%3C/svg%3E");
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="products"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M21%207l-9-5-9%205v10l9%205%209-5V7zm-9%2013.3L5%2017V9l7%203.7v7.6zm1-7.6L20%209v8l-7%203.3v-7.6zM12%2011.6L5.7%208.2%2012%204.8l6.3%203.4L12%2011.6z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M21%207l-9-5-9%205v10l9%205%209-5V7zm-9%2013.3L5%2017V9l7%203.7v7.6zm1-7.6L20%209v8l-7%203.3v-7.6zM12%2011.6L5.7%208.2%2012%204.8l6.3%203.4L12%2011.6z%27/%3E%3C/svg%3E");
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="categories"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M10%203H3v7h7V3zm11%200h-7v7h7V3zM10%2014H3v7h7v-7zm11%200h-7v7h7v-7z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M10%203H3v7h7V3zm11%200h-7v7h7V3zM10%2014H3v7h7v-7zm11%200h-7v7h7v-7z%27/%3E%3C/svg%3E");
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="requisitions"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M7%2018c-1.1%200-1.99.9-1.99%202S5.9%2022%207%2022s2-.9%202-2-.9-2-2-2zm10%200c-1.1%200-1.99.9-1.99%202S15.9%2022%2017%2022s2-.9%202-2-.9-2-2-2zM7.16%2014h9.64c.75%200%201.4-.41%201.74-1.03L21%206H6.21L5.27%204H2v2h2l3.6%207.59-1.35%202.44C5.52%2017.37%206.48%2019%208%2019h12v-2H8l1.16-2z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M7%2018c-1.1%200-1.99.9-1.99%202S5.9%2022%207%2022s2-.9%202-2-.9-2-2-2zm10%200c-1.1%200-1.99.9-1.99%202S15.9%2022%2017%2022s2-.9%202-2-.9-2-2-2zM7.16%2014h9.64c.75%200%201.4-.41%201.74-1.03L21%206H6.21L5.27%204H2v2h2l3.6%207.59-1.35%202.44C5.52%2017.37%206.48%2019%208%2019h12v-2H8l1.16-2z%27/%3E%3C/svg%3E");
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="billing"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M20%204H4c-1.11%200-1.99.89-1.99%202L2%2018c0%201.11.89%202%202%202h16c1.11%200%202-.89%202-2V6c0-1.11-.89-2-2-2zm0%2014H4v-6h16v6zm0-10H4V6h16v2z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M20%204H4c-1.11%200-1.99.89-1.99%202L2%2018c0%201.11.89%202%202%202h16c1.11%200%202-.89%202-2V6c0-1.11-.89-2-2-2zm0%2014H4v-6h16v6zm0-10H4V6h16v2z%27/%3E%3C/svg%3E");
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="renewals"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12%206V3L8%207l4%204V8c2.21%200%204%201.79%204%204%200%20.37-.05.72-.14%201.06l1.53%201.53C17.93%2014.16%2018%2013.59%2018%2013c0-3.31-2.69-6-6-6zm-4%206c0-.37.05-.72.14-1.06L6.61%209.41C6.27%2010.16%206%2010.79%206%2011.41%206%2014.72%208.69%2017.41%2012%2017.41V21l4-4-4-4v3c-2.21%200-4-1.79-4-4z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12%206V3L8%207l4%204V8c2.21%200%204%201.79%204%204%200%20.37-.05.72-.14%201.06l1.53%201.53C17.93%2014.16%2018%2013.59%2018%2013c0-3.31-2.69-6-6-6zm-4%206c0-.37.05-.72.14-1.06L6.61%209.41C6.27%2010.16%206%2010.79%206%2011.41%206%2014.72%208.69%2017.41%2012%2017.41V21l4-4-4-4v3c-2.21%200-4-1.79-4-4z%27/%3E%3C/svg%3E");
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="subscription"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M19.14%2012.94c.04-.31.06-.63.06-.94s-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.11-.2-.36-.28-.57-.2l-2.39.96c-.5-.38-1.04-.7-1.63-.94l-.36-2.54A.49.49%200%200%200%2014%202h-4c-.24%200-.44.17-.48.41l-.36%202.54c-.59.24-1.13.56-1.63.94l-2.39-.96c-.21-.08-.46%200-.57.2L2.65%208.87c-.11.2-.06.47.12.61l2.03%201.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03%201.58c-.18.14-.23.41-.12.61l1.92%203.32c.11.2.36.28.57.2l2.39-.96c.5.38%201.04.7%201.63.94l.36%202.54c.04.24.24.41.48.41h4c.24%200%20.44-.17.48-.41l.36-2.54c.59-.24%201.13-.56%201.63-.94l2.39.96c.21.08.46%200%20.57-.2l1.92-3.32c.11-.2.06-.47-.12-.61l-2.03-1.58zM12%2015.5c-1.93%200-3.5-1.57-3.5-3.5s1.57-3.5%203.5-3.5%203.5%201.57%203.5%203.5-1.57%203.5-3.5%203.5z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M19.14%2012.94c.04-.31.06-.63.06-.94s-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.11-.2-.36-.28-.57-.2l-2.39.96c-.5-.38-1.04-.7-1.63-.94l-.36-2.54A.49.49%200%200%200%2014%202h-4c-.24%200-.44.17-.48.41l-.36%202.54c-.59.24-1.13.56-1.63.94l-2.39-.96c-.21-.08-.46%200-.57.2L2.65%208.87c-.11.2-.06.47.12.61l2.03%201.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03%201.58c-.18.14-.23.41-.12.61l1.92%203.32c.11.2.36.28.57.2l2.39-.96c.5.38%201.04.7%201.63.94l.36%202.54c.04.24.24.41.48.41h4c.24%200%20.44-.17.48-.41l.36-2.54c.59-.24%201.13-.56%201.63-.94l2.39.96c.21.08.46%200%20.57-.2l1.92-3.32c.11-.2.06-.47-.12-.61l-2.03-1.58zM12%2015.5c-1.93%200-3.5-1.57-3.5-3.5s1.57-3.5%203.5-3.5%203.5%201.57%203.5%203.5-1.57%203.5-3.5%203.5z%27/%3E%3C/svg%3E");
}

body.admin-body.admin-authenticated .admin-nav .nav-link[data-view="admin"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12%2012c2.21%200%204-1.79%204-4s-1.79-4-4-4-4%201.79-4%204%201.79%204%204%204zm0%202c-2.67%200-8%201.34-8%204v2h16v-2c0-2.66-5.33-4-8-4z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12%2012c2.21%200%204-1.79%204-4s-1.79-4-4-4-4%201.79-4%204%201.79%204%204%204zm0%202c-2.67%200-8%201.34-8%204v2h16v-2c0-2.66-5.33-4-8-4z%27/%3E%3C/svg%3E");
}

body.admin-body.admin-authenticated .admin-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(34, 211, 238, 0.9);
}

body.admin-body.admin-authenticated .admin-nav .nav-link:hover::before {
    background: rgba(34, 211, 238, 0.85);
}

body.admin-body.admin-authenticated .admin-nav .nav-link.active {
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.admin-body.admin-authenticated .admin-nav .nav-link.active::before {
    background: rgba(255, 255, 255, 0.92);
}

body.admin-body.admin-authenticated .admin-nav .nav-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.admin-topbar-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-topbar-right .admin-presence-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-topbar-right .admin-presence-badge strong {
    color: var(--neon-blue);
    font-weight: 900;
}

.admin-topbar-right .session-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

.admin-topbar-right .session-card strong {
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-topbar-right .session-card span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
}

.admin-topbar-right .session-card .badge {
    margin-left: 0.15rem;
}

.admin-topbar-right .session-card button.ghost {
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
    body.admin-body.admin-authenticated .admin-nav {
        scroll-behavior: auto;
    }

    body.admin-body.admin-authenticated .admin-nav .nav-indicator,
    body.admin-body.admin-authenticated .admin-nav .nav-link {
        transition: none;
    }
}

@media (max-width: 980px) {
    .admin-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .admin-topbar-right {
        justify-content: space-between;
    }

    .admin-topbar-right .session-card span:nth-of-type(2) {
        display: none;
    }
}

.sidebar-footer {
    display: grid;
    gap: 1rem;
}

.session-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.session-card:hover {
    border-color: var(--neon-pink);
    box-shadow: var(--neon-glow-pink);
}

.content {
    padding: 2rem;
    min-width: 0;
    overflow: visible;
    overflow-x: hidden;
}

.panel,
.metric-card,
.hint-card,
.message {
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.panel {
    padding: 1.5rem;
    min-width: 0;
}

.auth-panel {
    max-width: 440px;
    margin: 4rem auto;
    padding: 2.5rem 2rem;
    border-radius: 24px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
    text-shadow: var(--neon-glow);
}

.auth-form {
    display: grid;
    gap: 1.25rem;
}

.auth-form label {
    display: grid;
    gap: 0.5rem;
}

.auth-form input {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
    background: rgba(0, 240, 255, 0.05);
}

.auth-submit-button {
    margin-top: 0.5rem;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 14px;
}

.panel-header {
    margin-bottom: 1.25rem;
}

.panel-header h2,
.panel h3 {
    margin-top: 0;
}

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

.form-grid label {
    display: grid;
    gap: 0.45rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #020617;
    color: #e2e8f0;
}

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

.actions {
    display: flex;
    gap: 0.75rem;
    align-items: end;
}

.hint-grid,
.grid-two,
.metric-grid {
    display: grid;
    gap: 1rem;
}

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

.grid-two {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-bottom: 1rem;
}

#renewalsView .renewals-container {
    display: grid;
    gap: 1rem;
}

#renewalsView .panel {
    background: #0b1220;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

#renewalsView .renewals-heading h2 {
    margin: 0;
}

#renewalsView .renewals-subtitle {
    opacity: 0.6;
    margin: 0.25rem 0 0;
}

#renewalsView .renewals-kpis {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

#renewalsView .metric-card {
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #0b1220, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.45rem;
    text-align: center;
}

#renewalsView .metric-card span {
    opacity: 0.85;
}

#renewalsView .renewals-filters {
    padding: 0.9rem;
}

#renewalsView .renewals-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

#renewalsView .renewals-filter-form input,
#renewalsView .renewals-filter-form select {
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #050b16;
    color: #e2e8f0;
}

#renewalsView .renewals-filter-form input[type="date"] {
    min-width: 145px;
}

#renewalsView .renewals-filter-form input[name="requester"] {
    min-width: 180px;
    flex: 1 1 220px;
}

#renewalsView .renewals-tenant-field[disabled] {
    display: none;
}

#renewalsView .renewals-filter-form button {
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

#renewalsView .renewals-filter-form button:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18);
}

#renewalsView .renewals-new {
    background: rgba(34, 211, 238, 0.2);
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.45);
}

#renewalsView .renewals-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    align-items: start;
}

#renewalsView table {
    width: 100%;
}

#renewalsView th,
#renewalsView td {
    padding: 0.85rem 0.75rem;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

#renewalsView tbody tr {
    cursor: pointer;
}

#renewalsView tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

#renewalsView tbody tr:focus-within {
    outline: 1px solid rgba(34, 211, 238, 0.45);
    outline-offset: -2px;
}

@media (max-width: 980px) {
    #renewalsView .renewals-kpis {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    #renewalsView .renewals-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-filter-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
}

.dashboard-live-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 1.9rem;
}

.dashboard-live-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.dashboard-live-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dashboard-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-chart-card {
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.dashboard-chart-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.dashboard-chart-card canvas {
    width: 100%;
    height: 240px;
    border-radius: 14px;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), rgba(2, 6, 23, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.dashboard-table-grid {
    margin-top: 1rem;
}

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

.dashboard-v2-header h2 {
    margin: 0;
}

.dashboard-v2-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(2, 6, 23, 0.5);
}

.dashboard-v2-kpis .metric-card {
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.14), rgba(2, 6, 23, 0.92));
    border-color: rgba(148, 163, 184, 0.18);
}

.dashboard-v2-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.dashboard-v2-column {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.55);
    padding: 1rem;
    min-width: 0;
}

.dashboard-v2-column h3 {
    margin: 0 0 0.75rem 0;
}

.dashboard-v2-orders {
    display: grid;
    gap: 0.75rem;
}

.dashboard-v2-order {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.85);
    padding: 0.85rem 0.9rem;
    min-width: 0;
}

.dashboard-v2-order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.dashboard-v2-order-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
    min-width: 0;
}

.dashboard-v2-order-meta span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-v2-order-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.dashboard-v2-order-skeleton {
    height: 92px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.05), rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.05));
    background-size: 200% 100%;
    animation: dashboard-skeleton 1.2s ease-in-out infinite;
}

@keyframes dashboard-skeleton {
    0% { background-position: 0% 0; }
    100% { background-position: -200% 0; }
}

.dashboard-v2-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-v2-analytics-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.dashboard-v2-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: flex-end;
}

.dashboard-v2-filters input,
.dashboard-v2-filters select {
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.8);
    color: var(--text-main);
}

.dashboard-v2-live-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.5);
}

.dashboard-v2-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.dashboard-v2-chart {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.55);
    padding: 1rem;
}

.dashboard-v2-chart-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.dashboard-v2-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-v2-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.55);
    padding: 1rem;
    min-width: 0;
}

.dashboard-v2-card h4 {
    margin: 0 0 0.75rem 0;
}

.dashboard-v2-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.dashboard-v2-panel h3 {
    margin-top: 0;
}

@media (max-width: 980px) {
    .dashboard-v2-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .dashboard-v2-flow {
        grid-template-columns: 1fr;
    }
}

.dashboard-pro {
    padding: 1.25rem;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.12), rgba(2, 6, 23, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.18);
    margin-bottom: 1rem;
}

.dashboard-pro-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-pro-kpi {
    padding: 1.1rem 1.2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: transform 0.2s ease;
}

.dashboard-pro-kpi:hover {
    transform: translateY(-4px);
}

.dashboard-pro-kpi strong {
    display: block;
    font-size: 1.6rem;
    color: #22d3ee;
}

.dashboard-pro-kpi span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.95rem;
}

.dashboard-pro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.dashboard-pro-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
}

.dashboard-pro-spaced {
    margin-top: 1rem;
}

.dashboard-pro-table table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-pro-table th,
.dashboard-pro-table td {
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-pro-table th {
    text-align: left;
    color: rgba(226, 232, 240, 0.75);
    font-weight: 600;
}

.dashboard-pro-product-list {
    display: grid;
    gap: 0.75rem;
}

.dashboard-pro-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.4);
    min-width: 0;
}

.dashboard-pro-product-image {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.dashboard-pro-product-fallback {
    background: rgba(148, 163, 184, 0.1);
}

.dashboard-pro-product-meta {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 auto;
}

.dashboard-pro-product-meta strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-pro-product-metric {
    display: grid;
    justify-items: end;
    gap: 0.1rem;
    flex: 0 0 auto;
}

.dashboard-pro-product-skeleton {
    min-height: 64px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.05), rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.05));
    background-size: 200% 100%;
    animation: dashboard-skeleton 1.2s ease-in-out infinite;
}

.dashboard-pro-alert {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    margin-bottom: 0.65rem;
}

.dashboard-pro-tip {
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    margin-bottom: 0.65rem;
}

@media (max-width: 900px) {
    .dashboard-pro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .dashboard-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dashboard-live-toggle {
        padding-top: 0;
    }
}

.hint-card,
.metric-card {
    padding: 1rem 1.2rem;
}

.metric-card span,
.hint-card p {
    color: #94a3b8;
}

.metric-card strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.6rem;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: rgba(239, 68, 68, 0.7);
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

.field-modified:not([aria-invalid="true"]) {
    border-color: rgba(59, 130, 246, 0.75);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.message {
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}

.message.error {
    border-color: #7f1d1d;
    color: #fecaca;
}

.message.success {
    border-color: #14532d;
    color: #bbf7d0;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge.success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.badge.warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fde68a;
}

.badge.info {
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
}

.badge.danger {
    background: rgba(248, 113, 113, 0.15);
    color: #fecaca;
}

.badge.muted {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
}

.badge.clickable {
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: normal;
}

th {
    color: var(--text-muted);
}

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

.panel > [id$="Table"] {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.table-actions button,
.table-actions select {
    white-space: nowrap;
}

#adminView .grid-two + .grid-two {
    grid-template-columns: 1fr;
}

@media (min-width: 1700px) {
    #adminView .grid-two + .grid-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .panel > [id$="Table"] {
        overflow-x: hidden;
    }

    .panel > [id$="Table"] table {
        display: block;
    }

    .panel > [id$="Table"] thead {
        display: none;
    }

    .panel > [id$="Table"] tbody {
        display: grid;
        gap: 0.9rem;
    }

    .panel > [id$="Table"] tr {
        display: grid;
        gap: 0.25rem;
        padding: 0.9rem;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.04);
    }

    .panel > [id$="Table"] td {
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 0.75rem;
        padding: 0.35rem 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
        align-items: start;
    }

    .panel > [id$="Table"] td:last-child {
        border-bottom: 0;
    }

    .panel > [id$="Table"] td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-weight: 650;
        overflow-wrap: normal;
        word-break: normal;
    }

    .panel > [id$="Table"] td .tenant-admin {
        display: grid;
        gap: 0.5rem;
        justify-items: start;
    }

    .panel > [id$="Table"] td .tenant-admin button {
        justify-self: start;
    }

    .panel > [id$="Table"] td select {
        width: 100%;
        min-width: 0;
    }

    .panel > [id$="Table"] td button {
        width: fit-content;
        max-width: 100%;
    }
}

#productsView {
    --products-surface: #f5f7fb;
    --products-card: #ffffff;
    --products-border: #e6ebf3;
    --products-text: #0f172a;
    --products-muted: #6b7280;
    --products-brand: #f4b400;
    --products-brand-hover: #dba205;
    background: var(--products-surface);
    border-radius: 18px;
    padding: 1.25rem;
    color: var(--products-text);
}

#productsView .products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

#productsView .products-toolbar h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 850;
    color: #0b1220;
}

#productsView .products-add-btn {
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    background: var(--products-brand);
    border: 1px solid var(--products-brand);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(244, 180, 0, 0.26);
    transform: none;
}

#productsView .products-add-btn:hover {
    background: var(--products-brand-hover);
    border-color: var(--products-brand-hover);
    transform: none;
}

#productsView .products-layout {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

#productsView .panel {
    border: 1px solid var(--products-border);
    background: var(--products-card);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

#productsView .products-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

#productsView .products-form-header h3 {
    margin: 0;
    color: #0b1220;
}

#productsView .products-list-panel {
    padding: 0.9rem;
}

#productsView .products-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
    gap: 0.85rem;
    align-items: center;
}

#productsView .products-filter-form input,
#productsView .products-filter-form select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--products-border);
    background: #ffffff;
    color: #0f172a;
    padding: 0.75rem 0.9rem;
}

#productsView .products-filter-form input::placeholder {
    color: #9ca3af;
}

#productsView .products-filter-form input:focus,
#productsView .products-filter-form select:focus {
    outline: 3px solid rgba(79, 124, 255, 0.24);
    outline-offset: 1px;
}

#productsView .products-filter-form .products-filter-advanced,
#productsView .products-filter-form .products-filter-submit {
    display: none;
}

#productsView .form-grid input,
#productsView .form-grid select,
#productsView .form-grid textarea {
    border: 1px solid var(--products-border);
    background: #ffffff;
    color: #0f172a;
}

#productsView .form-grid input::placeholder,
#productsView .form-grid textarea::placeholder {
    color: #9ca3af;
}

#productsView .form-grid input:focus,
#productsView .form-grid select:focus,
#productsView .form-grid textarea:focus {
    outline: 3px solid rgba(79, 124, 255, 0.24);
    outline-offset: 1px;
}

#productsView .products-table-panel {
    padding: 0;
    overflow: hidden;
}

#productsView #productTable {
    overflow-x: auto;
    background: #ffffff;
}

#productsView .products-data-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
}

#productsView .products-data-table thead th {
    background: #ffffff;
    color: #64748b;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 750;
    border-bottom: 1px solid var(--products-border);
}

#productsView .products-data-table td {
    color: #0f172a;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

#productsView .products-data-table tbody tr:last-child td {
    border-bottom: 0;
}

#productsView .products-data-table tbody tr:hover td {
    background: #fbfdff;
}

#productsView .products-table-product {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

#productsView .products-table-avatar,
#productsView .products-table-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
}

#productsView .products-table-avatar-placeholder {
    display: inline-grid;
    place-items: center;
    background: #e2e8f0;
    color: #334155;
    font-weight: 700;
    font-size: 0.86rem;
}

#productsView .products-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

#productsView .products-status-pill.active {
    background: #dcfce7;
    color: #166534;
}

#productsView .products-status-pill.inactive {
    background: #fee2e2;
    color: #b91c1c;
}

#productsView .table-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: nowrap;
}

#productsView .products-action-link {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    font-weight: 650;
}

#productsView .products-action-link:hover {
    transform: none;
    text-decoration: underline;
}

#productsView .products-action-link.edit {
    color: #2563eb;
}

#productsView .products-action-link.delete {
    color: #ef4444;
}

#productsView .pagination button {
    border-radius: 10px;
    border: 1px solid var(--products-border);
    background: #ffffff;
    color: #1f2937;
    transform: none;
}

#productsView .pagination button:hover {
    transform: none;
    background: #f8fafc;
}

@media (max-width: 1024px) {
    #productsView .panel > #productTable {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    #productsView .products-data-table {
        min-width: 860px;
    }

    #productsView .panel > #productTable table {
        display: table;
    }

    #productsView .panel > #productTable thead {
        display: table-header-group;
    }

    #productsView .panel > #productTable tbody {
        display: table-row-group;
    }

    #productsView .panel > #productTable tr {
        display: table-row;
        border: 0;
        padding: 0;
        background: transparent;
    }

    #productsView .panel > #productTable td {
        display: table-cell;
        grid-template-columns: none;
        gap: 0;
        padding: 0.9rem 0.75rem;
        border-bottom: 1px solid #eef2f7;
    }

    #productsView .panel > #productTable td::before {
        content: none;
    }
}

@media (max-width: 720px) {
    #productsView {
        padding: 0.85rem;
    }

    #productsView .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    #productsView .products-toolbar h2 {
        font-size: 1.45rem;
    }

    #productsView .products-filter-form {
        grid-template-columns: 1fr;
    }

    #productsView .panel > #productTable {
        overflow-x: hidden;
    }

    #productsView .panel > #productTable table {
        display: block;
    }

    #productsView .panel > #productTable thead {
        display: none;
    }

    #productsView .panel > #productTable tbody {
        display: grid;
        gap: 0.85rem;
        padding: 0.85rem;
    }

    #productsView .panel > #productTable tr {
        display: grid;
        gap: 0.35rem;
        padding: 0.95rem;
        border-radius: 16px;
        border: 1px solid var(--products-border);
        background: #ffffff;
    }

    #productsView .panel > #productTable td {
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 0.75rem;
        padding: 0.35rem 0;
        border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
        align-items: start;
    }

    #productsView .panel > #productTable td:last-child {
        border-bottom: 0;
    }

    #productsView .panel > #productTable td::before {
        content: attr(data-label);
        color: var(--products-muted);
        font-weight: 700;
        overflow-wrap: normal;
        word-break: normal;
    }

    #productsView .products-table-product {
        min-width: 0;
    }

    #productsView .products-table-product strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #productsView .table-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

.products-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.products-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.products-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(2px);
}

.products-modal-card {
    position: relative;
    width: min(980px, 96vw);
    max-height: 92vh;
    border-radius: 18px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.38);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.products-modal.is-open .products-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.products-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.products-modal-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 850;
}

.products-modal-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(15, 23, 42, 0.55);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.products-modal-close:hover {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.85);
}

.products-modal-close:focus-visible {
    outline: 3px solid rgba(79, 124, 255, 0.25);
    outline-offset: 2px;
}

.products-modal-body {
    overflow: auto;
    padding: 1.05rem 1.1rem 1.15rem;
    background: #ffffff;
}

#productFormPanel .form-grid input,
#productFormPanel .form-grid select,
#productFormPanel .form-grid textarea {
    border: 1px solid #e6ebf3;
    background: #ffffff;
    color: #0f172a;
}

#productFormPanel .form-grid input::placeholder,
#productFormPanel .form-grid textarea::placeholder {
    color: #9ca3af;
}

#productFormPanel .form-grid input:focus,
#productFormPanel .form-grid select:focus,
#productFormPanel .form-grid textarea:focus {
    outline: 3px solid rgba(79, 124, 255, 0.24);
    outline-offset: 1px;
}

#productFormPanel .product-dynamic-fields {
    padding: 0.9rem 1rem 1rem;
    border: 1px solid #e6ebf3;
    border-radius: 14px;
    background: #f8fafc;
}

#productFormPanel .product-dynamic-fields-header h4 {
    margin: 0;
    color: #0f172a;
    font-size: 0.98rem;
}

#productFormPanel .product-dynamic-fields-header p {
    margin: 0.25rem 0 0.75rem;
    color: #475569;
    font-size: 0.86rem;
}

#productFormPanel .product-dynamic-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

#productFormPanel .product-dynamic-field {
    display: grid;
    gap: 0.4rem;
}

#productFormPanel .product-dynamic-field > span {
    color: #334155;
    font-size: 0.86rem;
    font-weight: 600;
}

#productFormPanel .product-dynamic-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    justify-self: start;
}

#productFormPanel .product-assets-card {
    background: #ffffff;
    border: 1px solid #e6ebf3;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
    transform: none;
}

#productFormPanel .product-assets-card:hover {
    transform: none;
    border-color: rgba(79, 124, 255, 0.35);
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.08);
}

#productFormPanel .upload-dropzone {
    min-height: 140px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    box-shadow: none;
    transform: none;
}

#productFormPanel .upload-dropzone:hover,
#productFormPanel .upload-dropzone.dragging {
    border-color: rgba(79, 124, 255, 0.55);
    background: rgba(79, 124, 255, 0.06);
    box-shadow: none;
    transform: none;
}

#productFormPanel .actions {
    justify-content: flex-end;
    align-items: center;
    margin-top: 0.25rem;
    position: sticky;
    bottom: 0;
    padding-top: 0.85rem;
    background: #ffffff;
}

#productFormPanel #productSubmitButton {
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    background: #f4b400;
    border: 1px solid #f4b400;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(244, 180, 0, 0.22);
}

#productFormPanel #productSubmitButton:hover {
    background: #e7aa00;
    border-color: #e7aa00;
}

@media (max-width: 640px) {
    #productFormPanel .form-grid {
        grid-template-columns: 1fr;
    }

    #productFormPanel .product-dynamic-fields-grid {
        grid-template-columns: 1fr;
    }
}

.category-quick-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.category-quick-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.category-quick-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(2px);
}

.category-quick-card {
    position: relative;
    width: min(560px, 94vw);
    border-radius: 18px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.38);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.category-quick-modal.is-open .category-quick-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.client-subscription-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 10004;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.client-subscription-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.client-subscription-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(2px);
    z-index: 0;
}

.client-subscription-card {
    position: relative;
    width: min(740px, 96vw);
    max-height: 92vh;
    border-radius: 18px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.38);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    z-index: 1;
}

.client-subscription-modal.is-open .client-subscription-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.client-subscription-modal {
    --text-main: #0f172a;
}

.client-subscription-modal button,
.client-subscription-modal .btn {
    border-color: rgba(15, 23, 42, 0.18);
    background: rgba(15, 23, 42, 0.04);
    color: #0f172a;
    min-height: 44px;
}

.client-subscription-modal button:hover,
.client-subscription-modal .btn:hover {
    background: rgba(15, 23, 42, 0.08);
}

.client-subscription-modal button:focus-visible,
.client-subscription-modal .btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 2px;
}

.client-subscription-modal .inline-feedback {
    border-color: rgba(15, 23, 42, 0.14);
    background: rgba(15, 23, 42, 0.04);
    color: #0f172a;
}

.client-subscription-modal .inline-feedback.success {
    border-color: rgba(21, 128, 61, 0.35);
    background: rgba(34, 197, 94, 0.12);
    color: #065f46;
}

.client-subscription-modal .inline-feedback.info {
    border-color: rgba(37, 99, 235, 0.28);
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
}

.client-subscription-modal .inline-feedback.error {
    border-color: rgba(220, 38, 38, 0.30);
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

.client-subscription-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.client-subscription-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 850;
}

.client-subscription-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(15, 23, 42, 0.55);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.client-subscription-close:hover {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.85);
}

.client-subscription-close:focus-visible {
    outline: 3px solid rgba(79, 124, 255, 0.25);
    outline-offset: 2px;
}

.client-subscription-body {
    overflow: auto;
    padding: 1.05rem 1.1rem 1.15rem;
    background: #ffffff;
}

.product-image-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 10003;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.product-image-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(2px);
}

.product-image-modal-card {
    position: relative;
    width: min(980px, 96vw);
    max-height: 92vh;
    border-radius: 18px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.38);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.product-image-modal.is-open .product-image-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.product-image-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.product-image-modal-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 850;
}

.product-image-modal-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.product-image-modal-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(15, 23, 42, 0.55);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.product-image-modal-close:hover {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.85);
}

.product-image-modal-close:focus-visible {
    outline: 3px solid rgba(79, 124, 255, 0.25);
    outline-offset: 2px;
}

.product-image-modal-body {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    min-height: 260px;
}

.product-image-modal-stage {
    margin: 0;
    display: grid;
    place-items: center;
    width: min(100%, 70vh);
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: 70vh;
    background: #0b1220;
    border-radius: 16px;
    overflow: hidden;
}

.product-image-modal-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0b1220;
}

@supports not (aspect-ratio: 1 / 1) {
    .product-image-modal-stage {
        width: 100%;
        height: min(60vh, 560px);
    }
}

.product-image-modal-nav {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    color: rgba(15, 23, 42, 0.85);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.12s ease, background 0.12s ease;
}

.product-image-modal-nav:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.product-image-modal-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.product-image-modal-nav:focus-visible {
    outline: 3px solid rgba(79, 124, 255, 0.25);
    outline-offset: 2px;
}

.product-image-modal-thumbs {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1.1rem 1.05rem;
    overflow-x: auto;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.product-image-modal-thumbs::-webkit-scrollbar {
    height: 10px;
}

.product-image-modal-thumbs button {
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #ffffff;
    border-radius: 14px;
    padding: 0.2rem;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    cursor: pointer;
}

.product-image-modal-thumbs button[aria-current="true"] {
    border-color: rgba(244, 180, 0, 0.9);
    box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.18);
}

.product-image-modal-thumbs img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.product-image-modal-empty {
    padding: 1rem 1.1rem 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.7);
}

@media (max-width: 640px) {
    .product-image-modal-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-image-modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        background: rgba(255, 255, 255, 0.92);
    }

    .product-image-modal-nav.prev {
        left: 1.35rem;
    }

    .product-image-modal-nav.next {
        right: 1.35rem;
    }
}

.category-quick-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.category-quick-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.category-quick-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(15, 23, 42, 0.55);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.category-quick-close:hover {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.85);
}

.category-quick-close:focus-visible {
    outline: 3px solid rgba(79, 124, 255, 0.25);
    outline-offset: 2px;
}

.category-quick-form {
    padding: 1.1rem 1.1rem 1.2rem;
}

.category-quick-modal .actions.full-width {
    justify-content: flex-end;
    align-items: center;
    margin-top: 0.25rem;
}

.category-quick-modal .actions.full-width button {
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    min-height: 44px;
}

.category-quick-modal #categoryQuickCreateSubmit {
    background: #4f7cff;
    border: 1px solid #4f7cff;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(79, 124, 255, 0.22);
}

.category-quick-modal #categoryQuickCreateSubmit:hover {
    background: #3f6df5;
    border-color: #3f6df5;
    transform: translateY(-1px);
}

.category-quick-modal #categoryQuickCreateSubmit:focus-visible {
    outline: 3px solid rgba(79, 124, 255, 0.35);
    outline-offset: 2px;
}

.category-quick-modal #categoryQuickCreateCancel.ghost {
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.18);
    color: #0f172a;
}

.category-quick-modal #categoryQuickCreateCancel.ghost:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.category-quick-modal #categoryQuickCreateCancel.ghost:focus-visible {
    outline: 3px solid rgba(15, 23, 42, 0.22);
    outline-offset: 2px;
}

.category-quick-modal #categoryQuickCreateSubmit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 520px) {
    .category-quick-modal .actions.full-width {
        flex-direction: column;
        align-items: stretch;
    }

    .category-quick-modal .actions.full-width button {
        width: 100%;
    }
}

.category-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-list-toolbar h3 {
    margin: 0;
}

#requisitionsView {
    --rq-surface: #f3f4f6;
    --rq-card: #ffffff;
    --rq-border: #e5e7eb;
    --rq-text: #0f172a;
    --rq-muted: #64748b;
    --rq-primary: #4f7cff;
    --rq-primary-hover: #3f6df5;
    background: var(--rq-surface);
    border-radius: 18px;
    padding: 1.25rem;
    color: var(--rq-text);
}

#requisitionsView .requisitions-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

#requisitionsView .requisitions-toolbar-title h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: 0.01em;
    color: var(--rq-text);
}

#requisitionsView button,
#requisitionsView .btn {
    border-radius: 10px;
    padding: 0.6rem 0.95rem;
    background: var(--rq-card);
    border: 1px solid var(--rq-border);
    color: var(--rq-text);
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    transform: none;
}

#requisitionsView button:hover,
#requisitionsView .btn:hover {
    background: #f8fafc;
    transform: none;
}

#requisitionsView .requisitions-refresh {
    background: var(--rq-primary);
    border-color: var(--rq-primary);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(79, 124, 255, 0.18);
}

#requisitionsView .requisitions-refresh:hover {
    background: var(--rq-primary-hover);
    border-color: var(--rq-primary-hover);
    box-shadow: 0 16px 34px rgba(79, 124, 255, 0.24);
}

#requisitionsView .requisitions-filter-card {
    background: var(--rq-card);
    border: 1px solid var(--rq-border);
    border-radius: 12px;
    padding: 0.9rem 1rem 1rem;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}

#requisitionsView .requisitions-filter-title {
    padding-bottom: 0.8rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid var(--rq-border);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    font-weight: 850;
    color: var(--rq-muted);
}

#requisitionsView .requisitions-filter-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
    align-items: end;
}

#requisitionsView .requisitions-filter-form label {
    display: grid;
    gap: 0.35rem;
}

#requisitionsView .requisitions-filter-form label > span {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--rq-muted);
}

#requisitionsView .requisitions-filter-form input,
#requisitionsView .requisitions-filter-form select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--rq-border);
    background: #ffffff;
    color: var(--rq-text);
}

#requisitionsView .requisitions-filter-form input::placeholder {
    color: #94a3b8;
}

#requisitionsView .requisitions-filter-form input:focus,
#requisitionsView .requisitions-filter-form select:focus {
    outline: 3px solid rgba(79, 124, 255, 0.25);
    outline-offset: 1px;
}

#requisitionsView .requisitions-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    padding-top: 0.2rem;
}

#requisitionsView .requisitions-filter-actions button[type="submit"] {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
    min-width: 110px;
}

#requisitionsView .requisitions-filter-actions button[type="submit"]:hover {
    background: #15803d;
    border-color: #15803d;
}

#requisitionsView .requisitions-table-card {
    margin-top: 1rem;
    border-color: var(--rq-border);
    background: var(--rq-card);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}

#requisitionsView .table-actions {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    flex-wrap: wrap;
}

#requisitionsView .requisition-row-status {
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--rq-border);
    background: #ffffff;
    color: var(--rq-text);
    min-height: 36px;
    font-weight: 650;
}

#requisitionsView .requisition-row-status:focus {
    outline: 3px solid rgba(79, 124, 255, 0.25);
    outline-offset: 1px;
}

#requisitionsView .rq-icon-btn {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--rq-border);
    background: #ffffff;
    color: var(--rq-muted);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    flex: 0 0 auto;
}

#requisitionsView .rq-icon-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#requisitionsView .rq-icon-btn:hover {
    background: #f8fafc;
    border-color: rgba(79, 124, 255, 0.45);
    color: var(--rq-primary);
    transform: translateY(-1px);
}

#requisitionsView .rq-icon-download:hover {
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

#requisitionsView .rq-icon-attach:hover {
    border-color: rgba(245, 158, 11, 0.55);
    color: #f59e0b;
}

#requisitionsView .rq-icon-view:hover {
    border-color: rgba(22, 163, 74, 0.55);
    color: #16a34a;
}

#requisitionsView .rq-icon-btn:focus-visible {
    outline: 3px solid rgba(79, 124, 255, 0.25);
    outline-offset: 2px;
}

#requisitionsView .rq-icon-btn:disabled,
#requisitionsView .rq-icon-btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

#requisitionsView .rq-client-cell {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

#requisitionsView .rq-client-name {
    font-weight: 700;
    color: var(--rq-text);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#requisitionsView .rq-client-phone {
    font-size: 0.82rem;
    color: var(--rq-muted);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#requisitionsView table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    width: 100%;
}

#requisitionsView th,
#requisitionsView td {
    border-bottom: 1px solid var(--rq-border);
    color: var(--rq-text);
}

#requisitionsView th {
    background: #f9fafb;
    color: #6b7280;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#requisitionsView tbody tr:hover td {
    background: #f8fafc;
}

#requisitionsView th:nth-child(1),
#requisitionsView td:nth-child(1) {
    width: 5.25rem;
}

#requisitionsView th:nth-child(2),
#requisitionsView td:nth-child(2) {
    width: 5.25rem;
}

#requisitionsView th:nth-child(3),
#requisitionsView td:nth-child(3) {
    width: 16rem;
}

#requisitionsView th:nth-child(4),
#requisitionsView td:nth-child(4) {
    width: 7rem;
}

#requisitionsView th:nth-child(5),
#requisitionsView td:nth-child(5) {
    width: 7rem;
}

#requisitionsView th:nth-child(6),
#requisitionsView td:nth-child(6) {
    width: 12.5rem;
}

#requisitionsView th:nth-child(7),
#requisitionsView td:nth-child(7) {
    width: 10.5rem;
}

#requisitionsView th:nth-child(8),
#requisitionsView td:nth-child(8) {
    width: 8.5rem;
}

#requisitionsView th:nth-child(9),
#requisitionsView td:nth-child(9) {
    width: 18rem;
}

@media (max-width: 1024px) {
    #requisitionsView table {
        table-layout: auto;
    }

    #requisitionsView th:nth-child(1),
    #requisitionsView td:nth-child(1),
    #requisitionsView th:nth-child(2),
    #requisitionsView td:nth-child(2),
    #requisitionsView th:nth-child(3),
    #requisitionsView td:nth-child(3),
    #requisitionsView th:nth-child(4),
    #requisitionsView td:nth-child(4),
    #requisitionsView th:nth-child(5),
    #requisitionsView td:nth-child(5),
    #requisitionsView th:nth-child(6),
    #requisitionsView td:nth-child(6),
    #requisitionsView th:nth-child(7),
    #requisitionsView td:nth-child(7),
    #requisitionsView th:nth-child(8),
    #requisitionsView td:nth-child(8),
    #requisitionsView th:nth-child(9),
    #requisitionsView td:nth-child(9) {
        width: auto;
    }

    #requisitionsView td {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #requisitionsView .rq-client-name,
    #requisitionsView .rq-client-phone {
        white-space: normal;
    }
}

@media (max-width: 980px) {
    #requisitionsView {
        padding: 1rem;
    }

    #requisitionsView .requisitions-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #requisitionsView .requisitions-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    #requisitionsView .requisitions-filter-form {
        grid-template-columns: 1fr;
    }

    #requisitionsView .requisitions-filter-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    #requisitionsView .requisitions-filter-actions button {
        width: 100%;
    }

    #requisitionsView .table-actions {
        align-items: stretch;
    }

    #requisitionsView .requisition-row-status,
    #requisitionsView .table-actions button {
        width: 100%;
    }

    #requisitionsView .table-actions button.rq-icon-btn {
        width: 40px;
    }
}

.admin-super-editor {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-super-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-permissions-block {
    display: grid;
    gap: 0.9rem;
}

.admin-permissions-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

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

.admin-permission-item {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.admin-permission-item label,
.admin-confirmation {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.admin-permission-item input[type="checkbox"],
.admin-confirmation input[type="checkbox"] {
    margin-top: 0.2rem;
}

.admin-permission-item strong {
    font-size: 0.95rem;
}

.admin-permission-item span,
.admin-confirmation span,
.muted {
    color: var(--text-muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.list-card {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel.nested {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    margin-top: 1rem;
}

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

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    margin-top: 0.25rem;
    background: rgba(56, 189, 248, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.55);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.08);
}

.timeline-content {
    display: grid;
    gap: 0.25rem;
}

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

.subscription-grid div {
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hidden {
    display: none !important;
}

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

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

    .sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 720px) {
    .content {
        padding: 1rem;
    }

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

body.catalog-body {
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(199, 34, 255, 0.15), transparent 40%),
        var(--bg-dark);
}

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

.public-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(2, 6, 23, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.public-header-inner,
.public-main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

body.catalog-body.catalog-fullwidth .public-header-inner,
body.catalog-body.catalog-fullwidth .public-main {
    width: 100%;
    max-width: none;
    padding-left: clamp(1rem, 2vw, 2rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

.public-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-link {
    font-size: 1.1rem;
    font-weight: 700;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.public-nav a,
.ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.public-nav a:hover,
.ghost-link:hover {
    transform: translateY(-1px);
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
    color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.public-nav a.active {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.ghost-link.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.full-link {
    width: 100%;
}

.public-main {
    padding: 1.5rem 0 3rem;
    transition: opacity 180ms ease, transform 180ms ease;
}

.public-main.public-main-fade-out {
    opacity: 0;
    transform: translateY(6px);
}

.public-main.public-main-fade-in {
    opacity: 1;
    transform: translateY(0);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--neon-pink);
    text-shadow: var(--neon-glow-pink);
}

.public-hero,
.product-detail-grid {
    display: grid;
    gap: 1.25rem;
}

.public-hero {
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
    padding: clamp(1.6rem, 3.6vw, 2.2rem);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 28px;
    background:
        radial-gradient(1200px 600px at 25% 12%, rgba(129, 140, 248, 0.35), transparent 42%),
        radial-gradient(900px 520px at 78% 32%, rgba(56, 189, 248, 0.25), transparent 48%),
        radial-gradient(900px 540px at 90% 82%, rgba(199, 34, 255, 0.22), transparent 52%),
        radial-gradient(2px 2px at 12% 18%, rgba(255,255,255,0.12) 0 1px, transparent 1px),
        radial-gradient(2px 2px at 34% 42%, rgba(255,255,255,0.12) 0 1px, transparent 1px),
        radial-gradient(2px 2px at 68% 26%, rgba(255,255,255,0.12) 0 1px, transparent 1px),
        linear-gradient(135deg, rgba(16, 19, 44, 0.98), rgba(16, 23, 42, 0.88));
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.32);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.public-hero.compact {
    grid-template-columns: minmax(0, 1fr) auto;
}

.public-hero.marketplace-hero {
    grid-template-columns: minmax(0, 1fr);
}

.public-hero.marketplace-hero .hero-center-images {
    display: none;
}

.public-hero.marketplace-hero .hero-copy {
    max-width: 860px;
}

.public-hero.marketplace-hero.has-banner {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
}

.public-hero.marketplace-hero.has-banner .hero-center-images {
    display: grid;
    place-items: center;
}

.hero-banner-card {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    padding: clamp(0.5rem, 1vw, 0.85rem);
    margin: 0;
}

.hero-banner-img {
    display: block;
    width: min(420px, 42vw);
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}

@media (max-width: 960px) {
    .public-hero.marketplace-hero.has-banner {
        grid-template-columns: minmax(0, 1fr);
    }
    .public-hero.marketplace-hero.has-banner .hero-center-images {
        margin-top: 1rem;
        display: grid;
        place-items: center;
    }
    .hero-banner-img {
        width: min(560px, 100%);
    }
}
.marketplace-hero .hero-actions {
    display: grid;
    gap: 1rem;
    margin-top: 0.75rem;
}

.marketplace-hero .hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.marketplace-hero .hero-checklist li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-size: 1rem;
    padding-left: 0.1rem;
}

.marketplace-hero .hero-checklist li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.95), rgba(16, 185, 129, 0.7));
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35), 0 0 14px rgba(34, 197, 94, 0.45);
    mask: radial-gradient(circle at 50% 50%, #000 60%, transparent 61%);
}

.marketplace-hero .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.cta-primary {
    color: #00131f;
    background:
        radial-gradient(200px 80px at 30% 0%, rgba(59, 130, 246, 0.55), transparent 60%),
        linear-gradient(90deg, rgba(34, 211, 238, 0.9), rgba(59, 130, 246, 0.9), rgba(199, 34, 255, 0.85));
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 10px 28px rgba(34, 197, 255, 0.35);
}

.cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 14px 34px rgba(34, 197, 255, 0.45);
}

.cta-secondary {
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
}

.cta-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(199, 34, 255, 0.65);
    color: var(--neon-pink);
    box-shadow: var(--neon-glow-pink);
}

.marketplace-hero .hero-footnote {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.marketplace-hero .hero-center-images {
    display: grid;
    place-items: center;
}

.marketplace-hero .hero-floating-card {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.marketplace-hero .hero-main-img {
    width: min(420px, 42vw);
    height: auto;
    display: block;
    border-radius: 18px;
}

.public-hero h1 {
    margin: 0.2rem 0 0.65rem;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.28);
}

.public-hero p {
    margin: 0.2rem 0 0.8rem 0;
    max-width: 600px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.marketplace-hero .hero-copy h1::after {
    content: " 🚀";
}

.eyebrow {
    display: none; /* In the reference image there is no eyebrow, hiding it to match perfectly */
}

.hero-center-images {
    position: relative;
    height: 100%;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-card {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--neon-blue-rgb), 0.2);
    border: 1px solid rgba(var(--neon-blue-rgb), 0.3);
    overflow: hidden;
    background: var(--card-bg);
}

.hero-floating-card.main-center {
    width: clamp(250px, 26vw, 340px);
    height: clamp(130px, 14.5vw, 188px);
    z-index: 3;
    transform: translateY(4px);
}

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

.hero-floating-card.top-left {
    width: 56px;
    height: 36px;
    top: 9%;
    left: 11%;
    z-index: 2;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(59, 130, 246, 0.4);
    animation: float 6s ease-in-out infinite;
}

.hero-floating-card.top-right {
    width: 112px;
    height: 64px;
    top: 20%;
    right: 8%;
    z-index: 1;
    transform: rotate(5deg);
    animation: float 7s ease-in-out infinite 1s;
}

.hero-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-15px) rotate(var(--rot, 0deg)); }
}

.hero-floating-card.top-right { --rot: 5deg; }

.hero-copy {
    max-width: 530px;
}

.hero-copy .hero-actions {
    margin-top: 1rem;
}

.hero-copy .btn,
.hero-copy .ghost-link {
    min-height: 42px;
    padding: 0.68rem 1.25rem;
    font-size: 0.95rem;
}

.product-side-card,
.product-detail-card,
.public-panel,
.empty-state {
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(10, 11, 16, 0.68), rgba(10, 11, 16, 0.68)) padding-box,
        linear-gradient(135deg, rgba(0, 240, 255, 0.18), rgba(199, 34, 255, 0.14)) border-box;
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.public-panel {
    padding: 1.55rem;
    margin-bottom: 1.5rem;
}

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

.section-header h2,
.product-detail-card h2,
.product-side-card h3,
.empty-state h3 {
    margin: 0;
}

.product-grid,
.related-grid,
.seo-points {
    display: grid;
    gap: 1rem;
}

.category-chip-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.product-type-filter-strip {
    margin: 0.35rem 0 1rem;
}

.product-type-filter-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.product-type-filter-chip {
    border: 1px solid rgba(var(--neon-blue-rgb), 0.38);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.12), rgba(var(--neon-pink-rgb), 0.28));
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    min-height: 58px;
    padding: 0.75rem 0.9rem;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-type-filter-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--neon-pink-rgb), 0.75);
    box-shadow: 0 0 20px rgba(var(--neon-pink-rgb), 0.24);
    background: linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.18), rgba(var(--neon-pink-rgb), 0.4));
}

.product-type-filter-chip.active,
.product-type-filter-chip[aria-pressed="true"] {
    border-color: rgba(var(--neon-blue-rgb), 0.95);
    box-shadow: 0 0 22px rgba(var(--neon-blue-rgb), 0.28);
    background: linear-gradient(135deg, rgba(var(--neon-blue-rgb), 0.28), rgba(var(--neon-pink-rgb), 0.5));
}

.product-type-filter-chip:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

.product-type-filter-count {
    color: #dbeafe;
    font-weight: 700;
    font-size: 0.8rem;
    min-width: 2.1rem;
    text-align: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.55);
    padding: 0.2rem 0.38rem;
    flex-shrink: 0;
}

.category-chip-grid::-webkit-scrollbar {
    height: 6px;
}
.category-chip-grid::-webkit-scrollbar-track {
    background: transparent;
}
.category-chip-grid::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.category-chip {
    flex: 0 0 auto;
    min-width: 160px;
    max-width: 280px;
    min-height: 72px;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    color: var(--text-main);
    text-decoration: none;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.category-chip:hover {
    transform: translateY(-2px);
    border-color: var(--neon-pink);
    box-shadow: var(--neon-glow-pink);
}

.category-chip.active {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: var(--neon-glow);
}

.category-chip span {
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.category-chip strong,
.result-pill {
    color: var(--neon-blue);
    flex-shrink: 0;
}

.category-chip:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

.narrative-section {
    position: relative;
}

.narrative-section .section-header h2 {
    margin: 0;
}

.narrative-section .category-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.25rem 0 0;
    overflow: visible;
}

.narrative-section .category-chip {
    min-width: 0;
    max-width: none;
    min-height: 38px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    box-shadow: none;
    transform: none;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.narrative-section .category-chip:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.2);
    color: #22d3ee;
}

.narrative-section .category-chip.active {
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.28);
}

.narrative-section .category-chip span {
    color: inherit;
    font-weight: 600;
}

.narrative-section .category-chip strong {
    color: inherit;
    opacity: 0.6;
    font-weight: 700;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.narrative-section .category-chip.category-chip-more {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.75);
}

.narrative-section .category-chip.category-chip-more:hover {
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(34, 211, 238, 0.08);
}

.narrative-section .category-chip-break {
    flex: 0 0 100%;
    height: 0;
}

.narrative-section .category-chip.category-chip-extra {
    display: none;
}

.narrative-section.category-more-open .category-chip.category-chip-extra {
    display: inline-flex;
}

@media (max-width: 680px) {
    .product-type-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }
    .product-type-filter-chip {
        min-height: 54px;
        padding: 0.65rem 0.75rem;
    }
    .narrative-section .category-chip-grid {
        gap: 0.55rem;
    }
    .narrative-section .category-chip {
        min-height: 36px;
        padding: 0.5rem 0.85rem;
    }
}

.catalog-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.filter-card {
    padding: 0;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-title-wrapper h2 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-title-wrapper h2 small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: normal;
}

.filter-form {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.filter-group h3 {
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.custom-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.custom-checkbox-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.custom-checkbox-link:hover {
    color: var(--neon-blue);
}

.checkbox-visual {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.custom-checkbox-link.is-checked .checkbox-visual {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.check-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.custom-checkbox-link.is-checked .check-icon {
    opacity: 1;
    transform: scale(1);
}

.checkbox-label {
    flex: 1;
    font-size: 0.95rem;
}

.chevron-icon {
    color: var(--text-muted);
    opacity: 0.5;
}

.filter-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0.8rem 0 0 0;
    line-height: 1.4;
}

.range-slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-range {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--neon-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    transition: transform 0.1s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 1rem;
}

.custom-toggle:last-child {
    margin-bottom: 0;
}

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

.toggle-wrapper {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-wrapper input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-wrapper input:checked + .toggle-slider {
    background-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.toggle-wrapper input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.filter-actions-row {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.filter-actions-row .btn {
    flex: 1;
    padding: 0.8rem;
    font-size: 0.9rem;
}

.filter-stats-list {
    padding: 0 1.5rem 1.5rem;
}

.filter-stats-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-stats-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.results-header-left h2 {
    margin: 0;
}

.results-header-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.header-inline-form {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2rem;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="14" height="14" stroke="white" stroke-width="2" fill="none" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
}

.custom-select option {
    background: var(--card-bg);
    color: var(--text-main);
}

.catalog-kpi-panel {
    display: grid;
    gap: 1rem;
}

.catalog-kpi {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-kpi strong {
    font-size: 1.25rem;
    color: var(--neon-blue);
}

.catalog-kpi small,
.catalog-kpi-label {
    color: var(--text-muted);
}

.catalog-results-column,
.catalog-results-panel {
    min-width: 0;
}

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

.filter-summary {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
    color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.product-grid,
.related-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
}

@media (max-width: 960px) {
    .catalog-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
}

.product-card,
.related-card {
    display: grid;
    align-content: start;
    border-radius: 20px;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(135deg, rgba(0, 240, 255, 0.5), rgba(199, 34, 255, 0.5)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.product-card::before,
.related-card::before {
    content: none;
}

.product-card:hover,
.related-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.65),
        0 0 28px rgba(0, 240, 255, 0.16),
        0 0 24px rgba(199, 34, 255, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.product-card.product-card-skeleton,
.product-card.product-card-skeleton:hover {
    transform: none;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    cursor: default;
}

.product-card-skeleton .product-card-media {
    min-height: 220px;
}

.skeleton-block {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background: linear-gradient(110deg, rgba(255,255,255,0.06) 8%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0.06) 33%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.1s linear infinite;
}

.skeleton-block.skeleton-image {
    aspect-ratio: 16 / 9;
}

.skeleton-line {
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(110deg, rgba(255,255,255,0.06) 8%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0.06) 33%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.1s linear infinite;
}

.skeleton-line.w-90 { width: 90%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }

.skeleton-block.skeleton-line {
    height: 14px;
}

.skeleton-block.skeleton-line.short {
    width: 60%;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.product-card h3,
.related-card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.product-card p,
.related-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-card-media,
.related-card-media {
    position: relative;
    padding: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background:
        radial-gradient(circle at 18% 20%, rgba(0, 240, 255, 0.16), transparent 58%),
        radial-gradient(circle at 82% 10%, rgba(199, 34, 255, 0.14), transparent 56%),
        rgba(5, 5, 16, 0.92);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card-media.glass-effect,
.related-card-media.glass-effect {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.product-card-image,
.related-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.product-card-image.is-zoomable,
.related-card-image.is-zoomable {
    cursor: zoom-in;
}

.product-card-image.is-zoomable:focus-visible,
.related-card-image.is-zoomable:focus-visible {
    outline: 3px solid rgba(0, 240, 255, 0.9);
    outline-offset: -3px;
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.18);
}

.product-card:hover .product-card-image,
.related-card:hover .related-card-image {
    transform: scale(1.03);
    filter: saturate(1.06);
}

.product-card-image.fallback,
.related-card-image.fallback {
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-weight: 600;
    min-height: 220px;
}

.product-card-media.image-missing::after,
.related-card-media.image-missing::after {
    content: "Imagen no disponible";
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-weight: 600;
    min-height: 220px;
    width: 100%;
}

.product-card-badges,
.related-card-badges {
    position: absolute;
    top: 0.95rem;
    left: 0.95rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    z-index: 1;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 24px;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(6, 6, 12, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.product-badge-new {
    color: #ffb800;
    border-color: rgba(255, 184, 0, 0.3);
}
.product-badge-new::before { background: #ffb800; box-shadow: 0 0 5px #ffb800; }

.product-badge-top {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.3);
}
.product-badge-top::before { background: #00f0ff; box-shadow: 0 0 5px #00f0ff; }

.product-badge-visual {
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.3);
}
.product-badge-visual::before { background: #00ff88; box-shadow: 0 0 5px #00ff88; }

.product-card-quick-actions,
.related-card-quick-actions {
    position: absolute;
    right: 0.95rem;
    bottom: 0.95rem;
    left: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 1;
}

.product-card:hover .product-card-quick-actions,
.product-card:focus-within .product-card-quick-actions,
.related-card:hover .related-card-quick-actions,
.related-card:focus-within .related-card-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-primary-link,
.product-secondary-link {
    min-height: 42px;
}

.product-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex: 0 1 auto;
}

.product-primary-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(199, 34, 255, 0.4);
    transform: translateY(-2px);
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.icon-button:hover,
.icon-button.is-active,
.favorite-button[aria-pressed="true"] {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.product-card-surface,
.related-card-surface {
    display: grid;
    gap: 0.95rem;
    padding: 1.2rem 1.2rem 1.3rem;
}

.product-card-surface.glass-panel,
.related-card-surface.glass-panel {
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.product-card-top,
.related-card-top,
.product-card-footer,
.related-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-category-tag,
.product-tenant,
.result-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.product-category-tag {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.product-tenant,
.result-pill {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-caption {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.product-price-block strong {
    font-size: 1.3rem;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.public-pagination {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-detail-grid {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    margin-bottom: 1.5rem;
    align-items: start;
}

.product-detail-card,
.product-side-card {
    padding: 1.6rem;
}

.product-hero {
    position: relative;
}

.product-hero-badges,
.interest-benefits,
.product-option-grid {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.detail-hero-actions {
    justify-content: flex-end;
}

.premium-product-detail {
    overflow: hidden;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1.4rem;
    align-items: start;
}

.product-gallery-column,
.product-info-column {
    min-width: 0;
}

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

.product-info-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-price-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-price-note {
    color: #94a3b8;
    font-size: 0.92rem;
}

.product-detail-price {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
}

.product-detail-description {
    color: #cbd5e1;
    line-height: 1.7;
}

.product-action-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-action-button {
    min-height: 48px;
    padding: 0.9rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.detail-action-button:hover,
.detail-action-button.is-active {
    transform: translateY(-1px);
    border-color: var(--neon-pink);
    box-shadow: var(--neon-glow-pink);
}

.detail-action-button:disabled,
.detail-action-button.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.detail-action-button-primary {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.detail-favorite-button {
    flex: 0 0 auto;
}

.product-option-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--card-bg);
}

.product-detail-meta {
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

.product-detail-meta div {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.product-detail-meta dt {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.product-detail-meta dd {
    margin: 0;
}

.product-side-card-premium {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 1rem;
}

.interest-panel-head {
    display: grid;
    gap: 0.5rem;
}

.interest-panel-head h3 {
    margin: 0;
}

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

.product-assets-card {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-assets-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.product-assets-header-badges {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.section-header.compact {
    margin-bottom: 0;
}

.section-header.compact p {
    margin: 0.3rem 0 0;
}

.upload-dropzone {
    display: grid;
    place-items: center;
    gap: 0.4rem;
    min-height: 180px;
    padding: 1.25rem;
    text-align: center;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.upload-dropzone.dragging,
.upload-dropzone:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: var(--neon-glow);
    transform: translateY(-1px);
}

.upload-dropzone.optional {
    border-color: rgba(0, 255, 136, 0.45);
    background: rgba(0, 255, 136, 0.05);
}

.upload-dropzone.required {
    border-color: rgba(251, 191, 36, 0.38);
}

.upload-dropzone.invalid {
    border-color: rgba(248, 113, 113, 0.6);
    background: rgba(127, 29, 29, 0.18);
}

.upload-dropzone strong {
    font-size: 1rem;
}

.upload-dropzone span {
    color: var(--text-muted);
}

.public-interest-form #inventoryRequestDropzone.upload-dropzone {
    min-height: 110px;
    padding: 1.15rem 1.25rem;
    gap: 0.35rem;
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 10, 0.35);
    transform: none;
    box-shadow: none;
}

.public-interest-form #inventoryRequestDropzone.upload-dropzone:hover,
.public-interest-form #inventoryRequestDropzone.upload-dropzone.dragging,
.public-interest-form #inventoryRequestDropzone.upload-dropzone:focus-within {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(18, 18, 18, 0.45);
    box-shadow: none;
    transform: none;
}

.public-interest-form #inventoryRequestDropzone.upload-dropzone.optional {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 10, 0.35);
}

.public-interest-form #inventoryRequestDropzone.upload-dropzone strong {
    font-size: 0.98rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

.public-interest-form #inventoryRequestDropzone.upload-dropzone span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.58);
}

.public-interest-field-error {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: #fecaca;
}

.inline-feedback {
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.inline-feedback.error {
    border-color: rgba(248, 113, 113, 0.5);
    color: #fecaca;
}

.inline-feedback.info {
    border-color: rgba(96, 165, 250, 0.4);
    color: #bfdbfe;
}

.inline-feedback.success {
    border-color: rgba(34, 197, 94, 0.45);
    color: #bbf7d0;
}

body.zoom-dialog-open {
    overflow: hidden;
}

body.signup-popup-open {
    overflow: hidden;
}

body.signup-popup-open footer.footer {
    display: none !important;
}

body.view-billing .public-signup-popup-overlay .footer {
    display: none !important;
}

.public-signup-popup-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    overflow-y: auto;
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.public-signup-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.public-signup-popup-card {
    position: relative;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: clamp(18px, 5vw, 35px);
    border-radius: clamp(16px, 4vw, 20px);
    width: min(420px, calc(100vw - 2.5rem));
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(40px) scale(0.98);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    outline: none;
}

@media (max-height: 720px) {
    .public-signup-popup-overlay {
        align-items: flex-start;
    }
}

.public-signup-popup-overlay.active .public-signup-popup-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.public-signup-popup-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
}

.public-signup-popup-card p {
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
}

body.shopify-signup {
    background: radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.18), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.16), transparent 55%),
        linear-gradient(135deg, #0f172a, #020617);
    color: #ffffff;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

body.shopify-signup .public-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.shopify-signup .brand-link,
body.shopify-signup .public-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

body.shopify-signup .public-nav a.active {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

body.shopify-signup .public-main {
    padding: clamp(0.75rem, 2.2vw, 1.25rem) 0;
    display: grid;
    align-content: center;
    flex: 1 1 auto;
}

body.shopify-signup .breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
}

body.shopify-signup .inline-feedback {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

body.shopify-signup .inline-feedback.error {
    border-color: rgba(248, 113, 113, 0.55);
    color: #fecaca;
}

body.shopify-signup .inline-feedback.info {
    border-color: rgba(96, 165, 250, 0.4);
    color: #bfdbfe;
}

body.shopify-signup .inline-feedback.success {
    border-color: rgba(34, 197, 94, 0.45);
    color: #bbf7d0;
}

body.shopify-signup .public-signup-popup-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

body.shopify-signup .public-signup-popup-card p {
    color: rgba(255, 255, 255, 0.86);
}

body.shopify-signup .public-signup-popup-card .btn-primary {
    color: #ffffff;
}

body.shopify-signup .shopify-signup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding-inline: clamp(0.75rem, 2.5vw, 1.5rem);
}

body.shopify-signup .shopify-signup-left {
    display: grid;
    gap: 0.75rem;
}

body.shopify-signup .shopify-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 650;
    letter-spacing: 0.02em;
}

body.shopify-signup .shopify-signup-left h1 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
}

body.shopify-signup .shopify-signup-left p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    max-width: 56ch;
}

body.shopify-signup .shopify-benefits {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.8);
}

body.shopify-signup .shopify-benefits li {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
    font-size: 0.92rem;
}

body.shopify-signup .shopify-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

body.shopify-signup .whatsapp-widget,
body.admin-body .whatsapp-widget {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    display: grid;
    justify-items: end;
    gap: 0.65rem;
}

body.shopify-signup .whatsapp-widget-bubble,
body.admin-body .whatsapp-widget-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2.05rem 0.75rem 1.05rem;
    border-radius: 14px;
    background: #ffffff;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.04rem;
    line-height: 1.1;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.33);
    border: 1px solid rgba(148, 163, 184, 0.25);
    max-width: min(320px, calc(100vw - 2.5rem));
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

body.shopify-signup .whatsapp-widget-bubble::after,
body.admin-body .whatsapp-widget-bubble::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    transform: rotate(45deg);
    border-right: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

body.shopify-signup .whatsapp-widget-bubble.is-visible,
body.admin-body .whatsapp-widget-bubble.is-visible {
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
}

body.shopify-signup .whatsapp-widget-text,
body.admin-body .whatsapp-widget-text {
    white-space: nowrap;
}

body.shopify-signup .whatsapp-widget-dots,
body.admin-body .whatsapp-widget-dots {
    position: absolute;
    top: 0.42rem;
    right: 0.58rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
}

body.shopify-signup .whatsapp-fab,
body.admin-body .whatsapp-fab {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 1100;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.shopify-signup .whatsapp-fab::before,
body.admin-body .whatsapp-fab::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.52) 0%, rgba(37, 211, 102, 0.2) 48%, rgba(37, 211, 102, 0) 72%);
    z-index: 0;
    animation: whatsappFabPulse 2s ease-in-out infinite;
    pointer-events: none;
}

body.shopify-signup .whatsapp-fab-badge,
body.admin-body .whatsapp-fab-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 2;
}

body.shopify-signup .whatsapp-fab:hover,
body.admin-body .whatsapp-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

body.shopify-signup .whatsapp-fab:active,
body.admin-body .whatsapp-fab:active {
    transform: translateY(0px);
}

body.shopify-signup .whatsapp-fab:focus-visible,
body.admin-body .whatsapp-fab:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
}

body.shopify-signup .whatsapp-fab svg,
body.admin-body .whatsapp-fab svg {
    width: 31px;
    height: 31px;
    display: block;
    position: relative;
    z-index: 1;
}

@keyframes whatsappFabPulse {
    0% {
        transform: scale(0.94);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
    100% {
        transform: scale(0.94);
        opacity: 0.75;
    }
}

@media (max-width: 480px) {
    body.shopify-signup .whatsapp-widget,
    body.admin-body .whatsapp-widget {
        right: 1rem;
        bottom: 1rem;
        gap: 0.55rem;
    }
    body.shopify-signup .whatsapp-widget-bubble,
    body.admin-body .whatsapp-widget-bubble {
        font-size: 0.95rem;
        padding: 0.7rem 1.95rem 0.7rem 0.95rem;
    }
    body.shopify-signup .whatsapp-fab,
    body.admin-body .whatsapp-fab {
        width: 54px;
        height: 54px;
    }
    body.shopify-signup .whatsapp-fab svg,
    body.admin-body .whatsapp-fab svg {
        width: 29px;
        height: 29px;
    }
}

body.shopify-signup .shopify-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
}

body.shopify-signup .shopify-link:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.55);
    outline-offset: 2px;
    border-radius: 10px;
}

body.shopify-signup .shopify-signup-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: clamp(1.05rem, 1.9vw, 1.65rem);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

body.shopify-signup .shopify-card-header h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

body.shopify-signup .shopify-card-header p {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    font-size: 0.95rem;
}

body.shopify-signup .shopify-form {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

body.shopify-signup .shopify-form > label.shopify-field:nth-of-type(5),
body.shopify-signup .shopify-form > .shopify-actions {
    grid-column: 1 / -1;
}

body.shopify-signup .shopify-field {
    position: relative;
    display: grid;
}

body.shopify-signup .shopify-field input {
    width: 100%;
    padding: 1.1rem 0.95rem 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.shopify-signup .shopify-field span {
    position: absolute;
    left: 0.85rem;
    top: 0.92rem;
    padding: 0 0.35rem;
    background: rgba(15, 23, 42, 0.92);
    color: rgba(255, 255, 255, 0.65);
    transform-origin: left top;
    transition: transform 160ms ease, top 160ms ease, color 160ms ease;
    pointer-events: none;
}

body.shopify-signup .shopify-field input:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

body.shopify-signup .shopify-field input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.75);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

body.shopify-signup .shopify-field input:focus + span,
body.shopify-signup .shopify-field input:not(:placeholder-shown) + span,
body.shopify-signup .shopify-field.has-value span {
    top: 0.36rem;
    transform: scale(0.85);
    color: rgba(255, 255, 255, 0.85);
}

body.shopify-signup .shopify-field input.is-invalid {
    border-color: rgba(248, 113, 113, 0.7);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.22);
}

body.shopify-signup .shopify-field input.is-valid {
    border-color: rgba(34, 197, 94, 0.65);
}

body.shopify-signup .shopify-actions {
    margin-top: 0.4rem;
    display: grid;
    gap: 0.75rem;
}

body.shopify-signup .shopify-primary-button {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #9333ea);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.shopify-signup .shopify-primary-button:hover {
    box-shadow: 0 18px 45px rgba(99, 102, 241, 0.25);
    transform: scale(1.02);
}

body.shopify-signup .shopify-primary-button:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.65);
    outline-offset: 3px;
}

body.shopify-signup .shopify-primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body.shopify-signup .shopify-secondary-link {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
}

body.shopify-signup .shopify-secondary-link:hover {
    text-decoration: underline;
}

body.shopify-signup .shopify-secondary-link:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.65);
    outline-offset: 3px;
    border-radius: 10px;
}

@media (max-width: 960px) {
    body.shopify-signup .shopify-signup-layout {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    body.shopify-signup .shopify-links {
        justify-content: flex-start;
    }
    body.shopify-signup .shopify-form {
        grid-template-columns: 1fr;
    }
    body.shopify-signup .shopify-form > label.shopify-field:nth-of-type(5),
    body.shopify-signup .shopify-form > .shopify-actions {
        grid-column: auto;
    }
    body.shopify-signup .shopify-signup-left p,
    body.shopify-signup .shopify-benefits,
    body.shopify-signup .shopify-links {
        display: none;
    }
    body.shopify-signup .shopify-signup-left h1 {
        font-size: clamp(1.55rem, 6vw, 2.1rem);
    }
}

@media (max-height: 760px) {
    body.shopify-signup .public-main {
        padding: 0.65rem 0;
    }
    body.shopify-signup .shopify-card-header p {
        display: none;
    }
    body.shopify-signup .shopify-signup-left p,
    body.shopify-signup .shopify-benefits,
    body.shopify-signup .shopify-links {
        display: none;
    }
    body.shopify-signup .shopify-form {
        gap: 0.6rem;
    }
    body.shopify-signup .shopify-actions {
        gap: 0.6rem;
    }
}

.public-signup-popup-card .btn-primary {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #9333ea);
    color: white;
    cursor: pointer;
}

.public-signup-popup-close {
    position: absolute;
    right: 14px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
}

.public-signup-popup-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

.public-signup-popup-close:focus-visible,
.public-signup-popup-card .btn-primary:focus-visible {
    outline: 3px solid rgba(0, 240, 255, 0.75);
    outline-offset: 2px;
}

.product-image-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem;
}

.product-image-admin-card {
    display: grid;
    gap: 0.65rem;
    padding: 0.8rem;
    border-radius: 16px;
    border: 1px solid #1e293b;
    background: rgba(15, 23, 42, 0.82);
}

.product-image-admin-card.persisted {
    border-color: rgba(34, 197, 94, 0.35);
}

.product-image-admin-card.temporary {
    border-color: rgba(59, 130, 246, 0.35);
}

.product-image-admin-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
}

.product-image-admin-card-body {
    display: grid;
    gap: 0.2rem;
}

.product-image-admin-card-body span {
    color: #94a3b8;
    font-size: 0.88rem;
}

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

.product-gallery-stage {
    position: relative;
    padding: 0.85rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.82), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(71, 85, 105, 0.62);
}

.product-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.product-gallery-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.product-gallery-featured-button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.product-gallery-featured {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    box-sizing: border-box;
    padding: clamp(0.75rem, 1vw + 0.45rem, 1.05rem);
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at top, rgba(0, 240, 255, 0.1), var(--bg-dark) 78%);
    transition: transform 0.32s ease, filter 0.32s ease;
}

.product-gallery-featured-button:hover .product-gallery-featured,
.product-gallery-featured-button:focus-visible .product-gallery-featured {
    transform: scale(1.03);
    filter: saturate(1.06);
}

.product-gallery-empty {
    display: grid;
    place-items: center;
    min-height: 220px;
    margin-bottom: 1rem;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    text-align: center;
    padding: 1.2rem;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 0.7rem;
}

.product-gallery-thumb {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-gallery-thumb:hover {
    transform: translateY(-1px);
    border-color: var(--neon-blue);
}

.product-gallery-thumb.active {
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
}

.product-gallery-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    box-sizing: border-box;
    padding: 0.35rem;
    object-fit: contain;
    object-position: center;
}

/* product-gallery-dialog removed in favor of image zoom overlay */

.image-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.image-zoom-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-zoom-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 12, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.image-zoom-shell {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: calc(100vh - 2rem);
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--card-bg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.24s ease;
    outline: none;
}

.image-zoom-overlay.is-open .image-zoom-shell {
    transform: translateY(0) scale(1);
}

.image-zoom-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.image-zoom-meta {
    display: grid;
    gap: 0.15rem;
}

.image-zoom-meta strong {
    color: var(--text-main);
}

.image-zoom-level {
    color: var(--neon-blue);
    font-size: 0.92rem;
    font-weight: 600;
}

.image-zoom-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.image-zoom-actions .icon-button {
    min-width: 48px;
    width: auto;
    padding: 0 0.8rem;
}

.image-zoom-stage {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: min(72vh, 720px);
    border-radius: 22px;
    background: radial-gradient(circle at top, rgba(0, 240, 255, 0.15), var(--bg-dark) 80%);
    touch-action: none;
    user-select: none;
}

.image-zoom-stage.is-draggable {
    cursor: grab;
}

.image-zoom-image {
    max-width: 100%;
    max-height: min(68vh, 680px);
    object-fit: contain;
    object-position: center;
    transform-origin: center center;
    transition: transform 0.16s ease;
    will-change: transform;
    user-select: none;
}

.image-zoom-stage.is-draggable .image-zoom-image {
    transition-duration: 0.08s;
}

.public-interest-form {
    display: grid;
    gap: 0.9rem;
}

.public-interest-form label {
    display: grid;
    gap: 0.45rem;
}

.public-interest-form input,
.public-interest-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.public-interest-form input:focus,
.public-interest-form textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
    background: rgba(0, 240, 255, 0.05);
}

.public-interest-form textarea {
    min-height: 120px;
    resize: vertical;
}

.public-interest-form .phone-prefix-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.public-interest-form .phone-prefix-group:focus-within {
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
    background: rgba(0, 240, 255, 0.05);
}

.public-interest-form .phone-prefix-group .phone-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 0.95rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-weight: 600;
    opacity: 0.85;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.public-interest-form .phone-prefix-group input {
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0.85rem 1rem;
    min-height: 48px;
}

.public-interest-form .phone-prefix-group input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: none;
    background: transparent;
}

#inventoryRequestForm button.btn-primary.full-width {
    width: 100%;
    min-height: 50px;
    padding: 0.9rem 3.1rem 0.9rem 1.25rem;
    border: 0;
    border-radius: 12px;
    background: #22c55e;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

#inventoryRequestForm button.btn-primary.full-width::after {
    content: "";
    width: 20px;
    height: 20px;
    margin-left: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.472-.148-.67.15-.198.297-.77.967-.943%201.165-.173.198-.347.223-.644.075-.297-.15-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.447-.52.149-.174.198-.298.298-.497.099-.198.05-.372-.025-.521-.075-.148-.67-1.612-.918-2.206-.242-.579-.487-.5-.67-.51l-.57-.01c-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.876%201.213%203.074.149.198%202.095%203.2%205.076%204.487.709.306%201.262.489%201.694.626.712.227%201.36.195%201.872.118.571-.085%201.758-.719%202.006-1.413.248-.695.248-1.29.173-1.413-.074-.124-.272-.198-.57-.347M12.004%202.003c-5.514%200-9.997%204.484-9.997%209.997%200%201.76.46%203.479%201.333%204.988L2%2022l5.25-1.379c1.45.79%203.079%201.203%204.754%201.203h.004c5.514%200%209.996-4.484%209.996-9.997%200-2.673-1.04-5.187-2.93-7.066-1.889-1.88-4.4-2.758-7.07-2.758m0%2018.19h-.004c-1.49%200-2.95-.4-4.225-1.156l-.303-.18-3.116.817.83-3.04-.197-.312c-.832-1.319-1.271-2.846-1.271-4.417%200-4.546%203.7-8.247%208.252-8.247%202.204%200%204.275.86%205.833%202.412%201.558%201.553%202.416%203.617%202.416%205.824%200%204.546-3.7%208.248-8.215%208.248%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.472-.148-.67.15-.198.297-.77.967-.943%201.165-.173.198-.347.223-.644.075-.297-.15-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.447-.52.149-.174.198-.298.298-.497.099-.198.05-.372-.025-.521-.075-.148-.67-1.612-.918-2.206-.242-.579-.487-.5-.67-.51l-.57-.01c-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.876%201.213%203.074.149.198%202.095%203.2%205.076%204.487.709.306%201.262.489%201.694.626.712.227%201.36.195%201.872.118.571-.085%201.758-.719%202.006-1.413.248-.695.248-1.29.173-1.413-.074-.124-.272-.198-.57-.347M12.004%202.003c-5.514%200-9.997%204.484-9.997%209.997%200%201.76.46%203.479%201.333%204.988L2%2022l5.25-1.379c1.45.79%203.079%201.203%204.754%201.203h.004c5.514%200%209.996-4.484%209.996-9.997%200-2.673-1.04-5.187-2.93-7.066-1.889-1.88-4.4-2.758-7.07-2.758m0%2018.19h-.004c-1.49%200-2.95-.4-4.225-1.156l-.303-.18-3.116.817.83-3.04-.197-.312c-.832-1.319-1.271-2.846-1.271-4.417%200-4.546%203.7-8.247%208.252-8.247%202.204%200%204.275.86%205.833%202.412%201.558%201.553%202.416%203.617%202.416%205.824%200%204.546-3.7%208.248-8.215%208.248%27/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex: 0 0 auto;
}

#inventoryRequestForm button.btn-primary.full-width:hover {
    filter: brightness(1.05);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    transform: translateY(-1px);
}

#inventoryRequestForm button.btn-primary.full-width:active {
    filter: brightness(0.98);
    transform: translateY(0);
}

#inventoryRequestForm button.btn-primary.full-width:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
}

#inventoryRequestForm button.btn-primary.full-width:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Order Confirm Modal v1.0 (2026-04-14) */
body.modal-open {
    overflow: hidden;
}

body.modal-open footer.footer {
    display: none !important;
}

.order-confirm-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.order-confirm-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.order-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(2px);
}

.order-confirm-card {
    position: relative;
    width: min(420px, 92vw);
    border-radius: 18px;
    background: #1f1f1f;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.order-confirm-modal.is-open .order-confirm-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.order-confirm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.order-confirm-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.order-confirm-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.order-confirm-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

.order-confirm-close:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
}

.order-confirm-body {
    padding: 1.2rem 1.1rem 1.05rem;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.55rem;
}

.order-confirm-check {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #22c55e;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.25);
    margin-top: 0.1rem;
}

.order-confirm-success {
    font-size: 1.2rem;
    font-weight: 800;
    color: #22c55e;
    margin-top: 0.1rem;
}

.order-confirm-subtitle {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 28ch;
}

.order-confirm-summary {
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.95rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    text-align: left;
    display: grid;
    gap: 0.35rem;
}

.order-confirm-summary div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.order-confirm-summary strong {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    white-space: nowrap;
}

.order-confirm-summary span {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    text-align: right;
}

#orderConfirmCustomer {
    white-space: break-spaces;
}

.order-confirm-summary div:last-child span {
    color: #22c55e;
    font-weight: 800;
}

.order-confirm-note {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
}

.order-confirm-error {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
}

.order-confirm-whatsapp {
    width: 100%;
    min-height: 56px;
    margin-top: 0.35rem;
    border: 0;
    border-radius: 14px;
    background: #22c55e;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.order-confirm-whatsapp:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.order-confirm-whatsapp:active {
    filter: brightness(0.98);
    transform: translateY(0);
}

.order-confirm-whatsapp:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
}

.order-confirm-whatsapp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.order-confirm-cancel {
    margin-top: 0.1rem;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    cursor: pointer;
    justify-self: start;
    padding: 0.45rem 0.1rem;
}

.order-confirm-cancel:hover {
    color: rgba(255, 255, 255, 0.8);
}

.order-confirm-cancel:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
    border-radius: 10px;
}

.seo-points {
    grid-template-columns: 1fr;
    margin-top: 1rem;
}

.seo-points span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.6rem 0.8rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-state {
    padding: 2rem;
    text-align: center;
}

@keyframes product-card-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .public-hero,
    .public-hero.compact,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        justify-content: flex-start;
    }

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

    

    .catalog-results-header {
        flex-direction: column;
    }

    .filter-summary {
        justify-content: flex-start;
    }

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

    .product-side-card-premium {
        position: static;
    }

    .catalog-hero-scrolly {
        padding: 1.25rem;
        gap: 1rem;
    }

    .hero-center-images {
        min-height: 170px;
        order: 2;
    }

    
}

@media (max-width: 720px) {
    .public-header-inner,
    .public-main {
        width: min(100% - 1rem, 1180px);
    }

    body.catalog-body.catalog-fullwidth .public-header-inner,
    body.catalog-body.catalog-fullwidth .public-main {
        width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .public-header-inner {
        padding: 0.75rem 0;
        min-height: auto;
        flex-direction: column;
        align-items: start;
    }

    .public-hero,
    .public-panel,
    .product-detail-card,
    .product-side-card {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .catalog-hero-scrolly {
        padding: 1rem;
        border-radius: 14px;
    }

    .hero-copy h1 {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    .hero-center-images {
        min-height: 150px;
    }

    .hero-floating-card.main-center {
        width: min(88vw, 320px);
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .hero-floating-card.top-left,
    .hero-floating-card.top-right {
        display: none;
    }

    

    .product-assets-card {
        padding: 1rem;
    }

    .filter-card {
        padding: 0;
    }

    .filter-form {
        padding: 1.2rem;
    }

    .custom-range {
        width: 100%;
    }

    .product-card-surface {
        padding: 1rem 1rem 1.1rem;
    }

    .product-card-quick-actions {
        opacity: 1;
        transform: translateY(0);
    }

    .product-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero-actions,
    .product-price-row,
    .product-action-bar,
    .product-gallery-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-action-button,
    .detail-favorite-button,
    .share-button {
        width: 100%;
        justify-content: center;
    }

    /* removed legacy product-gallery-dialog responsive rules */

    .image-zoom-shell {
        padding: 0.85rem;
        border-radius: 22px;
    }

    .image-zoom-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .image-zoom-actions {
        width: 100%;
    }

    .image-zoom-actions .icon-button {
        flex: 1 1 110px;
        justify-content: center;
    }

    .image-zoom-stage {
        min-height: min(62vh, 520px);
    }

    .image-zoom-image {
        max-height: min(56vh, 460px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.footer {
    background: linear-gradient(135deg, #020617, #0f172a);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    color: #ffffff;
}

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

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 40px;
    gap: 30px;
}

.footer-brand h3 {
    margin: 0 0 0.35rem;
    background: linear-gradient(90deg, #6366f1, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    margin: 0;
    opacity: 0.6;
}

.footer-links h4,
.footer-contact h4 {
    margin: 0 0 10px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #6366f1;
    transform: translateX(5px);
}

.footer-contact p {
    opacity: 0.6;
    margin: 0 0 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-bottom span {
    color: #6366f1;
    font-weight: bold;
}

.public-signup-popup-card .footer {
    margin: 1.5rem -35px -35px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.image-zoom-shell .footer {
    margin: 0 -1rem -1rem;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 18px;
    }

    .footer-links a:hover {
        transform: none;
    }
}
