@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-sans/pt-sans-400-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-sans/pt-sans-400-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-sans/pt-sans-400-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pt-sans/pt-sans-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pt-sans/pt-sans-700-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pt-sans/pt-sans-700-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pt-sans/pt-sans-700-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PT Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pt-sans/pt-sans-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy-950: #161a3a;
    --navy-900: #23274f;
    --navy-850: #272a51;
    --navy-800: #27315d;
    --blue-700: #134395;
    --blue-600: #006cb5;
    --cyan-500: #84ccd5;
    --cyan-400: #9ee3ea;
    --sky-400: #4bb6e9;
    --copper: #c47a32;
    --paper: #f6f8fb;
    --paper-2: #edf4f8;
    --white: #ffffff;
    --ink: #25294f;
    --muted: #667085;
    --line: rgba(39, 42, 81, 0.13);

    --font-body: "PT Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "PT Sans", system-ui, sans-serif;

    --max: 105rem;
    --page-gutter: clamp(2.5rem, 5vw, 6rem);
    --layer8-footer-height: clamp(13rem, 24dvh, 18rem);
    --display-heading-line-height: 1.02;
    --card-heading-line-height: 1.08;
    --radius-lg: 34px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --shadow-soft: 0 22px 70px rgba(21, 27, 62, 0.14);
    --shadow-strong: 0 34px 100px rgba(13, 22, 55, 0.26);
    --layer8-header-height: 122px;
    --layer8-admin-bar-height: 0px;
    --layer8-site-banner-height: 48px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--layer8-header-height);
    margin-top: 0 !important;
}

body {
    margin: 0;
    padding-top: calc(var(--layer8-header-height) + var(--layer8-admin-bar-height));
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(circle at 0 0, rgba(132, 204, 213, 0.22), transparent 32rem),
        linear-gradient(180deg, #fff 0%, var(--paper) 52%, #fff 100%);
    line-height: 1.5;
}

body.admin-bar {
    --layer8-admin-bar-height: 32px;
}

body.layer8-site-banner-active {
    --layer8-header-height: 170px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        --layer8-admin-bar-height: 46px;
    }
}

body.wp-admin {
    padding-top: 0;
    background: var(--white);
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
}

::selection {
    color: var(--navy-950);
    background: var(--cyan-500);
}

/* Screenreader-Text: global verstecken (wc-blocks.css liefert das nur auf WC-Seiten) */
.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute !important;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip-path: none;
    display: block;
    top: 5px;
    left: 5px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--blue-700);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.container {
    width: min(var(--max), calc(100% - var(--page-gutter)));
    margin-inline: auto;
}

.layer8-site-banner {
    position: relative;
    min-height: var(--layer8-site-banner-height);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.6rem var(--page-gutter);
    overflow: hidden;
    border-bottom: 1px solid var(--cyan-500);
    background:
        linear-gradient(90deg, var(--navy-950) 0%, var(--navy-900) 56%, var(--blue-700) 100%);
    color: var(--white);
    box-shadow: inset 0 1px 0 #2f3564;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.layer8-site-banner::after {
    content: "";
    position: absolute;
    right: var(--page-gutter);
    bottom: 0;
    left: var(--page-gutter);
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--blue-700), var(--cyan-500), var(--sky-400), var(--cyan-500), var(--blue-700));
    pointer-events: none;
}

a.layer8-site-banner {
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
}

a.layer8-site-banner:hover,
a.layer8-site-banner:focus-visible {
    color: var(--white);
    box-shadow: inset 0 1px 0 #3a4071, 0 0 0 1px var(--cyan-500);
}

a.layer8-site-banner:focus-visible {
    outline: 3px solid rgba(132, 204, 213, 0.72);
    outline-offset: -3px;
}

.layer8-site-banner__message {
    min-width: 0;
    font-weight: 800;
    text-shadow: 0 0 14px rgba(132, 204, 213, 0.14);
    animation: layer8-banner-text-glow 8.5s ease-in-out infinite;
    will-change: filter;
}

.layer8-site-banner__link-label {
    flex: 0 0 auto;
    padding: 0.28rem 0.72rem;
    border: 1px solid var(--cyan-500);
    border-radius: 999px;
    background: var(--cyan-500);
    color: var(--navy-950);
    font-size: 0.84rem;
    line-height: 1;
    white-space: nowrap;
}

a.layer8-site-banner:hover .layer8-site-banner__link-label,
a.layer8-site-banner:focus-visible .layer8-site-banner__link-label {
    border-color: var(--cyan-400);
    background: var(--cyan-400);
    color: var(--navy-950);
}

.topline {
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.topline-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topline strong {
    color: var(--cyan-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topline-links {
    display: flex;
    gap: 18px;
    white-space: nowrap;
}

.topline-login {
    color: var(--white);
    font-weight: 700;
}

.layer8-sticky-header {
    position: fixed;
    top: var(--layer8-admin-bar-height) !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid rgba(39, 42, 81, 0.09);
}

#top,
#hero,
#loesung,
#ablauf,
#outpost,
#vorgehen,
#content-creator,
#pakete,
#faq,
#kontakt {
    scroll-margin-top: var(--layer8-header-height);
}

body.admin-bar #top,
body.admin-bar #hero,
body.admin-bar #loesung,
body.admin-bar #ablauf,
body.admin-bar #outpost,
body.admin-bar #vorgehen,
body.admin-bar #content-creator,
body.admin-bar #pakete,
body.admin-bar #faq,
body.admin-bar #kontakt {
    scroll-margin-top: calc(var(--layer8-header-height) + var(--layer8-admin-bar-height));
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.75rem, 3vw, 3rem);
}

.logo {
    width: 158px;
    height: auto;
    flex: 0 0 auto;
}

nav.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: clamp(1.02rem, calc(0.9rem + 0.25vw), 1.18rem);
    font-weight: 700;
    color: var(--navy-900);
}

nav.main-nav .wp-block-navigation__container {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav.main-nav .wp-block-navigation-item {
    margin: 0;
    text-align: center;
}

nav.main-nav a {
    position: relative;
    opacity: 0.86;
    transition:
        color 180ms ease,
        opacity 180ms ease;
}


nav.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 3px;
    background: var(--cyan-500);
    transition: width 180ms ease;
}

nav.main-nav a:hover::after {
    width: 100%;
}

nav.main-nav a.is-active {
    color: var(--blue-700);
    opacity: 1;
}

nav.main-nav a.is-active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--cyan-500), var(--sky-400));
    box-shadow: 0 6px 16px rgba(132, 204, 213, 0.42);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 19px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition:
        box-shadow 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.btn:hover {
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
}

.btn-cyan {
    color: var(--navy-950);
    background: var(--cyan-500);
}

.btn-light {
    color: var(--navy-900);
    background: var(--white);
    border: 1px solid rgba(39, 42, 81, 0.12);
}

.layer8-contact-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: var(--white);
    fill: currentColor;
    object-fit: contain;
}

.layer8-contact-icon path {
    fill: currentColor;
}

.layer8-contact-icon--email {
    color: var(--navy-900);
    fill: var(--navy-900);
}

.layer8-contact-icon--email path {
    fill: var(--navy-900);
}

img.layer8-contact-icon {
    filter: brightness(0) invert(1);
}

.topline-links {
    align-items: center;
    gap: 28px;
}

.topline-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.topline-links .layer8-contact-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
}

.topline-links .layer8-contact-icon.mail {
    height:auto;
    width: 20px;
}

.cart-button,
.menu-button,
.search-button {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(39, 42, 81, 0.12);
    background: var(--white);
    color: var(--navy-900);
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.cart-button:hover,
.search-button:hover {
    border-color: rgba(39, 42, 81, 0.3);
}

.cart-button:focus-visible,
.search-button:focus-visible {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(132, 204, 213, 0.25);
}

/* Header-Suche: ab 1400px als Inline-Pill (bisheriges Layout), darunter
   als Icon-Button mit ausklappbarem Panel unter dem Header — sonst wird
   das Suchfeld von Navigation/CTA auf unter 140px zusammengedrückt. */
.header-search {
    display: flex;
    align-items: center;
}

.search-button {
    display: none;
}

.header-search-panel {
    display: contents;
}

@media (max-width: 1399.98px) {
    .search-button {
        display: grid;
    }

    /* Absolut zum .site-header (position:relative) — passt sich damit auch
       einer umbrechenden Navigation an, anders als ein fixer Viewport-Wert. */
    .header-search-panel {
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(100% + 12px);
        display: none;
        padding: 18px;
        border-radius: 24px;
        border: 1px solid rgba(39, 42, 81, 0.12);
        background: var(--white);
        box-shadow: var(--shadow-soft);
    }

    .header-search-panel.is-open {
        display: block;
    }

    .header-search-panel .search-form {
        max-width: none;
    }
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -3px;
    z-index: 1;
    box-sizing: border-box;
    width: max-content;
    min-width: 20px;
    max-width: calc(100vw - 24px);
    height: 20px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid rgba(132, 204, 213, 0.6);
    background: #eaf7f9;
    color: var(--navy-950);
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    line-height: 1;
}

.cart-count[data-count="0"] {
    display: none;
}

.menu-button {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(22, 26, 58, 0.98) 0%, rgba(35, 39, 79, 0.96) 48%, rgba(19, 67, 149, 0.92) 100%),
        radial-gradient(circle at 85% 15%, rgba(132, 204, 213, 0.28), transparent 22rem);
    color: var(--white);
    height: calc(100vh - var(--layer8-header-height));
    height: calc(100dvh - var(--layer8-header-height));
    min-height: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.28;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
    pointer-events: none;
}

.hero-cyber-grid {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 30%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 60% 28%, rgba(0, 229, 255, 0.18), transparent 20rem),
        rgba(0, 56, 123, 0.2);
    mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%);
}

.hero-cyber-grid .node {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0, 229, 255, 0.72);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.55);
    z-index: 0;
    will-change: transform, opacity;
}

.hero-cyber-grid .connection {
    position: absolute;
    height: 1px;
    z-index: 0;
    background: linear-gradient(to right, rgba(0, 229, 255, 0.08), rgba(0, 229, 255, 0.5), rgba(0, 229, 255, 0.08));
    transform-origin: left center;
    will-change: transform, opacity;
}

.hero-cyber-grid .pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    z-index: 0;
    background-color: rgba(0, 229, 255, 0.025);
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.5);
    transform: scale(0);
    will-change: transform, opacity;
}

.hero-cyber-grid .binary {
    position: absolute;
    z-index: 0;
    color: rgba(0, 229, 255, 0.18);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    white-space: nowrap;
    will-change: transform, opacity;
}

.hero-cyber-grid .shield {
    position: absolute;
    width: 60px;
    height: 70px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(145deg, rgba(0, 229, 255, 0.06) 0%, rgba(0, 229, 255, 0.02) 100%);
    border: 1px solid rgba(0, 229, 255, 0.14);
    opacity: 0.42;
    z-index: 0;
    will-change: transform, opacity;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }

    70% {
        opacity: 0.3;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes pulse-node {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.8);
        opacity: 1;
    }
}

@keyframes fade-connection {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes float-binary {
    0% {
        transform: translateY(0);
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

@keyframes shield-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

@keyframes layer8-cyan-hero-glow {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(0, 229, 255, 0.08));
        text-shadow: 0 10px 44px rgba(132, 204, 213, 0.2);
    }

    50% {
        filter: brightness(1.045) drop-shadow(0 0 18px rgba(0, 229, 255, 0.18));
        text-shadow: 0 10px 54px rgba(132, 204, 213, 0.34), 0 0 28px rgba(0, 229, 255, 0.16);
    }
}

@keyframes layer8-cyan-soft-glow {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 7px rgba(0, 229, 255, 0.06));
        text-shadow: 0 10px 36px rgba(132, 204, 213, 0.2);
    }

    50% {
        filter: brightness(1.026) drop-shadow(0 0 13px rgba(0, 229, 255, 0.12));
        text-shadow: 0 10px 44px rgba(132, 204, 213, 0.28), 0 0 18px rgba(0, 229, 255, 0.09);
    }
}

@keyframes layer8-banner-text-glow {

    0%,
    100% {
        filter: brightness(1);
        text-shadow: 0 0 12px rgba(132, 204, 213, 0.1);
    }

    46%,
    58% {
        filter: brightness(1.045);
        text-shadow: 0 0 18px rgba(132, 204, 213, 0.28), 0 0 32px rgba(0, 229, 255, 0.1);
    }
}

@keyframes layer8-cyan-mist {

    0%,
    100% {
        opacity: 0.18;
        filter: blur(15px);
        transform: translate3d(-1%, 0, 0) scale(1);
    }

    50% {
        opacity: 0.34;
        filter: blur(22px);
        transform: translate3d(1%, -1%, 0) scale(1.05);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(1.75rem, 4vw, 5.25rem);
    align-items: center;
    height: 100%;
    min-height: 0;
    padding: clamp(1rem, 3dvh, 3rem) 0;
}

.hero-inner > * {
    min-width: 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: clamp(0.5rem, 1.5dvh, 1.375rem);
    color: var(--cyan-500);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-kicker::before {
    content: "";
    width: 3.25rem;
    height: 0.3125rem;
    background: var(--cyan-500);
}

.hero-title {
    max-width: 100%;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, min(7.2vw, 10dvh), 10.8rem);
    line-height: var(--display-heading-line-height);
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.hero-title-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.16em;
    row-gap: 0;
}

.hero-title .small {
    display: inline-block;
    color: var(--white);
    font-size: 0.46em;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.hero-title .accent {
    display: inline-block;
    position: relative;
    isolation: isolate;
    color: var(--cyan-500);
    text-shadow: 0 10px 44px rgba(132, 204, 213, 0.16);
    white-space: nowrap;
    animation: layer8-cyan-hero-glow 7.5s ease-in-out infinite;
    will-change: filter;
}

.hero-title .accent::after {
    content: "";
    position: absolute;
    inset: -0.18em -0.28em -0.1em;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    background: radial-gradient(ellipse at 50% 54%, rgba(132, 204, 213, 0.42) 0%, rgba(0, 229, 255, 0.2) 38%, rgba(0, 229, 255, 0) 74%);
    opacity: 0.24;
    filter: blur(16px);
    animation: layer8-cyan-mist 8.5s ease-in-out infinite;
    will-change: opacity, filter, transform;
}

.hero-title--message {
    font-size: clamp(max(1.85rem, calc(2.35rem * var(--hero-message-scale, 1))), min(calc(5.8vw * var(--hero-message-scale, 1)), calc(8dvh * var(--hero-message-scale, 1))), calc(7.6rem * var(--hero-message-scale, 1)));
    hyphens: manual;
    overflow-wrap: normal;
    -webkit-hyphens: manual;
}

.hero-title-main--message {
    display: block;
    max-width: 100%;
}

.hero-title--message .message-text,
.hero-title--message .accent {
    display: inline;
    hyphens: inherit;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
}

.hero-title--message .message-text {
    color: var(--white);
}

.hero-title .suffix {
    display: block;
    margin-top: 0.04em;
    color: var(--white);
    font-size: 0.46em;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.hero-lead {
    max-width: 42.5rem;
    margin: clamp(0.75rem, 2dvh, 1.75rem) 0 0;
    color: rgba(255, 255, 255, 0.84);
}

h2.hero-lead {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 4em;
    line-height: 0.9;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

p.hero-lead {
    font-size: clamp(1rem, min(1.6vw, 2dvh), 1.34rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: clamp(0.875rem, 2.5dvh, 2.125rem);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.5rem, 1dvh, 0.875rem);
    margin-top: clamp(1rem, 3dvh, 2.625rem);
}

.hero-stat {
    padding: clamp(0.5rem, 1.2dvh, 1rem) clamp(0.625rem, 1vw, 1rem) clamp(0.4375rem, 1dvh, 0.9375rem);
    border-top: 4px solid var(--cyan-500);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.hero-stat strong {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5dvh, 2.1rem);
    line-height: 0.9;
    letter-spacing: -0.025em;
    color: var(--white);
}

.hero-stat-icon {
    display: block;
    flex: 0 0 auto;
}

.hero-stat-icon svg {
    display: inline-block;
    width: clamp(2rem, 4dvh, 3rem);
    height: clamp(2rem, 4dvh, 3rem);
}

.hero-stat-value {
    display: block;
}

.hero-stat > span {
    display: block;
    margin-top: clamp(0.25rem, 0.8dvh, 0.625rem);
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(0.78rem, 1.1dvh, 0.93rem);
}

.hero-media {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
}

.hero-browser-window {
    width: 100%;
    max-height: calc(100dvh - var(--layer8-header-height) - clamp(2rem, 6dvh, 6.875rem));
    overflow: hidden;
    border-radius: 26px;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow-strong);
}

.hero-browser-toolbar {
    min-height: 50px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    background: linear-gradient(180deg, #f9fbfd, #edf2f7);
    border-bottom: 1px solid rgba(39, 42, 81, 0.12);
}

.hero-browser-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.hero-browser-dot.red {
    background: #ff5f57;
}

.hero-browser-dot.yellow {
    background: #ffbd2e;
}

.hero-browser-dot.green {
    background: #28c840;
}

.hero-browser-address {
    min-width: 0;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(39, 42, 81, 0.1);
    color: #6a7389;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-browser-title {
    color: #6a7389;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-browser-screen {
    aspect-ratio: 3807 / 2393;
    background: #f7f9fc;
}

.hero-browser-screen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: top left;
}

.section {
    padding: clamp(5rem, 8dvh, 8rem) 0;
}

.section-head {
    width: 100%;
    max-width: none;
    margin-bottom: clamp(3rem, 5dvh, 4.5rem);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin: 0 0 1.125rem;
    color: var(--blue-700);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 0.3125rem;
    margin-right: 0.75rem;
    background: currentColor;
}

.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.3vw, 6.2rem);
    line-height: var(--display-heading-line-height);
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.section-title .cyan {
    position: relative;
    isolation: isolate;
    color: var(--cyan-500);
    text-shadow: 0 10px 36px rgba(132, 204, 213, 0.18);
    animation: layer8-cyan-soft-glow 8.5s ease-in-out infinite;
    will-change: filter;
}

.cyan,
.ai-box h2 .cyan,
.trust-card h3 .cyan,
.cta h2 .cyan {
    position: relative;
    isolation: isolate;
    color: var(--cyan-500);
    text-shadow: 0 10px 36px rgba(132, 204, 213, 0.18);
    animation: layer8-cyan-soft-glow 8.5s ease-in-out infinite;
    will-change: filter;
}

.section-title .cyan::after,
.cyan::after,
.ai-box h2 .cyan::after,
.trust-card h3 .cyan::after,
.cta h2 .cyan::after {
    content: "";
    position: absolute;
    inset: -0.14em -0.22em -0.1em;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    background: radial-gradient(ellipse at 50% 54%, rgba(132, 204, 213, 0.28) 0%, rgba(0, 229, 255, 0.12) 40%, rgba(0, 229, 255, 0) 74%);
    opacity: 0.18;
    filter: blur(13px);
    animation: layer8-cyan-mist 10s ease-in-out infinite;
    will-change: opacity, filter, transform;
}

.section-copy {
    margin: 2rem 0 0.75rem;
    max-width: 45rem;
    color: #525b78;
    font-size: 1.16rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100%;
    padding: 0;
    border-radius: 0 0 30px 30px;
    background: linear-gradient(145deg, var(--navy-900), var(--blue-700));
    color: var(--white);
    box-shadow: 0 24px 58px rgba(25, 34, 78, 0.18);
    transform: translateZ(0);
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 100% 0%, rgba(132, 204, 213, 0.28), transparent 12rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
}

.feature-card-header {
    padding: 10px 22px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(22, 26, 58, 0.36);
}

.feature-card-icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--cyan-500);
}

.feature-card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    margin: 0;
    color: var(--cyan-500);
    font-size: 1.2rem;
    line-height: var(--card-heading-line-height);
    display: inline-flex;
    align-items: center;
    vertical-align: center;
}

.feature-card-body {
    padding: 22px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.84);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--cyan-500);
    font-weight: 700;
}

.process {
    background: var(--white);
    border-top: 1px solid rgba(39, 42, 81, 0.08);
    border-bottom: 1px solid rgba(39, 42, 81, 0.08);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    counter-reset: process;
}

.process-step {
    position: relative;
    min-height: 100%;
    padding: 24px 20px;
    border-radius: 0 0 24px 0;
    background: linear-gradient(180deg, #ffffff, #eef5f8);
    border: 1px solid rgba(39, 42, 81, 0.12);
    box-shadow: 0 18px 44px rgba(21, 27, 62, 0.08);
}

.process-step::before {
    counter-increment: process;
    content: "0" counter(process);
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    border-radius: 50%;
    color: var(--navy-950);
    background: var(--cyan-500);
    font-weight: 700;
}

.process-step h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 1.16rem;
    line-height: var(--card-heading-line-height);
}

.process-step p {
    margin: 12px 0 0;
    color: #59617c;
}

.outpost-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(120deg, var(--navy-950), var(--navy-900) 46%, #0f5b8f 100%),
        radial-gradient(circle at 82% 20%, rgba(132, 204, 213, 0.22), transparent 24rem);
}

.outpost-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 58px 58px;
    pointer-events: none;
}

.outpost-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 52px;
    align-items: center;
}

.outpost-hero .section-kicker {
    color: var(--cyan-500);
}

.outpost-hero .section-title {
    color: var(--white);
}

.outpost-lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.18rem;
}

.outpost-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.outpost-architecture {
    --outpost-accent: var(--cyan-500);
    --outpost-blue: #2563eb;
    --outpost-packet-size: clamp(6px, 0.95cqw, 10px);
    --outpost-packet-back-size: clamp(5px, 0.78cqw, 8px);
    --outpost-mail-width: clamp(18px, 3.2cqw, 34px);
    --outpost-mail-height: clamp(13px, 2.25cqw, 24px);
    --outpost-node-title-size: clamp(0.64rem, 2cqw, 1.18rem);
    --outpost-node-meta-size: clamp(0.42rem, 1cqw, 0.6rem);
    --outpost-server-title-size: clamp(0.62rem, 1.75cqw, 1rem);
    --outpost-pill-font-size: clamp(0.46rem, 1.1cqw, 0.66rem);
    --outpost-zone-font-size: clamp(0.48rem, 1.2cqw, 0.74rem);
    --outpost-dmz-font-size: clamp(0.44rem, 1cqw, 0.6rem);
    --outpost-label-pad-y: clamp(3px, 0.58cqw, 5px);
    --outpost-label-pad-x: clamp(7px, 1.45cqw, 11px);
    --outpost-dmz-label-pad-x: clamp(8px, 1.65cqw, 13px);
    --outpost-pill-pad-y: clamp(3px, 0.55cqw, 4px);
    --outpost-pill-pad-x: clamp(6px, 1.35cqw, 11px);
    --outpost-rack-radius: clamp(7px, 1.7cqw, 13px);
    --outpost-rack-led-size: clamp(5px, 0.86cqw, 9px);
    margin: 0 0 clamp(18px, 2.4vw, 28px);
    color: #0f172a;
}

.outpost-architecture-stage {
    position: relative;
    container-type: inline-size;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: transparent;
}

.outpost-architecture-glow {
    position: absolute;
    left: 1%;
    top: 31.5%;
    width: 22%;
    height: 24%;
    border-radius: 999px;
    opacity: 0.9;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.28), transparent 68%);
    filter: blur(4px);
    animation: outpost-glow-pulse 6s ease-in-out infinite;
}

.outpost-network-boundary,
.outpost-dmz-boundary {
    position: absolute;
    z-index: 1;
    border-style: dashed;
    pointer-events: none;
}

.outpost-network-boundary {
    left: 24.5%;
    top: 23.2%;
    width: 70.8%;
    height: 62%;
    border: 2px dashed rgba(185, 198, 216, 0.45);
    border-radius: 18px;
    background: transparent;
}

.outpost-dmz-boundary {
    left: 26.7%;
    top: 38.8%;
    width: 37.1%;
    height: 33.5%;
    border: 2px dashed rgba(217, 119, 6, 0.55);
    border-radius: 14px;
    background: transparent;
}

.outpost-zone-label,
.outpost-pill {
    position: absolute;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 16px -9px rgba(15, 23, 42, 0.35);
    font-weight: 700;
    white-space: nowrap;
}

.outpost-zone-label {
    padding: var(--outpost-label-pad-y) var(--outpost-label-pad-x);
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: var(--outpost-zone-font-size);
    letter-spacing: 0.02em;
}

.outpost-network-label {
    left: 26.4%;
    top: 21.7%;
}

.outpost-dmz-label {
    left: 30.4%;
    top: 35%;
    padding: var(--outpost-label-pad-y) var(--outpost-dmz-label-pad-x);
    border-color: rgba(217, 119, 6, 0.4);
    color: #b45309;
    font-size: var(--outpost-dmz-font-size);
    letter-spacing: 0.16em;
}

.outpost-architecture-wires {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.outpost-architecture-wires marker path {
    fill: #9aa8bd;
}

.outpost-wire {
    fill: none;
    stroke-linecap: round;
}

.outpost-wire-active {
    stroke: #bcc9da;
    stroke-width: 2.6;
    stroke-dasharray: 7 8;
    animation: outpost-dash-move 1.1s linear infinite;
}

.outpost-wire-muted {
    stroke: #dbe3ee;
    stroke-width: 2;
    stroke-dasharray: 2 9;
}

.outpost-cloud {
    position: absolute;
    left: 4.2%;
    top: 35%;
    z-index: 3;
    width: 15.6%;
    animation: outpost-float-y 7s ease-in-out infinite;
}

.outpost-cloud svg {
    display: block;
    width: 100%;
    filter: drop-shadow(0 22px 30px rgba(3, 59, 127, 0.26));
}

.outpost-cloud img {
    position: absolute;
    left: 38.3%;
    top: 33.4%;
    width: 26.7%;
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(3, 59, 127, 0.18));
}

.outpost-node-label {
    position: absolute;
    z-index: 7;
    text-align: center;
    line-height: 1.1;
}

.outpost-node-label strong {
    display: block;
    color: var(--outpost-blue);
    font-family: var(--font-display);
    font-size: var(--outpost-node-title-size);
    line-height: 1;
}

.outpost-node-label span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: var(--outpost-node-meta-size);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.outpost-cloud-label {
    left: 12%;
    top: 52%;
    transform: translateX(-50%);
}

.outpost-cloud-label strong {
    color: var(--outpost-blue);
}

.outpost-pill {
    padding: var(--outpost-pill-pad-y) var(--outpost-pill-pad-x);
    border: 1px solid rgba(37, 99, 235, 0.28);
    color: var(--outpost-blue);
    font-size: var(--outpost-pill-font-size);
    letter-spacing: 0.08em;
}

.outpost-pill svg {
    width: clamp(9px, 1.35cqw, 13px);
    height: clamp(10px, 1.45cqw, 14px);
}

.outpost-pill rect {
    fill: var(--outpost-blue);
}

.outpost-pill path {
    fill: none;
    stroke: var(--outpost-blue);
    stroke-width: 1.6;
}

.outpost-api-pill {
    left: 25.6%;
    top: 40.8%;
    transform: translateX(-50%);
}

.outpost-smtp-pill {
    left: 45%;
    top: 45.4%;
    transform: translateX(-50%);
    background: rgba(37, 99, 235, 0.1);
}

.outpost-rack {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 5%;
    padding: 1.9%;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--outpost-rack-radius);
    background: linear-gradient(160deg, #ffffff, #edf1f7);
    box-shadow: 0 28px 52px -26px rgba(15, 23, 42, 0.42);
}

.outpost-rack-outpost {
    left: 31.25%;
    top: 43.7%;
    width: 6.9%;
    height: 16.5%;
}

.outpost-rack-mail {
    left: 51.8%;
    top: 43.1%;
    width: 7.4%;
    height: 17.6%;
}

.outpost-rack-accent {
    height: clamp(3px, 0.7cqw, 6px);
    border-radius: 999px;
    background: var(--outpost-blue);
}

.outpost-rack-accent-green {
    background: #10b981;
}

.outpost-rack-bay {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12%;
    padding-inline: 12%;
    border: 1px solid #eef1f6;
    border-radius: clamp(4px, 1cqw, 8px);
    background: #f8fafc;
}

.outpost-rack-bay span {
    width: var(--outpost-rack-led-size);
    height: var(--outpost-rack-led-size);
    flex: 0 0 var(--outpost-rack-led-size);
    border-radius: 50%;
    background: #cbd5e1;
}

.outpost-rack-bay i {
    display: block;
    width: 62%;
    height: clamp(2px, 0.36cqw, 3px);
    border-radius: 999px;
    background: #d9e0e8;
    box-shadow: 0 6px 0 #e6ebf1;
}

.outpost-rack-bay.is-live span {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: outpost-led 1.7s ease-in-out infinite;
}

.outpost-rack-bay.is-blue span {
    background: var(--outpost-blue);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
    animation: outpost-led 1.5s ease-in-out infinite;
}

.outpost-rack-bay.is-offset span {
    animation-delay: 0.5s;
}

.outpost-rack-bay.is-late span {
    animation-delay: 0.8s;
}

.outpost-outpost-label {
    left: 34.7%;
    top: 61.3%;
    transform: translateX(-50%);
}

.outpost-mail-label {
    left: 55.5%;
    top: 61.8%;
    transform: translateX(-50%);
}

.outpost-outpost-label strong,
.outpost-mail-label strong {
    color: #0f172a;
    font-size: var(--outpost-server-title-size);
}

.outpost-client {
    position: absolute;
    z-index: 3;
    width: 7.82%;
    height: 11.5%;
}

.outpost-client::before {
    content: "";
    position: absolute;
    inset: 0 0 19.4% 0;
    border: 1.5px solid #d8e2ef;
    border-radius: 13px;
    background: linear-gradient(160deg, #ffffff, #e9f1fc);
    box-shadow: 0 16px 32px -18px rgba(15, 23, 42, 0.4);
    animation: outpost-recv-glow 2.8s ease-in-out infinite;
}

.outpost-client::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 17.7%;
    background:
        linear-gradient(#d3dce6, #d3dce6) center top / 26.6% 63.6% no-repeat,
        linear-gradient(#c6d0dd, #c6d0dd) center bottom / 50.6% 36.4% no-repeat;
    border-radius: 0 0 4px 4px;
}

.outpost-client span,
.outpost-client i {
    position: absolute;
    z-index: 1;
    left: 8%;
    height: 4.85%;
    border-radius: 999px;
    background: #c9d4e2;
}

.outpost-client span {
    top: 22.6%;
    right: 24%;
}

.outpost-client span::before,
.outpost-client span::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    border-radius: inherit;
    background: #dbe2ea;
}

.outpost-client span::before {
    top: 235%;
    right: 21%;
}

.outpost-client span::after {
    top: 470%;
    right: 34%;
}

.outpost-client i {
    right: 10%;
    top: 8.9%;
    height: 6.45%;
    background: rgba(37, 99, 235, 0.16);
}

.outpost-client i::after {
    content: "";
    position: absolute;
    right: 0;
    top: 3.45cqw;
    width: clamp(5px, 0.62cqw, 12px);
    height: clamp(5px, 0.62cqw, 12px);
    border-radius: 50%;
    background: var(--outpost-blue);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.7);
    opacity: 1;
    animation: outpost-led 2.8s ease-in-out infinite;
}

.outpost-client-a {
    left: 71.6%;
    top: 35.4%;
}

.outpost-client-a::before,
.outpost-client-a i::after {
    animation-delay: 0.35s;
}

.outpost-client-b {
    left: 83.6%;
    top: 35.4%;
}

