/* stoneneedle.fr - restoration extras.
 *
 * WHY THIS FILE EXISTS. The shop's only stylesheet is the 2022 PrestaShop CCC bundle recovered in
 * the CSS pass (TRAP 2 in the plan _note). That bundle is complete as CSS, but 75 of its 82 theme
 * IMAGES were never archived and had to be deleted from it, and several of the theme's controls
 * painted their text with a sprite BEHIND it: a.exclusive_* is `color:#fff`, #contact_block a is
 * `color:#fff`, .sf-menu a is `color:rgba(153,153,153,0.1)` drawn only by a text-shadow. With the
 * sprites gone those are white-on-white - qa_legibility measured 1:1 contrast on nine elements per
 * inner page. Section A repaints exactly those controls, in the theme's own palette, and lifts the
 * greys the theme used (#999, #bbb, #aaa) to values that clear 4.5:1 on the white it actually sits
 * on. Nothing here changes a layout at desktop width.
 *
 * Section M is the phone reflow. The 2013 theme is hard-coded to #content_page{width:900px} and has
 * no layout media query at all, so before this the site had NO viewport meta and a phone laid it out
 * at 1021px and shrank it - the "magnifying glass" complaint. Adding width=device-width ALONE would
 * have clipped it, exactly the Wix trap recorded in crescercomsabor's _note; the meta is therefore
 * shipped together with this reflow, which unpins the six absolutely-positioned header blocks and
 * lets the three fixed-width columns become one. Desktop is untouched: everything is inside
 * @media (max-width:1023px), and 1024-and-up renders byte-for-byte as the archive did.
 */

/* ============================ A. LEGIBILITY ============================ */

/* The theme's buttons are a sprite that no longer exists, so their white text had no ground.
   Repaint them flat in the theme's own accent, darkened until 12px text clears 4.5:1 on white. */
a.button_mini, a.button_small, a.button, a.button_large,
a.exclusive_mini, a.exclusive_small, a.exclusive, a.exclusive_large,
input.button_mini, input.button_small, input.button, input.button_large,
input.exclusive_mini, input.exclusive_small, input.exclusive, input.exclusive_large,
span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large {
  background: #2a7086 !important;
  color: #fff !important;
  text-shadow: none !important;
  border-radius: 3px;
  padding: 0 16px !important;
  line-height: 34px !important;
  height: auto !important;
  min-height: 34px;
  font-size: 13px !important;
  display: inline-block !important;
  width: auto !important;
}
a.button:hover, a.button_small:hover, a.button_large:hover,
a.exclusive:hover, a.exclusive_large:hover,
input.button:hover, input.button_large:hover { background: #1f576a !important; }

/* .exclusive_large is float:right in the theme; centred blocks read better once it is a real pill. */
.exclusive_large { float: none !important; margin: 4px auto !important; }

/* "Contacter notre service client" was #fff with a 1px black shadow over a vanished sprite -
   it rendered as a ghost double line. Same treatment, and it stops overlapping its own outline. */
#contact_block a {
  background: #2a7086;
  color: #fff !important;
  text-shadow: none !important;
  border-radius: 3px;
  /* 60px left margin is the theme's own: it keeps the button clear of the customer-service photo
     (204x92, bottom-left of .block_content_contact). Zeroing it drew the button across the photo. */
  margin: 6px 0 0 60px !important;
  padding: 9px 10px !important;
  text-align: center;
  font-size: 12px !important;
  line-height: 1.3;
}
#contact_block a:hover { background: #1f576a; }
#contact_block p.tel { font-size: 14px !important; margin-left: 50px !important; color: #333; }
#contact_block p { color: #444; }

/* The top menu painted its label with `text-shadow:0 0 0 #aaa` over a nearly transparent colour.
   Give it a real colour, and 40px of height so a finger can hit it. */
