/*
 * PixePrint Franchise - charte graphique, esprit pixeprint.com.
 *
 * Poppins est hébergée dans le site (assets/fonts/, graisses 400 à 800,
 * sous-ensembles latin, woff2, licence SIL OFL) : aucun appel à Google Fonts.
 *
 * Contrastes calculés (WCAG, ratio contre blanc) :
 * - blanc sur #EE275F (--brand) : 4.1 → réservé aux textes gras d'au moins 15 px
 *   (boutons, pastilles, bandeaux), jamais à des textes fins courts ;
 * - blanc sur #CA2151 (--brand-dark) : 5.5 → AA ;
 * - blanc sur #1A2636 (--ink) : 15.2 → AAA ;
 * - blanc sur #0E2E77 (--network, bleu du logo STAFFMATCH) : 12.5 → AAA :
 *   le bleu du réseau supporte à la fois le texte blanc et, comme
 *   --network-text, le texte bleu sur fond clair (12.5:1 sur blanc) ;
 * - #D81950 (--brand-text) sur blanc : 5.0 → AA, sert pour tout le texte rose
 *   fin sur fond blanc (liens, prix, titres soulignés) car #EE275F n'y atteint
 *   pas 4.5.
 */

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-400.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-500.woff2") format("woff2");
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-600.woff2") format("woff2");
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-700.woff2") format("woff2");
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-800.woff2") format("woff2");
    font-weight: 800; font-style: normal; font-display: swap;
}

:root {
    --brand: #EE275F;
    --brand-dark: #CA2151;
    --brand-text: #D81950;
    --brand-soft: #FDECF1;      /* --brand à ~10 % sur blanc, fonds de pastilles */
    --network: #0E2E77;         /* bleu du logo STAFFMATCH (12.5:1 avec le blanc) */
    --network-soft: #E7EAF1;    /* --network à ~10 % sur blanc, fonds de bandeaux */
    --network-text: #0E2E77;    /* texte bleu du réseau sur fond clair, 12.5:1 sur blanc */
    --ink: #1A2636;
    --ink-soft: #2B3850;        /* --ink éclairci, fonds secondaires bleu nuit */
    --muted: #5B6472;
    --line: #E5E7EB;
    --bg: #F7F7F9;
    --card: #FFFFFF;
    --success: #12A150;
    --success-soft: #E7F6EE;
    --warning: #E8A317;
    --warning-soft: #FDF4E3;
    --danger: #D92D20;
    --danger-soft: #FDECEB;
    --info: #2563EB;
    --info-soft: #E9EFFD;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
    --shadow-brand: 0 8px 24px rgba(238,39,95,.35);
    --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--network-text); outline-offset: 2px; }