.outpost-client-c {
    left: 71.6%;
    top: 59.3%;
}

.outpost-client-d {
    left: 83.6%;
    top: 59.3%;
}

.outpost-client-b::before,
.outpost-client-b i,
.outpost-client-b i::after {
    animation-delay: 1.05s;
}

.outpost-client-c::before,
.outpost-client-c i,
.outpost-client-c i::after {
    animation-delay: 1.75s;
}

.outpost-client-d::before,
.outpost-client-d i,
.outpost-client-d i::after {
    animation-delay: 2.45s;
}

.outpost-clients-label {
    left: 81.5%;
    top: 73%;
    transform: translateX(-50%);
}

.outpost-packet {
    position: absolute;
    z-index: 4;
    width: var(--outpost-packet-size);
    height: var(--outpost-packet-size);
    border-radius: 50%;
    background: var(--outpost-blue);
    box-shadow: 0 0 10px 2px rgba(37, 99, 235, 0.58);
}

.outpost-packet-api-a,
.outpost-packet-api-b,
.outpost-packet-api-back {
    left: 19.9%;
    top: 43.2%;
    --tx: 10.8cqw;
    --ty: 4.2cqw;
}

.outpost-packet-api-a,
.outpost-packet-api-b,
.outpost-packet-smtp-a,
.outpost-packet-smtp-b {
    animation: outpost-packet 2.6s linear infinite;
}

.outpost-packet-api-b {
    animation-delay: 1.3s;
}

.outpost-packet-api-back {
    width: var(--outpost-packet-back-size);
    height: var(--outpost-packet-back-size);
    background: #94a3b8;
    box-shadow: none;
    animation: outpost-packet-back 2.6s linear infinite;
    animation-delay: 0.65s;
}

.outpost-packet-smtp-a,
.outpost-packet-smtp-b {
    left: 38.3%;
    top: 51.4%;
    --tx: 12.8cqw;
    --ty: 0;
    animation-duration: 2.2s;
}

.outpost-packet-smtp-b {
    animation-delay: 1.1s;
}

.outpost-mail {
    position: absolute;
    left: 59%;
    top: 50.7%;
    z-index: 5;
    width: var(--outpost-mail-width);
    height: var(--outpost-mail-height);
    border: clamp(1px, 0.2cqw, 1.5px) solid var(--outpost-blue);
    border-radius: clamp(3px, 0.55cqw, 5px);
    background: #ffffff;
    box-shadow: 0 9px 18px -8px rgba(37, 99, 235, 0.55);
    animation: outpost-fly-mail 2.8s cubic-bezier(0.42, 0.05, 0.35, 1) infinite;
}

.outpost-mail svg {
    display: block;
    width: 100%;
    height: 100%;
}

.outpost-mail polyline {
    fill: none;
    stroke: var(--outpost-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.outpost-mail-a {
    --tx: 16.6cqw;
    --ty: -6.7cqw;
}

.outpost-mail-b {
    --tx: 28.5cqw;
    --ty: -6.7cqw;
    animation-delay: 0.7s;
}

.outpost-mail-c {
    --tx: 16.6cqw;
    --ty: 6.7cqw;
    animation-delay: 1.4s;
}

.outpost-mail-d {
    --tx: 28.5cqw;
    --ty: 6.7cqw;
    animation-delay: 2.1s;
}

.outpost-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 36px;
}

.outpost-proof-item {
    padding: 16px;
    border-top: 4px solid var(--cyan-500);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.outpost-proof-item strong {
    display: block;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 0.9;
}

.outpost-proof-item span {
    display: block;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.outpost-console {
    overflow: hidden;
    border-radius: 28px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: var(--shadow-strong);
}

.outpost-panel-stack {
    display: grid;
    gap: 18px;
    align-self: start;
}

.outpost-architecture-panel .outpost-architecture {
    margin: 0;
}

.outpost-console-top {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 18px;
    color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    font-weight: 700;
}

.outpost-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan-500);
}

.outpost-status::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #28c840;
    box-shadow: 0 0 18px rgba(40, 200, 64, 0.72);
}

.outpost-console-body {
    display: grid;
    gap: 18px;
    padding: 24px;
    color: var(--ink);
}

.outpost-flow-body {
    padding: 20px;
}

.outpost-flow {
    display: grid;
    gap: 12px;
}

.outpost-flow-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px -24px rgba(15, 23, 42, 0.38);
}

.outpost-flow-row .outpost-flow-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--navy-950);
    background: var(--cyan-500);
    font-weight: 700;
    flex-shrink: 0;
}

.outpost-flow-row .outpost-flow-icon svg {
    width: 42px;
    height: 42px;
}

.outpost-flow-row .outpost-flow-step{
    display: inline-block;
    margin-bottom: 4px;
    color: var(--sky-400);
    font-weight: 700;
    font-size: 1.3rem;
}

.outpost-flow-row .outpost-flow-step::after {
    content: ".";
    display: inline-block;
    margin-left: 2px;
}

.outpost-flow-row h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 1.06rem;
    line-height: var(--card-heading-line-height);
    display: inline-block;
    vertical-align: text-top;
}

.outpost-flow-row p {
    margin: 5px 0 0;
    color: #59617c;
    font-size: 0.94rem;
}

.outpost-command {
    padding: 16px;
    color: #9ee3ea;
    background: rgba(0, 0, 0, 0.24);
    border-left: 4px solid var(--cyan-500);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.9rem;
    white-space: normal;
}

@keyframes outpost-float-y {

    0%,
    100% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(5px);
    }
}

@keyframes outpost-glow-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.14);
    }
}

@keyframes outpost-led {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }
}

@keyframes outpost-dash-move {
    to {
        stroke-dashoffset: -28;
    }
}

@keyframes outpost-packet {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    12%,
    88% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0;
    }
}

@keyframes outpost-packet-back {
    0% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0;
    }

    12%,
    88% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

@keyframes outpost-fly-mail {
    0% {
        transform: translate(0, 0) scale(0.6) rotate(-5deg);
        opacity: 0;
    }

    14% {
        transform: translate(calc(var(--tx) * 0.14), calc(var(--ty) * 0.14)) scale(1) rotate(0deg);
        opacity: 1;
    }

    86% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.72) rotate(4deg);
        opacity: 0;
    }
}

@keyframes outpost-recv-glow {

    0%,
    68%,
    100% {
        border-color: #d8e2ef;
        box-shadow: 0 16px 32px -18px rgba(15, 23, 42, 0.4);
    }

    80% {
        border-color: var(--outpost-blue);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3), 0 16px 30px -14px rgba(37, 99, 235, 0.5);
    }
}

.dark-band {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(120deg, var(--navy-950), var(--navy-900) 54%, var(--blue-700));
}

.dark-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(132, 204, 213, 0.16), transparent 18rem),
        radial-gradient(circle at 88% 78%, rgba(75, 182, 233, 0.13), transparent 20rem);
    pointer-events: none;
}

.dark-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(13, 16, 38, 0.9) 0%, rgba(13, 16, 38, 0.74) 32%, rgba(13, 16, 38, 0.38) 58%, rgba(13, 16, 38, 0.72) 100%),
        radial-gradient(circle at 28% 42%, rgba(132, 204, 213, 0.2), transparent 24rem),
        radial-gradient(circle at 78% 74%, rgba(19, 67, 149, 0.28), transparent 30rem);
    pointer-events: none;
}

.dark-band .container {
    position: relative;
    z-index: 3;
}

.security-map-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: screen;
    filter: saturate(1.08) brightness(0.95) contrast(0.92);
}

.security-map-background::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(13, 16, 38, 0.16), transparent 36%, rgba(13, 16, 38, 0.52) 100%),
        linear-gradient(180deg, rgba(13, 16, 38, 0.62), transparent 25%, transparent 70%, rgba(13, 16, 38, 0.78));
    pointer-events: none;
}

.security-map-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.security-map-svg,
.security-map-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.security-map-svg {
    overflow: visible;
}

.security-map-country {
    fill: rgba(78, 124, 176, 0.46);
    stroke: rgba(158, 188, 232, 0.12);
    stroke-width: 0.42;
}

.security-map-country.is-germany {
    /* fill: var(--cyan-500); */
    fill: var(--sky-400);
    fill-opacity: 0.88;
    stroke: rgba(223, 250, 255, 0.42);
    stroke-width: 0.54;
    filter: drop-shadow(0 0 1.25rem rgba(132, 204, 213, 0.42));
}

.security-map-loader {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(132, 204, 213, 0.68);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.security-map-background.is-ready .security-map-loader {
    display: none;
}

.dark-band .section-kicker {
    color: var(--white);
}

.dark-band .section-title {
    color: var(--white);
}

.dark-band .section-copy {
    color: rgba(255, 255, 255, 0.78);
}

.trust-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 58px;
    align-items: start;
}

.trust-card, .layer8-blog-insight {
    position: relative;
    padding: 32px;
    border-radius: 30px;
    border: 1px solid rgba(132, 204, 213, 0.26);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.trust-card::before {
    content: "";
    position: absolute;
    inset: -1.5rem;
    z-index: -1;
    border-radius: 2.5rem;
    pointer-events: none;
}

.trust-card h3 {
    margin: 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.trust-card p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.trust-form {
    margin-top: 28px;
}

#vorgehen .trust-card .wdm-document-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(18px, 2.5vw, 24px);
    border: 1px solid rgba(132, 204, 213, 0.28);
    border-radius: 18px;
    background: rgba(9, 14, 34, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--white);
}

#vorgehen .trust-card .wdm-document-form--fullwidth {
    width: 100%;
    max-width: none;
}

#vorgehen .trust-card .wdm-title {
    margin: 0;
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

#vorgehen .trust-card .wdm-description,
#vorgehen .trust-card .wdm-response,
#vorgehen .trust-card .wdm-noscript {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

#vorgehen .trust-card .wdm-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

#vorgehen .trust-card .wdm-field label,
#vorgehen .trust-card .wdm-consent {
    color: rgba(255, 255, 255, 0.86);
}

#vorgehen .trust-card .wdm-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

#vorgehen .trust-card .wdm-field input[type="email"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(132, 204, 213, 0.44);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--navy-950);
    font: inherit;
}

#vorgehen .trust-card .wdm-field input[type="email"]:focus {
    border-color: var(--cyan-500);
    outline: 2px solid rgba(132, 204, 213, 0.34);
    outline-offset: 2px;
}

#vorgehen .trust-card .wdm-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

#vorgehen .trust-card .wdm-consent input {
    flex: 0 0 auto;
    margin-top: 4px;
}

#vorgehen .trust-card .wdm-consent a {
    color: var(--cyan-500);
}

#vorgehen .trust-card .wdm-submit {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--cyan-500);
    color: var(--navy-950);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

#vorgehen .trust-card .wdm-submit:hover,
#vorgehen .trust-card .wdm-submit:focus {
    background: var(--white);
}

#vorgehen .trust-card .wdm-submit:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

#vorgehen .trust-card .wdm-submit[disabled] {
    cursor: wait;
    opacity: 0.68;
}

#vorgehen .trust-card .wdm-response:empty {
    display: none;
}

#vorgehen .trust-card .wdm-notice {
    margin: 0;
    padding: 12px 14px;
    border-left: 4px solid;
    border-radius: 6px;
}

#vorgehen .trust-card .wdm-notice-success {
    border-color: #00a32a;
    background: rgba(0, 163, 42, 0.14);
    color: var(--white);
}

#vorgehen .trust-card .wdm-notice-error {
    border-color: #d63638;
    background: rgba(214, 54, 56, 0.16);
    color: var(--white);
}

#vorgehen .trust-card .wdm-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.trust-metric {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border-top: 4px solid var(--cyan-500);
}

.trust-metric strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 0.9;
}

.trust-metric span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    display: grid;
    gap: 28px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 35px;
    width: 3px;
    background-image: linear-gradient(var(--cyan-500) 42%, transparent 0%);
    background-size: 3px 11px;
    opacity: 0.7;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 22px;
}

.timeline-icon {
    position: relative;
    z-index: 2;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-900);
    border: 5px solid var(--navy-950);
    /* box-shadow: 0 0 0 3px var(--cyan-500); */
    color: var(--white);
}

.timeline-icon svg {
    width: 60px;
    height: 60px;
}

.timeline-content {
    overflow: hidden;
    border-radius: 0 0 22px 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline-content h3 {
    margin: 0;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--cyan-500);
    font-size: 1.18rem;
    line-height: var(--card-heading-line-height);
}

.timeline-content p {
    margin: 0;
    padding: 18px;
    color: rgba(255, 255, 255, 0.78);
}

.ai-strip {
    padding: 96px 0;
    background: var(--white);
}

.ai-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 34px;
    align-items: center;
    padding: 44px;
    border-radius: 34px;
    background: linear-gradient(120deg, var(--navy-900), var(--blue-700));
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.ai-box::before {
    content: "";
    position: absolute;
    right: -90px;
    top: -120px;
    z-index: 0;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(132, 204, 213, 0.18);
}

.ai-box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.26;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.ai-box>* {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ai-box h2 {
    margin: 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.4vw, 5.2rem);
    line-height: var(--display-heading-line-height);
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.ai-box p {
    max-width: 800px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.16rem;
}

.ai-box .section-kicker {
    margin: 0 0 24px;
    color: var(--white);
    font-size: 1rem;
}

.prompt-card {
    width: 310px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.prompt-card small {
    color: var(--cyan-500);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.prompt-card p {
    margin: 12px 0 0;
    font-size: 0.98rem;
}

.ai-browser-window {
    width: min(560px, 42vw);
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 24px 64px rgba(10, 18, 48, 0.26);
}

.ai-browser-toolbar {
    position: relative;
    z-index: 1;
    min-height: 44px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    background: linear-gradient(180deg, #f9fbfd, #edf2f7);
    border-bottom: 1px solid rgba(39, 42, 81, 0.12);
}

.ai-browser-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ai-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ai-browser-dot.red {
    background: #ff5f57;
}

.ai-browser-dot.yellow {
    background: #ffbd2e;
}

.ai-browser-dot.green {
    background: #28c840;
}

.ai-browser-address {
    min-width: 0;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(39, 42, 81, 0.1);
    color: #6a7389;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-browser-title {
    color: #6a7389;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.ai-browser-screen {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f7f9fc;
}

.ai-browser-screen video,
.ai-browser-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.ai-browser-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: layer8-content-creator-zoom 27s ease-in-out infinite;
}

@keyframes layer8-content-creator-zoom {
    0%,
    14.815% {
        transform: scale(1.3) translate(0, 0);
        object-position: center center;
    }
    40.741%,
    74.074% {
        transform: scale(2.4) translate(0, 0);
        object-position: center 65%;
    }
    100% {
        transform: scale(1.3) translate(-8%, 0);
        object-position: center center;
    }
}

.shop {
    background:
        linear-gradient(180deg, #fff 0%, #eef5f8 100%);
    /* border-bottom: 1px solid rgba(39, 42, 81, 0.08); */
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(32px, 3vw, 48px);
}

.product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(39, 42, 81, 0.12);
    box-shadow: 0 18px 38px -28px rgba(21, 27, 62, 0.18);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px -30px rgba(21, 27, 62, 0.24);
    border-color: rgba(132, 204, 213, 0.58);
}

.product-card:focus-within {
    outline: 3px solid rgba(132, 204, 213, 0.72);
    outline-offset: 4px;
}

.product-card.featured {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--cyan-500), var(--blue-700)) border-box;
    border: 2px solid transparent;
}

.product-tag {
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(132, 204, 213, 0.24);
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.86rem;
}

.product-card h3 {
    margin: 22px 0 0;
    font-family: var(--font-display);
    font-size: 2.7rem;
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.035em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.product-card p {
    margin: 18px 0 0;
    color: #59617c;
}

.product-features {
    list-style: none;
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 22px 0 0;
    color: #3e4566;
}

.product-features li {
    position: relative;
    padding-left: 24px;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue-700);
    font-weight: 700;
}

.price-row {
    display: flex;
    align-items: end;
    gap: 8px;
    margin: auto 0 22px;
    padding-top: 28px;
}

.price-row strong {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: var(--navy-900);
}

.price-row span {
    color: var(--muted);
}

.product-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(39, 42, 81, 0.12);
    box-shadow: 0 22px 58px rgba(21, 27, 62, 0.09);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 76px rgba(21, 27, 62, 0.16);
    border-color: rgba(132, 204, 213, 0.58);
}

.post-card-link,
.post-card-link:visited {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.post-card-link:hover,
.post-card-link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.post-card-link:focus-visible {
    outline: 3px solid rgba(132, 204, 213, 0.82);
    outline-offset: -6px;
}

.post-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    flex: 0 0 auto;
    border-radius: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(132, 204, 213, 0.28), transparent 12rem),
        linear-gradient(145deg, var(--navy-900), var(--blue-700));
}

.post-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    transition: transform 300ms ease;
}

.post-card:hover .post-card-media img {
    transform: scale(1.03);
}

.post-card-media-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--cyan-500);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.post-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 28px;
    border-radius: 0 0 30px 30px;
    background: rgba(255, 255, 255, 0.96);
}

.post-card-meta {
    display: inline-flex;
    align-items: center;
    margin: 0 0 12px;
    color: var(--blue-700);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.post-card-meta::before {
    content: "";
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 0.25rem;
    margin-right: 0.625rem;
    background: currentColor;
}

.post-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--navy-900);
}

.post-card h3 a,
.post-card h3 a:visited {
    color: inherit;
    text-decoration: none;
}

.post-card h3 a:hover,
.post-card h3 a:focus-visible {
    color: var(--blue-700);
    text-decoration: none;
}

.post-card-link:hover h3,
.post-card-link:focus-visible h3 {
    color: var(--blue-700);
}

.post-card-excerpt {
    margin: 14px 0 24px;
    color: #59617c;
    line-height: 1.55;
}

.post-card .btn {
    margin-top: auto;
    align-self: flex-end;
}

.post-card .post-card-cta,
.post-card .post-card-cta:visited {
    color: var(--white);
    text-decoration: none;
}

.post-card .post-card-cta:hover,
.post-card .post-card-cta:focus-visible {
    color: var(--white);
    text-decoration: none;
}

.blog-pagination {
    margin-top: clamp(2.5rem, 4dvh, 3.5rem);
}

.blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(39, 42, 81, 0.12);
    background: var(--white);
    color: var(--navy-900);
    font-weight: 700;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.blog-pagination a.page-numbers:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
    border-color: rgba(132, 204, 213, 0.58);
}

.blog-pagination .page-numbers.current {
    border-color: transparent;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
}

.blog-pagination .page-numbers.dots {
    border: 0;
    background: transparent;
    color: var(--muted);
}

/* Suchformular + Kein-Treffer-Zustand (Suche, Blog-Fallback) */
.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 36rem;
}

.search-form label {
    position: relative;
    flex: 1 1 14rem;
    margin: 0;
}

.search-field {
    width: 100%;
    min-height: 48px;
    padding: 0 3rem 0 1.25rem;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-field:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(132, 204, 213, 0.25);
}

button.search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: rgba(39, 42, 81, 0.45);
    cursor: pointer;
    transition: color 180ms ease, box-shadow 180ms ease;
}

button.search-submit:hover {
    color: var(--ink);
}

button.search-submit:focus-visible {
    outline: none;
    color: var(--ink);
    box-shadow: 0 0 0 4px rgba(132, 204, 213, 0.25);
}

.no-results .section-copy {
    margin-bottom: 0;
}

.no-results .search-form {
    margin-top: 1.5rem;
}

.blog-search {
    margin-top: calc(-1 * clamp(1.5rem, 3dvh, 2.5rem));
    margin-bottom: clamp(3rem, 5dvh, 4.5rem);
}

.post-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--layer8-header-height));
    min-height: calc(100dvh - var(--layer8-header-height));
    padding: clamp(5rem, 10dvh, 8rem) 0;
    color: var(--white);
    background:
        linear-gradient(105deg, rgba(22, 26, 58, 0.98) 0%, rgba(35, 39, 79, 0.96) 48%, rgba(19, 67, 149, 0.92) 100%),
        radial-gradient(circle at 85% 15%, rgba(132, 204, 213, 0.28), transparent 22rem);
}

.post-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.28;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
    pointer-events: none;
}

.post-hero .post-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(13, 16, 38, 0.92) 0%, rgba(13, 16, 38, 0.78) 34%, rgba(13, 16, 38, 0.42) 66%, rgba(13, 16, 38, 0.62) 100%),
        linear-gradient(180deg, rgba(13, 16, 38, 0.2) 0%, rgba(13, 16, 38, 0.6) 100%),
        radial-gradient(circle at 28% 42%, rgba(132, 204, 213, 0.16), transparent 24rem);
}

.post-hero-cyber-grid {
    z-index: 1;
}

.post-hero--with-cyber-grid::before {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px);
    background-size: 72px 72px;
}

.post-hero--with-cyber-grid::after {
    z-index: 1;
}

.post-hero--with-cyber-grid .post-hero-cyber-grid {
    z-index: 2;
}

.post-hero--light.post-hero--with-cyber-grid::before {
    opacity: 0.82;
    background:
        linear-gradient(90deg, rgba(0, 108, 181, 0.16) 1px, transparent 1px),
        linear-gradient(rgba(0, 108, 181, 0.16) 1px, transparent 1px);
    background-size: 72px 72px;
}

.post-hero--light {
    color: var(--ink);
    background:
        radial-gradient(circle at 0 0, rgba(132, 204, 213, 0.22), transparent 32rem),
        linear-gradient(180deg, #fff 0%, var(--paper) 52%, #fff 100%);
}

.post-hero--light::before {
    opacity: 0.48;
    background:
        linear-gradient(90deg, rgba(39, 42, 81, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(39, 42, 81, 0.08) 1px, transparent 1px);
}

.post-hero--light::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 38%, rgba(246, 248, 251, 0.42) 68%, rgba(237, 244, 248, 0.72) 100%),
        radial-gradient(circle at 28% 42%, rgba(132, 204, 213, 0.18), transparent 24rem);
}

.post-hero--light.post-hero--with-cyber-grid::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.62) 38%, rgba(237, 244, 248, 0.18) 68%, rgba(237, 244, 248, 0.36) 100%),
        radial-gradient(circle at 28% 42%, rgba(132, 204, 213, 0.22), transparent 24rem);
}

.post-hero--light .post-hero-cyber-grid {
    background:
        radial-gradient(circle at 60% 28%, rgba(0, 229, 255, 0.22), transparent 20rem),
        rgba(0, 108, 181, 0.12);
}

.post-hero--light.post-hero--with-cyber-grid .hero-cyber-grid .node {
    background-color: rgba(0, 108, 181, 0.78);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
}

.post-hero--light.post-hero--with-cyber-grid .hero-cyber-grid .connection {
    background: linear-gradient(to right, rgba(0, 108, 181, 0.08), rgba(0, 108, 181, 0.48), rgba(0, 108, 181, 0.08));
}

.post-hero--light.post-hero--with-cyber-grid .hero-cyber-grid .binary {
    color: rgba(0, 108, 181, 0.34);
}

.post-hero--light.post-hero--with-cyber-grid .hero-cyber-grid .shield {
    background: linear-gradient(145deg, rgba(0, 108, 181, 0.1) 0%, rgba(0, 229, 255, 0.04) 100%);
    border-color: rgba(0, 108, 181, 0.22);
    opacity: 0.52;
}

.post-hero--light .post-hero-kicker {
    color: var(--blue-700);
}

.post-hero--light .post-hero-kicker::before {
    background: var(--cyan-500);
}

.post-hero--light .post-hero-title {
    color: var(--navy-950);
    text-shadow: none;
}

.post-hero--light .post-hero-subtitle,
.post-hero--light .post-hero-meta {
    color: var(--muted);
}

.post-hero--light .post-hero-kicker .sep {
    color: rgba(39, 42, 81, 0.38);
}

.post-hero--light .post-hero-kicker a:hover {
    color: var(--blue-600);
}

.post-hero-inner {
    position: relative;
    z-index: 3;
}

.post-hero-kicker {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0 0 clamp(0.75rem, 2dvh, 1.375rem);
    color: var(--cyan-500);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.post-hero-kicker::before {
    content: "";
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 0.3125rem;
    background: var(--cyan-500);
}

.post-hero-kicker a:hover {
    color: var(--cyan-400);
}

.post-hero-kicker .sep {
    color: rgba(255, 255, 255, 0.5);
}

.post-hero-title {
    margin: 0;
    max-width: 88rem;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, min(6vw, 9dvh), 6.5rem);
    line-height: var(--display-heading-line-height);
    letter-spacing: -0.035em;
    text-transform: uppercase;
    text-shadow: 0 18px 60px rgba(13, 16, 38, 0.45);
}

.post-hero-subtitle {
    max-width: 90%;
    margin: clamp(1rem, 2.5dvh, 1.75rem) 0 0;
    font-size: clamp(1.05rem, min(1.6vw, 2dvh), 1.34rem);
    color: rgba(255, 255, 255, 0.84);
}

.layer8-blog-hero,
.post-hero--narrow {
    min-height: auto;
    padding: clamp(5rem, 10dvh, 5rem) 0 clamp(4.5rem, 9dvh, 5rem);
}

.layer8-blog-hero-subtitle p {
    margin: 0;
}

.layer8-blog-hero-subtitle p + p {
    margin-top: 0.85rem;
}

.post-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: clamp(1.25rem, 3dvh, 2rem) 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-hero-meta .sep {
    color: rgba(132, 204, 213, 0.8);
}

/* Full-Bleed-Kinder (.layer8-blog) nutzen 100vw; die Scrollbar-Differenz
   wird hier gekappt, ohne einen Scroll-Container zu erzeugen. */
.post-single-main {
    overflow-x: clip;
}

.layer8-page-single--document-flyer .post-single-main.section {
    padding-block: 0;
}

.layer8-page-single--document-flyer .wdm-document-form--fullwidth {
    margin-block: 0;
}

.layer8-page-single--document-flyer .wdm-document-form--fullwidth .wdm-consent a {
    color: var(--cyan-400);
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.layer8-page-single--document-flyer .wdm-document-form--fullwidth .wdm-consent a:hover,
.layer8-page-single--document-flyer .wdm-document-form--fullwidth .wdm-consent a:focus-visible {
    color: var(--white);
}

.layer8-page-single--document-flyer button,
.layer8-page-single--document-flyer .btn {
    -webkit-user-select: none;
    user-select: none;
}

.layer8-page-single--document-flyer .layer8-page-cta.cta {
    padding-block: clamp(2rem, 4dvh, 4rem);
}

@media (min-width: 64rem) {
    .layer8-page-single--document-flyer .layer8-page-cta.cta {
        min-height: calc(100vh - var(--layer8-header-height) - var(--layer8-footer-height));
        min-height: calc(100dvh - var(--layer8-header-height) - var(--layer8-footer-height));
        display: flex;
        align-items: center;
        padding-block: clamp(2.5rem, 5dvh, 5rem);
    }

    .layer8-page-single--document-flyer .layer8-page-cta.cta > .container {
        width: min(var(--max), calc(100% - var(--page-gutter)));
    }
}

.post-body {
    max-width: 90rem;
    margin-inline: auto;
    font-size: 1.12rem;
    line-height: 1.75;
    color: #3e4566;
}

.post-body.layer8-content-framed {
    padding: clamp(1.35rem, 3.5vw, 3.25rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 86% 10%, rgba(132, 204, 213, 0.24), transparent 18rem),
        linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 52%, rgba(237, 244, 248, 0.94) 100%);
    box-shadow: 0 26px 72px rgba(21, 27, 62, 0.11);
}

.post-body > :first-child {
    margin-top: 0;
}

.post-body p {
    margin: 0 0 1.4rem;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin: 2.75rem 0 1.1rem;
    font-family: var(--font-display);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.post-body h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.post-body h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.post-body h4 {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.post-body a {
    color: var(--blue-700);
    text-decoration: underline;
    text-decoration-color: rgba(19, 67, 149, 0.35);
    text-underline-offset: 3px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.post-body a:hover {
    color: var(--blue-600);
    text-decoration-color: currentColor;
}

.post-body a.btn,
.post-body a.btn:visited,
.post-body a.btn:hover,
.post-body a.btn:focus-visible {
    text-decoration: none;
    text-decoration-color: transparent;
    transition:
        box-shadow 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.post-body a.btn-primary,
.post-body a.btn-primary:visited,
.post-body a.btn-primary:hover,
.post-body a.btn-primary:focus-visible {
    color: var(--white);
}

.post-body a.btn-cyan,
.post-body a.btn-cyan:visited,
.post-body a.btn-cyan:hover,
.post-body a.btn-cyan:focus-visible {
    color: var(--navy-950);
}

.post-body a.btn-light,
.post-body a.btn-light:visited,
.post-body a.btn-light:hover,
.post-body a.btn-light:focus-visible {
    color: var(--navy-900);
}

.post-body ul,
.post-body ol {
    margin: 0 0 1.4rem;
    padding-left: 1.4rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body li::marker {
    color: var(--blue-700);
    font-weight: 700;
}

.post-body blockquote {
    margin: 2rem 0;
    padding: 1.4rem 1.75rem;
    border-left: 5px solid var(--cyan-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(132, 204, 213, 0.12);
    color: var(--navy-900);
    font-size: 1.18rem;
}

.post-body blockquote p:last-child {
    margin-bottom: 0;
}

.post-body img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.post-body .post-card-media img {
    border-radius: 0;
    box-shadow: none;
}

.post-body figure {
    margin: 2rem 0;
}

/* Klassische Bildunterschriften (wp-caption) im Beitragsinhalt */
.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    margin-inline: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.post-body figcaption {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

.post-body code {
    padding: 0.15em 0.45em;
    border-radius: 6px;
    background: rgba(39, 42, 81, 0.08);
    color: var(--navy-900);
    font-size: 0.92em;
}

.post-body pre {
    margin: 2rem 0;
    padding: 1.4rem 1.6rem;
    overflow-x: auto;
    border-radius: var(--radius-sm);
    background: var(--navy-950);
    color: #dfe7f5;
}

.post-body pre code {
    padding: 0;
    background: none;
    color: inherit;
}

.post-body table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.post-body th,
.post-body td {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    text-align: left;
}

.post-body th {
    background: rgba(132, 204, 213, 0.14);
    color: var(--navy-900);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.post-body hr {
    height: 2px;
    margin: 2.75rem 0;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(132, 204, 213, 0.72) 30%, rgba(19, 67, 149, 0.58) 70%, transparent);
}

.post-body .page-links {
    margin: 2rem 0 0;
    font-weight: 700;
    color: var(--navy-900);
}

.post-body .layer8-blog-feature,
.post-body .layer8-blog-insight {
    margin: 2.75rem 0;
}

.post-body .layer8-blog-insight {
    margin-top: 4rem;
}

.post-body p + .layer8-blog-insight,
.post-body ul + .layer8-blog-insight,
.post-body ol + .layer8-blog-insight {
    margin-top: 4.75rem;
}

/* Blog-Block im Seiten-/Artikelinhalt: volles Band wie .post-related
   statt Artikel-Lesebreite. */
.post-body .layer8-blog {
    margin: 2.75rem 0;
    margin-inline: calc(50% - 50vw);
}

.post-body .layer8-blog .section-kicker {
    margin: 0 0 1.125rem;
}

.post-body .layer8-blog .section-title {
    margin: 0;
    font-size: clamp(3rem, 6.3vw, 6.2rem);
    line-height: var(--display-heading-line-height);
    letter-spacing: -0.045em;
}

.post-body .layer8-blog .section-copy {
    margin: 2rem 0 0.75rem;
}

.layer8-blog-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.82fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.35rem;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 92% 8%, rgba(132, 204, 213, 0.22), transparent 16rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 248, 251, 0.98) 100%);
    box-shadow: 0 20px 58px rgba(21, 27, 62, 0.11);
}

.layer8-blog-feature--dark {
    border-color: rgba(132, 204, 213, 0.24);
    color: var(--white);
    background:
        radial-gradient(circle at 88% 8%, rgba(132, 204, 213, 0.24), transparent 18rem),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-850) 100%);
}

.layer8-blog-feature--image-left {
    grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1fr);
}

.layer8-blog-feature--image-right .layer8-blog-feature-content {
    grid-column: 1;
}

.layer8-blog-feature--image-right .layer8-blog-feature-media {
    grid-column: 2;
}

.layer8-blog-feature--image-left .layer8-blog-feature-content {
    grid-column: 2;
}

.layer8-blog-feature--image-left .layer8-blog-feature-media {
    grid-column: 1;
    grid-row: 1;
}

.layer8-blog-feature--text-only {
    grid-template-columns: minmax(0, 1fr);
}

.layer8-blog-feature--text-only .layer8-blog-feature-content {
    grid-column: 1;
}

.layer8-blog-feature-content,
.layer8-blog-insight-main,
.layer8-blog-insight-content {
    min-width: 0;
}

.layer8-blog-feature-content,
.layer8-blog-insight-content {
    padding: 0.65rem;
}

.post-body .layer8-blog-feature .section-kicker,
.post-body .layer8-blog-insight .section-kicker {
    margin: 0 0 0.9rem;
    color: var(--blue-700);
    font-size: 0.82rem;
    line-height: 1.25;
    letter-spacing: 0.14em;
}

.post-body .layer8-blog-feature--dark .section-kicker,
.post-body .layer8-blog-insight--dark .section-kicker {
    color: var(--cyan-500);
}

.post-body .layer8-blog-feature h2,
.post-body .layer8-blog-insight h2 {
    margin: 0 0 0.95rem;
    color: var(--navy-900);
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: 0;
    text-transform: uppercase;
}

.post-body .layer8-blog-feature--dark h2,
.post-body .layer8-blog-insight--dark h2 {
    color: var(--white);
}

.post-body .layer8-blog-feature p,
.post-body .layer8-blog-insight p {
    margin: 0;
}

.post-body .layer8-blog-feature-content > p:not(.section-kicker),
.post-body .layer8-blog-insight-content > p:not(.section-kicker) {
    color: #4c536f;
}

.post-body .layer8-blog-feature--dark .layer8-blog-feature-content > p:not(.section-kicker),
.post-body .layer8-blog-insight--dark .layer8-blog-insight-content > p:not(.section-kicker) {
    color: rgba(255, 255, 255, 0.78);
}

.layer8-blog-feature .btn {
    margin-top: 1.35rem;
}

.post-body .layer8-blog-feature-media,
.post-body .layer8-blog-insight-media {
    margin: 0;
}

.layer8-blog-feature-media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    background: rgba(132, 204, 213, 0.12);
}

