:root {
  --navy: #0b1220;
  --blue: #0b3b8f;
  --blue-soft: #eaf1ff;
  --red: #e30613;
  --green: #15803d;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #d9e1ec;
  --shadow: 0 18px 50px rgba(15, 23, 42, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(11, 59, 143, .35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--red));
  text-align: center;
  font-weight: 800;
}

.announcement span,
.announcement em {
  font-size: 13px;
}

.announcement span {
  text-transform: uppercase;
}

.announcement strong {
  font-size: 18px;
}

.announcement em {
  font-style: normal;
  opacity: .92;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue) 0 48%, #fff 48% 64%, var(--red) 64%);
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .38);
  box-shadow: 0 10px 24px rgba(11, 59, 143, .22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 800;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-size: 24px;
}

.section {
  padding: 82px 7vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 96px);
  background: #fff;
}

.hero-copy {
  max-width: 820px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #cfe0ff;
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
}

h1 {
  margin: 22px 0;
  font-size: 70px;
  line-height: .98;
}

h2 {
  margin: 16px 0;
  font-size: 48px;
  line-height: 1.05;
}

h3 {
  font-size: 21px;
}

p {
  line-height: 1.72;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.price-strip div,
.summary-price,
.benefits article,
.order-form,
.legal-card,
.admin-box,
.order-card,
.flag-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.price-strip div {
  padding: 18px;
}

.price-strip span,
.summary-price span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price-strip strong,
.summary-price strong {
  color: var(--navy);
  font-size: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 34px rgba(227, 6, 19, .22);
}

.btn-primary:hover {
  background: #c90510;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.btn-large {
  min-height: 62px;
  padding-inline: 30px;
  font-size: 17px;
}

.full {
  width: 100%;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #334155;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
}

.hero-media {
  position: relative;
}

.image-card,
.premium-image,
.slider-main {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #071322;
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  aspect-ratio: 1 / 1.03;
  object-fit: cover;
}

.floating {
  position: absolute;
  right: -18px;
  top: 38px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  padding: 16px 18px;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
}

.floating small {
  display: block;
  color: #dbeafe;
  font-size: 12px;
}

.section-head {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

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

.benefits article {
  padding: 24px;
}

.benefits span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.benefits p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-showcase,
.countries-section,
.order-section {
  background: #fff;
}

.product-slider {
  display: grid;
  grid-template-columns: 56px minmax(0, 850px) 56px;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.slider-main {
  position: relative;
  padding: 0;
  color: #fff;
}

.slider-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #071322;
}

.slider-main span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(7, 19, 34, .78);
  color: #fff;
  padding: 9px 14px;
  font-weight: 900;
}

.slider-arrow {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .09);
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.gallery-dot {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.gallery-dot.active {
  border-color: var(--red);
}

.gallery-dot img {
  width: 74px;
  height: 54px;
  object-fit: cover;
}

.zoomable {
  cursor: zoom-in;
}

.custom-highlight {
  background: var(--navy);
}

.custom-card-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: #fff;
  padding: 34px;
  box-shadow: 0 26px 66px rgba(0, 0, 0, .22);
}

.custom-copy p {
  color: var(--muted);
}

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

.premium-list li {
  display: flex;
  gap: 10px;
  color: #1f2937;
  font-weight: 800;
}

.premium-list li::before,
.checklist li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.premium-image {
  padding: 0;
}

.premium-image img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

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

.country-card {
  min-height: 0;
  overflow: hidden;
  border: 1px solid #18304d;
  border-radius: var(--radius);
  padding: 0;
  background: #071322;
  color: #fff;
  box-shadow: 0 12px 26px rgba(2, 8, 23, .14);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.country-card:hover,
.country-card.is-selected {
  transform: translateY(-1px);
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(227, 6, 19, .16);
}

.country-card img {
  width: 100%;
  aspect-ratio: 207 / 159;
  object-fit: cover;
}

.main-country-card {
  display: grid;
  grid-template-rows: auto auto;
}

.country-card-visual {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: inherit;
}

.country-card-cta {
  padding: 0 14px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.main-country-card:hover .country-card-cta,
.main-country-card:focus-within .country-card-cta,
.main-country-card.is-selected .country-card-cta {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.country-buy-btn {
  width: 100%;
  min-height: 44px;
  font-size: 15px;
}

.country-card-body {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.country-card-body small {
  color: #cbd5e1;
  font-size: 12px;
}

.country-card.compact .country-card-body {
  min-height: 48px;
  padding: 8px;
  font-size: 14px;
}

.custom-cta .country-card-body {
  flex-direction: column;
  gap: 4px;
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  gap: 50px;
  align-items: center;
}

.flag-grid {
  grid-template-columns: minmax(240px, 1.3fr) minmax(180px, .95fr) minmax(110px, .65fr) !important;
}

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

.checklist li {
  display: flex;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 13px 15px;
  font-weight: 850;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.order-summary {
  position: sticky;
  top: 102px;
}

.order-summary p {
  color: var(--muted);
}

.summary-price {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 18px;
  background: var(--navy);
  color: #fff;
}

.summary-price div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding-bottom: 12px;
}

.summary-price div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-price span {
  color: #cbd5e1;
}

.summary-price strong {
  color: #fff;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-badges span {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
}

.order-form {
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-step {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step-title span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

label {
  display: block;
  margin-bottom: 16px;
  color: #1f2937;
  font-weight: 850;
}

label small,
.file-help {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 15px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(11, 59, 143, .12);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.discount-banner {
  margin-bottom: 16px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  background: #eff6ff;
  color: #1e3a8a;
  padding: 14px 16px;
  line-height: 1.5;
}

.items-list {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.flag-item {
  padding: 18px;
  background: #f8fafc;
}

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

.flag-item-head h4 {
  font-size: 18px;
}

.remove-flag {
  min-height: 36px;
  border: 1px solid #fecdd3;
  border-radius: var(--radius);
  background: #fff1f2;
  color: #be123c;
  padding: 0 12px;
  font-weight: 900;
}

.item-standard-fields,
.item-custom-fields {
  margin-top: 14px;
}

.hidden {
  display: none !important;
}

.country-select-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 900;
}

.country-select-header small {
  color: var(--muted);
  font-weight: 700;
}

.selected-country-slot {
  margin-bottom: 12px;
}

.selected-country-preview {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 14px;
}

.selected-country-preview img {
  width: 120px;
  max-width: 100%;
  aspect-ratio: 207 / 159;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.selected-country-preview strong,
.selected-country-preview span {
  display: block;
}

.selected-country-preview strong {
  color: var(--navy);
  font-size: 18px;
}

.selected-country-preview span {
  color: var(--muted);
  font-size: 14px;
}

.selected-country-preview.empty {
  justify-content: center;
  color: var(--muted);
  font-weight: 800;
}

.country-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin: -4px 0 14px;
}

.file-preview img {
  width: 96px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.file-preview strong,
.file-preview span {
  display: block;
}

.file-preview span {
  color: var(--muted);
  font-size: 13px;
}

.file-error {
  margin: 0;
  color: #be123c;
  font-weight: 800;
}

.address-label {
  position: relative;
}

.address-suggestions {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% - 8px);
  display: none;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
}

.address-suggestions.visible {
  display: grid;
}

.address-suggestion {
  border: 0;
  border-radius: var(--radius);
  background: #f8fafc;
  color: #334155;
  padding: 10px 12px;
  text-align: left;
  font-weight: 800;
}

.address-suggestion:hover,
.address-suggestion:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
}

.live-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 18px;
}

.summary-lines {
  display: grid;
  gap: 10px;
}

.summary-line {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}

.summary-line img,
.summary-placeholder {
  width: 78px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #e2e8f0;
}

.summary-line strong,
.summary-line span,
.summary-line small {
  display: block;
}

.summary-line strong {
  color: var(--navy);
}

.summary-line span,
.summary-line small {
  color: var(--muted);
}

.summary-totals {
  margin-top: 14px;
}

.summary-totals p {
  margin: 7px 0;
  line-height: 1.45;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}

.check-row input {
  width: auto;
  margin-top: 4px;
}

.check-row a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
}

.checkout-button {
  font-size: 18px;
}

.secure-line {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.alert {
  display: none;
  margin-top: 16px;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 850;
}

.alert.success {
  display: block;
  background: #ecfdf3;
  color: #166534;
}

.alert.error {
  display: block;
  background: #fff1f2;
  color: #be123c;
}

.alert.info {
  display: block;
  background: #eff6ff;
  color: #1d4ed8;
}

.faq-section {
  background: var(--bg);
}

.faq-list {
  max-width: 930px;
  margin: 0 auto;
}

details {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 20px;
}

details[open] {
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px rgba(11, 59, 143, .08);
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 7vw;
  background: var(--navy);
  color: #fff;
}

.footer p {
  color: #cbd5e1;
}

.footer nav {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
}

.footer nav a {
  font-weight: 800;
}

.footer a:hover {
  color: #bfdbfe;
}

.sticky-buy {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(7, 19, 34, .94);
  color: #fff;
  padding: 10px 12px 10px 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}

.sticky-buy strong,
.sticky-buy span {
  display: block;
}

.sticky-buy span {
  color: #cbd5e1;
  font-size: 12px;
}

.sticky-buy .btn {
  min-height: 42px;
  padding-inline: 16px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, .9);
  padding: 24px;
}

.image-modal.open {
  display: flex;
}

.image-modal figure {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  margin: 0;
}

.image-modal img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  background: #071322;
  object-fit: contain;
  box-shadow: 0 28px 76px rgba(0, 0, 0, .45);
}

.image-modal figcaption {
  margin-top: 12px;
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.legal-page,
.admin-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 7vw;
}

.legal-page h1,
.admin-wrap h1 {
  margin: 18px 0 12px;
  font-size: 52px;
  line-height: 1.05;
}

.legal-page h2 {
  margin-top: 0;
  font-size: 28px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-card {
  margin: 18px 0;
  padding: 24px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
}

.legal-card ul {
  padding-left: 20px;
}

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

.legal-nav {
  display: flex !important;
}

.thanks-page {
  text-align: left;
}

.admin-box {
  margin: 18px 0;
  padding: 22px;
}

.admin-toolbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-toolbar label {
  min-width: min(360px, 100%);
  margin-bottom: 0;
}

.orders-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.order-card {
  padding: 18px;
}

.order-card header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.status-badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 900;
}

.order-card dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 12px;
  margin: 0;
}

.order-card dt {
  font-weight: 900;
}

.order-card dd {
  margin: 0;
  color: var(--muted);
  word-break: break-word;
}

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

.admin-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.admin-item img {
  width: 72px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.admin-item a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.order-actions .btn {
  min-height: 42px;
  padding: 0 15px;
  font-size: 14px;
}

@media (max-width: 1050px) {
  .hero,
  .gallery-layout,
  .order-layout,
  .custom-card-premium {
    grid-template-columns: 1fr;
  }

  .flag-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .hero {
    min-height: auto;
  }

  .order-summary {
    position: static;
  }

  .benefits,
  .visual-country-grid,
  .country-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-slider {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 82px;
  }

  .announcement {
    flex-wrap: wrap;
    gap: 8px;
  }

  .site-header {
    padding: 14px 5vw;
  }

  .brand {
    font-size: 21px;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 5vw;
    right: 5vw;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .section {
    padding: 56px 5vw;
  }

  h1 {
    font-size: 42px;
  }

  h2,
  .legal-page h1,
  .admin-wrap h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions .btn,
  .price-strip,
  .benefits,
  .form-grid,
  .form-grid.three {
    width: 100%;
  }

  .price-strip,
  .benefits,
  .form-grid,
  .form-grid.three,
  .country-grid,
  .visual-country-grid,
  .country-picker {
    grid-template-columns: 1fr;
  }

  .floating {
    display: none;
  }

  .product-slider {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    display: none;
  }

  .gallery-dot img {
    width: 58px;
    height: 44px;
  }

  .custom-card-premium,
  .order-form {
    padding: 20px;
  }

  .country-card-cta {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .country-select-header {
    display: block;
  }

  .selected-country-preview {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .selected-country-preview img {
    width: 86px;
  }

  .summary-line {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .summary-line img,
  .summary-placeholder {
    width: 64px;
    height: 50px;
  }

  .footer {
    flex-direction: column;
    padding: 38px 5vw;
  }

  .legal-nav {
    display: none !important;
  }

  .sticky-buy {
    left: 10px;
    right: 10px;
    bottom: 10px;
    transform: none;
    justify-content: space-between;
  }

  .legal-page,
  .admin-wrap {
    padding: 54px 5vw;
  }

  .order-card header,
  .admin-item {
    grid-template-columns: 1fr;
  }

  .order-card header {
    display: grid;
  }

  .order-card dl {
    grid-template-columns: 1fr;
  }
}


/* Corrections finales CapotFlag */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  min-height: auto;
}

.hero-media {
  max-width: 560px;
  margin-left: auto;
}

.hero-product-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #071322;
}

/* Section pays : un grand visuel sélectionné + miniatures */
.visual-country-grid {
  display: block;
  max-width: 1160px;
  margin: 0 auto;
}

.featured-country {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.featured-country-image {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #071322;
  padding: 0;
  cursor: zoom-in;
}

.featured-country-image img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #071322;
}

.featured-country-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  padding: 24px;
}

.featured-country-panel span {
  color: #bfdbfe;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.featured-country-panel strong {
  display: block;
  margin: 10px 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.featured-country-panel p {
  color: #dbeafe;
  margin: 0 0 22px;
}

.country-thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.country-thumb {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #071322;
  color: #fff;
  padding: 0;
  box-shadow: 0 8px 18px rgba(2, 8, 23, .12);
  transition: transform .18s ease, border-color .18s ease;
}

.country-thumb:hover,
.country-thumb.is-selected {
  transform: translateY(-1px);
  border-color: var(--red);
}

.country-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #071322;
}

.country-thumb span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 6px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.country-thumb small {
  color: #cbd5e1;
  font-size: 11px;
}

/* Formulaire : aperçu pays non déformé */
.selected-country-preview {
  grid-template-columns: 180px minmax(0, 1fr);
}

.selected-country-preview img {
  width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #071322;
}

.country-picker .country-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #071322;
}

@media (max-width: 1050px) {
  .hero-media {
    max-width: 640px;
    margin-left: 0;
  }

  .featured-country {
    grid-template-columns: 1fr;
  }

  .country-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .country-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-country {
    padding: 12px;
  }

  .featured-country-panel {
    padding: 18px;
  }

  .selected-country-preview {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .selected-country-preview img {
    width: 120px;
  }
}


/* Ajustements finaux hero + aperçus pays */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 44px;
  min-height: auto;
}

.hero-media {
  max-width: 500px;
  width: 100%;
  margin: 0 auto 0 0;
}

.hero-product-card {
  max-width: 500px;
  margin-left: auto;
}

.hero-product-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #071322;
}

.selected-country-preview {
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  align-items: center;
}

.selected-country-preview img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #071322;
}

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

  .hero-media,
  .hero-product-card {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .hero-media,
  .hero-product-card {
    max-width: 100%;
  }

  .selected-country-preview {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .selected-country-preview img {
    max-width: 120px;
  }
}

/* Correctifs mobile finaux */
@media (max-width: 720px) {
  body {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .announcement {
    gap: 6px;
    padding: 9px 10px;
  }

  .announcement span,
  .announcement em {
    font-size: 12px;
  }

  .announcement strong {
    font-size: 16px;
  }

  .hero.section {
    padding: 34px 5vw 30px;
    gap: 22px;
  }

  .hero h1 {
    margin: 18px 0;
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.02;
    letter-spacing: -1px;
  }

  .hero .lead {
    font-size: 16.5px;
    line-height: 1.58;
  }

  .hero .price-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 20px 0;
  }

  .hero .price-strip div {
    padding: 12px 8px;
    min-width: 0;
  }

  .hero .price-strip span {
    font-size: 11px;
  }

  .hero .price-strip strong {
    font-size: clamp(16px, 5vw, 21px);
    line-height: 1.1;
  }

  .hero-actions {
    gap: 10px;
    margin: 20px 0;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 54px;
  }

  .trust {
    gap: 8px;
  }

  .trust li {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-media,
  .hero-product-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-product-card img {
    max-height: 330px;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .order-section {
    padding: 42px 4.5vw 130px;
  }

  .order-form {
    padding: 14px;
  }

  .flag-item {
    padding: 14px;
  }

  .flag-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .flag-grid label {
    margin-bottom: 4px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    padding: 12px 13px;
    font-size: 16px;
    line-height: 1.25;
  }

  .country-select-header {
    display: grid;
    gap: 4px;
    align-items: start;
  }

  .country-select-header small {
    font-size: 13px;
  }

  .selected-country-preview {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .selected-country-preview img {
    width: 112px;
    max-width: 112px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .selected-country-preview strong {
    font-size: 18px;
  }

  .selected-country-preview span {
    font-size: 14px;
    line-height: 1.35;
  }

  .country-picker {
    display: flex !important;
    gap: 10px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scroll-snap-type: x proximity;
  }

  .country-picker .country-card {
    flex: 0 0 116px;
    max-width: 116px;
    scroll-snap-align: start;
  }

  .country-picker .country-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .country-picker .country-card-body {
    min-height: 36px;
    padding: 6px;
    font-size: 12px;
  }

  .sticky-buy {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: none;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .sticky-buy strong {
    font-size: 18px;
  }

  .sticky-buy .btn {
    min-width: 142px;
    min-height: 52px;
    padding-inline: 16px;
    font-size: 17px;
  }
}

/* V6 - optimisation mobile CapotFlag */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .section {
    padding: 42px 18px;
  }

  .announcement {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: center;
    padding: 10px 14px;
    text-align: left;
  }

  .announcement span {
    font-size: 12px;
    line-height: 1.2;
  }

  .announcement strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .announcement em {
    grid-column: 1 / -1;
    font-size: 12px;
    line-height: 1.2;
  }

  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
    font-size: 26px;
  }

  .brand-mark {
    flex: 0 0 auto;
  }

  .menu-button {
    flex: 0 0 auto;
  }

  .hero.section {
    padding: 40px 20px 30px;
    gap: 22px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.04;
    letter-spacing: -1.4px;
  }

  .hero .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero .price-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 22px 0;
  }

  .hero .price-strip div {
    padding: 14px 16px;
  }

  .hero .price-strip strong {
    font-size: 24px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin: 20px 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust li {
    width: 100%;
    justify-content: flex-start;
    font-size: 13px;
  }

  .hero-media,
  .hero-product-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .hero-product-card img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .benefits,
  .form-grid,
  .form-grid.three,
  .flag-grid,
  .order-layout,
  .custom-card-premium,
  .featured-country {
    grid-template-columns: 1fr !important;
  }

  .order-section {
    padding: 42px 16px calc(116px + env(safe-area-inset-bottom));
  }

  .order-form,
  .flag-item,
  .order-summary,
  .custom-card-premium,
  .featured-country {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .order-form {
    padding: 16px;
  }

  .flag-item {
    padding: 14px;
  }

  .flag-item-head {
    align-items: flex-start;
  }

  .flag-grid {
    display: grid !important;
    gap: 12px;
  }

  .flag-grid label {
    margin-bottom: 0;
  }

  input,
  select,
  textarea {
    min-height: 50px;
    font-size: 16px;
    line-height: 1.25;
    padding: 12px 13px;
  }

  .country-select-header {
    display: grid;
    gap: 4px;
    align-items: start;
  }

  .country-select-header small {
    font-size: 13px;
  }

  .selected-country-preview {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .selected-country-preview img {
    width: 96px;
    max-width: 96px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    background: #071322;
  }

  .selected-country-preview strong {
    font-size: 18px;
  }

  .selected-country-preview span {
    font-size: 14px;
    line-height: 1.35;
  }

  .country-picker {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 9px;
    max-height: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .country-picker .country-card,
  .country-picker .country-option,
  .country-picker .country-card.compact {
    flex: 0 0 84px !important;
    width: 84px !important;
    max-width: 84px !important;
    min-width: 84px !important;
    scroll-snap-align: start;
  }

  .country-picker .country-card img,
  .country-picker .country-option img {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    background: #071322;
  }

  .country-picker .country-card-body {
    min-height: 34px;
    padding: 6px 4px;
    font-size: 11px;
    line-height: 1.1;
  }

  .featured-country {
    padding: 12px;
    gap: 14px;
  }

  .featured-country-panel {
    padding: 18px;
  }

  .featured-country-panel strong {
    font-size: 34px;
  }

  .country-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .country-thumb span {
    min-height: 34px;
    padding: 6px 4px;
    font-size: 11px;
  }

  .summary-line {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .summary-line img,
  .summary-placeholder {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #071322;
  }

  .sticky-buy {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    transform: translateY(18px);
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px 9px 14px;
    border-radius: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  body.sticky-visible .sticky-buy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .sticky-buy strong {
    font-size: 17px;
  }

  .sticky-buy span {
    font-size: 12px;
  }

  .sticky-buy .btn {
    min-width: 132px;
    min-height: 48px;
    padding-inline: 14px;
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 23px;
  }

  .hero h1 {
    font-size: 34px;
  }

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

  .sticky-buy .btn {
    min-width: 118px;
  }
}


/* V7 - correction responsive mobile stricte */
@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    font-size: 16px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  main,
  section,
  form,
  aside,
  div,
  article,
  header,
  footer,
  nav,
  label,
  input,
  select,
  textarea,
  button,
  img {
    max-width: 100%;
    min-width: 0;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  span,
  strong,
  small,
  label,
  summary,
  a {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section,
  .hero.section,
  .product,
  .custom-highlight,
  .countries-section,
  .order-section,
  .faq-section {
    width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow-x: hidden;
  }

  .site-header {
    width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .brand {
    font-size: 25px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .hero.section {
    padding-top: 34px !important;
    padding-bottom: 30px !important;
  }

  .hero h1 {
    max-width: 100%;
    margin: 16px 0 14px;
    font-size: clamp(36px, 9.4vw, 43px) !important;
    line-height: 1.04;
    letter-spacing: -1.2px;
  }

  .hero .lead {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.55;
  }

  .hero .price-strip {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .hero .price-strip div {
    width: 100%;
    padding: 14px 16px;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn,
  .btn-large {
    width: 100%;
    min-height: 54px;
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
  }

  .trust {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust li {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-media,
  .hero-product-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .hero-product-card img,
  .premium-image img,
  .featured-country-image img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .order-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px;
    width: 100%;
    overflow-x: hidden;
  }

  .order-summary,
  .order-form,
  .flag-item,
  .form-step,
  .summary-price,
  .live-summary {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .order-summary h2 {
    font-size: clamp(32px, 8.6vw, 38px) !important;
    line-height: 1.08;
    letter-spacing: -1px;
  }

  .order-summary p {
    font-size: 16px;
    line-height: 1.55;
  }

  .summary-price {
    padding: 16px;
  }

  .summary-price div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .summary-price span {
    min-width: 0;
  }

  .summary-price strong {
    white-space: nowrap;
    font-size: 23px;
  }

  .payment-badges {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .payment-badges span {
    width: 100%;
    text-align: center;
  }

  .step-title {
    align-items: flex-start;
  }

  .step-title h3 {
    font-size: clamp(28px, 7.2vw, 34px);
    line-height: 1.1;
  }

  .discount-banner {
    font-size: 16px;
    line-height: 1.45;
  }

  .flag-grid,
  .form-grid,
  .form-grid.three {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .flag-grid label,
  .form-grid label,
  .form-grid.three label,
  label {
    width: 100%;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.25;
  }

  input,
  select,
  textarea {
    width: 100% !important;
    max-width: 100%;
    min-height: 50px;
    font-size: 16px !important;
    line-height: 1.25;
    padding: 12px 13px;
  }

  select.item-type,
  select.item-size,
  input.item-quantity {
    min-width: 0 !important;
  }

  .country-select-header {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .selected-country-preview {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 12px;
    align-items: center;
    padding: 10px;
  }

  .selected-country-preview img {
    width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  .selected-country-preview strong {
    font-size: 18px;
    line-height: 1.15;
  }

  .selected-country-preview span {
    font-size: 14px;
    line-height: 1.35;
  }

  .country-picker {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 0 10px;
    -webkit-overflow-scrolling: touch;
  }

  .country-picker .country-card,
  .country-picker .country-option,
  .country-picker .country-card.compact {
    flex: 0 0 82px !important;
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
  }

  .country-picker .country-card img,
  .country-picker .country-option img {
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    object-fit: contain !important;
  }

  .country-picker .country-card-body {
    min-height: 32px;
    padding: 5px 3px;
    font-size: 10.5px !important;
    line-height: 1.1;
  }

  .summary-line {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 10px;
  }

  .summary-line img,
  .summary-placeholder {
    width: 54px !important;
    height: 54px !important;
    object-fit: contain;
  }

  .summary-line strong,
  .summary-line span,
  .summary-line small {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .check-row {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .check-row input {
    width: 24px !important;
    height: 24px;
    min-height: 24px;
  }

  .checkout-button {
    width: 100%;
    min-height: 54px;
    white-space: normal;
    font-size: 17px;
  }

  .sticky-buy {
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    padding: 8px 9px 8px 13px !important;
    gap: 8px;
  }

  .sticky-buy strong {
    font-size: 16px !important;
  }

  .sticky-buy span {
    font-size: 11px !important;
  }

  .sticky-buy .btn {
    min-width: 120px !important;
    min-height: 46px !important;
    padding-inline: 12px !important;
    font-size: 15px !important;
  }

  body.order-in-view .sticky-buy {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .section,
  .hero.section,
  .order-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .order-form {
    padding: 13px;
  }

  .flag-item {
    padding: 12px;
  }

  .hero h1 {
    font-size: clamp(33px, 9vw, 39px) !important;
  }

  .tag {
    font-size: 12px;
  }
}


/* Panier séparé de la page de paiement */
.cart-builder-layout .order-summary,
.checkout-layout .order-summary {
  position: sticky;
  top: 96px;
}

.cart-builder-card .checkout-button,
.checkout-form .checkout-button {
  margin-top: 12px;
}

.custom-next-step {
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  background: #eff6ff;
  color: #1e3a8a;
  padding: 14px 16px;
}

.custom-next-step strong,
.custom-next-step span {
  display: block;
}

.checkout-page h1 {
  font-size: clamp(44px, 7vw, 68px);
  line-height: 1;
}

.checkout-head {
  max-width: 980px;
}

.checkout-items {
  display: grid;
  gap: 14px;
}

.checkout-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 14px;
}

.checkout-custom-upload {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-side .mini-cart {
  margin: 18px 0;
  max-height: 360px;
  overflow: auto;
}

.checkout-page-body .sticky-buy {
  display: none !important;
}

@media (max-width: 900px) {
  .cart-builder-layout,
  .checkout-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .cart-builder-layout .order-summary,
  .checkout-layout .order-summary {
    position: static !important;
    width: 100%;
  }

  .cart-builder-card,
  .checkout-form {
    width: 100%;
    min-width: 0;
  }

  .cart-preview-step {
    margin-bottom: 16px;
  }
}

@media (max-width: 520px) {
  .checkout-page h1 {
    font-size: clamp(34px, 9vw, 42px) !important;
  }

  .checkout-page {
    padding-top: 44px !important;
  }

  .cart-builder-card .checkout-button,
  .checkout-form .checkout-button {
    font-size: 16px !important;
  }
}
