@charset "UTF-8";
/* lbc-product-tete.css - LeBonClavier lot 320 (3 déc. 2026) : 1er bloc <style> de product.tpl (zoom, titre, colonne d'achat). Chargé à l'emplacement exact de l'ancien <style> (AVANT le CSS du thème) pour garder la même cascade.
   Blocs <style> sortis des .tpl, dans l'ordre exact où ils étaient émis dans la page. Sauvegarde et retour arrière : /root/backup-securite/lot320-nettoyage-css-*. */
/* ===== Lot 320 : S1 (origine : themes/falcon/templates/catalog/product.tpl : {block name='head' append}) ===== */
    .product-main-images {
      position: relative;
      cursor: zoom-in;
      overflow: hidden;
    }
    .product-main-images img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.2s;
    }
    .product-main-images img.zoomed {
      transform: scale(2.5);
      transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
    }
    @media (max-width: 900px) {
      .product-main-images img.zoomed { transform: none; }
    }
    .image-lightbox-modal {
      display: flex;
      align-items: center;
      justify-content: center;
      position: fixed;
      z-index: 2000;
      top: 0; left: 0; width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.95);
      transition: opacity 0.2s;
    }
    .image-lightbox-modal img {
      max-width: 90vw;
      max-height: 90vh;
      box-shadow: 0 2px 16px rgba(0,0,0,0.3);
      border-radius: 8px;
      margin: auto;
      display: block;
    }
    .image-lightbox-close {
      position: absolute;
      top: 30px;
      right: 40px;
      color: #fff;
      font-size: 3rem;
      font-weight: bold;
      cursor: pointer;
      z-index: 2100;
      text-shadow: 0 2px 8px #000;
    }
    .image-lightbox-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: #fff;
      font-size: 4rem;
      cursor: pointer;
      z-index: 2100;
      user-select: none;
      text-shadow: 0 2px 8px #000;
    }
    .image-lightbox-arrow.left { left: 30px; }
    .image-lightbox-arrow.right { right: 30px; }
    .image-modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      cursor: zoom-out;
    }
    .image-modal img {
      max-width: 90%;
      max-height: 90%;
      margin: auto;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .image-modal .close-modal {
      position: absolute;
      top: 15px;
      right: 35px;
      color: #f1f1f1;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
    }
    .orange-bar {
      width: 60px;
      height: 2px;
      background: #e67621;
      border-radius: 1px;
      margin-bottom: 1.2rem;
      margin-top: 0.2rem;
    }
    .product-title-with-bar {
      margin-bottom: 0.5rem;
    }
    .btn.add-to-cart {
      border-radius: 30px !important;
      background: #e67621 !important;
      color: #fff !important;
      font-weight: bold;
      padding: 0.8rem 2.5rem;
      font-size: 1.3rem;
      box-shadow: 0 2px 8px rgba(230,118,33,0.08);
      transition: background 0.2s;
      flex: 1 1 auto !important;
      min-width: 0;
    }
    .btn.add-to-cart:hover, .btn.add-to-cart:focus {
      background: #ff8c1a !important;
      color: #fff !important;
    }
    .input-touchspin {
      display: flex;
      align-items: center;
      border-radius: 30px;
      overflow: hidden;
      border: 1px solid #e67621;
      width: 120px;
      margin-right: 10px;
    }
    .input-touchspin input[type="number"] {
      border: none;
      text-align: center;
      width: 40px;
      font-size: 1.1rem;
      outline: none;
    }
    .input-touchspin button, .input-touchspin .btn {
      background: #e67621;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }
    .input-touchspin button:hover, .input-touchspin .btn:hover {
      background: #ff8c1a;
    }
    /* Correctif 26/10/2026 : la marge de 10px du champ quantite elargissait la zone du bouton + */
    .bootstrap-touchspin > input.input-touchspin { margin-right: 0; }
    .cart-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
    }
    .cart-modal-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: white;
      padding: 2rem;
      border-radius: 10px;
      text-align: center;
      max-width: 400px;
      width: 90%;
    }
    .cart-modal-buttons {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 1.5rem;
    }
    .cart-modal-buttons .btn {
      padding: 0.8rem 1.5rem;
      border-radius: 30px;
    }
    .cart-modal-buttons .btn-continue {
      background: #f8f9fa;
      color: #212529;
    }
    .cart-modal-buttons .btn-cart {
      background: #e67621;
      color: white;
    }
    .product-title-bar-row {
      display: flex;
      align-items: center;
      gap: 1.2rem;
    }
    .product-title-with-bar {
      margin-bottom: 0;
    }
    .orange-bar {
      flex: 1;
      height: 2px;
      background: #e67621;
      border-radius: 1px;
      margin-bottom: 0;
      margin-top: 0;
    }
    .grey-bar-under-title {
      width: 100px;
      height: 2px;
      background: #e0e0e0;
      border-radius: 1px;
      margin-bottom: 1.2rem;
      margin-top: 0.2rem;
    }
    .product-title-with-bar {
      margin-bottom: 0.2rem;
    }
    .product-title-separator {
      border: none;
      border-top: 1px solid #e0e0e0;
      height: 1px;
      width: 100%;
      margin: 0.7rem 0 1.5rem 0;
      background: none;
    }
    .product-title-dress {
      margin: 0 0 18px;
    }
    .product-title-dress__line {
      display: block;
      height: 2px;
      width: 100%;
      margin: 0;
      border: none;
      background: linear-gradient(90deg, rgba(230, 114, 29, 0) 0%, #e6721d 22%, #e6721d 78%, rgba(230, 114, 29, 0) 100%);
    }
    .product-title-dress h1,
    .product-title-span .product-title-dress h1.product-title-with-bar {
      width: 100%;
      max-width: none;
      margin: 8px 0 14px;
      padding: 0;
      text-align: center;
      font-size: 1.6rem;
      font-weight: 650;
      line-height: 1.25;
      letter-spacing: -0.015em;
      color: #2c2c2c;
    }
    .product-buy-column {
      width: 100%;
    }
    @media (min-width: 768px) {
      .product-buy-column {
        width: 85.714%;
        max-width: 85.714%;
      }
    }
    /* Lot 320 : les 4 règles prix (.product-prices-wrapper, .current-price, .price--lg, small.tax-label) étaient aussi déclarées à l'identique plus bas (lbc-product.css) ; la copie tardive gagnait déjà, celle-ci est retirée. */
    /* --- MOBILE PRODUCT HEADER --- */
    @media (max-width: 576px) {
      .product-header-mobile-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 1.2rem;
      }
      .product-header-mobile-row .product-state {
        margin-bottom: 0;
        font-size: 1rem;
      }
      .product-header-mobile-row .product-prices-wrapper {
        text-align: right;
        margin-bottom: 0;
      }
      .product-header-mobile-row .product-prices .current-price .price--lg {
        font-size: 2rem; margin-top: 0.4rem; /* correctif 15 : 29px -> 32px, descendu */
      }
      .product-quantity-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 0;
        margin-bottom: 0.7rem;
      }
      .product-quantity-row > .d-flex {
        flex: 0 0 auto;
        justify-content: flex-start !important;
        width: auto;
      }
      .product-quantity-row .quantity-info {
        margin-left: 0 !important;
        text-align: right;
        flex: 1 1 auto;
      }
    }
    /* --- FIN MOBILE --- */
    /* Correctif 13 (27/10/2026) : titre dans la colonne d'achat (desktop), aligné à gauche
       Desktop (>=768px) : la rangée produit passe en grille, le titre (même élément, un seul h1) va en haut de la colonne de droite,
       l'image occupe la colonne de gauche sur toute la hauteur. Mobile : ordre naturel, titre au-dessus de l'image. */
    @media (min-width: 768px) {
      #main .product-container.js-product-container {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto 1fr;
        align-items: start;
      }
      /* spécificité renforcée (#product #main) : les règles existantes max-width 50% / min(520px, 58.3333%) se calculeraient sinon sur la cellule de grille et rétréciraient l'image */
      #product #main .product-container.js-product-container > .product-title-span { grid-column: 2; grid-row: 1; flex: none; width: auto; max-width: none; min-width: 0; }
      #product #main .product-container.js-product-container > .col-md-5 { grid-column: 1; grid-row: 1 / span 2; flex: none; width: auto; max-width: none; min-width: 0; }
      #product #main .product-container.js-product-container > .product-buy-wrap { grid-column: 2; grid-row: 2; flex: none; width: auto; max-width: none; min-width: 0; }
      #main .product-title-dress--colonne { width: 85.714%; margin: 0 auto; }
    }
    @media (min-width: 992px) {
      /* mêmes largeurs que les règles existantes : image min(520px, 58.3333%), achat = le reste */
      #main .product-container.js-product-container { grid-template-columns: min(520px, 58.3333%) minmax(0, 1fr); }
    }
    .product-title-dress.product-title-dress--colonne { margin-bottom: 1rem; text-align: left; }
    .product-title-dress--colonne h1,
    .product-title-span .product-title-dress--colonne h1.product-title-with-bar {
      margin: 0;
      padding: 0;
      text-align: left;
      font-size: 1.625rem; /* correctif 14 : 22px -> 26px */
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.01em;
      color: #212529;
      text-wrap: balance;
      overflow-wrap: anywhere;
    }
    .product-title-dress--colonne::after {
      content: "";
      display: block;
      width: 2.5rem;
      height: 3px;
      margin-top: 0.625rem;
      border-radius: 2px;
      background: #e6721d;
    }
    @media (max-width: 767.98px) {
      .product-title-dress.product-title-dress--colonne { margin: 0.25rem 0 0.875rem; }
      .product-title-dress--colonne h1,
      .product-title-span .product-title-dress--colonne h1.product-title-with-bar { font-size: 1.3125rem; /* correctif 14 : 19px -> 21px */ line-height: 1.35; }
      .product-title-dress--colonne::after { width: 2rem; margin-top: 0.5rem; }
    }
    /* --- FIN correctif 13 --- */
  
