:root {
  --rabano-navy: #001f46;
  --rabano-navy-deep: #001936;
  --rabano-orange: #ff520d;
  --rabano-orange-dark: #e94400;
  --rabano-action-orange: #d83f00;
  --rabano-action-orange-hover: #b93600;
  --rabano-blue: #076cf2;
  --rabano-ink: #071d3a;
  --rabano-muted: #53647a;
  --rabano-line: #dce3ec;
  --rabano-soft: #f5f8fc;
  --rabano-radius: 14px;
  --rabano-shadow: 0 10px 28px rgba(0, 31, 70, .08);
}

.rabano-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rabano-homepage {
  display: block;
  visibility: hidden;
  position: relative;
  left: 50%;
  width: min(1320px, calc(var(--rabano-document-width, 100vw) - 48px));
  max-width: none;
  margin: 18px 0 26px;
  transform: translateX(-50%);
  color: var(--rabano-ink);
}

body.rabano-home-ready .rabano-homepage {
  visibility: visible;
}

body#index .page-content--home > .ps-featuredproducts,
body#index .page-content--home > .ps-banner,
body#index .page-content--home > .ps-newproducts {
  display: none !important;
}

.rabano-homepage *,
.rabano-footer * {
  box-sizing: border-box;
}

/* Replace the five visible Material Icons on the storefront with tiny CSS
   masks. The original icon font remains available on pages that still need
   it, but the homepage no longer downloads 125 KB only for these glyphs. */
.ps-searchbar__magnifier.material-icons,
.header-block__icon.material-icons,
body#index .product-miniature__add .material-icons {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  background-color: currentColor;
  font-family: inherit !important;
  font-size: 0 !important;
  line-height: 0;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ps-searchbar__magnifier.material-icons {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m16 16 5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m16 16 5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

a[href*="/logowanie"] .header-block__icon.material-icons {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

a[href*="/koszyk"] .header-block__icon.material-icons,
body#index .product-miniature__add .material-icons {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 7H6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 7H6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E");
}

.rabano-header__actions-target .header-block__badge,
.rabano-mainnav__promotion-link,
body#index .ps-newproducts .product-miniature__price,
.rabano-home-category__title,
.rabano-home-benefit strong,
.rabano-footer__contact p strong {
  font-weight: 600;
}

.rabano-homepage a:focus-visible,
.rabano-footer a:focus-visible {
  outline: 3px solid #ff9b72;
  outline-offset: 3px;
}

.rabano-homepage__inner {
  width: 100%;
}

.rabano-home-hero {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--rabano-radius);
  box-shadow: var(--rabano-shadow);
  background: var(--rabano-soft);
}

.rabano-home-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.rabano-home-hero picture {
  display: block;
}

.rabano-home-categories {
  margin-top: 18px;
}

.rabano-home-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rabano-home-category {
  position: relative;
  display: block;
  min-height: 265px;
  overflow: hidden;
  border: 1px solid var(--rabano-line);
  border-radius: var(--rabano-radius);
  background: #eef7ff;
  color: var(--rabano-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 5px 18px rgba(0, 31, 70, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rabano-home-category:nth-child(2) {
  background: #f7f7ef;
}

.rabano-home-category:hover {
  transform: translateY(-2px);
  border-color: #c6d2df;
  box-shadow: var(--rabano-shadow);
}

.rabano-home-category::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 39%, rgba(255,255,255,.22) 69%, rgba(255,255,255,0) 100%);
}

.rabano-home-category__image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.45);
  transform-origin: 50% 50%;
}

.rabano-home-category__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 54%;
  min-height: 265px;
  padding: 30px 0 30px 38px;
}

.rabano-home-category__title {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.15vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.rabano-home-category__description {
  display: block;
  max-width: 270px;
  min-height: 48px;
  margin-bottom: 24px;
  color: #354a63;
  font-size: 1rem;
  line-height: 1.5;
}

.rabano-home-category__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 8px;
  background: var(--rabano-navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(0, 31, 70, .18);
}

.rabano-home-products {
  margin-top: 26px;
}

.rabano-home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 16px;
  padding: 0 4px;
}