.post-body .layer8-blog-feature-media img,
.post-body .layer8-blog-insight-media img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    box-shadow: none;
}

.layer8-blog-insight {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.72fr);
    gap: 1.25rem 1.5rem;
    align-items: stretch;
    padding: 1.35rem;
    border: 1px solid rgba(132, 204, 213, 0.26);
    border-radius: var(--radius-md);
    color: var(--white);
    background: linear-gradient(145deg, var(--navy-900), var(--blue-700));
    box-shadow: 0 20px 58px rgba(13, 22, 55, 0.22);
}

.layer8-blog-insight::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 100% 0%, rgba(132, 204, 213, 0.28), transparent 12rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
}

.layer8-blog-insight--light {
    border-color: rgba(39, 42, 81, 0.12);
    color: var(--ink);
    background:
        radial-gradient(circle at 86% 12%, rgba(132, 204, 213, 0.2), transparent 15rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(237, 244, 248, 0.96) 100%);
    box-shadow: 0 20px 58px rgba(21, 27, 62, 0.11);
}

.layer8-blog-insight--light::before {
    display: none;
}

.layer8-blog-insight--media-left {
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1fr);
}

.layer8-blog-insight--media-right .layer8-blog-insight-main {
    grid-column: 1;
}

.layer8-blog-insight--media-left .layer8-blog-insight-main {
    grid-column: 2;
}

.layer8-blog-insight--media-left .layer8-blog-insight-media {
    grid-column: 1;
    grid-row: 1;
}

.layer8-blog-insight--media-right .layer8-blog-insight-media {
    grid-column: 2;
    grid-row: 1;
}

.layer8-blog-insight--text-only {
    grid-template-columns: minmax(0, 1fr);
}

.layer8-blog-insight--text-only .layer8-blog-insight-main {
    grid-column: 1;
}

.layer8-blog-insight-metric {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(132, 204, 213, 0.34);
}

.layer8-blog-insight--light .layer8-blog-insight-metric {
    border-top-color: rgba(19, 67, 149, 0.18);
}

.layer8-blog-insight-metric strong {
    flex: 0 0 auto;
    color: var(--cyan-500);
    font-family: var(--font-display);
    font-size: 2.1rem;
    line-height: 1;
}

.layer8-blog-insight--light .layer8-blog-insight-metric strong {
    color: var(--blue-700);
}

.layer8-blog-insight-metric span {
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
    line-height: 1.25;
}

.layer8-blog-insight--light .layer8-blog-insight-metric span {
    color: #4c536f;
}

.post-body .layer8-blog-insight-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.layer8-blog-insight-list li {
    position: relative;
    min-width: 0;
    padding: 0.95rem 1rem 0.95rem 2.5rem;
    border: 1px solid rgba(132, 204, 213, 0.22);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
}

.layer8-blog-insight--light .layer8-blog-insight-list li {
    border-color: rgba(39, 42, 81, 0.1);
    background: rgba(255, 255, 255, 0.68);
    color: #4c536f;
}

.layer8-blog-insight-list li::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: var(--cyan-500);
    box-shadow: 0 0 0 5px rgba(132, 204, 213, 0.16);
}

.layer8-blog-insight-media {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    min-height: 100%;
    border-radius: var(--radius-sm);
    background: rgba(132, 204, 213, 0.12);
}

.layer8-cyber-kurier {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(132, 204, 213, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(39, 42, 81, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 248, 0.9));
    background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto;
}

.layer8-cyber-kurier .container {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(26rem, 1.14fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
}

.layer8-cyber-kurier-copy,
.layer8-cyber-kurier-slot {
    min-width: 0;
}

.layer8-cyber-kurier .section-title {
    font-size: clamp(2.7rem, 5.3vw, 5.9rem);
}

.layer8-cyber-kurier .section-copy {
    max-width: 39rem;
}

.layer8-cyber-kurier-slot {
    position: relative;
    width: 100%;
}

.layer8-cyber-kurier-slot > * {
    margin-inline: 0;
}

.layer8-cyber-kurier-slot .ck-paper {
    width: 100%;
}

@media (max-width: 760px) {
    .layer8-blog-feature,
    .layer8-blog-feature--image-left,
    .layer8-blog-insight,
    .layer8-blog-insight--media-left {
        grid-template-columns: minmax(0, 1fr);
    }

    .layer8-blog-feature,
    .layer8-blog-insight {
        padding: 1rem;
    }

    .layer8-blog-feature--image-left .layer8-blog-feature-media,
    .layer8-blog-feature--image-right .layer8-blog-feature-content,
    .layer8-blog-feature--image-right .layer8-blog-feature-media,
    .layer8-blog-feature--image-left .layer8-blog-feature-content,
    .layer8-blog-insight--media-left .layer8-blog-insight-media,
    .layer8-blog-insight--media-right .layer8-blog-insight-media,
    .layer8-blog-insight--media-left .layer8-blog-insight-main,
    .layer8-blog-insight--media-right .layer8-blog-insight-main {
        grid-column: 1;
        grid-row: auto;
    }

    .layer8-blog-feature--image-left .layer8-blog-feature-media,
    .layer8-blog-insight--media-left .layer8-blog-insight-media {
        grid-row: 1;
    }

    .post-body .layer8-blog-feature h2,
    .post-body .layer8-blog-insight h2 {
        font-size: 1.65rem;
    }

    .layer8-blog-feature-content,
    .layer8-blog-insight-content {
        padding: 0.35rem;
    }

    .layer8-blog-insight-metric {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .layer8-blog-insight-media {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .layer8-cyber-kurier .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.2rem;
    }

    .layer8-cyber-kurier .section-title {
        font-size: clamp(2.35rem, 10vw, 3.5rem);
    }
}

.layer8-page-edit {
    max-width: 48rem;
    margin: 2rem auto 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.layer8-page-edit a {
    color: var(--blue-700);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(19, 67, 149, 0.35);
    text-underline-offset: 3px;
}

.layer8-page-edit a:hover {
    color: var(--blue-600);
    text-decoration-color: currentColor;
}

.layer8-page-cta {
    background:
        radial-gradient(circle at 82% 18%, rgba(132, 204, 213, 0.18), transparent 24rem),
        linear-gradient(180deg, var(--white) 0%, #eef5f8 100%);
}

.layer8-page-cta + .post-comments {
    padding-top: clamp(4rem, 6dvh, 6rem);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 48rem;
    margin: 2.5rem auto 0;
}

.post-tag {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(132, 204, 213, 0.24);
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.86rem;
    transition: background 180ms ease, color 180ms ease;
}

.post-tag:hover {
    background: var(--cyan-500);
    color: var(--navy-950);
}

.post-navigation {
    max-width: 90rem;
    margin: clamp(3rem, 5dvh, 4rem) auto 0;
}

.post-navigation .nav-links {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    align-items: stretch;
    border: 1px solid rgba(132, 204, 213, 0.26);
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 0%, rgba(132, 204, 213, 0.18), transparent 20rem),
        linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 48%, var(--blue-700) 100%);
    box-shadow: 0 28px 80px rgba(13, 22, 55, 0.24);
}

.post-navigation .nav-links::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    bottom: 1.25rem;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(132, 204, 213, 0.58), transparent);
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.65rem;
    height: 100%;
    min-height: 7.75rem;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    color: var(--white);
    background: transparent;
    border: 0;
    text-decoration: none;
    transition:
        background 180ms ease;
}

.post-navigation .nav-previous a {
    justify-content: flex-start;
    padding-right: clamp(1.5rem, 3vw, 3rem);
}

.post-navigation .nav-next a {
    align-items: flex-end;
    padding-left: clamp(1.5rem, 3vw, 3rem);
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.post-navigation .nav-next {
    grid-column: 2;
    text-align: right;
}

.post-navigation .nav-direction {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: var(--cyan-500);
}

.post-navigation .nav-arrow {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: var(--navy-950);
    background: var(--cyan-500);
    box-shadow: 0 10px 22px rgba(132, 204, 213, 0.26);
    transition:
        transform 180ms ease,
        color 180ms ease,
        background 180ms ease;
}

.post-navigation .nav-previous a:hover .nav-arrow,
.post-navigation .nav-previous a:focus-visible .nav-arrow,
.post-navigation .nav-next a:hover .nav-arrow,
.post-navigation .nav-next a:focus-visible .nav-arrow {
    color: var(--white);
    background: var(--blue-700);
}

.post-navigation .nav-previous a:hover .nav-arrow,
.post-navigation .nav-previous a:focus-visible .nav-arrow {
    transform: translateX(-3px);
}

.post-navigation .nav-next a:hover .nav-arrow,
.post-navigation .nav-next a:focus-visible .nav-arrow {
    transform: translateX(3px);
}

.post-navigation .nav-subtitle {
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.post-navigation .nav-title {
    min-width: 0;
    max-width: min(100%, 35rem);
    color: inherit;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    line-height: 1.18;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    transition: color 180ms ease;
}

.post-navigation .nav-previous a:hover .nav-title,
.post-navigation .nav-previous a:focus-visible .nav-title,
.post-navigation .nav-next a:hover .nav-title,
.post-navigation .nav-next a:focus-visible .nav-title {
    color: var(--cyan-400);
}

.post-navigation .nav-previous a:focus-visible,
.post-navigation .nav-next a:focus-visible {
    outline: 3px solid rgba(132, 204, 213, 0.82);
    outline-offset: -6px;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.post-related,
.layer8-blog {
    background: linear-gradient(180deg, #fff 0%, #eef5f8 100%);
}

.post-comments {
    padding: 0 0 clamp(5rem, 8dvh, 8rem);
}

.post-single-main + .post-comments {
    padding-top: 0;
}

.post-related + .post-comments {
    padding-top: clamp(4rem, 6dvh, 6rem);
}

.comments-area {
    max-width: 48rem;
    margin-inline: auto;
}

.comments-title,
.comment-reply-title {
    margin: 0 0 1.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.comment-list > .comment .comment-reply-title,
.comment-respond .comment-reply-title {
    margin-top: 2.5rem;
}

.comment-list {
    list-style: none;
    display: grid;
    gap: 16px;
    margin: 0 0 1rem;
    padding: 0;
}

.comment-list .children {
    list-style: none;
    display: grid;
    gap: 16px;
    margin: 16px 0 0;
    padding-left: clamp(1rem, 4vw, 2.5rem);
}

.comment-body {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(39, 42, 81, 0.12);
    box-shadow: 0 14px 38px rgba(21, 27, 62, 0.06);
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--navy-900);
}

.comment-author .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(132, 204, 213, 0.55);
}

.comment-metadata {
    font-size: 0.85rem;
    color: var(--muted);
}

.comment-content {
    margin-top: 0.9rem;
}

.comment-content p {
    margin: 0 0 0.8rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-body .reply {
    margin-top: 0.9rem;
}

.comment-reply-link {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(39, 42, 81, 0.16);
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.85rem;
    transition:
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.comment-reply-link:hover {
    background: var(--cyan-500);
    border-color: var(--cyan-500);
    color: var(--navy-950);
}

.bypostauthor > .comment-body {
    border-color: rgba(132, 204, 213, 0.58);
}

.no-comments {
    color: var(--muted);
}

.comment-respond {
    margin-top: 1.5rem;
}

.comment-form {
    display: grid;
    gap: 14px;
}

.comment-form p {
    margin: 0;
}

.comment-notes,
.logged-in-as {
    color: var(--muted);
    font-size: 0.92rem;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy-900);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(39, 42, 81, 0.16);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(132, 204, 213, 0.25);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.comment-form-cookies-consent label {
    display: inline;
    margin: 0;
    font-weight: 400;
    color: var(--ink);
}

.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    transition: box-shadow 180ms ease;
}

.comment-form .submit:hover {
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
}

.layer8-product-page {
    position: relative;
    overflow: hidden;
    padding: clamp(1.2rem, 2.5vw, 2.35rem) 0 clamp(4.5rem, 8vw, 8rem);
    background:
        radial-gradient(circle at 6% 8%, rgba(132, 204, 213, 0.2), transparent 28rem),
        radial-gradient(circle at 92% 18%, rgba(19, 67, 149, 0.12), transparent 26rem),
        linear-gradient(180deg, rgba(246, 248, 251, 0.92) 0%, var(--white) 46%, rgba(237, 244, 248, 0.84) 100%);
}

.layer8-product-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(132, 204, 213, 0.7) 18%, rgba(19, 67, 149, 0.56) 50%, rgba(132, 204, 213, 0.7) 82%, transparent 100%);
    pointer-events: none;
}

.layer8-product-page .woocommerce {
    width: min(var(--max), calc(100% - var(--page-gutter)));
    margin-inline: auto;
    color: var(--ink);
}

.layer8-product-page .woocommerce-notices-wrapper {
    margin-bottom: 0.85rem;
}

.layer8-product-page .woocommerce div.product {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
    gap: clamp(1.75rem, 4vw, 4.25rem);
    align-items: start;
    padding: clamp(1.35rem, 3.5vw, 3.25rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 86% 10%, rgba(132, 204, 213, 0.24), transparent 18rem),
        linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 52%, rgba(237, 244, 248, 0.94) 100%);
    box-shadow: 0 26px 72px rgba(21, 27, 62, 0.11);
}

.layer8-product-page .woocommerce div.product .layer8-product-visual-column,
.layer8-product-page .woocommerce div.product div.images,
.layer8-product-page .woocommerce div.product div.summary {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin: 0;
}

.layer8-product-page .woocommerce div.product .layer8-product-visual-column {
    order: 2;
    align-self: start;
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.layer8-product-page .woocommerce div.product div.images {
    order: 1;
    display: grid;
    place-items: center;
    float: none;
    width: auto;
    overflow: hidden;
    padding: clamp(0.9rem, 2vw, 1.5rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: calc(var(--radius-md) + 4px);
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.9), transparent 14rem),
        linear-gradient(145deg, rgba(246, 248, 251, 0.96), rgba(255, 255, 255, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.layer8-product-page .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    width: 100%;
}

.layer8-product-page .woocommerce div.product div.images img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: clamp(18rem, 34vw, 32rem);
    object-fit: contain;
    object-position: center;
    margin-inline: auto;
    border-radius: calc(var(--radius-md) - 8px);
    /* background: var(--white); */
}

.layer8-product-page .woocommerce div.product div.summary {
    order: 1;
    max-width: 59rem;
    padding: 0;
}

.layer8-product-page .product_title {
    max-width: 100%;
    margin: 0 0 1.05rem;
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.7vw, 6.25rem);
    line-height: var(--display-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--navy-900);
}

.layer8-product-page .woocommerce div.product p.price,
.layer8-product-page .woocommerce div.product span.price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.8rem;
    margin: 0 0 0.45rem;
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.8vw, 2.45rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
}

.layer8-product-page .woocommerce div.product p.price del,
.layer8-product-page .woocommerce div.product span.price del {
    color: var(--muted);
    font-size: 0.72em;
    font-weight: 700;
    text-decoration: line-through;
}

.layer8-product-page .woocommerce div.product p.price ins,
.layer8-product-page .woocommerce div.product span.price ins {
    color: var(--blue-700);
    text-decoration: none;
}

.layer8-product-page .woocommerce div.product p.price small,
.layer8-product-page .woocommerce div.product span.price small,
.layer8-product-page .wc-gzd-additional-info,
.layer8-product-page .tiered-pricing-you-save {
    color: var(--muted) !important;
    font-size: 0.95rem;
}

.layer8-product-page .layer8-product-price-tax-notice {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.layer8-product-page .woocommerce-product-details__short-description {
    max-width: 48rem;
    margin-top: 1.35rem;
    color: #3e4566;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.layer8-product-page .woocommerce-product-details__short-description p {
    margin: 0 0 1rem;
}

.layer8-product-page .cart {
    display: grid;
    grid-template-columns: max-content minmax(14rem, auto);
    align-items: end;
    justify-content: start;
    gap: 0.875rem 1rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(39, 42, 81, 0.12);
}

.layer8-product-page .woocommerce .quantity .qty {
    width: 5.25rem;
    min-height: 3.25rem;
    border: 1px solid rgba(39, 42, 81, 0.18);
    border-radius: 999px;
    color: var(--navy-900);
    font-weight: 700;
    text-align: center;
}

.layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector {
    display: inline-grid;
    grid-template-columns: 3.25rem minmax(4.6rem, 5.4rem) 3.25rem;
    align-items: stretch;
    width: auto;
    min-height: 3.65rem;
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.18);
    border-radius: 999px;
    background: var(--white);
}

.layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector .qty.wc-block-components-quantity-selector__input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    height: 3.65rem;
    min-height: 3.65rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--white);
    color: var(--navy-900);
    font: inherit;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 3.65rem;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector .qty.wc-block-components-quantity-selector__input:focus {
    outline: none;
    box-shadow: none;
}

.layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector .qty.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector .qty.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.layer8-product-page .wc-block-components-quantity-selector {
    width: 5.25rem !important;
    min-height: 3.25rem;
    border: 0;
}

.layer8-product-page .wc-block-components-quantity-selector__button {
    display: none;
}

.layer8-product-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    width: 5.25rem;
    min-width: 5.25rem;
    min-height: 3.25rem;
    padding: 0;
    border: 1px solid rgba(39, 42, 81, 0.18);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy-900);
    font: inherit;
    font-weight: 700;
    text-align: center;
}

.layer8-product-page .woocommerce button.button,
.layer8-product-page .woocommerce a.button,
.layer8-product-page .woocommerce input.button,
.layer8-product-page .woocommerce #respond input#submit {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.35rem;
    border: 1px solid rgba(132, 204, 213, 0.52);
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    cursor: pointer;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transition:
        border-color 180ms ease,
        background 180ms ease;
}

.layer8-product-page .woocommerce .single_add_to_cart_button {
    min-width: min(100%, 18rem);
    align-self: end;
}

.layer8-product-page .woocommerce div.product.product-type-external form.cart {
    display: block;
    margin-top: 1.25rem;
    padding-top: 0;
    border-top: 0;
}

.layer8-product-page .woocommerce div.product.product-type-external form.cart .single_add_to_cart_button {
    width: auto;
    min-width: min(100%, 14.6rem);
    margin-top: 0;
}

.layer8-product-page .woocommerce button.button:hover,
.layer8-product-page .woocommerce a.button:hover,
.layer8-product-page .woocommerce input.button:hover,
.layer8-product-page .woocommerce #respond input#submit:hover {
    border-color: var(--cyan-500);
    background: var(--blue-700);
    color: var(--white);
}

.layer8-product-page .woocommerce button.button:disabled,
.layer8-product-page .woocommerce button.button:disabled[disabled],
.layer8-product-page .woocommerce input.button:disabled,
.layer8-product-page .woocommerce input.button:disabled[disabled] {
    cursor: not-allowed;
}

.layer8-product-page .product_meta {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(39, 42, 81, 0.12);
    color: var(--muted);
    font-size: 0.95rem;
}

.layer8-product-page .product_meta a {
    color: var(--blue-700);
    font-weight: 700;
}

.layer8-product-page .product-usps {
    list-style: none;
    display: grid;
    gap: 9px;
    width: 100%;
    padding: 1.25rem 0 0;
    margin: 1.25rem 0 0;
    border-top: 1px solid rgba(39, 42, 81, 0.12);
    color: #3e4566;
    font-size: 0.98rem;
}

.layer8-product-page .product-usps li {
    position: relative;
    padding-left: 24px;
}

.layer8-product-page .product-usps li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue-700);
    font-weight: 700;
}

.layer8-product-page .woocommerce span.onsale,
.layer8-shop-page .woocommerce span.onsale {
    position: absolute;
    top: clamp(1.25rem, 2.5vw, 1.75rem);
    left: clamp(1.25rem, 2.5vw, 1.75rem);
    z-index: 5;
    min-width: 0;
    min-height: 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--copper);
    color: var(--white);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
    box-shadow: 0 10px 26px rgba(196, 122, 50, 0.38);
}

.layer8-product-page .woocommerce div.product p.stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 1rem 0 0;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
}

.layer8-product-page .woocommerce div.product p.stock.in-stock {
    background: rgba(132, 204, 213, 0.22);
    color: var(--navy-900);
}

.layer8-product-page .woocommerce div.product p.stock.in-stock::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2f9e6e;
}

.layer8-product-page .woocommerce div.product p.stock.out-of-stock {
    background: rgba(196, 122, 50, 0.16);
    color: var(--copper);
}

.layer8-product-page .woocommerce div.product div.images .flex-control-thumbs {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
}

.layer8-product-page .woocommerce div.product div.images .flex-control-thumbs li {
    float: none;
    width: auto;
    margin: 0;
}

.layer8-product-page .woocommerce div.product div.images .flex-control-thumbs img {
    width: 100%;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 180ms ease, border-color 180ms ease;
}

.layer8-product-page .woocommerce div.product div.images .flex-control-thumbs img:hover,
.layer8-product-page .woocommerce div.product div.images .flex-control-thumbs img.flex-active {
    opacity: 1;
    border-color: rgba(132, 204, 213, 0.75);
}

.layer8-product-page .woocommerce-breadcrumb {
    margin: 0 0 1.5rem;
}

.layer8-shop-page .woocommerce-breadcrumb {
    margin: 0;
}

.layer8-product-page .woocommerce-breadcrumb,
.layer8-shop-page .woocommerce-breadcrumb {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.layer8-product-page .woocommerce-breadcrumb a,
.layer8-shop-page .woocommerce-breadcrumb a {
    color: var(--blue-700);
}

.layer8-product-page .woocommerce-breadcrumb a:hover,
.layer8-shop-page .woocommerce-breadcrumb a:hover {
    color: var(--blue-600);
}

.layer8-product-page .woocommerce-message,
.layer8-product-page .woocommerce-info,
.layer8-product-page .woocommerce-error li,
.layer8-product-page .woocommerce-error,
.layer8-shop-page .woocommerce-message,
.layer8-shop-page .woocommerce-info,
.layer8-shop-page .woocommerce-error li,
.layer8-shop-page .woocommerce-error {
    list-style: none;
}

.layer8-product-page .woocommerce-message,
.layer8-product-page .woocommerce-info,
.layer8-product-page .woocommerce-error,
.layer8-shop-page .woocommerce-message,
.layer8-shop-page .woocommerce-info,
.layer8-shop-page .woocommerce-error {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 1.5rem;
    padding: 16px 20px;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-left: 5px solid var(--cyan-500);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 14px 38px rgba(21, 27, 62, 0.08);
}

.layer8-product-page .woocommerce-error,
.layer8-shop-page .woocommerce-error {
    border-left-color: var(--copper);
}

.layer8-product-page .woocommerce a.added_to_cart.wc-forward {
    display: none;
}

.layer8-product-page .woocommerce-message a.button,
.layer8-product-page .woocommerce-info a.button,
.layer8-product-page .woocommerce-error a.button,
.layer8-shop-page .woocommerce-message a.button,
.layer8-shop-page .woocommerce-info a.button,
.layer8-shop-page .woocommerce-error a.button {
    order: 2;
    min-height: 0;
    padding: 9px 18px;
    font-size: 0.92rem;
}

.layer8-product-page .woocommerce-tabs,
.layer8-product-page .up-sells,
.layer8-product-page .related.products {
    order: 3;
    grid-column: 1 / -1;
    margin-top: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(21, 27, 62, 0.08);
}

.layer8-product-page .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0 0 1.5rem;
    border: 0;
}

.layer8-product-page .woocommerce div.product .woocommerce-tabs ul.tabs:has(> li:only-child) {
    display: none;
}

.layer8-product-page .woocommerce div.product .woocommerce-tabs ul.tabs::before,
.layer8-product-page .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.layer8-product-page .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.layer8-product-page .woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: 999px;
    background: var(--paper);
}

.layer8-product-page .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-color: rgba(132, 204, 213, 0.58);
    background: rgba(132, 204, 213, 0.2);
}

.layer8-product-page .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 0.7rem 1rem;
    color: var(--navy-900);
    font-weight: 700;
}

.layer8-product-page .woocommerce-Tabs-panel h2,
.layer8-product-page .up-sells>h2,
.layer8-product-page .related.products>h2,
.layer8-product-page .woocommerce-Reviews-title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.layer8-product-page .woocommerce-Tabs-panel p,
.layer8-product-page .woocommerce-Reviews p {
    color: #3e4566;
}

.layer8-product-page .woocommerce #reviews #comments ol.commentlist {
    padding: 0;
}

.layer8-product-page .woocommerce #review_form #respond textarea,
.layer8-product-page .woocommerce #review_form #respond input:not([type="submit"]),
.layer8-product-page .woocommerce #review_form #respond select {
    width: 100%;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.layer8-product-page .woocommerce #review_form #respond textarea {
    min-height: 9rem;
    padding: 0.9rem 1rem;
}

.layer8-product-page .woocommerce #review_form #respond input:not([type="submit"]),
.layer8-product-page .woocommerce #review_form #respond select {
    min-height: 3rem;
    padding: 0 1rem;
}

.layer8-product-page .woocommerce ul.products {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
}

.layer8-product-page .woocommerce ul.products::before,
.layer8-product-page .woocommerce ul.products::after {
    display: none;
}

.layer8-product-page .woocommerce ul.products li.product,
.layer8-product-page .woocommerce-page ul.products li.product {
    position: relative;
    overflow: hidden;
    float: none;
    display: flex;
    flex-direction: column;
    width: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 58px rgba(21, 27, 62, 0.09);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.layer8-product-page .woocommerce ul.products li.product:hover,
.layer8-product-page .woocommerce-page ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 76px rgba(21, 27, 62, 0.16);
    border-color: rgba(132, 204, 213, 0.58);
}

.layer8-product-page .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.layer8-product-page .woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    background: var(--paper);
    transition: transform 300ms ease;
}

.layer8-product-page .woocommerce ul.products li.product:hover img {
    transform: scale(1.03);
}

.layer8-product-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 22px 26px 0;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.9vw, 1.85rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.layer8-product-page .woocommerce ul.products li.product .loop-product-excerpt {
    margin: 12px 26px 14px;
    color: #59617c;
    font-size: 0.98rem;
    line-height: 1.55;
}

.layer8-product-page .woocommerce ul.products li.product .price {
    display: block;
    margin: auto 26px 22px;
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.layer8-product-page .woocommerce ul.products li.product .price del {
    margin-right: 8px;
    color: var(--muted);
    font-size: 0.7em;
    text-decoration: line-through;
}

.layer8-product-page .woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.layer8-product-page .woocommerce ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-height: 48px;
    margin: auto 26px 26px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    transition: box-shadow 180ms ease;
}

.layer8-product-page .woocommerce ul.products li.product .button:hover {
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
}

.layer8-product-page .woocommerce ul.products li.product .added_to_cart {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0 26px 24px;
    padding: 8px 16px;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.layer8-product-page .woocommerce ul.products li.product .added_to_cart:hover {
    background: var(--cyan-500);
    border-color: var(--cyan-500);
    color: var(--navy-950);
}

.layer8-product-page .up-sells.upsells.products,
.layer8-product-page .related.products {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.layer8-product-page .up-sells.upsells.products ul.products,
.layer8-product-page .related.products ul.products {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.layer8-product-page .up-sells.upsells.products ul.products li.product,
.layer8-product-page .related.products ul.products li.product {
    display: grid;
    grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 1fr);
    grid-template-rows: repeat(5, auto);
    column-gap: clamp(1rem, 2.5vw, 1.75rem);
    row-gap: 0.5rem;
    align-content: center;
    align-items: center;
    min-height: 0;
    padding: clamp(1rem, 2.4vw, 1.35rem);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 88% 8%, rgba(132, 204, 213, 0.2), transparent 16rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 248, 251, 0.98) 100%);
}

.layer8-product-page .up-sells.upsells.products ul.products li.product .woocommerce-LoopProduct-link,
.layer8-product-page .related.products ul.products li.product .woocommerce-LoopProduct-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

.layer8-product-page .up-sells.upsells.products ul.products li.product a img,
.layer8-product-page .related.products ul.products li.product a img {
    grid-column: 1;
    grid-row: 1 / 6;
    align-self: center;
    height: auto;
    min-height: clamp(13rem, 20vw, 18rem);
    border-radius: var(--radius-sm);
}