.sf-menu a, .sf-menu a:visited {
  color: #2f2f2f !important;
  text-shadow: none !important;
  line-height: 40px !important;
  height: auto !important;
  min-height: 40px;
  padding: 0 12px 0 4px !important;
  font-size: 15px;
}
.sf-menu a:hover, .sf-menu a:focus, .sf-menu a:active {
  color: #0f5a70 !important; text-shadow: none !important; text-decoration: underline !important;
}
.sf-menu li li a, .sf-menu li li a:visited { color: #2f2f2f !important; }
.sf-menu li:hover ul, .sf-menu li.sfHover ul { top: 40px; }

/* The theme's small greys: #bbb and #999 on white are 1.9:1 and 2.8:1. Lift, keep the tone. */
#header_links a { color: #4f4f4f !important; }
#header_links li { line-height: 16px; }
#left_column, #right_column { color: #4a4a4a; }
#footer a, #footer li a, .blockcategories_footer a, #footer .block a { color: #3f3f3f; }
#footer, #footer p, #footer li, #footer .block { color: #3f3f3f; }
#footer .block h4, #left_column div.block h4, #right_column div.block h4,
#center_column .block h4 { color: #4a4a4a !important; }
.breadcrumb, .breadcrumb a { color: #4a4a4a; }
#center_column .sortPagiBar, #center_column .sortPagiBar strong { color: #333; }
.cat_desc, .rte, #short_description_content, .sheets { color: #2f2f2f; }

/* Copy the theme set at 10-11px. 12px is the floor a client will accept on a phone. */
#product_list li h6, #product_list li h6 a,
ul.product_list li h6, ul.product_list li h6 a,
#featured-products_block_center h6, #featured-products_block_center h6 a { font-size: 13px !important; line-height: 1.35 !important; }
#new-products_block_right dd a.lnk_more, .description_box .lnk_more { font-size: 12px !important; }
#footer .block li, ul.footer_links li { font-size: 12px; }
small, .small, .warning_inline { font-size: 12px; }

/* Prices are the one number a shop must not blur. */
.price, span.price, #our_price_display { color: #1d1d1d; font-size: 15px; }

/* An empty <label> 19x18 is a tap target with nothing in it; make it a real 24px control. */
#header #search_block_top label { width: 24px !important; height: 24px !important; }
#header #search_block_top input.search_query { padding-top: 7px; padding-bottom: 7px; font-size: 13px; }
#header #search_block_top input.button { padding: 0 14px !important; }

/* The honest-ordering panel that replaces the dead PrestaShop basket. */
.restore-order-note {
  clear: both; margin: 18px 0 6px 0; padding: 14px 16px;
  border: 1px solid #cfd9dd; border-left: 4px solid #2a7086; background: #f5f9fa;
  color: #2f2f2f; font: 13px/1.6 Arial, Verdana, sans-serif;
}
.restore-order-note strong { color: #1d1d1d; }
.restore-order-note a { color: #1a6274; }

/* Search results page. */
#restore-search-results { margin: 10px 0 30px 0; }
#restore-search-results li { margin: 0 0 16px 0; list-style: none; }
#restore-search-results a { font-size: 15px; color: #1a6274; text-decoration: underline; }
#restore-search-results p { color: #3f3f3f; font-size: 13px; line-height: 1.5; margin-top: 3px; }
#restore-search-empty { color: #3f3f3f; font-size: 14px; }

/* Static map on /magasins/, plus the OpenStreetMap credit, which must stay readable. */
.restore-map { max-width: 100%; height: auto; border: 1px solid #d5d5d5; }
.restore-map-credit { font-size: 12px; color: #3f3f3f; margin: 6px 0 18px 0; }
.restore-map-credit a { color: #1a6274; }

/* The four reinsurance icons were never archived; the block now runs on text alone. */
#reinsurance_block ul li { text-align: center; font-size: 12px; color: #3f3f3f; line-height: 1.4; }

/* A real slider replaces the three stacked homeslider frames. */
#homeslider { position: relative; list-style: none; margin: 0 0 6px 0; padding: 0; }
#homeslider li { display: none; margin: 0; }
#homeslider li.is-current { display: block; }
#homeslider img { display: block; width: 100%; height: auto; }
.restore-slider-nav { text-align: center; padding: 8px 0 14px 0; }
.restore-slider-nav button {
  background: #fff; border: 1px solid #b9c6ca; color: #23606f; cursor: pointer;
  min-width: 40px; min-height: 34px; margin: 0 3px; border-radius: 3px; font-size: 14px;
}
.restore-slider-nav button:hover { background: #eaf2f4; }
.restore-slider-nav button[aria-current="true"] { background: #2a7086; color: #fff; border-color: #2a7086; }

/* ============================ M. PHONE REFLOW ============================
 * MEASURED, NOT EYEBALLED. The first version of this section set `#center_column{width:auto}` and
 * put `overflow-x:hidden` on the body. Every overflow check went green and the phone screenshot
 * showed the right-hand third of every sentence cut off, because the theme pins its containers
 * with ID selectors - `#index #center_column{width:830px}`, `#footer{width:830px}`,
 * `div#featured-products_block_center{width:830px}` - which outrank a plain class rule, and the
 * hidden overflow then swallowed the evidence. That is the Wix trap crescercomsabor's _note
 * records, reproduced on PrestaShop. So: the mask is gone, every rule below carries the weight it
 * needs to actually win, and sn_overflow_probe.js names any element still wider than the viewport.
 * Nothing here applies above 1023px; the desktop page is the archive's, untouched. */
@media (max-width: 1023px) {
  html, body { max-width: 100%; }
  img, object, embed { max-width: 100%; height: auto; }
  table { max-width: 100%; }

  /* the four nested frames the whole page sits in */
  #bg_footer, #content_page, #columns, #footer { width: auto !important; }
  #columns { padding: 10px 14px 0 14px !important; }
  #content_page { max-width: 100%; box-shadow: none; }

  /* every page-type variant of the centre column carries its own id-qualified width */
  #center_column, #index #center_column, .hide-left-column #center_column,
  #pagenotfound #center_column, #authentication #center_column, #address #center_column,
  #addresses #center_column, #order #center_column, #order-opc #center_column,
  #left_column, #right_column {
    float: none !important; width: auto !important; margin: 0 0 24px 0 !important; overflow: visible;
  }
  /* The right column holds the shop's own published information: opening days and hours, the
     telephone number, the customer-service block, testimonials, payment logos, best sellers.
     The theme's `#right_column{display:none}` is the HOMEPAGE sheet only (inner pages are styled
     by a different rule set and show it on desktop), so the earlier comment here - that the theme
     hides it at every width - had the premise wrong. A phone visitor needs hours and a number more
     than a desktop one does: show it, stacked under the main content (it follows #center_column
     in the DOM and is un-floated above). */
  #right_column { display: block !important; }

  /* six header blocks are position:absolute inside a 265px-tall band. Unpin all of them. */
  #bg_header { height: auto !important; padding-bottom: 8px; }
  #header_logo, #header_right #header_user, #header #search_block_top,
  #header_right #currencies_block_top, #header_right #languages_block_top,
  #header #cart_block, .sf-contener, ul#header_links {
    position: static !important; top: auto !important; left: auto !important;
    right: auto !important; width: auto !important; height: auto !important;
  }
  #header_logo { display: block; padding: 10px 14px 0 14px; }
  #header_logo img.logo { width: auto; max-width: 100%; height: auto; }
  ul#header_links { padding: 8px 14px 0 14px; margin: 0; overflow: hidden; float: none !important; }
  #header_links li { float: left; line-height: 20px; }
  #header #search_block_top { padding: 6px 14px 0 14px; margin: 0; float: none !important; }
  #header #search_block_top p { display: flex; align-items: center; gap: 6px; }
  #header #search_block_top label, #header #search_block_top input { float: none !important; }
  #header #search_block_top input.search_query { width: auto; flex: 1 1 auto; margin-top: 0; min-width: 0; }

  .sf-contener { height: auto !important; padding: 6px 8px 0 8px; }
  .sf-menu { width: auto !important; float: none !important; padding: 0 !important;
             background: none !important; overflow: hidden; }
  .sf-menu li { float: left; background: none !important; padding: 0 4px 4px 0 !important; }
  /* The "Accueil" flyout repeats the five top-level links verbatim; on touch it can only get in
     the way, and its absence loses nothing. */
  .sf-menu li ul { display: none !important; }
  .sf-menu a, .sf-menu a:visited {
    margin: 0 2px 4px 0; padding: 0 12px !important; border: 1px solid #d7dfe1;
    border-radius: 3px; background: #f7fafb;
  }

  /* THE PRODUCT GRID. Six nested fixed widths: the block (830), the card (252), the frame (242),
     the hover panel (222) and two absolutely-positioned overlays sized to the desktop card. */
  div#featured-products_block_center, #featured-products_block_center ul,
  #featured-products_block_center div.hf_hit_box, #product_list, #product_list div.hf_hit_box {
    width: auto !important; padding-left: 0 !important;
  }
  #featured-products_block_center li, #product_list li,
  #featured-products_block_center div.prd, #product_list div.prd,
  #featured-products_block_center .hf_detail, #product_list li .right_block {
    float: none !important; width: auto !important; max-width: 100% !important;
    margin-left: 0 !important; margin-right: 0 !important; height: auto !important;
  }
  /* .desc_slide is an absolutely-positioned 222px panel that the desktop reveals on hover. There
     is no hover on a phone, so it becomes the card's ordinary description instead of a ghost. */
  #featured-products_block_center .desc_slide, #product_list .desc_slide, .desc_slide {
    position: static !important; width: auto !important; height: auto !important;
    padding: 8px 10px !important;
  }
  /* the two overlays exist only to make the whole desktop card clickable; the picture and the
     heading beside them are real links, so on a phone they are dead weight at desktop size */
  #featured-products_block_center a.lnk_more, #product_list li a.lnk_view,
  #featured-products_block_center div.reflet, #product_list div.reflet { display: none !important; }
  div.hf_hit_box:hover a.slide_img { left: 0 !important; opacity: 1 !important; }
  #product_list li h3, #featured-products_block_center .hf_detail h5 { height: auto !important; }
  #product_list li h3 a, #featured-products_block_center .hf_detail h5 a { position: static !important; }
  #product_list a.product_img_link, #featured-products_block_center a.product_image {
    width: auto !important;
  }
  div.content_banniere { position: static !important; }
  #center_column .sortPagiBar, div.pagination, #pagination { width: auto !important; margin-left: 0 !important; }

  /* product sheet: two floated halves become one column */
  #primary_block, #pb-left-column, #pb-right-column {
    float: none !important; width: auto !important; margin-left: 0 !important; margin-right: 0 !important;
  }
  #image-block, #views_block, #thumbs_list, #thumbs_list_frame { width: auto !important; }
  #thumbs_list_frame li { float: left; margin: 0 6px 6px 0; }
  #bigpic { max-width: 100%; height: auto; }

  /* footer: four 180px columns and a 206px-per-cell trust bar become a stack */
  #footer .block, .blockcategories_footer, #footer div.block, #block_various_links_footer,
  #social_block, #block_contact_infos, #reinsurance_block {
    width: auto !important; float: none !important; padding: 12px 14px !important;
  }
  #footer h4.title_block { width: auto !important; }
  #reinsurance_block ul, #reinsurance_block ul li {
    width: auto !important; float: none !important; border-left: 0 !important;
  }
  #reinsurance_block ul li { padding: 6px 0; }
  #reinsurance_block li span { width: auto !important; padding: 0 !important; }
  .category_footer, .category_footer .list, .category_footer ul.tree, .category_footer ul.tree li {
    width: auto !important; float: none !important;
  }
  .customblocks_block, #customblocks_block_5, #customblocks_block_6, #customblocks_block_8,
  #customblocks_block_6 h2, #customblocks_block_6 p { width: auto !important; }

  /* text the theme set for a 900px page */
  body, p, li, td { font-size: 14px; line-height: 1.55; }
  h1 { font-size: 22px; line-height: 1.25; }
  h2 { font-size: 19px; line-height: 1.3; }
  #center_column .block h4, #footer .block h4 { font-size: 1.5em !important; }
}

