/* =========================================================
   LayerBeam – Global UI Styles
   Cleaned + modernized foundation
   ========================================================= */

/* =========================
   1) Design Tokens
   ========================= */
:root {
    --bg: #08111f;
    --bg-2: #0b1424;
    --bg-3: #101b31;

    --card: rgba(10, 18, 35, 0.92);
    --card-2: rgba(6, 12, 25, 0.95);
    --panel: rgba(8, 18, 40, 0.72);

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(120, 160, 255, 0.22);

    --text: #edf4ff;
    --muted: #93a4bf;
    --muted-2: #bfd0ea;

    --blue: #2563eb;
    --blue-2: #4f46e5;
    --violet: #7c3aed;
    --red: #ef4444;
    --green: #10b981;
    --amber: #f59e0b;
    --steel: #cbd5e1;

    --radius-xs: 10px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.45);
    --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.32);
    --shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.55);

    --transition: all 0.2s ease;
}

/* =========================
   2) Reset / Base
   ========================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at top left, #10213d 0%, #08111f 55%, #060b14 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { border: 0; }

h1, h2, h3, h4 { margin-top: 0; line-height: 1.1; }
p { line-height: 1.55; }
strong { font-weight: 800; }

/* =========================
   3) Global Layout Helpers
   ========================= */
.wrap { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.main { padding: 32px 0 48px; }

.row { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap { gap: 12px; }
.lg { gap: 22px; }
.wrap-mobile { flex-wrap: wrap; }

.grid { display: grid; gap: 18px; }
.two-col { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.four-up { grid-template-columns: repeat(4, 1fr); }
.five-up { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.narrow { max-width: 680px; margin: 0 auto; }
.stack { display: grid; gap: 12px; }
.compact { gap: 12px; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }

.eyebrow {
    margin-bottom: 10px;
    color: #8ab4ff;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* =========================
   4) Ambient Background
   ========================= */
.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
}

.bg-scenes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    background:
        radial-gradient(circle at 12% 78%, rgba(40, 110, 255, 0.10), transparent 26%),
        radial-gradient(circle at 86% 24%, rgba(255, 94, 43, 0.10), transparent 24%);
}

.bg-scene {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 38vw;
    min-width: 260px;
    max-width: 620px;
    opacity: 0.9;
    filter: blur(0.05px);
}

.bg-scene-printer {
    left: 0;
}

.bg-scene-printer {
    background:
        radial-gradient(circle at 24% 78%, rgba(64, 140, 255, 0.20), transparent 24%),
        radial-gradient(circle at 28% 30%, rgba(96, 165, 250, 0.08), transparent 20%),
        linear-gradient(180deg, rgba(8, 20, 40, 0.0), rgba(13, 31, 68, 0.22), rgba(8, 18, 40, 0.0));
}

.bg-scene-printer::before,
.bg-scene-printer::after {
    content: "";
    position: absolute;
    left: 8%;
    border-radius: 999px;
}

.bg-scene-printer::before {
    top: 12%;
    width: 74%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(117, 180, 255, 0.26), transparent);
}

.bg-scene-printer::after {
    top: 18%;
    width: 66%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(117, 180, 255, 0.22), transparent);
}

.printer-frame {
    position: absolute;
    left: 7%;
    top: 10%;
    width: 74%;
    height: 70%;
    border: 1px solid rgba(123, 184, 255, 0.16);
    border-radius: 26px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 44px rgba(59, 130, 246, 0.10);
}

.printer-frame::before,
.printer-frame::after {
    content: "";
    position: absolute;
    top: 8%;
    bottom: 8%;
    width: 2px;
    background: linear-gradient(180deg, rgba(95, 158, 255, 0.06), rgba(95, 158, 255, 0.22), rgba(95, 158, 255, 0.06));
}

.printer-frame::before { left: 11%; }
.printer-frame::after { right: 11%; }

.printer-bed {
    position: absolute;
    left: 8%;
    bottom: 10%;
    width: 70%;
    height: 18%;
    border: 1px solid rgba(88, 140, 220, 0.24);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(18, 34, 66, 0.08), rgba(8, 18, 40, 0.28)),
        repeating-linear-gradient(
            to bottom,
            rgba(130, 190, 255, 0.05) 0,
            rgba(130, 190, 255, 0.05) 2px,
            transparent 2px,
            transparent 10px
        );
    box-shadow:
        inset 0 0 56px rgba(29, 78, 216, 0.16),
        0 0 30px rgba(37, 99, 235, 0.08);
}

.printer-build {
    position: absolute;
    bottom: 15%;
    border-radius: 18px 18px 10px 10px;
    background:
        linear-gradient(180deg, rgba(120, 188, 255, 0.28), rgba(68, 131, 255, 0.10)),
        repeating-linear-gradient(
            to bottom,
            rgba(185, 225, 255, 0.20) 0,
            rgba(185, 225, 255, 0.20) 2px,
            rgba(42, 76, 146, 0.02) 2px,
            rgba(42, 76, 146, 0.02) 8px
        );
    border: 1px solid rgba(144, 196, 255, 0.14);
    box-shadow:
        inset 0 0 16px rgba(210, 235, 255, 0.04),
        0 0 24px rgba(59, 130, 246, 0.05);
}

.printer-build-a {
    left: 20%;
    width: 18%;
    height: 18%;
    animation: printerBuildPulse 6.5s ease-in-out infinite;
}

.printer-build-b {
    left: 43%;
    width: 11%;
    height: 12%;
    animation: printerBuildPulse 5.4s ease-in-out infinite reverse;
}