.layer8-product-page .up-sells.upsells.products ul.products li.product .woocommerce-loop-product__title,
.layer8-product-page .up-sells.upsells.products ul.products li.product .loop-product-excerpt,
.layer8-product-page .up-sells.upsells.products ul.products li.product .price,
.layer8-product-page .up-sells.upsells.products ul.products li.product .layer8-product-price-tax-notice,
.layer8-product-page .related.products ul.products li.product .woocommerce-loop-product__title,
.layer8-product-page .related.products ul.products li.product .loop-product-excerpt,
.layer8-product-page .related.products ul.products li.product .price,
.layer8-product-page .related.products ul.products li.product .layer8-product-price-tax-notice {
    grid-column: 2;
}

.layer8-product-page .up-sells.upsells.products ul.products li.product .woocommerce-loop-product__title,
.layer8-product-page .related.products ul.products li.product .woocommerce-loop-product__title {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    letter-spacing: 0;
}

.layer8-product-page .up-sells.upsells.products ul.products li.product .loop-product-excerpt,
.layer8-product-page .related.products ul.products li.product .loop-product-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-width: 46rem;
    max-height: calc(1.05rem * 1.55 * 3);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
}

.layer8-product-page .up-sells.upsells.products ul.products li.product .price,
.layer8-product-page .related.products ul.products li.product .price {
    margin: 0;
    font-size: clamp(1.65rem, 2.3vw, 2.15rem);
}

.layer8-product-page .up-sells.upsells.products ul.products li.product .layer8-product-price-tax-notice,
.layer8-product-page .related.products ul.products li.product .layer8-product-price-tax-notice {
    margin: 0;
    font-size: 0.9rem;
}

.layer8-product-page .up-sells.upsells.products ul.products li.product .button,
.layer8-product-page .up-sells.upsells.products ul.products li.product .added_to_cart,
.layer8-product-page .related.products ul.products li.product .button,
.layer8-product-page .related.products ul.products li.product .added_to_cart {
    grid-column: 2;
    align-self: start;
    justify-self: start;
    margin: 0;
}

.layer8-product-page .up-sells.upsells.products ul.products li.product:not(:has(.price)),
.layer8-product-page .related.products ul.products li.product:not(:has(.price)) {
    grid-template-rows: repeat(3, auto);
}

.layer8-product-page .up-sells.upsells.products ul.products li.product:not(:has(.price)) a img,
.layer8-product-page .related.products ul.products li.product:not(:has(.price)) a img {
    grid-row: 1 / 4;
}

.layer8-product-page .up-sells.upsells.products ul.products li.product:not(:has(.price)) .button,
.layer8-product-page .up-sells.upsells.products ul.products li.product:not(:has(.price)) .added_to_cart,
.layer8-product-page .related.products ul.products li.product:not(:has(.price)) .button,
.layer8-product-page .related.products ul.products li.product:not(:has(.price)) .added_to_cart {
    margin-top: 0.75rem;
}

@media (max-width: 760px) {

    .layer8-product-page .up-sells.upsells.products ul.products li.product,
    .layer8-product-page .related.products ul.products li.product {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        align-content: stretch;
    }

    .layer8-product-page .up-sells.upsells.products ul.products li.product .woocommerce-LoopProduct-link,
    .layer8-product-page .related.products ul.products li.product .woocommerce-LoopProduct-link {
        display: flex;
        grid-column: 1;
        flex-direction: column;
    }

    .layer8-product-page .up-sells.upsells.products ul.products li.product a img,
    .layer8-product-page .up-sells.upsells.products ul.products li.product .woocommerce-loop-product__title,
    .layer8-product-page .up-sells.upsells.products ul.products li.product .loop-product-excerpt,
    .layer8-product-page .up-sells.upsells.products ul.products li.product .price,
    .layer8-product-page .up-sells.upsells.products ul.products li.product .layer8-product-price-tax-notice,
    .layer8-product-page .up-sells.upsells.products ul.products li.product .button,
    .layer8-product-page .up-sells.upsells.products ul.products li.product .added_to_cart,
    .layer8-product-page .related.products ul.products li.product a img,
    .layer8-product-page .related.products ul.products li.product .woocommerce-loop-product__title,
    .layer8-product-page .related.products ul.products li.product .loop-product-excerpt,
    .layer8-product-page .related.products ul.products li.product .price,
    .layer8-product-page .related.products ul.products li.product .layer8-product-price-tax-notice,
    .layer8-product-page .related.products ul.products li.product .button,
    .layer8-product-page .related.products ul.products li.product .added_to_cart {
        grid-column: 1;
    }

    .layer8-product-page .up-sells.upsells.products ul.products li.product a img,
    .layer8-product-page .related.products ul.products li.product a img {
        grid-row: auto;
        min-height: 0;
    }

    .layer8-product-page .up-sells.upsells.products ul.products li.product .button,
    .layer8-product-page .up-sells.upsells.products ul.products li.product .added_to_cart,
    .layer8-product-page .related.products ul.products li.product .button,
    .layer8-product-page .related.products ul.products li.product .added_to_cart {
        justify-self: stretch;
        margin: 0;
    }
}

.layer8-product-page>.wp-block-columns,
.layer8-product-page>.wc-block-store-notices,
.layer8-product-page>.wp-block-woocommerce-product-details,
.layer8-product-page>.wp-block-heading,
.layer8-product-page>.wp-block-woocommerce-product-collection {
    width: min(var(--max), calc(100% - var(--page-gutter)));
    max-width: min(var(--max), calc(100% - var(--page-gutter))) !important;
    margin-inline: auto;
}

.layer8-product-page>.wp-block-columns {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: minmax(28rem, 0.95fr) minmax(0, 1.05fr);
    align-items: flex-start !important;
    gap: clamp(1.5rem, 3vw, 3.25rem);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.layer8-product-page>.wp-block-columns>.wp-block-column {
    min-width: 0;
}

.layer8-product-page>.wp-block-columns>.wp-block-column:first-child {
    position: sticky;
    top: calc(var(--layer8-header-height) + 2rem);
    width: 100%;
}

.layer8-product-page>.wp-block-columns>.wp-block-column:last-child {
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 58px rgba(21, 27, 62, 0.09);
}

.layer8-product-page .wp-block-woocommerce-product-gallery {
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 248, 0.9));
    box-shadow: 0 24px 70px rgba(21, 27, 62, 0.12);
}

.layer8-product-page .wp-block-woocommerce-product-gallery-large-image,
.layer8-product-page .wc-block-product-gallery-large-image {
    min-height: 0;
    border-radius: calc(var(--radius-md) - 8px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.94));
}

.layer8-product-page .wc-block-product-gallery-large-image__container,
.layer8-product-page .wc-block-product-gallery-large-image__wrapper,
.layer8-product-page .wc-block-components-product-image,
.layer8-product-page .wc-block-components-product-image a {
    width: 100%;
    height: auto;
}

.layer8-product-page .wp-block-woocommerce-product-gallery img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: clamp(21rem, 34vw, 35rem);
    object-fit: contain;
    object-position: center;
    margin-inline: auto;
    border-radius: calc(var(--radius-md) - 8px);
    background: var(--white);
}

.layer8-product-page .wp-block-post-title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.35vw, 5rem);
    line-height: var(--display-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
    color: var(--navy-900);
}

.layer8-product-page .wp-block-woocommerce-product-price,
.layer8-product-page .wc-block-components-product-price {
    margin: 0 0 1rem;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
}

.layer8-product-page .wp-block-woocommerce-product-summary {
    margin-top: 1.5rem;
    color: #3e4566;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.layer8-product-page .wp-block-woocommerce-product-summary p {
    margin: 0 0 1rem;
}

.layer8-product-page .wp-block-add-to-cart-with-options,
.layer8-product-page .wp-block-woocommerce-add-to-cart-with-options {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.875rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(39, 42, 81, 0.12);
}

.layer8-product-page .wc-block-add-to-cart-with-options>.wp-block-group,
.layer8-product-page .wp-block-add-to-cart-with-options>.wp-block-group {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.875rem;
}

.layer8-product-page .wdp_bulk_table_content {
    order: 2;
    display: block;
    width: 100%;
    margin: 0;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 248, 0.9));
    box-shadow: 0 14px 34px rgba(21, 27, 62, 0.07);
}

.layer8-product-page .wdp_bulk_table_content .wdp_pricing_table_caption {
    display: block;
    margin: 0 0 0.7rem;
    color: var(--navy-900);
    font-weight: 700;
}

.layer8-product-page .wdp_bulk_table_content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: calc(var(--radius-sm) - 4px);
    background: var(--white);
}

.layer8-product-page .wdp_bulk_table_content table td,
.layer8-product-page .wdp_bulk_table_content table th {
    padding: 0.72rem 0.85rem;
    border: 0;
    border-bottom: 1px solid rgba(39, 42, 81, 0.09);
    color: #3e4566;
    font-size: 0.94rem;
    line-height: 1.25;
    text-align: left;
}

.layer8-product-page .wdp_bulk_table_content table thead td,
.layer8-product-page .wdp_bulk_table_content table thead th {
    background: rgba(237, 244, 248, 0.92);
    color: var(--navy-900);
    font-weight: 700;
}

.layer8-product-page .wdp_bulk_table_content table tbody tr:last-child td,
.layer8-product-page .wdp_bulk_table_content table tbody tr:last-child th {
    border-bottom: 0;
}

@media (min-width: 1021px) {
    .layer8-product-page .cart {
        --layer8-product-quantity-control-width: 14.6rem;
        grid-template-columns: var(--layer8-product-quantity-control-width) minmax(17rem, 20rem);
        align-items: start;
        gap: 1rem 1.15rem;
        margin-top: 2rem;
        padding-top: 1.75rem;
    }

    .layer8-product-page .layer8-quantity-label {
        font-size: 0.92rem;
    }

    .layer8-product-page .layer8-quantity-field,
    .layer8-product-page .wc-block-components-quantity-selector,
    .layer8-product-page .layer8-quantity-quick-steps {
        width: var(--layer8-product-quantity-control-width) !important;
    }

    .layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector {
        grid-template-columns: 3.65rem minmax(5.25rem, 1fr) 3.65rem;
        min-height: 4rem;
        box-shadow: 0 14px 34px rgba(21, 27, 62, 0.07);
    }

    .layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector .wc-block-components-quantity-selector__button {
        min-width: 3.65rem;
        min-height: 4rem;
        font-size: 1.35rem;
    }

    .layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector .qty.wc-block-components-quantity-selector__input {
        height: 4rem;
        min-height: 4rem;
        font-size: 1.12rem;
        line-height: 4rem;
    }

    .layer8-product-page .woocommerce .single_add_to_cart_button {
        align-self: start;
        min-height: 4rem;
        margin-top: calc(0.92rem * 1.5 + 0.4rem);
        width: 100%;
        min-width: 0;
        padding-inline: 1.75rem;
        font-size: 1.02rem;
        box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
    }
}

.layer8-product-page .layer8-quantity-field {
    display: grid;
    gap: 0.4rem;
}

.layer8-product-page .layer8-quantity-label {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.layer8-product-page .layer8-quantity-quick-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    max-width: 100%;
}

.layer8-product-page .layer8-quantity-quick-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2.15rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(39, 42, 81, 0.14);
    border-radius: 999px;
    background: rgba(237, 244, 248, 0.88);
    color: var(--navy-900);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.layer8-product-page .layer8-quantity-quick-step:hover,
.layer8-product-page .layer8-quantity-quick-step:focus-visible {
    border-color: rgba(132, 204, 213, 0.64);
    background: rgba(132, 204, 213, 0.26);
    color: var(--blue-700);
}

.layer8-product-page .layer8-quantity-quick-step:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.layer8-product-page .wc-block-components-quantity-selector {
    display: inline-grid;
    grid-template-columns: 2.75rem minmax(4rem, 1fr) 2.75rem;
    align-items: stretch;
    width: auto !important;
    min-height: 3.25rem;
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.18);
    border-radius: 999px;
    background: var(--white);
}

.layer8-product-page .wc-block-components-quantity-selector__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 3.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(237, 244, 248, 0.88);
    color: var(--navy-900);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
}

.layer8-product-page .wc-block-components-quantity-selector__button:hover,
.layer8-product-page .wc-block-components-quantity-selector__button:focus-visible {
    background: rgba(132, 204, 213, 0.32);
    color: var(--blue-700);
}

.layer8-product-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    height: 3.25rem;
    min-height: 3.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--white);
    color: var(--navy-900);
    font: inherit;
    font-weight: 700;
    line-height: 3.25rem;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.layer8-product-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus {
    outline: none;
    box-shadow: none;
}

.layer8-product-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.layer8-product-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.layer8-product-page .wp-block-button.wc-block-components-product-button,
.layer8-product-page .wc-block-components-product-button {
    margin: 0;
}

.layer8-product-page .wc-block-components-product-button__button,
.layer8-product-page .wp-block-button__link {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.35rem;
    border: 1px solid rgba(132, 204, 213, 0.52);
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transition:
        border-color 180ms ease,
        background 180ms ease;
}

.layer8-product-page .wc-block-components-product-button__button:hover,
.layer8-product-page .wp-block-button__link:hover {
    border-color: var(--cyan-500);
    background: var(--blue-700);
    color: var(--white);
}

.layer8-product-page .layer8-cart-confirmation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding: 0 1rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background:
        linear-gradient(135deg, rgba(235, 249, 243, 0.96), rgba(237, 244, 248, 0.92));
    color: var(--navy-900);
    opacity: 0;
    box-shadow: 0 16px 34px rgba(21, 27, 62, 0.08);
    transform: translateY(-0.25rem);
    visibility: hidden;
    pointer-events: none;
    transition:
        max-height 180ms ease,
        margin-top 180ms ease,
        padding 180ms ease,
        border-color 180ms ease,
        opacity 160ms ease,
        transform 180ms ease,
        visibility 0s linear 180ms;
}

.layer8-product-page .layer8-cart-confirmation.is-visible {
    max-height: 9rem;
    margin-top: 1rem;
    padding: 1rem;
    border-color: rgba(74, 163, 127, 0.32);
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.layer8-product-page .layer8-cart-confirmation__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.layer8-product-page .layer8-cart-confirmation__copy strong {
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.layer8-product-page .layer8-cart-confirmation__copy span {
    color: #3e4566;
    font-size: 0.94rem;
}

.layer8-product-page .layer8-cart-confirmation__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy-900);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.layer8-product-page .layer8-cart-confirmation__link:hover,
.layer8-product-page .layer8-cart-confirmation__link:focus-visible {
    border-color: var(--cyan-500);
    color: var(--blue-700);
}

.layer8-product-page .wp-block-woocommerce-product-meta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(39, 42, 81, 0.12);
}

.layer8-product-page .wp-block-woocommerce-product-details,
.layer8-product-page .wp-block-woocommerce-product-collection {
    margin-top: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(21, 27, 62, 0.08);
}

.layer8-product-page .wp-block-accordion {
    display: grid;
    gap: 0.75rem;
}

.layer8-product-page .wp-block-accordion-item {
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.layer8-product-page .wp-block-accordion-heading {
    margin: 0;
}

.layer8-product-page .wp-block-accordion-heading__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 0;
    background: transparent;
    color: var(--navy-900);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.layer8-product-page .wp-block-accordion-heading__toggle-icon {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: rgba(132, 204, 213, 0.24);
}

.layer8-product-page .wp-block-accordion-panel {
    padding: 0 1.15rem 1.15rem;
    color: #3e4566;
}

.layer8-product-page>.wp-block-heading {
    margin-top: clamp(2rem, 5vw, 4rem);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

.layer8-product-page .wp-block-woocommerce-product-collection {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.layer8-product-page .wp-block-post-template,
.layer8-product-page .wc-block-product-template {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.layer8-product-page .wp-block-post-template>li,
.layer8-product-page .wc-block-product-template>li {
    overflow: hidden;
    padding: 1.25rem;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(21, 27, 62, 0.07);
}

.layer8-product-page .wp-block-post-template img,
.layer8-product-page .wc-block-product-template img {
    border-radius: calc(var(--radius-sm) - 4px);
    background: var(--paper);
}

.layer8-product-page .wp-block-post-template .wp-block-post-title,
.layer8-product-page .wc-block-product-template .wp-block-post-title {
    margin: 0.75rem 0;
    font-size: 1.15rem;
    line-height: 1.18;
    text-transform: none;
    text-wrap: auto;
}

.layer8-product-page .wp-block-post-template .wp-block-woocommerce-product-price,
.layer8-product-page .wc-block-product-template .wc-block-components-product-price {
    color: var(--blue-700);
    font-size: 1rem;
}

/* Shop-Archiv (main.layer8-shop-page) wird komplett über die
   .layer8-shop-page-Regeln gestylt — siehe Abschnitt "Shop-Katalog". */

body.woocommerce-cart .wp-site-blocks>main,
body.woocommerce-checkout .wp-site-blocks>main,
body.woocommerce-account .wp-site-blocks>main {
    position: relative;
    flex: 1 0 auto;
    padding: 0 0 clamp(4.5rem, 8vw, 8rem);
    background:
        radial-gradient(circle at 8% 12%, rgba(132, 204, 213, 0.2), transparent 26rem),
        linear-gradient(180deg, rgba(246, 248, 251, 0.94) 0%, var(--white) 46%, rgba(237, 244, 248, 0.88) 100%);
}

body.woocommerce-cart .wp-site-blocks>main::before,
body.woocommerce-checkout .wp-site-blocks>main::before,
body.woocommerce-account .wp-site-blocks>main::before {
    display: none;
}

.layer8-cart-page,
.layer8-checkout-page,
.layer8-account-page {
    position: relative;
    z-index: 1;
}

body.woocommerce-cart .wp-block-post-title,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-account .wp-block-post-title,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-account .entry-title,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - var(--page-gutter)));
    margin-inline: auto;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content {
    margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
}

body.woocommerce-cart .wp-block-post-title.alignwide,
body.woocommerce-checkout .wp-block-post-title.alignwide,
body.woocommerce-account .wp-block-post-title.alignwide,
body.woocommerce-cart .entry-title.alignwide,
body.woocommerce-checkout .entry-title.alignwide,
body.woocommerce-account .entry-title.alignwide,
body.woocommerce-cart .entry-content.alignwide,
body.woocommerce-checkout .entry-content.alignwide {
    max-width: min(var(--max), calc(100% - var(--page-gutter))) !important;
}

body.woocommerce-cart .wp-block-post-title,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-account .wp-block-post-title,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-account .entry-title {
    margin-top: 0;
    margin-bottom: clamp(0.85rem, 2vw, 1.45rem);
    color: var(--navy-950);
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 6.8rem);
    line-height: 1.02;
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
}

body.woocommerce-cart .wc-block-store-notices.alignwide,
body.woocommerce-checkout .wc-block-store-notices.alignwide {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - var(--page-gutter)));
    max-width: min(var(--max), calc(100% - var(--page-gutter))) !important;
    margin: 0 auto clamp(0.7rem, 1.4vw, 1rem);
}

:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce {
    width: 100%;
    color: var(--ink);
}

body.woocommerce-cart .wp-site-blocks>main>.woocommerce {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - var(--page-gutter)));
    margin-inline: auto;
}

body.woocommerce-cart.woocommerce-page main .woocommerce {
    max-width: none !important;
}

.layer8-cart-page .woocommerce,
body.woocommerce-cart .entry-content>.woocommerce {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
}

.layer8-cart-page .woocommerce>.woocommerce-notices-wrapper,
.layer8-cart-page .woocommerce>.woocommerce-message,
.layer8-cart-page .woocommerce>.woocommerce-info,
.layer8-cart-page .woocommerce>.woocommerce-error,
.layer8-cart-page .woocommerce>.wc-empty-cart-message,
.layer8-cart-page .woocommerce>.return-to-shop,
body.woocommerce-cart .entry-content>.woocommerce>.woocommerce-notices-wrapper,
body.woocommerce-cart .entry-content>.woocommerce>.woocommerce-message,
body.woocommerce-cart .entry-content>.woocommerce>.woocommerce-info,
body.woocommerce-cart .entry-content>.woocommerce>.woocommerce-error,
body.woocommerce-cart .entry-content>.woocommerce>.wc-empty-cart-message,
body.woocommerce-cart .entry-content>.woocommerce>.return-to-shop {
    grid-column: 1 / -1;
}

.layer8-cart-page .woocommerce .woocommerce-cart-form,
body.woocommerce-cart .woocommerce .woocommerce-cart-form {
    grid-column: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    float: none;
}

.layer8-cart-page .woocommerce .cart-collaterals,
body.woocommerce-cart .woocommerce .cart-collaterals {
    grid-column: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    display: block;
    float: none;
}

.layer8-cart-page .woocommerce .cart-collaterals .cart_totals,
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
    width: 100%;
    max-width: none;
    margin: 0;
    float: none;
}

.layer8-cart-page .woocommerce .cart-collaterals .cart_totals h2,
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals h2 {
    grid-column: 1 / -1;
}

:where(.layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-notices-wrapper {
    margin-bottom: 1.25rem;
}

:where(.layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message,
:where(.layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info,
:where(.layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error,
:where(.layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner {
    margin: 0 0 1.25rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-left: 4px solid var(--cyan-500);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
    color: #3e4566;
    box-shadow: 0 14px 36px rgba(21, 27, 62, 0.07);
}

:where(.layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

:where(.layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner svg {
    flex: 0 0 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--blue-700);
}

.layer8-cart-page .wp-block-woocommerce-cart,
body.woocommerce-cart .wp-block-woocommerce-cart {
    width: 100%;
    max-width: none !important;
    margin: 0;
    color: var(--ink);
}

.layer8-cart-page .wp-block-woocommerce-cart.is-loading,
body.woocommerce-cart .wp-block-woocommerce-cart.is-loading {
    min-height: 22rem;
}

.layer8-cart-page .wc-block-cart,
body.woocommerce-cart .wc-block-cart {
    margin: 0;
}

.layer8-cart-page .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.42fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
}

.layer8-cart-page .wc-block-components-main,
body.woocommerce-cart .wc-block-components-main,
.layer8-cart-page .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-components-sidebar {
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0;
}

.layer8-cart-page .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__main,
.layer8-cart-page .wp-block-woocommerce-cart-items-block,
body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
.layer8-cart-page .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar,
.layer8-cart-page .wp-block-woocommerce-cart-totals-block,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
    min-width: 0;
}

.layer8-cart-page .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__main,
.layer8-cart-page .wp-block-woocommerce-cart-items-block,
body.woocommerce-cart .wp-block-woocommerce-cart-items-block {
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(21, 27, 62, 0.1);
}

.layer8-cart-page .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar,
.layer8-cart-page .wp-block-woocommerce-cart-totals-block,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
    position: sticky;
    top: clamp(6.5rem, 10vw, 8rem);
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.11);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
    box-shadow:
        0 24px 68px rgba(21, 27, 62, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.layer8-cart-page .wc-block-cart__sidebar::before,
body.woocommerce-cart .wc-block-cart__sidebar::before,
.layer8-cart-page .wp-block-woocommerce-cart-totals-block::before,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.5rem;
    background: linear-gradient(180deg, var(--cyan-500), var(--blue-700));
    pointer-events: none;
}

.layer8-cart-page .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items {
    margin: 0;
    border: 0;
}

.layer8-cart-page .wc-block-cart-items__header,
body.woocommerce-cart .wc-block-cart-items__header {
    color: var(--navy-900);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(237, 244, 248, 0.86));
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.layer8-cart-page .wc-block-cart-items__header th,
body.woocommerce-cart .wc-block-cart-items__header th,
.layer8-cart-page .wc-block-cart-items td,
body.woocommerce-cart .wc-block-cart-items td {
    padding: clamp(1.15rem, 1.8vw, 1.65rem);
    border-color: rgba(39, 42, 81, 0.1);
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-total,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-total {
    padding-right: clamp(1.15rem, 1.8vw, 1.65rem);
}

.layer8-cart-page .wc-block-cart-item__image img,
body.woocommerce-cart .wc-block-cart-item__image img {
    width: clamp(5.25rem, 8vw, 7rem);
    height: auto;
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(21, 27, 62, 0.12);
}

.layer8-cart-page .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-name {
    color: var(--navy-900);
    font-size: clamp(1.08rem, 1vw, 1.2rem);
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.35vw, 1.6rem);
    font-weight: 700;
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

.layer8-cart-page .wc-block-components-product-name:hover,
body.woocommerce-cart .wc-block-components-product-name:hover {
    color: var(--blue-700);
}

.layer8-cart-page .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-metadata,
.layer8-cart-page .wc-block-components-product-details,
body.woocommerce-cart .wc-block-components-product-details {
    margin-top: 0.45rem;
    color: #626b86;
    font-size: 0.95rem;
    line-height: 1.45;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata,
.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description,
.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description p,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description p {
    color: #59617c;
    font-size: clamp(1.02rem, 1vw, 1.15rem);
    line-height: 1.58;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description p,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description p {
    margin: 0;
}

.layer8-cart-page .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-cart-item__prices,
.layer8-cart-page .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-cart-item__total,
.layer8-cart-page .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-product-price,
.layer8-cart-page .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-item__value {
    color: var(--navy-900);
    font-weight: 700;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices {
    margin-top: 0.65rem;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.55rem;
    align-items: baseline;
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.08vw, 1.32rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.layer8-cart-page .layer8-cart-price-tax-notice,
body.woocommerce-cart .layer8-cart-price-tax-notice {
    display: block;
    flex-basis: 100%;
    margin-top: 0.2rem;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.35;
    white-space: normal;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price del,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price del {
    color: var(--muted);
    font-size: 0.82em;
    text-decoration: line-through;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price ins,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price ins {
    text-decoration: none;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    align-items: flex-start;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-product-price,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-product-price {
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.55vw, 1.85rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
}

.layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-sale-badge,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-sale-badge {
    margin-top: 0.55rem;
    color: #59617c;
    font-size: clamp(0.95rem, 0.9vw, 1.05rem);
    font-weight: 700;
    line-height: 1.35;
}

.layer8-cart-page .wc-block-components-quantity-selector,
body.woocommerce-cart .wc-block-components-quantity-selector {
    min-height: 3rem;
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy-900);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 18px rgba(21, 27, 62, 0.08);
}

.layer8-cart-page .wc-block-components-quantity-selector__button,
body.woocommerce-cart .wc-block-components-quantity-selector__button,
.layer8-cart-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
body.woocommerce-cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    min-height: 3rem;
    color: var(--navy-900);
    font-weight: 700;
    outline: none;
}

.layer8-cart-page .wc-block-components-quantity-selector__button:hover,
body.woocommerce-cart .wc-block-components-quantity-selector__button:hover,
.layer8-cart-page .wc-block-components-quantity-selector__button:focus-visible,
body.woocommerce-cart .wc-block-components-quantity-selector__button:focus-visible {
    background: rgba(132, 204, 213, 0.2);
}

.layer8-cart-page .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-cart-item__remove-link,
.layer8-cart-page .wc-block-components-chip .wc-block-components-chip__remove,
body.woocommerce-cart .wc-block-components-chip .wc-block-components-chip__remove {
    color: var(--blue-700);
    font-weight: 700;
    text-decoration: none;
}

.layer8-cart-page .wc-block-cart-item__remove-link:hover,
body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
    color: var(--navy-950);
    text-decoration: underline;
}

.layer8-cart-page .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-totals-wrapper {
    padding: 0;
    border-color: rgba(39, 42, 81, 0.1);
}

.layer8-cart-page .wp-block-woocommerce-cart-order-summary-totals-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block {
    border-top: 0;
}

.layer8-cart-page .wp-block-woocommerce-cart-order-summary-taxes-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-taxes-block {
    border-top: 0;
    border-bottom: 0;
}

.layer8-cart-page .wp-block-woocommerce-cart-order-summary-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
.layer8-cart-page .wp-block-woocommerce-cart-express-payment-block,
body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block,
.layer8-cart-page .wp-block-woocommerce-proceed-to-checkout-block,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block,
.layer8-cart-page .wp-block-woocommerce-cart-accepted-payment-methods-block,
body.woocommerce-cart .wp-block-woocommerce-cart-accepted-payment-methods-block {
    padding-inline: clamp(1.25rem, 2.4vw, 2rem);
}

.layer8-cart-page .wp-block-woocommerce-cart-order-summary-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
    padding-top: clamp(1.25rem, 2.4vw, 2rem);
}

.layer8-cart-page .wp-block-woocommerce-cart-accepted-payment-methods-block,
body.woocommerce-cart .wp-block-woocommerce-cart-accepted-payment-methods-block {
    padding-bottom: clamp(1.25rem, 2.4vw, 2rem);
}

.layer8-cart-page .wc-block-cart__totals-title,
body.woocommerce-cart .wc-block-cart__totals-title,
.layer8-cart-page .wp-block-woocommerce-cart-order-summary-heading-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block {
    margin: 0;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

.layer8-cart-page .wc-block-components-totals-item,
body.woocommerce-cart .wc-block-components-totals-item {
    gap: 0.5rem 0.85rem;
    padding-block: 1rem;
    color: #4d5574;
    font-size: 1.02rem;
}

.layer8-cart-page .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__label {
    min-width: 0;
    line-height: 1.35;
}

.layer8-cart-page .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-item__value {
    flex: 0 0 auto;
    margin-left: auto;
    line-height: 1.2;
    text-align: right;
}

.layer8-cart-page .wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-taxes,
body.woocommerce-cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-taxes {
    box-sizing: border-box;
    min-height: 3.65rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #4d5574;
    font-size: clamp(0.96rem, 0.92vw, 1.02rem);
    line-height: 1.35;
}

.layer8-cart-page .wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-taxes .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-taxes .wc-block-components-totals-item__label {
    min-width: 0;
    color: #4d5574;
    line-height: 1.35;
}

.layer8-cart-page .wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-taxes .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-taxes .wc-block-components-totals-item__value {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--navy-900);
    font-size: inherit;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.layer8-cart-page .wc-block-components-totals-footer-item,
body.woocommerce-cart .wc-block-components-totals-footer-item {
    align-items: flex-start;
    gap: 0.55rem 0.9rem;
    color: var(--navy-950);
    font-size: clamp(1.15rem, 1.35vw, 1.4rem);
    line-height: 1.25;
}

.layer8-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    flex: 1 1 11rem;
}

.layer8-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--blue-700);
    font-size: clamp(1.45rem, 1.8vw, 1.85rem);
    white-space: nowrap;
}

.layer8-cart-page .wc-block-components-totals-coupon-link,
body.woocommerce-cart .wc-block-components-totals-coupon-link {
    color: var(--blue-700);
    font-weight: 700;
    text-decoration: none;
}

.layer8-cart-page .wp-block-woocommerce-cart-order-summary-coupon-form-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block {
    margin-top: 0.75rem;
    padding: 0;
    border: 0;
}

.layer8-cart-page .wc-block-components-totals-coupon,
body.woocommerce-cart .wc-block-components-totals-coupon {
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.11);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 248, 251, 0.9));
    box-shadow:
        0 12px 30px rgba(21, 27, 62, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.layer8-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0.95rem 3rem 0.95rem 1rem !important;
    color: var(--navy-900);
    font-weight: 700;
    line-height: 1.2;
    transition:
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.layer8-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button::before,
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button::before {
    content: "";
    flex: 0 0 1.65rem;
    width: 1.65rem;
    height: 1.65rem;
    margin-right: 0.75rem;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20width='24'%20height='24'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%209a3%203%200%200%201%200%206v2a2%202%200%200%200%202%202h16a2%202%200%200%200%202-2v-2a3%203%200%200%201%200-6V7a2%202%200%200%200-2-2H4a2%202%200%200%200-2%202Z'%3E%3C/path%3E%3Cpath%20d='M15%205.5v2'%3E%3C/path%3E%3Cpath%20d='M15%2010.5v2'%3E%3C/path%3E%3Cpath%20d='M15%2015.5v2'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat;
}

.layer8-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button:hover,
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button:hover,
.layer8-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button:focus-visible,
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button:focus-visible {
    outline: none;
    background: rgba(132, 204, 213, 0.15);
    color: var(--blue-700);
    box-shadow: inset 0 0 0 2px rgba(132, 204, 213, 0.22);
}

.layer8-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button-icon,
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
    right: 1rem;
    color: var(--blue-700);
}

.layer8-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"],
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(39, 42, 81, 0.1);
}

.layer8-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__content,
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__content {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.58);
}

.layer8-cart-page .wc-block-components-totals-coupon__content,
body.woocommerce-cart .wc-block-components-totals-coupon__content {
    margin: 0;
}

.layer8-cart-page .wc-block-components-totals-coupon__form,
body.woocommerce-cart .wc-block-components-totals-coupon__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7rem, auto);
    gap: 0.7rem;
    align-items: end;
}

