/* Force Raleway sur toute la fiche produit */
.og-product,
.og-product *{
  font-family: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
}


.og-app-icon{display:block;max-width:64px;height:auto;margin:0 auto 10px;}
.og-app{text-align:center;}
.og-app-label{display:block;}

/* =========================
   OGURA SINGLE — STRUCTURE
========================= */

.og-product-hero {
  padding: 40px 0 10px;
}

.og-product-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}

.og-product-title {
  grid-column: 1 / -1;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0 0 4px;
}

.og-product-subtitle {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0 0 22px;
  font-size: 18px;
}

.og-product-image {
  grid-column: 1;
}

.og-product-intro {
  grid-column: 2;
  margin-top: 12px;
  line-height: 1.55;
}

/* =========================
   BANDE GRISE 3 COLONNES
========================= */

.og-product-band {
  background: #efefef;
  margin-top: 30px;
  padding: 44px 0;
}

.og-product-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.og-product-band-grid {
  display: grid;
  grid-template-columns: 320px 1fr 260px;
  gap: 44px;
  align-items: start;
}

/* Titres comme l'original */
.og-product-band .og-section-title,
.og-product-band .og-links-title {
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #333;
  margin: 0 0 18px;
}

/* =========================
   COL LINKS (gauche)
========================= */

/* Selon votre renderer : adaptez si vos classes diffèrent */
.og-col-links .og-product-links,
.og-col-links .og-links-block {
  background: transparent;
}

/* Liste à la Ogura (1 item / ligne + séparateur) */
.og-links-list,
.og-product-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed rgba(0,0,0,.12);
}

.og-links-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(0,0,0,.12);
  align-items: center;
}

.og-links-icon img {
  width: 56px;
  height: auto;
  display: block;
}

.og-links-item a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.og-links-item a:hover {
  text-decoration: underline;
}

/* =========================
   COL ADVANTAGES (centre)
========================= */

.og-col-advantages .og-wysiwyg h3,
.og-col-advantages .og-wysiwyg strong {
  letter-spacing: 0.3px;
}

.og-col-advantages .og-wysiwyg p {
  margin: 0 0 14px;
  line-height: 1.6;
}

/* =========================
   SIDEBAR (droite)
========================= */