.printer-head {
    position: absolute;
    left: 18%;
    top: 21%;
    width: 22%;
    height: 8%;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(78, 136, 255, 0.22), rgba(16, 30, 58, 0.60));
    border: 1px solid rgba(140, 196, 255, 0.24);
    box-shadow:
        0 0 48px rgba(59, 130, 246, 0.28),
        inset 0 0 18px rgba(255, 255, 255, 0.04);
    animation: printerHeadSweep 8.5s ease-in-out infinite;
}

.printer-head::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -120px;
    width: 2px;
    height: 120px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.38), transparent);
}

.printer-beam {
    position: absolute;
    top: 24%;
    left: 9%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.0), rgba(96, 165, 250, 0.55), rgba(96, 165, 250, 0.0));
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.24);
}

.printer-beam-a {
    width: 58%;
    animation: printerBeamMove 8.5s ease-in-out infinite;
}

.printer-beam-b {
    top: 27%;
    width: 52%;
    opacity: 0.55;
    animation: printerBeamMove 8.5s ease-in-out infinite reverse;
}

.bg-scene-laser {
    right: 0;
}

.bg-scene-laser {
    background:
        radial-gradient(circle at 68% 30%, rgba(255, 102, 43, 0.20), transparent 24%),
        radial-gradient(circle at 70% 58%, rgba(255, 129, 69, 0.10), transparent 18%),
        linear-gradient(180deg, rgba(45, 11, 11, 0.0), rgba(74, 20, 14, 0.20), rgba(45, 11, 11, 0.0));
}

.bg-scene-laser::before,
.bg-scene-laser::after {
    content: "";
    position: absolute;
    right: 10%;
    width: 62%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 93, 47, 0.22), transparent);
}

.bg-scene-laser::before { top: 16%; }
.bg-scene-laser::after { top: 24%; opacity: 0.5; }

.laser-frame {
    position: absolute;
    right: 8%;
    top: 12%;
    width: 70%;
    height: 48%;
    border: 1px solid rgba(255, 120, 84, 0.16);
    border-radius: 28px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.015),
        0 0 46px rgba(255, 87, 34, 0.10);
}

.laser-frame::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 12%;
    height: 18%;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 153, 102, 0.04), rgba(255, 102, 43, 0.10)),
        repeating-linear-gradient(
            90deg,
            rgba(255, 173, 122, 0.08) 0,
            rgba(255, 173, 122, 0.08) 2px,
            transparent 2px,
            transparent 12px
        );
    border: 1px solid rgba(255, 140, 101, 0.10);
}

.laser-head {
    position: absolute;
    right: 18%;
    top: 17%;
    width: 20%;
    height: 9%;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 127, 80, 0.18), rgba(39, 14, 14, 0.72));
    border: 1px solid rgba(255, 152, 97, 0.24);
    box-shadow: 0 0 52px rgba(255, 107, 53, 0.28);
    animation: laserHeadDrift 7.8s ease-in-out infinite;
}

.laser-glow {
    position: absolute;
    right: 6%;
    top: 14%;
    width: 58%;
    height: 48%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 102, 43, 0.28), rgba(255, 102, 43, 0.08) 55%, transparent 72%);
    animation: laserGlowPulse 5.2s ease-in-out infinite;
}

.laser-line {
    position: absolute;
    right: 15%;
    top: 24%;
    width: 38%;
    height: 3px;
    transform-origin: right center;
    background: linear-gradient(90deg, rgba(255, 96, 55, 0.0), rgba(255, 109, 62, 0.7), rgba(255, 205, 128, 0.95));
    box-shadow: 0 0 24px rgba(255, 98, 56, 0.52);
}

.laser-line-a {
    animation: laserSweepA 6.8s ease-in-out infinite;
}

.laser-line-b {
    width: 32%;
    top: 31%;
    opacity: 0.55;
    animation: laserSweepB 5.6s ease-in-out infinite;
}

.laser-spark {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 235, 170, 0.95), rgba(255, 111, 55, 0.45) 60%, transparent 72%);
    box-shadow: 0 0 28px rgba(255, 132, 74, 0.56);
}

.laser-spark-a {
    right: 24%;
    top: 24%;
    animation: sparkFloatA 4.4s ease-in-out infinite;
}

.laser-spark-b {
    right: 32%;
    top: 32%;
    width: 7px;
    height: 7px;
    animation: sparkFloatB 3.8s ease-in-out infinite;
}

.laser-spark-c {
    right: 20%;
    top: 36%;
    width: 6px;
    height: 6px;
    animation: sparkFloatC 5.1s ease-in-out infinite;
}

@keyframes printerHeadSweep {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(138%); }
}

@keyframes printerBeamMove {
    0%, 100% { transform: translateX(0); opacity: 0.24; }
    50% { transform: translateX(22%); opacity: 0.82; }
}

@keyframes printerBuildPulse {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-3px); opacity: 0.85; }
}

@keyframes laserHeadDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-16%); }
}

@keyframes laserGlowPulse {
    0%, 100% { opacity: 0.52; transform: scale(1); }
    50% { opacity: 0.92; transform: scale(1.09); }
}

@keyframes laserSweepA {
    0%, 100% { transform: rotate(-16deg) scaleX(0.88); opacity: 0.26; }
    50% { transform: rotate(8deg) scaleX(1.10); opacity: 1; }
}