.layer8-cart-page .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-text-input input {
    min-height: 3rem;
    border: 1px solid rgba(132, 204, 213, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--navy-900);
    font: inherit;
}

.layer8-cart-page .wc-block-components-text-input label,
body.woocommerce-cart .wc-block-components-text-input label {
    color: #626b86;
}

.layer8-cart-page .wc-block-components-totals-coupon__input input,
body.woocommerce-cart .wc-block-components-totals-coupon__input input {
    min-height: 3.1rem;
    border-color: rgba(39, 42, 81, 0.16);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.layer8-cart-page .wc-block-components-totals-coupon__input input:focus,
body.woocommerce-cart .wc-block-components-totals-coupon__input input:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow:
        0 0 0 4px rgba(132, 204, 213, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.layer8-cart-page .wc-block-components-button:not(.is-link),
body.woocommerce-cart .wc-block-components-button:not(.is-link),
.layer8-cart-page .wc-block-components-button.wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.35rem;
    border: 1px solid rgba(132, 204, 213, 0.52);
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.layer8-cart-page .wc-block-components-button:not(.is-link):hover,
body.woocommerce-cart .wc-block-components-button:not(.is-link):hover {
    border-color: var(--cyan-500);
    background: var(--blue-700);
    color: var(--white);
}

.layer8-cart-page .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-components-totals-coupon__button {
    width: 100%;
    min-height: 3.1rem;
    white-space: nowrap;
}

.layer8-cart-page .wc-block-components-totals-coupon__button:disabled,
.layer8-cart-page .wc-block-components-totals-coupon__button[aria-disabled="true"],
body.woocommerce-cart .wc-block-components-totals-coupon__button:disabled,
body.woocommerce-cart .wc-block-components-totals-coupon__button[aria-disabled="true"] {
    transform: none;
    border-color: rgba(39, 42, 81, 0.12);
    background: rgba(39, 42, 81, 0.12);
    color: rgba(35, 39, 79, 0.58);
    box-shadow: none;
    cursor: not-allowed;
}

.layer8-cart-page .wc-block-cart__submit-container,
body.woocommerce-cart .wc-block-cart__submit-container {
    padding-top: 0.35rem;
}

.layer8-cart-page .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button {
    width: 100%;
    min-height: 3.55rem;
    border-color: rgba(132, 204, 213, 0.58);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    color: var(--white);
    font-size: 1.08rem;
    box-shadow: 0 16px 38px rgba(19, 67, 149, 0.24);
}

.layer8-cart-page .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover {
    border-color: var(--cyan-500);
    background: linear-gradient(135deg, var(--navy-950), var(--blue-700));
    color: var(--white);
}

.layer8-empty-cart,
.layer8-cart-page .wp-block-woocommerce-empty-cart-block,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(21, 27, 62, 0.1);
}

.layer8-empty-cart--hidden,
.layer8-empty-cart[hidden],
[data-layer8-empty-cart-fallback][hidden] {
    display: none !important;
}

.layer8-empty-cart__intro {
    max-width: 42rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.layer8-empty-cart__kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 0.65rem;
    color: var(--cyan-500);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.25;
    text-transform: uppercase;
}

.layer8-empty-cart__kicker::before {
    content: "";
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 0.3125rem;
    background: var(--cyan-500);
}

.layer8-empty-cart__title,
.layer8-cart-page .wc-block-cart__empty-cart__title,
body.woocommerce-cart .wc-block-cart__empty-cart__title,
.layer8-cart-page .wp-block-woocommerce-empty-cart-block>.wp-block-heading,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block>.wp-block-heading {
    margin: 0;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

.layer8-empty-cart__copy {
    max-width: 34rem;
    margin: 0.85rem auto 0;
    color: #59617c;
    font-size: clamp(1rem, 1vw, 1.12rem);
    line-height: 1.58;
}

.layer8-empty-cart__actions {
    margin: 1.25rem 0 0;
}

.layer8-empty-cart__actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    transition: box-shadow 180ms ease;
}

.layer8-empty-cart__actions .button:hover {
    color: var(--white);
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
}

.layer8-cart-page .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before {
    content: none;
    display: none;
}

.layer8-cart-page .wp-block-woocommerce-empty-cart-block>.wp-block-separator,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block>.wp-block-separator {
    display: none;
}

.layer8-empty-cart-products {
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.layer8-empty-cart-products__title {
    margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.layer8-empty-cart-products ul.products {
    clear: both;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
}

.layer8-empty-cart-products ul.products::before,
.layer8-empty-cart-products ul.products::after {
    display: none;
}

.layer8-empty-cart-products ul.products li.product {
    position: relative;
    overflow: hidden;
    float: none;
    display: flex;
    flex-direction: column;
    width: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 58px rgba(21, 27, 62, 0.09);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.layer8-empty-cart-products ul.products li.product:hover {
    transform: translateY(-6px);
    border-color: rgba(132, 204, 213, 0.58);
    box-shadow: 0 32px 76px rgba(21, 27, 62, 0.16);
}

.layer8-empty-cart-products ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.layer8-empty-cart-products ul.products li.product img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    background: var(--paper);
    transition: transform 300ms ease;
}

.layer8-empty-cart-products ul.products li.product:hover img {
    transform: scale(1.03);
}

.layer8-empty-cart-products ul.products li.product .woocommerce-loop-product__title {
    margin: 22px 26px 0;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.9vw, 1.85rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.layer8-empty-cart-products ul.products li.product .loop-product-excerpt {
    margin: 12px 26px 14px;
    color: #59617c;
    font-size: 0.98rem;
    line-height: 1.55;
}

.layer8-empty-cart-products ul.products li.product .price {
    display: block;
    margin: auto 26px 8px;
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.layer8-empty-cart-products ul.products li.product .price del {
    margin-right: 8px;
    color: var(--muted);
    font-size: 0.7em;
    text-decoration: line-through;
}

.layer8-empty-cart-products ul.products li.product .price ins {
    text-decoration: none;
}

.layer8-empty-cart-products ul.products li.product .layer8-product-price-tax-notice {
    margin: 0 26px 22px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.layer8-empty-cart-products ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-height: 48px;
    margin: auto 26px 26px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    color: var(--white);
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow 180ms ease;
}

.layer8-empty-cart-products ul.products li.product .button:hover {
    color: var(--white);
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
}

.layer8-empty-cart-products ul.products li.product .added_to_cart {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0 26px 24px;
    padding: 8px 16px;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    color: var(--navy-900);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.layer8-empty-cart-products ul.products li.product .added_to_cart:hover {
    border-color: var(--cyan-500);
    background: var(--cyan-500);
    color: var(--navy-950);
}

/* Cart: Cross-Sells (product-collection) im Shop-Karten-Design.
   Trennlinie zum Warenkorb ersetzt den früheren Separator-Block. */
.layer8-cart-page .wp-block-woocommerce-product-collection,
body.woocommerce-cart .wp-block-woocommerce-product-collection {
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    border-top: 1px solid rgba(39, 42, 81, 0.1);
}

/* Zweifarbige Section-Überschrift wie "Weitere Artikel" (Akzent via .cyan). */
.layer8-cart-page .cross-sells-title,
body.woocommerce-cart .cross-sells-title,
.layer8-cart-page .wp-block-woocommerce-product-collection .wp-block-heading,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-heading {
    margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.layer8-cart-page .wc-block-product-template,
body.woocommerce-cart .wc-block-product-template,
.layer8-cart-page .wp-block-post-template,
body.woocommerce-cart .wp-block-post-template {
    gap: 1.25rem;
}

/* Karte analog .layer8-shop-page ul.products li.product / .post-card */
.layer8-cart-page .wc-block-product-template>li,
body.woocommerce-cart .wc-block-product-template>li,
.layer8-cart-page .wp-block-post-template>li,
body.woocommerce-cart .wp-block-post-template>li {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 58px rgba(21, 27, 62, 0.09);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.layer8-cart-page .wc-block-product-template>li:hover,
body.woocommerce-cart .wc-block-product-template>li:hover,
.layer8-cart-page .wp-block-post-template>li:hover,
body.woocommerce-cart .wp-block-post-template>li:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 76px rgba(21, 27, 62, 0.16);
    border-color: rgba(132, 204, 213, 0.58);
}

.layer8-cart-page .wc-block-product-template .wc-block-components-product-image,
body.woocommerce-cart .wc-block-product-template .wc-block-components-product-image {
    margin: 0;
}

.layer8-cart-page .wc-block-product-template img,
body.woocommerce-cart .wc-block-product-template img,
.layer8-cart-page .wp-block-post-template img,
body.woocommerce-cart .wp-block-post-template img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    background: var(--paper);
    transition: transform 300ms ease;
}

.layer8-cart-page .wc-block-product-template>li:hover img,
body.woocommerce-cart .wc-block-product-template>li:hover img {
    transform: scale(1.03);
}

.layer8-cart-page .wc-block-product-template .wp-block-post-title,
body.woocommerce-cart .wc-block-product-template .wp-block-post-title {
    margin: 22px 26px 0;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.9vw, 1.85rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-align: left;
    text-wrap: balance;
}

.layer8-cart-page .wc-block-product-template .wp-block-post-title a,
body.woocommerce-cart .wc-block-product-template .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
}

.layer8-cart-page .wc-block-product-template .wc-block-components-product-price,
body.woocommerce-cart .wc-block-product-template .wc-block-components-product-price {
    display: block;
    margin: auto 26px 22px;
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    text-align: left;
}

.layer8-cart-page .wc-block-product-template .wc-block-components-product-price del,
body.woocommerce-cart .wc-block-product-template .wc-block-components-product-price del {
    margin-right: 8px;
    color: var(--muted);
    font-size: 0.7em;
    text-decoration: line-through;
}

.layer8-cart-page .wc-block-product-template .wc-block-components-product-price ins,
body.woocommerce-cart .wc-block-product-template .wc-block-components-product-price ins {
    text-decoration: none;
}

/* Button unten in der Karte fixiert, Pill im Shop-Card-Stil. */
.layer8-cart-page .wc-block-product-template .wp-block-woocommerce-product-button,
body.woocommerce-cart .wc-block-product-template .wp-block-woocommerce-product-button {
    margin: 0 26px 26px;
    padding-top: 0;
    text-align: left;
}

.layer8-cart-page .wc-block-product-template .wc-block-components-product-button__button,
body.woocommerce-cart .wc-block-product-template .wc-block-components-product-button__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin: 0;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    transition: box-shadow 180ms ease;
}

.layer8-cart-page .wc-block-product-template .wc-block-components-product-button__button:hover,
body.woocommerce-cart .wc-block-product-template .wc-block-components-product-button__button:hover {
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    color: var(--white);
}

.layer8-cart-page .wc-block-product-template .added_to_cart,
body.woocommerce-cart .wc-block-product-template .added_to_cart {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.layer8-cart-page .wc-block-product-template .added_to_cart:hover,
body.woocommerce-cart .wc-block-product-template .added_to_cart:hover {
    background: var(--cyan-500);
    border-color: var(--cyan-500);
    color: var(--navy-950);
}

/* Cart: active cross-sell product collection, matched to product detail up-sells. */
:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] {
    margin-top: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 1px solid rgba(39, 42, 81, 0.1);
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .cross-sells-title {
    margin: 0 0 clamp(1rem, 2vw, 1.5rem);
    font-size: 2.35rem;
    letter-spacing: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product-template {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: clamp(1rem, 2vw, 1.5rem);
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product-template>li {
    display: grid;
    grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 1fr);
    gap: 0 clamp(1rem, 2.5vw, 1.75rem);
    align-items: stretch;
    min-height: 0;
    padding: clamp(1rem, 2.4vw, 1.35rem);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 88% 8%, rgba(132, 204, 213, 0.2), transparent 16rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 248, 251, 0.98) 100%);
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-image {
    grid-column: 1;
    grid-row: 1 / 5;
    align-self: stretch;
    min-width: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-image a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-image img {
    height: 100%;
    min-height: clamp(13rem, 20vw, 18rem);
    border-radius: var(--radius-sm);
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-post-title,
:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .layer8-cart-cross-sell-excerpt,
:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-woocommerce-product-price,
:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-woocommerce-product-button {
    grid-column: 2;
    min-width: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-post-title {
    margin: clamp(0.35rem, 1vw, 0.8rem) 0 0;
    font-size: 2.25rem;
    letter-spacing: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .layer8-cart-cross-sell-excerpt {
    width: calc(100% - 26px);
    max-width: calc(46rem - 26px);
    margin: 0.9rem 0 1.1rem 26px;
    color: #59617c;
    font-size: 1.05rem;
    line-height: 1.55;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-price {
    margin: 0;
    font-size: 2rem;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-woocommerce-product-button {
    margin: 1.35rem 0 0;
    justify-self: start;
    text-align: left;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-button__button,
:where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .added_to_cart {
    justify-self: start;
    margin: 0;
}

@media (max-width: 760px) {

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] {
        padding: clamp(1.25rem, 5vw, 1.75rem) clamp(1rem, 4vw, 1.25rem) clamp(1.35rem, 5vw, 2rem);
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .cross-sells-title {
        font-size: 1.7rem;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product-template>li {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-image,
    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-post-title,
    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .layer8-cart-cross-sell-excerpt,
    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-woocommerce-product-price,
    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-woocommerce-product-button {
        grid-column: 1;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-image {
        grid-row: auto;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-image img {
        min-height: 0;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-post-title {
        margin: 1.2rem 0 0;
        font-size: 1.7rem;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .layer8-cart-cross-sell-excerpt {
        width: calc(100% - 26px);
        margin: 0.75rem 0 1rem 26px;
        font-size: 0.98rem;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-price {
        font-size: 1.65rem;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wp-block-woocommerce-product-button {
        margin-top: 1.15rem;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .wc-block-components-product-button__button,
    :where(.layer8-cart-page, body.woocommerce-cart) .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"] .added_to_cart {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 680px) {

    .layer8-cart-page .wc-block-cart__submit-container.wc-block-cart__submit-container--sticky,
    body.woocommerce-cart .wc-block-cart__submit-container.wc-block-cart__submit-container--sticky {
        position: static !important;
        width: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
}

.layer8-checkout-page .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: 100%;
    max-width: none !important;
    margin: 0;
    color: var(--ink);
}

.layer8-checkout-page .wp-block-woocommerce-checkout.is-loading,
body.woocommerce-checkout .wp-block-woocommerce-checkout.is-loading {
    min-height: 28rem;
}

.layer8-checkout-page .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout {
    margin: 0;
}

.layer8-checkout-page .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.42fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
}

.layer8-checkout-page .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-main,
.layer8-checkout-page .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0;
}

.layer8-checkout-page .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__main,
.layer8-checkout-page .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
    display: grid;
    gap: clamp(1rem, 2vw, 1.35rem);
    min-width: 0;
}

.layer8-checkout-page .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.layer8-checkout-page .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
    position: sticky;
    top: clamp(6.5rem, 10vw, 8rem);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.11);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
    box-shadow:
        0 24px 68px rgba(21, 27, 62, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.layer8-checkout-page .wc-block-checkout__sidebar::before,
body.woocommerce-checkout .wc-block-checkout__sidebar::before,
.layer8-checkout-page .wp-block-woocommerce-checkout-totals-block::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.5rem;
    background: linear-gradient(180deg, var(--cyan-500), var(--blue-700));
    pointer-events: none;
}

.layer8-checkout-page .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-checkout-step,
.layer8-checkout-page .wp-block-woocommerce-checkout-express-payment-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block,
.layer8-checkout-page .wp-block-woocommerce-checkout-terms-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
.layer8-checkout-page .wp-block-woocommerce-checkout-actions-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block {
    overflow: hidden;
    padding: clamp(1.2rem, 2.4vw, 1.85rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 54px rgba(21, 27, 62, 0.08);
}

.layer8-checkout-page .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
    margin: 0 0 1rem;
}

.layer8-checkout-page .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-title,
.layer8-checkout-page .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
.layer8-checkout-page .wc-block-components-checkout-step__heading h2,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h2 {
    margin: 0;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.75vw, 1.85rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

.layer8-checkout-page .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__description,
.layer8-checkout-page .wc-block-components-checkout-step__heading-content,
body.woocommerce-checkout .wc-block-components-checkout-step__heading-content {
    color: #626b86;
    font-size: 0.98rem;
    line-height: 1.55;
}

.layer8-checkout-page .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input,
.layer8-checkout-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.layer8-checkout-page .wc-block-components-form .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea,
.layer8-checkout-page .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-components-textarea {
    min-height: 3.1rem;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy-900);
    font: inherit;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.layer8-checkout-page .wc-block-components-form .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-textarea,
.layer8-checkout-page .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-components-textarea {
    min-height: 7rem;
    resize: vertical;
}

.layer8-checkout-page .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus,
.layer8-checkout-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.layer8-checkout-page .wc-block-components-textarea:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow:
        0 0 0 4px rgba(132, 204, 213, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.layer8-checkout-page .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-text-input label,
.layer8-checkout-page .wc-block-components-base-control label,
body.woocommerce-checkout .wc-block-components-base-control label,
.layer8-checkout-page .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-checkbox__label,
.layer8-checkout-page .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
    color: var(--navy-900);
    font-weight: 700;
}

.layer8-checkout-page .wc-block-components-checkbox .wc-block-components-checkbox__input,
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input,
.layer8-checkout-page .wc-block-components-radio-control__input,
body.woocommerce-checkout .wc-block-components-radio-control__input {
    border-color: rgba(39, 42, 81, 0.2);
    accent-color: var(--blue-700);
}

.layer8-checkout-page .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control__option,
.layer8-checkout-page .wc-block-components-shipping-rates-control__package,
body.woocommerce-checkout .wc-block-components-shipping-rates-control__package,
.layer8-checkout-page .wc-block-components-payment-methods__payment-method,
body.woocommerce-checkout .wc-block-components-payment-methods__payment-method {
    border-color: rgba(39, 42, 81, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(246, 248, 251, 0.64);
}

.layer8-checkout-page .wc-block-components-validation-error,
body.woocommerce-checkout .wc-block-components-validation-error,
.layer8-checkout-page .wc-block-components-validation-error p,
body.woocommerce-checkout .wc-block-components-validation-error p {
    color: #9f2f2f;
    font-weight: 700;
}

.layer8-checkout-page .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-totals-wrapper {
    padding: 0;
    border-color: rgba(39, 42, 81, 0.1);
}

.layer8-checkout-page .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    padding: clamp(1.25rem, 2.4vw, 2rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.layer8-checkout-page .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary {
    margin: 0;
    padding: 0 !important;
}

.layer8-checkout-page .wc-block-components-order-summary__button-text,
body.woocommerce-checkout .wc-block-components-order-summary__button-text,
.layer8-checkout-page .wc-block-components-order-summary__title-text,
body.woocommerce-checkout .wc-block-components-order-summary__title-text {
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.8vw, 1.9rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

.layer8-checkout-page .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-order-summary-item {
    display: grid;
    grid-template-columns: clamp(4.5rem, 5.5vw, 5.5rem) minmax(0, 1fr);
    gap: 0.9rem 1rem;
    align-items: start;
    margin: 0 0 0.95rem;
    padding: 1rem;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(21, 27, 62, 0.08);
}

.layer8-checkout-page .wc-block-components-order-summary-item__quantity,
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
    border: 1px solid rgba(132, 204, 213, 0.62);
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.92),
        0 8px 18px rgba(21, 27, 62, 0.18);
}

.layer8-checkout-page .wc-block-components-order-summary-item:last-child,
body.woocommerce-checkout .wc-block-components-order-summary-item:last-child {
    margin-bottom: 0;
}

.layer8-checkout-page .wc-block-components-order-summary-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.layer8-checkout-page .wc-block-components-order-summary-item__image img,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(21, 27, 62, 0.12);
}

.layer8-checkout-page .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
    grid-column: 2;
    display: grid;
    gap: 0.55rem;
    min-width: 0;
    color: #626b86;
}

.layer8-checkout-page .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.12rem, 1.1vw, 1.34rem);
    font-weight: 700;
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__description {
    color: #59617c;
    font-size: clamp(1rem, 0.96vw, 1.1rem);
    line-height: 1.55;
}

.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata,
.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-metadata p,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-metadata p {
    color: #59617c;
    font-size: clamp(0.98rem, 0.94vw, 1.08rem);
    line-height: 1.55;
}

.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-metadata p,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-metadata p {
    margin: 0;
}

.layer8-checkout-page .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
.layer8-checkout-page .wc-block-components-order-summary-item__total-price,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price,
.layer8-checkout-page .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-item__value {
    color: var(--navy-900);
    font-weight: 700;
}

.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.5rem;
    align-items: baseline;
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: clamp(1rem, 0.98vw, 1.18rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices del,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices del {
    color: var(--muted);
    font-size: 0.82em;
    text-decoration: line-through;
}

.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices ins,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices ins {
    text-decoration: none;
}

.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item__total-price,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
    grid-column: 2;
    width: auto;
    min-width: 0;
    text-align: left;
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.08vw, 1.32rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

.layer8-checkout-page .wc-block-components-order-summary .wc-block-components-sale-badge,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-sale-badge {
    margin-top: 0.45rem;
    color: #59617c;
    font-size: clamp(0.92rem, 0.88vw, 1rem);
    font-weight: 700;
    line-height: 1.35;
}

.layer8-checkout-page .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-item {
    padding-block: 1rem;
    color: #4d5574;
    font-size: 1.02rem;
}

.layer8-checkout-page .wc-block-components-totals-footer-item,
body.woocommerce-checkout .wc-block-components-totals-footer-item {
    color: var(--navy-950);
    font-size: clamp(1.15rem, 1.35vw, 1.4rem);
}

.layer8-checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--blue-700);
    font-size: clamp(1.45rem, 1.8vw, 1.85rem);
}

.layer8-checkout-page .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
    margin-top: 0.75rem;
    padding: 0;
    border: 0;
}

.layer8-checkout-page .wc-block-components-totals-coupon,
body.woocommerce-checkout .wc-block-components-totals-coupon {
    overflow: hidden;
    margin-top: 0.75rem;
    padding: 0 !important;
    border: 1px solid rgba(39, 42, 81, 0.11);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 248, 251, 0.9));
    box-shadow:
        0 12px 30px rgba(21, 27, 62, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.layer8-checkout-page .wc-block-components-totals-coupon .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0.95rem 3rem 0.95rem 1rem !important;
    color: var(--navy-900);
    font-weight: 700;
    line-height: 1.2;
    transition:
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.layer8-checkout-page .wc-block-components-totals-coupon .wc-block-components-panel__button::before,
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button::before {
    content: "";
    flex: 0 0 1.65rem;
    width: 1.65rem;
    height: 1.65rem;
    margin-right: 0.75rem;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20width='24'%20height='24'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%209a3%203%200%200%201%200%206v2a2%202%200%200%200%202%202h16a2%202%200%200%200%202-2v-2a3%203%200%200%201%200-6V7a2%202%200%200%200-2-2H4a2%202%200%200%200-2%202Z'%3E%3C/path%3E%3Cpath%20d='M15%205.5v2'%3E%3C/path%3E%3Cpath%20d='M15%2010.5v2'%3E%3C/path%3E%3Cpath%20d='M15%2015.5v2'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat;
}

.layer8-checkout-page .wc-block-components-totals-coupon .wc-block-components-panel__button:hover,
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button:hover,
.layer8-checkout-page .wc-block-components-totals-coupon .wc-block-components-panel__button:focus-visible,
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button:focus-visible {
    outline: none;
    background: rgba(132, 204, 213, 0.15);
    color: var(--blue-700);
    box-shadow: inset 0 0 0 2px rgba(132, 204, 213, 0.22);
}

.layer8-checkout-page .wc-block-components-totals-coupon .wc-block-components-panel__button-icon,
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
    right: 1rem;
    color: var(--blue-700);
}

.layer8-checkout-page .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"],
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(39, 42, 81, 0.1);
}

.layer8-checkout-page .wc-block-components-totals-coupon .wc-block-components-panel__content,
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__content {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.58);
}

.layer8-checkout-page .wc-block-components-totals-coupon__content,
body.woocommerce-checkout .wc-block-components-totals-coupon__content {
    margin: 0;
}

.layer8-checkout-page .wc-block-components-totals-coupon__form,
body.woocommerce-checkout .wc-block-components-totals-coupon__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7rem, auto);
    gap: 0.7rem;
    align-items: end;
}

.layer8-checkout-page .wc-block-components-totals-coupon__input input,
body.woocommerce-checkout .wc-block-components-totals-coupon__input input {
    min-height: 3.1rem;
    border-color: rgba(39, 42, 81, 0.16);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.layer8-checkout-page .wc-block-components-totals-coupon__input input:focus,
body.woocommerce-checkout .wc-block-components-totals-coupon__input input:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow:
        0 0 0 4px rgba(132, 204, 213, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.layer8-checkout-page .wc-block-components-totals-coupon-link,
body.woocommerce-checkout .wc-block-components-totals-coupon-link,
.layer8-checkout-page .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button {
    color: var(--blue-700);
    font-weight: 700;
    text-decoration: none;
}

.layer8-checkout-page .wc-block-components-button:not(.is-link),
body.woocommerce-checkout .wc-block-components-button:not(.is-link),
.layer8-checkout-page .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.35rem;
    border: 1px solid rgba(132, 204, 213, 0.52);
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.layer8-checkout-page .wc-block-components-button:not(.is-link):hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover {
    border-color: var(--cyan-500);
    background: var(--blue-700);
    color: var(--white);
}

.layer8-checkout-page .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: 3.55rem;
    border-color: rgba(132, 204, 213, 0.58);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    color: var(--white);
    font-size: 1.08rem;
    box-shadow: 0 16px 38px rgba(19, 67, 149, 0.24);
}

.layer8-checkout-page .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    border-color: var(--cyan-500);
    background: linear-gradient(135deg, var(--navy-950), var(--blue-700));
    color: var(--white);
}

.layer8-checkout-page .wc-block-components-button:disabled,
body.woocommerce-checkout .wc-block-components-button:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.layer8-checkout-page .wc-block-components-totals-coupon__button,
body.woocommerce-checkout .wc-block-components-totals-coupon__button {
    width: 100%;
    min-height: 3.1rem;
    white-space: nowrap;
}

.layer8-checkout-page .wc-block-components-totals-coupon__button:disabled,
.layer8-checkout-page .wc-block-components-totals-coupon__button[aria-disabled="true"],
body.woocommerce-checkout .wc-block-components-totals-coupon__button:disabled,
body.woocommerce-checkout .wc-block-components-totals-coupon__button[aria-disabled="true"] {
    transform: none;
    border-color: rgba(39, 42, 81, 0.12);
    background: rgba(39, 42, 81, 0.12);
    color: rgba(35, 39, 79, 0.58);
    box-shadow: none;
    cursor: not-allowed;
}

.layer8-order-received-page .woocommerce-order,
body.woocommerce-order-received .woocommerce-order {
    display: grid;
    gap: clamp(1.25rem, 2.4vw, 2rem);
    width: 100%;
    color: var(--ink);
}

.layer8-order-received-page .woocommerce-notice,
body.woocommerce-order-received .woocommerce-notice,
.layer8-order-received-page .woocommerce-thankyou-order-details,
body.woocommerce-order-received .woocommerce-thankyou-order-details,
.layer8-order-received-page .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-order-details,
.layer8-order-received-page .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-customer-details,
.layer8-order-received-page .woocommerce-order-downloads,
body.woocommerce-order-received .woocommerce-order-downloads {
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 62px rgba(21, 27, 62, 0.09);
}

.layer8-order-received-page .woocommerce-notice,
body.woocommerce-order-received .woocommerce-notice {
    position: relative;
    margin: 0;
    padding: clamp(1.25rem, 2.6vw, 2rem) clamp(1.35rem, 3vw, 2.35rem);
    color: var(--navy-900);
    font-size: clamp(1.08rem, 1.15vw, 1.22rem);
    font-weight: 700;
    line-height: 1.5;
}

.layer8-order-received-page .woocommerce-notice::before,
body.woocommerce-order-received .woocommerce-notice::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.5rem;
    background: linear-gradient(180deg, var(--cyan-500), var(--blue-700));
    pointer-events: none;
}

.layer8-order-received-page .woocommerce-notice--error,
body.woocommerce-order-received .woocommerce-notice--error {
    border-left: 0;
    background: rgba(255, 255, 255, 0.96);
    color: #9f2f2f;
}

.layer8-order-received-page .woocommerce-notice--error::before,
body.woocommerce-order-received .woocommerce-notice--error::before {
    background: linear-gradient(180deg, #b94a48, var(--copper));
}

.layer8-order-received-page .woocommerce-thankyou-order-details,
body.woocommerce-order-received .woocommerce-thankyou-order-details {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
}

.layer8-order-received-page .woocommerce-thankyou-order-details li,
body.woocommerce-order-received .woocommerce-thankyou-order-details li {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    margin: 0;
    padding: clamp(1rem, 2vw, 1.45rem);
    border-right: 1px solid rgba(39, 42, 81, 0.1);
    color: #626b86;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
}

.layer8-order-received-page .woocommerce-thankyou-order-details li:last-child,
body.woocommerce-order-received .woocommerce-thankyou-order-details li:last-child {
    border-right: 0;
}

.layer8-order-received-page .woocommerce-thankyou-order-details strong,
body.woocommerce-order-received .woocommerce-thankyou-order-details strong {
    overflow-wrap: anywhere;
    color: var(--navy-900);
    font-size: clamp(1.02rem, 1vw, 1.16rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
}

.layer8-order-received-page .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-order-details,
.layer8-order-received-page .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-customer-details,
.layer8-order-received-page .woocommerce-order-downloads,
body.woocommerce-order-received .woocommerce-order-downloads {
    padding: clamp(1.3rem, 2.6vw, 2.15rem);
}

.layer8-order-received-page .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-order-details__title,
.layer8-order-received-page .woocommerce-column__title,
body.woocommerce-order-received .woocommerce-column__title,
.layer8-order-received-page .woocommerce-order-downloads__title,
body.woocommerce-order-received .woocommerce-order-downloads__title {
    margin: 0 0 clamp(1rem, 2vw, 1.45rem);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

.layer8-order-received-page .woocommerce-table,
body.woocommerce-order-received .woocommerce-table,
.layer8-order-received-page table.shop_table,
body.woocommerce-order-received table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

.layer8-order-received-page .woocommerce-table th,
body.woocommerce-order-received .woocommerce-table th,
.layer8-order-received-page .woocommerce-table td,
body.woocommerce-order-received .woocommerce-table td,
.layer8-order-received-page table.shop_table th,
body.woocommerce-order-received table.shop_table th,
.layer8-order-received-page table.shop_table td,
body.woocommerce-order-received table.shop_table td {
    padding: clamp(0.9rem, 1.4vw, 1.2rem) 0;
    border: 0;
    border-bottom: 1px solid rgba(39, 42, 81, 0.1);
    color: #4d5574;
    font-size: clamp(0.98rem, 0.95vw, 1.06rem);
    line-height: 1.45;
    vertical-align: top;
}

.layer8-order-received-page .woocommerce-table thead th,
body.woocommerce-order-received .woocommerce-table thead th,
.layer8-order-received-page table.shop_table thead th,
body.woocommerce-order-received table.shop_table thead th {
    padding-top: 0;
    color: var(--navy-900);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.layer8-order-received-page .woocommerce-table tbody tr:last-child td,
body.woocommerce-order-received .woocommerce-table tbody tr:last-child td {
    border-bottom-color: rgba(39, 42, 81, 0.16);
}

.layer8-order-received-page .woocommerce-table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-table tfoot tr:last-child th,
.layer8-order-received-page .woocommerce-table tfoot tr:last-child td,
body.woocommerce-order-received .woocommerce-table tfoot tr:last-child td {
    border-bottom: 0;
}

.layer8-order-received-page .woocommerce-table .product-name,
body.woocommerce-order-received .woocommerce-table .product-name,
.layer8-order-received-page .woocommerce-table .product-name a,
body.woocommerce-order-received .woocommerce-table .product-name a {
    color: var(--navy-900);
    font-weight: 700;
    text-decoration: none;
}

.layer8-order-received-page .woocommerce-table .product-total,
body.woocommerce-order-received .woocommerce-table .product-total,
.layer8-order-received-page .woocommerce-table tfoot td,
body.woocommerce-order-received .woocommerce-table tfoot td {
    color: var(--navy-900);
    font-weight: 700;
    text-align: right;
}

.layer8-order-received-page .woocommerce-table tfoot tr:last-child td,
body.woocommerce-order-received .woocommerce-table tfoot tr:last-child td {
    color: var(--blue-700);
    font-size: clamp(1.2rem, 1.4vw, 1.55rem);
}

.layer8-order-received-page .woocommerce-table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-table tfoot tr:last-child th {
    color: var(--navy-950);
    font-size: clamp(1.08rem, 1.15vw, 1.25rem);
}

.layer8-order-received-page .wc-item-meta,
body.woocommerce-order-received .wc-item-meta {
    display: grid;
    gap: 0.25rem;
    margin: 0.55rem 0 0;
    padding: 0;
    color: #626b86;
    font-size: 0.92rem;
}

.layer8-order-received-page .wc-item-meta li,
body.woocommerce-order-received .wc-item-meta li {
    margin: 0;
}

.layer8-order-received-page .woocommerce-customer-details .woocommerce-columns,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.layer8-order-received-page .woocommerce-customer-details .woocommerce-column,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column {
    width: auto;
    min-width: 0;
    float: none;
}

.layer8-order-received-page .woocommerce-customer-details address,
body.woocommerce-order-received .woocommerce-customer-details address {
    margin: 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(39, 42, 81, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(246, 248, 251, 0.76);
    color: #4d5574;
    font-style: normal;
    line-height: 1.65;
}

.layer8-order-received-page .woocommerce-customer-details address p,
body.woocommerce-order-received .woocommerce-customer-details address p {
    margin: 0.75rem 0 0;
    color: var(--navy-900);
    font-weight: 700;
}

.layer8-order-received-page .woocommerce-thankyou-order-failed-actions,
body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
}

.layer8-order-received-page .woocommerce a.button,
body.woocommerce-order-received .woocommerce a.button,
.layer8-order-received-page .woocommerce-button,
body.woocommerce-order-received .woocommerce-button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.35rem;
    border: 1px solid rgba(132, 204, 213, 0.52);
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.layer8-order-received-page .woocommerce a.button:hover,
body.woocommerce-order-received .woocommerce a.button:hover,
.layer8-order-received-page .woocommerce-button:hover,
body.woocommerce-order-received .woocommerce-button:hover {
    border-color: var(--cyan-500);
    background: var(--blue-700);
    color: var(--white);
}

.layer8-order-received-page .entry-footer,
body.woocommerce-order-received .entry-footer {
    width: min(var(--max), calc(100% - var(--page-gutter)));
    margin: 1.5rem auto 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) .wc-empty-cart-message,
:where(.layer8-cart-page, body.woocommerce-cart) .return-to-shop,
:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce-cart-form,
:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals {
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(21, 27, 62, 0.1);
}

:where(.layer8-cart-page, body.woocommerce-cart) .wc-empty-cart-message {
    padding: clamp(1.25rem, 3vw, 2rem);
}

:where(.layer8-cart-page, body.woocommerce-cart) .return-to-shop {
    display: flex;
    justify-content: flex-start;
    margin: 1rem 0 0;
    padding: clamp(1.25rem, 3vw, 2rem);
}

:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce-cart-form {
    margin: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
    table-layout: auto;
}

.layer8-cart-page .woocommerce table.cart,
body.woocommerce-cart .woocommerce table.cart {
    min-width: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) table.shop_table th,
:where(.layer8-cart-page, body.woocommerce-cart) table.shop_table td {
    padding: clamp(1.2rem, 1.8vw, 1.8rem);
    border: 0;
    border-bottom: 1px solid rgba(39, 42, 81, 0.1);
    vertical-align: middle;
    font-size: clamp(1rem, 0.95vw, 1.1rem);
}

:where(.layer8-cart-page, body.woocommerce-cart) table.shop_table thead th {
    color: var(--navy-900);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(237, 244, 248, 0.86));
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.woocommerce-cart .woocommerce table.cart th.product-remove,
body.woocommerce-cart .woocommerce table.cart td.product-remove {
    width: 4.75rem;
    text-align: center;
}

body.woocommerce-cart .woocommerce table.cart th.product-thumbnail,
body.woocommerce-cart .woocommerce table.cart td.product-thumbnail {
    width: 9.75rem;
}

body.woocommerce-cart .woocommerce table.cart th.product-price,
body.woocommerce-cart .woocommerce table.cart td.product-price,
body.woocommerce-cart .woocommerce table.cart th.product-quantity,
body.woocommerce-cart .woocommerce table.cart td.product-quantity,
body.woocommerce-cart .woocommerce table.cart th.product-subtotal,
body.woocommerce-cart .woocommerce table.cart td.product-subtotal {
    width: auto;
    white-space: nowrap;
    text-align: left;
}

:where(.layer8-cart-page, body.woocommerce-cart) table.shop_table tbody tr:last-child td {
    border-bottom: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) .product-name a {
    color: var(--navy-900);
    font-size: clamp(1.08rem, 1vw, 1.2rem);
    font-weight: 700;
}

:where(.layer8-cart-page, body.woocommerce-cart) .product-price,
:where(.layer8-cart-page, body.woocommerce-cart) .product-subtotal,
:where(.layer8-cart-page, body.woocommerce-cart) .cart-subtotal td,
:where(.layer8-cart-page, body.woocommerce-cart) .order-total td {
    color: var(--navy-900);
    font-weight: 700;
}

:where(.layer8-cart-page, body.woocommerce-cart) .product-thumbnail img {
    width: 7rem;
    height: auto;
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(21, 27, 62, 0.12);
}

:where(.layer8-cart-page, body.woocommerce-cart) .product-remove .remove {
    width: 2rem;
    height: 2rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--navy-900) !important;
    background: rgba(132, 204, 213, 0.2);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

:where(.layer8-cart-page, body.woocommerce-cart) .product-remove .remove:hover {
    color: var(--white) !important;
    background: var(--blue-700);
}

:where(.layer8-cart-page, body.woocommerce-cart) .quantity .qty,
:where(.layer8-cart-page, body.woocommerce-cart) .coupon .input-text {
    min-height: 3rem;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy-900);
    font: inherit;
    font-weight: 700;
}

:where(.layer8-cart-page, body.woocommerce-cart) .quantity .qty {
    width: 5rem;
    text-align: center;
}

body.woocommerce-cart .woocommerce table.cart td.product-quantity .quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.woocommerce-cart .woocommerce table.cart td.product-quantity input.qty {
    appearance: auto;
    -moz-appearance: auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 18px rgba(21, 27, 62, 0.08);
}

:where(.layer8-cart-page, body.woocommerce-cart) .coupon {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: center;
    margin-right: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) .coupon .input-text {
    width: min(24rem, 52vw);
    min-width: 0;
    padding: 0 1.25rem;
    border-color: rgba(132, 204, 213, 0.42);
    background: rgba(255, 255, 255, 0.98);
    font-weight: 400;
}

:where(.layer8-cart-page, body.woocommerce-cart) table.shop_table td.actions {
    display: table-cell;
    padding: clamp(1.15rem, 1.8vw, 1.6rem);
    background:
        linear-gradient(135deg, rgba(237, 244, 248, 0.9), rgba(255, 255, 255, 0.98));
    text-align: right;
}

body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
    float: left;
    width: auto;
    max-width: calc(100% - 15rem);
}

body.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text {
    width: min(24rem, 42vw);
}

body.woocommerce-cart .woocommerce table.cart td.actions>button.button {
    min-width: 12rem;
    margin-left: 0;
    white-space: nowrap;
}

body.woocommerce-cart .woocommerce table.cart td.actions .coupon button.button {
    white-space: nowrap;
}

.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background: transparent;
}

.layer8-cart-page .woocommerce .cart-collaterals,
body.woocommerce-cart .woocommerce .cart-collaterals {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* Single-column order: totals first, then recommendations (like the block cart). */
:where(.layer8-cart-page, body.woocommerce-cart) .cart-collaterals .cart_totals {
    order: 1;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cart-collaterals .cross-sells {
    order: 2;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals {
    position: relative;
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
    padding: clamp(1.45rem, 2.8vw, 2.35rem);
    border-color: rgba(39, 42, 81, 0.11);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
    box-shadow:
        0 24px 68px rgba(21, 27, 62, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

body.woocommerce-cart .woocommerce .cart_totals::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.5rem;
    background: linear-gradient(180deg, var(--cyan-500), var(--blue-700));
    pointer-events: none;
}

body.woocommerce-cart .woocommerce .cart_totals::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(132, 204, 213, 0.68), rgba(19, 67, 149, 0.48), transparent);
    pointer-events: none;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals h2 {
    margin: 0 0 0.35rem;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals table.shop_table th,
:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals table.shop_table td {
    padding: 1.15rem 0;
    font-size: 1.08rem;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals table.shop_table {
    align-self: stretch;
    border-top: 1px solid rgba(39, 42, 81, 0.1);
}

:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals table.shop_table th {
    color: #4d5574;
    font-weight: 700;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals table.shop_table tr:last-child th,
:where(.layer8-cart-page, body.woocommerce-cart) .cart_totals table.shop_table tr:last-child td {
    border-bottom: 0;
}

.layer8-cart-page .woocommerce .wc-proceed-to-checkout,
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(39, 42, 81, 0.1);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 248, 0.88));
    color: var(--navy-900);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:where(.layer8-cart-page, body.woocommerce-cart) .order-total th,
:where(.layer8-cart-page, body.woocommerce-cart) .order-total td {
    color: var(--navy-950);
    font-size: clamp(1.25rem, 1.4vw, 1.55rem);
}

:where(.layer8-cart-page, body.woocommerce-cart) .order-total .amount {
    color: var(--blue-700);
    font-size: clamp(1.55rem, 2vw, 2rem);
}

:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce a.button,
:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce button.button,
:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce input.button,
:where(.layer8-cart-page, body.woocommerce-cart) .checkout-button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.35rem;
    border: 1px solid rgba(132, 204, 213, 0.52);
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce a.button:hover,
:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce button.button:hover,
:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce input.button:hover,
:where(.layer8-cart-page, body.woocommerce-cart) .checkout-button:hover {
    border-color: var(--cyan-500);
    background: var(--blue-700);
    color: var(--white);
}

:where(.layer8-cart-page, body.woocommerce-cart) .checkout-button {
    width: 100%;
    min-height: 3.55rem;
    margin-top: 0;
    border-color: rgba(132, 204, 213, 0.58);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    color: var(--white);
    font-size: 1.08rem;
    box-shadow: 0 16px 38px rgba(19, 67, 149, 0.24);
}

:where(.layer8-cart-page, body.woocommerce-cart) .checkout-button:hover {
    border-color: var(--cyan-500);
    background: linear-gradient(135deg, var(--navy-950), var(--blue-700));
    color: var(--white);
}

:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce button.button:disabled,
:where(.layer8-cart-page, body.woocommerce-cart) .woocommerce button.button:disabled[disabled] {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

/* Cart: native cross-sells styled like the block cart's recommendation row. */
:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells {
    margin: 0;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells>h2 {
    margin: 0 0 clamp(1rem, 2vw, 1.5rem);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: 0;
    text-transform: uppercase;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Neutralise WooCommerce's float/clearfix grid so the CSS grid above wins. */
:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products::before,
:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products::after {
    content: none;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products li.product {
    width: auto;
    margin: 0;
    float: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: 0 18px 46px rgba(21, 27, 62, 0.08);
}

:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products li.product img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: 0 0 0.85rem;
    border-radius: var(--radius-sm);
}

:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products li.product .woocommerce-loop-product__title {
    padding: 0;
    color: var(--navy-900);
    font-size: 1.05rem;
    font-weight: 700;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products li.product .price {
    margin: 0.35rem 0 0.75rem;
    color: var(--blue-700);
    font-weight: 700;
}

:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products li.product a.button,
:where(.layer8-cart-page, body.woocommerce-cart) .cross-sells ul.products li.product a.added_to_cart {
    margin-top: auto;
}

/*
 * Cart: block-style two-column layout (items | sticky totals sidebar,
 * cross-sells full-width below). Gated at >=1200px so the classic 6-column
 * items table keeps enough room; below this it stays single-column.
 */
@media (min-width: 1200px) {

    .layer8-cart-page .woocommerce,
    body.woocommerce-cart .entry-content>.woocommerce {
        grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.42fr);
    }

    .layer8-cart-page .woocommerce .woocommerce-cart-form,
    body.woocommerce-cart .woocommerce .woocommerce-cart-form {
        grid-column: 1;
        grid-row: 1;
    }

    /* Lift .cross-sells and .cart_totals into the outer grid. */
    .layer8-cart-page .woocommerce .cart-collaterals,
    body.woocommerce-cart .woocommerce .cart-collaterals {
        display: contents;
    }

    .layer8-cart-page .woocommerce .cart-collaterals .cart_totals,
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
        grid-column: 2;
        grid-row: 1;
        position: sticky;
        top: clamp(6.5rem, 10vw, 8rem);
    }

    .layer8-cart-page .woocommerce .cart-collaterals .cross-sells,
    body.woocommerce-cart .woocommerce .cart-collaterals .cross-sells {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

.faq {
    background: var(--white);
    border-bottom: 1px solid rgba(39, 42, 81, 0.08);
}

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

.faq-item {
    padding: 24px;
    border-radius: 0 0 24px 0;
    background: #f7fafc;
    border: 1px solid rgba(39, 42, 81, 0.11);
}

.faq-item h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 1.17rem;
    line-height: var(--card-heading-line-height);
}

.faq-item p {
    margin: 12px 0 0;
    color: #59617c;
}

.faq-item code {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    color: var(--navy-900);
    background: rgba(132, 204, 213, 0.28);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.88em;
}

.cta {
    background: var(--white);
}

.cta-panel {
    display: grid;
    grid-template-columns: 128px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 42px 0;
}

.cta-panel.has-form {
    grid-template-columns: minmax(5.5rem, 0.22fr) minmax(0, 0.95fr) minmax(22rem, 0.95fr);
    gap: clamp(1.75rem, 3vw, 3.5rem);
}

.cta-arrow {
    width: 118px;
    height: 118px;
    background: var(--cyan-500);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    opacity: 0.92;
}

.cta h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 5.4vw, 5.1rem);
    line-height: var(--display-heading-line-height);
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.cta p {
    margin: 14px 0 0;
    color: #59617c;
    font-size: 1.14rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.cta-copy {
    min-width: 0;
}

.cta-copy .cta-actions {
    justify-content: flex-start;
    margin-top: clamp(1.25rem, 2.5vw, 1.9rem);
}

.cta-form {
    min-width: 0;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.96));
    box-shadow: 0 24px 64px rgba(21, 27, 62, 0.12);
}

.wpcf7 {
    margin: 0;
    color: var(--ink);
}

.wpcf7 form {
    display: grid;
    gap: 0.95rem;
    margin: 0;
}

.wpcf7 form > p {
    display: grid;
    gap: 0.95rem;
    margin: 0;
}

.wpcf7 label {
    display: grid;
    gap: 0.45rem;
    color: var(--navy-900);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    width: 100%;
    min-height: 3.15rem;
    padding: 0.82rem 1rem;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy-900);
    font: inherit;
    font-weight: 400;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.wpcf7 textarea {
    min-height: 8rem;
    resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow:
        0 0 0 4px rgba(132, 204, 213, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wpcf7 .wpcf7-not-valid {
    border-color: #b94a48;
}

.wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.4rem;
    color: #9f2f2f;
    font-size: 0.82rem;
    font-weight: 700;
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.35rem;
    padding: 0.9rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    color: var(--white);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(19, 67, 149, 0.22);
    transition:
        box-shadow 180ms ease,
        background 180ms ease;
}

.wpcf7-submit:hover,
.wpcf7-submit:focus-visible {
    background: linear-gradient(135deg, var(--navy-950), var(--blue-700));
    box-shadow: 0 22px 48px rgba(19, 67, 149, 0.3);
}

.wpcf7-submit:disabled {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
}

.wpcf7-spinner {
    margin: 0.75rem auto 0;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0.35rem 0 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--blue-700);
    border-left-width: 5px;
    border-radius: var(--radius-sm);
    background: rgba(19, 67, 149, 0.08);
    color: var(--navy-900);
    font-weight: 700;
    line-height: 1.4;
}

.wpcf7 form.init .wpcf7-response-output {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #2f8f5b;
    background: rgba(47, 143, 91, 0.1);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #b94a48;
    background: rgba(185, 74, 72, 0.1);
}

.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: var(--copper);
    background: rgba(196, 122, 50, 0.12);
}

/* Mein Konto (klassische WooCommerce-Seite, Scope .layer8-account-page) */

.layer8-account-page .entry-content>.woocommerce {
    width: 100%;
    color: var(--ink);
}

/* Eingeloggt: Navigation + Inhalt als 2 Spalten. Guard über body.logged-in,
   damit die Login-Karte für Gäste nicht in die schmale Spalte rutscht. */
body.logged-in .layer8-account-page .entry-content>.woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
}

/* Endpoint-Navigation als Pillen (Muster .blog-pagination .page-numbers) */
.layer8-account-page .woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.layer8-account-page .woocommerce-MyAccount-navigation li {
    margin: 0;
}

.layer8-account-page .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy-900);
    font-weight: 700;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.layer8-account-page .woocommerce-MyAccount-navigation li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
    border-color: rgba(132, 204, 213, 0.58);
}

.layer8-account-page .woocommerce-MyAccount-navigation li.is-active a {
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    color: var(--white);
}

/* Inhaltsbereich als Karte */
.layer8-account-page .woocommerce-MyAccount-content {
    min-width: 0;
    padding: clamp(1.3rem, 2.6vw, 2.15rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(21, 27, 62, 0.1);
}

.layer8-account-page .woocommerce-MyAccount-content p {
    line-height: 1.6;
    color: #4d5574;
}

.layer8-account-page .woocommerce-MyAccount-content p a {
    color: var(--blue-700);
    font-weight: 700;
}

.layer8-account-page .woocommerce-MyAccount-content h2,
.layer8-account-page .woocommerce-MyAccount-content h3,
.layer8-account-page .woocommerce-order-details__title,
.layer8-account-page .woocommerce-customer-details .woocommerce-column__title {
    margin: 1.75rem 0 clamp(1rem, 2vw, 1.45rem);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.8vw, 3rem);
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
}

.layer8-account-page .woocommerce-MyAccount-content>h2:first-child,
.layer8-account-page .woocommerce-MyAccount-content>h3:first-child,
.layer8-account-page .woocommerce-MyAccount-content>p:first-child {
    margin-top: 0;
}

/* Tabellen (Bestellungen, Downloads, Bestellansicht) — scoped Kopie der
   Order-Received-Tabellenregeln; kein display-Override auf tr/td/thead,
   damit das shop_table_responsive-Stacking (woocommerce.css, <48em) greift. */
.layer8-account-page .woocommerce-MyAccount-content table.shop_table {
    width: 100%;
    margin: 0 0 1.25rem;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

.layer8-account-page .woocommerce-MyAccount-content table.shop_table th,
.layer8-account-page .woocommerce-MyAccount-content table.shop_table td {
    padding: clamp(0.9rem, 1.4vw, 1.2rem) 0.5rem;
    border: 0;
    border-bottom: 1px solid rgba(39, 42, 81, 0.1);
    color: #4d5574;
    font-size: clamp(0.98rem, 0.95vw, 1.06rem);
    line-height: 1.45;
    vertical-align: middle;
}

.layer8-account-page .woocommerce-MyAccount-content table.shop_table thead th {
    padding-top: 0;
    color: var(--navy-900);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.layer8-account-page .woocommerce-MyAccount-content table.shop_table tbody tr:last-child td {
    border-bottom-color: rgba(39, 42, 81, 0.16);
}

.layer8-account-page .woocommerce-orders-table__cell-order-number a {
    color: var(--blue-700);
    font-weight: 700;
}

/* Buttons im Kontobereich (Muster Order-Received-Buttons) */
.layer8-account-page .woocommerce-MyAccount-content .button,
.layer8-account-page .woocommerce-MyAccount-content .woocommerce-Button,
.layer8-account-page .woocommerce-form-login .button,
.layer8-account-page .woocommerce-form-register .button,
.layer8-account-page .woocommerce-ResetPassword .button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.35rem;
    border: 1px solid rgba(132, 204, 213, 0.52);
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.layer8-account-page .woocommerce-MyAccount-content .button:hover,
.layer8-account-page .woocommerce-MyAccount-content .woocommerce-Button:hover,
.layer8-account-page .woocommerce-form-login .button:hover,
.layer8-account-page .woocommerce-form-register .button:hover,
.layer8-account-page .woocommerce-ResetPassword .button:hover {
    border-color: var(--cyan-500);
    background: var(--blue-700);
    color: var(--white);
}

/* Kompakte Buttons in Tabellenzellen */
.layer8-account-page .woocommerce-orders-table__cell-order-actions .button,
.layer8-account-page .woocommerce-MyAccount-content .woocommerce-MyAccount-downloads-file.button {
    min-height: 2.5rem;
    padding: 0.45rem 1.05rem;
    font-size: 0.9rem;
}

.layer8-account-page .woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Bestellungen: Vor/Zurück-Navigation (keine ul, nur zwei Buttons) */
.layer8-account-page .woocommerce-MyAccount-content .woocommerce-pagination {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Adressen-Übersicht als Karten-Grid (Floats neutralisiert) */
.layer8-account-page .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
}

.layer8-account-page .woocommerce-Addresses .woocommerce-Address {
    width: auto;
    min-width: 0;
    max-width: none;
    float: none;
}

.layer8-account-page .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.layer8-account-page .woocommerce-Address-title .edit {
    position: relative;
    flex: 0 0 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    overflow: hidden;
    border: 1px solid rgba(132, 204, 213, 0.58);
    border-radius: 999px;
    background: var(--white);
    color: var(--blue-700);
    text-indent: 100%;
    white-space: nowrap;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.layer8-account-page .woocommerce-Address-title .edit::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.15rem;
    height: 1.15rem;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.25V20h2.75L17.81 8.94l-2.75-2.75L4 17.25zm15.71-10.04a1 1 0 0 0 0-1.42l-1.5-1.5a1 1 0 0 0-1.42 0l-1.02 1.02 2.75 2.75 1.19-1.19z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.25V20h2.75L17.81 8.94l-2.75-2.75L4 17.25zm15.71-10.04a1 1 0 0 0 0-1.42l-1.5-1.5a1 1 0 0 0-1.42 0l-1.02 1.02 2.75 2.75 1.19-1.19z'/%3E%3C/svg%3E") no-repeat center / contain;
    transform: translate(-50%, -50%);
}

.layer8-account-page .woocommerce-Address-title .edit:hover,
.layer8-account-page .woocommerce-Address-title .edit:focus-visible {
    border-color: var(--cyan-500);
    background: var(--navy-900);
    color: var(--white);
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
}

.layer8-account-page .woocommerce-Address-title .edit:focus-visible {
    outline: none;
    box-shadow:
        0 18px 42px rgba(19, 67, 149, 0.19),
        0 0 0 4px rgba(132, 204, 213, 0.25);
}

.layer8-account-page .woocommerce-MyAccount-content address {
    margin: 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(39, 42, 81, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(246, 248, 251, 0.76);
    color: #4d5574;
    font-style: normal;
    line-height: 1.6;
}

/* Formulare (Login, Passwort, Kontodaten, Adresse bearbeiten) —
   Input-Muster wie das Kommentarformular */
.layer8-account-page .woocommerce .input-text,
.layer8-account-page .woocommerce select,
.layer8-account-page .woocommerce textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(39, 42, 81, 0.16);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.layer8-account-page .woocommerce select {
    min-height: 3.25rem;
    padding-right: 44px;
    color: var(--navy-900);
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--blue-700) 50%), linear-gradient(135deg, var(--blue-700) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.layer8-account-page .woocommerce .input-text:focus,
.layer8-account-page .woocommerce select:focus,
.layer8-account-page .woocommerce textarea:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(132, 204, 213, 0.25);
}

.layer8-account-page .woocommerce .select2-container {
    width: 100% !important;
}

.layer8-account-page .woocommerce .select2-container .select2-selection--single {
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.layer8-account-page .woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding: 12px 44px 12px 16px;
    color: var(--navy-900);
    line-height: 1.5;
}

.layer8-account-page .woocommerce .select2-container .select2-selection--single .select2-selection__placeholder {
    color: var(--muted);
}

.layer8-account-page .woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: 0;
    width: 44px;
    height: 100%;
}

.layer8-account-page .woocommerce .select2-container .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.layer8-account-page .woocommerce .select2-container .select2-selection--single .select2-selection__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 6px;
    transform: translateY(-50%);
    background-image: linear-gradient(45deg, transparent 50%, var(--blue-700) 50%), linear-gradient(135deg, var(--blue-700) 50%, transparent 50%);
    background-position: 0 50%, 5px 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.layer8-account-page .woocommerce .select2-container--focus .select2-selection--single,
.layer8-account-page .woocommerce .select2-container--open .select2-selection--single {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(132, 204, 213, 0.25);
}

.layer8-account-page .woocommerce form .form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy-900);
}

.layer8-account-page .woocommerce form .form-row {
    margin: 0 0 1.1rem;
    padding: 0;
}

.layer8-account-page .woocommerce form .form-row-wide,
.layer8-account-page .woocommerce fieldset {
    clear: both;
}

.layer8-account-page .woocommerce fieldset {
    margin: 2rem 0 0;
    padding: 0;
    border: 0;
}

.layer8-account-page .woocommerce fieldset legend {
    margin: 0 0 1rem;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    line-height: var(--card-heading-line-height);
    text-transform: uppercase;
}

/* Passwort-anzeigen-Toggle (wird von woocommerce.js injiziert; das
   Core-CSS dafür ist deaktiviert, daher komplett selbst gestylt) */
.layer8-account-page .woocommerce .password-input {
    position: relative;
    display: block;
}

.layer8-account-page .woocommerce .show-password-input {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    transform: translateY(-50%);
    cursor: pointer;
}

.layer8-account-page .woocommerce .show-password-input::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--muted);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C5 5 1 12 1 12s4 7 11 7 11-7 11-7-4-7-11-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C5 5 1 12 1 12s4 7 11 7 11-7 11-7-4-7-11-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: background 180ms ease;
}

.layer8-account-page .woocommerce .show-password-input.display-password::after {
    background: var(--blue-700);
}

/* Eingeloggt aufgerufene Reset-/Passwort-Links (ohne Split-Panel):
   Login/Passwort-zurücksetzen als zentrierte Karte */
.layer8-account-page .woocommerce-form-login,
.layer8-account-page .woocommerce-ResetPassword {
    max-width: 32rem;
    margin-inline: auto;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(21, 27, 62, 0.1);
}

/* Ausgeloggt: Split-Panel um Login/Passwort-Formulare
   (Markup aus layer8_account_auth_wrapper_open() in inc/woocommerce.php) */
.layer8-auth {
    display: grid;
    grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1fr);
    width: min(94rem, calc(100% - var(--page-gutter)));
    min-height: clamp(30rem, 48vw, 38rem);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-radius: calc(var(--radius-md) + 8px);
    background: var(--white);
    box-shadow: 0 30px 80px rgba(21, 27, 62, 0.12);
}

.layer8-auth-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: clamp(2rem, 4vw, 4rem);
    color: var(--white);
    background:
        radial-gradient(circle at 82% 16%, rgba(132, 204, 213, 0.32), transparent 18rem),
        linear-gradient(125deg, rgba(22, 26, 58, 0.99) 0%, rgba(35, 39, 79, 0.98) 48%, rgba(19, 67, 149, 0.94) 100%);
}

.layer8-auth-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
    pointer-events: none;
}

.layer8-auth-panel::after {
    content: "";
    position: absolute;
    right: -5.5rem;
    bottom: -5.5rem;
    width: 15rem;
    aspect-ratio: 1;
    border: 1px solid rgba(132, 204, 213, 0.36);
    border-radius: 50%;
    box-shadow:
        0 0 0 2.4rem rgba(132, 204, 213, 0.06),
        0 0 0 5rem rgba(255, 255, 255, 0.035);
    pointer-events: none;
}

.layer8-auth-panel>* {
    position: relative;
    z-index: 1;
}

.layer8-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.125rem;
    color: var(--cyan-500);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.layer8-auth-kicker::before {
    content: "";
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 0.3125rem;
    background: currentColor;
}

.layer8-auth-title {
    margin: 0 0 0.9rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.8vw, 3.15rem);
    line-height: var(--card-heading-line-height);
    text-transform: uppercase;
    color: var(--white);
    text-wrap: balance;
}

.layer8-auth-copy {
    max-width: 30rem;
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.6;
}

.layer8-auth-benefits {
    margin: 0 0 1.75rem;
}

.layer8-auth-hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.layer8-auth-hint a {
    color: var(--cyan-500);
    font-weight: 700;
}

.layer8-auth-hint a:hover,
.layer8-auth-hint a:focus-visible {
    text-decoration: underline;
}

.layer8-auth-card {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 100%;
    padding: clamp(2rem, 4.5vw, 5rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(132, 204, 213, 0.18), transparent 20rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.78));
}

.layer8-auth-card::before {
    content: "";
    position: absolute;
    right: clamp(1.25rem, 3vw, 3rem);
    top: clamp(1.25rem, 3vw, 3rem);
    width: clamp(8rem, 18vw, 15rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(132, 204, 213, 0.22), rgba(19, 67, 149, 0.08));
    filter: blur(0.5px);
    opacity: 0.42;
    pointer-events: none;
}

.layer8-auth-card-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
}

/* Die zentrierte Fallback-Karte innerhalb des Split-Panels neutralisieren */
.layer8-auth-card .woocommerce-form-login,
.layer8-auth-card .woocommerce-ResetPassword {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.layer8-auth-card .woocommerce-ResetPassword {
    display: grid;
    gap: 1.05rem;
}

.layer8-auth-card .woocommerce-ResetPassword::before {
    content: "";
    width: 3rem;
    height: 0.35rem;
    background:
        linear-gradient(90deg, var(--cyan-500), var(--blue-700));
    border-radius: 999px;
}

.layer8-auth-card .woocommerce-ResetPassword>p:first-child {
    margin: 0;
    color: #4d5574;
    font-size: 1.04rem;
    line-height: 1.6;
}

.layer8-auth-card .woocommerce-ResetPassword .form-row-first,
.layer8-auth-card .woocommerce-ResetPassword .form-row-last,
.layer8-auth-card .woocommerce-ResetPassword .form-row-wide {
    float: none;
    width: 100%;
}

.layer8-auth-card .woocommerce-ResetPassword .form-row {
    margin-bottom: 0;
}

.layer8-auth-card .woocommerce-ResetPassword label {
    margin-bottom: 0.5rem;
    color: var(--navy-900);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.layer8-auth-card .woocommerce-ResetPassword .input-text {
    min-height: 3.5rem;
    padding-inline: 1.1rem;
    border-color: rgba(39, 42, 81, 0.14);
    border-radius: calc(var(--radius-sm) - 2px);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.layer8-auth-card .woocommerce-ResetPassword .clear {
    display: none;
}

.layer8-auth-card .woocommerce-ResetPassword .button {
    width: 100%;
    min-height: 3.5rem;
    margin-top: 0.15rem;
    box-shadow: 0 16px 36px rgba(19, 67, 149, 0.18);
}

/* Core-<h2>Anmelden</h2> aus form-login.php: visuell verstecken (die H1
   „Anmelden" + Panel-Headline machen sie redundant), aber für Screenreader
   und Überschriften-Struktur im DOM behalten. */
.layer8-auth-card-inner>h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    word-wrap: normal !important;
}

.layer8-auth-card .woocommerce-form-login__submit,
.layer8-auth-card .woocommerce-form-register__submit {
    width: 100%;
}

.layer8-account-page .woocommerce-notices-wrapper:empty {
    margin: 0;
}

@media (max-width: 1019.98px) {
    .layer8-auth {
        grid-template-columns: 1fr;
        width: min(44rem, calc(100% - var(--page-gutter)));
        min-height: 0;
        border-radius: var(--radius-md);
    }

    .layer8-auth-panel {
        min-height: auto;
    }

    .layer8-auth-card {
        min-height: auto;
    }

    .layer8-account-page .post-hero-title {
        max-width: 12ch;
    }

    .layer8-account-page .post-hero-subtitle {
        max-width: 34rem;
    }
}

/* Trenner zwischen Login- und Registrierungsformular (section-divider Stil) */
#customer_login.col2-set .col-2 {
    position: relative;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, transparent, rgba(132, 204, 213, 0.8) 20%, rgba(19, 67, 149, 0.7) 50%, rgba(132, 204, 213, 0.8) 80%, transparent) 1;
}

#customer_login.col2-set .col-2::after {
    content: "ODER";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-700);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 2;
    line-height: 1;
    white-space: nowrap;
}

