/* Front-page adaptations of the theme's own storefront layout. */
.wp-site-blocks > header:has(> .ps-clone-header) { position: sticky; top: 0; z-index: 1034; }
.admin-bar .wp-site-blocks > header:has(> .ps-clone-header) { top: 32px; }
#pageHeader.ps-clone-header { position: relative; top: 0; height: auto; padding: 0; }
.ps-clone-header .ps-container, .ps-clone-footer .ps-container {
  box-sizing: border-box; width: min(100%,1170px); max-width: 1170px;
  margin-inline: auto; padding-inline: clamp(14px,2.5vw,20px);
}
.ps-clone-header .header__template { min-width: 0; margin-block: 0; }
.ps-clone-header .header__logo, .ps-clone-search-row, .ps-clone-search-row .header__search,
.ps-clone-search-row .proshop-search__field, .ps-clone-search-row .site-search { min-width: 0; }
.ps-clone-header .header__logo a { display: block; max-width: 100%; }
.ps-clone-header .header__logo img { display: block; height: auto; }
.ps-clone-header .ps-clone-search-row { grid-area: search; display: flex; align-items: center; gap: 8px; }
.ps-clone-search-row .header__search { padding: 0; flex: 1 1 0; }
.ps-clone-search-row form { width: 100%; box-sizing: border-box; }
.ps-clone-header .header__categories { grid-area: categories; }
.ps-clone-header .header__icon { justify-content: center; }
.ps-clone-header .ps-clone-mobile-nav { display: none; }
.ps-clone-header .ps-clone-shortcuts { position: relative; inset: auto; padding-block: 12px; margin: 0; }
.ps-clone-header .menu-top__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.ps-clone-header .menu-top .wp-block-navigation { gap: clamp(12px,1.9vw,28px); }
.ps-clone-header .menu-top a { white-space: nowrap; }
.ps-clone-footer .site-footer-newsletterContainer { align-items: center; gap: 14px; }
.ps-clone-footer .ps-clone-newsletter { margin: 0; width: 100%; }
.ps-clone-footer .ps-clone-newsletter a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: white; border-radius: 50px; min-height: 54px; padding: 4px 5px 4px 18px; color: #121212;
}
.ps-clone-footer .ps-clone-newsletter a::after {
  content: '→'; display: grid; place-items: center; flex: 0 0 44px; height: 44px;
  border-radius: 50%; background: var(--ps-stock,#2b642b); color: white; font-size: 22px;
}
.ps-clone-footer .footer__top .wp-block-social-links { display: flex; flex-wrap: wrap; justify-content: center; }
.ps-clone-footer .footer__top .wp-block-social-links .wp-social-link svg { width: 36px; height: 36px; }
.ps-clone-footer .ps-clone-countries { width: 100%; max-width: 100%; }
.ps-clone-footer .ps-clone-countries summary { cursor: pointer; border: 1px solid #cbcbcb; padding: 8px 10px; border-radius: 5px; }
.ps-clone-footer .ps-clone-countries[open] > p { margin-top: 10px; }
.ps-clone-footer :is(.ps-clone-trust-row,.ps-clone-bottom-row) { padding-block: 18px; }
.ps-clone-footer :is(.ps-clone-trust-row,.ps-clone-bottom-row) > ul {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0 auto;
}
.ps-clone-footer :is(.ps-clone-trust-row,.ps-clone-bottom-row) li a { display: inline-block; background: white; border: 1px solid #ddd; border-radius: 4px; padding: 8px 12px; }
.ps-clone-header a:focus-visible, .ps-clone-header button:focus-visible, .ps-clone-footer :is(a,button,summary):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (min-width: 992px) {
  .ps-clone-header .header__template { grid-template-columns: minmax(175px,250px) minmax(0,1fr) auto; grid-template-areas: 'logo search categories'; gap: clamp(18px,3vw,40px); min-height: 104px; }
}
@media (width < 992px) {
  .ps-clone-header .header__template { display: flex; flex-wrap: wrap; gap: 12px 8px; align-items: center; padding-block: 12px; }
  .ps-clone-header .header__logo { order: 0; flex: 1 1 0; }
  .ps-clone-header .header__logo a { width: min(175px,100%); }
  .ps-clone-header .header__categories { order: 1; flex: 0 0 auto; gap: 4px; }
  .ps-clone-header .header__icon { width: 44px; min-width: 44px; max-width: 44px; height: 44px; max-height: 44px; }
  .ps-clone-header .header__icon i { transform: scale(.8); }
  .ps-clone-header .header__text { display: block; position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .ps-clone-header .ps-clone-search-row { order: 2; flex: 0 0 100%; }
  .ps-clone-header .ps-clone-mobile-nav { display: flex; flex: none; }
  .ps-clone-header .ps-clone-mobile-nav .wp-block-navigation__responsive-container-open { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .ps-clone-header .ps-clone-mobile-nav .wp-block-navigation__responsive-container.is-menu-open { z-index: 1100; }
  .ps-clone-footer .ps-clone-newsletter { max-width: 480px; justify-self: center; }
}
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header:has(> .ps-clone-header) { top: 46px; } }
