/* Approved savings banner. Scoped to shipping/payment checkout only. */
body.in-krok-1 #content#content .site-msg-custom.step-1{display:block!important;clear:both;background:transparent!important;padding:0!important;margin:18px 0 20px!important;width:100%!important}
body.in-krok-1 #content#content .gpc-checkout-proof{display:block!important;width:100%!important;margin:0!important}
body.in-krok-1 #content#content .gpc-checkout-proof>.gpc-checkout-proof__inner{display:none!important}
body.in-krok-1 #content#content .gpc-savings-banner{display:block;width:100%;aspect-ratio:4/1;border-radius:16px;overflow:hidden;background:#f5efff}
body.in-krok-1 #content#content .gpc-savings-banner img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover;border:0;margin:0!important}
body.in-krok-1 #content#content .co-payment-method{padding-bottom:0!important;margin-bottom:20px!important}
body.in-krok-1 #content#content .cart-toggle-unselected-options[data-table="order-billing-methods"]{position:relative!important;inset:auto!important;float:none!important;width:max-content!important;max-width:100%!important;margin:12px 0 0 auto!important;box-sizing:border-box;white-space:normal!important;text-align:center}
body.in-krok-1 #content#content .cart-toggle-unselected-options[data-table="order-billing-methods"].js-hidden{display:none!important}
body.in-krok-1 #content#content .gpc-fastpay-note{display:none!important}
@media(max-width:600px){
 body.in-krok-1 #content#content .gpc-savings-banner{aspect-ratio:4/3;border-radius:14px}
 body.in-krok-1 #content#content .site-msg-custom.step-1{margin:16px 0 20px!important}
 body.in-krok-1 #content#content .cart-toggle-unselected-options[data-table="order-billing-methods"]{min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px 16px!important}
}

/* Product descriptions: readable headings across all product families. */
body.type-product :is(.p-short-description,#description) :is(h1,h2,h3,h4,h5,h6){line-height:1.25!important;letter-spacing:normal!important;overflow-wrap:break-word;word-break:normal}
body.type-product :is(.p-short-description,#description) :is(h1,h2,h3,h4,h5,h6) span{line-height:inherit!important;letter-spacing:inherit!important}
body.type-product .p-short-description :is(h1,h2){font-size:clamp(26px,2.4vw,36px)!important}
@media(max-width:767px){body.type-product .p-short-description :is(h1,h2){font-size:28px!important}}

/* Stable surcharge cards across table-layout engines and open states. */
body.type-detail .detail-parameters-block .detail-parameters>tbody{align-items:start!important}
body.type-detail .detail-parameters-block .detail-parameters tr.surcharge-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;align-content:start!important;height:auto!important;min-height:0!important;transform:none!important;box-sizing:border-box!important}
body.type-detail .detail-parameters-block .detail-parameters tr.surcharge-list>th,
body.type-detail .detail-parameters-block .detail-parameters tr.surcharge-list>td{grid-column:1!important;float:none!important;left:auto!important;top:auto!important;transform:none!important;box-sizing:border-box!important;min-width:0!important;width:100%!important}
body.type-detail .detail-parameters-block .gpc-surcharge-picker{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
body.type-detail .detail-parameters-block .gpc-surcharge-trigger{width:100%!important;box-sizing:border-box!important}
body.type-detail .detail-parameters-block .gpc-surcharge-panel{position:static!important;inset:auto!important;transform:none!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;margin:8px 0 0!important}
body.type-detail .detail-parameters-block .gpc-surcharge-panel[hidden]{display:none!important}

/* Restore native image variants hidden by the Apollo text-variant rule.
   Variant rows span the configurator; surcharge cards retain their own grid. */
body.type-detail .detail-parameters-block .detail-parameters tr.variant-list {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
body.type-detail .detail-parameters-block .detail-parameters tr.variant-list > td {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
}
body.type-detail .detail-parameters-block #simple-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
body.type-detail .detail-parameters-block #simple-variants > span:has(> .variant-default) {
  position: absolute;
}
body.type-detail .detail-parameters-block #simple-variants::before,
body.type-detail .detail-parameters-block #simple-variants::after {
  display: none;
  content: none;
}
body.type-detail .detail-parameters-block #simple-variants .advanced-parameter.has-image {
  flex: 0 1 140px;
  width: 140px;
  max-width: calc((100% - 10px) / 2);
  height: auto;
  margin: 0;
  cursor: pointer;
}
body.type-detail .detail-parameters-block #simple-variants .advanced-parameter.has-image .advanced-parameter-inner {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 100%;
  height: auto;
  min-height: 106px;
  padding: 8px;
  box-sizing: border-box;
  border: 2px solid #d9d0e2;
  border-radius: 10px;
  background: #fff;
  color: #25163d;
  overflow: hidden;
}
body.type-detail .detail-parameters-block #simple-variants .advanced-parameter.has-image img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
body.type-detail .detail-parameters-block #simple-variants .advanced-parameter.has-image:not(:has(.parameter-value)) .advanced-parameter-inner::after {
  content: attr(data-original-title);
  font: 800 12px/1.3 Nunito, Arial, sans-serif;
  text-align: center;
  overflow-wrap: anywhere;
}
body.type-detail .detail-parameters-block #simple-variants .advanced-parameter.has-image .advanced-parameter-inner.yes-before {
  border-color: #5700c7;
  background-color: #f5edff;
}
body.type-detail .detail-parameters-block #simple-variants .advanced-parameter.has-image .advanced-parameter-inner::before {
  inset: 5px 5px auto auto;
  width: 22px;
  height: 22px;
  background-size: 18px;
}
body.type-detail .detail-parameters-block #simple-variants .advanced-parameter.has-image:focus-within {
  outline: 3px solid #5700c7;
  outline-offset: 3px;
  border-radius: 10px;
}