.og-product-related {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.og-related-link {
  display: block;
  padding: 18px 18px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
}

.og-related-link.is-primary {
  background: #0a66b2;
  color: #fff;
}

.og-related-link.is-dark {
  background: #333;
  color: #fff;
}

.og-product-applications .og-section-title {
  text-align: center;
  margin-top: 6px;
}

/* icônes en colonne comme Ogura */
.og-apps-grid {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.og-app {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.og-app-icon {
  width: 52px;
  height: auto;
  display: block;
}

.og-app-label {
  font-size: 12px;
  line-height: 1.2;
  color: #333;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .og-product-hero-inner {
    grid-template-columns: 1fr;
  }
  .og-product-image,
  .og-product-intro {
    grid-column: 1;
  }

  .og-product-band-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .og-related-link {
    text-align: center;
  }
}

/* =========================================
   LINKS (bloc "MIC ... Links") — pixel Ogura
   Cible : votre HTML .og-col-links .og-product-links...
========================================= */

.og-col-links .og-product-links{
  background: #ececec;            /* gris Ogura */
  padding: 60px 40px;
}

.og-col-links .og-product-links-title{
  text-align: center;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: #444;
  margin: 0 0 40px;
}

/* liste verticale avec séparateurs */
.og-col-links .og-product-links-list{
  max-width: 520px;              /* largeur proche capture */
  margin: 0 auto;
  border-top: 1px solid #d8d8d8;
}

.og-col-links .og-product-link{
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 0;
  text-decoration: none;
  border-bottom: 1px solid #d8d8d8;
  color: #444;
}

.og-col-links .og-product-link:hover{
  opacity: 0.9;
}

/* icône (youtube/pdf) */
.og-col-links .og-product-link-icon{
  flex: 0 0 74px;
  width: 74px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.og-col-links .og-product-link-icon img{
  max-width: 74px;
  max-height: 56px;
  width: auto;
  height: auto;
  display: block;
  /* petit effet "relief" comme Ogura */
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}

.og-col-links .og-product-link-label{
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #3f3f3f;
  text-transform: none;          /* Ogura = casse normale */
}

/* Responsive */
@media (max-width: 768px){
  .og-col-links .og-product-links{
    padding: 40px 18px;
  }

  .og-col-links .og-product-links-title{
    font-size: 20px;
    margin-bottom: 28px;
  }

  .og-col-links .og-product-link{
    gap: 18px;
    padding: 18px 0;
  }

  .og-col-links .og-product-link-icon{
    flex-basis: 62px;
    width: 62px;
    height: 48px;
  }

  .og-col-links .og-product-link-icon img{
    max-width: 62px;
    max-height: 48px;
  }

  .og-col-links .og-product-link-label{
    font-size: 16px;
  }
}

/* TITRE produit */
.og-product-title{
  font-weight: 600;
  font-size: 36px;
  line-height: 1.15;
  margin: 0;                 /* supprime les marges WP par défaut */
  letter-spacing: 0;         /* évite l’effet “espacé” */
}

/* Sous-titre (Torque range) */
.og-product-subtitle{
  font-weight: 300;
  font-size: 28px;
  line-height: 1.15;
  color: rgb(19, 108, 189);
  margin-top: 6px;           /* rapproche du titre */
  margin-bottom: 0;
  letter-spacing: 0;
}

/* Empêche un gap trop grand entre H1 et sous-titre si le parent est en flex/grid */
.og-product-hero-inner{
  row-gap: 0;
}
@media (max-width: 768px){
  .og-product-title{ font-size: 28px; }
  .og-product-subtitle{ font-size: 20px; }
}
/* Centre le titre "Ogura Design Advantages" dans sa colonne */
.og-product-advantages .og-section-title{
  text-align: center;
}

/* =========================================
   TABLEPRESS — MODELS & DIMENSIONS (Ogura-like)
========================================= */

.og-product-models{
  padding: 46px 0 60px;
}

.og-product-models .og-section-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* scroll horizontal sur mobile, sans casser */
.og-models-table{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

/* table TablePress */
.og-models-table .tablepress{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.25;
}

.og-models-table .tablepress thead th{
  background: #0a66b2; /* bleu Ogura-ish */
  color: #fff;
  font-weight: 600;
  padding: 10px 10px;
  border: 1px solid rgba(255,255,255,.25);
  vertical-align: middle;
  white-space: nowrap;
}

.og-models-table .tablepress td{
  padding: 10px 10px;
  border: 1px solid #d9d9d9;
  vertical-align: middle;
  background: #fff;
}

.og-models-table .tablepress tbody tr:nth-child(even) td{
  background: #f6f6f6;
}

/* Liens dans les cellules (PDF/DXF/3D) */
.og-models-table .tablepress a{
  color: #0a66b2;
  text-decoration: none;
  font-weight: 600;
}
.og-models-table .tablepress a:hover{
  text-decoration: underline;
}

/* Footnotes sous le tableau */
.og-models-footnotes{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0,0,0,.22);
  font-size: 13px;
  color: #333;
}
.og-models-footnotes p{ margin: 0 0 10px; }
.og-models-footnotes p:last-child{ margin-bottom: 0; }

/* Icônes TablePress dans Models & Dimensions */
.og-models-table .og-tp-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;          /* réduit la largeur perçue */
  height: 22px;
  margin: 0 auto;
}

.og-models-table .og-tp-icon img{
  width: 22px;
  height: 22px;
  display: block;
}

/* Centre les cellules contenant des icônes */
.og-models-table .tablepress td{
  text-align: center;
}

/* Empêche toute image de dépasser sa colonne */
.og-product-image,
.og-product-image * {
  max-width: 100%;
}

/* Contrôle strict du <img> du thumbnail */
.og-product-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;     /* ajuste selon votre design */
  object-fit: contain;   /* ou cover si vous préférez recadrer */
}

/* Sécurité anti-débordement dans la colonne texte */
.og-product-intro {
  min-width: 0;          /* important en CSS Grid pour éviter overflow */
  overflow-wrap: anywhere;
}

/* Si un style global met des floats sur les images WP */
.og-product-hero .wp-post-image {
  float: none !important;
  margin: 0 !important;
}