/* ----- Bandeau de réassurance ----- */
.topbar { background: #152030; color: #fff; font-size: 13px; font-weight: 600; text-align: center; }
.topbar a { color: inherit; font-weight: 700; }
.topbar__inner {
    max-width: 1280px; margin: 0 auto; padding: 0 16px;
    min-height: 32px; display: flex; align-items: center; justify-content: center;
}
.topbar__items { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ----- En-tête ----- */
.header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header__inner {
    max-width: 1280px; margin: 0 auto; padding: 10px 16px;
    display: flex; align-items: center; gap: 16px; min-height: 70px;
}
.header__brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.header__brand:hover { text-decoration: none; }
.header__logo { height: 30px; width: auto; }
.header__logo--network { height: 17px; }
.header__sep { width: 1px; height: 34px; background: var(--line); }
.header__franchise { display: none; }
.header__search { flex: 1; display: flex; max-width: 420px; margin: 0 auto; }
.header__search input {
    flex: 1; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px;
    padding: 7px 16px; font: inherit; font-size: 13px; background: var(--bg);
}
.header__search button {
    border: 1px solid var(--ink); background: var(--ink); color: #fff;
    border-radius: 0 10px 10px 0; padding: 0 14px; cursor: pointer; font-size: 15px;
    display: inline-flex; align-items: center;
}
/* Icône de loupe des boutons de recherche (include inc/layout/icon-search.php). */
.icon-search { display: block; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; font-size: 22px; line-height: 1; padding: 6px; }
.cart-badge {
    position: absolute; top: -2px; right: -6px;
    background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
    min-width: 20px; height: 20px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
    transition: transform .15s ease;
}
.cart-badge.is-bumped { transform: scale(1.35); }
.burger {
    display: none; background: none; border: 0; font-size: 24px; cursor: pointer;
    color: var(--ink); padding: 4px 8px;
}
.menu { position: relative; }
.menu__button {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
    border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
    font-weight: 600; font-size: 12px; background: var(--card);
}
.menu__button::-webkit-details-marker { display: none; }
.menu__panel {
    position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; z-index: 40;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column;
}
.menu__panel a { padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.menu__panel a:hover { background: var(--bg); text-decoration: none; }
.menu__logout { color: var(--danger) !important; }
.nav { border-top: 1px solid var(--line); }
.nav ul {
    max-width: 1280px; margin: 0 auto; padding: 0 16px;
    display: flex; justify-content: center; flex-wrap: wrap; gap: 0 8px;
}
.nav a {
    display: inline-block; padding: 7px 20px; color: var(--ink);
    font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--brand-text); text-decoration: none; }
.nav a.is-active { color: var(--brand-text); border-bottom-color: var(--brand); }

/* ----- Hero façon pixeprint.com ----- */
.hero { background: var(--ink); color: #fff; text-align: center; padding: 56px 16px; }
.hero--login {
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
    padding-bottom: 96px; /* laisse respirer la carte de connexion (qui remonte de 70 px) */
}
.hero__inner { max-width: 860px; margin: 0 auto; }
.hero__pill {
    display: inline-flex; align-items: center; gap: 9px; border: 1px solid #EE275F7A; color: #fff;
    padding: 0 18px; border-radius: 999px; letter-spacing: .18em;
    text-transform: uppercase; font-size: 12px; font-weight: 100; margin-bottom: 12px;
}
/* Logo PixePrint blanc au-dessus de la pastille, centré (accueil). */
.hero__logo { width: 150px; height: auto; margin: 0 auto 18px; }
.hero__title { color: #fff; font-size: clamp(30px, 5vw, 46px); font-weight: 800; line-height: 1; }
.hero__subtitle { color: #C8CFDB; font-size: 14px; max-width: 640px; margin: 0 auto; }
.page-hero {
    background: url(../img/staffmatch_background.png) center / cover no-repeat, var(--ink);
    color: #fff; padding: 34px 16px;
}
.page-hero__inner { max-width: 1280px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; color: #fff; }
.page-hero p { color: #C8CFDB; margin: 0; }

/* ----- Structure de page ----- */
.main { min-height: 78vh; padding-bottom: 40px; }
.login-layout {
    max-width: 480px; margin: -70px auto 0; padding: 0 16px 40px; position: relative; z-index: 5;
}
.page-content { max-width: 1280px; margin: 0 auto; padding: 24px 16px; }
.section { padding: 44px 16px; }
.section--soft { background: #EFF1F4; }
.section__inner { max-width: 1180px; margin: 0 auto; }
.section__title {
    text-align: center; color: var(--ink); font-size: 26px; font-weight: 800;
    position: relative; padding-bottom: 14px; margin-bottom: 10px;
}
.section__title::after {
    content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 220px; max-width: 90%; height: 2px; background: var(--brand);
}
.section__subtitle { text-align: center; color: var(--muted); margin-bottom: 30px; }
.text-brand { color: #FF7CA1; }

/* ----- Cartes et grilles ----- */
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 20px;
}
.grid { display: grid; gap: 20px; }
.grid--products { grid-template-columns: repeat(4, 1fr); margin: 22px 0 28px; }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(16,24,40,.12); }
.product-card__media {
    display: block; background: #EFF1F4; aspect-ratio: 4 / 3; position: relative;
    overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.product-card__mosaic {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
    gap: 2px; width: 100%; height: 100%;
}
.product-card__mosaic-cell img { width: 100%; height: 100%; object-fit: cover; }
.product-card__flag {
    position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff;
    font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.product-card__flag--dark { background: var(--ink); }
.product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__name { font-size: 16px; font-weight: 700; margin: 0; }
.product-card__name a { color: var(--ink); }
.product-card__name a:hover { color: var(--brand-text); text-decoration: none; }
.product-card__desc { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.2; }
.product-card__lead { color: var(--muted); font-size: 13px; margin: 0; }
.product-card__price { font-size: 14px; color: var(--muted); margin: auto 0 6px; }
.product-card__price strong { color: var(--brand-text); font-size: 18px; }
.product-card__stock { margin: auto 0 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

/* ----- Badges ----- */
.badge {
    display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge--brand { background: var(--brand-soft); color: var(--brand-text); }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: #9A6E0B; }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--info { background: var(--info-soft); color: var(--info); }
.badge--network { background: var(--network-soft); color: var(--network-text); }
.badge--muted { background: #EFF1F4; color: var(--muted); }
.badge--brand-solid { background: var(--brand); color: #fff; }
.badge--dark { background: #E9E9E9; color: var(--ink); }

/* ----- Boutons ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 15px; padding: 11px 22px; font-weight: 700; font-size: 15px;
    border: 1px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease;
    text-align: center;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--secondary { background: var(--ink); color: #fff; }
.btn--secondary:hover { background: var(--ink-soft); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #B02318; color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 7px 14px; font-size: 12px; line-height: 1; white-space: nowrap; border-radius: 8px; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* ----- Formulaires ----- */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.field input[type="text"], .field input[type="password"], .field input[type="search"],
.field input[type="email"], .field input[type="number"], .field select, .field textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
    font: inherit; background: var(--card); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--network-text); outline: 2px solid var(--network-soft);
}
.field__password { position: relative; }
.field__password input { padding-right: 44px; }
.field__eye {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: none; border: 0; cursor: pointer; font-size: 17px; padding: 6px;
}
.field--inline { display: flex; align-items: center; gap: 8px; }
.field--inline label { margin: 0; font-weight: 500; }
.field--inline input { width: auto; }
.field--inline input[type="checkbox"], .field--inline input[type="radio"] { width: 17px; height: 17px; accent-color: var(--brand); }

/* ----- Encadrés ----- */
.alert {
    border: 0; border-radius: 10px; padding: 12px 16px; margin: 14px 0; font-size: 14px;
}
.alert--danger { background: var(--danger-soft); color: #8C211A; }
.alert--warning { background: var(--warning-soft); color: #7A5609; }
.alert--info { background: var(--info-soft); color: #1E419F; }
.alert--success { background: var(--success-soft); color: #0B6B36; }
.info-box {
    background: var(--network-soft); border-radius: 10px; padding: 14px 18px; margin: 16px 0;
}
.info-box h3 { color: var(--brand-text); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.info-box p { margin: 0; color: var(--ink); font-size: 14px; }

/* ----- Carte de connexion ----- */
.login-card {
    padding: 15px 20px;
    box-shadow: 0 0 30px #fd429a57, 0 0 80px #be7c9b2b;
}
.login-card__title { font-size: 22px; font-weight: 800; color: var(--ink); text-align: center; }
.login-card__forgot { margin: 12px 0 0; font-size: 14px; }
.login-card__forgot summary { cursor: pointer; font-weight: 600; }
.login-card__forgot p { margin: 8px 0 0; color: var(--muted); }
.demo-box {
    margin-top: 18px; background: var(--bg); border: 1px dashed var(--line);
    border-radius: 10px; padding: 12px 14px;
}
.demo-box__title { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.demo-box__list li + li { margin-top: 4px; }
.demo-box__account {
    width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line);
    border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 13px; color: var(--ink);
}
.demo-box__account:hover { border-color: var(--brand); }

/* ----- Étapes ----- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.steps__item { text-align: center; position: relative; padding: 0 12px; }
.steps__dot {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 999px; background: #fff;
    border: 2px solid var(--brand); color: var(--ink); font-size: 22px; font-weight: 800;
    margin-bottom: 12px;
}
.steps__item:not(:last-child)::after {
    content: ""; position: absolute; top: 26px; left: calc(50% + 38px);
    width: calc(100% - 76px); height: 2px; background: var(--brand);
}
.steps__item h3 { font-size: 16px; font-weight: 700; }
.steps__item p { color: var(--muted); font-size: 14px; margin: 0; }

/* ----- Tableaux ----- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 12px; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FAFBFC; }

/* ----- Tuiles KPI ----- */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 18px 0; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.kpi__label { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.kpi__value { font-size: 26px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.kpi__value--danger { color: var(--danger); }
.kpi__value--brand { color: var(--brand-text); }

/* ----- Espace tête de réseau ----- */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 51px); }
.sidebar { background: linear-gradient(90deg, rgba(229, 221, 225, 1) 0%, rgba(247, 247, 249, 1) 100%); padding: 20px 0; display: flex; flex-direction: column; }
.sidebar ul { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; }
.sidebar a {
    display: block; padding: 11px 14px; color: #6E5E67; border-radius: 10px;
    font-weight: 600; font-size: 13px;
}
.sidebar a:hover { background: #D8C6D4; color: var(--ink); text-decoration: none; }
.sidebar a.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
/* Lien « Réinitialiser la démo » masqué (retours v2) : reset.php reste accessible directement. */
.sidebar__footer { display: none; }
.admin-main { padding: 24px; background: var(--bg); }
.admin-title { font-size: 24px; font-weight: 800; margin-bottom: 4px; }

/* ----- Toasts et modales ----- */
.toast-zone { position: fixed; bottom: 20px; right: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.toast {
    background: var(--ink); color: #fff; border-radius: 10px; padding: 12px 18px;
    box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
    animation: toast-in .25s ease;
}
.toast--success { border-left: 4px solid var(--success); }
.toast--error { border-left: 4px solid var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.modal-zone {
    position: fixed; inset: 0; background: rgba(16,24,40,.55); z-index: 80;
    display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-zone.is-open { display: flex; }
.modal {
    background: var(--card); border-radius: var(--radius); padding: 22px; max-width: 480px;
    width: 100%; box-shadow: var(--shadow);
}
.modal__title { font-size: 18px; font-weight: 700; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

/* ----- Pied de page ----- */
.footer { background: var(--ink); color: #C8CFDB; margin-top: 30px; font-size: 14px; }
.footer a { color: #fff; }
.footer__inner {
    max-width: 1280px; margin: 0 auto; padding: 34px 16px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.footer__title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer__title img { height: 40px; width: auto; }
.footer__bottom {
    border-top: 1px solid var(--ink-soft); text-align: center; padding: 14px;
    font-size: 13px;
    display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.footer__bottom img { height: 22px; width: auto; margin: 0; }

/* ----- Loader et état vide ----- */
.loader {
    width: 28px; height: 28px; border-radius: 999px; margin: 10px auto;
    border: 3px solid var(--brand-soft); border-top-color: var(--brand);
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty {
    text-align: center; padding: 40px 16px; color: var(--muted);
    background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}
.pulse { animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(238,39,95,.4); } 50% { box-shadow: 0 0 0 10px rgba(238,39,95,0); } }

/* ----- Fiche produit (esprit pixeprint.com) ----- */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-text); text-decoration: none; }
.product-page { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery__main {
    background: #EFF1F4; border: 1px solid var(--line); border-radius: var(--radius);
    aspect-ratio: 1 / 1; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: 10px; }
.product-gallery__thumb {
    width: 84px; aspect-ratio: 1 / 1; padding: 0; cursor: pointer; overflow: hidden;
    background: #EFF1F4; border: 2px solid var(--line); border-radius: 10px;
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumb.is-active { border-color: var(--brand); }
.product-info__ref { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.product-info__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 0 0 10px; }
.product-info__desc { color: var(--muted); font-size: 14px; }
.product-specs { margin: 14px 0; }
.product-specs li { padding: 5px 0 5px 26px; position: relative; font-size: 14px; }
.product-specs li::before { content: "\2714"; position: absolute; left: 2px; color: var(--network-text); font-size: 13px; }
.product-validated {
    display: inline-flex; align-items: center; gap: 8px; background: var(--network-soft);
    color: var(--network-text); font-size: 13px; font-weight: 600;
    border-radius: 999px; padding: 7px 14px; margin: 4px 0 10px;
}
.product-validated a { color: inherit; text-decoration: underline; }
.product-lead { font-size: 14px; font-weight: 600; color: var(--ink); margin: 6px 0 14px; }
.product-stock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.product-stock__note { font-size: 12px; color: var(--muted); }
.buy-box { position: sticky; top: 110px; }
.buy-box__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.buy-box__amount { font-size: 26px; font-weight: 800; color: var(--brand-text); }
.buy-box__unit { color: var(--muted); font-size: 13px; }
.tier-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14px; }
.tier-table th, .tier-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tier-table tr:last-child th, .tier-table tr:last-child td { border-bottom: 0; }
.tier-table th { background: var(--bg); }
.tier-table td:last-child, .tier-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tier-table tbody tr { transition: background .2s ease; }
.tier-table tbody tr.is-current { background: var(--brand-soft); }
.tier-table tbody tr.is-current td { color: var(--brand-text); font-weight: 700; }
.price-nudge {
    background: var(--brand-soft); color: var(--brand-text); font-size: 13px; font-weight: 600;
    border-radius: 8px; padding: 9px 12px; margin: 10px 0;
}
.price-nudge--best { background: var(--network-soft); color: var(--network-text); }
.option-block { margin: 16px 0; }
.option-block__title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.size-row { display: grid; grid-template-columns: 40px auto 1fr; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.size-row:last-child { border-bottom: 0; }
.size-row__label { font-weight: 600; font-size: 14px; }
.size-row__subtotal { justify-self: end; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.size-row__stock { justify-self: end; font-size: 13px; color: var(--muted); white-space: nowrap; }
.qty-stock { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.stepper__btn {
    width: 34px; height: 34px; border: 0; background: var(--bg); font-size: 16px;
    cursor: pointer; color: var(--ink); font-weight: 700;
}
.stepper__btn:hover { background: var(--brand-soft); color: var(--brand-text); }
.stepper__input {
    width: 54px; height: 34px; border: 0; text-align: center; font: inherit;
    font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield;
}
/* Sélecteur compact d'une ligne de taille : pilule gris très clair d'environ
   132 px, boutons ronds de 36 px, chiffre centré sans bordure. */
.stepper--size { width: 132px; height: 40px; background: var(--bg); border-color: var(--bg); }
.stepper--size .stepper__btn { width: 36px; height: 36px; margin: 0 1px; border-radius: 50%; background: transparent; }
.stepper--size .stepper__btn:hover { background: var(--card); }
.stepper--size .stepper__input { flex: 1; width: auto; height: 36px; background: transparent; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.option-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-card {
    display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
    padding: 14px 16px; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.option-card:hover { border-color: var(--muted); }
.option-card.is-selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.option-card__title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.option-card__desc { color: var(--muted); font-size: 12.5px; margin: 0; }
.option-card input[type="radio"] { accent-color: var(--brand); }
.model-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.model-item {
    display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
    border-radius: 10px; padding: 10px 12px; cursor: pointer; background: var(--card);
}
.model-item.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.model-item input[type="radio"] { accent-color: var(--brand); }
.model-item__thumbs { display: flex; gap: 6px; }
.model-item__thumbs img { width: 62px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.model-item__label { font-size: 13.5px; font-weight: 600; flex: 1; }
.pack-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pack-option {
    display: block; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
    padding: 12px 8px; cursor: pointer; text-align: center;
    transition: border-color .15s ease, background .15s ease;
}
.pack-option:hover { border-color: var(--muted); }
.pack-option.is-selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.pack-option__qty { font-weight: 800; font-size: 16px; }
.pack-option__price { color: var(--brand-text); font-weight: 700; font-size: 13.5px; margin-top: 2px; }
.pack-option__unit { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.dropzone {
    border: 2px dashed var(--line); border-radius: 10px; padding: 20px; text-align: center;
    cursor: pointer; color: var(--muted); font-size: 13.5px; background: var(--bg);
    transition: border-color .15s ease, background .15s ease;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-text); }
.dropzone__file {
    display: inline-flex; align-items: center; gap: 8px; background: var(--card);
    border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
    font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 10px;
}
.buy-box__total {
    display: flex; justify-content: space-between; align-items: baseline;
    border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px;
}
.buy-box__total strong { font-size: 20px; color: var(--brand-text); font-weight: 800; }
.min-note { color: var(--muted); font-size: 12.5px; margin: 6px 0; }
.add-actions { display: none; gap: 8px 14px; margin-top: 12px; font-size: 14px; flex-wrap: wrap; }
.add-actions.is-visible { display: flex; }
.reassure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.reassure-item {
    display: flex; gap: 10px; align-items: flex-start; background: var(--card);
    border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13px;
}
.reassure-item__icon { color: var(--network-text); font-size: 15px; }
.bundle-components { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.bundle-component {
    display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 12px;
}
.bundle-component__media { width: 84px; height: 84px; border-radius: 10px; background: #EFF1F4; position: relative; overflow: hidden; flex: none; }
.bundle-component__media img { width: 100%; height: 100%; object-fit: contain; }
.bundle-component__name { font-size: 14px; font-weight: 700; margin: 0 0 2px; }
.bundle-component__detail { color: var(--muted); font-size: 12.5px; margin: 0 0 6px; }
.section-block { margin: 26px 0; }
.section-block__title { font-size: 18px; font-weight: 800; margin-bottom: 12px; }

/* ----- Panier ----- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.cart-line__thumb {
    width: 96px; height: 96px; background: #EFF1F4; border: 1px solid var(--line);
    border-radius: 10px; overflow: hidden; position: relative; flex: none;
}
.cart-line__thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-line__name { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.cart-line__name a { color: var(--ink); }
.cart-line__name a:hover { color: var(--brand-text); text-decoration: none; }
.cart-line__options { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.cart-line__unit { color: var(--muted); font-size: 13px; margin: 0; }
.cart-line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line__total { font-weight: 800; font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-line__remove { background: none; border: 0; color: var(--danger); font-size: 13px; cursor: pointer; padding: 2px 4px; }
.cart-line__remove:hover { text-decoration: underline; }
.cart-line__qty select {
    border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit;
    font-weight: 600; background: var(--card); color: var(--ink);
}
.cart-recap { position: sticky; top: 110px; }
.cart-recap__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.cart-recap__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; align-items: baseline; }
.cart-recap__total { font-size: 22px; font-weight: 800; color: var(--brand-text); }
.cart-recap__free { color: var(--network-text); font-size: 13px; font-weight: 600; margin: 4px 0 12px; }
.cart-empty__icon { font-size: 44px; margin-bottom: 8px; }

/* ----- Finalisation (checkout) ----- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.checkout-block { margin-bottom: 18px; }
.checkout-block__title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.checkout-block__num {
    width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none;
}
.address-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.address-option {
    display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
    padding: 14px 16px; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.address-option.is-selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.address-option__label { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.address-option__text { color: var(--muted); font-size: 13.5px; margin: 0; }
.address-option input[type="radio"] { accent-color: var(--brand); }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-option__title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.pay-option__desc { color: var(--muted); font-size: 12.5px; margin: 0; }
.checkout-recap { position: sticky; top: 110px; }
.checkout-recap__line { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 6px 0; }
.checkout-recap__line span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.billing-box { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.billing-box p { margin: 0 0 2px; }

/* ----- Paiement carte simulé ----- */
.paycard { max-width: 470px; margin: 30px auto; }
.paycard__secure {
    background: var(--ink); color: #fff; border-radius: var(--radius) var(--radius) 0 0;
    padding: 12px 18px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.paycard__body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 20px; background: var(--card); }
.paycard__amount { text-align: center; margin: 4px 0 16px; }
.paycard__amount strong { font-size: 28px; font-weight: 800; color: var(--ink); }
.paycard__demo {
    display: none;
    background: var(--info-soft); color: #1E419F; font-size: 13px; border-radius: 8px;
    padding: 9px 12px; margin-bottom: 14px;
}
.card-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.paycard__loader { display: none; text-align: center; margin: 14px 0 0; }
.paycard__loader.is-active { display: block; }
.spinner {
    width: 18px; height: 18px; display: inline-block; vertical-align: -4px;
    border: 3px solid var(--brand-soft); border-top-color: var(--brand);
    border-radius: 999px; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.paycard__later { text-align: center; margin: 14px 0 0; font-size: 14px; }

/* ----- Confirmation de commande ----- */
.confirm-hero { text-align: center; padding: 34px 16px 6px; }
.confirm-check {
    width: 84px; height: 84px; border-radius: 999px; margin: 0 auto 18px;
    background: var(--success-soft); color: var(--success);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; font-weight: 800; animation: check-pop .45s ease;
}
@keyframes check-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 6px; }
.confirm-subtitle { color: var(--muted); }
.confirm-grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
/* Frise en une seule ligne, pleine largeur, points reliés quel que soit le
   nombre d'étapes (retour Tommy : en haut de la carte, comme le détail agence). */
.order-frise { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin: 10px 0 4px; }
.order-frise__step { text-align: center; font-size: 12px; color: var(--muted); position: relative; padding-top: 26px; }
.order-frise__step::before {
    content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 14px; height: 14px; border-radius: 999px; background: var(--line);
}
.order-frise__step:not(:first-child)::after {
    content: ""; position: absolute; top: 14px; left: calc(-50% + 14px); right: calc(50% + 14px);
    height: 2px; background: var(--line);
}
.order-frise__step.is-done:not(:first-child)::after { background: var(--network); }
/* Récapitulatif : la ligne peut passer à la ligne (plus de débordement « XL × 5 »). */
.confirm-grid .checkout-recap__line span:last-child { white-space: normal; }
.order-frise__step.is-done { color: var(--network-text); }
.order-frise__step.is-done::before { background: var(--network); }
.order-frise__step.is-current { color: var(--ink); font-weight: 700; }
.order-frise__step.is-current::before { background: var(--brand); animation: frise-pulse 1.6s ease infinite; }
@keyframes frise-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(238,39,95,.35); } 50% { box-shadow: 0 0 0 9px rgba(238,39,95,0); } }
.rib-box {
    background: var(--network-soft); border: 0; border-radius: 10px;
    padding: 14px 18px; margin: 14px 0; font-size: 14px;
}
.rib-box__title { font-weight: 700; color: var(--network-text); margin-bottom: 8px; }
.rib-box__row { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.rib-box__row:last-child { border-bottom: 0; }
.rib-box__row strong { font-weight: 700; }
.confirm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }

/* ----- Responsive ----- */
@media (max-width: 1023px) {
    .grid--products { grid-template-columns: repeat(2, 1fr); }
    .header__search { display: none; }
    .product-page { grid-template-columns: 1fr; }
    .buy-box, .cart-recap, .checkout-recap { position: static; }
    .cart-layout, .checkout-layout, .confirm-grid { grid-template-columns: 1fr; }
    .pack-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .topbar__items { gap: 4px 14px; font-size: 12px; }
    .topbar__item:nth-child(n+3) { display: none; }
    .nav { display: none; }
    .nav.is-open { display: block; }
    .nav ul { flex-direction: column; }
    .burger { display: inline-block; }
    .grid--products { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .steps__item:not(:last-child)::after { display: none; }
    .admin-layout { grid-template-columns: 1fr; }
    .sidebar { position: fixed; inset: 0 auto 0 0; width: 240px; z-index: 70; transform: translateX(-100%); transition: transform .2s ease; }
    .sidebar.is-open { transform: none; }
    .admin-main { padding: 16px; }
    .login-layout { margin-top: -46px; }
    .option-cards, .address-list, .pay-options, .reassure-grid { grid-template-columns: 1fr; }
    .bundle-components { grid-template-columns: 1fr; }
    .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
    .cart-line__thumb { width: 72px; height: 72px; }
    .cart-line__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .size-row { grid-template-columns: 40px auto 1fr; }
    .order-frise { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2px; }
    .order-frise__step { font-size: 11px; padding-top: 20px; }
    .order-frise__step::before { width: 10px; height: 10px; top: 5px; }
    .order-frise__step:not(:first-child)::after { top: 9px; left: calc(-50% + 10px); right: calc(50% + 10px); }
    .card-inputs { grid-template-columns: 1fr; }
}

@media print {
    .topbar, .header, .footer, .btn, .toast-zone { display: none !important; }
}

/* ----- Page de paiement carte simulé (agence et tête de réseau) ----- */
/* Page neutre façon prestataire de paiement, sans marque réelle de prestataire. */
.paypage-wrap { max-width: 520px; margin: 26px auto; padding: 0 14px; }
.paypage { padding: 0; overflow: hidden; }
.paypage__head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 20px; background: var(--ink); color: #fff;
}
.paypage__secure { font-weight: 700; font-size: 14px; }
.paypage__brands { font-size: 12px; color: #AEB8C8; font-weight: 600; }
.paypage__summary {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    padding: 16px 20px 4px;
}
.paypage__label {
    font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 2px;
}
.paypage__payee { font-weight: 800; font-size: 18px; margin: 0; color: var(--ink); }
.paypage__ref { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.paypage__amount { font-size: 26px; font-weight: 800; color: var(--brand-text); margin: 0; white-space: nowrap; }
.paypage__amount span { font-size: 12px; color: var(--muted); font-weight: 600; }
.paypage__demo {
    display: none;
    margin: 12px 20px 0; padding: 10px 12px; border-radius: 10px;
    background: var(--brand-soft); color: var(--brand-text); font-size: 13px; font-weight: 600;
}
.paypage form { padding: 16px 20px 20px; }
.paypage__brand { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: none; letter-spacing: 0; }
.paypage__loader { display: none; text-align: center; margin: 14px 0 0; }
.paypage__loader.is-active { display: block; }
.paypage__alert {
    background: #FDECEF; border: 1px solid var(--brand); color: var(--brand-text);
    border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin: 0 0 12px;
}

/* Erreurs de champ (contrôles en direct) */
.field__error { color: var(--brand-text); font-size: 12.5px; font-weight: 600; margin: 4px 0 0; }
.field input.is-invalid { border-color: var(--brand); background: #FFF5F7; }

/* Visuel de carte rempli en direct */
.cc-card {
    margin: 14px 20px 0; padding: 18px; border-radius: 14px;
    background: linear-gradient(135deg, var(--ink) 0%, #2C3B52 100%);
    color: #fff; position: relative; min-height: 230px;
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: var(--shadow);
}
.cc-card__chip {
    width: 40px; height: 30px; border-radius: 6px;
    background: linear-gradient(135deg, #E3C77A, #B8944C); display: inline-block;
}
.cc-card__type {
    position: absolute; top: 18px; right: 18px; font-size: 14px; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; color: #AEB8C8;
}
.cc-card__number {
    font-family: 'Courier New', monospace; font-size: 19px; letter-spacing: .12em;
    margin: 14px 0 0; font-weight: 700; white-space: nowrap;
}
.cc-card__row { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.cc-card__holder, .cc-card__exp {
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #AEB8C8;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Fenêtre 3-D Secure simulée */
.tds {
    position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
    background: rgba(26, 38, 54, .55); padding: 16px;
}
.tds[hidden] { display: none; }
.tds__box {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    max-width: 400px; width: 100%; padding: 20px;
}
.tds__head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px;
}
.tds__title { font-weight: 800; color: var(--ink); }
.tds__demo {
    margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--brand-text);
    background: var(--brand-soft); border-radius: 8px; padding: 8px 10px;
}
.tds__error { color: var(--brand-text); font-size: 13px; font-weight: 600; margin: 8px 0 0; }
.tds__actions { display: flex; gap: 10px; margin-top: 14px; }
.tds__actions .btn { flex: 1; }

/* Économie par rapport au premier palier (fiche produit) */
.price-save {
    margin: 8px 0 0; font-size: 13.5px; font-weight: 700;
    color: var(--network-text); background: var(--network-soft);
    border-radius: 10px; padding: 8px 12px; display: inline-block;
}
.price-save[hidden] { display: none; }

@media (max-width: 767px) {
    .paypage-wrap { margin: 14px auto; padding: 0 10px; }
    .cc-card { margin: 14px 12px 0; }
    .cc-card__number { font-size: 16px; }
    .paypage__summary { flex-direction: column; gap: 6px; }
    .paypage__amount { font-size: 22px; }
    .paypage form, .paypage__head { padding-left: 14px; padding-right: 14px; }
}
