/* Designs du site. « theme-thomgiu » = design d'origine (aucune surcharge).
   Déclinaisons Pastafino (logo vert profond, crème, or) : Verde, Crema, Notte. */

/* ====== Base commune Pastafino ====== */
body[class*="theme-pastafino"] {
  --green-900: #0b2217; --green-800: #0f2b1e; --green-700: #173f2b; --green-600: #1d4a33; --green-500: #2a6346;
  --gold: #e8b23a; --gold-600: #c9931d; --cream: #f7efdf;
  --yellow: #f1bd45; --yellow-50: #fdf6e4; --yellow-100: #faecc6; --yellow-300: #f4d58a;
  --sage: #2a6346; --sage-50: #e6f0ea; --sage-100: #d5e6db; --sage-700: #1d4a33;
  --tomato-700: #9a3a22;
  --head-font: 'Poppins', 'Plus Jakarta Sans', system-ui, sans-serif;
  --r-lg: 20px; --r-md: 16px;
}
:where(body[class*="theme-pastafino"]) h1, :where(body[class*="theme-pastafino"]) h2, :where(body[class*="theme-pastafino"]) h3,
:where(body[class*="theme-pastafino"]) .s-title, :where(body[class*="theme-pastafino"]) .track-number strong { font-family: var(--head-font); letter-spacing: -0.02em; }
:where(body[class*="theme-pastafino"]) .kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--gold-600); background: transparent; padding-left: 0; }
:where(body[class*="theme-pastafino"]) .kicker::before { content: ''; display: inline-block; width: 22px; height: 2px; background: var(--gold); margin-right: 4px; }
:where(body[class*="theme-pastafino"]) a { color: var(--green-600); }
:where(body[class*="theme-pastafino"]) a:hover { color: var(--gold-600); }
:where(body[class*="theme-pastafino"]) .btn-primary { background: var(--green-600); color: var(--cream); box-shadow: 0 10px 24px rgba(15, 43, 30, .25); }
:where(body[class*="theme-pastafino"]) .btn-primary:hover { background: var(--green-800); color: #fff; }
:where(body[class*="theme-pastafino"]) .btn-primary .arrow { color: var(--gold); }
:where(body[class*="theme-pastafino"]) .btn-secondary { border-color: var(--green-700); color: var(--green-700); }
:where(body[class*="theme-pastafino"]) .btn-ghost.is-danger, :where(body[class*="theme-pastafino"]) .is-danger { color: #a63b22; }
:where(body[class*="theme-pastafino"]) .badge { background: var(--gold); color: var(--green-900); }
:where(body[class*="theme-pastafino"]) .stat:nth-child(4) { background: var(--green-700); }
:where(body[class*="theme-pastafino"]) .step-n, :where(body[class*="theme-pastafino"]) .nav-user::before { background: var(--green-700); color: var(--gold); }
:where(body[class*="theme-pastafino"]) .nav-user { background: var(--gold); color: var(--green-900); }
:where(body[class*="theme-pastafino"]) .input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--yellow-100); }
:where(body[class*="theme-pastafino"]) ::selection { background: var(--yellow-300); }
:where(body[class*="theme-pastafino"]) .s-camp-card { border-left-color: var(--gold); }
:where(body[class*="theme-pastafino"]) .site-logo { height: 64px; width: auto; }
:where(body[class*="theme-pastafino"]) .nav-brand img { height: 46px; width: auto; }
:where(body[class*="theme-pastafino"]) .site-logo-foot { height: 54px; width: auto; }

/* ====== Pastafino — Verde : barre et pied de page vert profond, contenu crème ====== */
.theme-pastafino {
  --bg: #f7f1e3; --surface: #fffdf8; --ink: #11261b; --muted: #5d685f; --line: #e8dfcb;
  --shadow: 0 10px 30px rgba(15, 43, 30, .08); --shadow-lg: 0 20px 50px rgba(15, 43, 30, .16);
}
.theme-pastafino .nav { background: var(--green-800); box-shadow: 0 6px 24px rgba(11, 34, 23, .25); }
.theme-pastafino .nav-links { background: rgba(255, 255, 255, .06); box-shadow: none; }
.theme-pastafino .nav-links a { color: var(--cream); }
.theme-pastafino .nav-links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.theme-pastafino .nav-links a.is-active { background: var(--gold); color: var(--green-900); }
.theme-pastafino .nav-links .btn-primary { background: var(--gold); color: var(--green-900); box-shadow: none; }
.theme-pastafino .site-nav .nav-links .btn { color: var(--green-900); }
.theme-pastafino .nav-burger span, .theme-pastafino .nav-burger span::before, .theme-pastafino .nav-burger span::after { background: var(--cream); }
.theme-pastafino .nav-admin summary, .theme-pastafino .nav-links .nav-solo { color: var(--cream); }
.theme-pastafino .nav-admin details[open] > div, .theme-pastafino .nav-admin .nav-sub { color: var(--ink); }
.theme-pastafino .site-foot { background: var(--green-800); color: var(--cream); border-top: 4px solid var(--gold); }
.theme-pastafino .site-foot .muted, .theme-pastafino .site-foot .small { color: rgba(247, 239, 223, .78); }
.theme-pastafino .site-foot a { color: var(--cream); }
.theme-pastafino .site-foot a:hover { color: var(--gold); }
.theme-pastafino .site-foot .kicker { color: var(--gold); }
.theme-pastafino .s-hero-photo::after { background: linear-gradient(90deg, var(--bg) 25%, rgba(247,241,227,.55) 60%, rgba(247,241,227,0) 100%); }
.theme-pastafino .s-offer { background: var(--yellow-50); }
.theme-pastafino .s-offer-alt { background: var(--sage-50); }
@media (max-width: 860px) { .theme-pastafino .s-hero-photo::after { background: linear-gradient(180deg, var(--bg) 10%, rgba(247,241,227,.6) 100%); } }

