﻿/* Colors */
.leading-1 {
  line-height: 1 !important;
}

.leading-xs {
  line-height: 1.1 !important;
}

.leading-sm {
  line-height: 1.25 !important;
}

.leading-base {
  line-height: 1.375 !important;
}

.leading-normal {
  line-height: 1.5 !important;
}

.leading-md {
  line-height: 1.625 !important;
}

.leading-lg {
  line-height: 1.75 !important;
}

.leading-xl {
  line-height: 2 !important;
}

.leading-2 {
  line-height: 2 !important;
}

.leading-none {
  line-height: 0 !important;
}

.leading-tight {
  line-height: 1.25 !important;
}

.leading-snug {
  line-height: 1.375 !important;
}

.leading-relaxed {
  line-height: 1.625 !important;
}

.leading-loose {
  line-height: 1.75 !important;
}

/* Border Radius */
/* Spacing */
/* transitions */
.footer-strip .footer-strip__container {
  width: 100%;
  max-width: 1280px;
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.subscription-form div.field {
  display: flex;
  gap: 0.3rem;
  width: 100%;
}
.subscription-form input[type=email] {
  margin: 0 !important;
}
.subscription-form .checkbox {
  margin-top: 5px;
  margin-bottom: 5px;
  align-items: start;
}
.subscription-form .checkbox__label.font-sm {
  font-size: 10px;
  font-weight: normal;
}
.subscription-form .checkbox__label.font-sm a {
  text-decoration: underline;
}

footer .footer-content-section a[target=_blank] {
  text-decoration: underline;
  color: black;
  margin-bottom: 0.5rem;
  align-items: center;
  display: flex;
}


/* Mobile hamburger redesign — Matus-warmup only */
.menu-mobile__top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 -.5rem .25rem;
  padding: .25rem .625rem;
  background: #fff;
}
.menu-mobile__top .menu-mobile__account {
  min-width: 0;
  padding: .25rem .25rem .25rem 0;
  white-space: nowrap;
}
.menu-mobile__top .menu-mobile__account .icon {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  opacity: .65;
}
.menu-mobile__top .menu-mobile__close {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  padding: .5rem;
}
.menu-mobile__top .menu-mobile__close img {
  display: block;
}
.menu-mobile {
  border-radius: 1.5rem 0 0 1.5rem;
}
.menu-mobile__action-area {
  padding: 0 .875rem;
  border-bottom: 1px solid #eee;
}
.menu-mobile__action-area .menu-mobile__repeat-order {
  min-height: 3.125rem;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.menu-mobile__action-area .menu-mobile__repeat-order .icon {
  width: 1.75rem;
  height: 1.75rem;
  opacity: .8;
}
.menu-mobile__action-area .menu-mobile__favorites {
  display: flex;
  align-items: center;
  min-height: 3.125rem;
  padding: 0;
  gap: .75rem;
  white-space: nowrap;
  text-decoration: none;
}
.menu-mobile__action-area .menu-mobile__favorites .icon {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  opacity: .65;
}
.menu-mobile__list--direct {
  margin-top: .4375rem;
  padding-top: .3125rem;
  border-top: 1px solid rgba(175, 24, 23, .22);
}
.menu-mobile__list--direct .menu-mobile__item--direct > .menu-mobile__link {
  min-height: 3rem;
  margin: 0;
  padding: .5rem .875rem;
  border-radius: .75rem;
  color: #AF1817;
  background: transparent;
}
.menu-mobile__list--direct .menu-mobile__item--direct > .menu-mobile__link:hover,
.menu-mobile__list--direct .menu-mobile__item--direct > .menu-mobile__link:focus-visible {
  color: #AF1817;
  background: #f5f5f5;
}
.menu-mobile__gift-icon {
  flex: 0 0 2.5rem;
}
.menu-mobile__contacts > .menu-mobile__contacts-summary {
  display: flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding-bottom: .75rem;
}
.menu-mobile__contacts > .menu-mobile__contacts-summary::-webkit-details-marker {
  display: none;
}
.menu-mobile__contacts > .menu-mobile__contacts-summary::after {
  content: "›";
  margin-left: auto;
  color: #666;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .2s ease;
}
.menu-mobile__contacts[open] > .menu-mobile__contacts-summary::after {
  transform: rotate(90deg);
}
.menu-mobile__contacts-content {
  padding: 0 0 .5rem .75rem;
}
.menu-mobile__contacts-content .menu-mobile__link {
  padding: .5rem .875rem;
}
/* Desktop Akce mega-menu */
.mega-menu__grid-container--1085 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.mega-menu__promo-icon-wrap {
  position: relative;
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
}
.mega-menu__promo-icon-image {
  width: 3.25rem;
  height: 3.25rem;
  max-width: none;
  object-fit: contain;
}
.mega-menu__promo-badge {
  position: absolute;
  right: -.25rem;
  bottom: -.25rem;
  display: flex;
  width: 1.3rem;
  height: 1.3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #AF1817;
  color: #fff;
  font-family: "Gotham Rounded", sans-serif;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1;
}

/* CZ homepage mobile UX — port of the approved 4×2 prototype. */
body.spoko-homepage-cz .products__categories--homepage .spoko-added-category { display: none !important; }
body.spoko-homepage-cz .spoko-homepage-benefits-mobile { display: none; }
@media (max-width: 767px) {
  body.spoko-homepage-cz { max-width: 100% !important; overflow-x: hidden !important; }
  body.spoko-homepage-cz header.header { background-color: #AF1817 !important; }
  body.spoko-homepage-cz .header__bottom { position: relative !important; padding-bottom: 80px !important; }
  body.spoko-homepage-cz #spoko-preview-tagline {
    display: block !important; position: absolute !important; left: 8px !important; right: 8px !important;
    bottom: 4px !important; width: auto !important; margin: 0 !important; padding: 0 !important;
    color: #fff !important; font-size: 12px !important; font-weight: 700 !important;
    line-height: 18px !important; text-align: center !important; z-index: 9 !important;
  }
  body.spoko-homepage-cz .header__bottom-title { display: none !important; }
  body.spoko-homepage-cz .products__categories--homepage {
    display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important; grid-auto-columns: auto !important;
    width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    margin: 0 !important; padding: 0 !important; overflow: visible !important;
    scroll-snap-type: none !important; gap: 8px !important; align-content: start !important;
    justify-content: stretch !important; box-sizing: border-box !important;
  }
  body.spoko-homepage-cz .products__categories--homepage .card--category {
    box-sizing: border-box !important; display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: center !important; gap: 5px !important;
    width: auto !important; min-width: 0 !important; max-width: none !important; height: auto !important;
    min-height: 80px !important; margin: 0 !important; flex: none !important; padding: 8px 3px !important;
    border: 1px solid #E6E6E6 !important; border-radius: 12px !important; background: #fff !important;
    color: #AF1817 !important; box-shadow: none !important; white-space: normal !important;
    text-decoration: none !important; line-height: 1.18 !important; font-size: 10.5px !important;
    text-align: center !important; overflow: hidden !important;
  }
  body.spoko-homepage-cz .products__categories--homepage .card--category:focus-visible {
    outline: 2px solid #AF1817 !important; outline-offset: -3px !important; position: relative !important; z-index: 1 !important;
  }
  body.spoko-homepage-cz .products__categories--homepage .card--category > img {
    display: block !important; width: 28px !important; height: 28px !important;
    object-fit: contain !important; flex: 0 0 28px !important;
  }
  body.spoko-homepage-cz .products__categories--homepage .card--category .spoko-category-icon {
    display: flex !important; flex: 0 0 28px !important; align-items: center !important;
    justify-content: center !important; width: 28px !important; height: 28px !important; color: #AF1817 !important;
  }
  body.spoko-homepage-cz .products__categories--homepage .card--category .spoko-category-icon svg {
    display: block !important; width: 28px !important; height: 28px !important;
  }
  body.spoko-homepage-cz .products__categories--homepage .card--category .spoko-category-label {
    display: block !important; max-width: 100% !important; overflow: hidden !important;
  }
  body.spoko-homepage-cz .products__categories--homepage .spoko-added-category { display: flex !important; }
  body.spoko-homepage-cz #main-content { margin-top: 0 !important; }
  /* Hide the exact legacy static-intro row shown in the live homepage HTML. */
  body.spoko-homepage-cz .flex.flex-xl-none.justify-content-between.w-100p.px-16.font-bold.font-sm.my-15 { display: none !important; }



  /* The global forced-information banner keeps its center alignment, with softer corners. */
  .notification-bar {
    width: auto !important; margin: 5px auto !important;
    border-radius: 12px !important; overflow: hidden !important;
  }
  .notification-bar__content { border-radius: inherit !important; }

  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide {
    display: block !important; position: relative !important; left: 50% !important;
    transform: translateX(-50%) !important; width: 100vw !important; max-width: 100vw !important;
    margin: 0 !important; box-sizing: border-box !important; padding: 10px 0 !important;
    background: rgba(175, 24, 23, .051) !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .spoko-homepage-benefits-desktop { display: none !important; }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide > .spoko-homepage-benefits-mobile {
    display: block !important; width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 auto !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important; margin: 0 !important; width: 100% !important;
    background: transparent !important; border: 0 !important; border-radius: 0 !important; overflow: visible !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > .col-4 {
    box-sizing: border-box !important; display: grid !important; grid-template-columns: 32px minmax(0, 1fr) !important;
    grid-template-rows: minmax(32px, auto) !important; align-items: center !important; justify-content: stretch !important;
    column-gap: 8px !important; row-gap: 2px !important; width: auto !important; max-width: none !important;
    min-width: 0 !important; min-height: 64px !important; margin: 0 !important; padding: 8px 10px !important;
    background: transparent !important; border: 0 !important; border-radius: 0 !important; text-align: left !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > a.col-4[data-benefit-link] {
    color: inherit !important; text-decoration: none !important; cursor: pointer !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > a.col-4[data-benefit-link]:hover {
    background: rgba(175, 24, 23, .08) !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > a.col-4[data-benefit-link]:focus-visible {
    outline: 2px solid #AF1817 !important; outline-offset: -2px !important; position: relative !important; z-index: 1 !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > .col-4:nth-child(2n) {
    border-left: 1px solid rgba(175, 24, 23, .16) !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > .col-4:nth-child(n+3) {
    border-top: 1px solid rgba(175, 24, 23, .16) !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > .col-4 > img,
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .spoko-gift-benefit-icon {
    display: flex !important; grid-column: 1 !important; grid-row: 1 !important; align-self: center !important; align-items: center !important;
    justify-content: center !important; width: 32px !important; height: 32px !important;
    max-width: 32px !important; max-height: 32px !important; object-fit: contain !important; margin: 0 !important; color: #AF1817 !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .spoko-gift-benefit-icon svg {
    display: block !important; width: 32px !important; height: 32px !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > .col-4 p {
    display: flex !important; flex-direction: column !important; gap: 2px !important;
    grid-column: 2 !important; grid-row: 1 !important; align-self: center !important;
    min-width: 0 !important; margin: 0 !important; padding: 0 !important; color: #1A1A1A !important; text-align: left !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > .col-4 p strong {
    display: block !important; min-width: 0 !important; margin: 0 !important; color: #AF1817 !important; font-size: 11.5px !important;
    line-height: 1.2 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
  }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > .col-4 p span {
    display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important;
    min-width: 0 !important; margin: 0 !important;
    padding: 0 !important; color: #1A1A1A !important; font-size: 9.5px !important; line-height: 1.2 !important;
    text-align: left !important; white-space: normal !important; overflow: hidden !important; text-overflow: clip !important; overflow-wrap: normal !important;
  }
}
@media (max-width: 359px) {
  body.spoko-homepage-cz .products__categories--homepage .card--category { font-size: 9.5px !important; }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row { gap: 0 !important; }
  body.spoko-homepage-cz .homepage-benefit-line.mobile-hide .row > .col-4 { gap: 6px !important; padding: 7px !important; }
}