@media (max-width: 620px) {
  .sf-menu li { float: none; }
  .sf-menu a, .sf-menu a:visited { display: block; }
}


/* ============ A2. TAP TARGETS, TINY COPY AND LINK COLOUR (second measured round) ============
 * sn_legib_probe.js enumerated every element qa_legibility flags rather than the three it prints.
 * The finding was one shape repeated 27 times per page: every link in a list or a line of prose is
 * an INLINE box, so its hit rectangle is the line-height - 15px at 1440, 16px at 390 - however big
 * the thing inside it looks. Vertical padding on an inline element does grow that rectangle
 * (and the hit area with it) without turning the link into a block, which is what matters for the
 * ones sitting mid-sentence: `display:inline-block` there would stop a long link wrapping and
 * would have reintroduced the sideways scroll on the phone. */
#header_links a,
#footer a, #footer li a, #social_block li a, #block_contact_infos li a,
#block_various_links_footer li a, .blockcategories_footer a,
#center_column a, #left_column a, #right_column a,
.breadcrumb a, .content-wraparea a, .restore-order-note a,
.hf_detail h5 a, li.print a, #product_reference label {
  padding-top: 5px;
  padding-bottom: 5px;
}
/* An anchor wrapping a 58px thumbnail still measured 15px tall, because an inline box is as tall
   as its line. These are the one case where the box should simply be the picture. */
