/* 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; }
}

/* BJP Store: touch-friendly size filter in men's T-shirts, 2026-09-08. */
@media (max-width: 767px) {
  body.id-809 #filters .filter-section-parametric-id-5 form {
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  body.id-809 #filters .filter-section-parametric-id-5 fieldset {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  body.id-809 #filters .filter-section-parametric-id-5 fieldset > div {
    position: relative;
    display: block;
    margin: 0 !important;
  }
  body.id-809 #filters .filter-section-parametric-id-5 .advanced-filters-wrapper:empty {
    display: none;
  }
  body.id-809 #filters .filter-section-parametric-id-5 input[type="checkbox"] {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
  }
  body.id-809 #filters .filter-section-parametric-id-5 .filter-label {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 4px;
    border: 1px solid #dededb;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.25;
    color: #1e1e1c;
    background: #fff;
  }
  body.id-809 #filters .filter-section-parametric-id-5 .filter-label::before,
  body.id-809 #filters .filter-section-parametric-id-5 .filter-label::after {
    display: none;
  }
  body.id-809 #filters .filter-section-parametric-id-5 .filter-count {
    position: static;
    transform: none;
    float: none;
    margin: 0;
    padding: 0 !important;
    color: inherit !important;
    opacity: .65;
    font-size: 11px !important;
    line-height: inherit !important;
  }
  body.id-809 #filters .filter-section-parametric-id-5 input:checked + label {
    color: #fff;
    border-color: #1e1e1c;
    background: #1e1e1c;
  }
  body.id-809 #filters .filter-section-parametric-id-5 input:disabled + label {
    color: #8b8b87;
    border-color: #eeeeeb;
    background: #f7f7f5;
    cursor: default;
  }
  body.id-809 #filters .filter-section-parametric-id-5 input:focus-visible + label {
    outline: 2px solid #1e1e1c;
    outline-offset: 2px;
  }
}


/* BJP Store: compact cart layout; native cart forms and prices remain in place. */
body.id--9 #hw-87kwowifjjowiklsadh666left,
body.id--9 .LEAD_GENERATION { display: none !important; }

body.id--9 #content #cart-wrapper .cart-table,
body.id--9 #content #cart-wrapper .cart-table > tbody { display: block; width: 100%; }
body.id--9 #content #cart-wrapper .cart-table { margin: 0 0 24px; }
body.id--9 #content #cart-wrapper .cart-table tr.removeable {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas: "image name name" "image unit unit" "quantity quantity total";
  align-items: center;
  gap: 8px 12px;
  position: relative;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none;
  min-height: 0;
  height: auto !important;
  margin: 0 0 12px !important;
  padding: 16px;
  border: 1px solid #e5e5e2 !important;
  border-radius: 8px;
  text-align: left;
}
body.id--9 #content #cart-wrapper .cart-table :where(tr.removeable > td) {
  display: block;
  position: static;
  width: auto !important;
  max-width: none;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  border: 0;
  text-align: left;
}
body.id--9 #content #cart-wrapper .cart-table .cart-p-image { grid-area: image; }
body.id--9 #content #cart-wrapper .cart-table .cart-p-image img {
  display: block;
  position: static;
  transform: none;
  width: 64px !important;
  height: 80px !important;
  object-fit: contain;
  margin: 0;
}
body.id--9 #content #cart-wrapper .cart-table .p-name { grid-area: name; align-self: end; text-align: left !important; padding-right: 30px !important; }
body.id--9 #content #cart-wrapper .cart-table .p-name .main-link {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-transform: none;
  text-align: left;
  overflow-wrap: anywhere;
}
body.id--9 #content #cart-wrapper .cart-table .main-link-variant {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #66665f;
  font-weight: 400;
}
body.id--9 #content #cart-wrapper .cart-table tr.removeable > .p-availability { display: none; }
body.id--9 #content #cart-wrapper .cart-table tr.removeable > .p-price {
  display: flex !important;
  flex-direction: row;
  justify-content: flex-start;
  grid-area: unit;
  align-self: start;
  gap: 4px;
  color: #66665f;
  font-size: 13px;
}
body.id--9 #content #cart-wrapper .cart-table .p-price .price-final { font-size: 13px; font-weight: 400; }
body.id--9 #content #cart-wrapper .cart-table .p-price .p-label,
body.id--9 #content #cart-wrapper .cart-table .p-quantity .p-label,
body.id--9 #content #cart-wrapper .cart-table .p-total .p-label { display: none !important; }
body.id--9 #content #cart-wrapper .cart-table .p-quantity { grid-area: quantity; }
body.id--9 #content #cart-wrapper .cart-table .quantity-form { margin: 0; }
body.id--9 #content #cart-wrapper .cart-table .quantity {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: relative;
  width: 134px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid #dededb;
  border-radius: 6px;
  background: #fff;
}
body.id--9 #content #cart-wrapper .cart-table .quantity > label { order: 2; width: 44px; margin: 0; }
body.id--9 #content #cart-wrapper .cart-table .quantity input.amount {
  width: 44px !important;
  height: 44px !important;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-size: 16px;
}
body.id--9 #content #cart-wrapper .cart-table .quantity button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative !important;
  top: auto;
  right: auto;
  left: auto;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  transform: none;
  background: transparent;
  font-size: 20px;
  color: #1e1e1c;
}
body.id--9 #content #cart-wrapper .cart-table .quantity .decrease { order: 1; }
body.id--9 #content #cart-wrapper .cart-table .quantity .increase { order: 3; }
body.id--9 #content #cart-wrapper .cart-table .quantity button::before,
body.id--9 #content #cart-wrapper .cart-table .quantity button::after { display: none; }
body.id--9 #content #cart-wrapper .cart-table .quantity :is(.increase__sign,.decrease__sign) { display: inline; position: static; transform: none; line-height: 1; }
body.id--9 #content #cart-wrapper .cart-table .p-total { grid-area: total; justify-self: end; }
body.id--9 #content #cart-wrapper .cart-table .p-total > .price-final { font-size: 18px; line-height: 1.3; white-space: nowrap; }
body.id--9 #content #cart-wrapper .cart-table .p-total > form { position: absolute; top: 2px; right: 2px; margin: 0; }
body.id--9 #content #cart-wrapper .cart-table .remove-item {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: #66665f;
}
body.id--9 #content #cart-wrapper .cart-table tr.removeable:has(.quantity-form[style*="display: none"]) {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-areas: "image name total";
  padding-right: 48px;
}
body.id--9 #content #cart-wrapper .cart-table tr.removeable:has(.quantity-form[style*="display: none"]) .cart-p-image img {
  width: 40px !important;
  height: 48px !important;
}
body.id--9 #content #cart-wrapper .cart-table tr.removeable:has(.quantity-form[style*="display: none"]) .p-name {
  align-self: center;
  padding-right: 0 !important;
}
body.id--9 #content #cart-wrapper .cart-table tr.removeable:has(.quantity-form[style*="display: none"]) .p-name .main-link { font-size: 13px; }
body.id--9 #content #cart-wrapper .cart-table tr.removeable:has(.quantity-form[style*="display: none"]) :is(.p-quantity,.p-price) { display: none !important; }