.rabano-home-section-heading h2 {
  margin: 0;
  color: var(--rabano-ink);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.rabano-home-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--rabano-blue);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.rabano-home-products__target[aria-busy="true"] {
  min-height: 240px;
  border-radius: var(--rabano-radius);
  background: linear-gradient(100deg, #f5f7fa 20%, #fff 40%, #f5f7fa 60%);
  background-size: 200% 100%;
  animation: rabano-home-loading 1.5s infinite;
}

@keyframes rabano-home-loading {
  to { background-position-x: -200%; }
}

.rabano-home-products__target > .products,
.rabano-home-products__native-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 0 !important;
}

.rabano-home-products__target[data-product-count="1"] > .products {
  grid-template-columns: minmax(0, 1fr);
}

.rabano-home-products__target[data-product-count="2"] > .products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rabano-home-products__target[data-product-count="3"] > .products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rabano-home-products__target .product-miniature {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.rabano-home-products__target .product-miniature__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--rabano-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 31, 70, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rabano-home-products__target .product-miniature__inner:hover {
  transform: translateY(-3px);
  border-color: #cbd7e4;
  box-shadow: var(--rabano-shadow);
}

.rabano-home-products__target .product-miniature__top {
  position: relative;
  padding: 14px 14px 0;
}

.rabano-home-products__target .product-miniature__image-container,
.rabano-home-products__target .product-miniature__image-link {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0 !important;
  border-radius: 9px;
  background: #fff;
}

.rabano-home-products__target .product-miniature__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 330px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform .25s ease;
}

.rabano-home-products__target .product-miniature__inner:hover .product-miniature__image {
  transform: scale(1.025);
}

.rabano-home-products__target .product-flags {
  top: 12px !important;
  left: 12px !important;
  z-index: 3;
  gap: 5px;
}

.rabano-home-products__target .product-flags .badge {
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--rabano-blue);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
}

.rabano-home-products__target .product-flags .discount,
.rabano-home-products__target .product-flags .on-sale {
  background: var(--rabano-action-orange);
}

.rabano-home-products__target .product-miniature__quickview-button,
.rabano-home-products__target .product-miniature__quickview-touch,
.rabano-home-products__target .product-list-review {
  display: none !important;
}

.rabano-home-products__target .product-miniature__bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 15px 20px 18px;
}

.rabano-home-products__target .product-miniature__infos {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
}

.rabano-home-products__target .product-miniature__title {
  display: -webkit-box;
  min-height: 46px;
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--rabano-ink) !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rabano-home-products__target .product-miniature__prices {
  margin-top: auto;
}

.rabano-home-products__target .product-miniature__price {
  color: var(--rabano-ink);
  font-size: 1.15rem;
  font-weight: 600;
}

.rabano-home-products__target .product-miniature__actions {
  width: 100%;
  margin-top: 14px;
}

.rabano-home-products__target .product-miniature__form {
  display: block;
  width: 100%;
}

.rabano-home-products__target .quantity-button {
  display: none !important;
}

.rabano-home-products__target .product-miniature__add {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--rabano-action-orange);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: none;
}

.rabano-home-products__target .product-miniature__add:hover {
  background: var(--rabano-action-orange-hover);
}

.rabano-home-products__target .product-miniature__add:focus-visible {
  outline: 3px solid rgba(216, 63, 0, .34);
  outline-offset: 3px;
}

.rabano-home-products__target .product-miniature__add-text {
  display: inline !important;
}

.rabano-home-products__target .product-miniature__add .material-icons {
  font-size: 1.3rem;
}

.rabano-home-benefits {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--rabano-line);
  border-radius: 12px;
  background: #fff;
}

.rabano-home-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rabano-home-benefit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 94px;
  margin: 0;
  padding: 18px 24px;
}

.rabano-home-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: var(--rabano-line);
}

.rabano-home-benefit > svg {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  color: var(--rabano-orange);
}

.rabano-home-benefit span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.rabano-home-benefit strong {
  color: var(--rabano-ink);
  font-size: .97rem;
  line-height: 1.25;
}

