/* Fiches KLOSTAIN sur mon-choix.fr — reprend le système visuel des fiches Pro Breeze. */
.koc-product {
  --koc-ink: #193044;
  --koc-blue: #075de5;
  --koc-pale: #edf4fc;
  --koc-line: #dce5ee;
  --koc-muted: #52677a;
  --koc-radius: 18px;
}

.koc-product h1,
.koc-editorial h2,
.koc-editorial h3 { text-wrap: balance; letter-spacing: -.025em; }

.koc-product .product-entry-wrapper { align-items: start; }
.koc-product .summary .entry-title { font-size: clamp(28px, 2.7vw, 39px); line-height: 1.15; margin-bottom: 18px; }
.koc-product .summary .product_meta { display: none; }
.koc-product .woocommerce-product-details__short-description { margin: 0 !important; }
.koc-main-kicker { margin: 0 0 15px; font-size: 12px; color: var(--koc-blue); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ------------------------------------------------------------- accroche --- */
.koc-pitch { font-size: 20px; line-height: 1.55; color: var(--koc-ink); font-weight: 550; margin: 0 0 24px; }
.koc-benefits { list-style: none !important; padding: 0 !important; margin: 0 0 26px !important; display: grid; gap: 14px; }
.koc-benefits li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--koc-ink); margin: 0 !important; }
.koc-benefits li span { color: var(--koc-blue); font-weight: 800; }

/* ---------------------------------------------------------------- offre --- */
.koc-offer { background: var(--koc-pale); border-radius: var(--koc-radius); padding: 26px; margin: 24px 0; }
.koc-offer-label { display: block; font-size: 19px; line-height: 1.35; font-weight: 720; color: var(--koc-ink); margin: 0 0 9px; }
.koc-offer p { font-size: 15px; line-height: 1.6; color: var(--koc-muted); margin: 0 0 18px; max-width: 60ch; }
.koc-reassure { display: block; font-size: 12px; line-height: 1.5; color: var(--koc-muted); margin-top: 12px; text-align: center; }

.koc-product a.koc-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  background: var(--koc-blue); color: #fff !important;
  min-height: 58px; padding: 15px 30px; border-radius: 10px;
  font-size: 18px; line-height: 1.4; font-weight: 750; text-decoration: none !important;
  box-shadow: 0 4px 12px #075de51c; transition: background .18s, transform .18s;
}
.koc-product a.koc-cta::after { content: '→'; font-size: 23px; font-weight: 400; }
.koc-product a.koc-cta:hover { background: #054bb9; transform: translateY(-2px); }
.koc-product a.koc-cta:active { transform: translateY(0); }
.koc-product a.koc-cta:focus-visible,
.koc-jumps a:focus-visible,
.koc-faq summary:focus-visible { outline: 3px solid #719fe3; outline-offset: 4px; }
.koc-product .summary .koc-offer .koc-cta { width: 100%; }

.koc-offer:not([data-koc-position=hero]) {
  display: grid; grid-template-columns: 1fr auto; column-gap: 30px; align-items: center;
  margin: 48px 0; padding: 30px 36px;
}
.koc-offer:not([data-koc-position=hero]) .koc-offer-copy p { margin: 0; }
.koc-offer-action { min-width: 230px; }
.koc-offer-action .koc-cta { width: 100%; }

/* ------------------------------------------------------------ éditorial --- */
.koc-editorial { color: var(--koc-ink); font-size: 17px; line-height: 1.85; max-width: 1200px; margin: auto; }
.koc-editorial p { max-width: 65ch; margin: 0 0 18px; }
.koc-editorial h2 { font-size: clamp(27px, 3vw, 39px); line-height: 1.2; font-weight: 720; margin: 12px 0 24px; color: var(--koc-ink); }
.koc-editorial h3 { font-size: 23px; line-height: 1.3; font-weight: 700; margin: 0 0 15px; color: var(--koc-ink); }
.koc-kicker { font-size: 12px; line-height: 1.5; color: var(--koc-blue); letter-spacing: .09em; text-transform: uppercase; font-weight: 750; }
.koc-fine { font-size: 13px; line-height: 1.6; color: var(--koc-muted); }

.koc-jumps { display: flex; gap: 25px; flex-wrap: wrap; padding: 20px 0; border-block: 1px solid var(--koc-line); margin-bottom: 64px; }
.koc-jumps a { font-size: 14px; font-weight: 650; color: var(--koc-muted); text-decoration: none; }
.koc-jumps a:hover { color: var(--koc-blue); }

.koc-intro { max-width: 760px; margin: 0 0 52px; }
.koc-editorial #koc-benefits { scroll-margin-top: 110px; }

.koc-story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin: 0 0 72px; }
.koc-story figure { margin: 0; background: #f5f7f9; border-radius: 22px; overflow: hidden; }
.koc-story figure img { display: block; aspect-ratio: 1; object-fit: contain; width: 100%; height: auto; }
.koc-story.koc-reverse figure { order: 2; }
.koc-story.koc-reverse > div { order: 1; }
.koc-sequence { font-size: 12px; color: var(--koc-muted); letter-spacing: .02em; }
.koc-highlight { margin-top: 26px; border-left: 3px solid var(--koc-blue); padding: 12px 0 12px 20px; font-size: 18px; line-height: 1.5; font-weight: 650; }

.koc-detail-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; margin: 75px 0; }
.koc-detail-list article { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--koc-line); }
.koc-detail-list article:first-child { padding-top: 0; }
.koc-detail-number { font-size: 13px; color: var(--koc-blue); font-weight: 750; padding-top: 4px; }