body.id--9 #content #cart-wrapper .fvDoplnek-upsell {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px !important;
  padding: 20px 0 0;
  border-top: 1px solid #e5e5e2;
}
body.id--9 #content #cart-wrapper .fvDoplnek-upsell > h4 { grid-column: 1 / -1; margin: 0 0 8px; padding: 0; font-size: 16px; line-height: 1.4; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .fvDoplnek-produkt { width: auto !important; min-width: 0; margin: 0 !important; padding: 0; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell form { width: 100%; margin: 0; padding: 0; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .fvcontent {
  display: block !important;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #dededb;
  border-radius: 6px;
}
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .fvcontent:has(input:checked) { border-color: #1e1e1c; background: #f7f7f5; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .header { display: flex; align-items: center; gap: 8px; min-height: 44px; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell input[type="checkbox"] { width: 24px; height: 24px; margin: 0; accent-color: #1e1e1c; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .fvDoplnek-text { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 6px; min-width: 0; padding: 0; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .name { display: none; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .upsell-product-tooltip { grid-column: 2; grid-row: 1; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .price { grid-column: 1; grid-row: 1; white-space: nowrap; margin: 0; padding: 0; font-size: 16px; font-weight: 600; color: #1e1e1c !important; }
body.id--9 #content #cart-wrapper .fvDoplnek-upsell .fvDoplnek-description:empty { display: none; }
body.id--9 #content #cart-wrapper .cart-content > .cart-summary { padding-bottom: 0; }
body.id--9 #content #cart-wrapper .cart-summary > h2 { margin: 0 0 12px !important; padding: 0; font-size: 18px; line-height: 1.4; }
body.id--9 #content #cart-wrapper #fvstudio-delivery-info { height: auto; margin: 0 0 24px; }
body.id--9 #content #cart-wrapper #fvstudio-delivery-info .extra.delivery { display: block; width: 100%; max-width: none; margin: 0; padding: 14px 16px 14px 64px !important; border-radius: 6px; background: #f7f7f5; }
body.id--9 #content #cart-wrapper #fvstudio-delivery-info .extra.delivery::before { content: ""; width: 32px; height: 32px; margin: 0; left: 16px; top: 50%; transform: translateY(-50%); background: url("https://cdn.myshoptet.com/usr/shoptet.tomashlad.eu/user/documents/extras/opal/img/truck.svg") center / contain no-repeat; }
body.id--9 #content #cart-wrapper #fvstudio-delivery-info .extra.delivery > span { display: block; text-align: left; width: auto; font-size: 14px; line-height: 1.5; }
body.id--9 #content #cart-wrapper #fvstudio-delivery-info .price-range { position: static; width: 100%; margin: 8px 0 0; }
body.id--9 #content #cart-wrapper #fvstudio-delivery-info:empty { display: none; }
body.id--9 #content #cart-wrapper .free-gifts-wrapper > form { width: 100%; }
body.id--9 #content #cart-wrapper .free-gifts-wrapper { width: 100%; margin: 0; }
body.id--9 #content #cart-wrapper .free-gifts .free-gift-label { padding: 0; }
body.id--9 #content #cart-wrapper .free-gifts { width: 100%; margin: 0 0 20px !important; }
body.id--9 #content #cart-wrapper .free-gifts > li { width: 100% !important; margin: 0 0 8px !important; padding: 0; border-radius: 6px; }
body.id--9 #content #cart-wrapper .free-gifts > li > label { display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 10px 12px; border-radius: 6px; }
body.id--9 #content #cart-wrapper .free-gifts .free-gifts-img { flex: 0 0 40px; width: 40px !important; height: 40px; margin: 0; }
body.id--9 #content #cart-wrapper .free-gifts .free-gifts-img > img { width: 40px; height: 40px; object-fit: contain; }
body.id--9 #content #cart-wrapper .free-gift-name { font-size: 14px; line-height: 1.4; }
body.id--9 #content #cart-wrapper .discount-coupon { margin: 0 0 24px; }
body.id--9 #content #cart-wrapper .discount-coupon .compact-form { display: flex; gap: 8px; }
body.id--9 #content #cart-wrapper .discount-coupon .form-control { margin: 0; flex: 1 1 0; min-width: 0; width: auto; height: 48px; font-size: 14px; }
body.id--9 #content #cart-wrapper .discount-coupon .compact-form > .btn { flex: 0 0 auto; width: auto; min-width: 90px; min-height: 48px; margin: 0; padding: 10px 16px; }
body.id--9 #content #cart-wrapper .summary-wrapper .price-wrapper { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
body.id--9 #content #cart-wrapper .summary-wrapper .price-primary.price-label { width: auto; font-size: 14px; line-height: 1.4; }
body.id--9 #content #cart-wrapper .summary-wrapper .price-primary.price { width: auto; font-size: 28px; line-height: 1.25; white-space: nowrap; }
body.id--9 #content #cart-wrapper #continue-order-button { min-height: 52px; height: auto; padding: 14px 18px; font-size: 16px; line-height: 1.4; }
body.id--9 #content #cart-wrapper .contact-banner { margin-top: 32px; }
body.id--9 #content #cart-wrapper :is(.quantity input,.quantity button,.remove-item,#continue-order-button,.discount-coupon input,.discount-coupon button):focus-visible { outline: 2px solid #1e1e1c !important; outline-offset: 2px; }

@media (max-width: 767px) {
  body.id--9 #content #cart-wrapper .cart-header { display: grid; align-items: stretch; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; padding: 0; }
  body.id--9 #content #cart-wrapper .cart-header .step { display: block; width: auto; margin: 0; padding: 0 0 10px; border-bottom: 2px solid #e5e5e2; }
  body.id--9 #content #cart-wrapper .cart-header .step.active { border-bottom-color: #1e1e1c; }
  body.id--9 #content #cart-wrapper .cart-header .step :is(a,strong,span) { font-size: 12px; line-height: 1.4; text-align: left; }
  body.id--9 #content #cart-wrapper .cart-table tr.removeable { padding: 12px; }
  body.id--9 #content #cart-wrapper .cart-table .p-name .main-link { font-size: 14px; }
  body.id--9 #content #cart-wrapper .cart-table .p-total > .price-final { font-size: 17px; }
  body.id--9 #content #cart-wrapper .cart-table tr.removeable:has(.quantity-form[style*="display: none"]) { padding-right: 44px; gap: 8px; }
  body.id--9 #content #cart-wrapper .summary-wrapper > .box { padding-top: 20px; border-top: 1px solid #e5e5e2; }
  body.id--9 #content #cart-wrapper .summary-wrapper .price-primary.price { font-size: 26px; }
}
@media (min-width: 1200px) {
  body.id--9 #content #cart-wrapper .fvDoplnek-upsell { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.id--9 #content #cart-wrapper .cart-table tr.removeable { grid-template-columns: 64px minmax(0, 1fr) 134px auto; grid-template-areas: "image name quantity total" "image unit quantity total"; padding-right: 48px; }
  body.id--9 #content #cart-wrapper .cart-table .p-name { padding-right: 0 !important; }
}