.rabano-home-benefit small {
  color: var(--rabano-muted);
  font-size: .84rem;
  line-height: 1.35;
}

/* The native newsletter form remains untouched and functional. */
body.rabano-home-ready .footer__before {
  padding: 0 24px 18px;
  background: #fff;
}

body.rabano-home-ready .footer__before .ps-emailsubscription {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 18px 0 !important;
  overflow: hidden;
  border: 1px solid #dbe5f2;
  border-radius: var(--rabano-radius);
  background: #eef4fc url("../img/newsletter-envelope.svg") no-repeat 34px 50% / 118px auto !important;
}

body.rabano-home-ready .footer__before .ps-emailsubscription > .container {
  width: 100%;
  max-width: none;
  padding: 0 36px 0 170px;
}

body.rabano-home-ready .footer__before .ps-emailsubscription .row {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(420px, 1.4fr);
  align-items: center;
  gap: 30px;
  margin: 0;
}

body.rabano-home-ready .footer__before .ps-emailsubscription .h3,
body.rabano-home-ready .footer__before .ps-emailsubscription form {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.rabano-home-ready .footer__before .ps-emailsubscription .h3 {
  color: var(--rabano-ink);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
}

body.rabano-home-ready .footer__before .ps-emailsubscription form > .d-flex {
  gap: 0 !important;
  margin: 0 !important;
}

body.rabano-home-ready .footer__before .ps-emailsubscription input[type="email"] {
  min-height: 52px;
  border: 1px solid #d4dce7;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: rgba(255,255,255,.94);
  box-shadow: none;
}

body.rabano-home-ready .footer__before .ps-emailsubscription input[type="submit"] {
  min-width: 160px;
  min-height: 52px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--rabano-action-orange);
  color: #fff;
  font-weight: 600;
}

body.rabano-home-ready .footer__before .ps-emailsubscription input[type="submit"]:hover {
  background: var(--rabano-action-orange-hover);
}

body.rabano-home-ready .footer__before .ps-emailsubscription .text-body-secondary {
  margin-top: 7px !important;
  color: #64748b !important;
  font-size: .76rem !important;
  line-height: 1.35;
}

/* Custom footer replaces only the visual output of existing footer blocks. */
.rabano-footer {
  display: none;
  position: relative;
  left: 50%;
  width: var(--rabano-document-width, 100vw);
  max-width: none;
  margin: 0;
  overflow: hidden;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 22% 43%, rgba(80,136,196,.16) 0 1px, transparent 2px) 0 0 / 13px 13px,
    linear-gradient(115deg, var(--rabano-navy-deep), #002b5b 73%, #001b3a);
  color: #fff;
}

body.rabano-footer-ready .rabano-footer {
  display: block;
}

.rabano-footer::before,
.rabano-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rabano-footer::before {
  right: -130px;
  bottom: -125px;
  width: 520px;
  height: 280px;
  border: 2px solid rgba(255,82,13,.38);
  border-radius: 50%;
  box-shadow: 0 -18px 0 -17px rgba(255,82,13,.45), 0 -36px 0 -35px rgba(255,82,13,.3), 0 -54px 0 -53px rgba(255,82,13,.2);
  transform: rotate(-9deg);
}

.rabano-footer::after {
  left: -90px;
  bottom: -150px;
  width: 520px;
  height: 250px;
  border: 2px solid rgba(255,82,13,.28);
  border-radius: 50%;
  transform: rotate(9deg);
}

.rabano-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 34px 18px;
}

.rabano-footer__grid {
  display: grid;
  grid-template-columns: .9fr 1fr .85fr 1.25fr;
  gap: clamp(30px, 5vw, 88px);
}

.rabano-footer__column h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.rabano-footer__column ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rabano-footer__column a,
.rabano-footer__contact p {
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  line-height: 1.45;
  text-decoration: none;
}

.rabano-footer__column a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rabano-footer__contact p {
  margin: 0 0 13px;
}

.rabano-footer__contact p strong {
  color: #fff;
}