#customer_login.col2-set .col-2 h2:first-child {
    margin-top: 0;
}

@media (max-width: 1019.98px) {
    #customer_login.col2-set .col-2 {
        padding-left: 0;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    #customer_login.col2-set .col-2::before {
        left: 0;
        top: -2rem;
        width: 100%;
        height: 2rem;
        background: linear-gradient(180deg, transparent 0%, rgba(132, 204, 213, 0.72) 18%, rgba(19, 67, 149, 0.58) 50%, rgba(132, 204, 213, 0.72) 82%, transparent 100%) top / 100% 2px no-repeat;
    }
}

.layer8-account-page .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    color: #4d5574;
}

.layer8-account-page .woocommerce-form-login__rememberme .input-checkbox {
    width: auto;
}

.layer8-account-page .woocommerce-LostPassword {
    margin: 1rem 0 0;
    font-size: 0.95rem;
}

.layer8-account-page .woocommerce-LostPassword a,
.layer8-account-page .lost_password a {
    color: var(--blue-700);
    font-weight: 700;
}

.layer8-account-page .woocommerce-LostPassword a:hover,
.layer8-account-page .lost_password a:hover {
    text-decoration: underline;
}

.layer8-account-page .woocommerce-ResetPassword p:first-child {
    margin-top: 0;
    color: #4d5574;
}

