/* BJP Store: confirmation after adding to cart, 2026-09-08. */
#colorbox .advanced-order .advancedOrder__buttons {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

#colorbox #cboxLoadedContent .advanced-order .advancedOrder__buttons > .btn {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}

#colorbox #cboxLoadedContent .advanced-order .advancedOrder__buttons > .btn-conversion:hover {
  background-color: #3b3b38;
}

#colorbox .advanced-order .advancedOrder__buttons > .btn:focus-visible,
#colorbox:has(.advanced-order) #cboxClose:focus-visible {
  outline: 3px solid #1e1e1c !important;
  outline-offset: 3px !important;
}

#colorbox:has(.advanced-order) #cboxClose {
  width: 44px;
  height: 44px;
}

/* Hide the two promotional overlays only while this confirmation is open. */
body:has(#colorbox[style*="display: block"] .advanced-order) #hw-87kwowifjjowiklsadh666left,
body:has(#colorbox[style*="display: block"] .advanced-order) .LEAD_GENERATION {
  display: none !important;
}

@media (max-width: 767px) {
  #colorbox .advanced-order .advancedOrder__buttons {
    flex-direction: column;
  }

  #colorbox #cboxLoadedContent .advanced-order .advancedOrder__buttons > .btn {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* BJP Store: readable size choices on mobile product cards, 2026-09-08. */
@media (max-width: 991px) {
  body .products.products-block .product .widget-parameter-wrapper[data-parameter-id="5"] {
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  body .products.products-block .product .widget-parameter-wrapper[data-parameter-id="5"] .widget-parameter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  body .products.products-block .product .widget-parameter-wrapper[data-parameter-id="5"] .widget-parameter-list > .widget-parameter-value {
    display: block !important;
    flex: 0 0 calc((100% - 12px) / 3);
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
  }

  body .products.products-block .product .widget-parameter-wrapper[data-parameter-id="5"] .widget-parameter-value > a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100% !important;
    min-height: 44px;
    height: auto;
    padding: 6px;
    border: 1px solid #dededb;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
  }

  body .products.products-block .product .widget-parameter-wrapper[data-parameter-id="5"] .widget-parameter-value > a:focus-visible {
    outline: 2px solid #1e1e1c !important;
    outline-offset: 2px !important;
  }

  body .products.products-block .product .widget-parameter-wrapper[data-parameter-id="5"] .scroll-overlay,
  body .products.products-block .product .widget-parameter-wrapper[data-parameter-id="5"] .widget-parameter-more {
    display: none !important;
  }
}

/* Existing footer rules moved here to keep Shoptet HTML below its limit. */
footer#footer .footer-bottom .footer-socials ul a{width:44px;height:44px}footer#footer .footer-bottom .footer-socials ul a:before{height:100%}#footer .able-signature{display:none}
/* BJP Store: language-safe blog and separate desktop navigation controls. */
.in-index .hp-news:not(:has(.news-item)) { display: none; }
@media (min-width: 768px) {
  #header .navigation-wrapper {
    --bjp-header-gutter: 15px;
    --bjp-nav-logo-space: 260px;
  }
  #header #navigation {
    left: var(--bjp-header-gutter);
    right: calc(var(--bjp-header-gutter) + 246px);
    width: auto;
    margin-left: var(--bjp-nav-logo-space);
  }
  #header .menu-helper {
    right: calc(var(--bjp-header-gutter) + 246px) !important;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }
  #header .menu-helper > span {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  #header .menu-helper:focus-visible {
    outline: 2px solid #1e1e1c;
    outline-offset: 3px;
  }
}
@media (min-width: 768px) and (max-width: 1800px) {
  #header .navigation-wrapper { --bjp-header-gutter: 60px; }
}
@media (min-width: 768px) and (max-width: 1799px) {
  #header .navigation-wrapper { --bjp-nav-logo-space: 150px; }
}
@media (min-width: 768px) and (max-width: 1200px) {
  #header .navigation-wrapper { --bjp-header-gutter: 40px; }
}
@media (min-width: 768px) and (max-width: 992px) {
  #header .navigation-wrapper { --bjp-header-gutter: 20px; }
}