#thumbs_list_frame a { display: block; }
#thumbs_list_frame img { display: block; }

/* Copy the theme set below 12px. */
p#editorial_image_legend { font-size: 12px !important; color: #4a4a4a; }
#block_contact_infos pre { font-size: 13px !important; line-height: 1.5; font-family: inherit; }
.idTabs a, #more_info_tabs a { font-size: 13px !important; }

/* The theme's link colour #5babc8 measures 2.59:1 on white - the single commonest failure left
   after the first round, and it covers every prose link on the site including ours. */
a, a:active, a:visited { color: #1a6274; }
#center_column .rte a, #center_column p a, .cat_desc a { text-decoration: underline; }
.sf-menu a, .sf-menu a:visited { color: #1a5c70 !important; }
.idTabs .selected, ul.pagination li.current span { background: #2a7086; }
#new-products_block_right dd a.lnk_more, .cat_desc .lnk_more,
ul.pagination a:hover, .description_box .lnk_more { color: #1a6274; }
/* Product blurbs measured 4.48:1 - two hundredths under the floor, on every listing card. */
#product_list li p, ul.product_list li p, .product_desc, #short_description_content,
li.ajax_block_product p, .hf_detail p { color: #3a3a3a; }

/* ============ A3. THE LAST NAMED OFFENDERS (sn_contrast_probe.js, third round) ============
 * Each of these was measured, not guessed: the selector, the computed colour and the ground
 * actually painted behind it are in the probe output. They are all the same story - the theme's
 * #999 / #888 / #777 greys on white - plus one heading the theme set in pink. */
#footer h4, #footer h4.title_block, .blockcategories_footer h4.title_block { color: #4a4a4a !important; }
#left_column div.block h4 a, #right_column div.block h4 a,
#suppliers_block_left h4 a, #best-sellers_block_right h4 a, #stores_block_left h4 a,
#manufacturers_block_left h4 a { color: #4a4a4a !important; }
.desc_slide, div.desc_slide, .hf_hit_box .desc_slide { color: #3a3a3a !important; }
#customblocks_block_8 h2, .customblocks_block h2 { color: #a8305a !important; }
#more_info_tabs a, a#more_info_tab_more_info { color: #1a5c70 !important; }
/* 24x24 measured 20px of owned box, so the control is grown past the floor rather than to it. */
#header #search_block_top label { width: 28px !important; height: 28px !important; }

/* The listing card's picture link and its sort menu are the last two boxes under the 24px floor. */
#product_list a.product_img_link, #product_list a.lnk_view { display: block; }
#productsSortForm label { display: inline-block; min-height: 24px; line-height: 24px; padding: 0 4px 0 0; }
#selectPrductSort { min-height: 28px; font-size: 13px; padding: 3px; }
#selectPrductSort option { font-size: 13px; }

/* Three articles have no surviving photograph (see o5sn_finish.py step 5). An empty <a> collapses
   to a 20px line, which both looks like a rendering failure and fails the tap-target floor.
   REVISED (independent review, defect 1): min-height alone was not enough - nothing in the theme
   gives `.product_img_link` a WIDTH (it normally comes from the <img>'s own width="124"), so the
   card was a 124px-tall but 0px-wide sliver: a real box with a real background and border, all of
   it invisible because it had no width to show them in. That is why it photographed as a plain
   blank area rather than as the visibly-empty box the CSS already asked for. Fixed by giving the
   photo-less anchor the same 124px width its photographed siblings get from their <img>, flexing
   its one child (the fallback text below) to the centre, and putting the shop's OWN fallback
   sentence - the one already shipped on the product page, "Photographie non disponible pour cet
   article." - inside it, so the card is honest rather than merely sized correctly.
   qa_legibility (called the RIGHT way - `node qa_legibility.js <domain> <path>`, which runs its own
   server, not the base-URL form the other browser gates take) caught a second-order mistake: the
   first cut of this fallback set the sentence at 10px to make it fit the 124px box, which is itself
   the "hold a magnifying glass to the screen" defect this project already fixes everywhere else.
   12px is the floor; the box is not fixed-height (min-height only), so it simply grows a little
   taller to fit the sentence at a readable size instead of clipping it - `overflow:hidden` on the
   theme's own `.product_img_link` only crops content LARGER than an explicit box, and this box has
   none.
   REVISED AGAIN (independent review, 2026-08-30, defect 1 recurrence): the 124px width above was
   itself the bug. Read in css/product_list-7696fe90.css: `.desc_slide` is an ALWAYS-PRESENT,
   position:absolute, left:0, width:202px (+20px padding = 222px) hover-reveal panel that sits
   directly underneath the image anchor inside div.prd (content-box width 222px, or 242px under
   #featured-products_block_center) - it only stays hidden by default because the anchor covering it
   is opaque and at least as wide as the panel. On a PHOTOGRAPHED card `a.product_img_link` never
   gets an explicit width at all: it is `display:block` with no width rule, so as the sole
   in-flow child of div.prd it fills the entire 222px content box exactly like `.desc_slide` does,
   and its theme background-color:#fff (here, #f4f6f7) opaquely covers the panel edge-to-edge. The
   previous fix gave the photo-less anchor `width:124px` - narrower than the 222px panel it needs to
   cover - so ~98px of `.desc_slide` had nothing opaque in front of it and its text bled through the
   right edge at 1440px (invisible at <=1023px only because the `width:auto!important` mobile rule
   further down already overrides it there, which is why the phone capture was always clean). FIX:
   drop the explicit width entirely so the placeholder anchor is sized exactly like a working card's
   anchor - a plain block filling its container - rather than a fixed 124px square. The dashed box
   and centred sentence now span the full card width instead of a small square, which is the
   visually-honest tradeoff: it costs the small-square look but is the only geometry that reliably
   covers `.desc_slide` on every card width the theme uses (222px under #product_list, 242px under
   #featured-products_block_center), without hardcoding a second magic number that could drift out of
   sync with the theme again. */
#product_list a.product_img_link, #product_list a.lnk_view { min-height: 124px; }
#product_list a.product_img_link:not(:has(img)) {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #f4f6f7; border: 1px dashed #cfd9dd; border-radius: 3px;
}
.restore-card-no-photo { display: block; color: #4a4a4a; font-size: 12px; line-height: 1.35; padding: 6px; }
#image-block .restore-no-photo {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 200px; margin: 0 auto; padding: 12px; max-width: 264px;
  background: #f4f6f7; border: 1px dashed #cfd9dd; border-radius: 3px;
  color: #4a4a4a; font-size: 13px; line-height: 1.5;
}
#productsSortForm label { min-width: 44px; }

/* Footer navigation was the same grey as the footer prose around it, so nothing marked it as
   clickable. The theme's own accent, darkened to 7.5:1 on white, does that without an underline
   storm in a four-column list. */
#footer a, #footer li a, #block_various_links_footer li a,
.blockcategories_footer a, #social_block li a, #block_contact_infos li a { color: #1a5c70; }
#footer a:hover { text-decoration: underline; }

/* The theme floats the search field AND its button right, so the first floated element - the field -
   lands rightmost and the button ends up to its LEFT, reading as "Rechercher | [box]". One flex row
   puts them back in reading order at every width. */
#header #search_block_top p { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
#header #search_block_top input.search_query { float: none; margin-top: 0; }
#header #search_block_top input.button { float: none; }

/* The four archived views of a product were a horizontal strip; giving the anchor `display:block`
   (so its hit box is the picture, not the 15px line) also stacked them into a column. Float the
   list items back. */
#thumbs_list_frame { overflow: hidden; padding: 0; }
#thumbs_list_frame li { float: left; margin: 0 8px 8px 0; list-style: none; }

/* On a phone the card's description panel is no longer an overlay, so it precedes the photograph
   in source order. Flex order puts the picture first, the way the desktop card reads.
   REVISED (independent review R7): photo/description sit in `div.prd`, and the truncated name +
   price sit in the SIBLING `.hf_detail`/`.right_block` that follows `.prd` in the DOM - so the
   description (which is ABOUT the product) was reading before the product was named. `.prd` is
   unwrapped with `display:contents` so its own children join `.hf_detail`/`.right_block` as flex
   items of the `<li>` itself, and all three get an explicit order: photo, name + price,
   description. `display:contents` drops `.prd`'s own border/shadow, so the same framing is given
   to the `<li>` instead - the card keeps a visible edge, now around the whole card rather than
   only its top half. */
@media (max-width: 1023px) {
  #featured-products_block_center li.ajax_block_product, #product_list li.ajax_block_product {
    display: flex; flex-direction: column;
    border: 5px solid #f5f5f5; box-shadow: 0 0 10px #AAA; margin-bottom: 14px; padding: 0;
  }
  #featured-products_block_center li.ajax_block_product div.prd,
  #product_list li.ajax_block_product div.prd {
    display: contents;
  }
  #featured-products_block_center a.product_image, #product_list a.product_img_link { order: 1; }
  #featured-products_block_center .hf_detail, #product_list .right_block { order: 2; padding: 6px 10px 0 10px; }
  #featured-products_block_center .desc_slide, #product_list .desc_slide { order: 3; }
}

/* The product sheet's tab strip holds exactly ONE tab, "En savoir plus", and the theme paints it as
   a button - so the page showed the same words twice, once as the working anchor under the short
   description and once as what looks like a disabled control. Render the strip as the section
   heading it actually is. */
#more_info_tabs { list-style: none; margin: 18px 0 6px 0; padding: 0; border-bottom: 1px solid #ddd; }
#more_info_tabs li { list-style: none; }
#more_info_tabs a, a#more_info_tab_more_info {
  display: inline-block; background: none !important; color: #333 !important;
  font-size: 17px !important; font-weight: normal; text-transform: uppercase;
  font-family: 'Yanone Kaffeesatz', arial, serif; padding: 4px 0 6px 0 !important;
  border: 0; text-decoration: none; cursor: default; pointer-events: none;
}
/* the "useful links" list under the photograph is chrome, not a bulleted list */
#usefull_link_block, #usefull_link_block li { list-style: none; margin-left: 0; padding-left: 0; }

/* The honest contact block that replaced the dead form. */
.restore-contact-list { list-style: none; margin: 10px 0 24px 0; padding: 0; }
.restore-contact-list li { padding: 5px 0; line-height: 1.55; color: #2f2f2f; }
.restore-contact-list strong { color: #1d1d1d; }

/* ================= A4. FOUND BY LOOKING, THEN MEASURED EVERYWHERE =================
 * Round four. Each item below was invisible to the gates as they were being run, because the
 * gates were being pointed at / , a legal page and one product sheet - and none of these three
 * templates carries the markup that was broken. Naming the class is what makes it measurable.
 */

/* THE EMPTY-LISTING NOTICE WAS PURE WHITE ON WHITE, ON TWO PAGES THE FOOTER LINKS TO.
 * `.warning{color:#FFF}` in the theme painted its text on an orange SPRITE, and that sprite is
 * one of the 75 theme images the archive never captured, so the CSS pass deleted the background
 * and left the white text with nothing under it. Measured with getComputedStyle: rgb(255,255,255)
 * over rgba(0,0,0,0) down to <body> white; a pixel histogram of the box on /promotions/ contains
 * exactly two colours, white and the border's #fa9848 - not one glyph pixel. /promotions/ and
 * /nouveaux-produits/ were EMPTY BY DESIGN on the live site and are kept for that reason, so the
 * one sentence each of them carries ("Aucune promotion." / "Pas de nouveaux produits") is the
 * whole page. Repaint in the theme's own orange, dark enough to clear 4.5:1 on its own tint. */
.warning {
  background: #fff6ed;
  color: #8a4400;
  font-weight: bold;
}
.warning a { color: #8a4400; text-decoration: underline; }
/* .error / .success carry the identical `color:#FFF` and no ground; no built page uses them today,
   but the rule costs nothing and stops the same defect if one is ever added. */
.error { background: #fff1f1; color: #a11212; }
.error a { color: #a11212; text-decoration: underline; }
.success { background: #f1fbf1; color: #14601a; }
.success a { color: #14601a; text-decoration: underline; }

/* THE PRODUCT-CARD TITLE LINK IS 20px TALL, AT BOTH WIDTHS, ON EVERY LISTING AND ON THE HOMEPAGE.
 * Section A already asked for 5px of vertical padding on `.hf_detail h5 a`, and it never applied:
 * the theme sets `#featured-products_block_center .hf_detail h5 a{padding:0}`, and an id beats a
 * class, so the earlier fix lost the cascade silently and the anchor still measured 195x20. Match
 * the theme's own specificity. The anchor is `position:absolute;bottom:10px` inside a 50px h5, so
 * the extra padding grows the box upwards into space the theme had already reserved. */
#featured-products_block_center .hf_detail h5 a,
#product_list li h3 a {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

@media (max-width: 1023px) {
  /* THE PRODUCT NAME WAS PRINTED TWICE ON EVERY CARD, THE SECOND TIME CUT OFF. Section M turns
     `.desc_slide` - the panel the desktop reveals on hover - into the card's ordinary description,
     because a phone has no hover. That panel opens with an <h6> carrying the FULL product name,
     and the card's own <h5> link carries the same name TRUNCATED by PrestaShop ("Peigne de massage
     en..."). Side by side they read as an unfinished page. Drop the duplicate, keep the link. */
  #featured-products_block_center .desc_slide h6, #product_list .desc_slide h6 { display: none; }

  /* THE EDITORIAL'S 200px IMAGES ARE FLOATED BY AN INLINE STYLE THE CMS WROTE IN 2013. At 390 that
     leaves ~160px for justified body copy: four or five words a line, with rivers through it. The
     images are content, not decoration, so they stay - they just stop being floats. `float:none`
     from a stylesheet does beat an inline `float:left` once it is !important. */
  #center_column .rte img[style*="float"], #center_column .editorial_block img[style*="float"] {
    float: none !important;
    display: block;
    margin: 12px auto !important;
    max-width: 100%;
    height: auto;
  }
}

/* LINK ROWS OVERLAPPED EACH OTHER, SO A TAP LANDED ON THE NEIGHBOUR - THREE CONTAINERS, ONE CAUSE.
 * Section A gives `#center_column a` 5px of vertical padding to grow the hit box past 24px.
 * Padding on an INLINE box does not grow its LINE, so wherever a list runs at the theme's 15px
 * pitch each 25px anchor was overlapped 5px above and 5px below by its neighbours: the probe
 * hit-tests 24 rows down a link's centre line and found the anchor itself owned only 15 of them.
 * Measured on /plan-du-site/ (14 links at 1440, 4 at 390), on /content/category/1-home/ (5 and 5)
 * and on /content/7-notice-utilisation-stone-needle/ (its 4-item table of contents). A control
 * that is 25px tall but only owns 15 of them is exactly as unhittable as a 15px control, which is
 * why these block. Open the line so the boxes stop colliding.
 * Safe to apply to every list in the content column: a census of all 40 pages found ONE list item
 * anywhere on the site that wraps to a second line, and the CMS pages set their prose in <p>. */
#center_column ol li, #center_column ul li,
#center_column ol li a, #center_column ul li a,
#center_column .tree_top, #center_column .tree_top a,
ul.bullet li, ul.bullet li a { line-height: 28px; }

/* THE ONLY SUB-12px TEXT LEFT ON THE SITE, and it could not be fixed by changing a font size.
 * The notice page labels its three massage-gesture photographs with ONE line of 0.8em text whose
 * three words are positioned by runs of &nbsp; - 10.2px at 1440, 11.2px at 390, under the client's
 * "magnifying glass" floor at both. Enlarging the type alone would have pushed "Taper" and
 * "Pointer" out from under their own photographs, because the spacing is measured in spaces. The
 * markup is now three cells that divide the picture's width, so the labels sit under their
 * pictures at every viewport and can be set at a readable size. The words are the site's own. */
.restore-figcaption { display: flex; max-width: 500px; margin: 2px 0 16px 0; padding: 0; }
.restore-figcaption span { flex: 1 1 0; text-align: center; font-size: 13px; color: #3a3a3a; }


/* ============ O7 REVIEW (2026-10-14) ============
 * 1. THE THEME'S HEADING FONT. Every page the archive holds loads
 *    fonts.googleapis.com/css?family=Yanone+Kaffeesatz:regular,bold and the bundle sets every
 *    sidebar heading in it (#right_column div.block h4, #center_column .block h4, 2em uppercase).
 *    The restore dropped the Google link and nothing replaced it, so those headings fell back to
 *    2em Arial - wide enough that CONTACTEZ-NOUS, MEILLEURES VENTES and NOTRE MAGASIN broke onto
 *    two lines in the 202px column. The two woff2 subsets are Google's own files for this family
 *    (latin, latin-ext), self-hosted so nothing is fetched from a third party. */
@font-face {
  font-family: 'Yanone Kaffeesatz'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/yanonekaffeesatz-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Yanone Kaffeesatz'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/yanonekaffeesatz-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. "TOUTES LES MEILLEURES VENTES" IS A TEXT LINK, NOT A BUTTON. The theme says so itself:
 *    #best-sellers_block_right .lnk .button_large{padding:0;border:none;background:none}, inside
 *    p.lnk{text-align:right}. Section A's blanket a.button_large pill carries !important and
 *    outranked that, and at 34px line-height in a 202px column the pill wrapped into a 68px slab
 *    with a gap between its two lines. Give the link back its theme shape, in the site's link
 *    colour (the white the pill used would vanish on the white column). */
#best-sellers_block_right p.lnk a.button_large {
  background: none !important; color: #1a6274 !important; display: inline !important;
  padding: 5px 0 !important; line-height: 1.4 !important; min-height: 0; border-radius: 0;
  font-size: 12px !important; text-decoration: underline;
}


/* 3. The order-5 generator's .o5-legal{padding:1.5em 1em 2.5em} (inline <style> in 404.html and
 *    content/10-politique-de-cookies/) insets the authored pages' heading and text 16px right of
 *    every archived page (x=322 against 306 at 1440, 30 against 15 at 390). #center_column already
 *    provides the gutter: keep the vertical padding, drop the sideways one. */
#center_column .o5-legal { padding-left: 0; padding-right: 0; }


/* ============ A5. BEST SELLERS AND THE PHOTO-LESS CARD (order 7) ============
 * 1. The best-seller titles and prices are anchors with no rule of their own, so they rendered as
 *    browser-default underlined links beside the theme's un-underlined block text. Quiet them like
 *    the sibling block headings (A3); underline returns on hover/focus.
 * 2. A photographed card's anchor is an inline <img> in a block (line-box descender gap) and the
 *    photo-less placeholder is a flex box with a border and a min-height, so two cards in one row
 *    differed by about 8px and the placeholder's title and price sat higher. Give both anchors one
 *    border-box height (124px picture + the 5px+5px padding Section A gives every column link) and
 *    take the descender gap out of the picture. */
#best-sellers_block_right li p a, #best-sellers_block_right li p a .price { text-decoration: none; }
#best-sellers_block_right li p a:hover, #best-sellers_block_right li p a:focus { text-decoration: underline; }
#product_list a.product_img_link {
  box-sizing: border-box; height: 134px; min-height: 0; overflow: hidden;
}
#product_list a.product_img_link img { display: block; }
