/* ORELYNA 7.5 — AJOUTS CIBLÉS APRÈS V7.4.1.
   NE MODIFIE PAS : photo hero, footer, panier, boutons de bannière, prix ou stocks.
   Hover autorisé seulement pour les images portées vérifiées. */

/* 1. Vrai packshot -> vraie photo portée, aucune seconde image grise générique. */
html body#category .olv55-card__media:has(.or75-verified-wear),
html body#search .olv55-card__media:has(.or75-verified-wear),
html body .olv54-card__media:has(.or75-verified-wear){position:relative!important;overflow:hidden!important}
html body .olv54-card__media .olv55-card__image--hover.or75-verified-wear,
html body .olv55-card__media .olv55-card__image--hover.or75-verified-wear,
html body .olv56-card__media .olv55-card__image--hover.or75-verified-wear{
  display:block!important;visibility:visible!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;z-index:3!important;
  object-fit:cover!important;object-position:center!important;
  opacity:0!important;background:#f9f7f3!important;
  transform:scale(1.008)!important;pointer-events:none!important;
  transition:opacity .48s ease,transform .9s ease!important;
}
@media(hover:hover) and (pointer:fine){
  html body .olv54-card__media:hover .olv55-card__image--hover.or75-verified-wear,
  html body .olv55-card__media:hover .olv55-card__image--hover.or75-verified-wear,
  html body .olv56-card__media:hover .olv55-card__image--hover.or75-verified-wear{
    opacity:1!important;transform:scale(1.035)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body .or75-verified-wear{transition:none!important}
}

/* 2. Rééquilibrage du détail produit : récit gauche, photo portée réelle droite.
   Sans vraie photo portée : un seul bloc de texte centré, aucun espace artificiel. */
html body#product #main.orelyna-product-v56>.olv732-product-tabs-wrap{
  width:min(1180px,calc(100% - 56px))!important;
  max-width:1180px!important;
  margin:34px auto 44px!important;
}
html body#product #main.orelyna-product-v56 .olv733-details-title{
  max-width:100%!important;width:100%!important;margin:0 0 22px!important;
  text-align:center!important;
}
html body#product #main.orelyna-product-v56 .or75-detail-grid{
  display:grid!important;grid-template-columns:minmax(0,1.32fr) minmax(260px,.8fr)!important;
  align-items:start!important;gap:clamp(28px,4vw,74px)!important;
  width:100%!important;
}
html body#product #main.orelyna-product-v56 .or75-detail-grid--solo{
  grid-template-columns:minmax(0,780px)!important;justify-content:center!important;
}
html body#product #main.orelyna-product-v56 .or75-detail-grid .tabs.olv732-product-tabs{
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;
}
html body#product #main.orelyna-product-v56 .or75-detail-grid .tab-content{
  padding:22px 0 0!important;margin:0!important;
}
html body#product #main.orelyna-product-v56 .or75-detail-grid .product-description{
  max-width:none!important;width:100%!important;margin:0!important;
  font-size:14px!important;line-height:1.88!important;color:#544a40!important;
}
html body#product #main.orelyna-product-v56 .or75-detail-grid--solo .product-description{
  max-width:740px!important;margin:0 auto!important;
}
html body#product #main.orelyna-product-v56 .or75-worn-photo{
  display:block!important;margin:0!important;position:relative!important;
  background:#f7f1ea!important;
}
html body#product #main.orelyna-product-v56 .or75-worn-photo img{
  display:block!important;width:100%!important;height:auto!important;
  aspect-ratio:3/4!important;object-fit:cover!important;object-position:center!important;
}
html body#product #main.orelyna-product-v56 .or75-worn-photo figcaption{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:13px 2px 0;color:#8b7b6d;font:500 10px/1.4 Arial,sans-serif;
  letter-spacing:.08em;
}
html body#product #main.orelyna-product-v56 .or75-worn-photo figcaption span{
  font-size:9px;letter-spacing:.22em;color:#b49a7e;
}

