/* HyperPool staging interiors. Store owners retain their data and interactions. */
body.hp-interior {
  --hi-ink: #103955;
  --hi-deep: #052c47;
  --hi-muted: #436278;
  --hi-blue: #056ba5;
  --hi-wash: #ecf6fb;
  --hi-paper: #f5f9fc;
  --hi-rule: #d7e6ef;
  --hi-radius: 16px;
  --hi-gap: clamp(18px, 3vw, 44px);
  color: var(--hi-ink);
}
.hp-interior :where(a, summary, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--hi-blue);
  outline-offset: 3px;
}
.hp-interior :is(.hpsi-apply, .hpcat-apply, .hps-primary, .hp-catalog-home__search button,
  .hp-simple-checkout #place_order:not(:disabled), .wc-proceed-to-checkout .checkout-button,
  .hpas-auth-card .woocommerce-button) {
  min-height: 44px;
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--hi-deep) !important;
  color: white !important;
  box-shadow: none !important;
}
.hp-interior .hp-return-link { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; color: var(--hi-muted); }
.hp-interior :is(.hp-ui-search, .hp-a73-live-search) {
  border-color: var(--hi-rule);
  border-radius: 14px;
}

/* Catalog entrance, all departments and direct subcategory links. */
body.hp-interior .hp-shop-index .hp-catalog-home {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  min-height: 216px;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--hi-radius);
  background: var(--hi-wash);
}
.hp-catalog-home__copy { display: grid; align-content: center; gap: 12px; min-width: 0; padding: clamp(20px, 3vw, 46px); }
.hp-interior .hp-catalog-home h1 {
  margin: 0;
  color: var(--hi-deep);
  font-size: clamp(33px, 4.6vw, 63px);
  letter-spacing: -.055em;
  line-height: .99;
}
.hp-catalog-home__copy p { margin: 0; color: var(--hi-muted); font-size: clamp(13px, 1.25vw, 17px); }
.hp-catalog-home__search { display: flex; gap: 6px; min-width: 0; margin: 4px 0 0; }
.hp-catalog-home__search input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #a8c9df;
  border-radius: 9px;
  background: white;
  color: var(--hi-deep);
}
.hp-catalog-home__search button { padding: 0 16px; font-weight: 700; }
.hp-catalog-home__photo {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
  padding: 15px;
  background: #0c5066 url("../hyperpool-canonical-a73/assets/homepage-water-v1/world-sup.webp") center 54% / cover no-repeat;
}
.hp-catalog-home__photo span { display: inline-flex; gap: 18px; padding: 9px 12px; border-radius: 6px; background: #fff; color: var(--hi-deep); font-weight: 700; }
.hp-departments { padding: 0 0 17px; margin: var(--hi-gap) 0 14px; border-bottom: 1px solid var(--hi-rule); }
.hp-departments h2 { margin: 0 0 11px; color: var(--hi-ink); font-size: clamp(17px, 2vw, 25px); letter-spacing: -.035em; }
.hp-departments ul {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(87px, 1fr);
  gap: 7px;
  margin: 0;
  padding: 3px 3px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #9ab8cd transparent;
  list-style: none;
}
.hp-departments li { min-width: 0; scroll-snap-align: start; }
.hp-departments a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  min-height: 80px;
  height: 100%;
  padding: 5px;
  border-radius: 10px;
  color: var(--hi-ink);
  background: var(--hi-paper);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}