@keyframes laserSweepB {
    0%, 100% { transform: rotate(12deg) scaleX(0.78); opacity: 0.18; }
    50% { transform: rotate(-10deg) scaleX(1.05); opacity: 0.84; }
}

@keyframes sparkFloatA {
    0%, 100% { transform: translate(0, 0) scale(0.9); opacity: 0.35; }
    50% { transform: translate(-18px, 12px) scale(1.2); opacity: 0.95; }
}

@keyframes sparkFloatB {
    0%, 100% { transform: translate(0, 0); opacity: 0.2; }
    50% { transform: translate(-10px, -14px); opacity: 0.9; }
}

@keyframes sparkFloatC {
    0%, 100% { transform: translate(0, 0) scale(0.9); opacity: 0.28; }
    50% { transform: translate(-12px, 10px) scale(1.15); opacity: 0.85; }
}

@media (max-width: 980px) {
    .bg-scene {
        width: 42vw;
        opacity: 0.46;
    }
}

@media (max-width: 720px) {
    .bg-scenes {
        opacity: 0.78;
    }

    .bg-scene {
        width: 54vw;
        min-width: 180px;
        opacity: 0.28;
    }
}

.bg-logo {
    position: fixed;
    right: 4vw;
    bottom: 6vh;
    width: min(42vw, 520px);
    height: min(42vw, 520px);
    pointer-events: none;
    opacity: 0.05;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 0 80px rgba(37, 99, 235, 0.2));
}

/* =========================
   5) Public Topbar / Nav
   ========================= */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(180deg, rgba(6, 12, 25, 0.9), rgba(6, 12, 25, 0.65));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.brand-banner {
    gap: 0;
}

.brand-banner-img {
    height: 46px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.15));
}

.brand-logo { width: 100%; height: 100%; object-fit: cover; }

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 0;
    color: #dce9ff;
    font-size: 0.95rem;
}

.nav-icon {
    width: 16px;
    height: 16px;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.22));
}

/* =========================
   6) Cards / Panels
   ========================= */
.card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--card), var(--card-2));
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
}

.tech-panel {
    display: grid;
    min-height: 100%;
    place-items: center;
}

.media-panel {
    position: relative;
    overflow: hidden;
    padding: 12px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(7, 16, 36, 0.92), rgba(13, 31, 66, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
}

.media-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 224, 255, 0.18), transparent 32%),
        radial-gradient(circle at 82% 18%, rgba(255, 120, 40, 0.20), transparent 28%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
}

.media-panel::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 2;
    pointer-events: none;
    border-radius: 23px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); }

/* =========================
   7) Buttons / Actions
   ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.btn.primary {
    border: 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-2) 70%, var(--violet));
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.55);
}

.btn.danger {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
}

.btn.small {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
}

/* =========================
   8) Form Controls
   ========================= */
label {
    display: grid;
    gap: 7px;
    color: #d9e7ff;
    font-weight: 600;
}

input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    transition: var(--transition);
}

textarea { resize: vertical; }

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: rgba(120, 160, 255, 0.6);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.checkbox-row { display: flex; align-items: center; gap: 10px; }
.checkbox-row input { width: auto; }

/* =========================
   9) Hero Section
   ========================= */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 22px;
    align-items: center;
    margin: 18px 0 30px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.02;
}

.hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-art, .hero-video {
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    filter: brightness(0.88) contrast(1.06) saturate(1.02);
}

/* =========================
   10) Icons / Feature Cards
   ========================= */
.icon-card { text-align: left; }

.icon-badge {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
    border-radius: 16px;
}

.icon-badge img { width: 28px; height: 28px; }

.icon-card .icon-badge img {
    width: 54px;
    height: 54px;
    padding: 6px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
}

.badge-blue { background: rgba(37, 99, 235, 0.14); }
.badge-red { background: rgba(239, 68, 68, 0.14); }
.badge-violet { background: rgba(124, 58, 237, 0.16); }
.badge-steel { background: rgba(203, 213, 225, 0.12); }
.badge-green { background: linear-gradient(135deg, rgba(16, 185, 129, 0.20), rgba(45, 212, 191, 0.14)); }

/* =========================
   11) Product Cards / Listing
   ========================= */
.product-card { overflow: hidden; transition: all 0.25s ease; }

.product-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-strong);
}

.image-box {
    height: 220px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(124, 58, 237, 0.10));
}

.image-box img { width: 100%; height: 100%; object-fit: cover; }

.card-body p { color: var(--muted); }

.tag {
    display: inline-flex;
    padding: 6px 10px;
    margin-bottom: 8px;
    font-size: 0.82rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    color: #a5c7ff;
}

.laser-tag { background: rgba(239, 68, 68, 0.13); color: #fecaca; }

.product-config-topline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.product-config-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.08);
}

.chip-print-ui {
    color: #dbeafe;
    background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(59,130,246,.08));
}

.chip-laser-ui {
    color: #ffd8c7;
    background: linear-gradient(135deg, rgba(255,111,60,.18), rgba(124,58,237,.08));
}

.chip-neutral-ui {
    color: #cbd5e1;
    background: rgba(255,255,255,.05);
}

/* =========================
   12) Product Detail
   ========================= */
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 22px;
    align-items: start;
}

.enhanced { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
.detail-side { position: sticky; top: 88px; }
.gallery-card { padding: 14px; }

.main-gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.thumb-btn { padding: 0; background: transparent; cursor: pointer; }

.thumb-btn img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
}

.product-lead { font-size: 1.02rem; line-height: 1.55; color: var(--muted); }

