:root {
    --blue: #123c7c;
    --blue-dark: #082d63;
    --red: #d7263d;
    --red-dark: #ad1830;
    --white: #fff;
    --ink: #172033;
    --muted: #667085;
    --line: #dce3ef;
    --soft: #f5f7fb;
    --panel: rgba(255, 255, 255, 0.94);
    --shadow: 0 18px 44px rgba(18, 60, 124, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        linear-gradient(130deg, rgba(18, 60, 124, 0.08), transparent 34%),
        linear-gradient(230deg, rgba(215, 38, 61, 0.08), transparent 36%),
        var(--soft);
    font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.flag-line {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 5px;
}

.flag-line span:nth-child(1) {
    background: var(--blue);
}

.flag-line span:nth-child(2) {
    background: var(--white);
}

.flag-line span:nth-child(3) {
    background: var(--red);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 34px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--blue-dark);
    background: linear-gradient(135deg, var(--white) 0 50%, var(--red) 50% 100%);
    border: 1px solid var(--line);
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
}

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

.site-nav a,
.site-nav button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    font-weight: 750;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav button:hover {
    border-color: rgba(18, 60, 124, 0.32);
    color: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(18, 60, 124, 0.1);
}

.site-nav form {
    margin: 0;
}

.site-nav a.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav a.nav-cart:hover {
    border-color: rgba(18, 60, 124, 0.32);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 60, 124, 0.12);
    background: var(--soft);
}

.site-nav a.nav-cart .cart-icon-shape {
    margin-top: 2px;
}

.site-nav a.nav-cart .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.cart-pill-icon {
    gap: 10px;
}

.cart-icon-shape {
    position: relative;
    width: 22px;
    height: 17px;
    display: inline-block;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}

.cart-icon-shape::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: -9px;
    height: 10px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
}

.cart-count {
    min-width: 22px;
    min-height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
}

.page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px;
}

.page-wide {
    max-width: 1420px;
}

.page-wide-shell {
    width: 100%;
}

.landing-hero {
    position: relative;
    min-height: min(680px, calc(100svh - 150px));
    overflow: hidden;
    border-radius: 8px;
    display: grid;
    align-items: end;
    padding: 52px;
    margin-bottom: 18px;
    color: var(--white);
    background: var(--blue-dark);
    box-shadow: var(--shadow);
}

.premium-hero {
    min-height: min(720px, calc(100svh - 132px));
    align-items: center;
    margin-bottom: 16px;
}

.hero-visual,
.hero-visual img,
.hero-scan {
    position: absolute;
    inset: 0;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero-drift 16s ease-in-out infinite alternate;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 45, 99, 0.86) 0%, rgba(8, 45, 99, 0.58) 34%, rgba(8, 45, 99, 0.12) 72%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 42%);
}

.hero-scan {
    background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.22) 48%, transparent 56% 100%);
    mix-blend-mode: screen;
    animation: scan-glide 7s ease-in-out infinite;
}

.hero-route {
    position: absolute;
    right: 40px;
    bottom: 34px;
    display: flex;
    gap: 9px;
}

.hero-route span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--white);
    opacity: 0.38;
    animation: route-pulse 1.8s ease-in-out infinite;
}

.hero-route span:nth-child(2) {
    animation-delay: 160ms;
}

.hero-route span:nth-child(3) {
    animation-delay: 320ms;
}

.hero-route span:nth-child(4) {
    animation-delay: 480ms;
    background: var(--red);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-copy .eyebrow {
    color: #ffccd4;
}

.hero-copy h1 {
    max-width: 820px;
    font-size: 3.6rem;
    text-wrap: balance;
}

.premium-hero .hero-copy h1 {
    max-width: 620px;
    font-size: 5rem;
    line-height: 0.95;
}

.hero-copy p:not(.eyebrow) {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 720px;
    margin-top: 24px;
}

.hero-proof-list span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.btn-glass {
    border-color: rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.hero-metrics {
    position: absolute;
    right: 28px;
    top: 28px;
    z-index: 1;
    display: grid;
    gap: 10px;
    width: 190px;
}

.hero-metrics article {
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    font-size: 1.2rem;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.74);
}

.promise-band,
.catalogue-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.landing-proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 46px;
}

.landing-proof-strip article {
    display: grid;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.landing-proof-strip span {
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 900;
}

.landing-proof-strip strong {
    font-size: 1.18rem;
}

.landing-proof-strip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}

.about-kartoon {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 46px;
}

.about-kartoon-copy,
.about-kartoon-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.about-kartoon-copy {
    padding: 28px;
}

.about-kartoon-copy h2 {
    margin: 0;
    max-width: 640px;
    font-size: 2rem;
    line-height: 1.08;
    text-wrap: balance;
}

.about-kartoon-copy p:not(.eyebrow) {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.about-kartoon-identity {
    display: grid;
}

.about-kartoon-card {
    padding: 24px;
}

.about-kartoon-card-legal {
    background:
        linear-gradient(145deg, rgba(18, 60, 124, 0.05), rgba(255, 255, 255, 0.96)),
        var(--panel);
}

.about-kartoon-legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.about-kartoon-legal-grid div {
    min-height: 112px;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 60, 124, 0.1);
}

.about-kartoon-legal-grid span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.about-kartoon-legal-grid strong {
    font-size: 1.02rem;
    line-height: 1.45;
}

.promise-band {
    margin-bottom: 42px;
}

.promise-band article,
.catalogue-cards a,
.final-cta,
.featured-tile {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.promise-band article {
    padding: 20px;
}

.promise-band span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
    font-weight: 900;
}

.promise-band strong {
    display: block;
    margin-top: 14px;
    font-size: 1.15rem;
}

.promise-band p,
.section-heading p,
.catalogue-portal p,
.final-cta p {
    color: var(--muted);
    line-height: 1.6;
}

.showcase-section,
.catalogue-portal {
    margin-bottom: 42px;
}

.premium-showcase,
.logistics-panel,
.premium-catalogues {
    margin-bottom: 46px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
}

.section-heading h2,
.catalogue-portal h2,
.final-cta h2 {
    font-size: 2rem;
    line-height: 1.12;
    text-wrap: balance;
}