@media (min-width: 1020px) {
    body.logged-in .layer8-account-page .entry-content>.woocommerce {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .layer8-account-page .woocommerce-MyAccount-navigation ul {
        display: grid;
    }
}

@media (max-width: 767px) {
    /* Abstimmung auf das shop_table_responsive-Stacking (woocommerce.css) */
    .layer8-account-page .woocommerce-MyAccount-content table.shop_table td {
        padding: 0.55rem 0;
    }

    .layer8-account-page .woocommerce-MyAccount-content table.shop_table td::before {
        font-weight: 700;
        color: var(--navy-900);
    }

    .layer8-account-page .woocommerce-orders-table__cell-order-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 680px) {
    .layer8-account-page .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .layer8-auth {
        width: min(100%, calc(100% - 1.25rem));
        border-radius: var(--radius-sm);
    }

    .layer8-auth-panel,
    .layer8-auth-card {
        padding: 1.35rem;
    }

    .layer8-auth-card::before {
        display: none;
    }

    .layer8-account-page .post-hero {
        padding-block: clamp(4.25rem, 14vw, 5.5rem);
    }

    .layer8-account-page .post-hero-title {
        max-width: 9ch;
        font-size: clamp(2.35rem, 13vw, 3.15rem);
        line-height: 0.98;
    }

    .layer8-account-page .post-hero-subtitle {
        max-width: 100%;
        font-size: 1.02rem;
        line-height: 1.55;
    }

    .layer8-auth-title {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
    }

    .layer8-auth-card .woocommerce-ResetPassword .button {
        white-space: normal;
    }
}

@media (max-width: 1020px) {
    .cta-panel.has-form {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .cta-panel.has-form .cta-arrow {
        display: none;
    }

    .cta-panel.has-form .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .cta-form {
        padding: clamp(1rem, 5vw, 1.35rem);
    }

    .cta-panel.has-form .cta-actions .btn {
        width: 100%;
    }
}

.layer8-error-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(2rem, 4dvh, 3rem) 0;
    background:
        linear-gradient(90deg, rgba(132, 204, 213, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(19, 67, 149, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
    background-size: 86px 86px, 86px 86px, auto;
}

.layer8-error-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(22, 26, 58, 0.06), transparent 58%);
    pointer-events: none;
}

.layer8-error-inner {
    display: grid;
    grid-template-columns: minmax(10rem, 0.36fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 4.5rem);
    align-items: center;
}

.layer8-error-copy {
    max-width: 46rem;
    justify-self: start;
}

.layer8-error-kicker {
    margin: 0 0 0.9rem;
    color: var(--blue-700);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.layer8-error-copy h1 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--navy-900);
    font-size: clamp(2.8rem, 7vw, 6.8rem);
    line-height: var(--display-heading-line-height);
}

.layer8-error-copy p:not(.layer8-error-kicker) {
    max-width: 39rem;
    margin: 1.1rem 0 0;
    color: #59617c;
    font-size: clamp(1.05rem, calc(0.95rem + 0.32vw), 1.28rem);
}

.layer8-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.8rem;
}

.layer8-error-visual {
    justify-self: end;
    align-self: end;
    width: min(15rem, 100%);
    padding: clamp(0.75rem, 1.6vw, 1.2rem);
    margin-top: 200px;
}

.layer8-error-visual img {
    width: 100%;
    height: auto;
    max-height: min(52dvh, 30rem);
    object-fit: contain;
}

.footer {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(132, 204, 213, 0.2), transparent 24rem),
        linear-gradient(120deg, #111631 0%, var(--navy-950) 52%, #123f86 100%);
    color: var(--white);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.72fr) minmax(220px, 0.9fr);
    gap: 42px;
    align-items: start;
}

.footer-inner.has-footer-menu {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}

.footer-inner.has-footer-menu .footer-brand {
    max-width: none;
}

.footer p {
    margin: 0 0 1em;
    color: rgba(255, 255, 255, 0.76);
}

