/* PhoneYa2 Living Water Experience v4 — opaque floating content with water kept behind it. */
html.py2-water-enabled {
  min-height: 100%;
  background: #087c9a !important;
  background-image: linear-gradient(145deg, #0a7896 0%, #0c91ad 43%, #07516f 100%) !important;
  background-attachment: fixed;
}
body.py2-water-page {
  background: transparent !important;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}
#py2-water-surface {
  position: fixed !important;
  inset: 0 !important;
  z-index: -2 !important;
  display: block !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  opacity: 1 !important;
  contain: strict;
}
#py2-water-interaction-surface {
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
  display: block !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  opacity: 1 !important;
  contain: strict;
}
body.py2-water-page::before {
  opacity: .25 !important;
  filter: saturate(1.3) contrast(1.28) brightness(1.08);
  mix-blend-mode: screen;
  background-size: clamp(340px, 61vw, 780px) auto !important;
  background-position: center 52% !important;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.88), #000 22%, #000 78%, rgba(0,0,0,.88));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.88), #000 22%, #000 78%, rgba(0,0,0,.88));
}
body.py2-water-page main,
body.py2-water-page .page-content,
body.py2-water-page .shop-main,
body.py2-water-page .cart-layout {
  position: relative;
}
/* Solid floating objects: water is visible around edges, never through content. */
body.py2-water-page .section-card,
body.py2-water-page .trust-item,
body.py2-water-page .side-card,
body.py2-water-page .pc,
body.py2-water-page .pcard,
body.py2-water-page .product-card,
body.py2-water-page .panel,
body.py2-water-page .benefit,
body.py2-water-page .contact-card,
body.py2-water-page .about-card,
body.py2-water-page .policy-card,
body.py2-water-page .checkout-card,
body.py2-water-page .order-summary,
body.py2-water-page .howto-mini-inner,
body.py2-water-page .filter-pills .fpill,
body.py2-water-page .search-inner {
  background-color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(2,48,70,.16), 0 1px 0 rgba(255,255,255,.95) inset;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.py2-water-page .products-section,
body.py2-water-page .search-bar,
body.py2-water-page .filter-bar,
body.py2-water-page .trust-strip,
body.py2-water-page .main-wrap {
  background-color: transparent !important;
}
body.py2-water-page .pcard-img,
body.py2-water-page .pc-img {
  background-color: #f0f8fa !important;
}
body.py2-water-page .top-header,
body.py2-water-page .cat-nav,
body.py2-water-page .py2-quick-tabs,
body.py2-water-page .mob-nav-panel,
body.py2-water-page .mob-nav,
body.py2-water-page .footer,
body.py2-water-page footer {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 600px) {
  body.py2-water-page::before {
    background-size: min(88vw, 440px) auto !important;
    background-position: center 49% !important;
    opacity: .19 !important;
    filter: saturate(1.25) contrast(1.22) brightness(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  #py2-water-interaction-surface { display: none !important; }
  body.py2-water-page::before { animation: none !important; }
}


/* Edge water: moving highlights surround solid surfaces without crossing their content. */
body.py2-water-page .pcard,body.py2-water-page .product-card,body.py2-water-page .section-card,body.py2-water-page .panel,body.py2-water-page .benefit,body.py2-water-page .contact-card,body.py2-water-page .about-card,body.py2-water-page .policy-card,body.py2-water-page .checkout-card,body.py2-water-page .order-summary,body.py2-water-page .howto-mini-inner{position:relative;isolation:isolate;border-color:rgba(196,235,243,.95)!important}
body.py2-water-page .pcard::after,body.py2-water-page .product-card::after,body.py2-water-page .section-card::after,body.py2-water-page .panel::after,body.py2-water-page .benefit::after,body.py2-water-page .contact-card::after,body.py2-water-page .about-card::after,body.py2-water-page .policy-card::after,body.py2-water-page .checkout-card::after,body.py2-water-page .order-summary::after,body.py2-water-page .howto-mini-inner::after{content:"";position:absolute;inset:-2px;z-index:-1;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,rgba(153,238,247,0),rgba(119,223,239,.48),rgba(255,255,255,0),rgba(91,196,225,.3),rgba(153,238,247,0));background-size:240% 100%;animation:py2-water-edge-flow 8s linear infinite;opacity:.58}
@keyframes py2-water-edge-flow{from{background-position:100% 0}to{background-position:-140% 0}}
body.py2-water-page .top-header,body.py2-water-page .cat-nav,body.py2-water-page .py2-quick-tabs,body.py2-water-page .mob-nav-panel,body.py2-water-page .footer,body.py2-water-page footer{background-color:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media(prefers-reduced-motion:reduce){body.py2-water-page .pcard::after,body.py2-water-page .product-card::after,body.py2-water-page .section-card::after,body.py2-water-page .panel::after,body.py2-water-page .benefit::after,body.py2-water-page .contact-card::after,body.py2-water-page .about-card::after,body.py2-water-page .policy-card::after,body.py2-water-page .checkout-card::after,body.py2-water-page .order-summary::after,body.py2-water-page .howto-mini-inner::after{animation:none}}


/* FINAL HOMEPAGE CANVAS GUARD — 2026-10-20.
   The fixed water canvas is decorative; the document canvas underneath it must
   never fall back to the old deep-blue gradient between transparent sections. */
html.py2-water-enabled {
  background-color: #eef9fd !important;
  background-image: linear-gradient(145deg,#f8fcff 0%,#eaf8fc 48%,#e1f4fa 100%) !important;
  background-attachment: scroll !important;
}
body.py2-water-page {
  background-color: transparent !important;
  background-image: none !important;
}
body.py2-water-page .main-wrap,
body.py2-water-page .hero-zone,
body.py2-water-page .products-section,
body.py2-water-page .trust-strip,
body.py2-water-page .search-bar,
body.py2-water-page .filter-bar,
body.py2-water-page .home-content,
body.py2-water-page .home-sections,
body.py2-water-page .endless-products-section {
  background-color: transparent !important;
  background-image: none !important;
}


/* FIX: keep the original ocean-blue surface continuous behind the entire shop,
   including product-grid sections and endless-loaded cards while scrolling. */
html.py2-water-enabled,
html.py2-water-enabled body {
  background-color: #087c9b !important;
  background-image: linear-gradient(145deg,#087c9b 0%,#119bb5 28%,#087f9f 57%,#043d61 100%) !important;
  background-attachment: fixed !important;
}
body.py2-water-page,
body.py2-water-page.shop-page {
  background-color: transparent !important;
  background-image: none !important;
}
body.py2-water-page.shop-page :is(main,.main-wrap,.shop-main,.page-content,.products-section,.products-grid,.products-container,.products-wrap,.endless-products-section,.search-bar,.filter-bar,.trust-strip,.shop-content) {
  background-color: transparent !important;
  background-image: none !important;
}
body.py2-water-page.shop-page :is(.pcard,.product-card,.product-item,.skel-card) {
  background: #fff !important;
  color: #17243a !important;
}
body.py2-water-page.shop-page :is(.pcard-img,.pc-img) {
  background: linear-gradient(145deg,#fbfcfd,#f0f8fa) !important;
}

/* RETIRED WATER THEME: use the same plain white canvas as Shop site-wide. */
html, html.py2-water-enabled, html.py2-xmas, html[class*="py2-season-"],
body, body.py2-water-page, body.shop-page,
html.py2-xmas body, html[class*="py2-season-"] body {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  background-attachment: scroll !important;
}
html.py2-water-enabled::before,
body.py2-water-page::before,
body #py2-water-surface,
body #py2-water-interaction-surface {
  display: none !important;
  content: none !important;
}