.rabano-footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rabano-footer__contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.rabano-footer__contact-links svg {
  width: 18px;
  height: 18px;
}

.rabano-footer__copyright {
  margin: 28px 0 0;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1099px) {
  .rabano-home-category {
    min-height: 235px;
  }

  .rabano-home-category__content {
    width: 62%;
    min-height: 235px;
    padding-left: 28px;
  }

  .rabano-home-category__image {
    width: 61%;
  }

  .rabano-home-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rabano-home-benefit:nth-child(2)::after {
    display: none;
  }

  .rabano-home-benefit:nth-child(-n+2) {
    border-bottom: 1px solid var(--rabano-line);
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription .row {
    grid-template-columns: minmax(220px, .8fr) minmax(380px, 1.4fr);
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .rabano-homepage {
    width: min(100% - 28px, 1320px);
    margin-top: 14px;
  }

  .rabano-home-categories__grid {
    grid-template-columns: 1fr;
  }

  .rabano-home-category,
  .rabano-home-category__content {
    min-height: 225px;
  }

  .rabano-home-category__content {
    width: 58%;
  }

  .rabano-home-products__target > .products,
  .rabano-home-products__native-grid,
  .rabano-home-products__target[data-product-count="3"] > .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.rabano-home-ready .footer__before {
    padding: 0 14px 14px;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription {
    padding: 24px 0 !important;
    background-position: 24px 24px !important;
    background-size: 88px auto !important;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription > .container {
    padding: 0 24px 0 132px;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription .row {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .rabano-footer__inner {
    width: min(100% - 28px, 1320px);
    padding: 30px 14px 18px;
  }

  .rabano-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }
}

@media (max-width: 575px) {
  .rabano-homepage {
    width: calc(var(--rabano-document-width, 100vw) - 20px);
    margin-top: 16px;
  }

  .rabano-home-hero {
    border-radius: 10px;
  }

  .rabano-home-hero img {
    min-height: 0;
    aspect-ratio: 3 / 1;
    object-position: center;
  }

  .rabano-home-categories {
    margin-top: 12px;
  }

  .rabano-home-categories__grid {
    gap: 12px;
  }

  .rabano-home-category,
  .rabano-home-category__content {
    min-height: 205px;
  }

  .rabano-home-category__content {
    width: 70%;
    padding: 24px 0 24px 20px;
  }

  .rabano-home-category__image {
    width: 62%;
    transform: scale(1.65);
  }

  .rabano-home-category::after {
    background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 49%, rgba(255,255,255,.28) 78%, transparent 100%);
  }

  .rabano-home-category__title {
    margin-bottom: 7px;
    font-size: 1.45rem;
  }

  .rabano-home-category__description {
    min-height: 0;
    margin-bottom: 17px;
    font-size: .88rem;
  }

  .rabano-home-category__button {
    min-height: 42px;
    padding: 9px 14px;
    font-size: .72rem;
  }

  .rabano-home-products {
    margin-top: 20px;
  }

  .rabano-home-section-heading {
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 12px;
  }

  .rabano-home-section-heading h2 {
    font-size: 1.4rem;
  }

  .rabano-home-section-heading > a {
    font-size: .76rem;
  }

  .rabano-home-section-heading > a svg {
    width: 14px;
    height: 14px;
  }

  .rabano-home-products__target > .products,
  .rabano-home-products__native-grid,
  .rabano-home-products__target[data-product-count="2"] > .products,
  .rabano-home-products__target[data-product-count="3"] > .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .rabano-home-products__target .product-miniature__top {
    padding: 8px 8px 0;
  }

  .rabano-home-products__target .product-miniature__bottom {
    padding: 10px 10px 12px;
  }

  .rabano-home-products__target .product-miniature__title {
    min-height: 42px;
    margin-bottom: 7px;
    font-size: .84rem;
    line-height: 1.35;
  }

  .rabano-home-products__target .product-miniature__price {
    font-size: .98rem;
  }

  .rabano-home-products__target .product-miniature__actions {
    margin-top: 10px;
  }

  .rabano-home-products__target .product-miniature__add {
    min-height: 43px;
    padding: 8px 7px;
    font-size: .78rem;
  }

  .rabano-home-products__target .product-miniature__add .material-icons {
    font-size: 1.05rem;
  }

  .rabano-home-products__target .product-flags {
    top: 7px !important;
    left: 7px !important;
  }

  .rabano-home-products__target .product-flags .badge {
    padding: 4px 7px;
    font-size: .67rem;
  }

  .rabano-home-benefits {
    margin-top: 20px;
  }

  .rabano-home-benefits__grid {
    grid-template-columns: 1fr;
  }

  .rabano-home-benefit {
    justify-content: flex-start;
    min-height: 76px;
    padding: 14px 22px;
  }

  .rabano-home-benefit:not(:last-child) {
    border-bottom: 1px solid var(--rabano-line);
  }

  .rabano-home-benefit::after {
    display: none;
  }

  .rabano-home-benefit > svg {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  body.rabano-home-ready .footer__before {
    padding: 0 10px 10px;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription {
    background-position: calc(100% - 14px) 16px !important;
    background-size: 74px auto !important;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription > .container {
    padding: 0 16px;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription .h3 {
    max-width: calc(100% - 84px);
    font-size: 1.2rem;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription form > .d-flex {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription input[type="email"] {
    min-width: 0;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription input[type="submit"] {
    min-width: 112px;
    padding-inline: 14px;
  }

  .rabano-footer__inner {
    width: calc(100% - 20px);
    padding-inline: 10px;
  }

  .rabano-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 27px 20px;
  }

  .rabano-footer__column h2 {
    font-size: .85rem;
  }

  .rabano-footer__column a,
  .rabano-footer__contact p {
    font-size: .8rem;
  }
}

@media (max-width: 389px) {
  .rabano-home-section-heading {
    display: block;
  }

  .rabano-home-section-heading > a {
    margin-top: 7px;
  }

  .rabano-home-products__target > .products,
  .rabano-home-products__native-grid,
  .rabano-home-products__target[data-product-count="2"] > .products,
  .rabano-home-products__target[data-product-count="3"] > .products {
    grid-template-columns: 1fr;
  }

  .rabano-home-products__target .product-miniature__image {
    max-height: 300px;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription form > .d-flex {
    grid-template-columns: 1fr;
    gap: 8px !important;
  }

  body.rabano-home-ready .footer__before .ps-emailsubscription input[type="email"],
  body.rabano-home-ready .footer__before .ps-emailsubscription input[type="submit"] {
    width: 100%;
    border: 1px solid #d4dce7;
    border-radius: 8px;
  }

  .rabano-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rabano-home-category,
  .rabano-home-products__target .product-miniature__inner,
  .rabano-home-products__target .product-miniature__image {
    transition: none;
  }
}

@media (max-width: 767.98px) {
  .rabano-home-hero img {
    aspect-ratio: 1 / 1;
  }
}

/* Global newsletter and footer transition. These rules intentionally use the
   native ps_emailsubscription form and the existing custom footer markup. */
body.rabano-footer-ready .footer__before {
  padding: 28px 24px 18px;
  background: #fff;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription,
body.rabano-footer-ready .footer__before .rabano-newsletter {
  position: relative;
  width: min(1320px, 100%);
  min-height: 166px;
  margin: 0 auto;
  padding: 22px 0 !important;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background-color: #eef5fa !important;
  background-image:
    url("../img/newsletter-envelope.svg"),
    radial-gradient(ellipse at 92% 135%, transparent 0 49%, rgba(156, 188, 224, .22) 50% 54%, transparent 55% 100%),
    radial-gradient(ellipse at 76% 142%, transparent 0 52%, rgba(194, 214, 237, .38) 53% 58%, transparent 59% 100%),
    linear-gradient(112deg, rgba(255, 255, 255, .94), rgba(235, 244, 253, .9)) !important;
  background-repeat: no-repeat !important;
  background-position: 30px center, right bottom, right bottom, center !important;
  background-size: 142px auto, 70% 150%, 82% 170%, 100% 100% !important;
  box-shadow: 0 6px 22px rgba(15, 31, 46, .04);
}

body.rabano-footer-ready .footer__before .ps-emailsubscription > .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 0 32px 0 190px;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription .row {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: 32px;
  margin: 0;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription .h3,
body.rabano-footer-ready .footer__before .rabano-newsletter__title,
body.rabano-footer-ready .footer__before .ps-emailsubscription form {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription .h3,
body.rabano-footer-ready .footer__before .rabano-newsletter__title {
  max-width: 350px;
  color: var(--rabano-ink);
  font-size: clamp(1.38rem, 2vw, 1.82rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription form {
  justify-self: end;
  width: 100%;
  max-width: 650px;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription form > .d-flex,
body.rabano-footer-ready .footer__before .rabano-newsletter__form-row {
  display: flex !important;
  align-items: stretch !important;
  width: 100%;
  max-width: 650px;
  margin: 0 !important;
  gap: 0 !important;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription input[type="email"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  padding: 0 18px;
  color: var(--rabano-ink);
  background: rgba(255, 255, 255, .97);
  border: 1px solid #d8dee8;
  border-right: 0;
  border-radius: 9px 0 0 9px;
  box-shadow: none;
  font-size: 15px;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription input[type="submit"] {
  flex: 0 0 auto;
  min-width: 142px;
  height: 50px;
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: var(--rabano-action-orange);
  border: 0;
  border-radius: 0 9px 9px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription input[type="submit"]:hover {
  background: var(--rabano-action-orange-hover);
}

body.rabano-footer-ready .footer__before .ps-emailsubscription input[type="email"]:focus,
body.rabano-footer-ready .footer__before .ps-emailsubscription input[type="submit"]:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid rgba(255, 106, 0, .28);
  outline-offset: 2px;
  box-shadow: none;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription .text-body-secondary,
body.rabano-footer-ready .footer__before .rabano-newsletter__help {
  margin-top: 8px !important;
  color: #667085 !important;
  font-size: 12px !important;
  line-height: 1.4;
}

body.rabano-footer-ready .footer__before .ps-emailsubscription .alert {
  margin-bottom: 10px !important;
  font-size: 13px;
  line-height: 1.4;
}

body.rabano-footer-ready .footer__main {
  min-height: 0;
  padding: 0 !important;
  background: transparent !important;
}

body.rabano-footer-ready .footer__main > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.rabano-footer-ready .footer__main-top {
  margin: 0;
}

@media (max-width: 991.98px) {
  body.rabano-footer-ready .footer__before .ps-emailsubscription,
  body.rabano-footer-ready .footer__before .rabano-newsletter {
    min-height: 182px;
    background-position: 25px center, right bottom, right bottom, center !important;
    background-size: 126px auto, 76% 150%, 88% 170%, 100% 100% !important;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription > .container {
    padding: 0 26px 0 166px;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription .row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription form {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  body.rabano-footer-ready .footer__before {
    padding: 18px 12px 12px;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription,
  body.rabano-footer-ready .footer__before .rabano-newsletter {
    min-height: 0;
    padding: 116px 0 18px !important;
    background-position: 16px 14px, right bottom, right bottom, center !important;
    background-size: 76px auto, 145% 80%, 165% 90%, 100% 100% !important;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription > .container {
    padding: 0 16px;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription .row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription .h3,
  body.rabano-footer-ready .footer__before .rabano-newsletter__title {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    max-width: none;
    min-height: 58px;
    padding-left: 84px;
    font-size: 1rem;
    line-height: 1.18;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription form > .d-flex,
  body.rabano-footer-ready .footer__before .rabano-newsletter__form-row {
    flex-direction: column;
    gap: 10px !important;
  }

  body.rabano-footer-ready .footer__before .ps-emailsubscription input[type="email"],
  body.rabano-footer-ready .footer__before .ps-emailsubscription input[type="submit"] {
    width: 100%;
    min-width: 0;
    border: 1px solid #d8dee8;
    border-radius: 8px;
  }
}