.price {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 10px 16px;
    margin: 10px 0 18px;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 22px;
}

.spec-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.spec-card img {
    width: 42px;
    height: 42px;
    padding: 4px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
}

.spec-card strong { display: block; font-size: 0.95rem; }

.spec-card span {
    display: block;
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--muted);
}

.product-actions { display: flex; flex-direction: column; gap: 10px; }

.product-visual-points,
.product-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.product-preview-story {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.visual-point-card,
.product-story-card {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
        radial-gradient(circle at top right, rgba(231, 96, 27, 0.10), transparent 42%);
}

.visual-point-label {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47, 111, 255, 0.12);
    color: #dbeafe;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.visual-point-card strong,
.product-story-card strong {
    display: block;
    margin-bottom: 8px;
    line-height: 1.35;
}

.visual-point-card p,
.product-story-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.product-media-brief,
.product-review-card,
.product-shot-checklist {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
}

.product-media-brief strong {
    display: block;
    margin-top: 6px;
    line-height: 1.4;
}

.product-shot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-shot-card {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.product-shot-card strong {
    display: block;
    margin-bottom: 6px;
}

.product-shot-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.product-review-card blockquote {
    margin: 10px 0 8px;
    font-size: 1.04rem;
    line-height: 1.6;
    font-weight: 600;
}

@media (max-width: 860px) {
    .product-visual-points,
    .product-story-grid,
    .product-shot-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   13) Preview / Engraving UI
   ========================= */
.preview-box {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(9, 16, 27, 0.95), rgba(8, 16, 27, 0.78));
}


.preview-box {
  width: 100%;
  max-width: 100%;
}

.engraving-stage {
  position: relative;
  display: inline-block;
  width: 100%;
}

.engraving-base-image {
  width: 100%;
  height: auto;
  display: block;
}

.engraving-preview-box {
  display: grid;
  gap: 16px;
}

.preview-tools-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}

.preview-tools-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.preview-editor-status {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 111, 255, 0.16);
  color: #dbeafe;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.preview-tools-actions {
  align-items: center;
}

.preview-assist-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background: rgba(59, 130, 246, 0.08);
  color: #bfdbfe;
  font-size: 0.82rem;
  line-height: 1.45;
}

.preview-ai-profile {
  margin-top: 8px;
  color: #dbeafe;
  font-size: 0.82rem;
  line-height: 1.4;
}

.product-collapse {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  overflow: hidden;
}

.product-preview-story .product-collapse {
  margin-top: 0;
}

.product-collapse summary {
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #fff;
}

.product-collapse summary::-webkit-details-marker {
  display: none;
}

.product-collapse summary::after {
  content: "+";
  float: right;
  color: #93c5fd;
}

.product-collapse[open] summary::after {
  content: "-";
}

.product-collapse > :not(summary) {
  padding: 0 14px 14px;
}

.product-collapse .section-head.tight {
  display: none;
}

.engraving-stage-wrap {
  padding: 8px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}

.engraving-stage {
  position: relative;
  display: inline-block; /* WICHTIG */
  line-height: 0;
}

.engraving-base-image {
  display: block;
  width: 100%;
  height: auto;
}

.engraving-area {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
}

.engraving-area-outline {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(123, 60, 255, 0.8);
  border-radius: 10px;
  background: rgba(123, 60, 255, 0.08);
  pointer-events: none;
}

.engraving-text {
  position: absolute;
  left: 6px;
  top: 6px;
  max-width: calc(100% - 12px);
  max-height: calc(100% - 12px);
  min-width: 0;
  min-height: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 2px;
  text-align: center;
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: 0;
  color: rgba(38, 20, 10, 0.72);

  writing-mode: vertical-rl;
  text-orientation: mixed;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  overflow: visible;

  cursor: grab;
  user-select: none;

  filter: blur(0.15px) contrast(1.02);
  text-shadow:
    0 0 0 rgba(0,0,0,0.15),
    0 1px 1px rgba(255,140,60,0.10);
  mix-blend-mode: multiply;
}

.engraving-stage {
  position: relative;
  display: inline-block;
}

.engraving-base-image {
  display: block;
  width: 100%;
  height: auto;
}

.engraving-area {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  border-radius: 10px;
}

.engraving-area-outline {
  position: absolute;
  inset: 0;
  border: 2px dashed #7b3cff;
  border-radius: 10px;
  z-index: 3;
}

.engraving-material-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 10px;
  opacity: 0.85;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.08));
}

.engraving-text.dragging {
  cursor: grabbing;
}

.engraving-layer {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(38, 20, 10, 0.72);
  cursor: grab;
  user-select: none;
  z-index: 2;
  transition: box-shadow 0.15s ease, outline-color 0.15s ease;
}