/* 3. Barre de recherche: une composition fine, sans modifier les handlers AJAX/JS. */
html body .olv514-search-panel{
  background:#faf8f5!important;border:0!important;
  border-bottom:1px solid #e7ded3!important;
  box-shadow:0 16px 40px rgba(39,28,19,.10)!important;
}
html body .olv514-search-panel__inner{
  width:min(860px,calc(100% - 56px))!important;
  padding:22px 0 24px!important;
}
html body .olv514-search-panel__head{
  margin:0 0 12px!important;gap:24px!important;align-items:flex-start!important;
}
html body .olv514-search-panel__head .olv4-eyebrow{
  font-size:9px!important;letter-spacing:.23em!important;color:#a58b70!important;
}
html body .olv514-search-panel__head h2{
  font:400 clamp(22px,2vw,31px)/1.15 Georgia,'Times New Roman',serif!important;
  margin:8px 0 0!important;color:#2f281f!important;
}
html body .olv514-search-form{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  border:0!important;border-bottom:1px solid #bba893!important;
  background:transparent!important;padding:0!important;
}
html body .olv514-search-form input{
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;height:50px!important;
  padding:0 12px 0 0!important;
  font:400 clamp(14px,1.4vw,18px)/1.3 Arial,sans-serif!important;
  color:#312920!important;
}
html body .olv514-search-form input::placeholder{color:#96897d!important;opacity:1!important}
html body .olv514-search-form button{
  border:0!important;box-shadow:none!important;border-radius:0!important;
  background:transparent!important;color:#6f5845!important;
  padding:0 3px 0 18px!important;font:600 10px/1 Arial,sans-serif!important;
  letter-spacing:.18em!important;text-transform:uppercase!important;
}
html body .olv514-search-shortcuts{
  margin-top:14px!important;gap:10px 16px!important;
  font:500 10px/1.5 Arial,sans-serif!important;
  letter-spacing:.08em!important;
}
html body .olv514-search-shortcuts a{border-bottom:1px solid #ddd0c1!important;
  padding-bottom:3px!important;color:#5b4e42!important}
html body .olv514-search-close{font-size:27px!important;font-weight:300!important;
  padding:0 4px 10px!important;min-width:38px!important;min-height:38px!important}

/* 4. Affiner les VRAIES facettes existantes. Le module ps_facetedsearch décide des options visibles. */
html body .olv7-catalog-sidebar #search_filters .facet{
  padding:14px 0 16px!important;border-color:#e6dbce!important;
}
html body .olv7-catalog-sidebar #search_filters .facet-title{
  color:#776555!important;letter-spacing:.17em!important;font-weight:600!important;
}
html body .olv7-catalog-sidebar #search_filters .search-link{
  color:#63584e!important;line-height:1.55!important;
}
html body .olv7-catalog-sidebar #search_filters .facet-label.active .search-link{
  color:#372a20!important;font-weight:600!important;
}
@media(max-width:900px){
  html body#product #main.orelyna-product-v56 .or75-detail-grid{
    grid-template-columns:minmax(0,1fr)!important;gap:24px!important;
  }
  html body#product #main.orelyna-product-v56 .or75-worn-photo{
    width:min(460px,100%)!important;margin:0 auto!important;
  }
  html body#product #main.orelyna-product-v56>.olv732-product-tabs-wrap{
    width:calc(100% - 34px)!important;margin:28px auto 34px!important;
  }
}
@media(max-width:600px){
  html body .olv514-search-panel__inner{width:calc(100% - 36px)!important;padding:20px 0!important}
  html body .olv514-search-form input{font-size:14px!important;height:46px!important}
  html body .olv514-search-form button{font-size:9px!important;letter-spacing:.1em!important;padding-left:8px!important}
  html body .olv514-search-shortcuts{gap:10px!important}
  html body#product #main.orelyna-product-v56 .or75-detail-grid .product-description{font-size:13px!important;line-height:1.78!important}
}
