/* PAPAREIL 6.17.1 — Mobile checkout hotfix.
   Targets tested DOM structures of WooCommerce/WCMultiShipping.
   Does not alter transport selection or payment validation logic. */
@media (max-width: 760px) {
  /* Compact community ribbon: single flexible row, no horizontal scrolling.
     The other statistics are moved into the existing expanded panel by JS. */
  body.pp-site .pp-header-inner {
    box-sizing: border-box !important;
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    gap: 6px !important;
    row-gap: 0 !important;
  }
  body.pp-site .pp611-pulse.pp613-compact {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 5px 0 0 !important;
    padding: 5px 0 0 !important;
    overflow: hidden !important;
    border-top: 1px solid #e9eff6 !important;
  }
  body.pp-site .pp613-compact-top {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto auto auto !important;
    grid-template-rows: minmax(28px,auto) !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    min-height: 28px !important;
  }
  body.pp-site .pp611-pulse-heading {
    grid-area: 1/1 !important;
    display: inline-flex !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 5px !important;
    flex: initial !important;
    white-space: nowrap !important;
  }
  body.pp-site .pp611-heading-main {
    font-size: 0 !important; /* Hide literal 'PAPAREIL' prefix only at narrow widths. */
    letter-spacing: 0 !important;
  }
  body.pp-site .pp611-heading-main strong {font-size: 10px !important;letter-spacing: .01em !important;}
  body.pp-site .pp611-live-dot {width: 6px !important;height: 6px !important;flex-basis: 6px !important;}
  body.pp-site .pp613-lead-metrics {
    grid-area: 1/2 !important;
    flex: initial !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  body.pp-site .pp613-lead-metrics .pp611-metric {min-width:0 !important;flex:0 0 auto !important;padding:0 !important;gap:3px !important;}
  body.pp-site .pp613-lead-metrics .pp611-metric:not(:first-child) {display: none !important;}
  body.pp-site .pp613-lead-metrics .pp611-metric-icon {display:none !important;}
  body.pp-site .pp613-lead-metrics .pp611-metric-content {flex-direction:row !important;align-items:baseline !important;gap:3px !important;}
  body.pp-site .pp613-lead-metrics .pp611-metric-content strong {font-size:12px !important;line-height:1 !important;}
  body.pp-site .pp613-lead-metrics .pp611-metric-content small {font-size:9px !important;line-height:1 !important;white-space:nowrap !important;}
  body.pp-site .pp613-compact .pp612-header-action {
    grid-area: 1/3 !important;
    display:flex !important;
    flex: initial !important;
    justify-content:center !important;
    align-items:center !important;
    margin:0 !important;
    width:30px !important;
    min-width:30px !important;
    max-width:30px !important;
    gap:0 !important;
  }
  body.pp-site .pp612-header-action .pp612-support-button--header {
    display:inline-grid !important;place-items:center !important;
    width:30px !important;height:30px !important;min-width:30px !important;
    min-height:30px !important;padding:0 !important;
  }
  body.pp-site .pp612-header-action .pp612-header-count,
  body.pp-site .pp612-header-action .pp613-share-jump {display:none !important;}
  body.pp-site .pp613-expand {
    grid-area: 1/4 !important;order:initial !important;flex: initial !important;
    width:44px !important;min-width:44px !important;max-width:44px !important;
    height:29px !important;min-height:29px !important;
    margin:0 !important;padding:2px 3px !important;
    font-size:10px !important;gap:0 !important;
    background:#f6f9fd !important;border:1px solid #e6edf5 !important;
  }
  body.pp-site .pp613-expand .pp613-chevron {width:12px !important;height:12px !important;flex:0 0 12px !important;}
  body.pp-site .pp613-compact .pp611-admin-link{display:none !important;}
  body.pp-site .pp613-details{width:100% !important;max-width:100% !important;min-width:0 !important;box-sizing:border-box !important;margin:5px 0 0 !important;padding:7px 0 3px !important;overflow:visible !important;}
  body.pp-site .pp613-details[hidden]{display:none !important;}
  body.pp-site .pp618-mobile-metrics {
    display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;width:100% !important;min-width:0 !important;margin:0 0 8px !important;
  }
  body.pp-site .pp618-mobile-metrics .pp611-metric {display:flex !important;justify-content:flex-start !important;white-space:normal !important;min-width:0 !important;padding:6px !important;border:1px solid #e8edf4 !important;border-radius:9px !important;gap:5px !important;}
  body.pp-site .pp618-mobile-metrics .pp611-metric:before {display:none !important;}
  body.pp-site .pp618-mobile-metrics .pp611-metric-content {flex-direction:column !important;align-items:flex-start !important;gap:1px !important;min-width:0 !important;}
  body.pp-site .pp618-mobile-metrics .pp611-metric-content strong{font-size:14px !important;}
  body.pp-site .pp618-mobile-metrics .pp611-metric-content small{font-size:10px !important;white-space:normal !important;overflow-wrap:anywhere !important;}
  body.pp-site .pp613-details .pp613-extra-metrics{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:7px !important;width:100% !important;min-width:0 !important;}
  /* Checkout: remove wasteful vertical spaces and preserve natural page scrolling. */
  body.woocommerce-checkout main.pp-commerce-page {width:calc(100% - 16px) !important;padding:10px 0 25px !important;min-width:0 !important;}
  body.woocommerce-checkout .pp-commerce-body{min-width:0 !important;overflow:visible !important;}
  body.woocommerce-checkout .pp67-checkout-layout{gap:10px !important;}
  body.woocommerce-checkout .pp67-checkout-primary .pp67-section {padding:12px !important;margin-bottom:10px !important;border-radius:13px !important;}
  body.woocommerce-checkout .pp67-section :is(h2,h3,h4,h5,legend).pp67-heading {margin-bottom:9px !important;min-height:26px !important;line-height:1.25 !important;}
  body.woocommerce-checkout .pp67-section .form-row{margin-bottom:9px !important;}
  body.woocommerce-checkout .pp67-delivery-choice,
  body.woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option {padding:10px !important;min-height:44px !important;gap:8px !important;margin-bottom:6px !important;}
  body.woocommerce-checkout .pp67-checkout-layout>.pp67-checkout-aside {padding:12px !important;}
}
/* WCMultiShipping modal from its documented frontend templates. Independent of theme checkout markup. */
@media(max-width:760px) {
 body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal {
   position:fixed !important;inset:0 !important;z-index:999995 !important;max-width:none !important;max-height:none !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-content {
   position:fixed !important;
   top:8px !important;right:8px !important;bottom:auto !important;left:8px !important;
   width:calc(100% - 16px) !important;max-width:none !important;min-width:0 !important;
   height:calc(var(--pp618-visible-height,100dvh) - 16px) !important;
   max-height:calc(var(--pp618-visible-height,100dvh) - 16px) !important;
   transform:none !important;margin:0 !important;padding:0 !important;
   display:flex !important;flex-direction:column !important;
   border-radius:14px !important;overflow:hidden !important;
   overscroll-behavior:contain !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-main {
   display:flex !important;flex-direction:column !important;
   min-height:0 !important;height:100% !important;max-height:100% !important;
   overflow:hidden !important;padding:0 !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-main > .wc-backbone-modal-header {
   flex:0 0 auto !important;min-height:40px !important;padding:6px 10px !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-main > article {
   flex:1 1 auto !important;min-height:0 !important;height:auto !important;
   max-height:100% !important;overflow-y:auto !important;
   -webkit-overflow-scrolling:touch !important;overscroll-behavior:contain !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wms_modal_content {
   height:100% !important;min-height:0 !important;display:flex !important;flex-direction:column !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wms_modal_content > .wc-backbone-modal-header {
   flex:0 0 auto !important;min-height:0 !important;padding:8px !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_address {
   display:flex !important;flex-wrap:wrap !important;gap:6px !important;
   align-items:end !important;margin:0 !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_address > div {min-width:0 !important;flex:1 1 100px !important;margin:0 !important;}
 body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_address :is(input,select,button) {max-width:100% !important;box-sizing:border-box !important;min-height:36px !important;font-size:13px !important;}
 body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_map_container {
   flex:1 1 auto !important;min-height:0 !important;max-height:100% !important;
   display:flex !important;flex-direction:column !important;overflow:hidden !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_map_container > .wms_pickup_modal_map {
   flex:0 0 clamp(100px,19dvh,155px) !important;
   width:100% !important;height:clamp(100px,19dvh,155px) !important;max-height:155px !important;
   min-height:100px !important;overflow:hidden !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_listing {
   flex:1 1 auto !important;min-height:0 !important;max-height:100% !important;
   overflow-y:auto !important;overflow-x:hidden !important;
   -webkit-overflow-scrolling:touch !important;overscroll-behavior:contain !important;padding:5px 8px 18px !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_listing_one {margin:0 0 8px !important;padding:10px !important;}
 body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_listing_one_button_ship {
   min-height:44px !important;max-width:100% !important;width:100% !important;
   padding:9px !important;margin:8px 0 0 !important;touch-action:manipulation !important;
 }
 /* Mondial Relay widget mode: action button lives AFTER the large map in the modal. */
 body.woocommerce-checkout .wms_pickup_modal #wms_select_point,
 body.woocommerce-checkout .wms_pickup_modal .wms_select_pickup_point_button {
   flex:0 0 auto !important;position:sticky !important;bottom:0 !important;z-index:7 !important;
   display:block !important;width:calc(100% - 20px) !important;max-width:100% !important;
   min-height:48px !important;box-sizing:border-box !important;
   margin:6px 10px max(8px,env(safe-area-inset-bottom)) !important;
   padding:10px 12px !important;touch-action:manipulation !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-main > .wms_pickup_modal_map {
   flex:1 1 auto !important;min-height:0 !important;max-height:100% !important;
   overflow-y:auto !important;-webkit-overflow-scrolling:touch !important;
 }
 body.woocommerce-checkout .wms_pickup_modal .modal-close{min-width:36px !important;min-height:36px !important;touch-action:manipulation !important;}
}
@media(max-width:380px){
 body.pp-site .pp613-compact-top{gap:3px !important;}
 body.pp-site .pp611-heading-main strong{font-size:9px !important;}
 body.pp-site .pp613-lead-metrics .pp611-metric-content small{font-size:8px !important;}
 body.pp-site .pp613-expand{width:40px !important;min-width:40px !important;max-width:40px !important;}
}

/* PAPAREIL 6.17.2 — mobile purchase journey polish.
   Focus: Mondial Relay modal, compact product/checkout screens, tighter mobile rhythm. */
@media (max-width: 760px) {
  body.pp-site .pp-header-inner,
  body.pp-site main.pp-commerce-page,
  body.single-product .pp-shop-page,
  body.woocommerce-cart .pp-shop-page,
  body.woocommerce-checkout .pp-shop-page { overflow-x: clip !important; }

  body.single-product .pp-shop-page .woocommerce-breadcrumb,
  body.single-product .pp-shop-page .woocommerce-notices-wrapper,
  body.single-product .pp-shop-page .woocommerce-tabs,
  body.single-product .related.products,
  body.single-product .up-sells,
  body.single-product .cross-sells,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-checkout .pp67-checkout-primary .pp67-section,
  body.woocommerce-checkout .pp67-checkout-layout>.pp67-checkout-aside { scroll-margin-top: 10px; }

  body.single-product .pp-shop-page { padding-inline: 8px !important; }
  body.single-product .pp-shop-page .woocommerce-breadcrumb { margin: 8px 0 10px !important; font-size: 12px !important; }
  body.single-product .pp-shop-page .woocommerce div.product { gap: 12px !important; }
  body.single-product .pp-shop-page .woocommerce div.product div.images,
  body.single-product .pp-shop-page .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
  body.single-product .pp-shop-page .woocommerce div.product div.images { margin-bottom: 6px !important; }
  body.single-product .pp-shop-page .woocommerce div.product .summary h1.product_title { font-size: clamp(26px, 7vw, 36px) !important; line-height: 1.02 !important; margin: 2px 0 8px !important; }
  body.single-product .pp-shop-page .woocommerce div.product .summary .price,
  body.single-product .pp-shop-page .woocommerce div.product .summary p.price { margin: 8px 0 12px !important; }
  body.single-product .pp-shop-page .woocommerce div.product .summary form.cart,
  body.single-product .pp-shop-page .woocommerce div.product .summary .woocommerce-product-details__short-description { margin: 10px 0 0 !important; }
  body.single-product .pp-shop-page .woocommerce div.product .summary .quantity { margin-right: 8px !important; }
  body.single-product .pp-shop-page .woocommerce div.product .summary .single_add_to_cart_button,
  body.single-product .pp-shop-page .woocommerce div.product .summary .button { width: 100% !important; min-height: 48px !important; }
  body.single-product .pp-shop-page .woocommerce div.product form.cart .variations td,
  body.single-product .pp-shop-page .woocommerce div.product form.cart .variations th { display: block !important; width: 100% !important; }
  body.single-product .pp-shop-page .woocommerce div.product .woocommerce-tabs { margin-top: 14px !important; padding-top: 0 !important; }
  body.single-product .pp-shop-page .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex !important; overflow-x: auto !important; gap: 6px !important; padding: 0 0 6px !important; margin: 0 0 12px !important; }
  body.single-product .pp-shop-page .woocommerce div.product .woocommerce-tabs ul.tabs li { white-space: nowrap !important; border-radius: 999px !important; }
  body.single-product .pp-shop-page .woocommerce div.product .woocommerce-tabs .panel { margin: 0 !important; padding: 14px !important; border-radius: 16px !important; }

  body.single-product #reviews { padding: 16px 14px !important; border-radius: 16px !important; }
  body.single-product #reviews #reply-title,
  body.single-product #reviews .woocommerce-Reviews-title { font-size: 24px !important; margin-bottom: 10px !important; }
  body.single-product #reviews textarea { min-height: 110px !important; }
  body.single-product .related.products { margin: 18px 0 0 !important; padding: 15px 12px !important; }
  body.single-product .related.products > h2 { font-size: 24px !important; margin-bottom: 10px !important; }
  body.single-product .related.products ul.products li.product { padding: 10px !important; border-radius: 16px !important; }
  body.single-product .related.products ul.products li.product .button,
  body.single-product .related.products ul.products li.product .added_to_cart { width: 100% !important; text-align: center !important; }

  body.woocommerce-cart main.pp-commerce-page,
  body.woocommerce-checkout main.pp-commerce-page { width: calc(100% - 12px) !important; padding-top: 8px !important; }
  body.woocommerce-cart .woocommerce table.shop_table_responsive tr td,
  body.woocommerce-checkout .woocommerce table.shop_table_responsive tr td { padding-top: 8px !important; padding-bottom: 8px !important; }
  body.woocommerce-checkout .pp67-section :is(p,small,label) { line-height: 1.42 !important; }
  body.woocommerce-checkout .pp67-checkout-primary .pp67-section { padding: 11px !important; margin-bottom: 8px !important; border-radius: 12px !important; }
  body.woocommerce-checkout .pp67-checkout-layout>.pp67-checkout-aside { padding: 11px !important; border-radius: 12px !important; }
  body.woocommerce-checkout .pp67-heading[data-pp67-step]::before { flex-basis: 27px !important; width: 27px !important; height: 27px !important; }
  body.woocommerce-checkout .pp67-pickup-button,
  body.woocommerce-checkout .pp67-delivery-choice,
  body.woocommerce-checkout .pp67-method-choice { border-radius: 12px !important; }
  body.woocommerce-checkout .pp67-summary-panel :is(table.shop_table td,table.shop_table th) { padding: 8px 5px !important; }
  body.woocommerce-checkout .pp67-summary-panel :is([class*="order-total"],[class*="totals-footer-item"]) :is(.amount,.woocommerce-Price-amount) { font-size: 18px !important; }

  body.pp-site .pp613-compact .pp613-details { padding-bottom: 2px !important; }
  body.pp-site .pp618-mobile-metrics { gap: 6px !important; }
  body.pp-site .pp618-mobile-metrics .pp611-metric { padding: 5px 6px !important; }
  body.pp-site .pp613-details .pp613-extra-metrics { grid-template-columns: 1fr !important; }

  body.pp6172-relay-open { overflow: hidden !important; touch-action: none !important; }
  body.woocommerce-checkout .wms_pickup_modal,
  body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal,
  body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-content,
  body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-main,
  body.woocommerce-checkout .wms_pickup_modal .wms_modal_content,
  body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_map_container,
  body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_listing,
  body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_map,
  body.woocommerce-checkout .wms_pickup_modal article { box-sizing: border-box !important; min-width: 0 !important; }
  body.woocommerce-checkout .wms_pickup_modal { z-index: 999995 !important; }
  body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-content { top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100vw !important; height: var(--pp618-visible-height,100dvh) !important; max-height: var(--pp618-visible-height,100dvh) !important; border-radius: 0 !important; }
  body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-main,
  body.woocommerce-checkout .wms_pickup_modal .wms_modal_content { height: 100% !important; max-height: 100% !important; }
  body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-main > article,
  body.woocommerce-checkout .wms_pickup_modal .wms_modal_content,
  body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_map_container { min-height: 0 !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; }
  body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_listing,
  body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-main > article { flex: 1 1 auto !important; overflow-y: auto !important; overflow-x: hidden !important; -webkit-overflow-scrolling: touch !important; overscroll-behavior: contain !important; touch-action: pan-y !important; padding-bottom: calc(env(safe-area-inset-bottom) + 92px) !important; }
  body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_listing_one,
  body.woocommerce-checkout .wms_pickup_modal [class*="pickup_point"],
  body.woocommerce-checkout .wms_pickup_modal [class*="relay"].selected,
  body.woocommerce-checkout .wms_pickup_modal [class*="relay-card"] { scroll-margin-bottom: 90px !important; }
  body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_map_container > .wms_pickup_modal_map { flex: 0 0 126px !important; height: 126px !important; min-height: 126px !important; max-height: 126px !important; }
  body.woocommerce-checkout .wms_pickup_modal .wms_pickup_modal_listing_one_button_ship,
  body.woocommerce-checkout .wms_pickup_modal #wms_select_point,
  body.woocommerce-checkout .wms_pickup_modal .wms_select_pickup_point_button,
  body.woocommerce-checkout .wms_pickup_modal [data-role="confirm-pickup"],
  body.woocommerce-checkout .wms_pickup_modal [class*="select-point"] { position: sticky !important; bottom: 0 !important; z-index: 10 !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; min-height: 46px !important; border-radius: 14px !important; box-shadow: 0 -10px 24px rgba(18,52,93,.08) !important; }
  body.woocommerce-checkout .wms_pickup_modal .modal-close,
  body.woocommerce-checkout .wms_pickup_modal .wc-backbone-modal-close { z-index: 20 !important; }
}

@media (max-width: 380px) {
  body.single-product .pp-shop-page .woocommerce div.product .summary h1.product_title { font-size: 24px !important; }
  body.single-product .related.products ul.products li.product { flex-basis: min(78vw, 235px) !important; }
}

/* PAPAREIL Signature 6.17.3 — actual header grid & Cart hero mobile.
   Source of truth: header.php and PAPAREIL Commerce Studio .papcs-cart-hero. */
@media (max-width:760px) {
 body.pp-site .pp-header{padding:6px 0!important}
 body.pp-site .pp-header-inner {
   display:grid!important;
   grid-template-columns:minmax(0,1fr) auto auto!important;
   grid-template-rows:minmax(50px,auto) auto!important;
   grid-template-areas:'brand actions burger' 'pulse pulse pulse'!important;
   align-items:center!important;
   align-content:start!important;
   column-gap:6px!important;row-gap:0!important;
   box-sizing:border-box!important;
   width:calc(100% - 12px)!important;max-width:calc(100% - 12px)!important;
   min-height:0!important;padding:8px!important;margin:0 auto!important;
   border-radius:18px!important;
 }
 body.pp-site .pp-header-inner>.pp-brand {
   grid-area:brand!important;align-self:center!important;display:flex!important;
   min-width:0!important;max-width:100%!important;max-height:56px!important;
   overflow:hidden!important;margin:0!important;padding:0!important;
 }
 body.pp-site .pp-header-inner .pp-brand.pp-brand--complete .pp-brand-face {
   display:block!important;width:min(100%,155px)!important;
   max-width:155px!important;max-height:51px!important;
   height:auto!important;object-fit:contain!important;
 }
 body.pp-site .pp-header-inner>.pp-header-actions {
   grid-area:actions!important;display:flex!important;
   align-items:center!important;justify-content:flex-end!important;
   flex:none!important;min-width:0!important;width:auto!important;
   gap:3px!important;margin:0!important;padding:0!important;
 }
 body.pp-site .pp-header-inner>.pp-header-actions .pp-open-search,
 body.pp-site .pp-header-inner>.pp-header-actions>.pp-signin,
 body.pp-site .pp-header-inner>.pp-header-actions .pp-cart-link {
   flex:0 0 37px!important;display:flex!important;
   align-items:center!important;justify-content:center!important;
   width:37px!important;min-width:37px!important;max-width:37px!important;
   height:39px!important;min-height:39px!important;max-height:39px!important;
   padding:0!important;margin:0!important;border-radius:13px!important;
   box-sizing:border-box!important;
 }
 body.pp-site .pp-header-inner>.pp-header-actions .pp-icon {width:20px!important;height:20px!important}
 body.pp-site .pp-header-inner>.pp-header-actions>.pp-header-join,
 body.pp-site .pp-header-inner>.pp-header-actions>.pp60-calm-control {display:none!important}
 body.pp-site .pp-header-inner>.pp-menu-toggle {
   grid-area:burger!important;order:0!important;position:relative!important;
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
   margin:0!important;padding:0!important;
   flex:none!important;width:39px!important;min-width:39px!important;max-width:39px!important;
   height:39px!important;min-height:39px!important;max-height:39px!important;
   border:1px solid #e0eaf3!important;border-radius:13px!important;
   background:#f2f7fd!important;
 }
 body.pp-site .pp-header-inner>.pp-menu-toggle .pp-icon {width:21px!important;height:21px!important}
 body.pp-site .pp-header-inner>.pp-main-nav {
   position:absolute!important;left:8px!important;right:8px!important;
   top:calc(100% + 5px)!important;z-index:999!important;
   grid-area:unset!important;
 }
 body.pp-site .pp-header-inner>.pp611-pulse.pp613-compact {
   grid-area:pulse!important;display:block!important;
   min-width:0!important;width:100%!important;max-width:100%!important;
   margin:5px 0 0!important;padding:5px 0 0!important;
   border-top:1px solid #ebf0f7!important;
   overflow:visible!important;align-self:stretch!important;
 }
 body.pp-site .pp613-compact-top {
   display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto!important;
   grid-template-rows:auto!important;gap:5px!important;
   width:100%!important;align-items:center!important;min-height:30px!important;
 }
 body.pp-site .pp613-compact-top .pp611-pulse-heading {grid-area:1/1!important;min-width:0!important;margin:0!important}
 body.pp-site .pp613-compact-top .pp613-lead-metrics {grid-area:1/2!important;min-width:0!important;margin:0!important;padding:0!important}
 body.pp-site .pp613-compact-top .pp612-header-action {grid-area:1/3!important;position:static!important;width:31px!important;min-width:31px!important;margin:0!important;padding:0!important}
 body.pp-site .pp613-compact-top .pp613-expand {grid-area:1/4!important;margin:0!important;min-width:42px!important;width:42px!important;max-width:42px!important}
 body.pp-site .pp613-compact .pp612-support-button--header{min-height:31px!important;width:31px!important;max-width:31px!important}
 body.pp-site .pp613-details[hidden]{display:none!important}
 body.pp-site .pp-header-search:not([hidden]){z-index:1000!important}

 /* Cart empty: don't make the visitor traverse a giant poster just to continue. */
 body.papcs29-premium.woocommerce-cart .pp-generic-page,
 body.papcs29-premium.woocommerce-cart main.pp-commerce-page{padding-top:8px!important;padding-bottom:26px!important}
 body.papcs29-premium.woocommerce-cart .papcs-cart-hero.papcs29-cart-hero {
   display:block!important;min-height:0!important;
   margin:0 0 10px!important;padding:15px 15px 12px!important;
   border-radius:18px!important;overflow:hidden!important;
   box-shadow:0 5px 20px #1235540d!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs-cart-hero-main {min-width:0!important}
 body.papcs29-premium.woocommerce-cart .papcs-hero-kicker{font-size:10px!important;letter-spacing:.08em!important}
 body.papcs29-premium.woocommerce-cart .papcs29-cart-hero h1 {
   font-size:clamp(25px,6.5vw,32px)!important;line-height:1.08!important;
   margin:5px 0 6px!important;letter-spacing:-.035em!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs29-cart-hero .papcs-cart-hero-main>p {
   font-size:13px!important;line-height:1.38!important;margin:0 0 9px!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs29-progress{
   display:flex!important;flex-wrap:nowrap!important;overflow:hidden!important;
   gap:5px!important;margin:7px 0 9px!important;align-items:center!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs29-progress span{
   display:inline-flex!important;min-width:0!important;min-height:27px!important;
   align-items:center!important;gap:3px!important;
   font-size:10px!important;line-height:1.15!important;
   white-space:nowrap!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs29-progress span b{
   display:grid!important;place-items:center!important;
   flex:0 0 23px!important;width:23px!important;height:23px!important;
   font-size:10px!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs29-progress i{flex:1 0 5px!important;min-width:5px!important;max-width:14px!important}
 body.papcs29-premium.woocommerce-cart .papcs34-benefits {
   display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;
   gap:5px!important;margin:7px 0 5px!important;scrollbar-width:none!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs34-benefits span {
   flex:0 0 auto!important;padding:5px 7px!important;font-size:10px!important;
   white-space:nowrap!important;border-radius:8px!important;line-height:1.1!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs29-cart-hero .papcs29-shop-link {
   margin:8px 0 0!important;font-size:13px!important;min-height:32px!important;
   display:inline-flex!important;align-items:center!important;
 }
 body.papcs29-premium.woocommerce-cart .papcs34-hero-illustration {display:none!important}
 body.papcs29-premium.woocommerce-cart .papcs29-cart-hero .papcs-cart-hero-aside {display:none!important}
 body.papcs29-premium.woocommerce-cart .papcs-cart-hero.is-empty .papcs34-benefits span:nth-child(n+2){display:none!important}
 body.papcs29-premium.woocommerce-cart .papcs-cart-grid>.woocommerce-cart-form,
 body.papcs29-premium.woocommerce-cart .papcs-cart-grid>.cart-collaterals,
 body.papcs29-premium.woocommerce-cart .wc-block-cart__main,
 body.papcs29-premium.woocommerce-cart .wc-block-cart__sidebar {padding:11px!important;border-radius:14px!important}
}
@media(max-width:380px){
 body.pp-site .pp-header-inner {grid-template-columns:minmax(0,1fr) auto auto!important;column-gap:4px!important;padding:7px!important}
 body.pp-site .pp-header-inner .pp-brand.pp-brand--complete .pp-brand-face {width:min(100%,126px)!important}
 body.pp-site .pp-header-inner>.pp-header-actions .pp-open-search,
 body.pp-site .pp-header-inner>.pp-header-actions>.pp-signin,
 body.pp-site .pp-header-inner>.pp-header-actions .pp-cart-link{
   flex-basis:33px!important;width:33px!important;min-width:33px!important;max-width:33px!important;height:36px!important;min-height:36px!important;max-height:36px!important
 }
 body.pp-site .pp-header-inner>.pp-menu-toggle{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important}
}

/* PAPAREIL Signature 6.17.4 — densification mobile checkout/cart/product.
   Goal: less empty space, faster visual scan, cleaner progression on phone. */
@media (max-width:760px){
  body.woocommerce-cart main.pp-commerce-page,
  body.woocommerce-checkout main.pp-commerce-page,
  body.single-product main.pp-commerce-page,
  body.single-product .pp-shop-page{padding-top:6px!important;padding-bottom:18px!important}

  /* Generic cards / blocks */
  body.woocommerce-checkout .pp67-checkout-layout{gap:8px!important}
  body.woocommerce-checkout .pp67-checkout-layout>.pp67-checkout-primary,
  body.woocommerce-checkout .pp67-checkout-layout>.pp67-checkout-aside{gap:8px!important}
  body.woocommerce-checkout .pp67-checkout-primary .pp67-section,
  body.woocommerce-checkout .pp67-checkout-layout>.pp67-checkout-aside,
  body.woocommerce-checkout .pp67-summary-panel,
  body.woocommerce-checkout .woocommerce-checkout-review-order,
  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout__totals-wrapper,
  body.woocommerce-checkout .wc-block-checkout__contact-fields,
  body.woocommerce-checkout .wc-block-checkout__shipping-method,
  body.woocommerce-checkout .wc-block-checkout__shipping-fields,
  body.woocommerce-checkout .wc-block-checkout__payment-method{border-radius:14px!important}

  /* Top intro / hero */
  body.woocommerce-checkout .pp-commerce-body > :is(header,section,div):first-child{
    margin-bottom:8px!important;
  }
  body.woocommerce-checkout .pp-commerce-body > :is(header,section,div):first-child :is(h1,h2){
    font-size:clamp(28px,7vw,36px)!important;line-height:1.04!important;margin:4px 0 6px!important;letter-spacing:-.04em!important;
  }
  body.woocommerce-checkout .pp-commerce-body > :is(header,section,div):first-child :is(p,.description,small){
    font-size:13px!important;line-height:1.36!important;margin:0!important;
  }

  /* Sections */
  body.woocommerce-checkout .pp67-checkout-primary .pp67-section{padding:10px!important;margin-bottom:7px!important}
  body.woocommerce-checkout .pp67-checkout-primary .pp67-section.pp67-express{padding:9px 10px!important}
  body.woocommerce-checkout .pp67-section :is(h2,h3,h4,h5,legend).pp67-heading{font-size:17px!important;line-height:1.14!important;margin-bottom:8px!important;gap:8px!important}
  body.woocommerce-checkout .pp67-heading[data-pp67-step]::before{width:25px!important;height:25px!important;flex:0 0 25px!important;font-size:12px!important}
  body.woocommerce-checkout .pp67-section :is(p,small,label){line-height:1.34!important}
  body.woocommerce-checkout .pp67-section .form-row{margin-bottom:9px!important}
  body.woocommerce-checkout .woocommerce form .form-row input.input-text,
  body.woocommerce-checkout .woocommerce form .form-row textarea,
  body.woocommerce-checkout .woocommerce form .form-row select,
  body.woocommerce-checkout .wc-block-components-text-input input,
  body.woocommerce-checkout .wc-block-components-text-input select{min-height:44px!important;padding:10px 12px!important}

  /* Express / coupon / order recap toggles */
  body.woocommerce-checkout .pp67-express :is(button,a):not([class*="accordion"]):not([class*="toggle"]){min-height:42px!important}
  body.woocommerce-checkout :is([class*="coupon"],[class*="promo"],[class*="summary"]){font-size:14px!important}
  body.woocommerce-checkout .pp67-summary-panel table.shop_table td,
  body.woocommerce-checkout .pp67-summary-panel table.shop_table th{padding:7px 4px!important}
  body.woocommerce-checkout .pp67-summary-panel :is([class*="order-total"],[class*="totals-footer-item"]) :is(.amount,.woocommerce-Price-amount){font-size:17px!important}
  body.woocommerce-checkout .pp67-product-row{gap:8px!important;padding:8px 0!important}
  body.woocommerce-checkout .pp67-summary-panel :is(img){width:48px!important;height:48px!important;border-radius:10px!important}

  /* Address / delivery / payment cards */
  body.woocommerce-checkout .pp67-address-choice,
  body.woocommerce-checkout .pp67-delivery-choice,
  body.woocommerce-checkout .pp67-method-choice,
  body.woocommerce-checkout .pp67-delivery #shipping_method > li{padding:9px 10px!important;border-radius:12px!important;margin-bottom:7px!important}
  body.woocommerce-checkout .pp67-address-choice :is(p,address,small),
  body.woocommerce-checkout .pp67-delivery-choice :is(p,address,small),
  body.woocommerce-checkout .pp67-method-choice :is(p,address,small){line-height:1.3!important}
  body.woocommerce-checkout .pp67-pickup-button{padding:10px 12px!important;min-height:43px!important;border-radius:12px!important;margin-top:8px!important}
  body.woocommerce-checkout .pp67-payment :where(.wc-block-components-radio-control__description){font-size:11px!important;line-height:1.28!important;margin-top:2px!important}
  body.woocommerce-checkout .pp67-payment :is(img,svg):not([class*="spinner"]){max-height:24px!important;max-width:82px!important}

  /* Buttons */
  body.woocommerce-checkout .button,
  body.woocommerce-checkout button,
  body.woocommerce-checkout input[type=submit],
  body.woocommerce-checkout .wc-block-components-checkout-place-order-button{min-height:46px!important;border-radius:13px!important}

  /* Reduce duplicate rhythm / separators */
  body.woocommerce-checkout hr,
  body.woocommerce-checkout .wc-block-components-divider{margin:8px 0!important}

  /* Product page compaction */
  body.single-product .pp-shop-page .woocommerce div.product .summary h1.product_title{font-size:clamp(24px,6.6vw,33px)!important;margin:1px 0 6px!important}
  body.single-product .pp-shop-page .woocommerce div.product .summary .price,
  body.single-product .pp-shop-page .woocommerce div.product .summary p.price{margin:6px 0 8px!important}
  body.single-product .pp-shop-page .woocommerce div.product form.cart{margin-top:8px!important}
  body.single-product .pp-shop-page .woocommerce div.product .woocommerce-tabs .panel{padding:12px!important}

  /* Cart page compaction */
  body.papcs29-premium.woocommerce-cart .papcs-cart-grid>.woocommerce-cart-form,
  body.papcs29-premium.woocommerce-cart .papcs-cart-grid>.cart-collaterals,
  body.papcs29-premium.woocommerce-cart .wc-block-cart__main,
  body.papcs29-premium.woocommerce-cart .wc-block-cart__sidebar{padding:10px!important;border-radius:12px!important}
  body.papcs29-premium.woocommerce-cart .shop_table td,
  body.papcs29-premium.woocommerce-cart .shop_table th{padding:7px 5px!important}

  /* Pulse / header stats even tighter */
  body.pp-site .pp613-compact-top{min-height:28px!important}
  body.pp-site .pp613-compact-top .pp611-pulse-heading{font-size:12px!important}
  body.pp-site .pp613-lead-metrics .pp611-metric{padding:4px 6px!important;gap:4px!important}
  body.pp-site .pp613-lead-metrics .pp611-metric strong{font-size:12px!important}
}

@media (max-width:390px){
  body.woocommerce-checkout .pp67-checkout-primary .pp67-section,
  body.woocommerce-checkout .pp67-checkout-layout>.pp67-checkout-aside{padding:9px!important}
  body.woocommerce-checkout .pp67-section :is(h2,h3,h4,h5,legend).pp67-heading{font-size:16px!important}
  body.woocommerce-checkout .pp67-pickup-button{padding-inline:10px!important}
  body.woocommerce-checkout .wc-block-components-checkout-place-order-button{font-size:15px!important}
}

/* PAPAREIL 6.17.9 — prix produit unifié, sans joint blanc artificiel.
   La séparation blanc/crème venait de border-radius 20px 20px 0 0 et de .price + *.
   Ne pas toucher aux produits de galerie, aux cartes associées ou aux variations Woo. */
body.single-product .pp-shop-page .woocommerce div.product .summary > p.price,
body.single-product .pp-shop-page .woocommerce div.product .summary > span.price,
body.single-product .pp-shop-page .woocommerce div.product .summary > div.price:not(.woocommerce-variation-price){
  display:block!important;box-sizing:border-box!important;position:relative!important;
  width:100%!important;max-width:100%!important;
  margin:10px 0 10px!important;padding:18px 21px!important;
  border:1px solid #dfebf6!important;border-radius:20px!important;
  background:linear-gradient(110deg,#f0f8ff,#fff7df)!important;
  box-shadow:0 10px 24px rgba(18,48,81,.055)!important;
  color:#0e335c!important;overflow:visible!important;
}
body.single-product .pp-shop-page .woocommerce div.product .summary > .price + :is(p,div,small):not(.cart):not(.woocommerce-variation-add-to-cart){
  border-radius:12px!important;margin-top:8px!important;
  background:transparent!important;border-color:transparent!important;
  box-shadow:none!important;
}
body.single-product .pp-shop-page .woocommerce div.product .summary > .price + :is(p,small):not(.cart){
  padding:0 3px!important;line-height:1.4!important;color:#607895!important;font-size:12px!important;
}
body.single-product .pp-shop-page .woocommerce div.product .summary > .price :is(.woocommerce-Price-amount,bdi){font-size:clamp(28px,4vw,39px)!important;font-weight:900!important}
/* If plugin wraps native price in a dedicated card, do not force artificial subdivisions. */
body.single-product .pp-shop-page .woocommerce div.product .summary :is([class*="price-card"],[class*="price-box"],[class*="price-panel"]){border-radius:19px!important;overflow:hidden!important}
body.single-product .pp-shop-page .woocommerce div.product .summary :is([class*="price-card"],[class*="price-box"],[class*="price-panel"]) > :is(.price,p.price){border-radius:18px!important}
@media(max-width:700px){
 body.single-product .pp-shop-page .woocommerce div.product .summary > p.price,
 body.single-product .pp-shop-page .woocommerce div.product .summary > span.price,
 body.single-product .pp-shop-page .woocommerce div.product .summary > div.price:not(.woocommerce-variation-price){padding:14px 16px!important;margin:7px 0 9px!important;border-radius:16px!important}
 body.single-product .pp-shop-page .woocommerce div.product .summary > .price + :is(p,small):not(.cart){font-size:11px!important}
}