.engraving-layer.active {
  outline: 1px dashed rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.engraving-layer.dragging {
  cursor: grabbing;
}

.engraving-layer-text {
  max-width: none;
  max-height: none;
  min-width: 0;
  min-height: 0;
  padding: 2px 4px;
  line-height: 1.0;
  font-weight: 800;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
  filter: blur(0.15px) contrast(1.02);
  text-shadow:
    0 0 0 rgba(0,0,0,0.15),
    0 1px 1px rgba(255,140,60,0.10);
  mix-blend-mode: multiply;
}

.engraving-layer-symbol {
  width: 24px;
  height: 24px;
}

.engraving-layer-symbol svg {
  width: 100%;
  height: 100%;
  display: block;
}



.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.engraving-warning {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #fbbf24;
}

.preview-material-note {
  margin-top: 8px;
  color: rgba(255,255,255,0.70);
  font-size: 0.8rem;
}

.engraving-area.engraving-sim-wood .engraving-material-sheen {
  background:
    linear-gradient(180deg, rgba(255,214,170,0.16), rgba(90,42,8,0.10)),
    repeating-linear-gradient(8deg, rgba(120,74,28,0.10) 0 2px, rgba(255,255,255,0.03) 2px 5px);
}

.engraving-area.engraving-sim-wood .engraving-layer {
  color: rgba(68, 28, 8, 0.72);
}

.engraving-area.engraving-sim-wood .engraving-layer-text,
.engraving-area.engraving-sim-wood .engraving-layer-symbol {
  mix-blend-mode: multiply;
  text-shadow: 0 1px 1px rgba(255, 214, 170, 0.12), 0 0 0 rgba(68, 28, 8, 0.14);
}

.engraving-area.engraving-sim-metal .engraving-material-sheen {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.20), rgba(70,85,110,0.14)),
    linear-gradient(90deg, rgba(255,255,255,0.10), rgba(0,0,0,0.08), rgba(255,255,255,0.12));
}

.engraving-area.engraving-sim-metal .engraving-layer {
  color: rgba(45, 55, 72, 0.76);
}

.engraving-area.engraving-sim-metal .engraving-layer-text,
.engraving-area.engraving-sim-metal .engraving-layer-symbol {
  mix-blend-mode: color-burn;
  filter: contrast(1.06) blur(0.1px);
  text-shadow: 0 1px 1px rgba(255,255,255,0.10), 0 0 0 rgba(15,23,42,0.16);
}

.engraving-area.engraving-sim-acrylic .engraving-material-sheen {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(109,40,217,0.08)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.14), transparent 42%);
}

.engraving-area.engraving-sim-acrylic .engraving-layer {
  color: rgba(55, 48, 163, 0.68);
}

.engraving-area.engraving-sim-acrylic .engraving-layer-text,
.engraving-area.engraving-sim-acrylic .engraving-layer-symbol {
  mix-blend-mode: overlay;
  filter: contrast(1.08) blur(0.12px);
  text-shadow: 0 0 6px rgba(191,219,254,0.14);
}

.engraving-area.engraving-sim-leather .engraving-material-sheen {
  background:
    linear-gradient(180deg, rgba(160,82,45,0.14), rgba(62,39,18,0.14)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 3px, rgba(0,0,0,0.02) 3px 6px);
}

.engraving-area.engraving-sim-leather .engraving-layer {
  color: rgba(56, 30, 10, 0.74);
}

.engraving-area.engraving-sim-leather .engraving-layer-text,
.engraving-area.engraving-sim-leather .engraving-layer-symbol {
  mix-blend-mode: multiply;
  filter: contrast(1.05) blur(0.14px);
  text-shadow: 0 1px 1px rgba(255,235,205,0.08);
}

.engraving-area.engraving-sim-default .engraving-layer-text,
.engraving-area.engraving-sim-default .engraving-layer-symbol {
  mix-blend-mode: multiply;
}

.preview-title { font-size: 1.1rem; font-weight: 800; }