.featured-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.premium-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.featured-tile {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-tile:hover,
.catalogue-cards a:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(18, 60, 124, 0.16);
}

.featured-tile img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.featured-tile span,
.featured-tile strong {
    display: block;
    padding-inline: 15px;
}

.featured-tile span {
    padding-top: 14px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.featured-tile strong {
    min-height: 64px;
    padding-bottom: 15px;
    padding-top: 6px;
}

.premium-product img {
    height: 220px;
}

.text-link {
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}

.text-link:hover {
    color: var(--red);
}

.logistics-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
    padding: 30px;
    border-radius: 8px;
    background: #f4f7fb;
}

.logistics-panel h2 {
    max-width: 640px;
    font-size: 2rem;
    line-height: 1.13;
    text-wrap: balance;
}

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

.logistics-steps article {
    min-height: 130px;
    display: grid;
    align-content: space-between;
    padding: 16px;
    border: 1px solid rgba(18, 60, 124, 0.12);
    border-radius: 8px;
    background: var(--white);
}

.logistics-steps strong {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
}

.logistics-steps span {
    color: var(--ink);
    font-weight: 850;
    line-height: 1.35;
}

.catalogue-portal {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

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

.catalogue-cards a {
    min-height: 124px;
    padding: 18px;
    display: grid;
    align-content: space-between;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.catalogue-cards strong {
    font-size: 1.25rem;
}

.catalogue-cards span {
    color: var(--muted);
}

.final-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(18, 60, 124, 0.08), transparent),
        var(--panel);
}

.premium-final-cta {
    background: var(--blue-dark);
    color: var(--white);
}

.premium-final-cta p,
.premium-final-cta .eyebrow {
    color: rgba(255, 255, 255, 0.74);
}

.premium-final-cta h2 {
    max-width: 780px;
}

.shop-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.active-group-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(18, 60, 124, 0.2);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(18, 60, 124, 0.08), rgba(255, 255, 255, 0.9));
    box-shadow: 0 12px 28px rgba(18, 60, 124, 0.08);
}

.active-group-banner div {
    display: grid;
    gap: 2px;
}

.active-group-banner span,
.active-group-banner small {
    color: var(--muted);
}

.active-group-banner strong {
    color: var(--blue);
    font-size: 1.05rem;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    letter-spacing: 0;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.05;
}

h2 {
    font-size: 1.1rem;
}

.btn,
.cart-pill {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cart-pill.cart-bump,
.nav-cart.cart-bump {
    animation: cart-bounce 620ms ease;
}

.btn::before,
.cart-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.34) 48%, transparent 64% 100%);
    transform: translateX(-115%);
    transition: transform 520ms ease;
}

.btn:hover::before,
.cart-pill:hover::before {
    transform: translateX(115%);
}

.btn:hover,
.cart-pill:hover,
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-primary:hover {
    background: var(--red-dark);
}

.btn-secondary {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
}

.notice,
.panel,
.summary-panel,
.auth-panel,
.success-panel,
.product-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.notice {
    margin-bottom: 18px;
    padding: 14px 16px;
}

.notice-success {
    color: #15803d;
}

.notice-error,
small {
    color: var(--red-dark);
}

.category-strip {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    margin-bottom: 22px;
    padding-bottom: 4px;
}

.category-strip a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    white-space: nowrap;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.category-strip a:hover {
    border-color: rgba(18, 60, 124, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(18, 60, 124, 0.1);
}

.category-strip a.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

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

.product-card {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
    position: relative;
    display: grid;
    grid-template-rows: 220px minmax(218px, auto) auto;
    background: linear-gradient(180deg, var(--white), rgba(255, 255, 255, 0.92));
}

.product-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--white), var(--red));
    opacity: 0;
    transition: opacity 180ms ease;
}

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

.product-card.is-adding {
    animation: add-card-pop 520ms ease;
}

.product-card.is-adding::after {
    opacity: 1;
}

.product-media {
    height: 220px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(18, 60, 124, 0.1), rgba(215, 38, 61, 0.1));
    color: var(--blue);
    font-size: 3rem;
    font-weight: 900;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms ease, filter 520ms ease;
}

.product-card:hover .product-media img {
    transform: scale(1.065);
    filter: saturate(1.05) contrast(1.03);
}

.product-body {
    display: grid;
    align-content: start;
    gap: 11px;
    padding: 18px;
}

.product-body p,
.product-price-row small {
    margin: 0;
    color: var(--muted);
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 30px;
}

.product-category,
.product-note {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.product-category {
    background: #eef4ff;
    color: var(--blue);
}

.product-note {
    background: #fff1f3;
    color: var(--red-dark);
}

.product-body h2 {
    min-height: 54px;
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.25;
}

.product-body p {
    min-height: 42px;
    line-height: 1.45;
}

.product-price-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.product-price-row strong {
    color: var(--blue);
    font-size: 1.45rem;
    line-height: 1;
}

.product-price-row small {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f8fafc;
    font-size: 0.78rem;
    font-weight: 850;
}

.add-row {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 10px;
    padding: 0 16px 16px;
}

.quantity-stepper {
    display: grid;
    grid-template-columns: 36px minmax(42px, 1fr) 36px;
    align-items: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.quantity-stepper button {
    width: 36px;
    height: 44px;
    border: 0;
    background: #f8fafc;
    color: var(--blue);
    cursor: pointer;
    font-weight: 900;
    transition: background 160ms ease, color 160ms ease;
}

.quantity-stepper button:hover {
    background: var(--blue);
    color: var(--white);
}

.quantity-stepper input {
    min-height: 44px;
    border: 0;
    border-inline: 1px solid var(--line);
    border-radius: 0;
    text-align: center;
    padding: 0 4px;
    background: var(--white);
    box-shadow: none;
}

.quantity-stepper input:focus {
    transform: none;
    box-shadow: inset 0 0 0 2px rgba(18, 60, 124, 0.16);
}

input,
select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    background: var(--white);
    outline: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(18, 60, 124, 0.11);
    transform: translateY(-1px);
}

select {
    cursor: pointer;
}

.password-field {
    position: relative;
    display: block;
    font-weight: 400 !important;
}

.password-field input {
    padding-right: 48px;
}

.form-field input.is-valid,
.form-field select.is-valid {
    border-color: #15803d;
    background: #f3fff6;
    box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.1);
}