.description-inner:has(.basic-description img[src$="/mcrybar-logo.png"]){flex-wrap:wrap!important}.basic-description:has(img[src$="/mcrybar-logo.png"]){flex:1 1 100%!important;width:100%!important;max-width:100%!important;padding:24px!important;box-sizing:border-box}@media(max-width:767px){.basic-description:has(img[src$="/mcrybar-logo.png"]){padding:12px!important}}
/* GamePC - drobne styly presunute z inline <style> bloku zahlavi a zapati (2026-11-13). */

/* Skryti vyrobcu v navigaci + razeni podle nazvu (puvodne zahlavi) */
#navigation #nav-manufacturers,li:has(#listSortingControl-name){display:none!important}

/* Skryti kalkulacky Home Credit v rychle pokladne (puvodne zahlavi) */
body.in-krok-1.gpc-fast-checkout #order-form #order-billing-methods .gpc-homecredit-card{display:none!important}

/* Socialni lista a Instagram v kosiku a pokladne (puvodne zahlavi) */
body.in-kosik #gamepc-social-stack,body.in-kosik #gamepc-instagram-widget,body.in-krok-1 #gamepc-social-stack,body.in-krok-1 #gamepc-instagram-widget,body.in-krok-2 #gamepc-social-stack,body.in-krok-2 #gamepc-instagram-widget{display:none!important}

/* Chat bublina na mobilu nad sticky listou (puvodne zahlavi) */
@media(max-width:767px){#cw-bubble{bottom:135px!important}#cw-window{bottom:148px!important;max-height:calc(100vh - 160px)!important;max-height:calc(100dvh - 160px)!important}}

/* Megamenu - odkaz "vse" v prvnim sloupci (puvodne zapati) */
.gpc-ux-mega__all{grid-column:1!important}

#content:has(#product-detail-form a[href="/znacka/raiko/"]) #lb-recommend-element-product_detail{display:none!important}@media(max-width:767px){#content .gpc-accessories{padding:12px!important;margin-block:12px!important}#content .gpc-accessories header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:10px!important}#content .gpc-accessories header>div{min-width:0}#content .gpc-accessories header h2{font-size:18px!important;line-height:1.15!important;margin:2px 0 0!important}#content .gpc-accessories header p{display:none!important}#content .gpc-accessories-summary{padding:5px 7px!important;font-size:10px!important;line-height:1.2!important;white-space:normal!important;max-width:96px;text-align:center}#content .gpc-accessories-list{gap:6px!important}#content .gpc-accessory{display:grid!important;grid-template-columns:24px 36px minmax(0,1fr) max-content!important;align-items:center!important;gap:6px!important;min-height:58px!important;padding:7px 8px!important}#content .gpc-accessory-check{grid-column:1!important;grid-row:1!important;width:22px!important;height:22px!important}#content .gpc-accessory img{grid-column:2!important;grid-row:1!important;width:36px!important;height:36px!important;object-fit:contain!important}#content .gpc-accessory-name{grid-column:3!important;grid-row:1!important;min-width:0!important}#content .gpc-accessory-name b{display:-webkit-box!important;white-space:normal!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px!important;line-height:1.2!important}#content .gpc-accessory-name small{font-size:10px!important;line-height:1.2!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}#content .gpc-accessory-price{grid-column:4!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;white-space:nowrap!important;text-align:right!important;line-height:1.2!important}#content .gpc-accessory-price strong{font-size:12px!important;white-space:nowrap!important}#content .gpc-accessory-discount{font-size:9px!important;white-space:nowrap!important}#content .gpc-accessories footer{margin-top:9px!important;gap:8px!important}}@media(max-width:360px){#content .gpc-accessory{grid-template-columns:24px minmax(0,1fr) max-content!important}#content .gpc-accessory img{display:none!important}#content .gpc-accessory-name{grid-column:2!important}#content .gpc-accessory-price{grid-column:3!important}}