.preview-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: 18px;
    overflow: hidden;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at center, rgba(255, 120, 40, 0.25), transparent 40%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(255, 90, 0, 0.22)),
        rgba(5, 10, 18, 0.95);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.preview-stage::after {
    content: "";
    position: absolute;
    inset: 18px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.preview-stage span {
    position: relative;
    z-index: 1;
    max-width: 100%;
    color: #fff7ef;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    word-break: break-word;
    text-shadow: 0 0 12px rgba(255, 120, 40, 0.4);
}

.preview-pen { background: linear-gradient(90deg, #0f172a 0 20%, #1f2937 20% 80%, #0f172a 80% 100%); }
.preview-plate { background: linear-gradient(135deg, #44403c, #1c1917); }

.preview-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
}

.preview-tools label {
    display: block;
    padding: 12px;
    font-size: 0.92rem;
    border-radius: 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.04);
}

.preview-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.preview-meta span {
    padding: 8px 10px;
    font-size: 0.86rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

/* =========================
   14) Tables / Status / Lists
   ========================= */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table tr { background: rgba(255, 255, 255, 0.02); }

.table th, .table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.table th { color: #a9bbd6; font-weight: 700; }

.status-badge {
    display: inline-flex;
    padding: 6px 10px;
    font-size: 0.82rem;
    border-radius: 999px;
}

.status-badge.pending { color: #bfdbfe; background: rgba(37, 99, 235, 0.16); }
.status-badge.progress { color: #ddd6fe; background: rgba(124, 58, 237, 0.18); }
.status-badge.ready { color: #a7f3d0; background: rgba(16, 185, 129, 0.18); }
.status-badge.shipping { color: #fde68a; background: rgba(245, 158, 11, 0.16); }
.status-badge.done { color: #bbf7d0; background: rgba(34, 197, 94, 0.18); }
.status-badge.cancelled { color: #e2e8f0; background: rgba(148, 163, 184, 0.18); }

.status-progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.status-step {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.status-step.active {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12) inset;
}

.status-step.done { border-color: rgba(16, 185, 129, 0.45); }

.status-dot {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.status-step.active .status-dot { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.status-step.done .status-dot { background: #10b981; }

.status-label { font-size: 0.88rem; line-height: 1.3; color: #dce9ff; }
.admin-status { margin-bottom: 20px; }

.queue-list, .suggestion-list { display: grid; gap: 10px; }

.queue-item, .suggestion-item {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

/* =========================
   15) Admin Foundation
   ========================= */
.admin-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.admin-content { min-width: 0; }

.tech-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 6px;
    height: max-content;
    padding: 18px;
}

.tech-sidebar a {
    display: block;
    padding: 12px 14px;
    color: #dce8ff;
    border-radius: 14px;
}

.tech-sidebar a:hover { background: rgba(255, 255, 255, 0.04); }

.admin-app { display: flex; flex-direction: column; gap: 22px; }

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    background:
        linear-gradient(120deg, rgba(59,130,246,.10), transparent 28%),
        linear-gradient(240deg, rgba(255,111,60,.10), transparent 26%),
        linear-gradient(180deg, rgba(12, 25, 55, 0.85), rgba(6, 14, 30, 0.75));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.admin-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(47, 111, 255, 0.2));
}

.admin-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-brand-copy small {
    color: #91a5c4;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-brand-copy strong {
    font-size: 0.98rem;
    font-weight: 800;
}

.admin-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f6fff 0%, #7b3cff 100%);
    box-shadow: 0 0 14px rgba(123, 60, 255, 0.55);
}

.admin-topnav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-topnav a, .admin-topbar-link {
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.82);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.admin-topnav a:hover, .admin-topbar-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255,255,255,.06);
}

.admin-topnav a.active {
    color: #fff;
    background: rgba(47, 111, 255, 0.16);
    border: 1px solid rgba(123, 60, 255, 0.32);
}

.admin-topnav a.soft-active {
    color: #d9e6ff;
    border-color: rgba(255,255,255,.06);
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-topbar-icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: #d9e6ff;
    font-size: .8rem;
    font-weight: 700;
}

.admin-topbar-avatar {
    min-width: 38px;
    text-align: center;
}

.admin-topbar-link.danger:hover {
    color: #ffdede;
    background: rgba(255, 84, 84, 0.14);
}

.admin-page-wrap { min-width: 0; }
.admin-page-wrap > * {
    animation: pageLiftIn .35s ease;
}

.stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.stat-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background: rgba(10, 22, 45, 0.65);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(100, 150, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-card strong { display: block; margin-top: 6px; font-size: 26px; }

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.admin-action-card {
    padding: 18px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background: rgba(8, 18, 40, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.admin-action-card:hover {
    transform: translateY(-5px);
    border-color: rgba(120, 160, 255, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

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

.admin-action-card h3 { margin: 0; }

.admin-action-card p {
    margin: 6px 0 0;
    font-size: 13px;
    opacity: 0.7;
}

.admin-action-card--large {
    min-height: 138px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-action-card--large strong {
    font-size: 1.65rem;
    line-height: 1.05;
}

.admin-dash-shell {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.admin-dash-head,
.admin-dash-kpis,
.admin-dash-feature,
.admin-editor-shell,
.admin-editor-content,
.admin-editor-preview-card,
.admin-editor-sidebar-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02)),
        rgba(8, 18, 40, 0.72);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.admin-eyebrow {
    color: #95a8cc;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.admin-dash-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 30px;
}

.admin-dash-head h1 {
    margin: 0 0 8px;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.admin-dash-head p {
    margin: 0;
    max-width: 680px;
}

.admin-dash-head-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: #e7efff;
    font-size: .92rem;
}

.admin-dash-hero,
.admin-dash-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .95fr);
    gap: 22px;
}

.admin-dash-kpis {
    padding: 0;
    overflow: hidden;
}

.admin-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-kpi-card {
    padding: 28px 26px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.admin-kpi-card:last-child { border-right: 0; }

.admin-kpi-card span,
.admin-feature-copy p,
.admin-queue-item small,
.admin-suggestion-card small,
.admin-mini-row span {
    color: rgba(255,255,255,.68);
}

.admin-kpi-card strong {
    display: block;
    margin: 10px 0 8px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.admin-kpi-card small {
    display: block;
    color: #9bb0d2;
    font-size: .9rem;
}

.admin-dash-chart {
    padding: 24px 26px 26px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.admin-trend-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.admin-trend-item {
    display: grid;
    grid-template-columns: 62px 1fr 40px;
    align-items: center;
    gap: 14px;
}

.admin-trend-item span,
.admin-trend-item strong {
    font-size: .92rem;
}

.admin-trend-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
}

.admin-trend-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5b8cff 0%, #70c3ff 100%);
}

.admin-stat-foot {
    margin-top: 18px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.admin-stat-foot strong {
    font-size: 2.3rem;
}

.admin-dash-feature {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.admin-feature-visual {
    margin-top: 8px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(0,0,0,.25);
}

.admin-feature-visual img {
    width: 100%;
    display: block;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}

.admin-feature-copy {
    margin-top: 18px;
}

.admin-feature-copy strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.admin-feature-tabs {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.admin-feature-tabs span {
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.76);
}

.admin-feature-tabs .active {
    background: rgba(47, 111, 255, 0.16);
    color: #fff;
}

.admin-dash-actions,
.admin-warning-grid,
.admin-suggestion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.admin-mini-table,
.admin-queue-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-mini-row,
.admin-queue-item,
.admin-suggestion-card,
.admin-warning-card {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
}

.admin-mini-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.admin-mini-row strong,
.admin-queue-item strong,
.admin-suggestion-card strong,
.admin-warning-card strong {
    display: block;
    margin-bottom: 4px;
}

.admin-mini-total {
    font-weight: 700;
    white-space: nowrap;
}

.admin-analytics-status {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-analytics-card {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.admin-analytics-card span {
    display: block;
    color: rgba(255,255,255,.68);
    font-size: .9rem;
}

.admin-analytics-card strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
    line-height: 1;
}

.admin-analytics-pages > strong {
    display: block;
    margin-bottom: 12px;
}

.admin-analytics-badge {
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
}

.admin-analytics-badge.connected {
    color: #dff7ea;
    border-color: rgba(16,185,129,.28);
    background: rgba(16,185,129,.12);
}

.admin-analytics-badge.pending {
    color: #ffecc9;
    border-color: rgba(245,158,11,.28);
    background: rgba(245,158,11,.12);
}

.admin-editor-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.admin-editor-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.admin-editor-headline {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.admin-back-link {
    color: #dce8ff;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.admin-editor-head h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.admin-editor-subline {
    color: rgba(255,255,255,.68);
    font-size: 1rem;
}

.admin-editor-shell {
    border-radius: 28px;
    overflow: hidden;
}

.admin-editor-tabs {
    display: flex;
    gap: 8px;
    padding: 18px 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow-x: auto;
}

.admin-editor-tab {
    padding: 14px 18px;
    color: #bcd0f1;
    border-radius: 16px 16px 0 0;
    border: 1px solid transparent;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.admin-editor-tab.active {
    color: #fff;
    border-color: rgba(255,255,255,.08);
    border-bottom-color: transparent;
    background: rgba(47,111,255,.12);
}

.admin-editor-content {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: 0;
}

.admin-editor-sidebar {
    padding: 22px;
    border-right: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.018);
}

.admin-editor-preview {
    padding: 22px;
}

.admin-editor-sidebar-panel {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.admin-editor-sidebar-panel.active {
    display: flex;
}

.admin-editor-sidebar-card,
.admin-editor-preview-card {
    padding: 18px;
    border-radius: 22px;
}

.admin-editor-preview-card + .admin-editor-preview-card {
    margin-top: 16px;
}

.admin-editor-preview-card h3,
.admin-editor-sidebar-card h3 {
    margin: 0 0 14px;
}

.admin-editor-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-editor-mini-shot {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
}

.admin-editor-mini-shot img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.admin-editor-mini-shot span {
    display: block;
    padding: 10px 12px;
    color: rgba(255,255,255,.72);
    font-size: .85rem;
}

.admin-compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-products-table-shell {
    margin-top: 22px;
}

@media (max-width: 1260px) {
    .admin-dash-actions,
    .admin-warning-grid,
    .admin-suggestion-grid,
    .admin-analytics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dash-hero,
    .admin-dash-panels,
    .admin-editor-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 900px) {
    .admin-topbar,
    .admin-dash-head,
    .admin-editor-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-kpi-row,
    .admin-dash-actions,
    .admin-warning-grid,
    .admin-suggestion-grid,
    .admin-analytics-grid {
        grid-template-columns: 1fr;
    }

    .admin-kpi-card {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .admin-kpi-card:last-child {
        border-bottom: 0;
    }

    .admin-editor-media-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   16) Admin Product Editor
   ========================= */
.product-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 360px;
    gap: 22px;
    align-items: start;
}

.product-edit-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-edit-side {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preview-side-image img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.preview-side-meta { margin-top: 12px; }

.acc-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.acc-header {
    width: 100%;
    padding: 16px 18px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.acc-content { display: none; padding: 0 18px 18px; }
.acc-item.open .acc-content { display: block; }
#laserOnlySection.hidden { display: none; }

/* =========================
   17) Gravure Modal / Editor
   ========================= */
.gravure-admin-box {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.preview-side-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.preview-side-switch .btn.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-2) 70%, var(--violet));
  border-color: transparent;
}

.gravure-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.gravure-modal.hidden,
.gravure-editor-wrap.hidden { display: none !important; }

.gravure-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.gravure-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 24, 0.82);
    backdrop-filter: blur(6px);
}

.gravure-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    background: rgba(8, 18, 40, 0.96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.gravure-modal-header, .gravure-modal-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gravure-modal-footer {
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
}

.gravure-modal-body {
    padding: 20px 22px;
    overflow: auto;
    max-height: 70vh;
}

.gravure-editor {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 980px;
    margin-top: 12px;
    cursor: crosshair;
}

.gravure-editor.large {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.gravure-editor img, .gravure-editor.large img {
    width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
    border-radius: 14px;
    object-fit: contain;
}

.gravure-editor.large img { max-height: calc(100vh - 240px); }

.gravure-zone {
    position: absolute;
    min-width: 40px;
    min-height: 30px;
    cursor: move;
    border: 2px dashed #7b3cff;
    background: rgba(123, 60, 255, 0.14);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.08);
}

.gravure-zone-label {
    position: absolute;
    top: -28px;
    left: 0;
    padding: 4px 8px;
    color: #fff;
    font-size: 0.78rem;
    white-space: nowrap;
    border-radius: 10px;
    background: rgba(123, 60, 255, 0.95);
}

.gravure-resize-handle {
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 18px;
    height: 18px;
    cursor: nwse-resize;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2f6fff;
}

/* =========================
   18) Checkout / Order Flow
   ========================= */
.checkout-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 0 40px;
}

.checkout-header { margin-bottom: 22px; }

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.checkout-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-section h2,
.checkout-side h2 { margin-bottom: 16px; }

.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.checkout-info-card, .paypal-box, .coupon-box, .trust-box {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.info-line, .summary-line, .summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.summary-line { margin-bottom: 14px; font-size: 1rem; }

.summary-total {
    margin-top: 18px;
    padding-top: 16px;
    font-size: 1.18rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.checkline {
    display: flex !important;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checkline input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.checkout-note { margin-top: 8px; font-size: 0.95rem; opacity: 0.8; }
.checkout-actions { display: flex; justify-content: flex-end; }

.checkout-submit {
    min-width: 300px;
    padding: 16px 24px;
    border-radius: 14px;
}

.paypal-box h3 { margin-bottom: 8px; }

.paypal-error {
    margin-top: 12px;
    padding: 12px 14px;
    color: #ffd5d5;
    border: 1px solid rgba(255, 84, 84, 0.25);
    border-radius: 12px;
    background: rgba(255, 84, 84, 0.12);
}

.checkout-icons, .order-info-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

/* =========================
   19) Cart
   ========================= */
.cart-product-cell { font-weight: 600; }
.cart-price-cell { font-weight: 700; white-space: nowrap; }
.cart-meta-cell { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.cart-meta-cell div + div { margin-top: 4px; }
.cart-inline-form { margin: 0; }

.cart-qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cart-qty-value {
    display: inline-block;
    min-width: 28px;
    font-weight: 700;
    text-align: center;
}

.cart-qty-btn {
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.cart-qty-btn:hover {
    background: rgba(47, 111, 255, 0.18);
    border-color: rgba(123, 60, 255, 0.45);
}

.cart-qty-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.cart-remove-btn {
    padding: 9px 14px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.cart-remove-btn:hover {
    color: #ffdede;
    background: rgba(255, 84, 84, 0.16);
    border-color: rgba(255, 84, 84, 0.35);
}

.cart-product-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.cart-product-link:hover { color: #9fc2ff; text-decoration: underline; }

/* =========================
   20) Footer / Newsletter / Cookie
   ========================= */
.footer {
    padding: 20px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1.4fr;
    gap: 18px;
    align-items: start;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-brand strong { display: block; }
.footer-brand span { color: var(--muted); }

.newsletter-inline, .newsletter-home {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}

.newsletter-home { gap: 12px; align-items: center; }

.newsletter-inline label, .newsletter-home label {
    font-size: 0.9rem;
    font-weight: 700;
}

.newsletter-inline input, .newsletter-home input { min-width: 220px; }
.newsletter-home input { min-width: 260px; }

.newsletter-card { margin: 26px 0 30px; }

.note {
    line-height: 1.5;
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    z-index: 9999;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 18px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #111827;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.cookie-banner.hidden { display: none; }

.cookie-banner p { margin: 0.35rem 0 0; color: #d5d9e0; }
.cookie-banner a { color: #fff; text-decoration: underline; }

.newsletter-preview {
    overflow: auto;
    padding: 18px;
    border: 1px solid #e4e7ef;
    border-radius: 16px;
    background: #f7f8fb;
}

/* =========================
   21) Misc / Utility Blocks
   ========================= */
.messages {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.alert {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.alert.success { color: #c6f7e6; background: rgba(16, 185, 129, 0.12); }
.alert.warning { color: #fde68a; background: rgba(245, 158, 11, 0.12); }
.alert.danger { color: #fecaca; background: rgba(239, 68, 68, 0.12); }

.placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: #bfd8ff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
}

.big { height: 460px; }

.legal-card, .order-edit-card { max-width: 960px; }

.legal-body p, .legal-body li {
    line-height: 1.6;
    color: var(--muted);
}

.coupon-pill {
    display: inline-flex;
    margin-right: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.16);
}

.auth-card { margin-top: 40px; }
.compact-grid { align-items: start; }
.home .product-card p { display: none; }
.invoice-note { font-size: 0.9rem; color: var(--muted); }

/* =========================
   22) Settings Page
   ========================= */
.admin-page {
    max-width: 1320px;
    margin: 0 auto;
}

.admin-header { margin-bottom: 22px; }

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

.settings-card {
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, var(--card), var(--card-2));
    box-shadow: var(--shadow-card);
}

.settings-preview { margin: 12px 0 16px; }

.settings-preview img {
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

.form-help {
    display: block;
    margin-top: -2px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: var(--muted);
}

/* =========================
   23) Responsive
   ========================= */
@media (max-width: 1100px) {
    .product-edit-layout { grid-template-columns: 1fr; }
    .product-edit-side { position: static; }
}

@media (max-width: 980px) {
    .hero,
    .product-detail,
    .enhanced,
    .two-col,
    .four-up,
    .form-grid,
    .checkout-layout,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .topbar .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav { padding-bottom: 12px; }
    .thumb-grid { grid-template-columns: repeat(3, 1fr); }
    .checkout-row { grid-template-columns: 1fr; }
    .checkout-actions { justify-content: stretch; }

    .checkout-submit {
        width: 100%;
        min-width: 0;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-topbar-left,
    .admin-topbar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .preview-tools,
    .spec-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-side { position: static; }

    .admin-menu-toggle {
        display: block;
        width: 100%;
        margin-bottom: 16px;
        padding: 14px 16px;
        font-weight: 700;
        text-align: left;
        border-radius: 14px;
    }

    .admin-shell { display: block; }

    .admin-sidebar {
        position: static;
        display: none;
        width: 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .admin-menu-open .admin-sidebar { display: grid; }

    .admin-content {
        width: 100%;
        max-width: 100%;
    }
}

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