/* EurayStore mobile app shell - loaded after the stock AngarTheme assets. */
.euray-mobile-home { display: none; }

@media (max-width: 767px) {
  body.page-index #header .header-nav,
  body.page-index #header #mobile_search_wrapper,
  body.page-index #header #mobile_user_wrapper { display: none !important; }
  body.page-index #wrapper { padding-top: 0 !important; }
  body.page-index #header #rwd_menu { display: block !important; }
  body.page-index #header .header-top { position: relative; }
  body.page-index #header #rwd_menu { position: absolute; z-index: 10; top: 0; right: 0; left: 0; width: auto; border: 0; background: transparent; pointer-events: none; }
  /* Keep the absolute mobile header hit-area inside the header. On iOS, its
     overflow was intercepting taps on the homepage search input. */
  body.page-index #header #rwd_menu { height: 68px; overflow: hidden; }
  body.page-index #header #mobile_top_menu_wrapper2,
  body.page-index #header #mobile_search_wrapper,
  body.page-index #header #mobile_user_wrapper { display: none !important; }
  body.page-index #header #rwd_menu .container { position: relative; display: block; min-height: 42px; padding: 0 12px; }
  body.page-index #header #rwd_menu .rwd_menu_item { pointer-events: auto; }
  body.page-index #header #rwd_menu #menu-icon2 { position: absolute !important; top: 20px !important; right: 14px !important; left: auto !important; display: grid !important; width: 36px !important; height: 36px !important; transform: none !important; place-items: center; border-radius: 0 !important; background: transparent !important; color: #142122 !important; }
  body.page-index #header #rwd_menu #menu-icon2 .material-icons { font-size: 26px; line-height: 36px; }
  body.page-index #header #rwd_menu #_mobile_cart { position: absolute !important; top: 20px !important; right: 62px !important; display: grid !important; width: 36px !important; height: 36px !important; place-items: center; border-radius: 0 !important; background: transparent !important; color: #142122 !important; }
  body.page-index #header #rwd_menu #_mobile_cart .blockcart { width: 100%; height: 100%; }
  body.page-index #header #rwd_menu #_mobile_cart .cart_link { display: grid; width: 100%; height: 100%; place-items: center; color: #142122; }
  body.page-index #header #rwd_menu #_mobile_cart .shopping-cart { display: block; color: #142122; font-size: 24px; }
  body.page-index #header #rwd_menu #_mobile_cart .cart-products-count { position: absolute !important; top: -5px !important; right: -4px !important; display: grid !important; min-width: 17px !important; height: 17px !important; place-items: center; border-radius: 50% !important; background: #5e2ee6 !important; color: #fff !important; font-size: 10px !important; line-height: 1; font-weight: 700; }
  body.page-index #header #rwd_menu #_mobile_cart .cart-products-count span { display: none; }
  body.page-index #header #rwd_menu #search-icon,
  body.page-index #header #rwd_menu #user-icon { display: none; }
  body.page-index #header #mobile_top_menu_wrapper2 { background: #fff !important; border: 1px solid #e1e6e7 !important; border-radius: 14px; box-shadow: 0 12px 28px #14212218; }
  body.page-index #header #mobile_top_menu_wrapper2 .top-menu,
  body.page-index #header #mobile_top_menu_wrapper2 .top-menu li,
  body.page-index #header #mobile_top_menu_wrapper2 .top-menu li a { background: #fff !important; color: #142122 !important; }
  body.page-index #header #mobile_top_menu_wrapper2 .top-menu li a:hover,
  body.page-index #header #mobile_top_menu_wrapper2 .top-menu li a:focus { background: #e5f8f8 !important; color: #00acb2 !important; }
  body.page-index #header .header-top { height: 76px !important; min-height: 76px !important; padding: 0 !important; overflow: visible; }
  body.page-index #header .header-top > .container { position: relative; height: 76px !important; min-height: 76px !important; padding: 0; }
  body.page-index #header .header-top > .container > .row { position: relative; display: block; height: 76px !important; min-height: 76px !important; margin: 0; }
  /* The second legacy header container only holds hidden mobile widgets on
     the homepage. Its empty hit-area was covering the custom home search. */
  body.page-index #header .header-top > .container:last-of-type { display: none !important; }
  body.page-index #header #_desktop_logo { position: absolute !important; z-index: 11; top: 20px; left: 18px; width: 112px !important; max-width: 112px !important; margin: 0 !important; padding: 0 !important; }
  body.page-index #header #_desktop_logo h1 { margin: 0; line-height: 1; }
  body.page-index #header #_desktop_logo .logo { display: block !important; width: auto !important; max-width: 106px !important; max-height: 36px !important; margin: 0 !important; }
  body.page-index #header .header-top > .container > .row > [id^="_desktop_"]:not(#_desktop_logo) { display: none; }
  body.page-index #header #rwd_menu { min-height: 0; }
  body.page-index #header #rwd_menu .container { min-height: 44px; padding: 3px 10px; }
  body.page-index #header #rwd_menu .rwd_menu_item { min-height: 38px; height: 38px; }
  body.page-index #header #rwd_menu .material-icons { line-height: 38px; }
  body.page-index #content.page-home > :not(.euray-mobile-home) { display: none !important; }
  body.page-index #content.page-home { margin-top: 0 !important; padding: 0 20px 32px; }
  .euray-mobile-home { display: block; margin-top: 0; color: #142122; }
  .euray-mobile-home__intro { padding-top: 30px; }
  .euray-mobile-home__intro h1 { margin: 0; color: #142122; font-size: 34px; line-height: 1.14; letter-spacing: -1.3px; font-weight: 760; }
  .euray-mobile-home__intro p { margin: 14px 0 0; color: #5e6c70; font-size: 16px; line-height: 1.55; }
  .euray-mobile-home__search { position: relative; z-index: 1200; display: flex; align-items: center; gap: 9px; min-height: 48px; margin: 8px 0 0; padding: 0 4px 0 14px; border: 1px solid #d7dfe1; border-radius: 14px; pointer-events: auto; }
  .euray-mobile-home__search .material-icons { color: #00acb2; font-size: 20px; }
  .euray-mobile-home__search input { min-width: 0; width: 100%; border: 0 !important; outline: 0 !important; box-shadow: none !important; -webkit-appearance: none; appearance: none; color: #142122; background: transparent; font-size: 16px; }
  .euray-mobile-home__search button { display: grid; width: 42px; height: 42px; place-items: center; border: 0; background: transparent; color: #5e2ee6; }
  .euray-mobile-home__search-results { position: absolute; z-index: 101; top: calc(100% + 7px); right: 0; left: 0; overflow: hidden; border: 1px solid #dfe6e7; border-radius: 14px; background: #fff; box-shadow: 0 12px 26px #1421221c; }
  .euray-mobile-home__search-results a, .euray-mobile-home__search-results p { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 14px; border-bottom: 1px solid #edf0f1; color: #142122; font-size: 13px; line-height: 1.25; }
  .euray-mobile-home__search-results a:last-child { border-bottom: 0; }
  .euray-mobile-home__search-results a:hover, .euray-mobile-home__search-results a:focus { background: #e5f8f8; color: #00acb2; }
  .euray-mobile-home__search-results small { flex: 0 0 auto; color: #00acb2; font-size: 12px; font-weight: 700; }
  .euray-mobile-home__search-results p { color: #5e6c70; }
  .euray-mobile-home__hero { position: relative; overflow: hidden; margin: 22px 0 18px; padding: 24px 20px 20px; border-radius: 20px; background: linear-gradient(135deg,#e5f8f8,#dff5f6); }
  .euray-mobile-home__hero::after { content: ""; position: absolute; top: -58px; right: -42px; width: 150px; height: 150px; border: 18px solid #00acb21a; border-radius: 50%; pointer-events: none; }
  .euray-mobile-home__hero h2, .euray-mobile-home__hero p, .euray-mobile-home__primary { position: relative; z-index: 1; }
  .euray-mobile-home__hero h2 { max-width: 250px; margin: 0; color: #006f74; font-size: 22px; line-height: 1.3; }
  .euray-mobile-home__hero p { max-width: 285px; margin: 10px 0 18px; color: #4b686c; font-size: 14px; line-height: 1.55; }
  .euray-mobile-home__primary { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 18px; border-radius: 12px; background: #5e2ee6; color: #fff !important; font-size: 15px; font-weight: 650; text-align: center; }
  .euray-mobile-home__section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
  .euray-mobile-home__section-head h2 { margin: 0; font-size: 19px; }
  .euray-mobile-home__section-head a { color: #5e2ee6; font-size: 12px; font-weight: 650; }
  .euray-mobile-home__quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .euray-mobile-home__quick-grid a { display: flex; min-height: 94px; align-items: center; flex-direction: column; justify-content: center; gap: 9px; padding: 14px 8px; border: 1px solid #e1e6e7; border-radius: 14px; background: #fff; color: #142122; text-align: center; text-decoration: none !important; -webkit-tap-highlight-color: transparent; }
  .euray-mobile-home__quick-grid a:active, .euray-mobile-home__quick-grid a:focus, .euray-mobile-home__quick-grid a:hover { color: #142122; text-decoration: none !important; }
  .euray-mobile-home__quick-grid .material-icons { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #e5f8f8; color: #00acb2; font-size: 18px; }
  .euray-mobile-home__quick-grid strong { font-size: 12px; }
  @media (min-width: 600px) { .euray-mobile-home__quick-grid a { min-height: 68px; flex-direction: row; justify-content: flex-start; padding: 12px 16px; text-align: left; } }
  .euray-mobile-home__packs { display: grid; gap: 10px; }
  .euray-mobile-home__packs a { display: flex; align-items: center; gap: 17px; padding: 15px 14px; border: 1px solid #e1e6e7; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px #14212208; color: #142122; }
  .euray-mobile-home__packs .pack-number { color: #a590f4; font-size: 22px; font-weight: 700; letter-spacing: -1px; }
  .euray-mobile-home__packs a > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
  .euray-mobile-home__packs strong { font-size: 16px; }
  .euray-mobile-home__packs small { margin-top: 3px; color: #5e6c70; font-size: 13px; }
  .euray-mobile-home__packs .pack-arrow { margin-left: auto; color: #5e2ee6; font-size: 26px; }
  .euray-mobile-home__help { display: flex; align-items: flex-start; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #e1e6e7; }
  .euray-mobile-home__help > .material-icons { display: grid; width: 47px; height: 47px; flex: 0 0 47px; place-items: center; border-radius: 50%; background: #e5f8f8; color: #00acb2; }
  .euray-mobile-home__help strong { font-size: 14px; }
  .euray-mobile-home__help p { margin: 3px 0; color: #5e6c70; font-size: 13px; }
  .euray-mobile-home__help a { color: #5e2ee6; font-size: 13px; font-weight: 650; }
  body.page-index { background: #fff; padding-bottom: 76px; }
  body.page-index #header .header-nav,
  body.page-index #header .header-banner,
  body.page-index #header .header-top > .container > .row { background: #fff; }
  body.page-index #header .header-top { border-bottom: 1px solid #e1e6e7; }
  body.page-index #header .logo { max-width: 148px; height: auto; }
  body.page-index #rwd_menu { border-top: 0; border-bottom: 1px solid #e1e6e7; background: #fff; }
  body.page-index #rwd_menu .container { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 12px; }
  body.page-index #rwd_menu .rwd_menu_item { min-height: 44px; border: 0; border-radius: 10px; color: #142122; }
  body.page-index #rwd_menu .rwd_menu_item:hover,
  body.page-index #rwd_menu .rwd_menu_item:focus { background: #e5f8f8; color: #5e2ee6; }
  body.page-index #rwd_menu .material-icons { font-size: 22px; }
  body.page-index #mobile_top_menu_wrapper2,
  body.page-index #mobile_search_wrapper,
  body.page-index #mobile_user_wrapper { margin: 0 16px; border-radius: 12px; }
  body.page-index #content { padding: 20px 16px 32px; }
  body.page-index #slider_row { margin: 0 -16px 18px; }
  body.page-index #home_categories { margin: 0; }
  body.page-index #home_categories .homecat-heading { display: block; margin: 0 0 18px; }
  body.page-index #home_categories .homecat-eyebrow { color: #00acb2; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; }
  body.page-index #home_categories .homecat-heading h2 { color: #142122; font-size: 28px; line-height: 1.16; letter-spacing: -.8px; margin: 0; }
  body.page-index #home_categories .homecat-intro { color: #5e6c70; font-size: 15px; line-height: 1.55; margin: 12px 0 0; }
  body.page-index #home_categories .homecat-pack-grid { display: grid; gap: 14px; }
  body.page-index #home_categories .homecat-pack-card { overflow: hidden; border: 1px solid #e1e6e7; border-radius: 16px; background: #fff; box-shadow: 0 4px 18px #1421220d; }
  body.page-index #home_categories .homecat-visual { display: block; position: relative; background: #e5f8f8; }
  body.page-index #home_categories .homecat-visual img { display: block; width: 100%; max-height: 180px; object-fit: cover; }
  body.page-index #home_categories .homecat-card-content { padding: 16px; }
  body.page-index #home_categories .homecat-name { font-size: 19px; line-height: 1.3; margin: 0; }
  body.page-index #home_categories .homecat-name a { color: #142122; }
  body.page-index #home_categories .homecat-copy { color: #5e6c70; font-size: 13px; line-height: 1.55; margin: 8px 0; }
  body.page-index #home_categories .homecat-meta { color: #00acb2; font-size: 12px; font-weight: 700; margin: 0 0 10px; }
  body.page-index #home_categories .homecat-tags { display: grid; gap: 5px; margin: 0 0 14px; padding: 0; list-style: none; }
  body.page-index #home_categories .homecat-tags li { border-bottom: 1px solid #e1e6e7; padding: 8px 0; }
  body.page-index #home_categories .homecat-product-details { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  body.page-index #home_categories .homecat-product-name { color: #142122; font-size: 13px; font-weight: 600; }
  body.page-index #home_categories .homecat-product-price { color: #5e6c70; font-size: 12px; white-space: nowrap; }
  body.page-index #home_categories .homecat-cta { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-radius: 11px; background: #5e2ee6; color: #fff; padding: 11px 14px; font-size: 14px; font-weight: 700; }
  body.page-index #home_categories .homecat-period-note { color: #5e6c70; font-size: 11px; line-height: 1.45; margin: 10px 0 0; }
  body.page-index .tabs { margin-top: 24px; }
  body.page-index .tabs .nav-tabs { display: flex; overflow-x: auto; gap: 8px; border-bottom: 0; }
  body.page-index .tabs .nav-tabs > li > a { border: 1px solid #e1e6e7; border-radius: 10px; color: #5e6c70; font-size: 13px; padding: 10px 12px; white-space: nowrap; }
  body.page-index .tabs .nav-tabs > li.active > a { border-color: #00acb2; background: #e5f8f8; color: #007a80; }
  body.page-index .tabs .tab-content { margin-top: 14px; }
  body.page-index #mobile-app-bottom-nav, body.page-category #mobile-app-bottom-nav { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 8px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid #e1e6e7; background: #ffffffef; box-shadow: 0 -4px 16px #1421220d; backdrop-filter: blur(12px); }
  body.page-index #mobile-app-bottom-nav a, body.page-category #mobile-app-bottom-nav a { display: flex; min-height: 50px; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: #5e6c70; font-size: 11px; font-weight: 600; text-align: center; }
  body.page-index #mobile-app-bottom-nav a:first-child, body.page-category #mobile-app-bottom-nav a:nth-child(2) { color: #5e2ee6; }
  body.page-index #mobile-app-bottom-nav .material-icons, body.page-category #mobile-app-bottom-nav .material-icons { font-size: 22px; }

  /* Mobile category listing: same compact app shell as the homepage mockup. */
  body.page-category { background: #fff; padding-bottom: 76px; }
  body.page-category #header .header-nav,
  body.page-category #header .header-banner,
  body.page-category #header #mobile_search_wrapper,
  body.page-category #header #mobile_user_wrapper { display: none !important; }
  body.page-category #header .header-top { position: relative; height: 76px !important; min-height: 76px !important; padding: 0 !important; overflow: visible; border-bottom: 1px solid #e1e6e7; background: #fff; }
  body.page-category #header .header-top > .container,
  body.page-category #header .header-top > .container > .row { position: relative; height: 76px !important; min-height: 76px !important; margin: 0; padding: 0; }
  body.page-category #header #_desktop_logo { position: absolute !important; z-index: 11; top: 20px; left: 18px; width: 112px !important; max-width: 112px !important; margin: 0 !important; padding: 0 !important; }
  body.page-category #header #_desktop_logo .logo { display: block !important; width: auto !important; max-width: 106px !important; max-height: 36px !important; margin: 0 !important; }
  body.page-category #header .header-top > .container > .row > [id^="_desktop_"]:not(#_desktop_logo) { display: none; }
  body.page-category #header #rwd_menu { position: absolute; z-index: 10; top: 0; right: 0; left: 0; display: block !important; width: auto; min-height: 0; border: 0; background: transparent; pointer-events: none; }
  body.page-category #header #rwd_menu .container { position: relative; display: block; min-height: 44px; padding: 3px 10px; }
  body.page-category #header #rwd_menu .rwd_menu_item { min-height: 38px; height: 38px; border: 0 !important; pointer-events: auto; }
  body.page-category #header #rwd_menu #menu-icon2 { position: absolute !important; top: 20px !important; right: 14px !important; left: auto !important; display: grid !important; width: 36px !important; height: 36px !important; transform: none !important; place-items: center; border-radius: 0 !important; background: transparent !important; color: #142122 !important; }
  body.page-category #header #rwd_menu #menu-icon2 .material-icons { font-size: 26px; line-height: 36px; }
  body.page-category #header #rwd_menu #_mobile_cart { position: absolute !important; top: 20px !important; right: 62px !important; display: grid !important; width: 36px !important; height: 36px !important; place-items: center; border-radius: 0 !important; background: transparent !important; color: #142122 !important; }
  body.page-category #header #rwd_menu #_mobile_cart .blockcart, body.page-category #header #rwd_menu #_mobile_cart .cart_link { width: 100%; height: 100%; }
  body.page-category #header #rwd_menu #_mobile_cart .cart_link { display: grid; place-items: center; color: #142122; }
  body.page-category #header #rwd_menu #_mobile_cart .shopping-cart { display: block; color: #142122; font-size: 24px; }
  body.page-category #header #rwd_menu #_mobile_cart .cart-products-count { position: absolute !important; top: -5px !important; right: -4px !important; display: grid !important; min-width: 17px !important; height: 17px !important; place-items: center; border-radius: 50% !important; background: #5e2ee6 !important; color: #fff !important; font-size: 10px !important; line-height: 1; font-weight: 700; }
  body.page-category #header #rwd_menu #_mobile_cart .cart-products-count span { display: none; }
  body.page-category #header #rwd_menu #search-icon, body.page-category #header #rwd_menu #user-icon { display: none; }
  body.page-category #header #mobile_top_menu_wrapper2 { background: #fff !important; border: 1px solid #e1e6e7 !important; border-radius: 14px; box-shadow: 0 12px 28px #14212218; }
  body.page-category #header #mobile_top_menu_wrapper2 .top-menu,
  body.page-category #header #mobile_top_menu_wrapper2 .top-menu li,
  body.page-category #header #mobile_top_menu_wrapper2 .top-menu li a { background: #fff !important; color: #142122 !important; }
  body.page-category #wrapper { padding-top: 0 !important; }
  body.page-category #wrapper > .container { width: 100%; padding: 0 20px 28px; }
  body.page-category #wrapper > .container > .row { margin-right: 0; margin-left: 0; }
  body.page-category #left-column { display: none !important; }
  body.page-category #content-wrapper { width: 100%; padding: 0; }
  body.page-category #main { padding: 0; }
  body.page-category .breadcrumb, body.page-category #category_desc, body.page-category #subcategories { display: none !important; }
  body.page-category #js-product-list-header { margin: 0; }
  body.page-category .mobile_cat_name { display: block !important; margin: 28px 0 18px; text-align: left !important; }
  body.page-category .mobile_cat_name .h1 { margin: 0; color: #142122; font-size: 30px; line-height: 1.15; letter-spacing: -0.8px; font-weight: 760; text-transform: none; }
  body.page-category #products { margin-top: 0; }
  body.page-category #js-product-list-top { display: flex; flex-direction: column; margin: 0 0 14px; }
  body.page-category #js-product-list-top .products-sort-order { width: 100%; padding: 0; }
  body.page-category #js-product-list-top .select-title { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; border: 1px solid #d7dfe1; border-radius: 12px; background: #fff; color: #142122; font-size: 14px; }
  body.page-category #js-product-list-top .showing { order: 3; padding: 12px 0 0; color: #5e6c70; font-size: 12px; }
  body.page-category .grid_switcher { display: none !important; }
  body.page-category #js-product-list .products { display: grid; gap: 12px; margin: 0; }
  body.page-category #js-product-list .product-miniature { width: 100%; margin: 0; padding: 0; }
  body.page-category #js-product-list .thumbnail-container { position: relative; display: block; box-sizing: border-box; min-height: 94px; padding: 12px 112px 12px 12px; border: 1px solid #e1e6e7; border-radius: 15px; background: #fff; box-shadow: 0 3px 12px #1421220a; cursor: pointer; }
  body.page-category #js-product-list .product-left { display: none !important; }
  body.page-category #js-product-list .quick-view, body.page-category #js-product-list .product-desc, body.page-category #js-product-list .pl_reference, body.page-category #js-product-list .pl_manufacturer, body.page-category #js-product-list .qty_container, body.page-category #js-product-list .add-to-cart { display: none !important; }
  body.page-category #js-product-list .product-right { position: static !important; display: block !important; width: 100% !important; min-width: 0; min-height: 0; padding: 0; border-left: 0 !important; }
  body.page-category #js-product-list .product-description { min-width: 0; }
  body.page-category #js-product-list .product-title { display: -webkit-box; overflow: hidden; margin: 0 0 4px; padding-right: 4px; color: #142122; font-size: 14px; line-height: 1.2; text-align: left !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  body.page-category #js-product-list .product-title a { color: #142122; }
  body.page-category #js-product-list .product-bottom { position: absolute !important; right: 12px !important; bottom: 12px !important; left: 12px !important; display: flex !important; width: auto !important; align-items: center; justify-content: space-between; margin: 0; border: 0 !important; }
  body.page-category #js-product-list .product-price-and-shipping,
  body.page-category #js-product-list .pl_price_default { float: none !important; margin: 0; text-align: left !important; }
  body.page-category #js-product-list .price { color: #00acb2; font-size: 15px; font-weight: 750; }
  body.page-category #js-product-list .button-container { position: static !important; display: block !important; width: auto !important; margin: 0 !important; }
  body.page-category #js-product-list .button-container form { display: block !important; width: auto !important; margin: 0 !important; }
  body.page-category #js-product-list .button-container .lnk_view { display: inline-flex !important; min-height: 28px; align-items: center; padding: 5px 9px; border: 0; border-radius: 8px; background: #5e2ee6; color: #fff; font-size: 0; font-weight: 700; white-space: nowrap; }
  body.page-category #js-product-list .button-container .lnk_view::before { content: "Voir l’offre →"; font-size: 11px; }

  /* Pack filter shared by the Offers overview and each individual pack. */
  body.category-id-4 .mobile_cat_name .h1 { font-size: 0; }
  body.category-id-4 .mobile_cat_name .h1::after { content: "Choisissez votre pack"; font-size: 30px; }
  body.page-category #subcategories { display: none !important; }
  body.page-category .euray-mobile-pack-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; }
  body.page-category .euray-mobile-pack-filter a { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 7px 5px; border: 1px solid #e1e6e7; border-radius: 12px; background: #fff; color: #142122; font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; }
  body.page-category .euray-mobile-pack-filter a.is-active { border-color: #00acb2; background: #e5f8f8; color: #00acb2; box-shadow: inset 0 0 0 1px #00acb21a; }

  /* Shared mobile shell: every storefront page uses the mockup header and search. */
  body:not(#checkout) { padding-bottom: 76px; }
  body:not(#checkout) #header .header-nav,
  body:not(#checkout) #header .header-banner,
  body:not(#checkout) #header #mobile_search_wrapper,
  body:not(#checkout) #header #mobile_user_wrapper { display: none !important; }
  body:not(#checkout) #header .header-top { position: relative; height: 76px !important; min-height: 76px !important; padding: 0 !important; overflow: visible; border-bottom: 1px solid #e1e6e7; background: #fff; }
  body:not(#checkout) #header .header-top > .container,
  body:not(#checkout) #header .header-top > .container > .row { position: relative; display: block; height: 76px !important; min-height: 76px !important; margin: 0; padding: 0; }
  body:not(#checkout) #header #_desktop_logo { position: absolute !important; z-index: 11; top: 20px; left: 18px; width: 112px !important; max-width: 112px !important; margin: 0 !important; padding: 0 !important; }
  body:not(#checkout) #header #_desktop_logo h1 { margin: 0; line-height: 1; }
  body:not(#checkout) #header #_desktop_logo .logo { display: block !important; width: auto !important; max-width: 106px !important; max-height: 36px !important; margin: 0 !important; }
  body:not(#checkout) #header .header-top > .container > .row > [id^="_desktop_"]:not(#_desktop_logo) { display: none !important; }
  body:not(#checkout) #header #rwd_menu { position: absolute; z-index: 10; top: 0; right: 0; left: 0; display: block !important; width: auto; min-height: 0; border: 0; background: transparent; pointer-events: none; }
  body:not(#checkout) #header #rwd_menu { height: 68px; overflow: hidden; }
  body:not(#checkout) #header #rwd_menu .container { position: relative; display: block; min-height: 44px; padding: 3px 10px; }
  body:not(#checkout) #header #rwd_menu .rwd_menu_item { min-height: 38px; height: 38px; border: 0 !important; pointer-events: auto; }
  body:not(#checkout) #header #rwd_menu #menu-icon2 { position: absolute !important; top: 20px !important; right: 14px !important; left: auto !important; display: grid !important; width: 36px !important; height: 36px !important; transform: none !important; place-items: center; border-radius: 0 !important; background: transparent !important; color: #142122 !important; }
  body:not(#checkout) #header #rwd_menu #menu-icon2 .material-icons { font-size: 26px; line-height: 36px; }
  body:not(#checkout) #header #rwd_menu #_mobile_cart { position: absolute !important; top: 20px !important; right: 62px !important; display: grid !important; width: 36px !important; height: 36px !important; place-items: center; border-radius: 0 !important; background: transparent !important; color: #142122 !important; }
  body:not(#checkout) #header #rwd_menu #_mobile_cart .blockcart, body:not(#checkout) #header #rwd_menu #_mobile_cart .cart_link { width: 100%; height: 100%; }
  body:not(#checkout) #header #rwd_menu #_mobile_cart .cart_link { display: grid; place-items: center; color: #142122; }
  body:not(#checkout) #header #rwd_menu #_mobile_cart .shopping-cart { display: block; color: #142122; font-size: 24px; }
  body:not(#checkout) #header #rwd_menu #_mobile_cart .cart-products-count { position: absolute !important; top: -5px !important; right: -4px !important; display: grid !important; min-width: 17px !important; height: 17px !important; place-items: center; border-radius: 50% !important; background: #5e2ee6 !important; color: #fff !important; font-size: 10px !important; line-height: 1; font-weight: 700; }
  body:not(#checkout) #header #rwd_menu #_mobile_cart .cart-products-count span,
  body:not(#checkout) #header #rwd_menu #search-icon,
  body:not(#checkout) #header #rwd_menu #user-icon { display: none; }
  body:not(#checkout) #header #mobile_top_menu_wrapper2 { margin: 0 16px; border: 1px solid #e1e6e7 !important; border-radius: 14px; background: #fff !important; box-shadow: 0 12px 28px #14212218; }
  body:not(#checkout) .euray-mobile-global-search { position: relative; display: flex; align-items: center; gap: 9px; min-height: 48px; margin: 8px 20px 12px; padding: 0 4px 0 14px; border: 1px solid #d7dfe1; border-radius: 14px; background: #fff; }
  body:not(#checkout) .euray-mobile-search .material-icons { color: #00acb2; font-size: 20px; }
  body:not(#checkout) .euray-mobile-search input { min-width: 0; width: 100%; border: 0 !important; outline: 0 !important; box-shadow: none !important; -webkit-appearance: none; appearance: none; color: #142122; background: transparent; font-size: 16px; }
  body:not(#checkout) .euray-mobile-search button { display: grid; width: 42px; height: 42px; place-items: center; border: 0; background: transparent; color: #5e2ee6; }
  body:not(#checkout) .euray-mobile-search-results { position: absolute; z-index: 101; top: calc(100% + 7px); right: 0; left: 0; overflow: hidden; border: 1px solid #dfe6e7; border-radius: 14px; background: #fff; box-shadow: 0 12px 26px #1421221c; }
  body:not(#checkout) .euray-mobile-search-results a, body:not(#checkout) .euray-mobile-search-results p { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 14px; border-bottom: 1px solid #edf0f1; color: #142122; font-size: 13px; line-height: 1.25; }
  body:not(#checkout) .euray-mobile-search-results a:last-child { border-bottom: 0; }
  body:not(#checkout) .euray-mobile-search-results small { flex: 0 0 auto; color: #00acb2; font-size: 12px; font-weight: 700; }
  body:not(#checkout) #mobile-app-bottom-nav { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 8px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid #e1e6e7; background: #ffffffef; box-shadow: 0 -4px 16px #1421220d; backdrop-filter: blur(12px); }
  body:not(#checkout) #mobile-app-bottom-nav a { display: flex; min-height: 50px; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: #5e6c70; font-size: 11px; font-weight: 600; text-align: center; }
  body:not(#checkout) #mobile-app-bottom-nav a.is-active { color: #5e2ee6; }
  body:not(#checkout) #mobile-app-bottom-nav .material-icons { font-size: 22px; }

  /* App-first polish: a compact, touch-friendly rhythm across the storefront. */
  body:not(#checkout) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body:not(#checkout) #header .header-top,
  body:not(#checkout) #header .header-top > .container,
  body:not(#checkout) #header .header-top > .container > .row { height: 68px !important; min-height: 68px !important; }
  body:not(#checkout) #header #_desktop_logo { top: 16px; left: 16px; }
  body:not(#checkout) #header #rwd_menu #menu-icon2 { top: 16px !important; right: 10px !important; width: 40px !important; height: 40px !important; }
  body:not(#checkout) #header #rwd_menu #_mobile_cart { top: 16px !important; right: 54px !important; width: 40px !important; height: 40px !important; }
  body:not(#checkout) .euray-mobile-global-search { min-height: 46px; margin: 7px 16px 10px; border-radius: 12px; }
  body.page-index #content.page-home { padding: 0 16px 24px; }
  .euray-mobile-home__intro { padding-top: 22px; }
  .euray-mobile-home__intro h1 { font-size: 32px; }
  .euray-mobile-home__intro p { margin-top: 10px; line-height: 1.45; }
  .euray-mobile-home__hero { margin: 16px 0; padding: 20px 18px 18px; border-radius: 18px; }
  .euray-mobile-home__hero p { margin: 8px 0 14px; }
  .euray-mobile-home__primary { min-height: 48px; border-radius: 11px; }
  .euray-mobile-home__section-head { margin: 20px 0 10px; }
  .euray-mobile-home__quick-grid { gap: 8px; }
  .euray-mobile-home__quick-grid a { min-height: 84px; gap: 7px; border-radius: 12px; }
  .euray-mobile-home__packs { gap: 8px; }
  .euray-mobile-home__packs a { gap: 13px; padding: 12px; border-radius: 13px; box-shadow: 0 1px 5px #1421220a; text-decoration: none !important; }
  .euray-mobile-home__packs .pack-number { font-size: 20px; }
  .euray-mobile-home__packs strong { font-size: 15px; }
  .euray-mobile-home__help { margin-top: 18px; padding-top: 16px; }
  body.page-category #wrapper > .container { padding: 0 16px 22px; }
  body.page-category .mobile_cat_name { margin: 22px 0 14px; }
  body.page-category #js-product-list .products { gap: 9px; }
  body.page-category #js-product-list .thumbnail-container { min-height: 86px; padding: 11px 108px 11px 11px; border-radius: 13px; box-shadow: 0 1px 6px #1421220a; }
  body.page-category #js-product-list .product-bottom { right: 11px !important; bottom: 11px !important; left: 11px !important; }
  body.page-category .euray-mobile-pack-filter { margin-bottom: 14px; }
  body:not(#checkout) #mobile-app-bottom-nav { padding: 5px 8px max(6px, env(safe-area-inset-bottom)); box-shadow: 0 -1px 10px #1421220d; }
  body:not(#checkout) #mobile-app-bottom-nav a { min-height: 48px; }
  body:not(#checkout) #mobile-app-bottom-nav a:active { color: #5e2ee6; transform: scale(.96); }

  /* App-first polish 2: clear selection states and calmer content surfaces. */
  body.page-category { background: #f8fbfb; }
  body.page-category #header,
  body.page-category #wrapper { background: transparent; }
  body.page-category #wrapper > .container { background: transparent; }
  body.page-category .mobile_cat_name .h1 { letter-spacing: -1px; }
  body.page-category .euray-mobile-pack-filter { gap: 7px; padding: 4px; border-radius: 14px; background: #edf7f7; }
  body.page-category .euray-mobile-pack-filter a { min-height: 42px; border-color: transparent; border-radius: 10px; background: transparent; text-decoration: none !important; }
  body.page-category .euray-mobile-pack-filter a.is-active { border-color: #00acb2; background: #fff; color: #007a80; box-shadow: 0 1px 4px #14212212; }
  body.page-category #js-product-list-top .select-title { min-height: 44px; border-radius: 11px; box-shadow: 0 1px 3px #14212208; }
  body.page-category #js-product-list .thumbnail-container { border-color: #e5ebec; background: #fff; }
  body.page-category #js-product-list .product-title a { text-decoration: none !important; }
  body.page-category #js-product-list .button-container .lnk_view { min-height: 30px; border-radius: 9px; box-shadow: 0 2px 4px #5e2ee622; text-decoration: none !important; }
  body.page-category #js-product-list .button-container .lnk_view:active { transform: scale(.97); }
  body.page-category #js-product-list .thumbnail-container:active { background: #f6fdfd; }
  body.page-category #js-product-list .thumbnail-container { -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background-color .16s ease, border-color .16s ease; }
  body.page-category #js-product-list .thumbnail-container:active { border-color: #00acb2; background: #e5f8f8 !important; }
  html body.page-category #js-product-list .product-miniature:active .thumbnail-container,
  html body.page-category #js-product-list .thumbnail-container:active { border-color: #00acb2 !important; background: #e5f8f8 !important; }
  html body.page-category #js-product-list .thumbnail-container.is-pressed { border-color: #00acb2 !important; background: #e5f8f8 !important; }
  body:not(#checkout) #mobile-app-bottom-nav { border-top-color: #e8eeee; background: #fffffff5; }
  body:not(#checkout) #mobile-app-bottom-nav a { position: relative; min-width: 0; border-radius: 12px; text-decoration: none !important; transition: color .16s ease, background-color .16s ease, transform .16s ease; }
  body:not(#checkout) #mobile-app-bottom-nav a.is-active { background: #e5f8f8; color: #007a80; }
  body:not(#checkout) #mobile-app-bottom-nav a.is-active .material-icons { color: #00acb2; }
  body:not(#checkout) #mobile-app-bottom-nav a[href*="panier"] { position: relative; }
  body:not(#checkout) #mobile-app-bottom-nav .euray-mobile-cart-count { position: absolute; top: 2px; left: calc(50% + 7px); display: grid; min-width: 16px; height: 16px; align-items: center; justify-content: center; padding: 0 3px; border-radius: 999px; background: #5e2ee6; color: #fff; font-size: 9px; line-height: 1; font-weight: 750; }
  body:not(#checkout) a:focus-visible, body:not(#checkout) button:focus-visible, body:not(#checkout) input:focus-visible { outline: 2px solid #00acb2; outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) { body:not(#checkout) #mobile-app-bottom-nav a { transition: none; } }

  /* App-first polish 3: persistent app bar and intentional touch feedback. */
  html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
  body:not(#checkout) #header { position: sticky; z-index: 1100; top: 0; background: #fff; box-shadow: 0 1px 0 #e8eeee, 0 5px 16px #14212208; }
  body:not(#checkout) #header .header-top { border-bottom: 0; }
  body:not(#checkout) #header #rwd_menu #menu-icon2,
  body:not(#checkout) #header #rwd_menu #_mobile_cart { border-radius: 12px !important; transition: background-color .16s ease, transform .16s ease; }
  body:not(#checkout) #header #rwd_menu #menu-icon2:active,
  body:not(#checkout) #header #rwd_menu #_mobile_cart:active { background: #e5f8f8 !important; transform: scale(.94) !important; }
  body:not(#checkout) #header #rwd_menu #menu-icon2 .material-icons,
  body:not(#checkout) #header #rwd_menu #_mobile_cart .shopping-cart { line-height: 40px; }
  body:not(#checkout) .euray-mobile-search { box-shadow: 0 1px 3px #14212208; transition: border-color .16s ease, box-shadow .16s ease; }
  body:not(#checkout) .euray-mobile-search:focus-within,
  .euray-mobile-home__search:focus-within { border-color: #d7dfe1; box-shadow: 0 1px 3px #14212208; }
  .euray-mobile-home__primary,
  .euray-mobile-home__quick-grid a,
  .euray-mobile-home__packs a { transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease; }
  .euray-mobile-home__primary:active,
  .euray-mobile-home__quick-grid a:active,
  .euray-mobile-home__packs a:active { transform: scale(.98); }
  .euray-mobile-home__quick-grid a:active { background: #e5f8f8; }
  .euray-mobile-home__packs a:active { box-shadow: 0 0 0 2px #00acb21a; }
  body.page-category #js-product-list .price { font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
  body.page-category #js-product-list .product-title { letter-spacing: -.15px; }
  @supports (padding: max(0px)) {
    body:not(#checkout) #mobile-app-bottom-nav { padding-bottom: max(6px, env(safe-area-inset-bottom)); }
  }

  /* Selected mobile-home direction: command first, offers second. */
  body.page-index #content.page-home { padding-top: 0; }
  .euray-mobile-home__search { margin-top: 14px; background: #fff; box-shadow: 0 1px 3px #14212208; }
  .euray-mobile-home__action { margin: 18px 0 0; padding: 22px 18px 18px; border-radius: 20px; background: linear-gradient(135deg, #e5f8f8 0%, #dff5f6 100%); }
  .euray-mobile-home__action h1 { margin: 0; color: #142122; font-size: 30px; line-height: 1.1; letter-spacing: -1px; font-weight: 760; }
  .euray-mobile-home__action p { max-width: 290px; margin: 9px 0 18px; color: #4b686c; font-size: 15px; line-height: 1.42; }
  .euray-mobile-home__action-primary,
  .euray-mobile-home__action-secondary { display: flex; min-height: 54px; align-items: center; gap: 13px; padding: 0 16px; border-radius: 13px; text-decoration: none !important; transition: transform .16s ease, box-shadow .16s ease; }
  .euray-mobile-home__action-primary { background: #5e2ee6; box-shadow: 0 4px 10px #5e2ee633; color: #fff !important; }
  .euray-mobile-home__action-secondary { margin-top: 10px; border: 1px solid #d7dfe1; background: #fff; color: #142122 !important; }
  .euray-mobile-home__action-primary .material-icons,
  .euray-mobile-home__action-secondary .material-icons { font-size: 24px; }
  .euray-mobile-home__action-primary strong,
  .euray-mobile-home__action-secondary strong { flex: 1; font-size: 16px; }
  .euray-mobile-home__action-primary > span:last-child,
  .euray-mobile-home__action-secondary > span:last-child { margin-left: auto; font-size: 23px; }
  .euray-mobile-home__action-primary:active,
  .euray-mobile-home__action-secondary:active { transform: scale(.98); }
  .euray-mobile-home__offers .euray-mobile-home__section-head { margin-top: 24px; }
  .euray-mobile-home__offer-list { overflow: hidden; border: 1px solid #e1e6e7; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px #1421220a; }
  .euray-mobile-home__offer-list a { display: flex; min-height: 70px; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #e8eeee; color: #142122; text-decoration: none !important; transition: background-color .16s ease; }
  .euray-mobile-home__offer-list a:last-child { border-bottom: 0; }
  .euray-mobile-home__offer-list a:active { background: #e5f8f8; }
  .euray-mobile-home__offer-list a > span { display: flex; min-width: 0; flex: 1; flex-direction: column; }
  .euray-mobile-home__offer-list strong { font-size: 15px; line-height: 1.2; }
  .euray-mobile-home__offer-list small { margin-top: 4px; color: #5e6c70; font-size: 13px; line-height: 1.25; }
  .euray-mobile-home__offer-list b { flex: 0 0 auto; padding: 7px 9px; border-radius: 999px; background: #e5f8f8; color: #007a80; font-size: 12px; line-height: 1; white-space: nowrap; }
  .euray-mobile-home__offer-list b.is-sale { background: #f1edff; color: #5e2ee6; }
  .euray-mobile-home__offer-list del { display: block; margin-top: 3px; color: #748185; font-size: 10px; font-weight: 500; text-align: right; }
  .euray-mobile-home__offer-list .material-icons { color: #5e2ee6; font-size: 22px; }

  /* Offer cards: actual product features, then a price-to-action column. */
  body.page-category #js-product-list .thumbnail-container { min-height: 108px; padding: 11px 112px 11px 12px; }
  body.page-category #js-product-list .product-title { width: calc(100% - 108px); min-height: 20px; margin-bottom: 0; color: #142122; font-size: 17px !important; line-height: 1.18; font-weight: 700; letter-spacing: -.3px; text-transform: none !important; text-wrap: balance; }
  body.page-category #js-product-list .euray-mobile-product-features { position: absolute; right: auto; bottom: 11px; left: 12px; display: flex; width: calc(100% - 132px); flex-wrap: wrap; gap: 3px; max-width: none; }
  body.page-category #js-product-list .euray-mobile-product-features span { display: inline-flex; width: 28px; min-width: 28px; height: 20px; min-height: 20px; align-items: center; justify-content: center; overflow: hidden; padding: 0 2px; border-radius: 5px; background: #e5f8f8; color: #007a80; }
  body.page-category #js-product-list .euray-mobile-product-features span:last-child { width: auto; min-width: 42px; }
  body.page-category #js-product-list .euray-mobile-product-features small { display: none; }
  body.page-category #js-product-list .euray-mobile-product-features strong { overflow: hidden; color: #007a80; font-size: 9px; line-height: 1; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  body.page-category #js-product-list .product-bottom { top: 10px !important; right: 10px !important; bottom: 10px !important; left: auto !important; width: 94px !important; flex-direction: column; align-items: stretch; justify-content: center; gap: 5px; }
  body.page-category #js-product-list .product-price-and-shipping,
  body.page-category #js-product-list .pl_price_default { width: 100%; text-align: center !important; }
  body.page-category #js-product-list .price { display: block; font-size: 16px; }
  body.page-category #js-product-list .regular-price { display: block; margin-top: 2px; font-size: 10px; }
  body.page-category #js-product-list .button-container,
  body.page-category #js-product-list .button-container form { width: 100% !important; }
  body.page-category #js-product-list .button-container .lnk_view { display: flex !important; min-height: 31px; justify-content: center; padding: 4px 5px; border-radius: 8px; }
  body.page-category #js-product-list .button-container .lnk_view::before { content: "J’en profite →"; font-size: 9px; }
}

@media (max-width: 767px) {
  body#checkout #header #mobile-app-bottom-nav { position: fixed !important; z-index: 1200 !important; right: 0; bottom: 0; left: 0; display: flex !important; height: 64px; align-items: stretch; justify-content: space-around; border-top: 1px solid #e1e6e7; background: #fff; box-shadow: 0 -5px 16px #14212210; }
  body#checkout #header #mobile-app-bottom-nav a { display: flex !important; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #5e6c70; font-size: 11px; font-weight: 650; text-decoration: none; }
  body#checkout #header #mobile-app-bottom-nav a .material-icons { color: #5e6c70; font-size: 22px; }
  body#checkout #header #mobile-app-bottom-nav a:nth-child(3) { color: #007a80; background: #e5f8f8; }
  body#checkout #header #mobile-app-bottom-nav a:nth-child(3) .material-icons { color: #00acb2; }
}

/* Final ETS overrides: client-ui and the module load later with equal specificity. */
@media (max-width: 767px) {
  body#checkout #wrapper { background: #f8fbfb !important; }
  body#checkout #ets_onepagecheckout .block-onepagecheckout { border: 1px solid #dbe7e8 !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 2px 8px #1421220a !important; }
  body#checkout #ets_onepagecheckout .title-heading { min-height: 52px !important; padding: 12px 14px !important; border-bottom: 1px solid #edf2f2 !important; background: #fff !important; color: #142122 !important; font-size: 15px !important; }
  body#checkout #ets_onepagecheckout .title-heading .ets_icon_svg { width: 28px !important; height: 28px !important; border-radius: 9px !important; background: #e5f8f8 !important; color: #007a80 !important; }
  body#checkout #ets_onepagecheckout .block-content { padding: 12px 14px 14px !important; }
  body#checkout #ets_onepagecheckout .form-control,
  body#checkout #ets_onepagecheckout select,
  body#checkout #ets_onepagecheckout textarea { min-height: 46px !important; border: 1px solid #d7e1e2 !important; border-radius: 10px !important; box-shadow: none !important; color: #142122 !important; }
  body#checkout #ets_onepagecheckout .cart-detailed-totals,
  body#checkout #ets_onepagecheckout .cart-summary-totals { margin: 12px 14px 14px !important; padding: 14px !important; border: 1px solid #dbe7e8 !important; border-radius: 14px !important; background: #f8fbfb !important; }
  body#checkout #ets_onepagecheckout .cart-summary-line.cart-total .value { color: #5e2ee6 !important; font-size: 23px !important; }
  body#checkout #ets_onepagecheckout .checkout .btn-primary,
  body#checkout #ets_onepagecheckout #payment-confirmation button { width: 100% !important; min-height: 52px !important; border: 1px solid #5e2ee6 !important; border-radius: 12px !important; background: #5e2ee6 !important; color: #fff !important; }
  body#checkout #ets_onepagecheckout .checkout .btn-primary:hover,
  body#checkout #ets_onepagecheckout .checkout .btn-primary:focus,
  body#checkout #ets_onepagecheckout #payment-confirmation button:hover,
  body#checkout #ets_onepagecheckout #payment-confirmation button:focus { border-color: #00acb2 !important; background: #00acb2 !important; }
}

/* ETS checkout uses the /checkout route and body#checkout. */
@media (max-width: 767px) {
  body#checkout { padding-bottom: 24px; background: #f8fbfb; }
  body#checkout #header { position: sticky; z-index: 1100; top: 0; background: #fff; box-shadow: 0 1px 0 #e8eeee, 0 5px 16px #14212208; }
  body#checkout #header .header-nav,
  body#checkout #header .header-banner,
  body#checkout #header #mobile_search_wrapper,
  body#checkout #header #mobile_user_wrapper { display: none !important; }
  body#checkout #header .header-top,
  body#checkout #header .header-top > .container,
  body#checkout #header .header-top > .container > .row { height: 68px !important; min-height: 68px !important; margin: 0; padding: 0 !important; }
  body#checkout #header #_desktop_logo { position: absolute !important; z-index: 11; top: 16px; left: 16px; width: 112px !important; margin: 0 !important; padding: 0 !important; }
  body#checkout #header #_desktop_logo .logo { display: block !important; width: auto !important; max-width: 106px !important; max-height: 36px !important; }
  body#checkout #header #rwd_menu { position: absolute !important; z-index: 10; top: 0; right: 0; left: 0; display: block !important; height: 68px; border: 0; background: transparent; pointer-events: none; }
  body#checkout #header #rwd_menu .container { position: relative; min-height: 44px; padding: 3px 10px; }
  body#checkout #header #rwd_menu .rwd_menu_item { pointer-events: auto; }
  body#checkout #header #rwd_menu #menu-icon2 { position: absolute !important; top: 16px !important; right: 10px !important; display: grid !important; width: 40px !important; height: 40px !important; place-items: center; color: #142122 !important; }
  body#checkout #header #rwd_menu #_mobile_cart { position: absolute !important; top: 16px !important; right: 54px !important; display: grid !important; width: 40px !important; height: 40px !important; place-items: center; color: #142122 !important; }
  body#checkout #header #rwd_menu #search-icon,
  body#checkout #header #rwd_menu #user-icon { display: none; }
  body#checkout #wrapper { padding: 0 12px 24px !important; background: #f8fbfb; }
  body#checkout #wrapper > .container { width: 100%; padding: 0; }
  body#checkout #content { padding: 12px 8px 24px; }
  body#checkout #form_ets_onepagecheckout { margin: 0; }
  body#checkout #ets_onepagecheckout { display: flex; flex-direction: column; gap: 10px; margin: 0; }
  body#checkout #ets_onepagecheckout > [class*="onepagecheckout-"] { width: 100%; padding: 0; }
  body#checkout #ets_onepagecheckout .block-onepagecheckout { margin: 0 0 10px; overflow: hidden; border: 1px solid #dbe7e8; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px #1421220a; }
  body#checkout #ets_onepagecheckout .title-heading { display: flex; min-height: 52px; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-bottom: 1px solid #edf2f2; background: #fff; color: #142122; font-size: 15px; font-weight: 750; }
  body#checkout #ets_onepagecheckout .title-heading .ets_icon_svg { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 9px; background: #e5f8f8; color: #007a80; }
  body#checkout #ets_onepagecheckout .block-content { padding: 12px 14px 14px; }
  body#checkout #ets_onepagecheckout .form-control,
  body#checkout #ets_onepagecheckout select,
  body#checkout #ets_onepagecheckout textarea { min-height: 46px; border: 1px solid #d7e1e2; border-radius: 10px; background: #fff; box-shadow: none; color: #142122; font-size: 14px; }
  body#checkout #ets_onepagecheckout .form-control:focus,
  body#checkout #ets_onepagecheckout select:focus,
  body#checkout #ets_onepagecheckout textarea:focus { border-color: #00acb2; box-shadow: 0 0 0 3px #00acb21a; }
  body#checkout #ets_onepagecheckout label { color: #263638; font-size: 12px; font-weight: 650; }
  body#checkout #ets_onepagecheckout .block-shopping-cart .block-content { padding: 0; }
  body#checkout #ets_onepagecheckout .cart-detailed-totals,
  body#checkout #ets_onepagecheckout .cart-summary-totals { margin: 12px 14px 14px; padding: 14px; border: 1px solid #dbe7e8; border-radius: 14px; background: #f8fbfb; }
  body#checkout #ets_onepagecheckout .cart-summary-line { display: flex; min-height: 30px; align-items: center; justify-content: space-between; margin: 0 0 5px; color: #5e6c70; font-size: 13px; }
  body#checkout #ets_onepagecheckout .cart-summary-line .value { color: #263638; font-weight: 700; }
  body#checkout #ets_onepagecheckout .cart-summary-line.cart-total { margin-top: 10px; padding-top: 12px; border-top: 1px solid #dbe7e8; font-size: 16px; font-weight: 750; }
  body#checkout #ets_onepagecheckout .cart-summary-line.cart-total .value { color: #5e2ee6; font-size: 23px; }
  body#checkout #ets_onepagecheckout .checkout.card-block { margin: 0 0 10px; padding: 0; background: transparent; }
  body#checkout #ets_onepagecheckout .checkout .btn-primary,
  body#checkout #ets_onepagecheckout #payment-confirmation button { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; border: 1px solid #5e2ee6; border-radius: 12px; background: #5e2ee6; color: #fff; font-size: 14px; font-weight: 750; }
  body#checkout #ets_onepagecheckout .checkout .btn-primary:hover,
  body#checkout #ets_onepagecheckout .checkout .btn-primary:focus,
  body#checkout #ets_onepagecheckout #payment-confirmation button:hover,
  body#checkout #ets_onepagecheckout #payment-confirmation button:focus { border-color: #00acb2; background: #00acb2; }
}

/* ETS One Page Checkout: checkout markup is rendered by the module. */
@media (max-width: 767px) {
  body#order #content { padding: 12px 8px 24px; }
  body#order #form_ets_onepagecheckout { margin: 0; }
  body#order #ets_onepagecheckout { display: flex; flex-direction: column; gap: 10px; margin: 0; }
  body#order #ets_onepagecheckout > [class*="onepagecheckout-"] { width: 100%; padding: 0; }
  body#order #ets_onepagecheckout .block-onepagecheckout { margin: 0 0 10px; overflow: hidden; border: 1px solid #dbe7e8; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px #1421220a; }
  body#order #ets_onepagecheckout .title-heading { display: flex; min-height: 52px; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-bottom: 1px solid #edf2f2; background: #fff; color: #142122; font-size: 15px; font-weight: 750; }
  body#order #ets_onepagecheckout .title-heading .ets_icon_svg { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 9px; background: #e5f8f8; color: #007a80; }
  body#order #ets_onepagecheckout .title-heading .ets_icon_svg svg { width: 15px; height: 15px; }
  body#order #ets_onepagecheckout .block-content { padding: 12px 14px 14px; }
  body#order #ets_onepagecheckout .form-control,
  body#order #ets_onepagecheckout select,
  body#order #ets_onepagecheckout textarea { min-height: 46px; border: 1px solid #d7e1e2; border-radius: 10px; background: #fff; box-shadow: none; color: #142122; font-size: 14px; }
  body#order #ets_onepagecheckout textarea { min-height: 82px; padding-top: 11px; }
  body#order #ets_onepagecheckout .form-control:focus,
  body#order #ets_onepagecheckout select:focus,
  body#order #ets_onepagecheckout textarea:focus { border-color: #00acb2; box-shadow: 0 0 0 3px #00acb21a; }
  body#order #ets_onepagecheckout label { color: #263638; font-size: 12px; font-weight: 650; }
  body#order #ets_onepagecheckout .address-item,
  body#order #ets_onepagecheckout .delivery-option,
  body#order #ets_onepagecheckout .payment-option,
  body#order #ets_onepagecheckout .carrier-item { min-height: 58px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #dbe7e8; border-radius: 12px; background: #fff; }
  body#order #ets_onepagecheckout .delivery-option:has(input:checked),
  body#order #ets_onepagecheckout .payment-option:has(input:checked),
  body#order #ets_onepagecheckout .carrier-item:has(input:checked) { border-color: #00acb2; background: #e5f8f8; }
  body#order #ets_onepagecheckout .block-shopping-cart .block-content { padding: 0; }
  body#order #ets_onepagecheckout .cart-detailed,
  body#order #ets_onepagecheckout .cart-summary { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  body#order #ets_onepagecheckout .cart-detailed-totals,
  body#order #ets_onepagecheckout .cart-summary-totals { margin: 12px 14px 14px; padding: 14px; border: 1px solid #dbe7e8; border-radius: 14px; background: #f8fbfb; }
  body#order #ets_onepagecheckout .cart-summary-line { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 5px; color: #5e6c70; font-size: 13px; }
  body#order #ets_onepagecheckout .cart-summary-line .value { color: #263638; font-weight: 700; }
  body#order #ets_onepagecheckout .cart-summary-line.cart-total { margin-top: 10px; padding-top: 12px; border-top: 1px solid #dbe7e8; color: #142122; font-size: 16px; font-weight: 750; }
  body#order #ets_onepagecheckout .cart-summary-line.cart-total .value { color: #5e2ee6; font-size: 23px; }
  body#order #ets_onepagecheckout #conditions-to-approve { margin: 0 0 10px; padding: 12px 14px; border: 1px solid #dbe7e8; border-radius: 12px; background: #fff; }
  body#order #ets_onepagecheckout #conditions-to-approve ul { margin: 0; padding: 0; list-style: none; }
  body#order #ets_onepagecheckout #conditions-to-approve .condition-label { padding-left: 8px; }
  body#order #ets_onepagecheckout .checkout.card-block { margin: 0 0 10px; padding: 0; background: transparent; }
  body#order #ets_onepagecheckout .checkout .btn-primary,
  body#order #ets_onepagecheckout #payment-confirmation button { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; border: 1px solid #5e2ee6; border-radius: 12px; background: #5e2ee6; box-shadow: 0 4px 10px #5e2ee633; color: #fff; font-size: 14px; font-weight: 750; }
  body#order #ets_onepagecheckout .checkout .btn-primary:hover,
  body#order #ets_onepagecheckout .checkout .btn-primary:focus,
  body#order #ets_onepagecheckout #payment-confirmation button:hover,
  body#order #ets_onepagecheckout #payment-confirmation button:focus { border-color: #00acb2; background: #00acb2; }
}

/* Checkout: mobile app treatment for the real PrestaShop order flow. */
@media (max-width: 767px) {
  body#order { padding-bottom: 24px; background: #f8fbfb; }
  body#order #header { position: sticky; z-index: 1100; top: 0; background: #fff; box-shadow: 0 1px 0 #e8eeee, 0 5px 16px #14212208; }
  body#order #header .header-nav,
  body#order #header .header-banner,
  body#order #header #mobile_search_wrapper,
  body#order #header #mobile_user_wrapper { display: none !important; }
  body#order #header .header-top { height: 68px !important; min-height: 68px !important; padding: 0 !important; border-bottom: 1px solid #e1e6e7; }
  body#order #header .header-top > .container,
  body#order #header .header-top > .container > .row { height: 68px !important; min-height: 68px !important; margin: 0; }
  body#order #header #_desktop_logo { position: absolute !important; z-index: 11; top: 16px; left: 16px; width: 112px !important; margin: 0 !important; padding: 0 !important; }
  body#order #header #_desktop_logo .logo { display: block !important; width: auto !important; max-width: 106px !important; max-height: 36px !important; }
  body#order #header #rwd_menu { position: absolute !important; z-index: 10; top: 0; right: 0; left: 0; display: block !important; height: 68px; border: 0; background: transparent; pointer-events: none; }
  body#order #header #rwd_menu .container { position: relative; min-height: 44px; padding: 3px 10px; }
  body#order #header #rwd_menu .rwd_menu_item { pointer-events: auto; }
  body#order #header #rwd_menu #menu-icon2 { position: absolute !important; top: 16px !important; right: 10px !important; display: grid !important; width: 40px !important; height: 40px !important; place-items: center; color: #142122 !important; }
  body#order #header #rwd_menu #_mobile_cart { position: absolute !important; top: 16px !important; right: 54px !important; display: grid !important; width: 40px !important; height: 40px !important; place-items: center; color: #142122 !important; }
  body#order #header #rwd_menu #search-icon,
  body#order #header #rwd_menu #user-icon { display: none; }
  body#order #wrapper { padding: 0 12px 24px !important; background: #f8fbfb; }
  body#order #wrapper > .container { width: 100%; padding: 0; }
  body#order #content { padding: 18px 8px 24px; }
  body#order #content > .row { display: flex; flex-direction: column; margin: 0; }
  body#order #content > .row > [class*="col-"] { width: 100%; padding: 0; }
  body#order #content > .row > [class*="col-"]:last-child { margin-top: 14px; }
  body#order .checkout-step { margin: 0 0 10px; overflow: hidden; border: 1px solid #e1e6e7; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px #14212208; }
  body#order .checkout-step .step-title { display: flex; min-height: 56px; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; border: 0; color: #142122; background: #fff; font-size: 16px; line-height: 1.25; font-weight: 750; }
  body#order .checkout-step .step-number { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 9px; background: #e5f8f8; color: #007a80; font-size: 13px; }
  body#order .checkout-step.-current .step-number { background: #5e2ee6; color: #fff; }
  body#order .checkout-step .step-edit { margin-left: auto; color: #5e2ee6; font-size: 11px; font-weight: 700; }
  body#order .checkout-step .step-edit .edit { margin-right: 3px; font-size: 16px; vertical-align: middle; }
  body#order .checkout-step .content { padding: 0 16px 16px; }
  body#order .checkout-step .content p { color: #5e6c70; font-size: 13px; line-height: 1.45; }
  body#order .checkout-step .form-control,
  body#order .checkout-step select,
  body#order .checkout-step textarea { min-height: 46px; border: 1px solid #d7e1e2; border-radius: 10px; background: #fff; box-shadow: none; color: #142122; font-size: 14px; }
  body#order .checkout-step textarea { min-height: 84px; padding-top: 12px; }
  body#order .checkout-step .form-control:focus,
  body#order .checkout-step select:focus,
  body#order .checkout-step textarea:focus { border-color: #00acb2; box-shadow: 0 0 0 3px #00acb21a; }
  body#order .checkout-step label { color: #263638; font-size: 12px; font-weight: 650; }
  body#order .checkout-step .btn-primary,
  body#order #payment-confirmation button { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; margin-top: 14px; border: 1px solid #5e2ee6; border-radius: 12px; background: #5e2ee6; box-shadow: 0 4px 10px #5e2ee633; color: #fff; font-size: 14px; font-weight: 750; }
  body#order .checkout-step .btn-primary:hover,
  body#order .checkout-step .btn-primary:focus,
  body#order #payment-confirmation button:hover,
  body#order #payment-confirmation button:focus { border-color: #00acb2; background: #00acb2; }
  body#order .delivery-option,
  body#order .payment-option { display: flex; min-height: 64px; align-items: center; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #e1e6e7; border-radius: 12px; background: #fff; }
  body#order .delivery-option:has(input:checked),
  body#order .payment-option:has(input:checked) { border-color: #00acb2; background: #e5f8f8; }
  body#order .delivery-option label,
  body#order .payment-option label { flex: 1; margin: 0; color: #142122; font-size: 13px; }
  body#order .payment-option label img { max-width: 52px; max-height: 26px; object-fit: contain; }
  body#order .cart-summary { margin: 0; padding: 16px; border: 1px solid #dbe7e8; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px #14212208; }
  body#order .cart-summary .cart-summary-line { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; color: #5e6c70; font-size: 13px; }
  body#order .cart-summary .cart-summary-line .value { color: #263638; font-weight: 700; }
  body#order .cart-summary .cart-summary-line.cart-total { margin-top: 10px; padding-top: 12px; border-top: 1px solid #dbe7e8; color: #142122; font-size: 17px; font-weight: 750; }
  body#order .cart-summary .cart-summary-line.cart-total .value { color: #5e2ee6; font-size: 23px; }
  body#order #block-reassurance { margin-top: 12px; overflow: hidden; border: 1px solid #e1e6e7; border-radius: 14px; background: #fff; }
  body#order #block-reassurance ul { margin: 0; padding: 0; list-style: none; }
  body#order #block-reassurance li { padding: 12px; border-bottom: 1px solid #e1e6e7; }
  body#order #block-reassurance li:last-child { border-bottom: 0; }
  body#order #block-reassurance .block-reassurance-item { display: flex; align-items: center; gap: 10px; color: #263638; font-size: 12px; }
  body#order #block-reassurance img { width: 26px; height: 26px; object-fit: contain; }
}

/* Cart quantity fallback: if an older cached mobile script already transformed
   the markup, keep the control horizontal on the wide cart layout. */
@media (min-width: 768px) {
  body#cart .euray-cart-quantity {
    display: inline-flex;
    width: auto;
    height: 40px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #cbd7d9;
    border-radius: 10px;
    background: #fff;
    vertical-align: middle;
  }
  body#cart .euray-cart-quantity-btn {
    display: grid;
    width: 34px;
    min-width: 34px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 0;
    background: #f7fbfb;
    color: #5e2ee6;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
  }
  body#cart .euray-cart-quantity .js-cart-line-product-quantity {
    display: block;
    width: 42px;
    height: 38px;
    margin: 0;
    padding: 0 4px;
    border: 0;
    border-right: 1px solid #e1e6e7;
    border-left: 1px solid #e1e6e7;
    border-radius: 0;
    color: #142122;
    background: #fff;
    font-size: 15px;
    text-align: center;
  }
}

/* Cart page: mobile app layout aligned with EurayStore / Metronic cards. */
@media (max-width: 767px) {
  body#cart #wrapper { padding-top: 0 !important; background: #fff; }
  body#cart #main { padding: 18px 12px 104px; }
  body#cart .cart-grid { display: flex; flex-direction: column; margin: 0; }
  body#cart .cart-grid-body,
  body#cart .cart-grid-right { width: 100%; max-width: none; padding: 0; }
  body#cart .cart-grid-body { display: flex; flex-direction: column; }
  body#cart .cart-container,
  body#cart .cart-summary { margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  body#cart .cart-container .card-block { padding: 0; }
  body#cart .cart-container h1 { display: none; }
  body#cart .cart-container > .separator { display: none; }
  body#cart .cart-overview { padding: 0; }
  body#cart .cart-items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
  body#cart .cart-item { margin: 0; padding: 0; border: 1px solid #e1e6e7; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px #1421220a; }
  body#cart .product-line-grid { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; margin: 0; padding: 12px; }
  body#cart .product-line-grid-left { width: 58px; padding: 0; }
  body#cart .product-image { display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; overflow: hidden; border-radius: 13px; background: #e5f8f8; }
  body#cart .product-image img { width: 100%; height: 100%; object-fit: cover; }
  body#cart .product-line-grid-body { width: auto; padding: 0; }
  body#cart .product-line-info { margin: 0; }
  body#cart .product-line-info .label_name { display: block; overflow: hidden; color: #142122; font-size: 16px; line-height: 1.2; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
  body#cart .product-line-grid-body .product-price,
  body#cart .product-line-grid-body > br { display: none; }
  body#cart .product-line-grid-body .product-customizations-popup { display: inline-flex; margin-top: 8px; padding: 5px 9px; border: 1px solid #00acb2; border-radius: 8px; color: #007a80; font-size: 11px; font-weight: 700; text-decoration: none; }
  body#cart .product-line-grid-body .label,
  body#cart .product-line-grid-body .value { color: #5e6c70; font-size: 12px; }
  body#cart .product-line-actions { display: flex; grid-column: 1 / -1; width: auto; padding: 0; }
  body#cart .product-line-actions > .row { display: flex; width: 100%; align-items: center; margin: 0; }
  body#cart .product-line-actions .col-xs-4.hidden-md-up { display: none; }
  body#cart .product-line-actions .col-md-10 { width: auto; flex: 1; padding: 0; }
  body#cart .product-line-actions .col-md-10 > .row { display: flex; align-items: center; margin: 0; }
  body#cart .product-line-actions .qty { width: auto; padding: 0; }
  body#cart .euray-cart-quantity { display: inline-flex; height: 40px; align-items: stretch; overflow: hidden; border: 1px solid #cbd7d9; border-radius: 10px; background: #fff; }
  body#cart .bootstrap-touchspin { display: contents; }
  body#cart .bootstrap-touchspin .input-group-btn,
  body#cart .bootstrap-touchspin .input-group-btn-vertical { display: none !important; }
  body#cart .euray-cart-quantity-btn { display: grid; width: 34px; min-width: 34px; height: 38px; place-items: center; border: 0; background: #f7fbfb; color: #5e2ee6; font-size: 20px; font-weight: 700; line-height: 1; }
  body#cart .euray-cart-quantity-btn:active { background: #e5f8f8; color: #007a80; }
  body#cart .product-line-actions .qty input { width: 42px; height: 38px; margin: 0; padding: 0 4px; border: 0; border-right: 1px solid #e1e6e7; border-left: 1px solid #e1e6e7; border-radius: 0; outline: 0; color: #142122; background: #fff; font-size: 15px; text-align: center; }
  body#cart .product-line-actions .price { flex: 1; width: auto; padding: 0 8px 0 0; text-align: right; }
  body#cart .product-line-actions .product-price { color: #142122; font-size: 17px; font-weight: 750; }
  body#cart .product-line-actions .text-xs-right { width: auto; padding: 0; }
  body#cart .cart-line-product-actions .remove-from-cart { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #647477; }
  body#cart .cart-line-product-actions .remove-from-cart:active { background: #e5f8f8; color: #00acb2; }
  body#cart .cart-line-product-actions .material-icons { float: none !important; margin: 0; font-size: 20px; }
  body#cart .cart-grid-body > .label { order: -1; margin: 0 8px 18px; color: #4b686c; font-size: 13px; }
  body#cart .cart-grid-body > .label .material-icons { vertical-align: middle; font-size: 17px; }
  body#cart .cart-grid-right { margin-top: 18px; }
  body#cart .cart-summary { padding: 16px 0 0; border-top: 1px solid #e1e6e7; }
  body#cart .cart-summary .cart-detailed-totals { margin: 0; padding: 16px; border: 1px solid #dbe7e8; border-radius: 16px; background: #f8fbfb; box-shadow: 0 2px 8px #14212208; }
  body#cart .cart-summary .cart-detailed-totals > .card-block { padding: 0; }
  body#cart .cart-summary .cart-detailed-totals > .separator { display: none; }
  body#cart .cart-summary .cart-summary-line { display: grid; min-height: 30px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; margin: 0 0 6px; color: #5e6c70; font-size: 13px; }
  body#cart .cart-summary .cart-summary-line .label { margin: 0; color: #5e6c70; font-size: 13px; font-weight: 500; }
  body#cart .cart-summary .cart-summary-line .value { color: #263638; font-size: 14px; font-weight: 700; text-align: right; white-space: nowrap; }
  body#cart .cart-summary .cart-summary-line > div { margin-left: auto; }
  body#cart .cart-summary .cart-summary-line.cart-total { min-height: 54px; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid #dbe7e8; color: #142122; font-size: 18px; font-weight: 750; }
  body#cart .cart-summary .cart-summary-line.cart-total .label { color: #142122; font-size: 17px; font-weight: 750; }
  body#cart .cart-summary .cart-summary-line.cart-total .value { color: #5e2ee6; font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -.5px; }
  body#cart .cart-summary .cart-detailed-actions { padding: 16px 0 0; }
  body#cart .cart-summary .checkout { margin-top: 0; }
  body#cart .cart-summary .checkout a { display: flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 13px; background: #5e2ee6; box-shadow: 0 4px 10px #5e2ee633; color: #fff !important; font-size: 15px; font-weight: 750; }
  body#cart .cart-summary .checkout a:active { transform: scale(.98); }
  body#cart .cart-summary .checkout a .euray-cart-action-icon { width: 20px; height: 20px; margin-right: 8px; font-size: 18px; line-height: 20px; }
  body#cart #main .cart-grid-body > .fw-express--cart { margin: 0 0 12px; }
  body#cart #main .cart-grid-body > .fw-express--cart .fw-express__button { width: 100%; min-height: 52px; border-radius: 13px; font-size: 15px; font-weight: 750; }
  body#cart .stripebridge-express-cart { margin: 10px 0 0 !important; text-align: center; }
  body#cart .stripebridge-express-form { width: 100%; }
  body#cart .stripebridge-express-btn { display: flex !important; width: 100% !important; min-height: 52px !important; height: 52px !important; align-items: center; justify-content: center; padding: 12px 16px !important; border: 1px solid #5e2ee6 !important; border-radius: 13px !important; background: #5e2ee6 !important; color: #fff !important; font-size: 15px !important; font-weight: 750 !important; line-height: 1.2 !important; }
  body#cart .stripebridge-express-btn .euray-payment-icon { width: 24px; height: 24px; margin-right: 9px; padding: 0; border-radius: 0; background: transparent; color: #fff; font-size: 21px; line-height: 24px; }
  body#cart .stripebridge-express-btn:active { background: #00acb2 !important; transform: scale(.98); }
  body#cart .cart-detailed-actions > .fw-express--cart,
  body#cart .cart-grid-right > .fw-express--cart { width: 100% !important; max-width: none !important; margin: 12px 0 0; box-sizing: border-box; }
  body#cart .cart-detailed-actions > .fw-express--cart .fw-express__button,
  body#cart .cart-grid-right > .fw-express--cart .fw-express__button { display: flex; width: 100% !important; min-width: 100%; height: 52px; min-height: 52px; align-items: center; justify-content: center; border: 1px solid #5e2ee6 !important; border-radius: 13px; background: #5e2ee6 !important; color: #fff !important; font-size: 15px; font-weight: 750; }
  body#cart .cart-detailed-actions > .fw-express--cart .fw-express__form,
  body#cart .cart-grid-right > .fw-express--cart .fw-express__form { width: 100%; }
  body#cart .fw-express--cart { display: block !important; width: 100% !important; max-width: none !important; margin: 12px 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center; }
  body#cart .fw-express--cart .fw-express__form { display: block !important; width: 100% !important; max-width: none !important; }
  body#cart .fw-express--cart .fw-express__button { display: flex !important; width: 100% !important; max-width: none !important; height: 52px !important; min-height: 52px !important; margin: 0 !important; box-sizing: border-box; border-radius: 13px !important; }
  body#cart .fw-express--cart .fw-express__button,
  body#cart .fw-express--cart .fw-express__button:not(:disabled) { border-color: #5e2ee6 !important; background-color: #5e2ee6 !important; color: #fff !important; box-shadow: 0 4px 12px #5e2ee633 !important; }
  body#cart .fw-express--cart .fw-express__button:hover:not(:disabled),
  body#cart .fw-express--cart .fw-express__button:focus:not(:disabled),
  body#cart .fw-express--cart .fw-express__button:active:not(:disabled) { border-color: #00acb2 !important; background-color: #00acb2 !important; color: #fff !important; box-shadow: 0 6px 16px #00acb233 !important; }
  body#cart .fw-express--cart .fw-express__button { box-sizing: border-box; padding: 12px 52px 12px 16px !important; }
  body#cart .fw-express--cart .fw-express__label { width: 100%; min-height: 24px; align-items: center; justify-content: center; gap: 10px; }
  body#cart .fw-express--cart .fw-express__label > i { display: inline-grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; margin: 0; font-size: 20px; line-height: 1; }
  body#cart .fw-express--cart .fw-quote-label--priced { display: inline-flex; width: auto; flex: 0 0 auto; align-items: center; justify-content: center; gap: 14px; }
  body#cart .fw-express--cart .fw-quote-label__method { font-size: 16px; line-height: 24px; }
  body#cart .fw-express--cart .fw-quote-label__price { align-items: center; text-align: center; }
  body#cart .fw-express--cart .fw-quote__details { top: 10px; right: 10px; width: 32px; height: 32px; }
  body#cart .cart-summary .checkout a:hover,
  body#cart .cart-summary .checkout a:focus,
  body#cart .cart-detailed-actions > .fw-express--cart .fw-express__button:hover,
  body#cart .cart-detailed-actions > .fw-express--cart .fw-express__button:focus,
  body#cart .stripebridge-express-btn:hover,
  body#cart .stripebridge-express-btn:focus { border-color: #00acb2 !important; background: #00acb2 !important; color: #fff !important; }
  body#cart .cart-summary .checkout a:active,
  body#cart .cart-detailed-actions > .fw-express--cart .fw-express__button:active { background: #00acb2 !important; transform: scale(.98); }
  body#cart .cart-grid-right .cart-voucher,
  body#cart .cart-grid-right .separator,
  body#cart .cart-grid-body .hook-display-shopping-cart-footer { display: none; }
  body#cart #block-reassurance { margin: 18px 0 0; overflow: hidden; border: 1px solid #e1e6e7; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px #1421220a; }
  body#cart #block-reassurance ul { display: grid; margin: 0; padding: 0; list-style: none; }
  body#cart #block-reassurance li { margin: 0; padding: 0; border-bottom: 1px solid #e1e6e7; }
  body#cart #block-reassurance li:last-child { border-bottom: 0; }
  body#cart #block-reassurance .block-reassurance-item { display: flex; min-height: 64px; align-items: center; gap: 13px; padding: 12px 15px; color: #142122; background: #fff; transition: background-color .16s ease, transform .16s ease; }
  body#cart #block-reassurance .block-reassurance-item:active,
  body#cart #block-reassurance .block-reassurance-item:hover { background: #e5f8f8; }
  body#cart #block-reassurance img { display: block; width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; }
  body#cart #block-reassurance span { min-width: 0; color: #263638; font-size: 13px; line-height: 1.35; font-weight: 600; }

  /* Cart icon: the theme assigns fontello to this Font Awesome glyph in Chrome. */
  body:not(#checkout) #header #rwd_menu #_mobile_cart .shopping-cart { display: block; font-family: FontAwesome !important; }
  body:not(#checkout) #header #rwd_menu #_mobile_cart .shopping-cart::before { content: "\f07a" !important; font-family: FontAwesome !important; }
  /* Checkout: SVG mask avoids the theme's inconsistent icon-font cascade. */
  body#checkout #header #rwd_menu #_mobile_cart .cart_link { display: grid !important; width: 40px !important; height: 40px !important; place-items: center; position: relative !important; color: #142122 !important; }
  body#checkout #header #rwd_menu #_mobile_cart .cart_link::before { content: ""; display: block; width: 24px; height: 24px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.4 10.1a2 2 0 0 0 2 1.5h7.4a2 2 0 0 0 1.9-1.4L21 7H7.2M10 21a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm7 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.4 10.1a2 2 0 0 0 2 1.5h7.4a2 2 0 0 0 1.9-1.4L21 7H7.2M10 21a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm7 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/%3E%3C/svg%3E") center / contain no-repeat; }
  body#checkout #header #rwd_menu #_mobile_cart .shopping-cart { display: none !important; }
}

/* Cart payment actions: one consistent Metronic-style action stack on desktop. */
@media (min-width: 768px) {
  body#cart .cart-summary .cart-detailed-actions > .text-sm-center {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  body#cart .cart-summary .cart-detailed-actions.checkout a,
  body#cart .cart-summary .cart-detailed-actions .fw-express__button,
  body#cart .cart-summary .cart-detailed-actions .stripebridge-express-btn {
    display: flex !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
  }
  body#cart .cart-summary .cart-detailed-actions.checkout a,
  body#cart .cart-summary .cart-detailed-actions .fw-express__button {
    border: 1px solid #5e2ee6 !important;
    background: #5e2ee6 !important;
    color: #fff !important;
  }
  body#cart .cart-summary .cart-detailed-actions .stripebridge-express-btn {
    padding: 0 16px !important;
    border: 1px solid #5e2ee6 !important;
    background: #5e2ee6 !important;
    color: #fff !important;
  }
  body#cart .cart-summary .cart-detailed-actions .fw-express--cart {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  body#cart .cart-summary .cart-detailed-actions .stripebridge-express-cart { margin-top: 0 !important; }
  body#cart .cart-summary .cart-detailed-actions .fw-express__button {
    padding: 0 52px 0 16px !important;
  }
  body#cart .cart-summary .cart-detailed-actions .fw-express__label,
  body#cart .cart-summary .cart-detailed-actions .stripebridge-express-btn {
    align-items: center;
    justify-content: center;
  }
  body#cart .cart-summary .cart-detailed-actions .fw-express__label > i,
  body#cart .cart-summary .cart-detailed-actions .euray-payment-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    margin-right: 8px;
    font-size: 18px;
    line-height: 1;
  }
  body#cart .cart-summary .cart-detailed-actions .fw-quote__details {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
  body#cart .cart-summary .cart-detailed-actions .fw-quote__summary { display: none; }
  body#cart .cart-summary .cart-detailed-actions.checkout a:hover,
  body#cart .cart-summary .cart-detailed-actions .fw-express__button:hover,
  body#cart .cart-summary .cart-detailed-actions .stripebridge-express-btn:hover,
  body#cart .cart-summary .cart-detailed-actions.checkout a:focus,
  body#cart .cart-summary .cart-detailed-actions .fw-express__button:focus,
  body#cart .cart-summary .cart-detailed-actions .stripebridge-express-btn:focus {
    border-color: #00acb2 !important;
    background: #00acb2 !important;
    color: #fff !important;
  }
  body#cart .cart-summary .cart-detailed-actions.checkout a:active,
  body#cart .cart-summary .cart-detailed-actions .fw-express__button:active,
  body#cart .cart-summary .cart-detailed-actions .stripebridge-express-btn:active { transform: scale(.98); }
}

/* This final checkout override deliberately follows the legacy SVG fallback. */
@media (max-width: 767px) {
  body#checkout #header #rwd_menu #_mobile_cart .cart_link::before { display: none !important; }
  body#checkout #header #rwd_menu #_mobile_cart .shopping-cart { display: block !important; font-family: FontAwesome !important; font-size: 24px !important; line-height: 1 !important; }
  body#checkout #header #rwd_menu #_mobile_cart .shopping-cart::before { content: "\f07a" !important; font-family: FontAwesome !important; }
}