/* ====== Pastafino — Crema : tout en lumière, boutons dorés ====== */
.theme-pastafino-crema {
  --bg: #fffaf0; --surface: #ffffff; --ink: #143322; --muted: #5e6a61; --line: #efe5cf;
  --shadow: 0 10px 30px rgba(20, 51, 34, .07); --shadow-lg: 0 20px 50px rgba(20, 51, 34, .14);
}
.theme-pastafino-crema .nav { background: rgba(255, 250, 240, .92); border-bottom: 1px solid var(--line); }
.theme-pastafino-crema .nav-links a.is-active { background: var(--green-700); color: var(--cream); }
.theme-pastafino-crema .btn-primary { background: var(--gold); color: var(--green-900); box-shadow: 0 10px 24px rgba(201, 147, 29, .3); }
.theme-pastafino-crema .btn-primary:hover { background: var(--gold-600); color: var(--green-900); }
.theme-pastafino-crema .btn-primary .arrow { color: var(--green-700); }
.theme-pastafino-crema .site-foot { background: #f6ecd6; border-top: 0; }
.theme-pastafino-crema .s-hero-photo::after { background: linear-gradient(90deg, var(--bg) 25%, rgba(255,250,240,.55) 60%, rgba(255,250,240,0) 100%); }
.theme-pastafino-crema .s-offer { background: #fdf3da; }
@media (max-width: 860px) { .theme-pastafino-crema .s-hero-photo::after { background: linear-gradient(180deg, var(--bg) 10%, rgba(255,250,240,.6) 100%); } }

/* ====== Pastafino — Notte : mode sombre vert nuit ====== */
.theme-pastafino-notte {
  --bg: #0d2419; --surface: #133022; --ink: #f6eedb; --muted: #b7b8a4; --line: #23493a;
  --yellow-50: #1a3a2a; --yellow-100: #234a36; --yellow-300: #6d5a24; --sage-50: #173b2a; --sage-100: #1e4734; --sage-700: #b9e0c6;
  --tomato-50: #3a1d16; --tomato-100: #4a251c; --tomato-700: #f3a68f; --cold-50: #16324a; --cold: #a9cdf0;
  --shadow: 0 10px 30px rgba(0, 0, 0, .3); --shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
.theme-pastafino-notte a { color: var(--gold); }
.theme-pastafino-notte a:hover { color: #fff; }
.theme-pastafino-notte .nav { background: rgba(11, 34, 23, .92); border-bottom: 1px solid var(--line); }
.theme-pastafino-notte .nav-links a.is-active { background: var(--gold); color: var(--green-900); }
.theme-pastafino-notte .nav-burger span, .theme-pastafino-notte .nav-burger span::before, .theme-pastafino-notte .nav-burger span::after { background: var(--ink); }
.theme-pastafino-notte .btn-primary { background: var(--gold); color: var(--green-900); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.theme-pastafino-notte .btn-primary:hover { background: #f5c860; color: var(--green-900); }
.theme-pastafino-notte .btn-primary .arrow { color: var(--green-700); }
.theme-pastafino-notte .btn-secondary { border-color: var(--cream); color: var(--cream); background: transparent; }
.theme-pastafino-notte .btn-secondary:hover { background: rgba(255,255,255,.08); color: #fff; }
.theme-pastafino-notte .btn-ghost { color: var(--ink); }
.theme-pastafino-notte .nav-links a.is-active, .theme-pastafino-notte .otab.is-on { color: var(--green-900); }
.theme-pastafino-notte .otab.is-on { background: var(--gold); }
.theme-pastafino-notte .site-foot { background: var(--green-900); border-top: 4px solid var(--gold); }
.theme-pastafino-notte .s-hero-photo::after { background: linear-gradient(90deg, var(--bg) 25%, rgba(13,36,25,.6) 60%, rgba(13,36,25,.1) 100%); }
.theme-pastafino-notte .s-hero-photo .s-next { background: rgba(19, 48, 34, .88); }
.theme-pastafino-notte .chip-check:has(input:checked) { background: var(--yellow-100); border-color: var(--gold); }
.theme-pastafino-notte .choice:has(input:checked) { border-color: var(--gold); }
.theme-pastafino-notte .kc-row { background: var(--bg); }
.theme-pastafino-notte .kc-qty { background: var(--gold); color: var(--green-900); }
.theme-pastafino-notte .edit-banner, .theme-pastafino-notte .kc-note, .theme-pastafino-notte .tag-mod { background: #6d5a24; color: #fff4cf; }
.theme-pastafino-notte .table td, .theme-pastafino-notte .table th { border-color: var(--line); }
.theme-pastafino-notte code { background: var(--yellow-50); color: var(--ink); }
.theme-pastafino-notte img[src*="logo-pastafino-vert"] { content: url("../images/logo-pastafino.svg"); }
@media (max-width: 860px) { .theme-pastafino-notte .s-hero-photo::after { background: linear-gradient(180deg, var(--bg) 10%, rgba(13,36,25,.7) 100%); } }

/* ====== Menu déroulant « Design » (admin, aperçu) ====== */
.theme-switch { position: fixed; left: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: calc(100vw - 24px);
  padding: 8px 10px; border-radius: 14px; background: #1d1b19; color: #fff; font: 700 13px/1.2 system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.theme-switch label { color: #fff; }
.theme-switch select { font: inherit; padding: 6px 8px; border-radius: 8px; border: 0; background: #fff; color: #1d1b19; max-width: 210px; }
.theme-switch.is-preview { background: #7a5a00; }
.theme-switch-note { opacity: .85; font-weight: 600; }
.theme-switch form { margin: 0; }
.theme-switch button { font: inherit; padding: 6px 10px; border: 0; border-radius: 8px; background: #ffd25a; color: #1d1b19; cursor: pointer; }
.theme-switch a { color: #fff; text-decoration: underline; font-weight: 600; }
@media print { .theme-switch { display: none; } }

/* ====== Carte « Design du site » (Réglages) ====== */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.theme-opt { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); }
.theme-opt.is-on { border-color: var(--ink); }
.theme-opt .btn { align-self: flex-start; }
.theme-swatch { display: grid; place-items: center; height: 96px; border-radius: 12px; padding: 12px; }
.theme-swatch img { max-height: 64px; max-width: 100%; width: auto; }
.theme-sw-thomgiu { background: #f6f4ef; }
.theme-sw-pastafino { background: linear-gradient(180deg, #0f2b1e 0 55%, #f7f1e3 55%); }
.theme-sw-pastafino-crema { background: #fffaf0; border: 1px solid #efe5cf; }
.theme-sw-pastafino-notte { background: #0d2419; }
.theme-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.theme-form .input { width: auto; min-width: 240px; }

.theme-pastafino .site-nav .nav-links a.nav-camp, .theme-pastafino-notte .site-nav .nav-links a.nav-camp { color: var(--gold); }
.theme-switch a, .theme-switch label { color: #fff !important; }

/* Notte : les éléments « fond encre + texte blanc » passent en or sur vert nuit */
.theme-pastafino-notte .btn-dark, .theme-pastafino-notte .tabs a.is-active, .theme-pastafino-notte .stepper li.is-current,
.theme-pastafino-notte .track.is-ready .banner, .theme-pastafino-notte .ktools .btn.is-on, .theme-pastafino-notte .poste-switch .is-on,
.theme-pastafino-notte .chip.is-on, .theme-pastafino-notte .nav-group.is-active > summary, .theme-pastafino-notte .nav-links .nav-solo.is-active,
.theme-pastafino-notte .nps-scale input:checked + span, .theme-pastafino-notte .cart-bar, .theme-pastafino-notte .toast {
  background: var(--gold); border-color: var(--gold); color: var(--green-900);
}
.theme-pastafino-notte .choice:has(input:checked)::after { border-color: var(--gold); background-color: var(--gold); }
.theme-pastafino-notte .s-steps li::before { background: var(--gold); color: var(--green-900); }
.theme-pastafino-notte .s-walloon { color: #f2c7a2; }
.theme-pastafino-notte .pasta-tile.is-on { border-color: var(--gold); }
.theme-pastafino .nav-group.is-active > summary { background: var(--gold); color: var(--green-900); }
@media (max-width: 600px) { .theme-switch-note, .theme-switch label { display: none; } .theme-switch { gap: 6px; padding: 6px 8px; } .theme-switch select { max-width: 150px; } }
.theme-pastafino-notte .composer-foot { background: #1f4a35; color: var(--ink); border: 1px solid var(--gold); }
.theme-pastafino-notte .choice:has(input:checked) { background: #24543c; color: var(--ink); border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.theme-pastafino-notte .choice:has(input:checked) .muted, .theme-pastafino-notte .choice:has(input:checked) .choice-desc { color: #e6dcc3; }

.theme-opt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; } .theme-opt-actions form { margin: 0; }

/* =====================================================================
   Pastafino — STUDIO : éditorial contemporain (magazine)
   Grands titres serif, angles nets, filets fins, aucune ombre, photo pleine.
   ===================================================================== */
.theme-sw-pastafino-studio { background: #f3efe6; border: 1px solid #141414; border-radius: 2px; }
body.theme-pastafino-studio {
  --bg: #f3efe6; --surface: #faf8f3; --ink: #141414; --muted: #5c5a55; --line: #d9d3c6;
  --yellow: #d9a030; --yellow-50: #f1ebdd; --yellow-100: #ebe2cd; --yellow-300: #e3cf9f;
  --sage: #1e4d36; --sage-50: #e7ece4; --sage-700: #1e4d36;
  --r-sm: 2px; --r-md: 2px; --r-lg: 2px; --r-xl: 2px; --pill: 2px;
  --shadow: none; --shadow-lg: none;
  --font: 'Inter', system-ui, sans-serif; --head-font: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}
.theme-pastafino-studio h1, .theme-pastafino-studio h2, .theme-pastafino-studio h3, .theme-pastafino-studio .s-title {
  font-family: var(--head-font) !important; font-weight: 400 !important; letter-spacing: -0.015em !important; line-height: .98;
}
.theme-pastafino-studio h1 { font-size: clamp(44px, 7.4vw, 104px); }
.theme-pastafino-studio .s-hero h1 { font-size: clamp(52px, 8.4vw, 124px); }
.theme-pastafino-studio h2, .theme-pastafino-studio .s-title { font-size: clamp(34px, 4.6vw, 64px); }
.theme-pastafino-studio h3 { font-size: 28px; }
.theme-pastafino-studio h1 em, .theme-pastafino-studio h2 em { font-style: italic; }
.theme-pastafino-studio .kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 600; color: var(--ink); background: none; padding: 0; border-radius: 0; }
.theme-pastafino-studio .kicker::before { width: 36px; height: 1px; background: var(--ink); }
.theme-pastafino-studio .lead, .theme-pastafino-studio p { font-weight: 400; }
.theme-pastafino-studio strong, .theme-pastafino-studio b { font-weight: 600; }
.theme-pastafino-studio a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 500; }
.theme-pastafino-studio a:hover { color: var(--sage); }
.theme-pastafino-studio .btn, .theme-pastafino-studio .nav-links a, .theme-pastafino-studio .chip, .theme-pastafino-studio .otab, .theme-pastafino-studio .s-offer, .theme-pastafino-studio .stat, .theme-pastafino-studio .tabs a { text-decoration: none; }
/* Navigation : barre plate, capitales, soulignement actif */
.theme-pastafino-studio .nav { background: var(--bg); border-bottom: 1px solid var(--ink); box-shadow: none; backdrop-filter: none; padding-top: 18px; padding-bottom: 18px; }
.theme-pastafino-studio .nav-links { background: none; box-shadow: none; padding: 0; gap: 22px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.theme-pastafino-studio .nav-links a { padding: 6px 0; border-radius: 0; font-weight: 600; border-bottom: 1px solid transparent; }
.theme-pastafino-studio .nav-links a:hover { background: none; border-bottom-color: var(--ink); }
.theme-pastafino-studio .nav-links a.is-active, .theme-pastafino-studio .nav-links .nav-solo.is-active { background: none; color: var(--ink); border-bottom: 2px solid var(--ink); }
.theme-pastafino-studio .site-nav .nav-links a.nav-camp { color: var(--sage) !important; }
.theme-pastafino-studio .nav-links .btn { padding: 10px 18px; border-bottom: 0; }
.theme-pastafino-studio .nav-group summary, .theme-pastafino-studio .nav-admin summary { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.theme-pastafino-studio .nav-group.is-active > summary { background: none; color: var(--ink); border-bottom: 2px solid var(--ink); }
.theme-pastafino-studio .nav-user { background: none; border: 1px solid var(--ink); }
/* Boutons : rectangles noirs, capitales espacées */
.theme-pastafino-studio .btn { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; min-height: 48px; padding: 12px 24px; box-shadow: none !important; }
.theme-pastafino-studio .btn-lg { font-size: 13px; padding: 16px 30px; min-height: 56px; }
.theme-pastafino-studio .btn-primary { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
.theme-pastafino-studio .btn-primary:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.theme-pastafino-studio .btn-primary .arrow { color: var(--yellow); }
.theme-pastafino-studio .btn-secondary { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.theme-pastafino-studio .btn-secondary:hover { background: var(--ink); color: var(--bg); }
/* Cartes : filets fins, aucune ombre */
.theme-pastafino-studio .card, .theme-pastafino-studio .s-band, .theme-pastafino-studio .stat, .theme-pastafino-studio .s-steps li, .theme-pastafino-studio .choice,
.theme-pastafino-studio .oc-card, .theme-pastafino-studio .lab-dest, .theme-pastafino-studio .pasta-tile, .theme-pastafino-studio .otabs, .theme-pastafino-studio .nav-links .nav-sub {
  border: 1px solid var(--ink); box-shadow: none; border-radius: 0; background: var(--surface);
}
.theme-pastafino-studio .stat:nth-child(4) { background: var(--sage); border-color: var(--sage); }
.theme-pastafino-studio .input { border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding-left: 2px; font-weight: 500; }
.theme-pastafino-studio .input:focus { box-shadow: none; border-bottom-width: 2px; border-color: var(--sage); }
.theme-pastafino-studio textarea.input, .theme-pastafino-studio select.input { border: 1px solid var(--ink); padding-left: 12px; }
.theme-pastafino-studio .tag, .theme-pastafino-studio .chip, .theme-pastafino-studio .badge { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.theme-pastafino-studio .chip { border: 1px solid var(--ink); }
.theme-pastafino-studio .chip.is-on, .theme-pastafino-studio .otab.is-on, .theme-pastafino-studio .stepper li.is-current { background: var(--ink); color: var(--bg); }
.theme-pastafino-studio .flash { border-radius: 0; border-left: 3px solid var(--sage); }
.theme-pastafino-studio .flash-error { border-left-color: #a3311b; }
.theme-pastafino-studio .table th { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--ink); border-bottom: 1px solid var(--ink); }
/* Sections : séparées par un filet, titres immenses */
.theme-pastafino-studio .s-section { border-top: 1px solid var(--ink); padding-top: 40px; margin-bottom: 88px; }
.theme-pastafino-studio .s-band { padding: 48px; background: var(--surface); }
.theme-pastafino-studio .s-steps { gap: 0; border: 1px solid var(--ink); }
.theme-pastafino-studio .s-steps li { border: 0; border-right: 1px solid var(--ink); background: transparent; padding: 28px 24px; }
.theme-pastafino-studio .s-steps li:last-child { border-right: 0; }
.theme-pastafino-studio .s-steps li::before { content: counter(s, decimal-leading-zero); width: auto; height: auto; border-radius: 0; background: none; color: var(--ink); font: 400 64px/1 var(--head-font); place-items: start; margin-bottom: 12px; }
.theme-pastafino-studio .step-n { border-radius: 0; background: none; color: var(--ink); font: 400 32px/1 var(--head-font); min-width: 0; padding: 0; }
/* Accueil : écran coupé en deux, photo nette à droite */
.theme-pastafino-studio .s-hero-photo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; gap: 0; min-height: min(86vh, 760px); padding-top: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--ink); }
.theme-pastafino-studio .s-hero-bg { inset: 0 0 0 52%; -webkit-mask-image: none; mask-image: none; opacity: 1; filter: saturate(1.05) contrast(1.03); }
.theme-pastafino-studio .s-hero-photo::after { display: none; }
.theme-pastafino-studio .s-hero-text { max-width: 600px; padding-right: 32px; }
.theme-pastafino-studio .s-hero-photo .s-next { grid-column: 2; justify-self: end; align-self: end; width: min(380px, 92%); margin-right: 24px; background: var(--bg); backdrop-filter: none; border: 1px solid var(--ink); }
.theme-pastafino-studio .s-hero-sub { font-family: var(--head-font); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; }
.theme-pastafino-studio .s-walloon { font-family: var(--head-font); font-size: 20px; color: var(--sage); font-weight: 400; }
.theme-pastafino-studio .s-craft-img, .theme-pastafino-studio .s-strip-img, .theme-pastafino-studio .s-offer-img { border-radius: 0; }
.theme-pastafino-studio .s-offer { background: var(--surface); border: 1px solid var(--ink); }
.theme-pastafino-studio .s-offer-alt { background: var(--sage-50); }
.theme-pastafino-studio .s-offer-img { -webkit-mask-image: none; mask-image: none; }
.theme-pastafino-studio .s-wm { opacity: .1; filter: grayscale(1); }
.theme-pastafino-studio .site-foot { background: var(--ink); color: var(--bg); border-top: 0; padding: 64px 0; }
.theme-pastafino-studio .site-foot a { color: var(--bg); }
.theme-pastafino-studio .site-foot .muted, .theme-pastafino-studio .site-foot .small { color: #b7b2a6; }
.theme-pastafino-studio .site-foot .kicker { color: var(--yellow); }
.theme-pastafino-studio .site-foot .kicker::before { background: var(--yellow); }
.theme-pastafino-studio .composer-foot, .theme-pastafino-studio .toast, .theme-pastafino-studio .cart-bar { border-radius: 0; }
.theme-pastafino-studio .choice:has(input:checked) { background: var(--yellow-100); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.theme-pastafino-studio .track-number, .theme-pastafino-studio .wait-pill { border-radius: 0; }
@media (max-width: 860px) {
  .theme-pastafino-studio .s-hero-photo { grid-template-columns: minmax(0, 1fr); padding-top: 0; min-height: 0; }
  .theme-pastafino-studio .s-hero-bg { position: relative; inset: auto; height: 300px; margin: 0 -20px 28px; order: -1; }
  .theme-pastafino-studio .s-hero-photo .s-next { grid-column: 1; width: 100%; margin: 24px 0 0; justify-self: stretch; }
  .theme-pastafino-studio .s-hero-text { padding-right: 0; }
  .theme-pastafino-studio .s-steps li { border-right: 0; border-bottom: 1px solid var(--ink); }
  .theme-pastafino-studio .s-steps li:last-child { border-bottom: 0; }
  .theme-pastafino-studio .nav-links { gap: 2px; }
  .theme-pastafino-studio .nav-links a { padding: 12px 0; }
  .theme-pastafino-studio .s-band { padding: 28px 22px; }
}

/* =====================================================================
   Pastafino — BOLD : néo-brutaliste pop
   Grosses lettres, bordures noires 2px, ombres franches décalées, couleurs vives.
   ===================================================================== */
.theme-sw-pastafino-bold { background: #ffc43d; border: 2px solid #111; box-shadow: 4px 4px 0 #111; }
body.theme-pastafino-bold {
  --bg: #fff4dc; --surface: #ffffff; --ink: #111111; --muted: #4a4a44; --line: #111111;
  --yellow: #ffc43d; --yellow-50: #fff0c7; --yellow-100: #ffe49a; --yellow-300: #ffd56a;
  --sage: #1f6b45; --sage-50: #c9f2d6; --sage-100: #b2ebc4; --sage-700: #145233;
  --coral: #ff6b4a; --mint: #b8f0c8; --lilac: #d9c8ff;
  --r-sm: 12px; --r-md: 16px; --r-lg: 20px; --r-xl: 26px;
  --shadow: 5px 5px 0 #111; --shadow-lg: 8px 8px 0 #111;
  --font: 'DM Sans', system-ui, sans-serif; --head-font: 'Bricolage Grotesque', 'DM Sans', sans-serif;
}
.theme-pastafino-bold h1, .theme-pastafino-bold h2, .theme-pastafino-bold h3, .theme-pastafino-bold .s-title, .theme-pastafino-bold .track-number strong {
  font-family: var(--head-font) !important; font-weight: 800 !important; letter-spacing: -0.04em !important; line-height: .95;
}
.theme-pastafino-bold h1 { font-size: clamp(42px, 7vw, 92px); }
.theme-pastafino-bold .s-hero h1 { font-size: clamp(50px, 8vw, 112px); text-transform: uppercase; }
.theme-pastafino-bold h2, .theme-pastafino-bold .s-title { font-size: clamp(32px, 4.4vw, 58px); }
.theme-pastafino-bold a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.theme-pastafino-bold a:hover { color: var(--sage); }
.theme-pastafino-bold .btn, .theme-pastafino-bold .nav-links a, .theme-pastafino-bold .chip, .theme-pastafino-bold .otab, .theme-pastafino-bold .s-offer, .theme-pastafino-bold .stat, .theme-pastafino-bold .tabs a { text-decoration: none; }
.theme-pastafino-bold .kicker { display: inline-flex; background: var(--mint); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; transform: rotate(-1.5deg); box-shadow: 3px 3px 0 var(--ink); }
.theme-pastafino-bold .kicker::before { display: none; }
/* Navigation : bandeau moutarde, bord noir */
.theme-pastafino-bold .nav { background: var(--yellow); border-bottom: 2px solid var(--ink); box-shadow: none; backdrop-filter: none; }
.theme-pastafino-bold .nav-links { background: var(--surface); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.theme-pastafino-bold .nav-links a { color: var(--ink); font-weight: 700; }
.theme-pastafino-bold .nav-links a:hover { background: var(--mint); }
.theme-pastafino-bold .nav-links a.is-active, .theme-pastafino-bold .nav-group.is-active > summary, .theme-pastafino-bold .nav-links .nav-solo.is-active { background: var(--ink); color: var(--yellow); }
.theme-pastafino-bold .site-nav .nav-links a.nav-camp { color: var(--ink) !important; background: var(--coral); }
.theme-pastafino-bold .nav-user { background: var(--coral); border: 2px solid var(--ink); }
/* Boutons : moutarde / vert, bord noir, ombre franche qui « s'enfonce » */
.theme-pastafino-bold .btn { border: 2px solid var(--ink); font-weight: 700; box-shadow: 4px 4px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.theme-pastafino-bold .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.theme-pastafino-bold .btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.theme-pastafino-bold .btn-primary { background: var(--sage); color: #fff; }
.theme-pastafino-bold .btn-primary:hover { background: var(--sage-700); color: #fff; }
.theme-pastafino-bold .btn-primary .arrow { color: var(--yellow); }
.theme-pastafino-bold .btn-secondary { background: var(--surface); color: var(--ink); }
.theme-pastafino-bold .btn-secondary:hover { background: var(--yellow); }
.theme-pastafino-bold .btn-ghost { box-shadow: none; border-color: transparent; }
.theme-pastafino-bold .btn-ghost:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.theme-pastafino-bold .site-nav .nav-links .btn-primary, .theme-pastafino-bold .nav-links .btn-primary { background: var(--coral); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
/* Cartes : bord noir 2px, ombre décalée */
.theme-pastafino-bold .card, .theme-pastafino-bold .s-band, .theme-pastafino-bold .stat, .theme-pastafino-bold .s-steps li, .theme-pastafino-bold .choice,
.theme-pastafino-bold .oc-card, .theme-pastafino-bold .lab-dest, .theme-pastafino-bold .pasta-tile, .theme-pastafino-bold .otabs, .theme-pastafino-bold .s-offer {
  border: 2px solid var(--ink); box-shadow: var(--shadow);
}
.theme-pastafino-bold .stat:nth-child(1) { background: var(--yellow); } .theme-pastafino-bold .stat:nth-child(2) { background: var(--mint); }
.theme-pastafino-bold .stat:nth-child(3) { background: var(--lilac); } .theme-pastafino-bold .stat:nth-child(4) { background: var(--coral); color: var(--ink); }
.theme-pastafino-bold .stat:nth-child(4) .muted { color: var(--ink); }
.theme-pastafino-bold .s-steps li:nth-child(4n+1) { background: var(--yellow-50); } .theme-pastafino-bold .s-steps li:nth-child(4n+2) { background: var(--mint); }
.theme-pastafino-bold .s-steps li:nth-child(4n+3) { background: var(--lilac); } .theme-pastafino-bold .s-steps li:nth-child(4n+4) { background: #ffd2c4; }
.theme-pastafino-bold .s-steps li::before { width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font-family: var(--head-font); font-size: 20px; }
.theme-pastafino-bold .s-steps span { color: var(--ink); }
.theme-pastafino-bold .input { border: 2px solid var(--ink); }
.theme-pastafino-bold .input:focus { border-color: var(--ink); box-shadow: 4px 4px 0 var(--sage); }
.theme-pastafino-bold .tag, .theme-pastafino-bold .badge { border: 2px solid var(--ink); }
.theme-pastafino-bold .chip { border: 2px solid var(--ink); }
.theme-pastafino-bold .chip.is-on, .theme-pastafino-bold .otab.is-on, .theme-pastafino-bold .stepper li.is-current { background: var(--ink); color: var(--yellow); }
.theme-pastafino-bold .flash { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--mint); color: var(--ink); }
.theme-pastafino-bold .flash-error { background: #ffd2c4; }
.theme-pastafino-bold .choice:has(input:checked) { background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); transform: translate(3px, 3px); }
.theme-pastafino-bold .step-n { background: var(--coral); color: var(--ink); border: 2px solid var(--ink); }
/* Accueil : photo encadrée inclinée, aside en sticker */
.theme-pastafino-bold .s-hero-photo { min-height: min(84vh, 720px); border-bottom: 2px solid var(--ink); background: var(--yellow-50); }
.theme-pastafino-bold .s-hero-bg { inset: 48px max(20px, calc(50vw - 560px)) 48px 56%; -webkit-mask-image: none; mask-image: none; border: 3px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink); transform: rotate(2deg); opacity: 1; }
.theme-pastafino-bold .s-hero-photo::after { display: none; }
.theme-pastafino-bold .s-hero-photo .s-next { background: var(--surface); backdrop-filter: none; transform: rotate(-2deg); border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.theme-pastafino-bold .s-hero-sub { font-family: var(--head-font); font-weight: 700; }
.theme-pastafino-bold .s-walloon { display: inline-block; background: var(--lilac); border: 2px solid var(--ink); border-radius: 12px; padding: 4px 12px; color: var(--ink); transform: rotate(-1deg); }
.theme-pastafino-bold .s-section { margin-bottom: 80px; }
.theme-pastafino-bold .s-band { background: var(--sage); color: #fff; }
.theme-pastafino-bold .s-band h2, .theme-pastafino-bold .s-band h3, .theme-pastafino-bold .s-band strong { color: #fff; }
.theme-pastafino-bold .s-band .muted, .theme-pastafino-bold .s-band p { color: #e9f7ee; }
.theme-pastafino-bold .s-band a:not(.btn) { color: var(--yellow); }
.theme-pastafino-bold .s-band.s-wm-wrap { background: var(--sage); }
.theme-pastafino-bold .s-wm { opacity: .12; }
.theme-pastafino-bold .s-craft-img { border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); border-radius: 24px; }
.theme-pastafino-bold .s-craft-img:first-of-type { transform: rotate(-1.5deg); } .theme-pastafino-bold .s-craft-img:last-of-type { transform: rotate(1.5deg); }
.theme-pastafino-bold .s-offer { background: var(--yellow); }
.theme-pastafino-bold .s-offer-alt { background: var(--mint); }
.theme-pastafino-bold .s-offer-img { -webkit-mask-image: none; mask-image: none; border-bottom: 2px solid var(--ink); }
.theme-pastafino-bold .site-foot { background: var(--ink); color: #fff; border-top: 0; }
.theme-pastafino-bold .site-foot a { color: var(--yellow); }
.theme-pastafino-bold .site-foot .muted, .theme-pastafino-bold .site-foot .small { color: #d8d4c8; }
.theme-pastafino-bold .site-foot .kicker { box-shadow: none; }
.theme-pastafino-bold .composer-foot { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.theme-pastafino-bold .kc-row { border: 2px solid var(--ink); }
@media (max-width: 860px) {
  .theme-pastafino-bold .s-hero-bg { position: relative; inset: auto; display: block; height: 260px; margin: 12px 4px 30px; order: -1; }
  .theme-pastafino-bold .s-hero-photo { display: flex; flex-direction: column; min-height: 0; padding-top: 8px; }
  .theme-pastafino-bold .s-hero-photo .s-next { transform: none; margin-top: 28px; }
  .theme-pastafino-bold .nav-links { box-shadow: 3px 3px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .theme-pastafino-bold .btn { transition: none; } }
/* Ajustements Studio / Bold */
.theme-pastafino-studio .site-nav .nav-links .btn-primary, .theme-pastafino-studio .nav-links .btn-primary { color: var(--bg); }
.theme-pastafino-studio .s-steps { border: 0; gap: 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.theme-pastafino-studio .s-steps li, .theme-pastafino-studio .s-steps li:last-child { border: 1px solid var(--ink); margin: 0 -1px -1px 0; }
@media (max-width: 860px) { .theme-pastafino-studio .s-steps li, .theme-pastafino-studio .s-steps li:last-child { border: 1px solid var(--ink); } }
.theme-pastafino-bold .s-hero-photo .s-next { align-self: end; justify-self: start; width: min(340px, 92%); margin: 0 0 8px -48px; }
@media (max-width: 860px) { .theme-pastafino-bold .s-hero-photo .s-next { margin: 28px 0 0; width: 100%; justify-self: stretch; } }
@media (max-width: 860px) { .theme-pastafino-bold .s-hero-bg { align-self: stretch; width: auto; min-width: 0; } .theme-pastafino-bold .s-hero-photo .kicker { font-size: 11px; } }
.theme-pastafino .site-nav a.nav-camp, .theme-pastafino-notte .site-nav a.nav-camp { color: var(--gold) !important; }
/* Verde : sous-menus déroulants de l'admin (fond clair) — texte vert foncé lisible */
@media (min-width: 1101px) {
  .theme-pastafino .nav-links .nav-sub a { color: var(--green-900); }
  .theme-pastafino .nav-links .nav-sub a:hover { background: rgba(15, 43, 30, .08); color: var(--green-900); }
  .theme-pastafino .nav-links .nav-sub a.is-active { background: var(--gold); color: var(--green-900); box-shadow: inset 3px 0 0 var(--green-900); }
}
.theme-pastafino .nav-admin .nav-group[open] > summary { color: var(--green-900); }
/* Écran de salle : logo crème sur son fond vert d'origine */
body[class*="theme-pastafino"] .screen-brand { background: #2b3b23; border-color: #2b3b23; }
/* Menu principal (fond vert) : survol lisible */
.theme-pastafino .nav-admin .nav-group > summary:hover, .theme-pastafino-notte .nav-admin .nav-group > summary:hover,
.theme-pastafino .nav-links .nav-solo:hover, .theme-pastafino-notte .nav-links .nav-solo:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.theme-pastafino .nav-admin .nav-group.is-active > summary:hover { background: var(--gold); color: var(--green-900); filter: brightness(1.06); }
.theme-pastafino .nav-admin .nav-group[open] > summary:hover { background: var(--yellow-100, #fbeec9); color: var(--green-900); }