.form-field input.is-invalid,
.form-field select.is-invalid {
    border-color: var(--red);
    background: #fff5f6;
    box-shadow: 0 0 0 4px rgba(215, 38, 61, 0.1);
}

.form-field input.is-pending,
.form-field select.is-pending {
    border-color: #b7791f;
    background: #fffcee;
    box-shadow: 0 0 0 4px rgba(183, 121, 31, 0.11);
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 160ms ease, color 160ms ease;
}

.password-toggle:hover,
.password-toggle.is-visible {
    background: rgba(18, 60, 124, 0.1);
    color: var(--blue);
}

.password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.cart-panel {
    padding: 0;
    overflow: hidden;
}

.cart-review {
    display: grid;
}

.cart-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 132px 132px;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
    transition: background 160ms ease, transform 160ms ease;
}

.cart-item:hover {
    background: var(--white);
    transform: translateX(2px);
}

.cart-item-media {
    width: 84px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(18, 60, 124, 0.1), rgba(215, 38, 61, 0.1));
    color: var(--blue);
    font-weight: 900;
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-main {
    display: grid;
    gap: 4px;
}

.cart-item-main span,
.cart-item-main small,
.cart-summary small {
    color: var(--muted);
}

.line-total {
    justify-self: end;
    color: var(--blue);
    font-size: 1.08rem;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    padding: 18px;
    background: rgba(248, 250, 252, 0.82);
}

.panel,
.summary-panel,
.auth-panel,
.success-panel {
    padding: 22px;
}

.summary-panel,
.auth-panel,
.success-panel {
    display: grid;
    gap: 14px;
    align-content: start;
}

.verification-panel {
    max-width: 560px;
}

.auth-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.auth-copy strong {
    color: var(--blue);
    font-size: 1rem;
}

.resend-form {
    display: grid;
    gap: 7px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}

.resend-form .btn:disabled {
    border-color: #cbd5e1;
    background: #e5e7eb;
    color: #667085;
    box-shadow: none;
    cursor: not-allowed;
}

.resend-form small {
    color: var(--muted);
}

.summary-panel strong,
.success-panel strong {
    color: var(--blue);
    font-size: 2rem;
}

.cart-lines,
.form-stack,
.order-list {
    display: grid;
    gap: 14px;
}

.cart-line,
.order-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px 120px;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.order-row {
    grid-template-columns: minmax(0, 1fr);
}

.cart-line span,
.order-row span,
.company-box span {
    display: block;
    color: var(--muted);
}

.form-stack label {
    display: grid;
    gap: 7px;
}

.form-field {
    display: grid;
    gap: 7px;
    align-content: start;
}

.form-field > label {
    display: grid;
    gap: 7px;
}

.field-error {
    min-height: 2.55em;
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
}

.field-error.is-valid {
    color: #15803d;
}

.field-error.is-invalid {
    color: var(--red-dark);
}

.field-error.is-pending {
    color: #9a6700;
}

.field-error.is-neutral {
    color: var(--muted);
}

.form-stack label span,
.slot-select span {
    font-weight: 800;
}

.slot-select {
    display: grid;
    gap: 7px;
}

.pro-split-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.pro-split-main,
.delivery-splits {
    display: grid;
    gap: 18px;
}

.pro-split-summary {
    position: sticky;
    top: 92px;
}

.checkout-summary-card.summary-panel,
.pro-split-summary.summary-panel {
    gap: 9px;
    padding: 18px;
}

.checkout-summary-card .checkout-total-number,
.pro-split-summary .checkout-total-number {
    font-size: 1.05rem;
    line-height: 1.15;
}

.checkout-summary-card .checkout-grand-total,
.pro-split-summary .checkout-grand-total {
    font-size: 1.24rem;
    line-height: 1.1;
}

.checkout-summary-card > .checkout-summary-label,
.pro-split-summary > span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-summary-card .checkout-breakdown,
.pro-split-summary .checkout-breakdown {
    margin: 2px 0 4px;
}

.checkout-summary-card small,
.pro-split-summary small {
    color: var(--muted);
    line-height: 1.45;
}

.panel-heading-lite {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 14px;
    margin-bottom: 16px;
}

.delivery-heading-copy {
    display: grid;
    gap: 4px;
}

.panel-heading-lite h2 {
    font-size: 1.2rem;
}

.delivery-collapsed-summary {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.delivery-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.delivery-split {
    display: grid;
    gap: 16px;
}

.delivery-split-active {
    border-color: rgba(18, 60, 124, 0.34);
    box-shadow: 0 18px 42px rgba(18, 60, 124, 0.14);
}

.delivery-remove {
    min-height: 34px;
    padding-inline: 10px;
}

.delivery-toggle-button {
    min-height: 34px;
    padding-inline: 12px;
}

.delivery-group-body[hidden] {
    display: none;
}

.split-items {
    display: grid;
    gap: 8px;
}

.split-items-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
}

.split-items-heading strong {
    color: var(--ink);
}

.split-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.7);
}

.split-item-row span {
    min-width: 0;
    font-weight: 800;
}

.split-item-row small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
}

.split-item-row input {
    min-height: 38px;
    padding: 6px 8px;
    text-align: center;
}

.group-items {
    display: grid;
    gap: 10px;
}

.group-article-search {
    position: relative;
    display: grid;
    gap: 8px;
}

.address-autocomplete-field {
    position: relative;
}

.group-article-search label {
    display: grid;
    gap: 7px;
}

.group-article-search label span {
    font-weight: 850;
}

.autocomplete-panel {
    position: absolute;
    z-index: 18;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    max-height: 290px;
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(18, 60, 124, 0.16);
}

.autocomplete-panel[hidden] {
    display: none;
}

.form-grid label {
    position: relative;
}

