/* MP page polish candidate 20261113-3. Desktop only. No JavaScript or functional changes. */
@media (min-width:1024px) {
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign :is(.main-menu-337, .main-menu-338) .j-dropdown { border:1px solid #e2e9f2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 14px 36px #1836521a!important;padding:8px!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign :is(.main-menu-337, .main-menu-338) .j-dropdown .j-menu > li { border:0!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign :is(.main-menu-337, .main-menu-338) .j-dropdown .j-menu > li > a { border:0!important;border-radius:8px!important;padding:11px 13px!important;color:#303c4c!important;font-size:14px!important;line-height:1.4!important;text-transform:none!important;white-space:normal!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign :is(.main-menu-337, .main-menu-338) .j-dropdown .j-menu > li > a:hover,
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign :is(.main-menu-337, .main-menu-338) .j-dropdown .j-menu > li > a:focus-visible { background:#edf4fc!important;color:#0850a4!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337 > .j-menu > li > .j-dropdown:has(> .j-menu > li:nth-child(7)) { width:560px!important;max-width:calc(100vw - 40px)!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337 > .j-menu > li > .j-dropdown:has(> .j-menu > li:nth-child(7)) > .j-menu { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px; }

html.desktop-header-active:has(.mp-desktop-redesign) .breadcrumb { background:transparent!important;border:0!important;font-size:13px!important;padding-top:18px!important;padding-bottom:18px!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .page-title { text-transform:none!important;font-weight:700!important;font-size:30px!important;line-height:1.25!important;background:#f7f9fc!important;border-color:#e5ebf2!important;padding-top:22px!important;padding-bottom:22px!important; }

html.desktop-header-active:has(.mp-desktop-redesign) #column-left .module-filter { border:1px solid #e3e9f1!important;border-radius:14px!important;background:#fff!important;padding:18px!important;box-shadow:none!important; }

html.desktop-header-active:has(.mp-desktop-redesign) #column-left .module-filter .module-title { text-transform:none!important;font-size:17px!important;border:0!important;color:#303c4c!important; }

html.desktop-header-active:has(.mp-desktop-redesign) #column-left .module-filter .panel,
html.desktop-header-active:has(.mp-desktop-redesign) #column-left .module-filter .panel-heading,
html.desktop-header-active:has(.mp-desktop-redesign) #column-left .module-filter .panel-body { background:transparent!important;border:0!important;box-shadow:none!important; }

html.desktop-header-active:has(.mp-desktop-redesign) #column-left .module-filter .accordion-toggle { text-transform:none!important;font-size:14px!important;font-weight:700!important;color:#303c4c!important; }

html.desktop-header-active:has(.mp-desktop-redesign) #column-left .module-filter .reset-filter { background:#edf4fc!important;color:#0850a4!important;border:0!important;border-radius:6px!important;font-size:12px!important;padding:5px 8px!important; }

html.desktop-header-active:has(.mp-desktop-redesign) #column-left .module-filter .extra-controls input { border:1px solid #dce5ef!important;border-radius:8px!important;min-height:36px;background:#f8fafc!important; }

html.desktop-header-active[class*="route-account-"]:has(.mp-desktop-redesign) #content .form-control { border:1px solid #dce5ef!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;min-height:44px; }

html.desktop-header-active[class*="route-account-"]:has(.mp-desktop-redesign) #content .form-control:focus { border-color:#0850a4!important;box-shadow:0 0 0 3px #0850a414!important; }

html.desktop-header-active[class*="route-account-"]:has(.mp-desktop-redesign) #content .btn { border-radius:9px!important;text-transform:none!important; }

html.desktop-header-active[class*="route-account-"]:has(.mp-desktop-redesign) #content .well { border:1px solid #e3e9f1!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important; }

html.desktop-header-active[class*="route-account-"]:has(.mp-desktop-redesign) #column-right .module { border:1px solid #e3e9f1!important;border-radius:14px!important;background:#fff!important;padding:18px!important; }

html.desktop-header-active[class*="route-information-contact"]:has(.mp-desktop-redesign) #content .form-control { border:1px solid #dce5ef!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;min-height:44px; }

html.desktop-header-active[class*="route-information-contact"]:has(.mp-desktop-redesign) #content .form-control:focus { border-color:#0850a4!important;box-shadow:0 0 0 3px #0850a414!important; }

html.desktop-header-active[class*="route-information-contact"]:has(.mp-desktop-redesign) #content .btn { border-radius:9px!important;text-transform:none!important; }

html.desktop-header-active[class*="route-information-contact"]:has(.mp-desktop-redesign) #content .well { border:1px solid #e3e9f1!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important; }

html.desktop-header-active[class*="route-information-contact"]:has(.mp-desktop-redesign) #column-right .module { border:1px solid #e3e9f1!important;border-radius:14px!important;background:#fff!important;padding:18px!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .module-info_blocks-194 .module-body { background:#edf4fc!important;border:1px solid #dce7f4!important;border-radius:14px!important;overflow:hidden; }

html.desktop-header-active:has(.mp-desktop-redesign) .module-info_blocks-194 .module-item,
html.desktop-header-active:has(.mp-desktop-redesign) .module-info_blocks-194 .info-block { background:transparent!important;border-color:#dce7f4!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .module-info_blocks-194 .info-block-title { color:#254b75!important;font-size:16px!important;font-weight:700!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .module-info_blocks-194 .info-block-text { color:#465970!important;font-size:14px!important;line-height:1.7!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .module-form-20 { border:1px solid #e3e9f1!important;border-radius:14px!important;background:#fff!important;padding:24px!important;box-shadow:none!important; }

html.desktop-header-active:has(.mp-desktop-redesign) .module-form-20 .control-label { font-size:14px!important;color:#303c4c!important; }

/* r2: menus only; retain native search and badge positioning. */
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337 > .j-menu > li:nth-last-child(-n+4) > .j-dropdown:has(> .j-menu > li:nth-child(7)) { left:auto!important;right:0!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337 > .j-menu > li > .j-dropdown > .j-menu { max-height:min(500px,calc(100vh - 210px));overflow-y:auto;overscroll-behavior:contain; }

/* r3: preserve native Journal image swap, hover, button placement and card layout. */
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb { border:1px solid #e3e9f1!important;border-radius:14px!important;background:#fff!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .name a { text-transform:none!important;color:#303c4c!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .price { text-align:center!important;color:#0850a4!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .price > div { text-align:center!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .price .price-new,html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .price .price-normal { color:#0850a4!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .price .price-old { color:#788391!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .product-labels > .product-label { background:transparent!important;padding:0!important;border:0!important;width:auto!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .product-labels > .product-label > b { border-radius:6px!important; }
}

/* MP account popup appearance */
html.desktop.popup:is(.popup-login,.popup-register) body { background:#fff!important;color:#303c4c!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper { padding:24px!important;background:#fff!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper > .title,html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper legend { text-transform:none!important;color:#303c4c!important;font-size:21px!important;font-weight:700!important;line-height:1.35!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper .form-group { margin-bottom:16px!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper .control-label { color:#465970!important;font-size:14px!important;line-height:1.5!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper .form-control { border:1px solid #dce5ef!important;border-radius:9px!important;background:#f9fbfe!important;box-shadow:none!important;font-size:14px!important;min-height:42px!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper .form-control:focus { border-color:#0850a4!important;background:#fff!important;box-shadow:0 0 0 3px #0850a414!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper .btn-primary { background:#0850a4!important;color:#fff!important;border:1px solid #0850a4!important;border-radius:9px!important;text-transform:none!important;font-size:15px!important;font-weight:700!important;min-height:44px!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper .btn-primary:hover { background:#06458e!important;border-color:#06458e!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper .buttons { border-color:#e5ebf2!important; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper a { color:#0850a4; }
html.desktop.popup:is(.popup-login,.popup-register) .site-wrapper input[type=checkbox] { accent-color:#0850a4; }

/* Desktop login: let the dialog accommodate the short form; retain overflow on short screens. */
@media (min-width:1024px) {
html.desktop-header-active:has(.mp-desktop-redesign) .popup-wrapper.popup-login .popup-container {
  width:520px!important;max-width:calc(100vw - 40px)!important;height:auto!important;max-height:calc(100vh - 40px)!important;border-radius:14px!important;
}
html.desktop-header-active:has(.mp-desktop-redesign) .popup-wrapper.popup-login .popup-body,
html.desktop-header-active:has(.mp-desktop-redesign) .popup-wrapper.popup-login .popup-inner-body {
  height:auto!important;max-height:calc(100vh - 40px)!important;overflow:auto!important;
}
html.desktop-header-active:has(.mp-desktop-redesign) .popup-wrapper.popup-login iframe {
  display:block;width:100%!important;min-height:410px!important;border:0;
}
}
html.desktop.popup.popup-login .site-wrapper {padding:22px!important;}
html.desktop.popup.popup-login .site-wrapper .buttons {margin-top:18px!important;padding-top:16px!important;}

/* Compact navigation panels, shared across the approved desktop menu. */
@media (min-width:1024px) {
html.desktop-header-active .mp-desktop-redesign .main-menu-337 .j-dropdown {
 padding:10px!important;border-radius:10px!important;background:#fff!important;
 border:1px solid #e3e9f1!important;box-shadow:0 8px 24px #20365012!important;
}
html.desktop-header-active .mp-desktop-redesign .main-menu-337 .j-dropdown::before,
html.desktop-header-active .mp-desktop-redesign .main-menu-337 .j-dropdown::after {
 content:none!important;display:none!important;
}
html.desktop-header-active .mp-desktop-redesign .main-menu-337 .j-dropdown > .j-menu {
 background:transparent!important;padding:0!important;gap:2px 12px!important;
}
html.desktop-header-active .mp-desktop-redesign .main-menu-337 .j-dropdown .j-menu > li > a {
 padding:8px 10px!important;min-height:36px!important;font-size:13px!important;line-height:20px!important;border-radius:6px!important;
}
html.desktop-header-active .mp-desktop-redesign .main-menu-337 > .j-menu > li > .j-dropdown:has(> .j-menu > li:nth-child(15)) {
 width:660px!important;max-width:calc(100vw - 40px)!important;left:auto!important;right:0!important;
}
html.desktop-header-active .mp-desktop-redesign .main-menu-337 > .j-menu > li > .j-dropdown:has(> .j-menu > li:nth-child(15)) > .j-menu {
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
}

/* Resolve specificity against the first shared menu rules. */
@media (min-width:1024px) {
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown {
 padding:10px!important;border-radius:10px!important;background:#fff!important;border:1px solid #e3e9f1!important;box-shadow:0 8px 24px #20365012!important;
}
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown > .j-menu {
 align-items:start!important;align-content:start!important;grid-auto-rows:auto!important;gap:0 10px!important;background:transparent!important;padding:0!important;
}
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown .j-menu > li {
 height:auto!important;min-height:0!important;margin:0!important;padding:0!important;align-self:start!important;background:transparent!important;
}
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown .j-menu > li > a {
 height:auto!important;min-height:0!important;padding:7px 10px!important;font-size:13px!important;line-height:19px!important;border-radius:6px!important;white-space:normal!important;
}
}

/* MP navigation tile design */
@media (min-width:1024px) {
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown { padding:18px!important;background:#fff!important;border:1px solid #e7edf5!important;border-radius:18px!important;box-shadow:0 16px 40px #1d35551a!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown > .j-menu { background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;gap:8px!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown > .j-menu > li { background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;align-self:stretch!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown > .j-menu > li > a { display:flex!important;align-items:center!important;min-height:48px!important;height:100%!important;padding:11px 14px!important;background:#f2f6fc!important;border:1px solid transparent!important;border-radius:11px!important;color:#354b65!important;font-size:13px!important;font-weight:700!important;line-height:19px!important;transition:background .16s ease,color .16s ease,border-color .16s ease!important; }
html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown > .j-menu > li > a:hover,html.desktop-header-active:has(.mp-desktop-redesign) .mp-desktop-redesign .main-menu-337.main-menu-337 > .j-menu > li > .j-dropdown > .j-menu > li > a:focus-visible { background:#e5effc!important;color:#0850a4!important;border-color:#bfd3ed!important; }
}

/* Главни букви за продуктовите имена */
html.desktop-header-active.route-product-product:has(.mp-desktop-redesign) .page-title,
html.desktop-header-active:has(.mp-desktop-redesign) .product-grid .product-thumb .name a,
html.desktop-header-active:has(.mp-desktop-redesign) .product-list .product-thumb .name a {
  text-transform: uppercase !important;
}