/* ----------------------------------------------------------- compagnies --- */
.koc-airlines { margin: 70px 0; }
.koc-table { overflow-x: auto; }
.koc-airlines table,
.koc-compare table { border-collapse: collapse; width: 100%; font-size: 15px; }
.koc-airlines th, .koc-airlines td,
.koc-compare th, .koc-compare td { padding: 15px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--koc-line); line-height: 1.5; }
.koc-airlines thead th,
.koc-compare thead th { font-weight: 700; color: var(--koc-ink); white-space: nowrap; }
.koc-airlines tbody tr:nth-child(odd),
.koc-compare tbody tr:nth-child(odd) { background: #f5f8fb; }
.koc-yes { color: #12734a; font-weight: 650; white-space: nowrap; }

/* ------------------------------------------------------------- pratique --- */
.koc-practical { display: grid; grid-template-columns: 1.3fr 1fr; gap: 55px; padding: 40px 0; margin: 45px 0; border-top: 1px solid var(--koc-line); }
.koc-practical aside { padding: 26px; background: #f5f7fa; border-radius: 14px; align-self: center; font-size: 15px; line-height: 1.8; }
.koc-practical aside h3 { font-size: 18px; }

/* -------------------------------------------------------------- coloris --- */
.koc-colors { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; margin: 70px 0; }
.koc-colors figure { margin: 0; background: #f5f7f9; border-radius: 22px; overflow: hidden; }
.koc-colors figure img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.koc-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.koc-swatches a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 9px; border: 1px solid var(--koc-line); border-radius: 999px;
  font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--koc-ink);
  text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.koc-swatches a:hover { border-color: var(--koc-blue); box-shadow: 0 2px 8px #075de514; }
.koc-dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #00000018; flex: none; }

/* ------------------------------------------------------ caractéristiques --- */
.koc-spec-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; margin: 60px 0; align-items: start; scroll-margin-top: 110px; }
.koc-spec-section img { width: 100%; max-height: 370px; object-fit: contain; aspect-ratio: 1; border-radius: 16px; background: #f7f8fa; margin-top: 18px; }
.koc-spec-section table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0; }
.koc-spec-section th, .koc-spec-section td { padding: 18px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--koc-line); line-height: 1.5; }
.koc-spec-section th { width: 45%; font-weight: 600; }
.koc-spec-section tr:nth-child(odd) { background: #f5f8fb; }

/* ------------------------------------------------------------ comparatif --- */
.koc-compare { margin: 70px 0; }
.koc-compare tbody th { font-weight: 600; color: var(--koc-muted); width: 22%; }
.koc-compare a { color: var(--koc-blue); font-weight: 650; }

/* ------------------------------------------------------------------ FAQ --- */
.koc-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; margin: 80px 0; scroll-margin-top: 110px; }
.koc-faq > div:first-child p { font-size: 15px; color: var(--koc-muted); }
.koc-faq details { padding: 20px 0; border-bottom: 1px solid var(--koc-line); }
.koc-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 18px; line-height: 1.5; font-weight: 650; }
.koc-faq summary::-webkit-details-marker { display: none; }
.koc-faq summary span { color: var(--koc-blue); font-size: 24px; font-weight: 400; }
.koc-faq details[open] summary span { transform: rotate(45deg); }
.koc-faq details p { font-size: 16px; margin: 18px 0 0; color: var(--koc-muted); }

/* ------------------------------------------------------- origine des avis --- */
.koc-review-note {
  max-width: 900px; margin: 0 auto 30px; padding: 16px 22px;
  background: #f5f7fa; border-left: 3px solid var(--koc-blue); border-radius: 0 10px 10px 0;
  font-size: 14px; line-height: 1.7; color: var(--koc-muted);
}
.koc-review-score { color: var(--koc-ink); font-weight: 700; }

.koc-market-rating { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14px; }
.koc-market-rating .koc-stars { color: #f2a01d; font-size: 17px; letter-spacing: 1px; }
.koc-market-rating a { color: var(--koc-muted); text-decoration: none; border-bottom: 1px solid var(--koc-line); }
.koc-market-rating a:hover { color: var(--koc-blue); border-color: var(--koc-blue); }
/* Étoiles du thème : masquées, elles portent sur l'extrait et non sur l'ensemble. */
.koc-product .summary .woocommerce-product-rating { display: none; }

/* ----------------------------------------------------------- barre basse --- */
.koc-dock { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fffffffa; border-top: 1px solid var(--koc-line); box-shadow: 0 -5px 24px #18364e0c; transform: translateY(110%); transition: transform .2s; pointer-events: none; }
.koc-dock.is-visible { transform: translateY(0); pointer-events: auto; }
.koc-dock-inner { max-width: 1230px; margin: auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.koc-dock-name { font-size: 15px; line-height: 1.4; font-weight: 650; max-width: 65ch; color: var(--koc-ink); }
.koc-dock .koc-cta { min-height: 48px; font-size: 16px; padding: 12px 28px; white-space: nowrap; }
.koc-dock .koc-reassure { display: none; }
.koc-product #footer { padding-bottom: 85px; }

/* Le conteneur de l'article est pleine largeur : sans marges auto, le panneau
   de description reste collé au bord gauche. */
.koc-product .woocommerce-tabs .panel {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
.koc-product .woocommerce-tabs { padding-top: 30px; }

@media (min-width: 1000px) {
  .koc-product .woocommerce-product-gallery { position: sticky; top: 105px; align-self: start; }
  .koc-product .woocommerce-product-gallery .flexy-view img { max-height: 560px !important; }
  .koc-product .summary { padding-bottom: 20px; }
}

@media (max-width: 760px) {
  .koc-product .summary .entry-title { font-size: 28px; }
  .koc-pitch { font-size: 19px; }
  .koc-benefits { gap: 12px; }
  .koc-offer { padding: 22px; }
  .koc-offer:not([data-koc-position=hero]) { display: block; padding: 24px; margin: 36px 0; }
  .koc-offer-action { margin-top: 16px; }
  .koc-offer-label { font-size: 18px; }
  .koc-product a.koc-cta { font-size: 18px; min-height: 57px; width: 100%; }
  .koc-editorial { font-size: 16px; }
  .koc-editorial h2 { font-size: 28px; }
  .koc-editorial h3 { font-size: 22px; }
  .koc-jumps { gap: 12px 19px; margin-bottom: 38px; }
  .koc-jumps a { font-size: 13px; }
  .koc-intro { margin-bottom: 32px; }
  .koc-story, .koc-detail-section, .koc-practical, .koc-spec-section, .koc-faq, .koc-colors {
    grid-template-columns: 1fr; gap: 26px; margin: 42px 0;
  }
  .koc-story.koc-reverse figure, .koc-story.koc-reverse > div { order: initial; }
  .koc-story figure img { max-height: 410px; }
  .koc-detail-list article { grid-template-columns: 26px 1fr; gap: 14px; }
  .koc-highlight { font-size: 17px; margin-top: 20px; }
  .koc-practical { padding-top: 32px; }
  .koc-spec-section > div img { display: none; }
  .koc-airlines th, .koc-airlines td,
  .koc-compare th, .koc-compare td,
  .koc-spec-section th, .koc-spec-section td { font-size: 14px; padding: 13px 10px; overflow-wrap: anywhere; }
  .koc-faq summary { font-size: 17px; }
  .koc-dock-inner { padding: 10px 15px; gap: 12px; }
  .koc-dock-name { font-size: 12px; max-width: 48%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .koc-dock .koc-cta { font-size: 15px; min-height: 47px; padding: 10px 18px; gap: 9px; width: auto; flex-shrink: 0; }
  .koc-product .woocommerce-tabs { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .koc-dock, .koc-product a.koc-cta { transition: none !important; }
}