.hp-departments a:hover { background: #e2f2fb; color: var(--hi-blue); }
.hp-departments img { width: 42px; height: 42px; object-fit: contain; }
.hp-departments--children { margin-block: 16px 20px; padding-bottom: 10px; }
.hp-departments--children ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-departments--children a {
  flex-direction: row;
  min-height: 43px;
  padding: 6px 12px;
  gap: 14px;
  border: 1px solid var(--hi-rule);
  font-size: 13px;
}
body.hp-interior :is(.hpcat .hpseo-category-heading, .hp-shop-v3 .hp-search-header) {
  margin-bottom: 16px;
  padding: clamp(17px, 2.6vw, 36px) !important;
  border: 0;
  border-radius: var(--hi-radius);
  color: white;
  background: linear-gradient(116deg, #063550, #176080);
}
.hp-interior .hpcat-intro { gap: var(--hi-gap); }
.hp-interior :is(.hpseo-category-heading, .hp-search-header) h1 {
  margin: 0;
  color: white !important;
  font-size: clamp(28px, 3.7vw, 52px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.hp-interior :is(.hpseo-category-heading, .hp-search-header) :is(p, a, .hpcat-eyebrow, .hp-search-header__kicker) { color: #e6f5fc !important; }
.hp-interior #hpsi-content { scroll-margin-top: 120px; }
.hp-interior :is(.hpsi-layout, .hpcat-layout) { column-gap: clamp(14px, 2.1vw, 30px); }
.hp-interior :is(.hpsi-category-panel, .hpcat-sidebar-panel) {
  border-color: transparent;
  border-right: 1px solid var(--hi-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hp-interior :is(.hpsi-toolbar, .hpcat-toolbar-row) { gap: 8px; padding-block: 8px; border-bottom: 1px solid var(--hi-rule); }
.hp-interior :is(.hpsi-control, .hpcat-control, .hpcat-sidebar-open, .hpcat-filters-open, .hpcat-sort-open) {
  min-height: 42px;
  border: 1px solid var(--hi-rule);
  border-radius: 8px !important;
  background: #fff;
  color: var(--hi-ink);
}
.hp-interior :is(.hpsi-popover, .hpcat-filter-popover, .hpcat-filter-panel, .hpcat-sort-panel) {
  border-color: var(--hi-rule) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 38px #092d4925 !important;
}
.hp-interior .hpcat-grid { gap: clamp(8px, 1.3vw, 19px); }
.hp-interior .hpcat-card { border-color: var(--hi-rule); border-radius: 13px; background: #fff; }
.hp-interior .hpcat-card .hpcat-media { background: var(--hi-paper); border: 0; border-radius: 10px 10px 0 0; }
.hp-interior .hpcat-card .hpcat-photo { mix-blend-mode: multiply; }
.hp-interior .hpcat-card .hpcat-price { color: var(--hi-deep); font-weight: 750; }
.hp-interior .hpcat-card .hpcat-view { min-height: 42px; border-radius: 8px; background: var(--hi-wash); color: var(--hi-deep); border-color: transparent; }
.hp-interior .hpcat-card .hpcat-view:hover { color: white; background: var(--hi-deep); }

/* Product: photography and buying tools meet on the same baseline. */
.hp-interior .hp-product-layout { gap: 14px clamp(24px, 4.7vw, 64px); }
.hp-interior .hp-product-layout .hps13-product-head { padding-block: 6px 3px; }
.hp-interior .hps13-product-head h1 {
  color: var(--hi-deep);
  font-size: clamp(25px, 3.05vw, 43px);
  line-height: 1.06;
  letter-spacing: -.048em;
}
.hp-interior .hps13-main-image {
  border: 0;
  border-radius: var(--hi-radius);
  background: radial-gradient(ellipse at 45% 40%, #fff 3%, #f0f7fc 90%);
}
.hp-interior .hps13-main-image img:not(.hp-raster-icon) { mix-blend-mode: multiply; }
.hp-interior .hps13-thumb { border-radius: 8px; }
.hp-interior .hp-product-layout .hps13-purchase-panel {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.hp-interior .hp-product-layout .hps13-purchase-panel__top { min-height: 49px; padding-bottom: 11px; border-color: var(--hi-rule); }
.hp-interior .hps13-price .hps13-current-price { color: var(--hi-deep); font-size: clamp(27px, 3.2vw, 43px); }
body.hp-interior .hps13-buy .single_add_to_cart_button {
  min-height: 51px;
  border-color: var(--hi-deep) !important;
  border-radius: 9px !important;
  background: var(--hi-deep) !important;
  box-shadow: none !important;
}
body.hp-interior .hps13-buy .single_add_to_cart_button:hover:not(:disabled, .disabled, .is-added) { background: #145782 !important; }
body.hp-interior .hps13-buy .single_add_to_cart_button:is(:disabled, .disabled, .wc-variation-selection-needed) {
  border-color: #dce8f1 !important;
  background: #ebf1f6 !important;
  color: #466277 !important;
}
body.hp-interior .hps13-buy .single_add_to_cart_button.is-added { border-color: #18734f !important; background: #18734f !important; }
.hp-interior .hp-product-payments { margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--hi-rule); }
.hp-interior .hp-product-payments h2 { margin: 0 0 1px; color: var(--hi-muted); font-size: 12px; font-weight: 600; }
.hp-interior .hp-product-payments details {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--hi-rule);
  border-radius: 0;
  background: transparent;
}
.hp-interior .hp-product-payments summary { min-height: 44px; }
.hp-interior .hp-product-payments .hps13-installments__body { padding-block: 4px 12px; }
.hp-interior .hps13-services { padding-block: 16px; border-inline: 0; border-radius: 0; background: none; }
.hp-interior .hps13-content-body { border: 0; border-radius: 0; background: none; box-shadow: none; }
.hp-interior .hps13-tabs { padding-inline: 0; border-radius: 0; box-shadow: none; }
.hp-interior .hps13-tabs :is(a, button)[aria-current=true] { border-color: var(--hi-blue); color: var(--hi-blue); background: var(--hi-wash); }
.hp-interior .hps13-lightbox::backdrop { background: #071f34e8; }

/* Cart and checkout: white working surface, a single colored order summary. */
body.hp-interior :is(.hp-v12-cart-head, .hp-simple-head) {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding: 0 0 14px;
  margin: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--hi-rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.hp-interior :is(.hp-v12-cart-title, .hp-simple-head) h1,
.hp-interior .hps-empty__copy h1 {
  margin: 0 0 5px;
  color: var(--hi-deep);
  font-size: clamp(28px, 4.1vw, 54px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.hp-interior .hp-simple-head p { max-width: 30ch; margin: 0; color: var(--hi-muted); }
body.hp-interior.hp-cart-v12 .woocommerce-cart-form,
body.hp-interior .hp-simple-form .hp-simple-card {
  padding-inline: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hi-rule) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
body.hp-interior.hp-cart-v12 .cart_item { background: transparent; border-color: var(--hi-rule); }
.hp-interior .hp-v12-cart-list-head { padding-inline: 0; border-radius: 0; background: none; }
body.hp-interior :is(.cart_totals, .hp-simple-summary) {
  border: 0 !important;
  border-radius: var(--hi-radius) !important;
  background: var(--hi-wash) !important;
  box-shadow: none !important;
}
.hp-interior .hp-simple-summary .woocommerce-checkout-review-order-table { background: transparent; }
.hp-interior .hp-simple-section-head > span { background: var(--hi-wash); color: var(--hi-deep); }
.hp-interior :is(.hp-simple-form, .hpas-auth-card, .hp-order-tracking) :is(input:not([type=radio],[type=checkbox]), select, textarea) {
  border-radius: 8px !important;
  border-color: #b9cfdf;
}
.hp-interior .hp-simple-select-options { border-color: var(--hi-rule); border-radius: 10px; }
.hp-interior .hps-empty__art {
  display: grid;
  place-items: center;
  border-radius: var(--hi-radius);
  background: linear-gradient(130deg, #e3f3fa, #f5f9fc);
}
.hp-interior .hps-empty__categories a { border-radius: 8px; border-color: var(--hi-rule); }

 /* Account sign-in and workspace */
.hp-interior .hp-account-entry header { margin-bottom: 19px; }
.hp-interior .hp-account-entry h1 { color: var(--hi-deep); font-size: clamp(31px, 3.8vw, 51px); letter-spacing: -.05em; }
.hp-interior .hp-account-entry .hpas-guest-grid { gap: var(--hi-gap); align-items: start; }
.hp-interior .hpas-auth-card {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hp-interior .hpas-guest-benefits { border: 0; border-radius: var(--hi-radius); background: var(--hi-wash); box-shadow: none; }
.hp-interior .hpas-auth-tabs { border-radius: 9px; background: var(--hi-wash); }

.hp-interior .hp-catalog-drawer__branch[open] > summary { background: #e6f3fa; }
.hp-interior .hp-catalog-drawer__all { background: var(--hi-wash); border-color: var(--hi-rule); }

/* Guides and services: generous reading columns and few surfaces. */
.hp-interior :is(.hpguide-header, .hp-page-hero, .hp-refill__hero, .hpv2-editorial--company) {
  border: 0;
  border-radius: var(--hi-radius);
  background: linear-gradient(112deg, #e1f1fa, #f4f9fc 83%);
  box-shadow: none;
}
.hp-interior :is(.hpguide-header, .hp-page-hero, .hp-refill__hero, .hpv2-editorial--company, .hpg-reader__hero, .hps-document) h1 {
  color: var(--hi-deep);
  letter-spacing: -.048em;
  text-wrap: balance;
}
.hp-interior :is(.hpguide-card, .hprental__offer) { border-color: var(--hi-rule); border-radius: var(--hi-radius); box-shadow: none; }
.hp-interior :is(.hpguide-filters, .hpg-reading-nav, .hps-document__toc) { border: 0; border-radius: 10px; background: var(--hi-wash); box-shadow: none; }
.hp-interior .hpg-reader__hero :is(img, figure) { border-radius: var(--hi-radius); }
.hp-interior .hpg-content p { color: #28485d; line-height: 1.7; }
.hp-interior .hp-faq-list details { margin-block: 0; padding-inline: 0; border: 0; border-bottom: 1px solid var(--hi-rule); border-radius: 0; background: none; box-shadow: none; }
.hp-interior .hprental__hero,
.hp-interior .hprental__hero-visual img { border-radius: var(--hi-radius); }

@media (max-width: 767px) {
  body.hp-interior .hp-shop-index .hp-catalog-home { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .hp-catalog-home__copy { padding: 19px 15px 16px; gap: 9px; }
  .hp-catalog-home__photo { min-height: 91px; padding: 9px; background-position: center 62%; }
  .hp-catalog-home__photo span { padding: 6px 8px; font-size: 12px; }
  .hp-departments { padding-bottom: 8px; margin-top: 17px; }
  .hp-departments ul { grid-auto-columns: 78px; }
  .hp-departments a { min-height: 65px; font-size: 10px; }
  .hp-departments img { width: 31px; height: 31px; }
  .hp-departments--children ul { flex-wrap: nowrap; }
  .hp-departments--children li { flex: 0 0 auto; }
  .hp-departments--children a { min-height: 43px; font-size: 12px; }
  .hp-interior :is(.hpsi-category-panel, .hpcat-sidebar-panel) { border: 0; background: white; }
  .hp-interior :is(.hpsi-control, .hpcat-control, .hpcat-sidebar-open, .hpcat-filters-open, .hpcat-sort-open, .hpcat-card .hpcat-view) { min-height: 44px; }
  .hp-interior .hp-product-layout { row-gap: 10px; }
  .hp-interior .hp-product-layout .hps13-product-head { padding-top: 0; }
  body.hp-interior :is(.hp-v12-cart-head, .hp-simple-head) { align-items: start; flex-direction: column; gap: 6px; margin-bottom: 12px; padding-bottom: 10px; }
  .hp-interior .hp-v12-cart-head .hpux-progress { gap: 5px; }
  .hp-interior .hp-v12-cart-head .hpux-step { min-width: 0; font-size: 11px; }
}

.hp-catalog-home__photo { align-self: stretch; }
.hp-interior .hps13-core + .hps13-choice-facts {
  margin: 20px 0 0;
  padding: 15px 0;
  border-block: 1px solid var(--hi-rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(126px, 100%), 1fr));
  gap: 8px 18px;
}
.hp-interior .hp-support-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-block: 18px 0;
}
.hp-interior .hp-support-shortcuts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 65px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--hi-deep);
  background: var(--hi-wash);
}
.hp-interior .hp-support-shortcuts :is(strong,small) { display: block; line-height: 1.35; }
.hp-interior .hp-support-shortcuts small { margin-top: 3px; color: var(--hi-muted); }
.hp-interior .hpguide-header:has(.hp-guide-featured) { display: grid; grid-template-columns: 1fr minmax(0,.86fr); gap: var(--hi-gap); align-items: center; }
.hp-interior .hp-guide-featured { display: grid; position: relative; align-items: end; min-height: 190px; overflow: hidden; border-radius: 12px; background: var(--hi-deep); color: white; }
.hp-interior .hp-guide-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-interior .hp-guide-featured > span { position: relative; display: grid; gap: 3px; padding: 44px 15px 12px; background: linear-gradient(0deg, #031c32f2 0%, #031c3280 55%, transparent); }
.hp-interior .hp-guide-featured small { color: #bbe5f7; }
.hp-interior .hp-guide-featured strong { max-width: 49ch; font-size: clamp(14px,1.7vw,23px); line-height: 1.25; }
.hp-interior .hp-catalog-drawer .hp-catalog-head { border-bottom: 0; }
.hp-interior .hp-catalog-drawer .hp-catalog-drawer__footer { border-color: var(--hi-rule); background: #fff; }
.hp-interior .hp-catalog-drawer .hp-catalog-drawer__shop { border-radius: 8px; background: var(--hi-deep); color: white; }
@media (max-width:767px) {
  .hp-interior .hp-support-shortcuts { grid-template-columns: minmax(0,1fr); gap: 5px; margin-block: 9px 0; }
  .hp-interior .hp-support-shortcuts a { min-height: 49px; padding: 7px 11px; }
  .hp-interior .hpguide-header:has(.hp-guide-featured) { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .hp-interior .hp-guide-featured { min-height: 160px; }
}

/* Interior service pages and less common catalogue states. */
.hp-interior :is(.hp-policy-grid, .hp-support-grid, .hp-process-grid) > article {
  min-width: 0;
  border: 0;
  border-top: 1px solid var(--hi-rule);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.hp-interior .hp-policy-grid { gap: clamp(12px, 2.5vw, 34px); }
.hp-interior .hp-contact-grid :is(.hp-form-card, .hp-contact-card) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hp-interior .hp-refill__price-grid > * { border-color: var(--hi-rule); box-shadow: none; }
.hp-interior .hps-document__body { max-width: 82ch; color: var(--hi-ink); line-height: 1.68; }
.hp-interior .hps-document__body :is(h2,h3) { color: var(--hi-deep); letter-spacing: -.026em; }
.hp-interior .hp-smart-result-card { border-color: var(--hi-rule); box-shadow: none; }
.hp-interior .hp-smart-result-card__media { background: var(--hi-paper); }
.hp-interior .hp-smart-result-card__cta { border-color: transparent; background: var(--hi-wash); color: var(--hi-deep); }
.hp-interior .hp-wishlist-main :is(.hp-wishlist-card,.hp-compare-sheet) { border-color: var(--hi-rule); box-shadow: none; }
.hp-interior .hp-a73-footer { margin-top: clamp(24px, 4vw, 62px); border-top: 1px solid var(--hi-rule); }
.hp-interior .hp-simple-head h1 { margin-bottom: 0; }

.hp-interior .hpguide-header:has(.hp-guide-featured) { padding: clamp(14px,2.3vw,30px); }

/* Keep the uncropped image inside a consistent cart thumbnail. */
body.hp-interior.hp-cart-v12 .product-thumbnail > a:not(.remove) {
  display: grid !important;
  place-items: center;
  width: 88px !important;
  height: 88px !important;
  padding: 5px !important;
  border-radius: 11px !important;
  background: var(--hi-paper) !important;
}
body.hp-interior.hp-cart-v12 .product-thumbnail img.hp-v12-cart-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  margin: 0 !important;
}
@media(max-width:767px) {
  body.hp-interior.hp-cart-v12 .product-thumbnail > a:not(.remove) {
    width: 70px !important;
    height: 70px !important;
  }
}

