[data-storefront-theme="poolbros"] .pb-poolsan-image-link { display: block; }
[data-storefront-theme="poolbros"] .pb-home-services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #112b49;
  color: #fff;
}
[data-storefront-theme="poolbros"] .pb-home-services > .pb-service-photo {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: -2;
  aspect-ratio: auto;
}
[data-storefront-theme="poolbros"] .pb-home-services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #112b49 40%, #112b49eb 55%, #112b4966 100%);
}
[data-storefront-theme="poolbros"] .pb-home-services .pb-home-services-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding-block: clamp(26px, 3.5vw, 52px);
}
[data-storefront-theme="poolbros"] .pb-home-services .pb-eyebrow { color: #bfe4ff; }
[data-storefront-theme="poolbros"] .pb-home-services h2 { margin-top: 6px; color: #fff; font-size: clamp(1.45rem, 2.8vw, 2.5rem); line-height: 1.14; }
[data-storefront-theme="poolbros"] .pb-home-services h2 + p { margin-top: 8px; color: #e4effb; }
[data-storefront-theme="poolbros"] .pb-home-services .pb-button:focus-visible { outline: 3px solid #bfe4ff; outline-offset: 4px; }
@media (max-width: 640px) {
  [data-storefront-theme="poolbros"] .pb-home-services > .pb-service-photo { inset-inline-start: 0; }
  [data-storefront-theme="poolbros"] .pb-home-services::after { background: #112b49de; }
}
[data-storefront-theme="poolbros"] .pb-service-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 26px);
}
[data-storefront-theme="poolbros"] .pb-services-catalogue .pb-service-showcase { margin-top: 26px; }
[data-storefront-theme="poolbros"] .pb-service-tile {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius);
  background: #fff;
  color: var(--pb-ink);
}
[data-storefront-theme="poolbros"] .pb-service-tile:nth-child(-n+2) { grid-column: span 3; }
[data-storefront-theme="poolbros"] .pb-service-photo { overflow: hidden; background: var(--pb-mist); aspect-ratio: 16 / 10; }
[data-storefront-theme="poolbros"] .pb-service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-storefront-theme="poolbros"] .pb-service-photo[data-service="maintenance"] img { object-position: center 38%; }
[data-storefront-theme="poolbros"] .pb-service-tile:nth-child(-n+2) .pb-service-photo { aspect-ratio: 2 / 1; }
[data-storefront-theme="poolbros"] .pb-service-tile-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: clamp(16px, 2.5vw, 24px);
}
[data-storefront-theme="poolbros"] .pb-service-tile-copy h3 { font-size: clamp(1rem, 1.6vw, 1.28rem); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
[data-storefront-theme="poolbros"] .pb-service-tile-copy p { margin-top: 8px; color: var(--pb-muted); font-size: .89rem; }
[data-storefront-theme="poolbros"] .pb-service-tile-copy > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pb-mist); color: var(--pb-ink); }
[data-storefront-theme="poolbros"] .pb-service-tile:hover .pb-service-tile-copy > span { background: var(--pb-orange); }
[data-storefront-theme="poolbros"] .pb-service-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
[data-storefront-theme="poolbros"] .pb-service-hero .pb-service-photo { aspect-ratio: 4 / 3; border-radius: var(--pb-radius); }
[data-storefront-theme="poolbros"] .pb-service-hero h1 { font-size: clamp(2rem, 4.5vw, 4.25rem); overflow-wrap: anywhere; }
[data-storefront-theme="poolbros"] .pb-service-hero-copy > .pb-text-link { margin-bottom: 24px; }
[data-storefront-theme="poolbros"] .pb-service-hero-copy > p:not(.pb-eyebrow) { margin-block: 18px; color: var(--pb-muted); }
[data-storefront-theme="poolbros"] .pb-service-scope { padding-top: 0; }
[data-storefront-theme="poolbros"] .pb-service-scope ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: 24px; }
[data-storefront-theme="poolbros"] .pb-service-scope li { padding: 18px; border-radius: var(--pb-radius); border: 1px solid var(--pb-line); background: #fff; }
[data-storefront-theme="poolbros"] .pb-service-scope li > span { display: block; margin-bottom: 8px; }
[data-storefront-theme="poolbros"] .pb-service-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(18px, 4vw, 32px); border-radius: var(--pb-radius); background: var(--pb-mist); }
[data-storefront-theme="poolbros"] .pb-guide-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 0;
}
[data-storefront-theme="poolbros"] .pb-guide-index a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding: 8px 16px;
  border: 1px solid var(--pb-line);
  border-radius: 9999px;
  background: #fff;
  font-size: .9rem;
  font-weight: 650;
}
[data-storefront-theme="poolbros"] .pb-guide-index a:hover { background: var(--pb-mist); }
[data-storefront-theme="poolbros"] .pb-guide-sections { max-inline-size: 58rem; }
[data-storefront-theme="poolbros"] .pb-guide-chapter {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 10px;
  padding-block: 24px;
  border-block-end: 1px solid var(--pb-line);
  scroll-margin-top: 140px;
}
[data-storefront-theme="poolbros"] .pb-guide-chapter .pb-service-number { padding-block-start: .3em; }
[data-storefront-theme="poolbros"] .pb-guide-chapter h2 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); font-weight: 700; line-height: 1.25; }
[data-storefront-theme="poolbros"] :is(.pb-guide-chapter, .pb-guide-note) p { max-inline-size: 64ch; margin-block-start: 10px; color: var(--pb-muted); }
[data-storefront-theme="poolbros"] .pb-guide-note { margin-block-start: 26px; padding: clamp(16px, 4vw, 26px); border-radius: var(--pb-radius); background: var(--pb-mist); }
[data-storefront-theme="poolbros"] .pb-guide-note .pb-text-link { margin-block-start: 12px; }

/* The photograph is untouched: normalize only the display canvas. */
[data-storefront-theme="poolbros"] :is(article > button, [data-storefront-page="product"] :is(div, button), [aria-labelledby="quick-shop-title"] :is(div, button))[class~="bg-[#f5f3ee]"]:has(img),
body:has([data-storefront-theme="poolbros"]) [role="dialog"]:has([aria-label="Κλείσιμο μεγέθυνσης"]) div[class~="bg-[#f5f3ee]"]:has(> img) {
  background: #fff;
}
[data-storefront-theme="poolbros"] [data-storefront-page="product"] :is(button[aria-label^="Μεγέθυνση φωτογραφίας"], [aria-label="Φωτογραφίες προϊόντος"] button) > img {
  object-fit: contain;
}

/* These three logos use light ink over transparency. Keep original artwork. */
[data-storefront-theme="poolbros"] .pb-brands a:is([href="/products?brand=aquark"], [href="/products?brand=wybot"], [href="/products?brand=balboa"]):has(img) {
  border-color: transparent;
  border-radius: 18px;
  background: #284c78;
}

@media (max-width: 900px) {
  [data-storefront-theme="poolbros"] .pb-service-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-storefront-theme="poolbros"] .pb-service-showcase .pb-service-tile { grid-column: auto; }
  [data-storefront-theme="poolbros"] .pb-service-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 580px) {
  [data-storefront-theme="poolbros"] :is(.pb-service-showcase, .pb-service-scope ul) { grid-template-columns: minmax(0, 1fr); }
  [data-storefront-theme="poolbros"] .pb-guide-chapter { grid-template-columns: 1.7rem minmax(0, 1fr); }
}
