/* Detail, záložky a formuláře sdílejí měřítko a odsazení běžných stránek. */
body.type-detail #content h1 { font-size: clamp(24px,2.1vw,29px); }
body.type-detail #content .h1 { font-size: clamp(24px,2.1vw,29px); line-height: 1.25; font-weight: 700; margin: 0 0 16px; }
body.type-detail .extended-description .detail-parameters { width: 100%; table-layout: fixed; font-size: 14px; }
body.type-detail .extended-description .detail-parameters th { width: 44%; }
body.type-detail .extended-description .detail-parameters :is(th,td) { padding: 9px 12px; line-height: 1.5; overflow-wrap: anywhere; vertical-align: top; }
/* Čisté sloupce bez nativních spojovacích linek za názvy parametrů. */
body.template-13.type-detail .detail-parameters th::after { display: none; content: none; }
body.type-detail .ratings-and-brand { font-size: 13px; line-height: 1.6; gap: 8px 16px; flex-wrap: wrap; }
body.type-detail .ratings-and-brand .btn--link { font-size: 13px; }
body.type-detail .p-to-cart-block { padding: 16px; background: #fff; gap: 16px; }
body.type-detail .p-to-cart-block .price-final { font-size: 28px; line-height: 1.3; }
body.type-detail .p-to-cart-block .btn.add-to-cart-button { max-width: 280px; }
/* Desktopové záložky a samostatný serverový mobilní accordion. */
body.type-detail .p-detail-tabs-wrapper .shp-tabs-row { margin-bottom: 0; }
body.template-13.type-detail table.detail-parameters tbody tr th .row-header-label { background-color: transparent; }
body.type-detail .p-detail-tabs-wrapper .shp-tabs { justify-content: flex-start; gap: 6px; }
body.type-detail .p-detail-tabs-wrapper .shp-tabs-holder { text-align: left; padding-left: 0; margin-top: 0; }
body.type-detail .p-detail-tabs-wrapper .shp-tabs-holder ul.shp-tabs { margin: 0; }
body.type-detail .p-detail-tabs-wrapper .shp-tabs .shp-tab { padding: 0; border: 0; }
body.type-detail .p-detail-tabs-wrapper .shp-tabs .shp-tab-link { padding: 16px 24px; border: 0; border-radius: var(--es-radius) var(--es-radius) 0 0; background: #e7ebee; color: #37434d; font-size: 16px; line-height: 1.5; font-weight: 600; text-decoration: none; }
body.type-detail .p-detail-tabs-wrapper .shp-tabs .shp-tab-link::after { content: none; }
body.type-detail .p-detail-tabs-wrapper .shp-tabs .shp-tab-link:hover { background: #e0eaf1; color: #185d8b; }
body.type-detail .p-detail-tabs-wrapper .shp-tabs .active .shp-tab-link { background: #fff; color: #185d8b; }
body.type-detail :is(.shp-tab-link,.shp-accordion-link):focus-visible { outline: 2px solid #185d8b; outline-offset: -3px; }
body.type-detail .p-detail-tabs-wrapper #tab-content { padding: 32px; background: #fff; border-radius: 0 var(--es-radius) var(--es-radius) var(--es-radius); }
/* Mobile Disco headings use an ID selector; match its specificity and reset native top padding. */
body.type-detail #accordion-content > .shp-accordion { margin: 0 0 8px; padding: 0; border: 0; border-radius: var(--es-radius); background: #fff; overflow: hidden; }
body.type-detail #accordion-content .shp-accordion .shp-accordion-link { position: relative; display: block; min-height: 56px; padding: 16px 48px 16px 16px; background: #fff; color: var(--es-ink); font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; }
body.type-detail #accordion-content .shp-accordion .shp-accordion-link:hover,
body.type-detail #accordion-content .shp-accordion.active > .shp-accordion-link { color: #185d8b; background: #edf4f9; }
body.type-detail #accordion-content .shp-accordion .shp-accordion-link::after { content: ""; position: absolute; top: 50%; right: 16px; width: 18px; height: 18px; margin: 0; background: currentColor; -webkit-mask: var(--es-icon-chevron-down) center/contain no-repeat; mask: var(--es-icon-chevron-down) center/contain no-repeat; transform: translateY(-50%); pointer-events: none; }
body.type-detail #accordion-content .shp-accordion.active > .shp-accordion-link::after { transform: translateY(-50%) rotate(180deg); }
body.type-detail #accordion-content .shp-accordion .shp-accordion-content { padding: 18px 16px 20px; background: #fff; }
body.type-detail :is(.p-detail-tabs-wrapper,.shp-accordion-wrapper) .es-description>:first-child { margin-top: 0; }
/* Zachovat nativní posun galerie; mezery se započítají do šířky řádku. */
body.type-detail .p-thumbnails-inner .p-thumbnail { width: 100px; height: 100px; margin: 0 10px 0 0; padding: 6px; border: 1px solid #dce1e5; border-radius: var(--es-radius); background: #fff; }
body.type-detail .p-thumbnails-inner .p-thumbnail:last-of-type { margin-right: 0; }
body.type-detail .p-thumbnails-inner .p-thumbnail:hover,
body.type-detail .p-thumbnails-inner .p-thumbnail.highlighted { border-color: #185d8b; }
body.type-detail .p-thumbnails-inner .p-thumbnail:focus-visible { outline: 2px solid #185d8b; outline-offset: -3px; }
body.type-detail .p-thumbnails-inner .p-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
body.template-13 .form-control { border-radius: var(--es-radius); font-size: 16px; border-color: #767676; }
body.template-13 input.form-control, body.template-13 select.form-control { min-height: 44px; }
body.template-13 .form-control:hover { border-color: #626970; }
body.template-13 .form-control:focus { border-color: #245b92; box-shadow: 0 0 0 2px #245b921a; }
body.template-13 .form-control[disabled] { color: #687078; background: #e9ecef; cursor: not-allowed; }
body.template-13 ol.cart-header { margin: 24px auto 30px; max-width: 960px; }
body.template-13 ol.cart-header li :is(a,strong) { font-size: 14px; background: transparent; }
body.template-13 ol.cart-header li.active :is(a,strong):before { background: var(--es-action); border-color: var(--es-action); color: #fff; }
body.template-13 ol.cart-header li.active span { background: transparent; font-weight: 600; }
body.template-13 .cart-table { font-size: 14px; }
body.template-13 .cart-table :is(th,td) { padding-top: 20px; padding-bottom: 20px; }
body.template-13 .btn .order-button-text { font: inherit; letter-spacing: inherit; }
body.template-13 .cart-widget-product-name { font-size: 14px; line-height: 1.5; }
body.template-13 .cart-widget-product-price { font-size: 15px; }
body.template-13 .searchWhisperer__product__name { font-size: 14px; line-height: 1.5; font-weight: 600; }
body.template-13 .searchWhisperer__product__availability { font-size: 12px; line-height: 1.5; }
body.template-13 .searchWhisperer__product__price { font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--es-action); }
body.template-13 .searchWhisperer :is(h3,.searchWhisperer__products__heading) { font-size: 16px; line-height: 1.4; }
@media(min-width:768px) { body.template-13 #header .searchWhisperer { max-height: min(720px,calc(100dvh - 160px)); overflow-y: auto; overscroll-behavior: contain; } }
.es-login-close { float: right; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -4px -4px 0 8px; padding: 0; border: 0; border-radius: var(--es-radius); background: transparent; color: var(--es-ink); font: 28px/1 'Open Sans',sans-serif; cursor: pointer; }
.es-login-close:hover { background: #edf4f9; color: var(--es-action); }
@media(max-width:767px) {
  body.template-13 .user-action .popup-widget.login-widget { position: fixed; top: 50px; bottom: 0; right: 0; left: 0; width: 100%; height: calc(100dvh - 50px); overflow-y: auto; }
  body.type-detail .p-to-cart-block { padding: 14px; }
  body.type-detail .p-to-cart-block .btn.add-to-cart-button { max-width: none; }
  body.type-detail .p-to-cart-block .price-final { font-size: 26px; }
  body.type-detail .p-detail-tabs-wrapper .shp-tabs .shp-tab-link { padding: 14px 16px; font-size: 15px; }
  body.type-detail .p-detail-tabs-wrapper #tab-content { padding: 20px 16px; }
  /* Dostupnost a dlouhý kód musí respektovat šířku mobilního nákupního panelu. */
  body.type-detail .pr-action > table.detail-parameters { width: 100%; table-layout: fixed; }
  body.template-13.type-detail .pr-action > table.detail-parameters tbody tr th { width: 40%; min-width: 0; }
  body.type-detail .pr-action > table.detail-parameters :is(th,td) { overflow-wrap: anywhere; white-space: normal; }
  /* GPSR používá vlastní tabulku i mimo technické parametry. Nativní 205px minimum ořezává adresu. */
  body.type-detail table.detail-parameters__gpsr { width: 100%; table-layout: fixed; }
  body.template-13.type-detail table.detail-parameters.detail-parameters__gpsr tbody tr th { width: 40%; min-width: 0; }
  body.type-detail table.detail-parameters__gpsr :is(th,td) { overflow-wrap: anywhere; white-space: normal; vertical-align: top; }
  body.template-13 ol.cart-header { margin-top: 22px; }
  body.template-13 ol.cart-header li :is(a,strong) { font-size: 12px; line-height: 1.4; }
}
@media(max-width:359px) {
  body.template-13 #header .site-name { flex-basis: 95px; width: 95px; }
  body.template-13 #header .site-name img { max-width: 95px; }
  body.template-13 #header .navigation-buttons>a,body.template-13 #header .navigation-buttons>button { flex-basis: 36px; width: 36px; min-width: 36px; }
}