.article-result-row,
.address-result-row {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.article-result-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.address-result-row {
    display: grid;
    gap: 2px;
    padding: 10px;
}

.article-result-row:hover,
.address-result-row:hover {
    background: rgba(18, 60, 124, 0.06);
}

.article-result-thumb {
    width: 46px;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(18, 60, 124, 0.08);
    color: var(--blue);
    font-weight: 900;
}

.article-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-result-row strong,
.article-result-row small,
.address-result-row strong,
.address-result-row small {
    display: block;
}

.article-result-row small,
.address-result-row small,
.autocomplete-empty {
    color: var(--muted);
    font-size: 0.8rem;
}

.article-result-row b {
    display: grid;
    place-items: center;
    width: 28px;
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(18, 60, 124, 0.08);
    color: var(--blue);
}

.autocomplete-empty {
    padding: 10px;
}

.checkout-item-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.72);
}

.checkout-item-thumb {
    width: 54px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(18, 60, 124, 0.08), rgba(215, 38, 61, 0.08));
    color: var(--blue);
    font-weight: 900;
}

.checkout-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-row strong,
.checkout-item-row span {
    display: block;
}

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

.checkout-item-row b {
    color: var(--blue);
    font-size: 0.95rem;
    white-space: nowrap;
}

.line-quantity-control {
    display: grid;
    grid-template-columns: 30px 28px 30px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.line-quantity-control button {
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.line-quantity-control button:hover {
    background: rgba(18, 60, 124, 0.08);
}

.line-quantity-control button:disabled {
    cursor: wait;
    opacity: 0.5;
}

.line-quantity-control span {
    color: var(--ink);
    text-align: center;
    font-weight: 850;
}

.item-remove-button,
.group-delete-button {
    width: 36px;
    min-height: 36px;
    padding: 0;
    border: 1px solid rgba(215, 38, 61, 0.22);
    border-radius: 8px;
    background: rgba(215, 38, 61, 0.06);
    color: var(--red);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.item-remove-button:hover,
.group-delete-button:hover {
    transform: translateY(-1px);
    border-color: rgba(215, 38, 61, 0.38);
    background: rgba(215, 38, 61, 0.11);
}

.item-remove-button:disabled,
.group-delete-button:disabled {
    cursor: wait;
    opacity: 0.55;
    transform: none;
}

.item-remove-button svg,
.group-delete-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkout-item-row.is-removing {
    opacity: 0.45;
    transform: translateX(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.delivery-split.is-removing {
    opacity: 0.45;
    transform: translateX(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.compact-empty {
    min-height: 112px;
}

.delivery-options {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.checkout-breakdown {
    display: grid;
    gap: 8px;
}

.checkout-breakdown-card {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.72);
}

.checkout-breakdown-card strong,
.checkout-breakdown-card b {
    color: var(--blue);
    font-size: 0.88rem;
    line-height: 1.2;
}

.checkout-breakdown-card span,
.checkout-breakdown-card li {
    color: var(--muted);
}

.checkout-breakdown-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.checkout-breakdown-header div {
    min-width: 0;
}

.checkout-breakdown-header strong,
.checkout-breakdown-header span {
    display: block;
}

.checkout-breakdown-header strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-breakdown-header span {
    margin-top: 3px;
    overflow-wrap: anywhere;
    font-size: 0.8rem;
}

.checkout-breakdown-header b {
    min-width: 72px;
    text-align: right;
    white-space: nowrap;
}

.checkout-breakdown-card ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-breakdown-card li,
.checkout-breakdown-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 12px;
    margin: 0;
    font-size: 0.82rem;
}

.checkout-breakdown-card li span,
.checkout-breakdown-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.checkout-breakdown-card li b,
.checkout-breakdown-row b {
    min-width: 72px;
    text-align: right;
    white-space: nowrap;
}

.checkout-breakdown-row {
    padding-top: 7px;
    border-top: 1px dashed rgba(107, 119, 141, 0.25);
}

.checkout-breakdown-row + .checkout-breakdown-row {
    padding-top: 0;
    border-top: 0;
}

.delivery-options legend {
    padding: 0;
    margin-bottom: 2px;
    font-weight: 850;
}

.delivery-options label {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.delivery-options label:hover {
    border-color: rgba(18, 60, 124, 0.28);
    box-shadow: 0 12px 28px rgba(18, 60, 124, 0.08);
    transform: translateY(-1px);
}

.delivery-options input {
    width: 18px;
    min-height: 18px;
    padding: 0;
}

.delivery-options input:focus {
    transform: none;
    box-shadow: 0 0 0 4px rgba(18, 60, 124, 0.12);
}

.delivery-options input:disabled + span,
.delivery-options input:disabled ~ strong {
    color: var(--muted);
    opacity: 0.55;
}

.delivery-options strong {
    color: var(--blue);
    font-size: 0.95rem;
    white-space: nowrap;
}

.cart-fly-token {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 30;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    pointer-events: none;
    background: var(--red);
    box-shadow: 0 10px 24px rgba(215, 38, 61, 0.35);
    transform: translate(var(--fly-start-x), var(--fly-start-y)) scale(0.75);
    animation: fly-to-cart 420ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

@keyframes add-card-pop {
    0% {
        transform: translateY(0) scale(1);
    }
    45% {
        transform: translateY(-4px) scale(1.015);
        box-shadow: 0 24px 52px rgba(215, 38, 61, 0.18);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes fly-to-cart {
    0% {
        opacity: 0.95;
        transform: translate(var(--fly-start-x), var(--fly-start-y)) scale(0.75);
    }

    100% {
        opacity: 0;
        transform: translate(var(--fly-end-x), var(--fly-end-y)) scale(0.3);
    }
}

@keyframes cart-bounce {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    42% {
        transform: translateY(-4px) scale(1.04);
    }
}

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

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

.pro-register-shell {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 18px;
    align-items: stretch;
}

.pro-register-aside,
.pro-register-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.pro-register-aside {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: grid;
    align-content: end;
    gap: 18px;
    padding: 30px;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(8, 45, 99, 0.18), rgba(8, 45, 99, 0.94)),
        url("../images/kartoon/hero-logistique-france.png") center / cover;
}

.pro-register-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.2) 48%, transparent 58% 100%);
    animation: scan-glide 8s ease-in-out infinite;
}

.pro-register-aside > * {
    position: relative;
    z-index: 1;
}

.pro-register-aside .eyebrow {
    color: #ffccd4;
}

.pro-register-aside h1 {
    font-size: 2.55rem;
    text-wrap: balance;
}

.pro-register-aside p:not(.eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.pro-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.pro-proof-grid span {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    text-align: center;
    font-size: 0.86rem;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.pro-register-form {
    padding: 24px;
    background:
        linear-gradient(140deg, rgba(18, 60, 124, 0.045), transparent 44%),
        var(--panel);
}

.form-title-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 14px;
}

.form-title-row h2 {
    font-size: 1.6rem;
}

.form-section {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(220, 227, 239, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.form-section:hover {
    border-color: rgba(18, 60, 124, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(18, 60, 124, 0.08);
}

.form-section h3 {
    margin: 0;
    color: var(--blue);
    font-size: 1rem;
}

.btn-wide {
    width: 100%;
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 9px;
}

.checkbox-row input {
    width: 18px;
    min-height: 18px;
}

.auth-panel,
.success-panel {
    max-width: 520px;
    margin: 30px auto;
}

.order-success-shell {
    display: grid;
    gap: 20px;
}

.order-success-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(215, 38, 61, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(18, 60, 124, 0.98), rgba(10, 39, 88, 0.94));
    color: var(--white);
}

.order-success-hero .eyebrow,
.order-success-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.order-success-hero h1 {
    margin: 0 0 10px;
    color: var(--white);
}

.order-success-copy p:last-child {
    max-width: 620px;
    margin: 0;
    line-height: 1.6;
}

.order-success-status {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.order-success-status strong,
.order-success-status span {
    display: block;
    color: var(--white);
}

.order-success-status span {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.74);
}

.success-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 900;
}

.order-success-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.order-success-metric {
    display: grid;
    gap: 8px;
}

.order-success-metric span,
.order-success-metric small {
    color: var(--muted);
}

.order-success-metric strong {
    font-size: 1.7rem;
}

.order-success-metric-accent {
    background: linear-gradient(135deg, rgba(18, 60, 124, 0.96), rgba(26, 75, 151, 0.92));
}

.order-success-metric-accent span,
.order-success-metric-accent small,
.order-success-metric-accent strong {
    color: var(--white);
}

.order-success-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
    gap: 20px;
}

.order-success-details {
    display: grid;
    gap: 20px;
}

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

.success-detail-grid > div {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(247, 250, 254, 0.9);
}

.success-detail-grid span,
.success-detail-grid small {
    color: var(--muted);
}

.success-detail-grid strong {
    color: var(--ink);
    font-size: 1rem;
}

.success-items-list {
    display: grid;
    gap: 12px;
}

.success-item-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.success-item-thumb {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(18, 60, 124, 0.08), rgba(215, 38, 61, 0.08));
    color: var(--blue);
    font-weight: 800;
}

.success-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-item-copy {
    display: grid;
    gap: 4px;
}

.success-item-copy small,
.success-note {
    color: var(--muted);
}

.order-success-summary {
    gap: 16px;
}

.success-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.success-total-line span {
    color: var(--muted);
}

.success-total-line strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.success-total-line.is-discount strong {
    color: var(--red);
}

.success-total-line.is-grand strong {
    color: var(--blue);
    font-size: 1.5rem;
}

.success-actions {
    display: grid;
    gap: 10px;
}

@media (max-width: 980px) {
    .order-success-hero,
    .order-success-grid,
    .order-success-metrics,
    .success-detail-grid {
        grid-template-columns: 1fr;
    }

    .order-success-status {
        width: 100%;
        justify-content: flex-start;
    }
}

.company-box {
    display: grid;
    gap: 6px;
    margin: 14px 0 20px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.empty-state {
    min-height: 190px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    color: var(--muted);
}

.empty-state strong {
    color: var(--ink);
}

nav[role="navigation"] {
    margin-top: 20px;
}

@media (max-width: 920px) {
    .product-grid,
    .checkout-grid,
    .cart-layout,
    .pro-split-shell,
    .form-grid,
    .promise-band,
    .landing-proof-strip,
    .about-kartoon,
    .featured-ribbon,
    .premium-showcase-grid,
    .catalogue-portal,
    .catalogue-cards,
    .logistics-panel,
    .logistics-steps,
    .pro-register-shell,
    .pro-proof-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .cart-item .quantity-stepper,
    .line-total {
        grid-column: 2;
        justify-self: start;
    }

    .checkout-item-row {
        grid-template-columns: 54px minmax(0, 1fr) auto;
    }

    .checkout-item-row .line-quantity-control {
        grid-column: 2;
        justify-self: start;
    }

    .checkout-item-row b {
        grid-column: 3;
    }

    .checkout-item-row .item-remove-button {
        grid-column: 3;
        justify-self: end;
    }

    .site-header,
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    h1 {
        font-size: 2.2rem;
    }

    .landing-hero {
        padding: 28px;
        min-height: 620px;
    }

    .hero-copy h1 {
        font-size: 2.5rem;
    }

    .premium-hero .hero-copy h1 {
        font-size: 3rem;
    }

    .hero-metrics {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 26px;
    }

    .final-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-proof-strip,
    .about-kartoon,
    .premium-showcase,
    .logistics-panel,
    .premium-catalogues {
        margin-bottom: 30px;
    }

    .pro-register-aside {
        min-height: 460px;
    }
}

@media (max-width: 620px) {
    .page,
    .site-header {
        padding: 20px 16px;
    }

    .site-nav,
    .site-nav a,
    .site-nav button,
    .btn,
    .cart-pill {
        width: 100%;
    }

    .cart-line {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-media,
    .cart-item .quantity-stepper,
    .line-total {
        grid-column: auto;
        justify-self: stretch;
    }

    .cart-item-media {
        width: 100%;
        max-height: 180px;
    }

    .add-row {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 2.05rem;
    }

    .premium-hero .hero-copy h1 {
        font-size: 2.4rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .about-kartoon-copy,
    .about-kartoon-card {
        padding: 20px;
    }

    .about-kartoon-copy h2 {
        font-size: 1.62rem;
    }

    .about-kartoon-legal-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        width: 100%;
    }

    .product-card {
        grid-template-rows: 210px minmax(0, auto) auto;
    }

    .product-body h2,
    .product-body p {
        min-height: auto;
    }

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

    .form-title-row {
        flex-direction: column;
    }

    .pro-register-aside h1 {
        font-size: 2rem;
    }
}

@keyframes hero-drift {
    from {
        transform: scale(1.02) translate3d(-10px, 0, 0);
    }

    to {
        transform: scale(1.08) translate3d(18px, -8px, 0);
    }
}

@keyframes scan-glide {
    0%,
    35% {
        transform: translateX(-100%);
        opacity: 0;
    }

    55% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes route-pulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }

    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.shop-toolbar-pro {
    align-items: flex-end;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pro-portal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
    gap: 22px;
    margin-bottom: 24px;
}

.pro-portal-hero-copy,
.portal-panel,
.pro-kpi-card,
.invoice-sheet {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.pro-portal-hero-copy {
    padding: 30px;
    background:
        linear-gradient(145deg, rgba(18, 60, 124, 0.96), rgba(8, 45, 99, 0.96)),
        var(--blue-dark);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.pro-portal-hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -80px -90px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.pro-portal-hero-copy h1 {
    margin: 8px 0 12px;
    max-width: 14ch;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.03;
}

.pro-portal-hero-copy p:last-of-type {
    margin: 0;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.84);
}

.pro-portal-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.pro-portal-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pro-kpi-card {
    min-height: 148px;
    padding: 20px;
    display: grid;
    align-content: space-between;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.pro-kpi-card:hover,
.portal-panel:hover,
.pro-order-card:hover,
.pro-claim-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(18, 60, 124, 0.14);
}

.pro-kpi-card span,
.portal-panel .eyebrow {
    color: var(--red);
}

.pro-kpi-card strong {
    font-size: 1.6rem;
    line-height: 1.05;
}

.pro-kpi-card small {
    color: var(--muted);
}

.pro-kpi-card.accent {
    background: linear-gradient(160deg, rgba(18, 60, 124, 0.98), rgba(215, 38, 61, 0.9));
    color: var(--white);
}

.pro-kpi-card.accent span,
.pro-kpi-card.accent small {
    color: rgba(255, 255, 255, 0.82);
}

.pro-portal-grid,
.pro-order-show-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 22px;
}

.reclamation-grid {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.portal-panel {
    padding: 24px;
    display: grid;
    gap: 18px;
}

.portal-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.portal-panel-head h2,
.pro-detail-block h3,
.invoice-sheet h2,
.invoice-sheet h3 {
    margin: 4px 0 0;
    font-size: 1.45rem;
    line-height: 1.1;
}

.pro-order-list,
.pro-orders-grid,
.pro-claim-list,
.pro-subdelivery-list {
    display: grid;
    gap: 14px;
}

.pro-order-card,
.pro-claim-card,
.pro-subdelivery-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid rgba(18, 60, 124, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 247, 251, 0.98));
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pro-order-card {
    cursor: pointer;
}

.pro-order-card:hover {
    border-color: rgba(18, 60, 124, 0.24);
}

.pro-order-card-top,
.pro-claim-card-top,
.pro-subdelivery-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.pro-order-card-top strong,
.pro-claim-card-top strong,
.pro-subdelivery-head strong {
    display: block;
    font-size: 1.05rem;
}

.pro-order-card-top span,
.pro-claim-card-top small,
.pro-subdelivery-head span,
.pro-subdelivery-meta span,
.pro-order-card-actions,
.pro-order-meta-grid span,
.pro-detail-block dt,
.invoice-grid p {
    color: var(--muted);
}

.pro-order-card-body,
.pro-order-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pro-order-meta-grid.hero {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pro-order-card-body div,
.pro-order-meta-grid > div {
    padding: 14px;
    border-radius: 8px;
    background: rgba(18, 60, 124, 0.04);
    display: grid;
    gap: 6px;
}

.pro-order-card-body b,
.pro-order-meta-grid b {
    font-size: 1rem;
}

.pro-order-card-actions,
.pro-order-inline-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pro-order-inline-actions {
    justify-content: flex-start;
}

.pro-claim-card p,
.pro-claim-card-large p {
    margin: 0;
    line-height: 1.55;
}

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

.pro-detail-block {
    padding: 18px;
    border-radius: 8px;
    background: rgba(18, 60, 124, 0.04);
}

.pro-detail-block dl {
    margin: 14px 0 0;
    display: grid;
    gap: 14px;
}

.pro-detail-block dl div {
    display: grid;
    gap: 4px;
}

.pro-detail-block dt {
    font-size: 0.9rem;
    font-weight: 700;
}

.pro-detail-block dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.pro-table-wrap {
    overflow: visible;
}

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

.pro-table th,
.pro-table td,
.invoice-table th,
.invoice-table td {
    padding: 14px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(18, 60, 124, 0.08);
}

.pro-table th,
.invoice-table th {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

.pro-claim-form {
    display: grid;
    gap: 16px;
}

.pro-claim-form textarea {
    min-height: 180px;
    resize: vertical;
}

.invoice-sheet {
    padding: 30px;
    display: grid;
    gap: 24px;
}

.invoice-head,
.invoice-grid,
.invoice-totals {
    display: grid;
    gap: 16px;
}

.invoice-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.invoice-head .brand-mark {
    margin-bottom: 10px;
}

.invoice-head h2 {
    margin: 0 0 6px;
}

.invoice-head p {
    margin: 0;
    color: var(--muted);
}

.invoice-meta {
    display: grid;
    justify-items: end;
    gap: 8px;
}

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

.invoice-grid h3 {
    margin: 0 0 10px;
}

.invoice-totals {
    margin-left: auto;
    width: min(100%, 360px);
}

.invoice-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(18, 60, 124, 0.08);
}

.invoice-total-final {
    font-size: 1.1rem;
}

@media print {
    .site-header,
    .print-hidden,
    .notice {
        display: none !important;
    }

    body,
    .page {
        background: #fff;
        padding: 0;
        margin: 0;
    }

    .invoice-sheet {
        box-shadow: none;
        border: 0;
    }
}

@media (max-width: 1080px) {
    .pro-portal-hero,
    .pro-portal-grid,
    .pro-order-show-shell,
    .reclamation-grid {
        grid-template-columns: 1fr;
    }

    .pro-order-meta-grid.hero,
    .pro-order-card-body,
    .invoice-grid,
    .pro-order-subsections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .toolbar-actions,
    .pro-portal-hero-actions,
    .pro-order-inline-actions,
    .pro-order-card-actions,
    .portal-panel-head,
    .pro-order-card-top,
    .pro-claim-card-top,
    .pro-subdelivery-head {
        flex-direction: column;
        align-items: stretch;
    }

    .invoice-head {
        grid-template-columns: 1fr;
    }

    .pro-portal-kpis,
    .pro-order-card-body,
    .pro-order-meta-grid,
    .pro-order-meta-grid.hero,
    .pro-order-subsections,
    .pro-subdelivery-meta,
    .invoice-grid {
        grid-template-columns: 1fr;
    }

    .invoice-meta {
        justify-items: start;
    }
}

.pro-dashboard-shell {
    display: grid;
    gap: 24px;
}

.pro-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 22px;
    align-items: stretch;
}

.pro-dashboard-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 18px;
    padding: 34px;
    border-radius: 10px;
    border: 1px solid rgba(88, 131, 228, 0.18);
    background:
        radial-gradient(circle at 82% 22%, rgba(75, 130, 255, 0.18), transparent 36%),
        linear-gradient(140deg, #0d2e68, #082350 62%, #071e45);
    color: var(--white);
    box-shadow: 0 24px 50px rgba(8, 35, 80, 0.24);
}

.pro-dashboard-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.18;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.pro-dashboard-hero-copy,
.pro-dashboard-hero-visual {
    position: relative;
    z-index: 1;
}

.pro-dashboard-hero-copy h1 {
    margin: 10px 0 14px;
    max-width: 12ch;
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.pro-dashboard-hero-copy h1::after {
    content: "";
    display: block;
    width: 140px;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef3340 0 28%, rgba(255, 255, 255, 0.85) 28% 68%, #ef3340 68% 100%);
}

.pro-dashboard-hero-copy p:not(.eyebrow) {
    max-width: 56ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.62;
}

.pro-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.pro-dashboard-actions .btn {
    min-height: 46px;
    padding-inline: 18px;
}

.pro-dashboard-actions .btn-secondary,
.pro-dashboard-actions .btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.18);
}

.pro-dashboard-actions .btn-secondary:hover,
.pro-dashboard-actions .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.pro-dashboard-hero-visual {
    display: grid;
    place-items: center;
    min-height: 100%;
}

.hero-france-map {
    width: 100%;
    max-width: 245px;
    height: auto;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.18));
}

.hero-visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual-ring-a {
    inset: 18px 6px auto auto;
    width: 128px;
    height: 128px;
}

.hero-visual-ring-b {
    inset: auto auto 12px 6px;
    width: 82px;
    height: 82px;
}

.pro-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pro-stat-card {
    padding: 18px 18px 14px;
    border-radius: 10px;
    border: 1px solid rgba(18, 60, 124, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(18, 60, 124, 0.08);
    display: grid;
    gap: 10px;
    min-height: 144px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pro-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 60, 124, 0.16);
    box-shadow: 0 22px 46px rgba(18, 60, 124, 0.11);
}

.pro-stat-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 750;
}

.pro-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
}

.pro-stat-icon svg {
    width: 18px;
    height: 18px;
}

.pro-stat-icon.blue {
    background: rgba(36, 87, 214, 0.1);
    color: #2457d6;
}

.pro-stat-icon.cyan {
    background: rgba(32, 154, 255, 0.11);
    color: #209aff;
}

.pro-stat-icon.red {
    background: rgba(239, 51, 64, 0.11);
    color: #ef3340;
}

.pro-stat-icon.navy {
    background: rgba(9, 37, 94, 0.1);
    color: #123c7c;
}

.pro-stat-value {
    font-size: clamp(1.95rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
    color: #142544;
}

.pro-stat-value.money {
    font-size: clamp(1.6rem, 2.6vw, 2.05rem);
}

.pro-stat-card small {
    color: var(--muted);
}

.pro-stat-sparkline {
    width: 100%;
    height: 34px;
    margin-top: auto;
}

.pro-stat-sparkline path {
    fill: none;
    stroke: #3f78ff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pro-stat-sparkline.danger path {
    stroke: #ef3340;
}

.pro-dashboard-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pro-dashboard-panel {
    padding: 26px;
    border-radius: 10px;
    border: 1px solid rgba(18, 60, 124, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(18, 60, 124, 0.08);
    display: grid;
    gap: 18px;
}

.pro-dashboard-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pro-dashboard-panel-head h2 {
    margin: 4px 0 0;
    font-size: 2rem;
    line-height: 1.05;
}

.pro-panel-link {
    align-self: center;
    color: #2457d6;
    font-weight: 700;
    transition: transform 180ms ease, color 180ms ease;
}

.pro-panel-link::after {
    content: "→";
    margin-left: 6px;
}

.pro-panel-link:hover {
    color: #123c7c;
    transform: translateX(2px);
}

.pro-panel-link.danger {
    color: #ef3340;
}

.pro-dashboard-empty {
    min-height: 330px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px 20px 8px;
}

.pro-dashboard-empty strong {
    display: block;
    margin-top: 8px;
    font-size: 1.2rem;
}

.pro-dashboard-empty span {
    max-width: 26ch;
    color: var(--muted);
    line-height: 1.6;
}

.pro-empty-illustration {
    width: 140px;
    height: 140px;
    display: grid;
    place-items: center;
}

.pro-empty-illustration svg {
    width: 100%;
    height: 100%;
}

.btn-danger-outline {
    border-color: rgba(239, 51, 64, 0.24);
    color: #ef3340;
}

.btn-danger-outline:hover {
    border-color: rgba(239, 51, 64, 0.4);
    color: #c42031;
}

.pro-dashboard-order-list,
.pro-dashboard-claim-list {
    display: grid;
    gap: 14px;
}

.pro-dashboard-order-card,
.pro-dashboard-claim-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid rgba(18, 60, 124, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 253, 0.98));
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pro-dashboard-order-card:hover,
.pro-dashboard-claim-card:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 60, 124, 0.16);
    box-shadow: 0 16px 34px rgba(18, 60, 124, 0.1);
}

.pro-dashboard-order-top,
.pro-dashboard-claim-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pro-dashboard-order-top strong,
.pro-dashboard-claim-top strong {
    display: block;
    font-size: 1.03rem;
}

.pro-dashboard-order-top span:not(.pill),
.pro-dashboard-claim-card small,
.pro-dashboard-order-foot span,
.pro-dashboard-order-metrics span {
    color: var(--muted);
}

.pro-dashboard-order-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pro-dashboard-order-metrics > div {
    padding: 12px;
    border-radius: 8px;
    background: rgba(18, 60, 124, 0.04);
    display: grid;
    gap: 4px;
}

.pro-dashboard-order-foot {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.92rem;
}

.pro-dashboard-claim-card p {
    margin: 0;
    color: #24314b;
    line-height: 1.58;
}

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

    .pro-dashboard-hero-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .pro-dashboard-hero-visual {
        min-height: 180px;
    }
}

@media (max-width: 760px) {
    .pro-dashboard-hero-card,
    .pro-dashboard-panel {
        padding: 22px;
    }

    .pro-dashboard-stats,
    .pro-dashboard-order-metrics {
        grid-template-columns: 1fr;
    }

    .pro-dashboard-actions,
    .pro-dashboard-panel-head,
    .pro-dashboard-order-top,
    .pro-dashboard-claim-top,
    .pro-dashboard-order-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .pro-dashboard-panel-head h2 {
        font-size: 1.7rem;
    }

    .pro-dashboard-empty {
        min-height: 280px;
    }
}

.pro-portal-shell {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.pro-portal-shell-anchored {
    align-items: stretch;
}

.pro-portal-content {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.pro-portal-sidebar {
    position: sticky;
    top: 94px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    min-height: calc(100vh - 112px);
    padding: 20px 16px;
    border: 1px solid rgba(18, 60, 124, 0.08);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(10, 35, 78, 0.99), rgba(7, 29, 66, 0.98));
    color: var(--white);
    box-shadow: 0 20px 40px rgba(8, 35, 80, 0.18);
}

.pro-portal-sidebar-head {
    display: grid;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-portal-sidebar-brand {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.pro-portal-sidebar-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(145deg, #ffffff, rgba(255, 255, 255, 0.78));
    color: var(--blue);
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pro-portal-sidebar-brand .eyebrow {
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 3px;
}

.pro-portal-sidebar-head h2 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.15;
}

.pro-portal-sidebar-head span {
    color: rgba(255, 255, 255, 0.74);
    overflow-wrap: anywhere;
    font-size: 0.94rem;
    line-height: 1.45;
}

.pro-portal-nav {
    display: grid;
    gap: 8px;
    align-content: start;
}

.pro-portal-sidebar-foot {
    display: grid;
    gap: 10px;
    padding: 18px 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-portal-sidebar-foot .eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
}

.pro-portal-sidebar-foot strong {
    font-size: 1rem;
    line-height: 1.45;
}

.pro-portal-sidebar-foot span {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
}

.pro-portal-nav a {
    min-height: 48px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 0 12px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pro-portal-nav a:hover,
.pro-portal-nav a.active {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 28px rgba(4, 17, 39, 0.26);
}

.pro-portal-nav a.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(77, 121, 224, 0.22));
    color: var(--white);
}

.pro-portal-nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.pro-portal-nav-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.9;
}

.pro-portal-nav a.active .pro-portal-nav-icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

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

.portal-form-grid .field {
    gap: 10px;
}

.portal-form-grid .field > span {
    display: inline-block;
    margin-bottom: 2px;
}

.portal-panel-form {
    padding: 28px;
    gap: 24px;
}

.form-actions-spaced {
    margin-top: 8px;
}

.readonly-field {
    background: #f6f8fc;
    color: #4f5b70;
    border-style: dashed;
    cursor: not-allowed;
}

.promo-inline-card,
.checkout-featured-promo,
.landing-promo-banner {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(18, 60, 124, 0.08);
}

.promo-inline-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.promo-inline-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.promo-inline-head h3 {
    margin: 0;
    font-size: 1.02rem;
}

.promo-inline-state {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2f8;
    color: #5f6f88;
    font-size: 0.82rem;
    font-weight: 800;
}

.promo-inline-state.is-valid {
    background: #e8f7ec;
    color: #15803d;
}

.promo-inline-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.promo-inline-form input {
    min-width: 0;
}

.promo-inline-feedback {
    color: var(--muted);
    line-height: 1.5;
}

.promo-inline-feedback.is-error {
    color: var(--red-dark);
}

.promo-inline-feedback.is-success {
    color: var(--green);
}

.checkout-featured-promo,
.landing-promo-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.checkout-featured-promo h2,
.landing-promo-banner h2 {
    font-size: 1.8rem;
}

.checkout-featured-promo span,
.landing-promo-banner p {
    color: var(--muted);
    margin: 0;
}

.landing-promo-banner {
    margin-bottom: 28px;
    background:
        linear-gradient(135deg, rgba(18, 60, 124, 0.98), rgba(9, 38, 84, 0.96)),
        #0d326d;
    color: var(--white);
}

.landing-promo-banner .eyebrow,
.landing-promo-banner p {
    color: rgba(255, 255, 255, 0.82);
}

.promo-chip {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 800;
}

.landing-promo-actions {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.checkout-summary-discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0 2px;
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 800;
}

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

    .pro-portal-sidebar {
        position: static;
        min-height: auto;
        grid-template-rows: auto;
    }

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