.footer-title {
    margin: 0 0 14px;
    color: var(--cyan-500);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-brand {
    max-width: 390px;
}

.footer-logo {
    width: min(150px, 100%);
    height: auto;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-copy {
    max-width: 33rem;
    font-size: 1.02rem;
}

.footer-column {
    min-height: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(132, 204, 213, 0.28);
}

.footer-links {
    display: grid;
    gap: 10px;
    line-height: 1.0;
}

.footer-links ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0;
}

.layer8-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer a {
    color: rgba(255, 255, 255, 0.84);
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.footer a:hover {
    color: var(--cyan-500);
}

@media (min-width: 64rem) {

    .section,
    .cta {
        min-height: calc(100vh - var(--layer8-header-height));
        min-height: calc(100dvh - var(--layer8-header-height));
        display: flex;
        align-items: center;
        padding-block: clamp(5rem, 7dvh, 9rem);
    }

    .section>.container,
    .cta>.container {
        width: min(var(--max), calc(100% - var(--page-gutter)));
    }

    /* Artikel-Sektionen folgen dem Lesefluss, nicht dem Vollbild-Raster
       der Landing-Sektionen. */
    .post-single-main.section,
    .post-related.section,
    .layer8-blog.section,
    .layer8-blog-index.section,
    .layer8-page-cta.cta {
        min-height: 0;
        display: block;
        padding-block: clamp(4rem, 7dvh, 7rem);
    }

    .post-single-main.section {
        padding-block-start: clamp(2rem, 4dvh, 4rem);
    }

    .ai-strip .container {
        min-height: calc(100vh - var(--layer8-header-height) - clamp(10rem, 14dvh, 18rem));
        min-height: calc(100dvh - var(--layer8-header-height) - clamp(10rem, 14dvh, 18rem));
        display: flex;
        align-items: stretch;
    }

    .ai-box {
        width: 100%;
        min-height: calc(100vh - var(--layer8-header-height) - clamp(10rem, 14dvh, 18rem));
        min-height: calc(100dvh - var(--layer8-header-height) - clamp(10rem, 14dvh, 18rem));
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(1.75rem, 4vw, 5.25rem);
        padding: clamp(2.5rem, 4.5vw, 5.5rem);
    }

    .ai-box--video-left> :first-child {
        grid-column: 2;
    }

    .ai-box--video-left .ai-browser-window {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .ai-browser-window {
        width: 100%;
        max-width: min(62rem, 100%);
        justify-self: end;
    }

    .cta {
        min-height: calc(100vh - var(--layer8-header-height) - var(--layer8-footer-height));
        min-height: calc(100dvh - var(--layer8-header-height) - var(--layer8-footer-height));
        padding-block: clamp(2.5rem, 5dvh, 5rem);
    }

    .layer8-error-page {
        min-height: calc(100vh - var(--layer8-header-height) - var(--layer8-footer-height));
        min-height: calc(100dvh - var(--layer8-header-height) - var(--layer8-footer-height));
        display: flex;
        align-items: center;
    }

    .layer8-error-inner {
        width: min(var(--max), calc(100% - var(--page-gutter)));
        margin-inline: auto;
    }

    .footer {
        min-height: var(--layer8-footer-height);
        display: flex;
        align-items: center;
        padding-block: clamp(2rem, 4dvh, 3.5rem);
    }

    .footer-inner {
        width: min(var(--max), calc(100% - var(--page-gutter)));
        margin-inline: auto;
    }
}

@media (min-width: 100rem) {
    :root {
        --max: 108rem;
        --page-gutter: clamp(4rem, 5vw, 8rem);
    }

    .footer-inner.has-footer-menu {
        grid-template-columns: minmax(0, 3fr) repeat(3, minmax(0, 1fr));
    }

    .hero-inner {
        gap: clamp(3rem, 5vw, 7rem);
    }

    .hero-title {
        font-size: clamp(4rem, min(7.4vw, 10.5dvh), 11.5rem);
    }

    .hero-title--message {
        font-size: clamp(max(1.85rem, calc(2.35rem * var(--hero-message-scale, 1))), min(calc(5.8vw * var(--hero-message-scale, 1)), calc(8dvh * var(--hero-message-scale, 1))), calc(7.6rem * var(--hero-message-scale, 1)));
    }

    .hero-lead {
        max-width: 46rem;
    }

    p.hero-lead {
        font-size: clamp(1.2rem, calc(0.9rem + 0.55vw), 1.65rem);
    }

    .post-hero-title {
        font-size: clamp(3rem, min(6.2vw, 9.5dvh), 8rem);
    }

    .post-hero-subtitle {
        max-width: 90%;
        font-size: clamp(1.2rem, calc(0.9rem + 0.55vw), 1.65rem);
    }

    .section-title {
        font-size: clamp(4rem, calc(1.4rem + 4.6vw), 9.5rem);
    }

    .section-copy,
    .outpost-lead,
    .ai-box p,
    .cta p {
        font-size: clamp(1.15rem, calc(0.9rem + 0.45vw), 1.5rem);
    }

    .overview-grid,
    .shop-grid,
    .faq-grid,
    .blog-grid {
        gap: clamp(1.5rem, 2vw, 2.4rem);
    }

    .shop-grid {
        gap: clamp(32px, 3vw, 48px);
    }
}

@media (max-width: 1399.98px) {
    .outpost-layout {
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }

    .outpost-hero .section-title {
        font-size: clamp(3rem, 4.8vw, 4.8rem);
        letter-spacing: 0;
    }

    .outpost-lead {
        font-size: clamp(1rem, 1.35vw, 1.12rem);
        line-height: 1.58;
    }

    .outpost-proof {
        gap: 10px;
        margin-top: 30px;
    }

    .outpost-proof-item {
        padding: 14px;
    }

    .outpost-proof-item strong {
        font-size: 1.55rem;
    }

    .outpost-console {
        border-radius: 24px;
    }

    .outpost-console-body {
        padding: clamp(18px, 1.8vw, 24px);
    }

    .outpost-flow-body {
        padding: clamp(16px, 1.6vw, 20px);
    }

    .outpost-flow-row {
        grid-template-columns: 38px 1fr;
        gap: 12px;
        padding: 13px;
    }

    .outpost-flow-row .outpost-flow-icon,
    .outpost-flow-row .outpost-flow-icon svg {
        width: 38px;
        height: 38px;
    }

    .outpost-flow-row .outpost-flow-step {
        font-size: 1.12rem;
    }

    .outpost-flow-row h3 {
        font-size: 0.98rem;
    }

    .outpost-flow-row p {
        font-size: 0.88rem;
        line-height: 1.48;
    }
}

@media (max-width: 1020px) {
    .topline-links {
        display: none;
    }

    nav.main-nav,
    nav.main-nav .wp-block-navigation__container {
        gap: clamp(8px, 1.2vw, 16px);
        font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        height: auto;
        min-height: calc(100vh - var(--layer8-header-height));
        min-height: calc(100dvh - var(--layer8-header-height));
    }

    .hero-inner {
        grid-template-columns: 1fr;
        align-content: center;
        row-gap: clamp(1rem, 2.4dvh, 1.8rem);
        height: auto;
        min-height: calc(100vh - var(--layer8-header-height));
        min-height: calc(100dvh - var(--layer8-header-height));
    }

    .hero-media {
        min-height: auto;
        max-height: none;
        overflow: hidden;
    }

    .hero-browser-window {
        max-height: none;
    }

    .hero-cyber-grid {
        left: 0;
        opacity: 0.68;
        mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
    }

    .security-map-background {
        opacity: 0.34;
    }

    .overview-grid,
    .shop-grid,
    .faq-grid,
    .blog-grid {
        gap: clamp(14px, 2vw, 26px);
    }

    .shop-grid {
        gap: clamp(24px, 4vw, 32px);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-hero {
        min-height: calc(88vh - var(--layer8-header-height));
        min-height: calc(88dvh - var(--layer8-header-height));
    }

    .layer8-product-page .woocommerce div.product {
        grid-template-columns: 1fr;
    }

    .layer8-product-page>.wp-block-columns {
        grid-template-columns: 1fr;
        flex-wrap: wrap !important;
        gap: 1.25rem;
    }

    .layer8-product-page>.wp-block-columns>.wp-block-column:first-child {
        position: static;
    }

    .layer8-product-page .woocommerce div.product div.images {
        position: static;
    }

    .layer8-product-page .wp-block-post-template,
    .layer8-product-page .wc-block-product-template {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .layer8-product-page .wp-block-woocommerce-product-gallery-large-image,
    .layer8-product-page .wc-block-product-gallery-large-image {
        min-height: 0;
    }

    .layer8-product-page .wp-block-woocommerce-product-gallery img {
        max-height: clamp(18rem, 56vw, 30rem);
    }

    .process-grid {
        gap: clamp(14px, 2vw, 24px);
    }

    .footer-inner {
        gap: clamp(18px, 2.4vw, 42px);
    }

    .trust-card {
        position: static;
    }

    .prompt-card {
        width: 100%;
    }

    .ai-box {
        grid-template-columns: 1fr;
        align-items: start;
        gap: clamp(1.25rem, 3vw, 2rem);
        padding: clamp(2rem, 5vw, 3rem);
    }

    .ai-box--video-left> :first-child {
        order: 2;
    }

    .ai-box--video-left .ai-browser-window {
        order: 1;
    }

    .ai-browser-window {
        width: 100%;
        max-width: min(42rem, 100%);
        justify-self: center;
    }

    .cta-actions {
        justify-content: flex-start;
    }

    .layer8-error-inner {
        grid-template-columns: minmax(7rem, 0.3fr) minmax(0, 1fr);
        gap: clamp(1.25rem, 3vw, 2.25rem);
    }

    .layer8-error-visual {
        width: min(10.5rem, 100%);
    }

    .outpost-layout {
        gap: clamp(1.1rem, 2.4vw, 1.7rem);
    }

    .outpost-hero .section-title {
        font-size: clamp(2.55rem, 5.2vw, 3.7rem);
    }

    .outpost-lead {
        margin-top: 18px;
        font-size: clamp(0.98rem, 1.7vw, 1.05rem);
        line-height: 1.56;
    }

    .outpost-actions {
        margin-top: 24px;
    }

    .outpost-actions .btn {
        min-height: 44px;
        padding: 11px 16px;
        font-size: 0.92rem;
    }

    .outpost-proof {
        gap: 8px;
        margin-top: 26px;
    }

    .outpost-proof-item {
        padding: 12px;
    }

    .outpost-proof-item strong {
        font-size: 1.35rem;
    }

    .outpost-proof-item span {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .outpost-console {
        border-radius: 20px;
    }

    .outpost-console-body {
        padding: clamp(14px, 2vw, 18px);
    }

    .outpost-flow-body {
        padding: clamp(14px, 1.8vw, 16px);
    }

    .outpost-flow-row {
        grid-template-columns: 34px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .outpost-flow-row .outpost-flow-icon,
    .outpost-flow-row .outpost-flow-icon svg {
        width: 34px;
        height: 34px;
    }

    .outpost-flow-row .outpost-flow-step {
        font-size: 1rem;
    }

    .outpost-flow-row h3 {
        font-size: 0.92rem;
    }

    .outpost-flow-row p {
        font-size: 0.82rem;
    }
}

@media (max-width: 900px) {

    .layer8-cart-page .wc-block-components-sidebar-layout,
    body.woocommerce-cart .wc-block-components-sidebar-layout,
    .layer8-checkout-page .wc-block-components-sidebar-layout,
    body.woocommerce-checkout .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .layer8-cart-page .wc-block-cart__sidebar,
    body.woocommerce-cart .wc-block-cart__sidebar,
    .layer8-cart-page .wp-block-woocommerce-cart-totals-block,
    body.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
    .layer8-checkout-page .wc-block-checkout__sidebar,
    body.woocommerce-checkout .wc-block-checkout__sidebar,
    .layer8-checkout-page .wp-block-woocommerce-checkout-totals-block,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
        position: relative;
        top: auto;
        border-radius: var(--radius-sm);
    }

    .layer8-cart-page .wc-block-cart__main,
    body.woocommerce-cart .wc-block-cart__main,
    .layer8-cart-page .wp-block-woocommerce-cart-items-block,
    body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
    .layer8-cart-page .wp-block-woocommerce-empty-cart-block,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
    .layer8-checkout-page .wc-block-components-checkout-step,
    body.woocommerce-checkout .wc-block-components-checkout-step,
    .layer8-checkout-page .wp-block-woocommerce-checkout-express-payment-block,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block,
    .layer8-checkout-page .wp-block-woocommerce-checkout-terms-block,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
    .layer8-checkout-page .wp-block-woocommerce-checkout-actions-block,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block {
        border-radius: var(--radius-sm);
    }

    .layer8-cart-page .wc-block-cart-items__header,
    body.woocommerce-cart .wc-block-cart-items__header {
        display: none;
    }

    .layer8-cart-page .wc-block-cart-item,
    body.woocommerce-cart .wc-block-cart-item {
        display: grid;
        grid-template-columns: minmax(5rem, 0.24fr) minmax(0, 1fr);
        gap: 0.85rem;
        padding: 1rem;
        border-bottom: 1px solid rgba(39, 42, 81, 0.1);
    }

    .layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row,
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
        display: grid;
        grid-template-columns: 5rem minmax(0, calc(100% - 5rem - 0.85rem));
        gap: 0.85rem;
        padding: 1rem;
        border-bottom: 1px solid rgba(39, 42, 81, 0.1);
    }

    .layer8-cart-page .wc-block-cart-items td,
    body.woocommerce-cart .wc-block-cart-items td {
        display: block;
        padding: 0;
        border: 0;
    }

    .layer8-cart-page .wc-block-cart-item__image,
    body.woocommerce-cart .wc-block-cart-item__image {
        grid-row: 1 / span 2;
        align-self: start;
    }

    .layer8-cart-page .wc-block-cart-item__product,
    body.woocommerce-cart .wc-block-cart-item__product {
        grid-area: 1 / 2 / auto / 3;
        grid-column: 2;
        grid-row: 1;
    }

    .layer8-cart-page .wc-block-cart-item__total,
    body.woocommerce-cart .wc-block-cart-item__total {
        grid-area: 2 / 2 / 3 / 3;
        grid-column: 2;
        grid-row: 2 / 3;
        align-self: start;
        padding-top: 0.9rem;
        text-align: left;
    }

    .layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
        grid-area: 1 / 2 / auto / 3;
        grid-column: 2;
        grid-row: 1;
    }

    .layer8-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
        grid-area: 2 / 2 / 3 / 3;
        grid-column: 2;
        grid-row: 2 / 3;
    }

    .layer8-cart-page .wc-block-components-totals-coupon__form,
    body.woocommerce-cart .wc-block-components-totals-coupon__form,
    .layer8-checkout-page .wc-block-components-totals-coupon__form,
    body.woocommerce-checkout .wc-block-components-totals-coupon__form {
        grid-template-columns: 1fr;
    }

    .layer8-cart-page .wc-block-components-button:not(.is-link),
    body.woocommerce-cart .wc-block-components-button:not(.is-link),
    .layer8-checkout-page .wc-block-components-button:not(.is-link),
    body.woocommerce-checkout .wc-block-components-button:not(.is-link),
    .layer8-checkout-page .wc-block-components-checkout-place-order-button,
    body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
        width: 100%;
    }

    .layer8-checkout-page .wc-block-checkout__actions_row,
    body.woocommerce-checkout .wc-block-checkout__actions_row {
        display: grid;
        gap: 0.85rem;
    }
}

@media (min-width: 681px) and (max-width: 1020px) {
    .layer8-product-page .woocommerce div.product {
        grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.48fr);
        gap: clamp(1.1rem, 2.4vw, 1.9rem);
        align-items: start;
        padding: clamp(1.2rem, 2.8vw, 2rem);
    }

    .layer8-product-page .woocommerce div.product div.images {
        position: static;
        padding: clamp(0.85rem, 1.8vw, 1.2rem);
    }

    .layer8-product-page .woocommerce div.product div.images img {
        width: 100%;
        max-height: clamp(16rem, 34vw, 22rem);
        object-fit: contain;
        object-position: center;
    }

    .layer8-product-page .woocommerce div.product div.summary {
        padding: 0;
    }
}

@media (max-width: 680px) {
    :root {
        --layer8-header-height: 76px;
        --layer8-site-banner-height: 68px;
    }

    body.layer8-site-banner-active {
        --layer8-header-height: 144px;
    }

    .container {
        width: min(var(--max), calc(100% - 28px));
    }

    #top,
    #hero,
    #loesung,
    #ablauf,
    #outpost,
    #vorgehen,
    #content-creator,
    #pakete,
    #faq,
    #kontakt {
        scroll-margin-top: var(--layer8-header-height);
    }

    .topline {
        display: none;
    }

    .layer8-site-banner {
        min-height: var(--layer8-site-banner-height);
        flex-wrap: wrap;
        gap: 0.35rem 0.55rem;
        padding: 0.72rem 14px 0.8rem;
        font-size: 0.88rem;
    }

    .layer8-site-banner::after {
        right: 14px;
        left: 14px;
    }

    .layer8-site-banner__message {
        flex-basis: 100%;
    }

    .layer8-site-banner__link-label {
        padding: 0.24rem 0.62rem;
        font-size: 0.78rem;
    }

    .header-inner {
        min-height: 76px;
    }

    nav.main-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        top: calc(var(--layer8-admin-bar-height) + 88px);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 24px;
        border-radius: 24px;
        background: var(--white);
        border: 1px solid rgba(39, 42, 81, 0.12);
        box-shadow: var(--shadow-soft);
        font-size: 1rem;
    }

    body.layer8-site-banner-active nav.main-nav {
        top: calc(var(--layer8-admin-bar-height) + var(--layer8-header-height) + 12px);
    }

    nav.main-nav .wp-block-navigation__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    nav.main-nav.is-open {
        display: flex;
    }

    .menu-button {
        display: grid;
    }

    .logo {
        width: 90px;
    }

    .hero-inner {
        row-gap: clamp(0.875rem, 2.2dvh, 1.5rem);
        padding: clamp(0.875rem, 2.6dvh, 2rem) 0;
    }

    .security-map-background {
        opacity: 0.2;
    }

    .layer8-product-page {
        padding: clamp(0.9rem, 4vw, 1.4rem) 0 clamp(3rem, 12vw, 4.5rem);
    }

    body.woocommerce-cart .wp-site-blocks>main,
    body.woocommerce-checkout .wp-site-blocks>main,
    body.woocommerce-account .wp-site-blocks>main {
        padding: clamp(0.75rem, 3.5vw, 1.25rem) 0 clamp(3rem, 12vw, 4.5rem);
    }

    .layer8-product-page .woocommerce {
        width: min(var(--max), calc(100% - 28px));
    }

    .layer8-product-page>.wp-block-columns,
    .layer8-product-page>.wc-block-store-notices,
    .layer8-product-page>.wp-block-woocommerce-product-details,
    .layer8-product-page>.wp-block-heading,
    .layer8-product-page>.wp-block-woocommerce-product-collection {
        width: min(var(--max), calc(100% - 28px));
        max-width: min(var(--max), calc(100% - 28px)) !important;
    }

    body.woocommerce-cart .entry-content,
    body.woocommerce-checkout .entry-content,
    body.woocommerce-account .entry-content {
        width: min(var(--max), calc(100% - 28px));
    }

    body.woocommerce-cart .wp-block-post-title,
    body.woocommerce-checkout .wp-block-post-title,
    body.woocommerce-account .wp-block-post-title,
    body.woocommerce-cart .entry-title,
    body.woocommerce-checkout .entry-title,
    body.woocommerce-account .entry-title {
        margin-bottom: 0.85rem;
    }

    .layer8-cart-page .wc-block-components-sidebar-layout,
    body.woocommerce-cart .wc-block-components-sidebar-layout,
    .layer8-checkout-page .wc-block-components-sidebar-layout,
    body.woocommerce-checkout .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .layer8-cart-page .wc-block-cart__sidebar,
    body.woocommerce-cart .wc-block-cart__sidebar,
    .layer8-cart-page .wp-block-woocommerce-cart-totals-block,
    body.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
    .layer8-checkout-page .wc-block-checkout__sidebar,
    body.woocommerce-checkout .wc-block-checkout__sidebar,
    .layer8-checkout-page .wp-block-woocommerce-checkout-totals-block,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
        position: relative;
        top: auto;
        border-radius: var(--radius-sm);
    }

    .layer8-cart-page .wc-block-cart__main,
    body.woocommerce-cart .wc-block-cart__main,
    .layer8-cart-page .wp-block-woocommerce-cart-items-block,
    body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
    .layer8-cart-page .wp-block-woocommerce-empty-cart-block,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
    .layer8-checkout-page .wc-block-components-checkout-step,
    body.woocommerce-checkout .wc-block-components-checkout-step,
    .layer8-checkout-page .wp-block-woocommerce-checkout-express-payment-block,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block,
    .layer8-checkout-page .wp-block-woocommerce-checkout-terms-block,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
    .layer8-checkout-page .wp-block-woocommerce-checkout-actions-block,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block {
        border-radius: var(--radius-sm);
    }

    .layer8-cart-page .wc-block-cart-items__header,
    body.woocommerce-cart .wc-block-cart-items__header {
        display: none;
    }

    .layer8-cart-page .wc-block-cart-item,
    body.woocommerce-cart .wc-block-cart-item {
        display: grid;
        grid-template-columns: minmax(5rem, 0.28fr) minmax(0, 1fr);
        gap: 0.85rem;
        padding: 1rem;
        border-bottom: 1px solid rgba(39, 42, 81, 0.1);
    }

    .layer8-cart-page .wc-block-cart-items td,
    body.woocommerce-cart .wc-block-cart-items td {
        display: block;
        padding: 0;
        border: 0;
    }

    .layer8-cart-page .wc-block-cart-item__image,
    body.woocommerce-cart .wc-block-cart-item__image {
        grid-row: 1 / span 2;
        align-self: start;
    }

    .layer8-cart-page .wc-block-cart-item__product,
    body.woocommerce-cart .wc-block-cart-item__product {
        grid-area: 1 / 2 / auto / 3;
        grid-column: 2;
        grid-row: 1;
    }

    .layer8-cart-page .wc-block-cart-item__total,
    body.woocommerce-cart .wc-block-cart-item__total {
        grid-area: 2 / 2 / 3 / 3;
        grid-column: 2;
        grid-row: 2 / 3;
        align-self: start;
        padding-top: 0.9rem;
    }

    .layer8-cart-page .wc-block-cart-item__total,
    body.woocommerce-cart .wc-block-cart-item__total {
        text-align: left;
    }

    .layer8-cart-page .wc-block-components-totals-coupon__form,
    body.woocommerce-cart .wc-block-components-totals-coupon__form,
    .layer8-checkout-page .wc-block-components-totals-coupon__form,
    body.woocommerce-checkout .wc-block-components-totals-coupon__form {
        grid-template-columns: 1fr;
    }

    .layer8-cart-page .wc-block-components-button:not(.is-link),
    body.woocommerce-cart .wc-block-components-button:not(.is-link),
    .layer8-checkout-page .wc-block-components-button:not(.is-link),
    body.woocommerce-checkout .wc-block-components-button:not(.is-link),
    .layer8-checkout-page .wc-block-components-checkout-place-order-button,
    body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
        width: 100%;
    }

    .layer8-empty-cart-products ul.products {
        grid-template-columns: 1fr;
    }

    .layer8-checkout-page .wc-block-checkout__actions_row,
    body.woocommerce-checkout .wc-block-checkout__actions_row {
        display: grid;
        gap: 0.85rem;
    }

    .layer8-order-received-page .woocommerce-order,
    body.woocommerce-order-received .woocommerce-order {
        gap: 1rem;
    }

    .layer8-order-received-page .woocommerce-notice,
    body.woocommerce-order-received .woocommerce-notice,
    .layer8-order-received-page .woocommerce-thankyou-order-details,
    body.woocommerce-order-received .woocommerce-thankyou-order-details,
    .layer8-order-received-page .woocommerce-order-details,
    body.woocommerce-order-received .woocommerce-order-details,
    .layer8-order-received-page .woocommerce-customer-details,
    body.woocommerce-order-received .woocommerce-customer-details,
    .layer8-order-received-page .woocommerce-order-downloads,
    body.woocommerce-order-received .woocommerce-order-downloads {
        border-radius: var(--radius-sm);
    }

    .layer8-order-received-page .woocommerce-thankyou-order-details,
    body.woocommerce-order-received .woocommerce-thankyou-order-details {
        grid-template-columns: 1fr;
    }

    .layer8-order-received-page .woocommerce-thankyou-order-details li,
    body.woocommerce-order-received .woocommerce-thankyou-order-details li {
        border-right: 0;
        border-bottom: 1px solid rgba(39, 42, 81, 0.1);
    }

    .layer8-order-received-page .woocommerce-thankyou-order-details li:last-child,
    body.woocommerce-order-received .woocommerce-thankyou-order-details li:last-child {
        border-bottom: 0;
    }

    .layer8-order-received-page .woocommerce-order-details,
    body.woocommerce-order-received .woocommerce-order-details,
    .layer8-order-received-page .woocommerce-customer-details,
    body.woocommerce-order-received .woocommerce-customer-details,
    .layer8-order-received-page .woocommerce-order-downloads,
    body.woocommerce-order-received .woocommerce-order-downloads {
        padding: clamp(1rem, 4vw, 1.35rem);
    }

    .layer8-order-received-page .woocommerce-table th,
    body.woocommerce-order-received .woocommerce-table th,
    .layer8-order-received-page .woocommerce-table td,
    body.woocommerce-order-received .woocommerce-table td {
        padding-block: 0.8rem;
    }

    .layer8-order-received-page .woocommerce-table .product-total,
    body.woocommerce-order-received .woocommerce-table .product-total,
    .layer8-order-received-page .woocommerce-table tfoot td,
    body.woocommerce-order-received .woocommerce-table tfoot td {
        text-align: left;
    }

    .layer8-order-received-page .woocommerce-customer-details .woocommerce-columns,
    body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
        grid-template-columns: 1fr;
    }

    .layer8-order-received-page .woocommerce-thankyou-order-failed-actions .button,
    body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button {
        width: 100%;
    }

    .layer8-cart-page .woocommerce,
    body.woocommerce-cart .entry-content>.woocommerce {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .layer8-cart-page .woocommerce .woocommerce-cart-form,
    body.woocommerce-cart .woocommerce .woocommerce-cart-form,
    .layer8-cart-page .woocommerce .cart-collaterals,
    body.woocommerce-cart .woocommerce .cart-collaterals {
        grid-column: 1;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .woocommerce-cart-form,
    :where(.layer8-cart-page, body.woocommerce-cart) .cart_totals,
    :where(.layer8-cart-page, body.woocommerce-cart) .wc-empty-cart-message,
    :where(.layer8-cart-page, body.woocommerce-cart) .return-to-shop {
        border-radius: var(--radius-sm);
    }

    :where(.layer8-cart-page, body.woocommerce-cart) table.shop_table th,
    :where(.layer8-cart-page, body.woocommerce-cart) table.shop_table td {
        padding: 0.85rem;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .coupon,
    :where(.layer8-cart-page, body.woocommerce-cart) .coupon .input-text,
    :where(.layer8-cart-page, body.woocommerce-cart) .woocommerce a.button,
    :where(.layer8-cart-page, body.woocommerce-cart) .woocommerce button.button,
    :where(.layer8-cart-page, body.woocommerce-cart) .woocommerce input.button {
        width: 100%;
    }

    body.woocommerce-cart .woocommerce table.cart td.actions {
        display: table-cell;
        text-align: left;
    }

    body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
        width: 100%;
        max-width: none;
        float: none;
        flex-wrap: wrap;
        margin-bottom: 0.75rem;
    }

    body.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text,
    body.woocommerce-cart .woocommerce table.cart td.actions>button.button {
        width: 100%;
        min-width: 0;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .cart-collaterals {
        justify-content: stretch;
    }

    :where(.layer8-cart-page, body.woocommerce-cart) .cart_totals {
        grid-template-columns: 1fr;
    }

    .layer8-product-page .woocommerce div.product {
        gap: 1.25rem;
    }

    .layer8-product-page .woocommerce div.product div.images,
    .layer8-product-page .woocommerce div.product div.summary,
    .layer8-product-page>.wp-block-columns>.wp-block-column:last-child,
    .layer8-product-page .wp-block-woocommerce-product-gallery,
    .layer8-product-page .wp-block-woocommerce-product-details,
    .layer8-product-page .woocommerce-tabs,
    .layer8-product-page .up-sells,
    .layer8-product-page .related.products {
        border-radius: var(--radius-sm);
    }

    .layer8-product-page .product_title,
    .layer8-product-page .wp-block-post-title {
        font-size: clamp(2.25rem, 14vw, 4rem);
    }

    .layer8-product-page .wp-block-woocommerce-product-gallery-large-image,
    .layer8-product-page .wc-block-product-gallery-large-image {
        min-height: 0;
    }

    .layer8-product-page .wp-block-woocommerce-product-gallery img {
        max-height: clamp(15rem, 72vw, 24rem);
    }

    .layer8-product-page .cart {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .layer8-product-page .wp-block-add-to-cart-with-options,
    .layer8-product-page .wp-block-woocommerce-add-to-cart-with-options {
        align-items: stretch;
    }

    .layer8-product-page .wc-block-add-to-cart-with-options>.wp-block-group,
    .layer8-product-page .wp-block-add-to-cart-with-options>.wp-block-group {
        align-items: stretch;
        width: 100%;
    }

    .layer8-product-page .wp-block-add-to-cart-with-options-quantity-selector,
    .layer8-product-page .wp-block-woocommerce-add-to-cart-with-options-quantity-selector {
        width: 100%;
    }

    .layer8-product-page .layer8-quantity-field,
    .layer8-product-page .wc-block-components-quantity-selector,
    .layer8-product-page .wc-block-components-product-button,
    .layer8-product-page .wc-block-components-product-button__button,
    .layer8-product-page .wp-block-button__link {
        width: 100%;
    }

    .layer8-product-page .wc-block-components-quantity-selector {
        grid-template-columns: 3.25rem minmax(0, 1fr) 3.25rem;
    }

    .layer8-product-page .layer8-quantity-quick-steps {
        width: 100%;
        max-width: none;
    }

    .layer8-product-page .layer8-quantity-quick-step {
        padding-inline: 0.45rem;
    }

    .layer8-product-page .woocommerce .quantity.layer8-classic-quantity-selector {
        grid-template-columns: 3.25rem minmax(0, 1fr) 3.25rem;
    }

    .layer8-product-page .layer8-cart-confirmation {
        flex-direction: column;
        align-items: stretch;
    }

    .layer8-product-page .layer8-cart-confirmation.is-visible {
        max-height: 12rem;
    }

    .layer8-product-page .layer8-cart-confirmation__link {
        width: 100%;
    }

    .layer8-product-page .woocommerce .quantity .qty,
    :where(.layer8-cart-page, body.woocommerce-cart) .quantity .qty {
        width: 100%;
        min-width: 8rem;
    }

    .layer8-product-page .woocommerce button.button,
    .layer8-product-page .woocommerce a.button,
    .layer8-product-page .woocommerce input.button,
    .layer8-product-page .woocommerce #respond input#submit {
        width: 100%;
    }

    .layer8-product-page .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .layer8-product-page .wp-block-post-template,
    .layer8-product-page .wc-block-product-template {
        grid-template-columns: 1fr;
    }

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

    .layer8-error-page {
        padding: clamp(1.5rem, 7vw, 2.5rem) 0 clamp(2.5rem, 10vw, 4rem);
    }

    .layer8-error-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .layer8-error-copy h1 {
        font-size: clamp(2.3rem, 14vw, 4rem);
    }

    .layer8-error-actions .btn {
        width: 100%;
    }

    .layer8-error-visual {
        justify-self: center;
        width: min(8.5rem, 42vw);
    }

    .outpost-layout,
    .trust-layout,
    .ai-box,
    .cta-panel,
    .footer-inner,
    .footer-inner.has-footer-menu,
    .overview-grid,
    .process-grid,
    .outpost-proof,
    .shop-grid,
    .faq-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-hero-title {
        font-size: clamp(2.1rem, 9vw, 3.4rem);
    }

    .post-hero-meta {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
    }

    .post-body {
        font-size: 1.05rem;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .post-navigation .nav-links::before {
        top: 50%;
        right: 1.25rem;
        bottom: auto;
        left: 1.25rem;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(132, 204, 213, 0.58), transparent);
    }

    .post-navigation .nav-previous a,
    .post-navigation .nav-next a {
        min-height: 7rem;
        padding: 1.15rem;
    }

    .post-navigation .nav-next {
        grid-column: auto;
        text-align: left;
    }

    .post-navigation .nav-next a {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .post-navigation .nav-next .nav-direction,
    .post-navigation .nav-next .nav-title {
        order: 0;
    }

    .post-navigation .nav-next .nav-title {
        text-align: left;
    }

    .comment-body {
        padding: 16px 18px;
    }

    .outpost-proof,
    .trust-metrics {
        grid-template-columns: 1fr;
    }

    .outpost-layout {
        gap: 2rem;
    }

    .outpost-hero .section-kicker {
        gap: 0.6rem;
        font-size: 0.8rem;
        letter-spacing: 0.14em;
    }

    .outpost-hero .section-kicker::before {
        flex-basis: 2rem;
        width: 2rem;
    }

    .outpost-hero .section-title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .outpost-lead {
        font-size: clamp(1rem, 4.3vw, 1.12rem);
        line-height: 1.52;
    }

    .outpost-actions {
        gap: 10px;
    }

    .outpost-actions .btn {
        min-height: 42px;
        padding: 10px 15px;
        font-size: 0.88rem;
    }

    .outpost-proof {
        margin-top: 28px;
    }

    .outpost-proof-item {
        padding: 13px 15px;
    }

    .outpost-architecture {
        --outpost-packet-size: clamp(5px, 0.9cqw, 8px);
        --outpost-packet-back-size: clamp(4px, 0.72cqw, 6px);
        --outpost-mail-width: clamp(16px, 3cqw, 26px);
        --outpost-mail-height: clamp(11px, 2.1cqw, 18px);
        --outpost-node-title-size: clamp(0.58rem, 2cqw, 0.96rem);
        --outpost-server-title-size: clamp(0.56rem, 1.7cqw, 0.88rem);
        --outpost-node-meta-size: clamp(0.36rem, 0.95cqw, 0.52rem);
        --outpost-pill-font-size: clamp(0.4rem, 1cqw, 0.58rem);
        --outpost-zone-font-size: clamp(0.42rem, 1.1cqw, 0.64rem);
        --outpost-dmz-font-size: clamp(0.38rem, 0.95cqw, 0.54rem);
    }

    .outpost-console {
        border-radius: 18px;
    }

    .outpost-console-body {
        padding: clamp(12px, 4vw, 18px);
    }

    .outpost-flow-row {
        grid-template-columns: 32px 1fr;
    }

    .outpost-flow-row .outpost-flow-icon,
    .outpost-flow-row .outpost-flow-icon svg {
        width: 32px;
        height: 32px;
    }

    .hero-media {
        max-height: none;
    }

    .hero-browser-window {
        max-height: none;
    }

    .hero-browser-toolbar {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }

    .hero-browser-title {
        display: none;
    }

    .ai-browser-toolbar {
        grid-template-columns: auto 1fr;
        gap: 10px;
        padding: 0 12px;
    }

    .ai-browser-title {
        display: none;
    }

    .hero-cyber-grid .binary,
    .hero-cyber-grid .shield {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

    .timeline-item {
        grid-template-columns: 58px 1fr;
        gap: 16px;
    }

    .timeline-icon {
        width: 58px;
        height: 58px;
    }

    .timeline::before {
        left: 28px;
    }

    .ai-box {
        padding: 30px;
    }

    .cta-arrow {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 420px) {
    .outpost-hero .section-title {
        font-size: clamp(2rem, 9.4vw, 2.55rem);
    }

    .outpost-lead {
        font-size: clamp(0.96rem, 4vw, 1.02rem);
    }

    .outpost-actions .btn {
        padding-inline: 13px;
        font-size: 0.84rem;
    }

    .outpost-console-body {
        padding: 12px;
    }

    .outpost-architecture {
        --outpost-packet-size: 5px;
        --outpost-packet-back-size: 4px;
        --outpost-mail-width: 16px;
        --outpost-mail-height: 11px;
        --outpost-node-title-size: 0.56rem;
        --outpost-server-title-size: 0.54rem;
        --outpost-node-meta-size: 0.34rem;
        --outpost-pill-font-size: 0.38rem;
        --outpost-zone-font-size: 0.4rem;
        --outpost-dmz-font-size: 0.36rem;
    }

    .outpost-flow-row {
        grid-template-columns: 30px 1fr;
        padding: 10px;
    }

    .outpost-flow-row .outpost-flow-icon,
    .outpost-flow-row .outpost-flow-icon svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-height: 500px) {
    .hero {
        min-height: 500px;
    }

    .hero-stats {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-cyber-grid .node,
    .hero-cyber-grid .connection,
    .hero-cyber-grid .pulse,
    .hero-cyber-grid .binary,
    .hero-cyber-grid .shield,
    .hero-title .accent,
    .section-title .cyan,
    .cyan,
    .ai-box h2 .cyan,
    .trust-card h3 .cyan,
    .cta h2 .cyan,
    .hero-title .accent::after,
    .section-title .cyan::after,
    .cyan::after,
    .ai-box h2 .cyan::after,
    .trust-card h3 .cyan::after,
    .cta h2 .cyan::after,
    .outpost-architecture-glow,
    .outpost-wire-active,
    .outpost-cloud,
    .outpost-rack-bay.is-live span,
    .outpost-rack-bay.is-blue span,
    .outpost-client::before,
    .outpost-client i::after,
    .outpost-packet,
    .outpost-mail,
    .layer8-site-banner__message,
    .ai-browser-screen video {
        animation: none !important;
    }

    .ai-browser-screen video {
        transform: scale(1.3);
    }
}

.wp-site-blocks,
.wp-block-group,
.wp-block-template-part,
.wp-site-blocks main {
    margin-block-start: 0;
    margin-block-end: 0;
}

.wp-site-blocks {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.error404 .wp-site-blocks {
    min-height: calc(100vh - var(--layer8-header-height));
    min-height: calc(100dvh - var(--layer8-header-height));
}

.wp-site-blocks>main {
    flex: 1 0 auto;
}

.wp-site-blocks>.wp-block-template-part {
    flex: 0 0 auto;
}

.wp-site-blocks>*,
.wp-site-blocks main>*,
.wp-site-blocks :where(.is-layout-flow, .is-layout-constrained)>* {
    margin-block-start: 0;
    margin-block-end: 0;
}

.layer8-product-page {
    margin-block-start: 0 !important;
}

.wp-site-blocks .container {
    margin-inline: auto !important;
}

.section,
.cta {
    position: relative;
}

.section-divider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 13px;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0%, rgba(132, 204, 213, 0.72) 18%, rgba(19, 67, 149, 0.58) 50%, rgba(132, 204, 213, 0.72) 82%, transparent 100%) top / 100% 2px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.outpost-hero.section-divider::before,
.dark-band.section-divider::before {
    background:
        linear-gradient(90deg, transparent 0%, rgba(132, 204, 213, 0.72) 18%, rgba(19, 67, 149, 0.58) 50%, rgba(132, 204, 213, 0.72) 82%, transparent 100%) top / 100% 2px no-repeat;
}

.post-hero.section-divider::before {
    inset: 0;
    height: auto;
    opacity: 0.28;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.post-hero--light.section-divider::before {
    opacity: 0.48;
    background:
        linear-gradient(90deg, rgba(39, 42, 81, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(39, 42, 81, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
}

.post-hero--light.post-hero--with-cyber-grid.section-divider::before {
    opacity: 0.82;
    background:
        linear-gradient(90deg, rgba(0, 108, 181, 0.16) 1px, transparent 1px),
        linear-gradient(rgba(0, 108, 181, 0.16) 1px, transparent 1px);
    background-size: 72px 72px;
}

@media (max-width: 782px) {

    .layer8-inline-editor {
        position: relative;
    }

    .layer8-inline-editor .layer8-sticky-header {
        position: relative;
        top: auto !important;
        left: auto;
        right: auto;
        width: auto;
        z-index: auto;
    }

    .layer8-inline-editor .hero {
        margin-top: 0;
    }

    .layer8-inline-editor .hero-inner {
        padding: clamp(1.5rem, 5dvh, 5.375rem) 0 clamp(1.25rem, 4dvh, 4.625rem);
    }

    .layer8-inline-editor [contenteditable="true"] {
        min-width: 1ch;
        outline: 1px dashed transparent;
        border-radius: 4px;
        transition: outline-color 0.15s ease, background-color 0.15s ease;
    }

    .layer8-inline-editor [contenteditable="true"]:focus {
        outline-color: rgba(20, 184, 166, 0.85);
        background: rgba(255, 255, 255, 0.14);
    }

    .layer8-inline-controls {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 10px;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid rgba(19, 67, 149, 0.18);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.94);
        color: var(--ink);
    }

    .layer8-inline-controls .components-base-control {
        min-width: min(220px, 100%);
        margin-bottom: 0;
    }

    .layer8-header-meta-controls {
        max-width: var(--max);
        margin: 0 auto 16px;
        padding: 0 20px;
    }

    .layer8-trust-editor .timeline-item {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .layer8-trust-editor .timeline-content {
        min-width: 0;
    }

    .layer8-inline-logo {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        color: var(--navy-950);
    }

    .layer8-browser-placeholder {
        display: grid;
        place-items: center;
        min-height: 220px;
        padding: 16px;
    }
}

/* ---------------------------------------------------------------------------
   WooCommerce Notices
--------------------------------------------------------------------------- */

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-notices-wrapper {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-notices-wrapper:empty {
    display: none;
    margin: 0;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notices {
    margin: 0;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 1.5rem;
    padding: 16px 20px;
    border: 1px solid rgba(39, 42, 81, 0.12);
    border-left: 5px solid var(--cyan-500);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 14px 38px rgba(21, 27, 62, 0.08);
    list-style: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner {
    padding: 16px 20px !important;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message::after,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info::after,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error::after,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner::after {
    content: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message::before,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info::before,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error::before {
    content: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message::before {
    content: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error::before {
    content: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner.is-error {
    border-left-color: var(--copper);
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error::after,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner.is-error::after {
    content: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message {
    border-left-color: var(--cyan-500);
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner.is-success {
    border-left-color: var(--cyan-500);
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message::after,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner.is-success::after {
    content: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error li {
    flex: 1 1 100%;
    margin: 0;
    list-style: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error li + li {
    margin-top: 0.35rem;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-notices-wrapper > .woocommerce-message,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-notices-wrapper > .woocommerce-info,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-notices-wrapper > .woocommerce-error,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-notices-wrapper > .wc-block-components-notice-banner {
    margin-bottom: 0;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner__content {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 1 1 auto;
    gap: 0.65rem 1rem;
    min-width: 0;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner > .wc-block-components-notice-banner__content {
    flex: 1 1 0 !important;
    padding-right: 0;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner__content > div {
    flex: 1 1 auto;
    min-width: 0;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message a:not(.button),
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info a:not(.button),
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error a:not(.button),
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner a:not(.button) {
    color: var(--blue-700);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message a.button,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info a.button,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error a.button,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner .button,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner .wc-forward {
    order: 2;
    flex: 0 0 auto;
    min-height: 0;
    min-width: max-content;
    margin: 0 0 0 auto;
    padding: 9px 18px;
    border: 1px solid rgba(132, 204, 213, 0.58);
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(21, 27, 62, 0.14);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message a.button:hover,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info a.button:hover,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error a.button:hover,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner .button:hover,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner .wc-forward:hover {
    border-color: var(--cyan-500);
    background: var(--blue-700);
    color: var(--white);
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner>svg {
    display: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner.is-error>svg {
    display: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner.is-success>svg {
    display: none;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner__dismiss {
    order: 3;
    flex: 0 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    line-height: 1;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner > .wc-block-components-notice-banner__dismiss.wc-block-components-button {
    flex: 0 0 2rem !important;
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
    min-height: 2rem !important;
    margin: 0 0 0 auto !important;
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner__dismiss:hover,
:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner__dismiss:focus-visible {
    background: rgba(39, 42, 81, 0.08);
    color: var(--navy-900);
}

:is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner__dismiss svg {
    display: block;
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

@media (max-width: 699.98px) {
    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-notices-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message,
    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info,
    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error,
    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0.95rem 1rem 1rem 1.2rem;
        overflow-wrap: anywhere;
    }

    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-message a.button,
    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-info a.button,
    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .woocommerce-error a.button,
    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner .button,
    :is(.layer8-product-page, .layer8-shop-page, .layer8-cart-page, .layer8-checkout-page, .layer8-account-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account) .wc-block-components-notice-banner .wc-forward {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-self: stretch;
        order: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-top: 0.15rem;
        white-space: normal;
    }
}

/* ---------------------------------------------------------------------------
   Shop-Katalog (WooCommerce Archiv: /shop/ + Produktkategorien)
--------------------------------------------------------------------------- */

.layer8-shop-page {
    position: relative;
    overflow: hidden;
    padding: 0 0 clamp(4.5rem, 8vw, 8rem);
    background:
        radial-gradient(circle at 6% 8%, rgba(132, 204, 213, 0.2), transparent 28rem),
        radial-gradient(circle at 92% 18%, rgba(19, 67, 149, 0.12), transparent 26rem),
        linear-gradient(180deg, rgba(246, 248, 251, 0.92) 0%, var(--white) 46%, rgba(237, 244, 248, 0.84) 100%);
}

.layer8-shop-page--taxonomy {
    background: var(--white);
}

.layer8-shop-page .woocommerce {
    width: min(var(--max), calc(100% - var(--page-gutter)));
    margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
    color: var(--ink);
}

.wp-site-blocks main>.layer8-woocommerce-breadcrumb {
    margin-block-start: clamp(1.5rem, 3vw, 2.5rem);
    margin-block-end: 0;
}

.layer8-shop-hero {
    min-height: auto;
    padding: clamp(5rem, 10dvh, 5rem) 0 clamp(4.5rem, 9dvh, 5rem);
}

.layer8-wc-hero--has-image .post-hero-inner {
    padding-right: min(42vw, 40rem);
}

.layer8-wc-hero .layer8-wc-hero-image {
    top: 50%;
    right: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
    left: auto;
    bottom: auto;
    width: min(34vw, 36rem);
    height: min(74%, 30rem);
    transform: translateY(-50%);
    object-fit: contain;
    object-position: center right;
    opacity: 0.44;
    filter: drop-shadow(0 28px 64px rgba(0, 0, 0, 0.26));
}

.layer8-shop-hero-subtitle {
    max-width: 90%;
}

.layer8-shop-hero-subtitle p {
    margin: 0;
}

.layer8-shop-hero-subtitle p + p {
    margin-top: 0.75rem;
}

.layer8-shop-page .woocommerce-result-count,
.layer8-shop-page .woocommerce-ordering {
    float: none;
    margin: 0;
}

.layer8-shop-page .woocommerce-result-count {
    color: var(--muted);
    font-size: 0.95rem;
}

.layer8-shop-page .shop-toolbar,
.layer8-shop-page .woocommerce-notices-wrapper + .woocommerce-result-count {
    margin-bottom: 0;
}

.layer8-shop-page .woocommerce-ordering select {
    min-height: 44px;
    padding: 8px 36px 8px 18px;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy-900);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--blue-700) 50%), linear-gradient(135deg, var(--blue-700) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.layer8-shop-page .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(132, 204, 213, 0.25);
}

/* Result-Count + Ordering als Toolbar-Zeile über dem Grid */
.layer8-shop-page .woocommerce-result-count {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.layer8-shop-page .woocommerce-ordering {
    display: inline-flex;
    float: right;
    margin-bottom: 1.5rem;
}

.layer8-shop-page ul.products {
    clear: both;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 1.5rem 0 0;
    padding: 0;
}

.layer8-shop-page ul.products::before,
.layer8-shop-page ul.products::after {
    display: none;
}

.layer8-shop-page ul.products li.product {
    position: relative;
    overflow: hidden;
    float: none;
    display: flex;
    flex-direction: column;
    width: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(39, 42, 81, 0.12);
    box-shadow: 0 22px 58px rgba(21, 27, 62, 0.09);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.layer8-shop-page ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 76px rgba(21, 27, 62, 0.16);
    border-color: rgba(132, 204, 213, 0.58);
}

.layer8-shop-page ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.layer8-shop-page ul.products li.product img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    background: var(--paper);
    transition: transform 300ms ease;
}

.layer8-shop-page ul.products li.product:hover img {
    transform: scale(1.03);
}

.layer8-shop-page ul.products li.product .woocommerce-loop-product__title {
    margin: 22px 26px 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.9vw, 1.85rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--navy-900);
}

/* Kurzbeschreibung in der Karte (analog .post-card-excerpt) */
.layer8-shop-page ul.products li.product .loop-product-excerpt {
    margin: 12px 26px 14px;
    color: #59617c;
    font-size: 0.98rem;
    line-height: 1.55;
}

.layer8-shop-page ul.products li.product .price {
    display: block;
    margin: auto 26px 8px;
    color: var(--blue-700);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.layer8-shop-page ul.products li.product .price del {
    margin-right: 8px;
    color: var(--muted);
    font-size: 0.7em;
    text-decoration: line-through;
}

.layer8-shop-page ul.products li.product .price ins {
    text-decoration: none;
}

.layer8-shop-page ul.products li.product .layer8-product-price-tax-notice {
    margin: 0 26px 22px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.layer8-shop-page ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-height: 48px;
    margin: auto 26px 26px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
    transition: box-shadow 180ms ease;
}

.layer8-shop-page ul.products li.product .button:hover {
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
}

.layer8-shop-page ul.products li.product .button.loading {
    opacity: 0.7;
}

.layer8-shop-page ul.products li.product .added_to_cart {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0 26px 24px;
    padding: 8px 16px;
    border: 1px solid rgba(39, 42, 81, 0.16);
    border-radius: 999px;
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.layer8-shop-page ul.products li.product .added_to_cart:hover {
    background: var(--cyan-500);
    border-color: var(--cyan-500);
    color: var(--navy-950);
}

/* Sale-Badge sitzt auf der Karte (Position relativ zum li) */
.layer8-shop-page ul.products li.product span.onsale {
    top: 18px;
    left: 18px;
}

/* Sterne-Bewertung in der Karte (Markenfarbe statt WC-Default) */
.layer8-shop-page ul.products li.product .star-rating {
    margin: 12px 26px 0;
    font-size: 0.85rem;
}

.layer8-shop-page ul.products li.product .star-rating span::before {
    color: var(--blue-700);
}

/* Kategorie-Karten (falls der Shop Kategorien im Katalog anzeigt) */
.layer8-shop-page ul.products li.product .woocommerce-loop-category__title {
    margin: 22px 26px 26px;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.9vw, 1.85rem);
    line-height: var(--card-heading-line-height);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--navy-900);
}

.layer8-shop-page ul.products li.product .woocommerce-loop-category__title mark.count {
    background: transparent;
    color: var(--muted);
    font-size: 0.7em;
}

/* Leerer Katalog: Abstand zum Seitenkopf ohne Toolbar */
.layer8-shop-page .woocommerce-no-products-found {
    margin-top: 1.5rem;
}

/* Button direkt nach dem Link (kein added_to_cart dazwischen): Abstand
   zum Preis, wenn der Kartentext kurz ist. */
.layer8-shop-page ul.products li.product .woocommerce-LoopProduct-link + .button {
    margin-top: 0;
}

.layer8-shop-page .woocommerce-pagination {
    margin-top: clamp(2.5rem, 4dvh, 3.5rem);
}

.layer8-shop-page .woocommerce-pagination ul.page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.layer8-shop-page .woocommerce-pagination ul.page-numbers li {
    float: none;
    margin: 0;
    border: 0;
}

.layer8-shop-page .woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(39, 42, 81, 0.12);
    background: var(--white);
    color: var(--navy-900);
    font-weight: 700;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.layer8-shop-page .woocommerce-pagination a.page-numbers:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(19, 67, 149, 0.19);
    border-color: rgba(132, 204, 213, 0.58);
}

.layer8-shop-page .woocommerce-pagination .page-numbers.current {
    border-color: transparent;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--navy-950));
}

.layer8-shop-page .woocommerce-pagination .page-numbers.dots {
    border: 0;
    background: transparent;
    color: var(--muted);
}

@media (max-width: 1020px) {
    .layer8-shop-page ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(14px, 2vw, 26px);
    }
}

@media (max-width: 779.98px) {
    .layer8-wc-hero.layer8-wc-hero--has-image {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding-top: clamp(3rem, 8dvh, 5rem);
    }

    .layer8-wc-hero--has-image .post-hero-inner {
        padding-right: 0;
    }

    .layer8-wc-hero .layer8-wc-hero-image {
        position: relative;
        inset: auto;
        width: min(78vw, 24rem);
        height: auto;
        max-height: 15rem;
        margin: 0 auto -0.75rem;
        transform: none;
        object-fit: contain;
        object-position: center;
        opacity: 0.5;
    }
}

@media (max-width: 680px) {
    .layer8-shop-page .woocommerce {
        width: min(var(--max), calc(100% - 28px));
    }

    .layer8-shop-page ul.products {
        grid-template-columns: 1fr;
    }

    .layer8-shop-page .woocommerce-result-count {
        min-height: 0;
    }

    .layer8-shop-page .woocommerce-ordering {
        float: none;
        display: flex;
        margin-bottom: 1rem;
    }

    .layer8-shop-page .woocommerce-ordering select {
        width: 100%;
    }
}

@media (max-width: 680px) {
    body.woocommerce-account {
        overflow-x: clip;
    }

    .layer8-account-page .post-hero {
        overflow-x: clip;
        padding-block: clamp(4.25rem, 14vw, 5.5rem);
    }

    .layer8-account-page .post-hero-inner {
        width: min(var(--max), calc(100% - 28px));
    }

    .layer8-account-page .post-hero-title {
        max-width: 9ch;
        font-size: clamp(2.35rem, 12.5vw, 3.05rem);
        line-height: 1;
        letter-spacing: 0;
    }

    .layer8-account-page .post-hero-subtitle,
    .layer8-account-page .layer8-wc-hero-subtitle,
    .layer8-account-page .layer8-shop-hero-subtitle {
        max-width: min(100%, 22rem);
        white-space: normal;
        overflow-wrap: break-word;
        font-size: 1rem;
        line-height: 1.55;
    }
}
